: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;
}

.navDropdown {
  position: relative;
}

.navDropdown summary {
  list-style: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.navDropdown summary::-webkit-details-marker {
  display: none;
}

.navDropdown summary::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.navDropdownMenu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 230px;
  padding: 10px;
  display: grid;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 34px rgba(55,48,40,.16);
}

.navDropdownMenu a {
  padding: 10px 12px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.navDropdownMenu a:hover,
.navDropdownMenu a:focus {
  background: var(--cream);
}

.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: none;
  align-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 7px;
  border: 0;
  background: transparent;
}

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

.mobileMenu {
  display: none;
  position: relative;
}

.mobileMenuPanel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(82vw, 320px);
  padding: 10px;
  display: grid;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 34px rgba(55,48,40,.16);
}

.mobileMenuPanel[hidden] {
  display: none;
}

.mobileMenuPanel a {
  padding: 12px 14px;
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.mobileMenuPanel a:hover,
.mobileMenuPanel a:focus {
  background: var(--cream);
}

.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(280px, .82fr) minmax(320px, 1fr);
  gap: clamp(28px, 4.8vw, 68px);
  align-items: center;
  padding: 38px 5vw 72px;
}

.featureBlock.reverse {
  grid-template-columns: minmax(320px, 1fr) minmax(280px, .82fr);
}

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

.imagePanel {
  width: 100%;
  max-width: 620px;
  min-height: 0;
  aspect-ratio: 4 / 3;
  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%);
}

.propertySlideshow {
  position: relative;
  overflow: hidden;
  background: #2d302d;
}

.propertySlideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20,22,21,.34), rgba(20,22,21,.03) 48%, rgba(20,22,21,.18));
  pointer-events: none;
}

.propertySlideshow img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .8s ease, transform 5s ease;
}

.propertySlideshow img.isActive {
  opacity: 1;
  transform: scale(1.08);
}

.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%);
}

.tourVideoPanel {
  position: relative;
  overflow: hidden;
  background: #2d302d;
}

.tourVideoPanel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(0deg, rgba(20,22,21,.42), rgba(20,22,21,.04) 46%, rgba(20,22,21,.22)),
    linear-gradient(90deg, rgba(0,0,0,.2), transparent 44%);
  pointer-events: none;
}

.tourFrame {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.04);
  animation: tourFrameFade 25s infinite;
}

.tourFrameOne {
  background-image: url("home-collage/home-collage-1.jpg");
}

.tourFrameTwo {
  background-image: url("properties/921-fiske-drive-nc-2.jpg");
  animation-delay: 5s;
}

.tourFrameThree {
  background-image: url("properties/104a-forehand-street-al-3.jpg");
  animation-delay: 10s;
}

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

.tourFrameFive {
  background-image: url("properties/107-forehand-cover.jpg");
  animation-delay: 20s;
}

.tourPlayMark {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255,255,255,.74);
  background: rgba(255,255,255,.16);
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
}

.tourPlayMark::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 17px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 16px solid var(--white);
}

@keyframes tourFrameFade {
  0% {
    opacity: 0;
    transform: scale(1.04) translateX(0);
  }
  5%,
  20% {
    opacity: 1;
  }
  26%,
  100% {
    opacity: 0;
    transform: scale(1.12) translateX(-1.5%);
  }
}

.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);
}

.homeAvailableListings {
  padding-top: 42px;
  border-top: 1px solid rgba(30,30,27,.06);
}

.homeAvailableListings .sectionHeader {
  margin-bottom: 30px;
}

.homeAvailableListings .sectionHeader h2 {
  font-size: clamp(34px, 4.4vw, 56px);
}

.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;
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  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-repeat: no-repeat;
  background-size: cover;
}

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

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

.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 {
  background:
    linear-gradient(0deg, rgba(22,22,20,.58), rgba(22,22,20,.02)),
    linear-gradient(120deg, #303737, #c2a273 48%, #f2eee7);
}

.photo.hasPropertyPhoto {
  background-repeat: no-repeat;
  background-size: cover;
}

.portfolioListings .photo {
  aspect-ratio: 16 / 10;
  padding: 18px;
  font-size: 22px;
}

.homeAvailableListings .photo {
  aspect-ratio: 16 / 10;
}

.portfolioShortcut {
  max-width: 1100px;
  margin: 34px auto 0;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: var(--white);
  border: 1px solid rgba(30,30,27,.08);
  box-shadow: 0 18px 34px rgba(55,48,40,.07);
}

.portfolioShortcut h3 {
  margin: 4px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
}

.portfolioShortcut p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
}

