/* =========================================================
   GROWV — Luxury Real Estate Landing Page
   Mobile-first. WCAG 2.1 AA. Full responsive ladder.
   Breakpoints:
     320  small phone (iPhone SE)
     375  smartphone
     414  big phone
     600  small tablet / phablet landscape
     768  big tablet (iPad portrait)
    1024  small laptop / iPad landscape
    1280  laptop
    1440  desktop
    1680  desktop scaled
    1920  large monitor
    2400  ultra-wide
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Palette — derived from the GROWV business card + logo */
  --ink:        #0E1A14;   /* deep forest, primary dark */
  --ink-2:      #142219;   /* slightly lighter */
  --ink-3:      #1B2C24;   /* card surfaces on dark */
  --ink-line:   rgba(255,255,255,0.10);

  --gold:       #BFA164;   /* logo gold */
  --gold-2:     #D9C28C;   /* highlight */
  --gold-3:     #8E7842;   /* deeper gold */
  --gold-soft:  rgba(191, 161, 100, 0.14);

  --cream:      #F5F1EA;   /* warm off-white */
  --cream-2:    #EBE4D5;
  --paper:      #FFFFFF;

  --char:       #1F1F1F;   /* near-black for text on cream */
  --char-2:     #3A3A3A;
  --mute:       #6B6F6C;   /* warm gray */
  --hairline:   rgba(20, 34, 25, 0.10);

  /* Typography */
  --f-display: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --f-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Fluid type — clamp(min, preferred, max) */
  --fs-display-xl: clamp(2.6rem, 7vw + 0.5rem, 7rem);
  --fs-display-lg: clamp(2.2rem, 5vw + 0.5rem, 5rem);
  --fs-display-md: clamp(1.9rem, 3.4vw + 0.6rem, 3.6rem);
  --fs-display-sm: clamp(1.5rem, 2.2vw + 0.6rem, 2.4rem);
  --fs-lede:       clamp(1.05rem, 0.4vw + 0.95rem, 1.25rem);
  --fs-body:       clamp(0.98rem, 0.15vw + 0.92rem, 1.05rem);
  --fs-small:      0.82rem;
  --fs-eyebrow:    0.72rem;

  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 6rem;
  --space-9: 8rem;

  /* Section padding (fluid) */
  --pad-section: clamp(4rem, 7vw, 9rem);
  --pad-side:    clamp(1.25rem, 4vw, 4rem);

  /* Layout */
  --max-w: 1440px;
  --max-w-narrow: 980px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* UI */
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 14px;
  --shadow-lg: 0 30px 70px -30px rgba(14, 26, 20, 0.45);
  --shadow-md: 0 18px 40px -22px rgba(14, 26, 20, 0.35);

  /* Header height — used to offset anchor scroll */
  --header-h: 72px;
}

@media (min-width: 1024px) {
  :root { --header-h: 88px; }
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

html, body { margin: 0; padding: 0; }
body {
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--char);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, picture { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease-out); }
button { font: inherit; cursor: pointer; }
ul, ol, p, h1, h2, h3, h4, h5, h6, address, figure { margin: 0; padding: 0; }
ul[role="list"], ol[role="list"] { list-style: none; }
address { font-style: normal; }
hr { border: 0; border-top: 1px solid var(--hairline); margin: var(--space-5) 0; }

/* Visually hidden, still announced */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Skip link for screen-reader / keyboard users */
.skip-link {
  position: absolute; left: 1rem; top: 1rem;
  background: var(--ink); color: var(--gold);
  padding: 0.65rem 1rem; border-radius: var(--radius-sm);
  font-size: 0.85rem; letter-spacing: 0.04em;
  transform: translateY(-200%); z-index: 1000;
  transition: transform .25s var(--ease-out);
}
.skip-link:focus { transform: translateY(0); outline: 2px solid var(--gold-2); outline-offset: 2px; }

/* Focus ring — keyboard only */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
.section--ink :focus-visible { outline-color: var(--gold-2); }

