:root {
  --white: #ffffff;
  --off-white: #f7f6f3;
  --warm-ivory: #f3e9d7;
  --warm-ivory-deep: #ede1cc;
  --soft-tone: #e3d2b4;
  --soft-tone-deep: #d6c1a0;
  --gold: #e2a64b;
  --gold-deep: #c98a3a;
  --anchor: #2c241c;
  --charcoal: #1f1f1f;
  --sage: #6a755e;
  --shadow: 0 20px 50px rgba(44, 36, 28, 0.16);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max-width: 1200px;
  --body-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --hero-font: "Cormorant Garamond", serif;
  --title-font: "Latinotype Juana", "Juana", "Cormorant Garamond", serif;
  --accent-font: Canela, "Freight Display Pro", "Cormorant Garamond", serif;
  --story-card-bg: var(--soft-tone);
  --quote-strip-bg: rgba(255, 255, 255, 0.45);
  --section-alt-bg: linear-gradient(180deg, rgba(227, 210, 180, 0.9), rgba(214, 193, 160, 0.92));
  --cta-block-bg: linear-gradient(135deg, rgba(196, 164, 132, 0.22), rgba(255, 255, 255, 0.48));
  --body-glow: rgba(226, 166, 75, 0.18);
  --hero-overlay: linear-gradient(180deg, rgba(27, 19, 12, 0.1) 0%, rgba(27, 19, 12, 0.24) 55%, rgba(27, 19, 12, 0.52) 100%);
  --final-overlay: linear-gradient(180deg, rgba(44, 36, 28, 0.08), rgba(44, 36, 28, 0.8));
  --final-card-image: linear-gradient(180deg, rgba(13, 16, 18, 0.92), rgba(32, 30, 28, 0.82));
  --final-card-position: center center;
  --featured-hero-background:
    radial-gradient(circle at 18% 20%, rgba(200, 164, 107, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(14, 18, 21, 0.96), rgba(26, 30, 32, 0.88) 100%);
  --featured-final-image: linear-gradient(180deg, rgba(13, 16, 18, 0.92), rgba(32, 30, 28, 0.82));
  --featured-final-accent: linear-gradient(135deg, rgba(200, 164, 107, 0.16), rgba(87, 95, 91, 0.12));
}

body.theme-trails {
  --off-white: #f5f6f4;
  --warm-ivory: #e8eeec;
  --warm-ivory-deep: #dde5e3;
  --soft-tone: #d8e0df;
  --soft-tone-deep: #c8d3d2;
  --gold: #ccab69;
  --gold-deep: #af8b4f;
  --anchor: #243137;
  --sage: #60716d;
  --story-card-bg: #b8c2be;
  --quote-strip-bg: rgba(255, 255, 255, 0.42);
  --section-alt-bg: linear-gradient(180deg, rgba(216, 224, 223, 0.92), rgba(200, 211, 210, 0.94));
  --cta-block-bg: linear-gradient(135deg, rgba(111, 143, 155, 0.18), rgba(255, 255, 255, 0.5));
  --body-glow: rgba(111, 143, 155, 0.22);
}

body.theme-amarra {
  --off-white: #f4f4f2;
  --warm-ivory: #f4f4f2;
  --warm-ivory-deep: #e9e7e2;
  --soft-tone: #d8d5cf;
  --soft-tone-deep: #c6c2bb;
  --gold: #c8a46b;
  --gold-deep: #a8844e;
  --anchor: #2a2a2a;
  --sage: #5e6b5f;
  --story-card-bg: #d8d5cf;
  --quote-strip-bg: rgba(233, 231, 226, 0.82);
  --section-alt-bg: linear-gradient(180deg, rgba(216, 213, 207, 0.55), rgba(233, 231, 226, 0.86));
  --cta-block-bg: linear-gradient(135deg, rgba(216, 213, 207, 0.32), rgba(255, 255, 255, 0.52));
  --body-glow: rgba(200, 164, 107, 0.14);
}

body.theme-holden {
  --off-white: #f7f6f3;
  --warm-ivory: #f3e9d7;
  --warm-ivory-deep: #ede1cc;
  --soft-tone: #e3d2b4;
  --soft-tone-deep: #d6c1a0;
  --gold: #e2a64b;
  --gold-deep: #c98a3a;
  --anchor: #2c241c;
  --sage: #6a755e;
  --story-card-bg: #d7c6ae;
  --quote-strip-bg: rgba(228, 214, 194, 0.72);
  --section-alt-bg: linear-gradient(180deg, rgba(227, 210, 180, 0.9), rgba(214, 193, 160, 0.92));
  --cta-block-bg: linear-gradient(135deg, rgba(196, 164, 132, 0.22), rgba(255, 255, 255, 0.48));
  --body-glow: rgba(226, 166, 75, 0.18);
}

body.theme-featured {
  --off-white: #f3f1ec;
  --warm-ivory: #f3f1ec;
  --warm-ivory-deep: #e6e1d8;
  --soft-tone: #d4cdc1;
  --soft-tone-deep: #c0b7aa;
  --gold: #c8a46b;
  --gold-deep: #a8844e;
  --anchor: #202427;
  --story-card-bg: rgba(255, 255, 255, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--anchor);
  background:
    radial-gradient(circle at top left, var(--body-glow), transparent 28%),
    linear-gradient(180deg, var(--warm-ivory) 0%, var(--off-white) 50%, var(--warm-ivory-deep) 100%);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  overflow: hidden;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--accent-font);
  color: rgba(42, 42, 42, 0.64);
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: rgba(42, 42, 42, 0.28);
}