.shortcutActions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.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);
}

[hidden] {
  display: none !important;
}

.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.portalAuthGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: start;
}

.authPanel > h1,
.authPanel > h2,
.adminToolbar h1,
.accountHeader h2 {
  margin: 8px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.08;
}

.authPanel .paymentForm {
  margin-bottom: 0;
}

.privatePortal {
  max-width: 1240px;
  margin: 0 auto;
  scroll-margin-top: 112px;
}

.accountHeader,
.adminToolbar,
.panelHeading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.textButton,
.iconButton,
.secondaryButton,
.dangerButton {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}

.textButton,
.secondaryButton,
.dangerButton {
  min-height: 42px;
  padding: 10px 15px;
}

.iconButton {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  font-size: 24px;
  line-height: 1;
}

.dangerButton {
  border-color: #b8483b;
  color: #8e2f24;
}

.textButton:disabled,
.iconButton:disabled,
.secondaryButton:disabled,
.dangerButton:disabled {
  cursor: wait;
  opacity: .55;
}

.accountSummary {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(180px, .7fr));
  margin: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.summaryItem {
  display: grid;
  align-content: center;
  min-height: 130px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.summaryItem:last-child {
  border-right: 0;
}

.summaryItem > span,
.tenantRecordField > span {
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.summaryItem > strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
}

.summaryItem > small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 15px;
}

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

.accountPanel {
  background: var(--white);
  border: 1px solid rgba(30,30,27,.1);
  padding: 28px;
}

.accountPanel > h2,
.accountPanel > h3,
.panelHeading h2,
.panelHeading h3 {
  margin: 8px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;
}

.historyPanel,
.adminRecords {
  margin-top: 24px;
}

.chargeList {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.chargeRow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.chargeRow > div {
  display: grid;
  gap: 5px;
}

.chargeRow span {
  color: var(--muted);
  font-size: 14px;
}

.compactButton {
  min-height: 42px;
  padding: 10px 16px;
  cursor: pointer;
}

.emptyState {
  padding: 18px 0;
  text-align: left;
}

.historyTableWrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 22px;
}

.historyTable {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  text-align: left;
}

