:root {
  --ink: #1e1e1b;
  --charcoal: #2a2926;
  --cream: #f3f0ea;
  --paper: #fbfaf7;
  --sand: #d7c7ad;
  --taupe: #9b8f7d;
  --line: #ded7cb;
  --muted: #6f6a60;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 88px;
  padding: 18px 4.8vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(30,30,27,.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--sand);
  color: #8b754e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  text-decoration: none;
}

.navLink {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.contactButton,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.contactButton.light {
  border-color: rgba(255,255,255,.55);
  background: transparent;
  color: var(--white);
}

.menuButton {
  width: 34px;
  height: 34px;
  display: inline-grid;
  align-content: center;
  gap: 5px;
}

.menuButton span {
  display: block;
  height: 1px;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #2f322f;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 18% 8% 0 42%;
  border-left: 18px solid rgba(255,255,255,.4);
  border-top: 12px solid rgba(255,255,255,.38);
  box-shadow: -80px 22px 0 rgba(255,255,255,.12), -150px 70px 0 rgba(0,0,0,.16);
  transform: skewX(-8deg);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(0deg, rgba(0,0,0,.24), transparent);
}

.heroSlides,
.heroSlide {
  position: absolute;
  inset: 0;
}

.heroSlides {
  z-index: 0;
}

.heroSlide {
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.04);
  animation: heroPhotoFade 18s infinite;
}

.slideOne {
  background-image: url("properties/101-law-avenue-al.jpg");
}

.slideTwo {
  background-image: url("properties/413-mill-avenue-al.jpg");
  animation-delay: 6s;
}

.slideThree {
  background-image: url("properties/506-dixie-drive-al.jpg");
  animation-delay: 12s;
}

.residenceSlideOne {
  background-image: url("properties/residences-hero-1.jpg");
  animation-name: residencePhotoFade;
  animation-duration: 24s;
}

.residenceSlideThree {
  background-image: url("properties/residences-hero-3.jpg");
  animation-name: residencePhotoFade;
  animation-duration: 24s;
  animation-delay: 6s;
}

.residenceSlideFour {
  background-image: url("properties/residences-hero-4.jpg");
  animation-name: residencePhotoFade;
  animation-duration: 24s;
  animation-delay: 12s;
}

.residenceSlideFive {
  background-image: url("properties/residences-hero-5.jpg");
  animation-name: residencePhotoFade;
  animation-duration: 24s;
  animation-delay: 18s;
}

.contactSlideOne {
  background-image: url("properties/contact-hero-1.jpg");
  animation-name: residencePhotoFade;
  animation-duration: 24s;
}

.contactSlideTwo {
  background-image: url("properties/contact-hero-2.jpg");
  animation-name: residencePhotoFade;
  animation-duration: 24s;
  animation-delay: 6s;
}

.contactSlideThree {
  background-image: url("properties/contact-hero-3.jpg");
  animation-name: residencePhotoFade;
  animation-duration: 24s;
  animation-delay: 12s;
}

.contactSlideFour {
  background-image: url("properties/contact-hero-4.jpg");
  animation-name: residencePhotoFade;
  animation-duration: 24s;
  animation-delay: 18s;
}

@keyframes heroPhotoFade {
  0% {
    opacity: 0;
    transform: scale(1.04);
  }
  8%,
  30% {
    opacity: 1;
  }
  40%,
  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}

@keyframes residencePhotoFade {
  0% {
    opacity: 0;
    transform: scale(1.04);
  }
  6%,
  18% {
    opacity: 1;
  }
  26%,
  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}

.heroOverlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(20,22,21,.58), rgba(20,22,21,.28)),
    linear-gradient(0deg, rgba(0,0,0,.46), rgba(0,0,0,.18)),
    radial-gradient(circle at 52% 74%, rgba(255,255,255,.08), transparent 18%);
}

.heroContent {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  padding: 0 6vw;
  color: var(--white);
  text-align: center;
}

.heroContentLeft {
  margin-right: auto;
  text-align: left;
}

.hero h1,
.intro h2,
.featureCopy h2,
.sectionHeader h2,
.contact h2,
.detailHero h1,
.box h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(58px, 9vw, 118px);
  text-shadow: 0 6px 24px rgba(0,0,0,.28);
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #8a7658;
}

.intro {
  max-width: 1060px;
  margin: 0 auto;
  padding: 78px 6vw 70px;
  text-align: center;
}

.intro h2 {
  margin: 0 auto 24px;
  max-width: 880px;
  font-size: clamp(34px, 5vw, 58px);
}

.intro p {
  max-width: 760px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 18px;
}