.hero .eyebrow,
.final-card .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.hero .eyebrow::before,
.final-card .eyebrow::before {
  background: rgba(255, 255, 255, 0.34);
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 56px), 1480px);
  padding: 20px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.brand-logo {
  width: clamp(168px, 15vw, 216px);
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

.brand-text {
  font-family: var(--hero-font);
  font-size: 1.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand-home-label {
  padding-top: 2px;
  font-family: var(--accent-font);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.nav-home-link {
  display: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.nav-toggle-lines {
  position: relative;
  width: 18px;
  height: 14px;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after,
.nav-toggle-lines span {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle-lines::before {
  top: 0;
}

.nav-toggle-lines span {
  top: 6px;
}

.nav-toggle-lines::after {
  top: 12px;
}

.nav.is-open + .nav-toggle .nav-toggle-lines::before,
.site-header.is-nav-open .nav-toggle-lines::before {
  transform: translateY(6px) rotate(45deg);
}

.nav.is-open + .nav-toggle .nav-toggle-lines span,
.site-header.is-nav-open .nav-toggle-lines span {
  opacity: 0;
}

.nav.is-open + .nav-toggle .nav-toggle-lines::after,
.site-header.is-nav-open .nav-toggle-lines::after {
  transform: translateY(-6px) rotate(-45deg);
}

.nav {
  position: fixed;
  top: 20px;
  right: max(28px, calc((100vw - 1480px) / 2));
  z-index: 55;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 28px);
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--accent-font);
  font-size: clamp(0.88rem, 0.98vw, 1.02rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  isolation: isolate;
}

.nav::before {
  content: "";
  position: absolute;
  inset: -14px -22px -16px;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 50%, rgba(12, 9, 7, 0.24), rgba(12, 9, 7, 0.11) 56%, rgba(12, 9, 7, 0) 82%);
  filter: blur(10px);
  pointer-events: none;
}

/* Shared topbar link + dropdown-toggle normalization. Lives here (not only in the
   homepage stylesheet) so the Communities <button> toggle and its menu render the
   same on every page, including routes that do not load the homepage styles.css.
   The explicit color matters: a <button> does not reliably inherit color like an
   <a>, so without it the toggle falls back to a dark system color and disappears
   on a dark header. */
.site-header .nav-link,
.site-header .nav-group-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font: inherit;
  line-height: 1;
  letter-spacing: inherit;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(20, 14, 10, 0.88), 0 3px 14px rgba(20, 14, 10, 0.62);
  white-space: nowrap;
}

.site-header .nav-link:hover,
.site-header .nav-group-toggle:hover,
.site-header .nav-group:focus-within .nav-group-toggle {
  color: #fff;
  opacity: 1;
}

.site-header .nav-group-toggle::after {
  content: "+";
  margin-left: 0.38em;
  letter-spacing: 0;
  opacity: 0.72;
}

.site-header .nav-menu {
  font-family: var(--accent-font);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.site-header .nav-menu a {
  color: rgba(42, 42, 42, 0.82);
  text-decoration: none;
  text-shadow: none;
}

.site-header .nav-item {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.nav a {
  opacity: 0.9;
}

.nav-link,
.nav-group-label,
.nav-group-toggle {
  color: inherit;
  opacity: 0.9;
  cursor: pointer;
}

.nav-group-toggle {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
}

.nav-group {
  position: relative;
}

.nav-group-label::after,
.nav-group-toggle::after {
  content: " +";
  opacity: 0.8;
}

.nav-menu {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 240px;
  max-width: min(320px, calc(100vw - 40px));
  display: none;
  margin-top: 0;
  padding: 12px;
  border-radius: 18px;
  background: rgba(247, 246, 243, 0.96);
  color: var(--anchor);
  border: 1px solid rgba(42, 42, 42, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.nav-group:last-child .nav-menu {
  right: 0;
  left: auto;
}

.nav-group:hover .nav-menu,
.nav-group:focus-within .nav-menu,
.nav-group.is-open .nav-menu {
  display: grid;
  gap: 6px;
}

.nav-group::after {
  content: "";
  position: absolute;
  left: -16px;
  right: -16px;
  top: 100%;
  height: 16px;
}

.nav-item {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.94rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.nav-item:hover {
  background: rgba(42, 42, 42, 0.06);
}

.nav-item-muted {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.94rem;
  line-height: 1.35;
  color: rgba(42, 42, 42, 0.5);
}

.nav-item-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.nav-item-status span {
  color: rgba(42, 42, 42, 0.42);
  font-family: var(--accent-font);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-menu-grouped {
  min-width: 280px;
}

.nav-menu-section {
  display: grid;
  gap: 4px;
  padding: 4px 0 8px;
  border-bottom: 1px solid rgba(42, 42, 42, 0.08);
}

.nav-menu-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.nav-menu-heading {
  padding: 4px 10px 2px;
  color: rgba(42, 42, 42, 0.54);
  font-family: var(--accent-font);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--white);
  box-shadow: 0 16px 35px rgba(168, 132, 78, 0.24);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(8px);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: end;
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 110px;
  background: linear-gradient(180deg, rgba(244, 244, 242, 0), var(--warm-ivory));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 150px 0 110px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 420px);
  gap: 32px;
  align-items: end;
}

.hero-copy {
  display: grid;
  align-content: end;
  gap: 0;
  max-width: 760px;
}

.hero.hero-centered .hero-content {
  padding-bottom: 136px;
}

.hero.hero-centered .hero-grid {
  grid-template-columns: 1fr;
  justify-items: center;
}

.hero.hero-centered .hero-copy {
  justify-items: center;
  text-align: center;
  max-width: 640px;
}

.hero-eyebrow-prominent,
.eyebrow-overlay {
  gap: 0;
  font-size: clamp(0.92rem, 1.35vw, 1.16rem);
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.84);
}

.hero-eyebrow-prominent::before,
.eyebrow-overlay::before {
  content: none;
}

.hero.hero-centered .hero-copy h1 {
  max-width: none;
  font-size: clamp(2.35rem, 6vw, 4.25rem);
  line-height: 1.02;
}

.hero.hero-centered .hero-badges {
  justify-content: center;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--hero-font);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.6rem);
  max-width: 12ch;
  margin-top: 14px;
}

.hero-title-line {
  display: block;
}

.hero-title-line.nowrap {
  white-space: nowrap;
}

.trails-hero,
.amarra-hero,
.property-hero,
.overlook-hero,
.amarra-estate-hero,
.waterfront-hero {
  min-height: 100svh;
  display: block;
}

.trails-hero::after,
.amarra-hero::after,
.property-hero::after,
.overlook-hero::after,
.amarra-estate-hero::after,
.waterfront-hero::after {
  content: none;
}

.trails-hero-frame,
.amarra-hero-frame,
.property-video-frame,
.amarra-estate-video-frame,
.waterfront-video-frame {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  background: #0f1417;
}

.amarra-estate-hero,
.waterfront-hero,
.amarra-estate-video-frame,
.waterfront-video-frame {
  background: var(--featured-hero-background);
}

.amarra-estate-video-frame,
.waterfront-video-frame {
  --video-hero-scale: 1.04;
}

.trails-hero-fallback,
.amarra-hero-fallback,
.trails-hero-video,
.amarra-hero-video,
.property-video-media,
.amarra-estate-video-media,
.waterfront-video-media {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.77777778vh;
  min-width: 100%;
  height: 56.25vw;
  min-height: 100%;
  transform: translate(-50%, -50%);
}

.trails-hero-fallback,
.amarra-hero-fallback {
  object-fit: cover;
  transition: opacity 220ms ease;
  z-index: 0;
  opacity: 0;
}

.trails-hero-video,
.amarra-hero-video,
.property-video-media,
.amarra-estate-video-media,
.waterfront-video-media {
  border: 0;
  object-fit: cover;
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%) scale(var(--video-hero-scale, 1.08));
}

.trails-hero-frame.is-playing .trails-hero-video,
.amarra-hero-frame.is-playing .amarra-hero-video,
.property-video-frame.is-playing .property-video-media,
.amarra-estate-video-frame.is-playing .amarra-estate-video-media,
.waterfront-video-frame.is-playing .waterfront-video-media {
  opacity: 1;
}

.trails-hero-frame.is-playing .trails-hero-fallback,
.amarra-hero-frame.is-playing .amarra-hero-fallback {
  opacity: 0;
}

.trails-hero-frame.is-fallback .trails-hero-fallback,
.amarra-hero-frame.is-fallback .amarra-hero-fallback {
  opacity: 1;
}

.trails-hero-scrim,
.amarra-hero-scrim,
.property-video-scrim,
.amarra-estate-video-scrim,
.waterfront-video-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--video-hero-scrim, linear-gradient(180deg, rgba(12, 14, 18, 0.2) 0%, rgba(12, 14, 18, 0.06) 28%, rgba(12, 14, 18, 0.1) 60%, rgba(12, 14, 18, 0.34) 100%));
}

.trails-hero-overlay,
.amarra-hero-overlay,
.property-video-overlay,
.amarra-estate-video-overlay,
.waterfront-video-overlay {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: grid;
  align-content: end;
  padding: 150px 0 120px;
}

.trails-hero-overlay,
.amarra-hero-overlay {
  padding-bottom: 136px;
}

.trails-hero-lockup,
.amarra-hero-lockup,
.property-video-lockup,
.amarra-estate-video-lockup,
.waterfront-video-lockup {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  color: var(--white);
}

.trails-hero-lockup,
.amarra-hero-lockup {
  gap: 6px;
}

.trails-hero-lockup h1,
.amarra-hero-lockup h1,
.property-video-lockup h1,
.amarra-estate-video-lockup h1,
.waterfront-video-lockup h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.1rem);
  line-height: 1.02;
}