/* ---------- Typography ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--fs-display-xl);
  line-height: 1.02;
  letter-spacing: -0.012em;
  color: inherit;
}
.display--lg { font-size: var(--fs-display-lg); line-height: 1.04; }
.display--md { font-size: var(--fs-display-md); line-height: 1.08; letter-spacing: -0.008em; }
.display--sm { font-size: var(--fs-display-sm); line-height: 1.15; }
.display--light { font-weight: 300; }
.display__line { display: block; }
.display__line--italic { font-style: italic; font-weight: 300; color: var(--gold); }

.lede {
  font-size: var(--fs-lede);
  line-height: 1.55;
  color: var(--char-2);
  max-width: 60ch;
}

.eyebrow {
  display: inline-block;
  font-family: var(--f-body);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--mute);
  margin-bottom: var(--space-3);
}
.eyebrow--gold { color: var(--gold); }
.section--ink .eyebrow { color: rgba(255,255,255,0.55); }
.section--ink .eyebrow--gold { color: var(--gold-2); }

p { max-width: 65ch; }
p strong { font-weight: 600; color: var(--char); }
.section--ink p strong { color: #fff; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-side);
}

.section {
  padding-block: var(--pad-section);
  position: relative;
}
.section--cream { background: var(--cream); color: var(--char); }
.section--paper { background: var(--paper); color: var(--char); }
.section--ink   { background: var(--ink);   color: rgba(255,255,255,0.78); }
.section--ink-soft { background: var(--ink-2); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 4rem); }
.section-head__lede { color: rgba(255,255,255,0.7); margin-top: var(--space-3); font-size: var(--fs-lede); }
.section--cream .section-head__lede,
.section--paper .section-head__lede { color: var(--char-2); }
.section-head--row {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.section-head__note { color: var(--mute); max-width: 36ch; font-size: 0.95rem; }
@media (min-width: 900px) {
  .section-head--row { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: var(--space-6); }
  .section-head--row > div { max-width: 720px; }
  .section-head__note { text-align: right; }
}

/* ---------- Buttons / CTAs ---------- */
.cta {
  --cta-bg: var(--ink);
  --cta-fg: #fff;
  --cta-border: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65em;
  /* Slightly asymmetric inline padding compensates for letter-spacing's
     trailing gap on the last character — optically centers uppercase text.
     text-align: center keeps each line centered when text wraps. */
  padding: 0.95em 1.55em 0.95em 1.65em;
  text-align: center;
  font-family: var(--f-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cta-fg);
  background: var(--cta-bg);
  border: 1px solid var(--cta-border);
  border-radius: 999px;
  transition: background .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out), transform .3s var(--ease-out);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  isolation: isolate;
}
.cta:hover {
  --cta-bg: var(--gold-3);
  --cta-border: var(--gold-3);
  --cta-fg: #fff;
}
.cta--gold {
  --cta-bg: var(--gold);
  --cta-border: var(--gold);
  --cta-fg: var(--ink);
}
.cta--gold:hover {
  --cta-bg: var(--gold-2);
  --cta-border: var(--gold-2);
  --cta-fg: var(--ink);
}
.cta--ghost {
  --cta-bg: transparent;
  --cta-border: var(--gold);
  --cta-fg: var(--gold);
}
.cta--ghost:hover {
  --cta-bg: var(--gold);
  --cta-fg: var(--ink);
}
.section--paper .cta--ghost,
.section--cream .cta--ghost {
  --cta-border: var(--ink);
  --cta-fg: var(--ink);
}
.section--paper .cta--ghost:hover,
.section--cream .cta--ghost:hover {
  --cta-bg: var(--ink);
  --cta-fg: var(--gold);
}
.cta--quiet {
  --cta-bg: transparent;
  --cta-border: transparent;
  --cta-fg: currentColor;
  padding-inline: 0.4em;
}
.cta--quiet:hover { --cta-fg: var(--gold); --cta-bg: transparent; --cta-border: transparent; transform: translateX(4px); }
.cta--block { width: 100%; }
.cta--lg { padding: 1.15em 1.8em; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink);
  border-bottom: 1px solid currentColor; padding-bottom: 6px;
  transition: color .25s var(--ease-out), gap .3s var(--ease-out);
}
.link-arrow:hover { color: var(--gold-3); gap: 1em; }
.section--ink .link-arrow { color: var(--gold); }
.section--ink .link-arrow:hover { color: var(--gold-2); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(14,26,20,0.55) 0%, rgba(14,26,20,0) 100%);
  transition: background-color .35s var(--ease-out), backdrop-filter .35s var(--ease-out);
}
.site-header[data-scrolled="true"],
html.is-nav-open .site-header {
  background: rgba(14, 26, 20, 0.96);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-shell {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-3);
  padding: 0.9rem var(--pad-side);
  max-width: var(--max-w); margin-inline: auto;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand__logo {
  height: 38px; width: auto;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25));
}
@media (min-width: 1024px) {
  .brand__logo { height: 48px; }
}