.textLink {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.textLink::after {
  content: "";
  width: 38px;
  height: 1px;
  background: currentColor;
}

.featureBlock {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
  padding: 42px 5vw 84px;
}

.featureBlock.reverse {
  grid-template-columns: minmax(320px, .72fr) minmax(0, 1.08fr);
}

.featureBlock.reverse .imagePanel {
  order: 2;
}

.imagePanel {
  min-height: 430px;
  margin: 0;
  background: #ddd;
  box-shadow: 0 22px 42px rgba(55,48,40,.14);
}

.livingRoom {
  background:
    linear-gradient(90deg, rgba(255,255,255,.86) 0 8%, transparent 8%),
    linear-gradient(180deg, rgba(255,255,255,.9) 0 22%, transparent 23%),
    radial-gradient(circle at 78% 78%, rgba(55,72,74,.35) 0 9%, transparent 10%),
    linear-gradient(0deg, #d9c6ad 0 26%, #f7f2e8 27% 64%, #b7d0dc 65% 100%);
}

.balcony {
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(255,255,255,.36) 49% 50%, transparent 51%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 2px, transparent 2px 74px),
    radial-gradient(circle at 21% 72%, rgba(255,255,255,.6) 0 3%, transparent 4%),
    linear-gradient(180deg, #f1b779 0 24%, #8294a0 25% 58%, #4f5556 59% 100%);
}

.featureCopy {
  max-width: 520px;
}

.featureCopy h2 {
  margin: 0 0 20px;
  font-size: clamp(34px, 4.6vw, 56px);
}

.featureCopy p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 17px;
}

.section {
  padding: 78px 5vw 88px;
}

.sectionHeader {
  max-width: 920px;
  margin: 0 auto 44px;
  text-align: center;
}

.sectionHeader h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 68px);
}

.listings {
  background: var(--cream);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 28px;
}

.card {
  min-width: 0;
  background: var(--white);
  border: 1px solid rgba(30,30,27,.08);
  box-shadow: 0 18px 34px rgba(55,48,40,.08);
}

.featuredCard {
  border-color: rgba(139,117,78,.32);
}

.photo {
  position: relative;
  min-height: 230px;
  padding: 22px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0,0,0,.42);
  background:
    linear-gradient(0deg, rgba(22,22,20,.55), rgba(22,22,20,.06)),
    linear-gradient(90deg, transparent 0 55%, rgba(255,255,255,.2) 56% 57%, transparent 58%),
    linear-gradient(150deg, #88775f, #d7c5aa 47%, #565e60);
  background-position: center;
  background-size: cover;
}

.photo span {
  position: relative;
  z-index: 1;
}

.photo.hasStreetView {
  background-position: center;
  background-size: cover;
}

.featuredCard .photo.hasPropertyPhoto {
  background-position: center 72%;
}

.streetViewLink {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  padding: 6px 9px;
  background: rgba(255,255,255,.84);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.2;
  text-decoration: none;
  text-shadow: none;
  text-transform: uppercase;
}

.streetViewLink:hover,
.streetViewLink:focus {
  background: var(--white);
  outline: 1px solid var(--sand);
}