.property-hero .property-video-overlay {
  align-content: end;
  padding: 150px 0 120px;
}

.property-hero .property-video-lockup {
  justify-items: center;
  text-align: center;
  max-width: min(92vw, 24rem);
  margin: 0 auto;
}

.property-hero .property-video-lockup .eyebrow {
  justify-content: center;
  width: 100%;
  text-align: center;
  opacity: 0.9;
}

.property-hero .property-video-lockup h1 {
  font-size: clamp(2.35rem, 6vw, 4.1rem);
  line-height: 1.02;
}

.trails-hero-controls,
.amarra-hero-controls,
.property-video-controls,
.amarra-estate-video-controls,
.waterfront-video-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 34px;
  z-index: 3;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.trails-hero-sound,
.amarra-hero-sound,
.property-video-sound,
.amarra-estate-video-sound,
.waterfront-video-sound {
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(16, 18, 20, 0.14);
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--accent-font);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  cursor: pointer;
  pointer-events: auto;
}

.trails-hero-spinner,
.amarra-hero-spinner,
.property-video-spinner,
.amarra-estate-video-spinner,
.waterfront-video-spinner,
.trails-full-video-spinner,
.amarra-full-video-spinner {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  opacity: 0;
  transition: opacity 180ms ease;
}

.trails-full-video-spinner,
.amarra-full-video-spinner {
  z-index: 2;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
}

.trails-hero-spinner::before,
.trails-hero-spinner::after,
.amarra-hero-spinner::before,
.amarra-hero-spinner::after,
.property-video-spinner::before,
.property-video-spinner::after,
.amarra-estate-video-spinner::before,
.amarra-estate-video-spinner::after,
.waterfront-video-spinner::before,
.waterfront-video-spinner::after,
.trails-full-video-spinner::before,
.trails-full-video-spinner::after,
.amarra-full-video-spinner::before,
.amarra-full-video-spinner::after {
  content: "";
  position: absolute;
  inset: 0;
}