.primary-nav { display: none; }
.primary-nav ul { display: flex; gap: clamp(1rem, 2.4vw, 2.5rem); }
.primary-nav a {
  color: rgba(255,255,255,0.86);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--gold);
  transition: right .35s var(--ease-out);
}
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--gold-2); }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { right: 0; }

.site-header .cta--ghost { display: none; padding: 0.65em 1.25em; font-size: 0.74rem; letter-spacing: 0.18em; }

.nav-toggle {
  background: transparent; border: 1px solid rgba(255,255,255,0.25);
  width: 44px; height: 44px;
  display: inline-flex; flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  transition: border-color .25s var(--ease-out), background .25s var(--ease-out);
}
.nav-toggle:hover { border-color: var(--gold); }
.nav-toggle span {
  display: block; width: 16px; height: 1.5px;
  background: #fff; transition: transform .3s var(--ease-out), opacity .3s var(--ease-out);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0;
  background: var(--ink); color: #fff;
  padding: clamp(2rem, 5vw, 4rem) var(--pad-side);
  display: flex; flex-direction: column; gap: var(--space-5);
  overflow-y: auto;
  z-index: 90;
  animation: slideIn .35s var(--ease-out);
}
@keyframes slideIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
.mobile-nav[hidden] { display: none; }
/* The first link receives programmatic focus on open so it adopts the
   gold "active" color (via the existing :focus-visible rule below).
   Suppress only the outline ring on menu links — the color change is
   a sufficient focus indicator within this high-contrast surface. */
.mobile-nav a:focus,
.mobile-nav a:focus-visible { outline: none; }
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav li + li { border-top: 1px solid var(--ink-line); }
.mobile-nav a {
  display: block;
  padding: 1.1rem 0;
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  letter-spacing: -0.005em;
  color: #fff;
}
.mobile-nav a:hover,
.mobile-nav a:focus,
.mobile-nav a:focus-visible { color: var(--gold); }
.mobile-nav__contact { display: flex; flex-direction: column; gap: 0.4rem; color: rgba(255,255,255,0.65); font-size: 0.92rem; margin-top: auto; padding-top: var(--space-5); border-top: 1px solid var(--ink-line); }
.mobile-nav__contact a:hover { color: var(--gold); }

@media (min-width: 1024px) {
  .primary-nav { display: block; }
  .nav-toggle { display: none; }
  .site-header .cta--ghost { display: inline-flex; }
  .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  padding-top: var(--header-h);
}
.hero__media {
  position: absolute; inset: 0; z-index: -1;
}
.hero__media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.05);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 70% at 30% 60%, rgba(14,26,20,0.55) 0%, rgba(14,26,20,0.25) 50%, rgba(14,26,20,0.85) 100%),
    linear-gradient(180deg, rgba(14,26,20,0.45) 0%, rgba(14,26,20,0.2) 35%, rgba(14,26,20,0.85) 100%);
}
/* Phones get a portrait-cropped version of the hero photo via <picture>
   (see index.html). Just need a gentle veil to keep the headline area
   legible — the cropped image already composes nicely for portrait. */
@media (max-width: 767px) {
  /* Portrait-cropped home photo serves via <picture>. Veil keeps the home
     subtly visible up top and lands the headline on a uniformly dark band
     so the gold italic line stays legible — no visible seam. */
  .hero__media img { object-position: center 35%; }
  .hero__veil {
    background: linear-gradient(180deg,
      rgba(14,26,20,0.32) 0%,
      rgba(14,26,20,0.38) 22%,
      rgba(14,26,20,0.82) 42%,
      rgba(14,26,20,0.94) 100%);
  }
  .hero h1       { text-shadow: 0 4px 28px rgba(0,0,0,0.45); }
  .hero__sub     { text-shadow: 0 2px 12px rgba(0,0,0,0.55); }
  .hero .eyebrow { text-shadow: 0 1px 6px  rgba(0,0,0,0.65); }
}

.hero__content {
  position: relative; z-index: 1;
  padding: var(--pad-side);
  max-width: var(--max-w);
  margin-inline: auto;
  width: 100%;
  padding-bottom: clamp(5rem, 12vh, 9rem);
  padding-top: clamp(3rem, 8vh, 6rem);
}
.hero__sub {
  margin-top: var(--space-4);
  font-size: var(--fs-lede);
  color: rgba(255,255,255,0.85);
  max-width: 52ch;
  line-height: 1.55;
}
.hero__actions {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  display: flex; flex-wrap: wrap; gap: 0.9rem;
  align-items: center;
}
.hero__actions .cta--quiet { color: var(--gold-2); }