.historyTable th,
.historyTable td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.historyTable th {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.statusPill {
  display: inline-block;
  padding: 5px 8px;
  border: 1px solid var(--line);
  background: #f1f0ec;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.status-paid,
.status-active {
  border-color: #8fae92;
  background: #edf5ee;
  color: #2f6337;
}

.status-failed,
.status-expired,
.status-inactive {
  border-color: #d5a199;
  background: #fff0ed;
  color: #8e2f24;
}

.status-invited,
.status-pending,
.status-open {
  border-color: #d3bc83;
  background: #fff8e6;
  color: #79590f;
}

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

.adminShell {
  min-height: calc(100vh - 170px);
  padding: 64px clamp(22px, 5vw, 80px) 80px;
}

.adminLoginBox {
  width: min(100%, 560px);
  margin: 20px auto;
}

.adminDashboard {
  width: min(100%, 1440px);
  margin: 0 auto;
}

.adminToolbar {
  margin-bottom: 28px;
}

.adminToolbarActions {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.adminGrid .paymentForm {
  margin-bottom: 0;
}

.inviteReveal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding: 24px 28px;
  border: 2px solid #947a42;
  background: #fffdf6;
}

.inviteReveal h2 {
  margin: 6px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
}

.inviteCode {
  display: block;
  margin: 16px 0 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(24px, 4vw, 38px);
  letter-spacing: .12em;
}

.searchControl input {
  width: min(360px, 100%);
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  background: var(--paper);
  font: inherit;
}

.adminTenantList {
  display: grid;
  margin-top: 22px;
}

.adminTenantRow {
  display: grid;
  grid-template-columns: minmax(190px, 1.15fr) minmax(170px, 1fr) minmax(120px, .55fr) auto minmax(190px, auto);
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.tenantIdentity,
.tenantRecordField {
  display: grid;
  gap: 5px;
}

.tenantIdentity h3 {
  margin: 0;
  font-size: 18px;
}

.tenantIdentity a {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.tenantRecordField > span {
  margin: 0;
}

.tenantRowActions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.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: auto;
    padding: 14px 22px;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
  }

  .brand {
    gap: 10px;
    font-size: 12px;
    letter-spacing: .14em;
  }

  .brand span:last-child {
    display: inline;
  }

  .nav {
    flex: 1 1 auto;
    justify-content: flex-end;
    gap: 12px;
  }

  .navLink,
  .navDropdown summary {
    display: inline-flex;
    font-size: 11px;
    letter-spacing: .14em;
  }

  .mobileMenu {
    display: none;
  }

  .hero {
    min-height: 560px;
  }

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

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

  .tenantRowActions {
    justify-content: flex-start;
    grid-column: 1 / -1;
  }

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

  .imagePanel {
    margin: 0 auto;
    max-width: 100%;
    min-height: 0;
  }

  .propertySlideshow {
    min-height: 0;
  }

  .features {
    columns: 1;
  }

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

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

@media (max-width: 560px) {
  header {
    padding: 12px 16px 14px;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .mark {
    width: 34px;
    height: 34px;
    font-size: 22px;
  }

  .nav {
    width: 100%;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  .nav > a,
  .nav > .navLink,
  .nav > .navDropdown,
  .nav > .contactButton {
    display: none;
  }

  .mobileMenu {
    display: block;
  }

  .mobileMenu .menuButton {
    display: grid;
  }

  .mobileMenu.is-open {
    width: 100%;
  }

  .mobileMenu.is-open .menuButton {
    margin-left: auto;
    margin-right: auto;
  }

  .mobileMenuPanel {
    position: static;
    width: min(100%, 420px);
    margin: 10px auto 0;
    box-shadow: none;
  }

  .mobileMenuPanel a {
    letter-spacing: 0;
    font-size: 14px;
  }

  .navDropdown {
    position: static;
  }

  .navDropdown[open] {
    width: 100%;
    order: 4;
  }

  .navDropdown summary {
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.78);
  }

  .navDropdownMenu {
    position: static;
    width: min(100%, 420px);
    margin: 8px auto 0;
    grid-template-columns: 1fr;
    box-shadow: none;
  }

  .contactButton {
    min-height: 40px;
    padding: 10px 12px;
  }

  .hero {
    min-height: 520px;
  }

  .hero::before {
    inset: 24% 7% 0 36%;
    border-left-width: 12px;
    border-top-width: 8px;
    box-shadow: -46px 18px 0 rgba(255,255,255,.12), -92px 54px 0 rgba(0,0,0,.16);
  }

  .heroContent {
    padding: 0 22px;
  }

  .hero h1 {
    font-size: clamp(46px, 15vw, 72px);
  }

  .detailHero {
    min-height: 390px;
    padding: 78px 22px;
  }

  .detailHero h1 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: .18em;
  }

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

  .intro {
    padding-top: 58px;
    padding-bottom: 54px;
  }

  .intro h2,
  .sectionHeader h2,
  .contact h2 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .featureBlock {
    gap: 26px;
    padding-top: 28px;
    padding-bottom: 56px;
    padding-left: 22px;
    padding-right: 22px;
  }

  .featureCopy {
    max-width: 100%;
  }

  .featureCopy h2 {
    font-size: clamp(34px, 11vw, 46px);
  }

  .imagePanel {
    aspect-ratio: 4 / 3;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .photo,
  .portfolioListings .photo,
  .homeAvailableListings .photo {
    aspect-ratio: 16 / 10;
    padding: 18px;
    font-size: 22px;
  }

  .cardbody {
    padding: 22px;
  }

  .card h3 {
    font-size: 25px;
  }

  .twoColumn,
  .paymentOptions,
  .portalGrid,
  .portalAuthGrid,
  .privatePaymentGrid,
  .contactGrid {
    grid-template-columns: 1fr;
  }

  .accountHeader,
  .adminToolbar,
  .panelHeading,
  .inviteReveal {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .summaryItem {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .summaryItem:last-child {
    border-bottom: 0;
  }

  .accountPanel,
  .box {
    padding: 22px;
  }

  .accountPanel > h2,
  .accountPanel > h3,
  .panelHeading h2,
  .panelHeading h3 {
    font-size: 27px;
  }

  .adminShell {
    padding: 42px 18px 60px;
  }

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

  .tenantRowActions {
    grid-column: auto;
    flex-wrap: wrap;
  }

  .searchControl,
  .searchControl input {
    width: 100%;
  }

  .paymentSubmit {
    width: 100%;
  }

  .portfolioShortcut {
    align-items: stretch;
    flex-direction: column;
    padding: 22px;
  }

  .shortcutActions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .shortcutActions .contactButton,
  .shortcutActions .textLink {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 390px) {
  .nav {
    gap: 7px;
  }

  .mobileMenuPanel a {
    font-size: 13px;
    letter-spacing: 0;
  }

  .contactButton {
    padding: 9px 10px;
  }

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