.trails-hero-spinner::before,
.amarra-hero-spinner::before,
.property-video-spinner::before,
.amarra-estate-video-spinner::before,
.waterfront-video-spinner::before,
.trails-full-video-spinner::before,
.amarra-full-video-spinner::before {
  border: 1.35px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  transform: rotate(45deg);
}

.trails-full-video-spinner::before,
.amarra-full-video-spinner::before {
  border-radius: 14px;
}

.trails-hero-spinner::after,
.amarra-hero-spinner::after,
.property-video-spinner::after,
.amarra-estate-video-spinner::after,
.waterfront-video-spinner::after,
.trails-full-video-spinner::after,
.amarra-full-video-spinner::after {
  inset: 14px;
  border-top: 1.8px solid rgba(255, 255, 255, 0.96);
  border-right: 1.8px solid rgba(255, 255, 255, 0.62);
  border-radius: 14px;
  transform: rotate(45deg);
  animation: video-spinner-spin 2.2s linear infinite;
}

.trails-full-video-spinner::after,
.amarra-full-video-spinner::after {
  inset: 10px;
  border-radius: 10px;
}

.trails-hero-frame.is-loading .trails-hero-spinner,
.amarra-hero-frame.is-loading .amarra-hero-spinner,
.property-video-frame.is-loading .property-video-spinner,
.amarra-estate-video-frame.is-loading .amarra-estate-video-spinner,
.waterfront-video-frame.is-loading .waterfront-video-spinner,
.trails-full-video.is-loading .trails-full-video-spinner,
.amarra-full-video.is-loading .amarra-full-video-spinner {
  opacity: 1;
}

.trails-full-video-band,
.amarra-full-video-band {
  padding-top: 0;
  padding-bottom: 0;
}

.trails-full-video,
.amarra-full-video {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  background: #0f1417;
}

.trails-full-video-fallback,
.trails-full-video-frame,
.amarra-full-video-fallback,
.amarra-full-video-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.77777778vh;
  min-width: 100%;
  height: 56.25vw;
  min-height: 100%;
  transform: translate(-50%, -50%);
}

.trails-full-video-fallback,
.amarra-full-video-fallback {
  object-fit: cover;
  transition: opacity 220ms ease;
  opacity: 0;
}

.trails-full-video-frame,
.amarra-full-video-frame {
  border: 0;
  object-fit: cover;
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(var(--full-video-scale, 1.08));
}

.trails-full-video.is-playing .trails-full-video-frame,
.amarra-full-video.is-playing .amarra-full-video-frame {
  opacity: 1;
}

.trails-full-video.is-playing .trails-full-video-fallback,
.amarra-full-video.is-playing .amarra-full-video-fallback {
  opacity: 0;
}

.trails-full-video.is-fallback .trails-full-video-fallback,
.amarra-full-video.is-fallback .amarra-full-video-fallback {
  opacity: 1;
}

.trails-full-video-scrim,
.amarra-full-video-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--full-video-scrim, linear-gradient(180deg, rgba(18, 18, 18, 0.08), rgba(18, 18, 18, 0.36)));
}

.trails-full-video-caption,
.amarra-full-video-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 44px;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
  color: var(--white);
}

.trails-full-video-caption .eyebrow,
.amarra-full-video-caption .eyebrow {
  color: rgba(255, 255, 255, 0.74);
}

.trails-full-video-caption .eyebrow::before,
.amarra-full-video-caption .eyebrow::before {
  background: rgba(255, 255, 255, 0.28);
}

.trails-full-video-caption h2,
.amarra-full-video-caption h2 {
  max-width: 11ch;
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  color: var(--white);
}

.amarra-estate-intro,
.waterfront-intro {
  margin: 0 auto;
  max-width: 680px;
  text-align: center;
}

.property-intro {
  margin: 0 auto;
  max-width: 760px;
  text-align: center;
}

.property-context-link {
  display: inline-flex;
  width: fit-content;
  margin: 4px auto 0;
  font-family: var(--accent-font);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(42, 42, 42, 0.62);
}

@keyframes video-spinner-spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-copy p {
  max-width: 34rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
  margin: 18px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-note {
  background: rgba(42, 42, 42, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero-note-logo {
  width: 96px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.72;
  margin-bottom: 14px;
}

.hero-note strong,
.mini-stats span,
.timeline-item strong,
.mosaic-label,
.builder-mark {
  font-family: var(--accent-font);
}

.hero-note strong {
  display: block;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 14px;
}

.hero-note p {
  margin: 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-note .mini-stats {
  display: grid;
  gap: 16px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mini-stats span {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 5px;
}

.mini-stats strong {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--white);
}

.section {
  position: relative;
  padding: 100px 0;
}

.section-alt {
  background: var(--section-alt-bg);
}

.intro-grid,
.legacy-grid,
.lifestyle-grid,
.reserve-grid,
.footer-grid {
  display: grid;
  gap: 28px;
}

.intro-grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.section-title {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  margin-top: 18px;
  color: var(--anchor);
}

.lead {
  font-size: 1.15rem;
  max-width: 54ch;
  color: rgba(42, 42, 42, 0.84);
}

.panel {
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(42, 42, 42, 0.08);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.builder-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 0;
  color: rgba(42, 42, 42, 0.56);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature {
  background: rgba(216, 213, 207, 0.38);
  border-radius: var(--radius-md);
  padding: 18px;
  min-height: 132px;
}

.feature h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.feature p,
.panel p,
.story-copy p,
.reserve-copy p,
.footer-copy p {
  margin: 0;
  color: rgba(42, 42, 42, 0.82);
}

.legacy-grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.story-copy {
  display: grid;
  gap: 18px;
}

.story-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  min-height: 0;
  background: var(--story-card-bg);
}

.story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-strip {
  margin-top: 28px;
  padding: 24px 28px;
  border-left: 3px solid var(--gold);
  background: var(--quote-strip-bg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.06rem;
}

.lifestyle-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 18px;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
}

.mosaic-column {
  display: grid;
  gap: 2px;
}

.mosaic-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow);
  min-height: 250px;
}

.mosaic-card.tall {
  min-height: 520px;
}

.mosaic-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mosaic-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 42, 42, 0.02), rgba(42, 42, 42, 0.34));
}