.photo.warm {
  background:
    linear-gradient(0deg, rgba(22,22,20,.52), rgba(22,22,20,.04)),
    linear-gradient(140deg, #4f5960, #e0b980 52%, #f4eee3);
}

.photo.cool {
  background:
    linear-gradient(0deg, rgba(22,22,20,.56), rgba(22,22,20,.08)),
    linear-gradient(140deg, #a1b8bd, #f1eee8 46%, #8c7d6a);
}

.photo.signature {
  min-height: 280px;
  background:
    linear-gradient(0deg, rgba(22,22,20,.58), rgba(22,22,20,.02)),
    linear-gradient(120deg, #303737, #c2a273 48%, #f2eee7);
}

.cardbody {
  padding: 24px;
}

.card h3 {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.12;
}

.muted {
  color: var(--muted);
}

.price {
  margin-top: 10px;
  font-size: 22px;
  font-weight: 800;
}

.portfolioSpecs {
  margin-top: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 20px;
}

.listings .stats {
  display: none;
}

.pill {
  border: 1px solid var(--line);
  padding: 6px 9px;
  color: var(--muted);
  font-size: 12px;
}

.contact {
  padding: 96px 6vw;
  background:
    linear-gradient(90deg, rgba(31,31,28,.96), rgba(31,31,28,.78)),
    linear-gradient(135deg, #3a3934, #6d6559);
  color: var(--white);
  text-align: center;
}

.contact h2 {
  max-width: 760px;
  margin: 0 auto 20px;
  font-size: clamp(38px, 5vw, 70px);
}

.contact p {
  max-width: 680px;
  margin: 0 auto 24px;
  color: rgba(255,255,255,.78);
  font-size: 18px;
}

footer {
  padding: 26px 5vw;
  background: #171715;
  color: rgba(255,255,255,.68);
  font-size: 13px;
  text-align: center;
}

.detailHero {
  position: relative;
  min-height: 430px;
  padding: 96px 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  background:
    linear-gradient(0deg, rgba(31,31,28,.56), rgba(31,31,28,.18)),
    linear-gradient(115deg, #43545a, #ccb08b 52%, #eee8dd);
  overflow: hidden;
}

.detailHero h1 {
  max-width: 920px;
  margin: 0 0 14px;
  font-size: clamp(52px, 8vw, 104px);
}

.detailHero p {
  max-width: 680px;
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: 18px;
}

.portfolioHero {
  padding-left: 0;
  padding-right: 0;
  background: #2f322f;
}

.portfolioHero::before {
  display: none;
}

.contactHero {
  padding-left: 0;
  padding-right: 0;
  background: #2f322f;
}

.contactHero::before {
  display: none;
}

.contactPage {
  background: var(--cream);
}

.contactGrid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr);
  gap: 30px;
  align-items: start;
}

.contactRows {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.contactRows div {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.contactRows strong {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.contactRows span,
.contactRows a {
  color: var(--muted);
  font-size: 18px;
}

.paymentHero {
  padding-left: 0;
  padding-right: 0;
  background:
    linear-gradient(90deg, rgba(20,22,21,.78), rgba(20,22,21,.38)),
    url("properties/506-dixie-drive-al.jpg") center / cover;
}

.paymentHero::before {
  display: none;
}

.paymentPage {
  background: var(--cream);
}

.paymentGrid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .9fr);
  gap: 30px;
  align-items: start;
}

.paymentOptions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 18px;
}

.paymentPending {
  min-height: 64px;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.paymentForm {
  display: grid;
  gap: 18px;
  margin: 28px 0 18px;
}

.formGrid {
  display: grid;
  gap: 18px;
}

.twoColumn {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.paymentForm label {
  display: grid;
  gap: 8px;
}

.paymentForm label span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.paymentForm input,
.paymentForm select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 12px 14px;
  font: inherit;
}

.paymentForm input:focus,
.paymentForm select:focus {
  outline: 2px solid rgba(139,117,78,.35);
  outline-offset: 2px;
}

.paymentSubmit {
  width: fit-content;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
}

.paymentSubmit:disabled {
  cursor: wait;
  opacity: .62;
}

.paymentStatus {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.paymentStatus.error {
  color: #9f2f21;
}

.paymentNote {
  max-width: 680px;
}

.confirmationBox {
  max-width: 860px;
  margin: 0 auto;
}

.confirmationBox h1 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.05;
}

.compactRows {
  margin-bottom: 0;
}

.tenantTools {
  background: var(--paper);
}

.portalGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.portalCard h2 {
  margin-top: 0;
}

.detailWrap {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, .7fr);
  gap: 30px;
  align-items: start;
}

.box {
  background: var(--white);
  border: 1px solid rgba(30,30,27,.08);
  padding: 28px;
  box-shadow: 0 18px 34px rgba(55,48,40,.08);
}

.box h2 {
  margin: 28px 0 12px;
  font-size: 34px;
}

.box h2:first-child {
  margin-top: 0;
}

.features {
  columns: 2;
  column-gap: 30px;
  padding-left: 18px;
}

.features li {
  break-inside: avoid;
  margin: 0 0 10px;
}

.propertyGallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0 8px;
}

.propertyGallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
}

@media (max-width: 900px) {
  header {
    min-height: 76px;
    padding: 16px 5vw;
  }

  .brand span:last-child,
  .navLink {
    display: none;
  }

  .hero {
    min-height: 520px;
  }

  .featureBlock,
  .featureBlock.reverse,
  .detailWrap,
  .paymentGrid,
  .portalGrid {
    grid-template-columns: 1fr;
  }

  .featureBlock.reverse .imagePanel {
    order: 0;
  }

  .imagePanel {
    min-height: 320px;
  }

  .features {
    columns: 1;
  }

  .propertyGallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .contactButton {
    min-height: 40px;
    padding: 10px 14px;
  }

  .hero {
    min-height: 470px;
  }

  .hero h1,
  .detailHero h1 {
    font-size: 48px;
  }

  .intro,
  .section,
  .contact {
    padding-left: 22px;
    padding-right: 22px;
  }

  .featureBlock {
    padding-left: 22px;
    padding-right: 22px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .twoColumn,
  .paymentOptions {
    grid-template-columns: 1fr;
  }

  .paymentSubmit {
    width: 100%;
  }
}