.hero__scroll {
  position: absolute;
  left: 50%; bottom: clamp(1.25rem, 3vh, 2rem);
  transform: translateX(-50%);
  display: none;
  flex-direction: column; align-items: center; gap: 0.6rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem; letter-spacing: 0.32em; text-transform: uppercase;
  transition: color .25s var(--ease-out);
}
.hero__scroll:hover { color: var(--gold); }
.hero__scroll-line {
  display: block; width: 1px; height: 60px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 100%);
  position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: ""; position: absolute; top: -30px; left: 0; right: 0;
  height: 30px; background: var(--gold);
  animation: scrollDot 2.2s var(--ease-in-out) infinite;
}
@keyframes scrollDot {
  0% { top: -30px; opacity: 0; }
  30% { opacity: 1; }
  100% { top: 60px; opacity: 0; }
}
@media (min-width: 600px) and (min-height: 700px) {
  .hero__scroll { display: flex; }
}

/* ---------- Split (About) ---------- */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr 1fr; }
}
@media (min-width: 1280px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 7rem); }
}
.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.split__media:hover img { transform: scale(1.04); }
.split__media-tag {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(14,26,20,0.7); color: var(--gold);
  padding: 0.5rem 0.9rem; border-radius: 999px;
  font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.split__text > * + * { margin-top: var(--space-4); }
.split__text > p { line-height: 1.7; color: var(--char-2); }
.split__text .link-arrow { margin-top: var(--space-5); }

/* ---------- Value Grid (Why GROWV) ---------- */
.value-grid {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  grid-template-columns: 1fr;
}
@media (min-width: 600px)  { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .value-grid { grid-template-columns: repeat(4, 1fr); } }

.value {
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
  background: var(--ink-3);
  border: 1px solid rgba(191,161,100,0.12);
  border-radius: var(--radius-lg);
  position: relative;
  transition: transform .4s var(--ease-out), border-color .4s var(--ease-out), background .4s var(--ease-out);
}
.value:hover { transform: translateY(-4px); border-color: var(--gold); background: #1F3429; }
.value__num {
  display: block;
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--gold);
  margin-bottom: var(--space-4);
  letter-spacing: 0.04em;
}
.value__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 1.4vw + 0.6rem, 1.55rem);
  line-height: 1.2;
  color: #fff;
  margin-bottom: var(--space-3);
}
.value p { color: rgba(255,255,255,0.7); font-size: 0.96rem; line-height: 1.65; }

/* ---------- Mission ---------- */
.mission {
  background: var(--ink);
  color: #fff;
  padding-block: clamp(5rem, 10vw, 10rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mission::before, .mission::after {
  content: ""; position: absolute; left: 50%; height: 1px; width: 60px;
  background: var(--gold); opacity: 0.7;
}
.mission::before { top: clamp(2.5rem, 5vw, 4rem); transform: translateX(-50%); }
.mission::after  { bottom: clamp(2.5rem, 5vw, 4rem); transform: translateX(-50%); }
.mission__inner { max-width: var(--max-w-narrow); margin-inline: auto; }
.mission .display { color: #fff; font-style: italic; font-weight: 300; line-height: 1.18; }
.mission .display::before { content: "“"; color: var(--gold); margin-right: 0.1em; font-style: normal; }
.mission .display::after  { content: "”"; color: var(--gold); margin-left: 0.1em;  font-style: normal; }
.mission__sig {
  margin-top: var(--space-5);
  letter-spacing: 0.24em; text-transform: uppercase;
  font-size: 0.78rem; color: rgba(255,255,255,0.55);
}

/* ---------- Property Grid ---------- */
.property-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 600px)  { .property-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .property-grid { grid-template-columns: repeat(4, 1fr); } }

.property { display: flex; flex-direction: column; gap: var(--space-3); }
.property__media {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  position: relative;
  background: var(--cream-2);
  box-shadow: var(--shadow-md);
}
.property__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease-out), filter .8s var(--ease-out);
}
.property__media::after {
  content: "View"; position: absolute; right: 0.9rem; bottom: 0.9rem;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
  background: var(--ink); color: var(--gold);
  padding: 0.55rem 0.9rem; border-radius: 999px;
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.property__media:hover img,
.property__media:focus-visible img { transform: scale(1.06); }
.property__media:hover::after,
.property__media:focus-visible::after { opacity: 1; transform: translateY(0); }
.property__body { padding-top: var(--space-2); display: flex; flex-direction: column; gap: 0.35rem; }
.property__loc {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute);
}
.property__title {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(1.25rem, 1.3vw + 0.7rem, 1.7rem);
  line-height: 1.2; color: var(--ink);
}
.property__meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; color: var(--mute); font-size: 0.86rem; }
.property__meta li { position: relative; }
.property__meta li + li::before {
  content: ""; position: absolute; left: -0.7rem; top: 50%;
  width: 3px; height: 3px; background: currentColor; border-radius: 50%;
  transform: translateY(-50%); opacity: 0.4;
}
.property__price {
  margin-top: 0.4rem;
  font-family: var(--f-display); font-style: italic; font-size: 1.05rem; color: #7A6334;
  letter-spacing: 0.01em;
}
.property-grid__note {
  margin-top: clamp(2rem, 4vw, 3rem);
  text-align: center;
  color: var(--mute); font-size: 0.95rem; max-width: 60ch; margin-inline: auto;
}
.property-grid__note a { color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 1px; }
.property-grid__note a:hover { color: var(--gold-3); }