.mosaic-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  backdrop-filter: blur(10px);
}

.reserve-grid {
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
}

.siteplan-frame {
  background: rgba(255, 255, 255, 0.72);
  border-radius: 34px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.siteplan-frame img {
  width: 100%;
  max-height: min(76svh, 820px);
  border-radius: 24px;
  background: var(--off-white);
  object-fit: contain;
}

.floorplan-stack {
  display: grid;
  gap: 18px;
}

.floorplan-trigger {
  position: relative;
  cursor: zoom-in;
  border: 0;
}

.floorplan-label {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(18, 19, 20, 0.5);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.image-viewer-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 0;
  background: #070707;
}

.image-viewer-modal[hidden] {
  display: none;
}

.image-viewer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(7, 7, 7, 0.96);
  cursor: zoom-out;
}

.image-viewer-dialog {
  position: relative;
  z-index: 1;
  width: 100vw;
  height: 100svh;
  max-width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
  touch-action: pan-y pinch-zoom;
}

.image-viewer-image {
  display: block;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  max-width: calc(100vw - clamp(32px, 7vw, 112px));
  max-height: calc(100svh - clamp(48px, 9vw, 118px));
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  object-fit: contain;
}

.image-viewer-caption {
  display: none;
}

.image-viewer-title {
  position: absolute;
  top: clamp(16px, 2.4vw, 28px);
  left: clamp(16px, 2.4vw, 28px);
  z-index: 2;
  max-width: min(54vw, 22rem);
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--hero-font);
  font-size: clamp(1.05rem, 1.8vw, 1.42rem);
  line-height: 1;
  pointer-events: none;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

.image-viewer-close-button,
.image-viewer-nav-button {
  position: absolute;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  opacity: 0.82;
  transition: opacity 0.18s ease, color 0.18s ease;
}

.image-viewer-close-button {
  top: clamp(12px, 2vw, 24px);
  right: clamp(12px, 2vw, 24px);
}

.image-viewer-close-button::before,
.image-viewer-close-button::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 1px;
  background: currentColor;
}

.image-viewer-close-button::before {
  transform: rotate(45deg);
}

.image-viewer-close-button::after {
  transform: rotate(-45deg);
}

.image-viewer-nav-button {
  top: 50%;
  transform: translateY(-50%);
}

.image-viewer-nav-button::before {
  content: '';
  width: 13px;
  height: 13px;
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
}

.image-viewer-prev {
  left: clamp(12px, 2vw, 24px);
}

.image-viewer-prev::before {
  transform: rotate(-45deg);
}

.image-viewer-next {
  right: clamp(12px, 2vw, 24px);
}

.image-viewer-next::before {
  transform: rotate(135deg);
}

.image-viewer-close-button:hover,
.image-viewer-nav-button:hover {
  color: #fff;
  opacity: 1;
}

.image-viewer-close-button:focus-visible,
.image-viewer-nav-button:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.72);
  outline-offset: 4px;
}

body.has-image-viewer-open {
  overflow: hidden;
}

.story-card,
.media-feature,
.gallery-card {
  cursor: pointer;
}

.story-card img,
.media-feature img,
.gallery-card img {
  cursor: zoom-in;
}

.timeline {
  display: grid;
  gap: 14px;
  margin: 28px 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(42, 42, 42, 0.14);
}

.timeline-item strong {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(42, 42, 42, 0.68);
}

.availability-muted {
  color: rgba(42, 42, 42, 0.52);
}

.availability-current {
  font-weight: 700;
  color: var(--anchor);
}

.story-intro {
  display: grid;
  gap: 18px;
}

.story-intro p,
.availability-copy p,
.contact-minimal p,
.hero-badges span,
.stat-chip span,
.media-caption p,
.video-band-copy p {
  margin: 0;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-badges span,
.stat-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
}

.hero-badges span {
  font-size: 0.88rem;
  letter-spacing: 0.05em;
}

.hero-note.hero-note-compact {
  gap: 18px;
}

.hero-note.hero-note-compact p {
  font-size: 0.98rem;
  line-height: 1.65;
}

.hero-note-compact .mini-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-note-compact .mini-stats div {
  padding-right: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-note-compact .mini-stats div:last-child {
  padding-right: 0;
  border-right: 0;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: start;
}

.story-panel {
  display: grid;
  gap: 22px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.stat-chip {
  min-height: 0;
  padding: 22px;
  border-radius: 24px;
  align-items: start;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(42, 42, 42, 0.08);
  color: var(--anchor);
  backdrop-filter: none;
}

.stat-chip strong {
  font-family: var(--hero-font);
  font-size: 2rem;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.stat-chip span {
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(42, 42, 42, 0.68);
}

.media-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 24px;
  align-items: stretch;
}

.media-feature {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  border-radius: 34px;
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.32);
}

.media-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 18, 16, 0.06), rgba(20, 18, 16, 0.44));
}

.media-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  display: grid;
  gap: 10px;
  padding: 22px 24px;
  border-radius: 26px;
  background: rgba(18, 19, 20, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  color: rgba(255, 255, 255, 0.92);
}

.media-caption strong {
  font-family: var(--hero-font);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 0.96;
}

.media-caption p {
  max-width: 34ch;
  font-size: 0.96rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.84);
}

.story-points {
  display: grid;
  gap: 14px;
}

.story-point {
  display: grid;
  gap: 8px;
  padding: 22px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(42, 42, 42, 0.08);
}

.story-point strong {
  font-family: var(--accent-font);
  font-size: 0.9rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(42, 42, 42, 0.64);
}

.story-point p {
  margin: 0;
  color: rgba(42, 42, 42, 0.82);
}

.key-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin: 0;
}

.key-fact-item {
  display: grid;
  gap: 6px;
}

.key-fact-item strong {
  font-family: var(--hero-font);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--anchor);
}

.key-fact-item span {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(42, 42, 42, 0.72);
}

.full-image-section {
  padding: 0;
  margin: 80px 0;
}

.full-image-section img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  display: block;
}

.video-band {
  padding-top: 20px;
  padding-bottom: 20px;
}

.video-band-copy {
  display: grid;
  gap: 14px;
  max-width: 640px;
  margin: 0 auto 24px;
  text-align: center;
}

.gallery-stack {
  display: grid;
  gap: 18px;
}

.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.32);
}

.gallery-card.tall {
  min-height: 420px;
}

.gallery-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 18, 16, 0.02), rgba(20, 18, 16, 0.32));
}

.gallery-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.availability-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: stretch;
}

.availability-grid.availability-grid-cards {
  grid-template-columns: 1fr;
}

.availability-copy {
  display: grid;
  gap: 18px;
}

.availability-list {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.availability-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid rgba(42, 42, 42, 0.12);
}

.availability-item:last-child {
  border-bottom: 1px solid rgba(42, 42, 42, 0.12);
}

.availability-item strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(42, 42, 42, 0.08);
  font-family: var(--accent-font);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(42, 42, 42, 0.7);
}

.availability-item p {
  color: rgba(42, 42, 42, 0.82);
}

.property-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 380px));
  gap: 18px;
  margin-top: 10px;
  justify-content: start;
}

.listing-card {
  position: relative;
  display: grid;
  align-content: end;
  gap: 8px;
  min-height: 300px;
  padding: 26px;
  border-radius: 28px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: #26211c;
  isolation: isolate;
}

.listing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 9, 10, 0.08) 0%, rgba(8, 9, 10, 0.68) 72%, rgba(8, 9, 10, 0.88) 100%),
    var(--listing-image, none) center/cover no-repeat;
  transform: scale(1.02);
  transition: transform 320ms ease, filter 320ms ease;
  z-index: -1;
}

.listing-card:hover::before,
.listing-card:focus-visible::before {
  transform: scale(1.05);
  filter: saturate(1.06);
}

.listing-card > * {
  position: relative;
  z-index: 1;
}

.listing-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 248, 240, 0.84);
}

.listing-card strong {
  font-family: var(--hero-font);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 0.92;
  font-weight: 400;
  letter-spacing: 0;
}

.listing-price {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 248, 240, 0.92);
}

.listing-meta {
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 248, 240, 0.72);
}

.listing-card-placeholder {
  background-image: url("./images/heyl-homes-coming-soon-handsketch.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
}

.listing-card-placeholder::before {
  background: linear-gradient(180deg, rgba(18, 16, 14, 0.08), rgba(18, 16, 14, 0.62) 72%, rgba(18, 16, 14, 0.82));
}

.listing-card-placeholder .listing-kicker {
  background: rgba(255, 248, 240, 0.22);
  color: rgba(255, 248, 240, 0.9);
}

.listing-card-placeholder .listing-price,
.listing-card-placeholder .listing-meta {
  color: rgba(255, 248, 240, 0.82);
}

.theme-available-4300 {
  --listing-image: url("/available-homes/4300-amarra/4300-amarra-front.jpg");
}

.theme-available-4304 {
  --listing-image: url("/communities/amarra-cottages/amarra-cottages-barton-creek-lot-5-residence.jpg");
}

.theme-available-1043 {
  --listing-image: url("/available-homes/1043-overlook/1043-overlook-courtyard.jpg");
}

.theme-available-1047 {
  --listing-image: url("/available-homes/1047-overlook/1047-overlook-front-exterior-twilight.jpg");
}

.theme-available-913 {
  --listing-image: url("/available-homes/913-the-trails/913-the-trails-front-elevation.jpg");
}

.contact-minimal {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
  padding: 38px 32px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.contact-minimal a {
  font-family: var(--hero-font);
  font-size: clamp(1.8rem, 4.4vw, 3rem);
  line-height: 0.98;
}

.contact-minimal p {
  max-width: 30ch;
  color: rgba(255, 255, 255, 0.84);
}

.contact-minimal .eyebrow::before {
  content: none;
}

.contact-minimal .eyebrow {
  font-size: 0.84rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.94);
}

.cta-block {
  margin-top: 26px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--cta-block-bg);
  border: 1px solid rgba(42, 42, 42, 0.08);
}

.cta-block p {
  margin-bottom: 18px;
}

.section-break {
  padding: 18px 0 12px;
}

.section-break-mark {
  display: grid;
  justify-items: center;
}

.section-break-mark::before {
  content: "";
  width: min(100%, 760px);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(42, 42, 42, 0.08) 16%,
    rgba(42, 42, 42, 0.2) 50%,
    rgba(42, 42, 42, 0.08) 84%,
    transparent 100%
  );
}

.contact-line {
  margin-top: 14px;
  font-size: 0.96rem;
  color: rgba(42, 42, 42, 0.82);
}