/* ---------- Team Grid ---------- */
.team-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  grid-template-columns: 1fr;
}
@media (min-width: 600px)  { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1440px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }

.agent {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--ink-3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(191,161,100,0.12);
  transition: transform .5s var(--ease-out), border-color .5s var(--ease-out), box-shadow .5s var(--ease-out);
  isolation: isolate;
}
.agent:hover, .agent:focus-within {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}
.agent__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-2);
  position: relative;
}
.agent__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
  transition: transform 1.2s var(--ease-out), filter .6s var(--ease-out);
}
.agent:hover .agent__media img,
.agent:focus-within .agent__media img { transform: scale(1.05); filter: saturate(1.05); }
.agent__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,26,20,0) 50%, rgba(14,26,20,0.6) 100%);
}
.agent__body {
  padding: clamp(1.25rem, 2vw, 1.75rem);
  display: flex; flex-direction: column; gap: 0.45rem;
}
.agent__role {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
}
.agent__name {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(1.4rem, 1.4vw + 0.7rem, 1.8rem);
  line-height: 1.15;
  color: #fff;
}
.agent__bio {
  color: rgba(255,255,255,0.65);
  font-size: 0.92rem; line-height: 1.6;
  margin-top: 0.2rem;
}
.agent__link {
  margin-top: auto;
  padding-top: var(--space-4);
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
  color: var(--gold-2);
  transition: gap .35s var(--ease-out), color .25s var(--ease-out);
}
.agent__link::after {
  content: "→"; font-size: 1rem; transition: transform .35s var(--ease-out);
}
.agent:hover .agent__link, .agent:focus-within .agent__link { color: #fff; gap: 0.9rem; }
.agent:hover .agent__link::after { transform: translateX(4px); }

/* Stretched link — makes whole card clickable but keeps semantic anchor */
.agent__cover {
  position: absolute; inset: 0;
  z-index: 2;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
}
.agent__cover:focus-visible {
  outline-offset: -4px;
  border-radius: var(--radius-lg);
}

.team-grid__note {
  margin-top: clamp(2rem, 4vw, 3rem);
  text-align: center;
  color: rgba(255,255,255,0.6); font-size: 0.95rem;
}
.team-grid__note a { color: var(--gold-2); border-bottom: 1px solid var(--gold-3); padding-bottom: 1px; }
.team-grid__note a:hover { color: #fff; border-color: var(--gold); }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 1024px) {
  .contact { grid-template-columns: 1.1fr 1fr; gap: clamp(3rem, 6vw, 6rem); }
}
.contact__lead .lede { margin-top: var(--space-4); color: var(--char-2); }

.contact__card {
  background: var(--ink);
  color: #fff;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.contact__card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-3), var(--gold), var(--gold-2));
}
.contact__row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--ink-line);
  align-items: baseline;
}
.contact__row:last-of-type { border-bottom: 0; padding-bottom: var(--space-5); }
.contact__label {
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.5);
}
.contact__value { color: #fff; font-family: var(--f-display); font-size: clamp(1.05rem, 1vw + 0.6rem, 1.25rem); line-height: 1.4; }
a.contact__value { transition: color .25s var(--ease-out); }
a.contact__value:hover, a.contact__value:focus-visible { color: var(--gold-2); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  padding-block: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2.5rem);
  font-size: 0.92rem;
}
.site-footer__inner {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: 1fr;
}
@media (min-width: 768px)  { .site-footer__inner { grid-template-columns: 2fr 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__inner { grid-template-columns: 2.2fr 1fr 1.2fr 1fr; } }
.site-footer h3 {
  font-family: var(--f-body);
  font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: var(--space-3); font-weight: 500;
}
.site-footer__brand img { height: 56px; width: auto; margin-bottom: var(--space-3); }
.site-footer__brand p { max-width: 36ch; line-height: 1.65; }
.site-footer__nav ul { display: flex; flex-direction: column; gap: 0.55rem; }
.site-footer a { color: rgba(255,255,255,0.78); }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--gold-2); }
.site-footer__contact address { line-height: 1.75; }
.site-footer__legal { grid-column: 1 / -1; padding-top: var(--space-5); border-top: 1px solid var(--ink-line); display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.82rem; }
.site-footer__fineprint { color: rgba(255,255,255,0.55); max-width: 70ch; }
@media (min-width: 768px) {
  .site-footer__legal { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: var(--space-5); }
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Selection & misc ---------- */
::selection { background: var(--gold); color: var(--ink); }

/* High-contrast / forced-colors mode */
@media (forced-colors: active) {
  .cta { border: 1px solid CanvasText; }
  .hero__veil { display: none; }
  .agent, .value { border: 1px solid CanvasText; }
}

/* ---------- Granular responsive tweaks ---------- */

/* Small phones — iPhone SE, Galaxy Fold closed */
@media (max-width: 374px) {
  :root { --pad-side: 1rem; }
  .display { font-size: clamp(2.1rem, 9vw, 2.6rem); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .cta { width: 100%; }
  .contact__row { grid-template-columns: 1fr; gap: 0.2rem; padding: 0.85rem 0; }
}

/* Standard smartphones */
@media (min-width: 375px) and (max-width: 413px) {
  .hero__sub { font-size: 1.02rem; }
}

/* Big phones / phablets (iPhone Pro Max etc) */
@media (min-width: 414px) and (max-width: 599px) {
  :root { --pad-side: 1.4rem; }
}

/* Small tablets / landscape phones */
@media (min-width: 600px) and (max-width: 767px) {
  :root { --pad-side: 1.75rem; }
  .hero__content { max-width: 88%; }
}

/* Tablets — iPad portrait */
@media (min-width: 768px) and (max-width: 1023px) {
  :root { --pad-side: 2.5rem; }
  .hero__content { max-width: 78%; }
  .hero__sub { max-width: 46ch; }
  .property-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Small laptops / iPad landscape */
@media (min-width: 1024px) and (max-width: 1279px) {
  :root { --pad-side: 3rem; }
  .hero__content { max-width: 68%; }
}

/* Laptops with scaling (1280–1439) */
@media (min-width: 1280px) and (max-width: 1439px) {
  :root { --pad-side: 3.5rem; }
}

/* Standard desktops */
@media (min-width: 1440px) and (max-width: 1679px) {
  :root { --pad-side: 4rem; --max-w: 1400px; }
}

/* Larger desktops / scaled HiDPI laptops */
@media (min-width: 1680px) and (max-width: 1919px) {
  :root { --pad-side: 4.5rem; --max-w: 1500px; }
  .hero__content { max-width: 60%; }
}

/* Big monitors */
@media (min-width: 1920px) {
  :root {
    --pad-side: 5rem;
    --max-w: 1640px;
    --fs-display-xl: clamp(5rem, 6vw, 8rem);
  }
  .hero__content { max-width: 56%; }
}

/* Ultra-wide / 4K */
@media (min-width: 2400px) {
  :root { --max-w: 1840px; --pad-side: 6rem; }
}

/* Landscape mobile — short viewports */
@media (max-height: 540px) and (orientation: landscape) {
  .hero { min-height: 640px; padding-top: 72px; padding-bottom: 2rem; }
  .hero__scroll { display: none; }
  .hero__content { padding-bottom: 2rem; }
}

/* Print */
@media print {
  .site-header, .mobile-nav, .hero__scroll, .cta, .nav-toggle { display: none !important; }
  body { color: #000; background: #fff; }
  .hero { min-height: auto; }
  .hero__media { display: none; }
  a { color: #000; text-decoration: underline; }
  .section { padding-block: 1.5rem; break-inside: avoid; }
}