.contact-line a {
  font-weight: 700;
}

.final-cta {
  padding-top: 0;
}

.final-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  min-height: 480px;
  box-shadow: var(--shadow);
  display: grid;
  align-items: end;
  color: var(--white);
  background:
    var(--final-overlay),
    var(--final-card-image) var(--final-card-position) / cover no-repeat;
}

.amarra-estate-final-card,
.waterfront-final-card {
  background:
    linear-gradient(180deg, rgba(13, 16, 18, 0.58), rgba(32, 30, 28, 0.72)),
    var(--featured-final-image) center/cover no-repeat,
    linear-gradient(180deg, rgba(13, 16, 18, 0.92), rgba(32, 30, 28, 0.82)),
    var(--featured-final-accent);
}

.final-card .content {
  position: relative;
  z-index: 1;
  padding: 48px;
  max-width: 700px;
  display: grid;
  gap: 18px;
}

.final-card h2 {
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  line-height: 0.98;
  max-width: 9ch;
  margin: 8px 0 0;
}

.final-card p {
  margin: 0;
  max-width: 32ch;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

footer {
  padding: 30px 0 60px;
}

.footer-grid {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  color: rgba(42, 42, 42, 0.72);
  font-size: 0.94rem;
}

.footer-mark {
  width: 170px;
  height: auto;
  object-fit: contain;
  opacity: 0.92;
}

.contact-section {
  padding-top: 42px;
  padding-bottom: 18px;
  background: #050505;
  color: rgba(255, 255, 255, 0.92);
}

.contact-sheet {
  margin-top: 0;
}

.contact-sheet-clean {
  display: grid;
  gap: 18px;
  justify-items: center;
  padding: 0 0 18px;
}

.contact-brand {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: -4px;
}

.contact-mark {
  width: clamp(156px, 18vw, 210px);
  height: auto;
  opacity: 0.98;
  filter: brightness(0) invert(1);
}

.contact-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  width: min(100%, 760px);
  padding: 18px 0 4px;
}

.contact-column {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 0;
}

.contact-column + .contact-column {
  border-left: 2px solid rgba(255, 255, 255, 0.42);
  padding-left: 24px;
}

.contact-column .eyebrow {
  gap: 0;
  color: rgba(255, 255, 255, 0.64);
  justify-content: center;
  text-align: center;
  font-size: 0.88rem;
  letter-spacing: 0.16em;
}

.contact-column .eyebrow::before {
  content: none;
}

.contact-column p {
  margin: 6px 0 0;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.contact-column a {
  color: inherit;
}

.footer-minimal {
  padding: 12px 0 0;
}

.footer-minimal p {
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.94rem;
}

.shell > .footer-minimal p {
  color: rgba(42, 42, 42, 0.42);
}

@media (max-width: 980px) {
  .hero-grid,
  .intro-grid,
  .legacy-grid,
  .lifestyle-grid,
  .reserve-grid,
  .footer-grid,
  .story-grid,
  .media-feature-grid,
  .availability-grid,
  .gallery-row,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .site-header .container {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 55;
  }

  .nav {
    position: fixed;
    top: 84px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(26, 22, 19, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    font-size: 1rem;
  }

  .site-header.is-nav-open .nav {
    display: flex;
  }

  .nav-link,
  .nav-group-toggle {
    width: 100%;
    text-align: left;
    padding: 8px 0;
  }

  .nav-home-link {
    display: block;
  }

  .nav-group {
    display: grid;
    gap: 6px;
  }

  .nav-group::after {
    content: none;
  }

  .nav-menu {
    position: static;
    transform: none;
    min-width: 0;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 10px;
    background: rgba(247, 246, 243, 0.96);
  }

  .nav-group:hover .nav-menu,
  .nav-group:focus-within .nav-menu,
  .nav-group.is-open .nav-menu {
    position: static;
    width: 100%;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .story-card {
    aspect-ratio: 4 / 3;
  }

  .media-feature {
    min-height: 520px;
  }

  .hero-note-compact .mini-stats {
    grid-template-columns: 1fr;
  }

  .hero-note-compact .mini-stats div {
    padding-right: 0;
    padding-bottom: 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hero-note-compact .mini-stats div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .mosaic {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .mosaic-card.tall {
    min-height: 320px;
  }

  .gallery-card,
  .gallery-card.tall {
    min-height: 320px;
  }

  .contact-columns {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 0 4px;
  }

  .contact-column + .contact-column {
    border-left: 0;
    border-top: 2px solid rgba(255, 255, 255, 0.42);
    padding-left: 0;
    padding-top: 18px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header .container {
    width: min(calc(100% - 28px), 1480px);
  }

  .nav-toggle {
    right: 14px;
  }

  .nav {
    right: 14px;
    left: 14px;
  }

  .hero-content {
    padding: 120px 0 28px;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 3.9rem);
  }

  .brand-logo {
    width: 138px;
  }

  .brand-home-label {
    display: none;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-copy p,
  .hero-note,
  .video-band-copy p {
    display: none;
  }

  .hero-copy h1 {
    max-width: 7ch;
  }

  .hero.hero-centered .hero-content {
    padding-bottom: 48px;
  }

  .hero.hero-centered .hero-copy {
    justify-items: center;
    text-align: center;
  }

  .hero-eyebrow-prominent,
  .eyebrow-overlay {
    font-size: 0.96rem;
    letter-spacing: 0.2em;
  }

  .hero.hero-centered .hero-copy h1 {
    max-width: none;
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .trails-hero-overlay,
  .amarra-hero-overlay,
  .property-video-overlay,
  .amarra-estate-video-overlay,
  .waterfront-video-overlay {
    padding: 120px 0 48px;
  }

  .trails-hero-lockup,
  .amarra-hero-lockup,
  .property-video-lockup,
  .amarra-estate-video-lockup,
  .waterfront-video-lockup {
    justify-items: center;
    text-align: center;
    transform: translateY(-5svh);
  }

  .property-video-lockup,
  .amarra-estate-video-lockup,
  .waterfront-video-lockup {
    transform: translateY(-4svh);
  }

  .amarra-estate-video-overlay,
  .waterfront-video-overlay {
    padding-bottom: 84px;
  }

  .trails-hero-lockup h1,
  .amarra-hero-lockup h1,
  .property-video-lockup h1,
  .amarra-estate-video-lockup h1,
  .waterfront-video-lockup h1 {
    font-size: clamp(1.85rem, 8.5vw, 2.9rem);
  }

  .trails-hero-controls,
  .amarra-hero-controls,
  .property-video-controls,
  .amarra-estate-video-controls,
  .waterfront-video-controls {
    bottom: 20px;
  }

  .trails-hero-sound,
  .amarra-hero-sound,
  .property-video-sound,
  .amarra-estate-video-sound,
  .waterfront-video-sound {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.52rem;
  }

  .trails-full-video-caption,
  .amarra-full-video-caption {
    bottom: 30px;
    gap: 8px;
    padding: 0 22px;
  }

  .trails-full-video-caption h2,
  .amarra-full-video-caption h2 {
    max-width: 9ch;
    font-size: clamp(1.9rem, 10vw, 3rem);
  }

  .hero-title-line.nowrap {
    white-space: normal;
  }

  .hero-badges {
    display: none;
  }

  .btn-secondary {
    background: rgba(255, 255, 255, 0.06);
  }

  .section {
    padding: 52px 0;
  }

  .panel,
  .hero-note,
  .final-card .content,
  .cta-block,
  .contact-minimal,
  .media-caption {
    padding: 22px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .availability-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .availability-item strong {
    min-width: 0;
  }

  .property-card-grid {
    grid-template-columns: 1fr;
  }

  .listing-card {
    min-height: 280px;
    padding: 20px;
  }

  .media-feature {
    width: calc(100% + 20px);
    min-height: 76svh;
    margin-left: -10px;
    margin-right: -10px;
    border-radius: 26px;
  }

  .media-caption {
    left: 18px;
    right: 18px;
    bottom: 18px;
    gap: 6px;
    border-radius: 20px;
    background: rgba(18, 19, 20, 0.24);
    border-color: rgba(255, 255, 255, 0.1);
  }

  .media-caption p {
    display: none;
  }

  .gallery-stack {
    gap: 12px;
  }

  .gallery-row {
    gap: 12px;
  }

  .gallery-card,
  .gallery-card.tall {
    width: calc(100% + 20px);
    min-height: 280px;
    margin-left: -10px;
    margin-right: -10px;
    border-radius: 22px;
  }

  .story-card {
    width: calc(100% + 20px);
    margin-left: -10px;
    margin-right: -10px;
  }

  .image-viewer-dialog {
    padding: 0;
    align-items: center;
  }

  .image-viewer-image {
    max-width: calc(100vw - 18px);
    max-height: calc(100svh - 108px);
    border-radius: 6px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
  }

  .image-viewer-close-button {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }

  .image-viewer-title {
    top: 16px;
    left: 14px;
    max-width: calc(100vw - 72px);
    font-size: 1.08rem;
  }

  .image-viewer-nav-button {
    top: auto;
    bottom: 12px;
    width: 42px;
    height: 42px;
    transform: none;
  }

  .image-viewer-prev {
    left: 10px;
  }

  .image-viewer-next {
    right: 10px;
  }

  .floorplan-label {
    right: 12px;
    bottom: 12px;
    font-size: 0.66rem;
  }

  .story-grid {
    gap: 12px;
  }

  .story-panel {
    gap: 14px;
  }

  .lead {
    font-size: 1rem;
    max-width: none;
  }

  .stat-chip {
    gap: 8px;
    padding: 18px;
    border-radius: 18px;
  }

  .stat-chip strong {
    font-size: 1.55rem;
  }

  .final-card {
    min-height: 0;
    border-radius: 28px;
    background-position: center top;
    padding-top: min(64svh, 520px);
  }

  .final-card .content {
    max-width: none;
    background: rgba(247, 246, 243, 0.9);
    color: var(--anchor);
    border-radius: 28px;
    box-shadow: none;
    backdrop-filter: blur(10px);
  }

  .final-card .eyebrow {
    color: rgba(42, 42, 42, 0.62);
  }

  .final-card .eyebrow::before {
    background: rgba(42, 42, 42, 0.2);
  }

  .final-card h2 {
    font-size: clamp(1.8rem, 8.6vw, 2.55rem);
    max-width: 10ch;
    margin-bottom: 8px;
  }

  .final-card p {
    display: block;
    margin: 0;
    color: rgba(42, 42, 42, 0.76);
    font-size: 0.92rem;
    line-height: 1.58;
  }

  .contact-minimal {
    gap: 6px;
    margin-top: 14px;
    padding: 16px 0 0;
    border-top: 1px solid rgba(42, 42, 42, 0.08);
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  .contact-minimal .eyebrow {
    font-size: 0.82rem;
    letter-spacing: 0.2em;
    color: rgba(42, 42, 42, 0.82);
  }

  .section-break {
    padding: 8px 0 2px;
  }

  .contact-minimal a {
    font-size: clamp(1.8rem, 8.4vw, 2.45rem);
    color: var(--anchor);
  }

  .contact-minimal p {
    display: block;
    max-width: none;
    color: rgba(42, 42, 42, 0.68);
    font-size: 0.9rem;
    line-height: 1.5;
  }
}
