/* ============================================================================
   FIND Real Estate — faithful recreation of findrealestate.com
   Design system: viewport-relative rem scale, editorial monochrome.
   At 1920px viewport: 1rem = 10px. So 3.2rem = 32px.
   ========================================================================== */

/* ---- Viewport-relative root font scale (the signature of this site) ---- */
html {
  font-size: 2.6666666667vw;           /* mobile: ~1rem ≈ 10px at 375px   */
  -webkit-text-size-adjust: 100%;
}
@media (min-width: 768px) {
  html { font-size: 0.5208333333vw; }  /* desktop: 1rem = 10px at 1920px  */
}
@media (min-width: 1920px) {
  html { font-size: 10px; }            /* capped                          */
}

/* ---- Tokens ---- */
:root {
  color-scheme: light;     /* never let OS dark-mode invert the design    */
  --ink:        #151717;   /* primary black — text, borders, dark bg     */
  --white:      #ffffff;
  --section:    #f0f0f0;   /* alternate section background               */
  --hover:      #ededed;   /* dropdown hover                            */
  --ghost:      #f1f1f1;
  --muted:      #b3b3b3;   /* de-emphasised / "echo" gray text          */
  --muted-dk:   #7a7a7a;   /* gray echo on dark sections                */
  --muted-dk2:  #6b6b6b;
  --error:      #d92424;
  --marker:     #0496ff;
  --line:       rgba(21,23,23,0.10);
  --line-2:     rgba(21,23,23,0.20);
  --line-soft:  rgba(21,23,23,0.07);
  --line-dark:  #333333;

  --font-primary: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-secondary: "Lora", "Times New Roman", serif;

  --maxw: 172rem;          /* content max-width ~1720px                  */
  --gutter: 10rem;         /* side margins ~100px                        */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { overflow-x: clip; }
body {
  font-family: var(--font-primary);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  font-size: 1.8rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--ink); color: var(--white); }

/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---- Layout helpers ---- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section  { padding: 15rem 0; }
.section--sm { padding: 8rem 0; }
.bg-alt   { background: var(--section); }
.bg-dark  { background: var(--ink); color: var(--white); }

@media (max-width: 767px) {
  :root { --gutter: 2.4rem; }
  .section { padding: 8rem 0; }
}

/* ---- Two-tone headline + scroll reveal ---- */
.echo { color: inherit; }
.bg-dark .echo { color: inherit; }

.reveal { opacity: 0; transform: translateY(3rem); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---- Display type scale ---- */
.display   { font-size: 9rem;  line-height: 1.02; font-weight: 700; letter-spacing: -0.02em; }
.h-xl      { font-size: 8rem;  line-height: 1.04; font-weight: 700; letter-spacing: -0.015em; }
.h-lg      { font-size: 6.4rem; line-height: 1.06; font-weight: 700; letter-spacing: -0.01em; }
.h-md      { font-size: 5.2rem; line-height: 1.1;  font-weight: 700; letter-spacing: -0.01em; }
.h-sm      { font-size: 3.6rem; line-height: 1.15; font-weight: 600; }
.lead      { font-size: 3rem;  line-height: 1.35; font-weight: 400; }
.eyebrow   { font-size: 1.6rem; font-weight: 500; color: var(--ink); letter-spacing: 0.02em; }
.bg-dark .eyebrow { color: var(--white); }
.small     { font-size: 1.4rem; }

@media (max-width: 767px) {
  .display { font-size: 5.6rem; }
  .h-xl    { font-size: 4.8rem; }
  .h-lg    { font-size: 4rem; }
  .h-md    { font-size: 3.4rem; }
  .h-sm    { font-size: 2.8rem; }
  .lead    { font-size: 2.2rem; }
}

/* ============================================================================
   BUTTONS — pill with trailing arrow in a circular container
   ========================================================================== */
/* ---- Apple liquid-glass buttons (vanilla port: translucent + backdrop
   distortion via #container-glass + a frosted-glass bevel) ---- */
.btn {
  display: inline-flex; align-items: center; gap: 1.4rem;
  padding: 1.2rem 1.2rem 1.2rem 3rem;
  border-radius: 9999px; border: none;
  font-size: 1.7rem; font-weight: 600; letter-spacing: -0.005em;
  white-space: nowrap; position: relative; isolation: isolate;
  -webkit-backdrop-filter: blur(6px) saturate(1.4); backdrop-filter: blur(6px) saturate(1.4);
  box-shadow:
    0 1px 3px rgba(0,0,0,.10), 0 5px 16px rgba(0,0,0,.10),
    inset 2px 2px .5px -2px rgba(255,255,255,.75), inset -2px -2px .5px -2px rgba(255,255,255,.6),
    inset 1px 1px 1px -.5px rgba(255,255,255,.65), inset -1px -1px 1px -.5px rgba(255,255,255,.55),
    inset 0 0 8px 5px rgba(255,255,255,.10), inset 0 0 2px 2px rgba(255,255,255,.06);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s;
}
.btn:hover { transform: scale(1.045); }
.btn:active { transform: scale(.97); }
.btn__arrow {
  width: 3.6rem; height: 3.6rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto; position: relative; z-index: 2;
  transition: transform .4s var(--ease), background-color .3s var(--ease);
}
.btn__arrow svg { width: 1.6rem; height: 1.6rem; }
.btn:hover .btn__arrow { transform: translateX(0.3rem); }

/* tints — dark glass (primary & on-dark) / light glass (on-light) */
.btn--dark { background: rgba(21,23,23,.5); color: #fff; }
.btn--dark .btn__arrow { background: rgba(255,255,255,.92); color: var(--ink); }
.btn--ghost-white { background: rgba(255,255,255,.12); color: #fff; }
.btn--ghost-white .btn__arrow { background: rgba(255,255,255,.9); color: var(--ink); }
.btn--white { background: rgba(255,255,255,.45); color: var(--ink); }
.btn--white .btn__arrow { background: var(--ink); color: #fff; }
.btn--ghost-dark { background: rgba(255,255,255,.32); color: var(--ink); }
.btn--ghost-dark .btn__arrow { background: var(--ink); color: #fff; }

/* Number badge */
.badge {
  width: 4rem; height: 4rem; border: 1px solid currentColor; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 500; flex: 0 0 auto;
}

/* Underline input */
.field {
  border: none; border-bottom: 1px solid var(--line-2);
  background: transparent; color: inherit;
  padding: 0 0 1.8rem; font-size: 1.8rem; font-weight: 500; width: 100%;
  outline: none; font-family: inherit;
  transition: border-color .3s var(--ease);
}
.field::placeholder { color: var(--muted); }
.field:focus { border-bottom-color: var(--ink); }
.field--dark { border-bottom-color: rgba(255,255,255,0.4); color: var(--white); }
.field--dark::placeholder { color: rgba(255,255,255,0.4); }
.field--dark:focus { border-bottom-color: var(--white); }

/* ============================================================================
   NAVIGATION
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 8rem;
  background: rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(16px) saturate(1.7);
  backdrop-filter: blur(16px) saturate(1.7);
  display: flex; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.4);
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 6px 24px rgba(20,23,23,.06);
  transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s;
}
.nav__inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; }
.nav__logo { font-size: 2.8rem; font-weight: 700; letter-spacing: -0.03em; display: inline-flex; align-items: center; }
.nav__logo .find-i { display: inline-block; transform: skewX(-12deg); }
/* each nav link is its own liquid-glass button (the LiquidButton style) */
.nav__links { display: flex; align-items: center; gap: 1.2rem; }
.nav__link {
  font-size: 1.7rem; font-weight: 500; position: relative; display: inline-flex; align-items: center; gap: .5rem;
  padding: 1rem 2.4rem; border-radius: 9999px; background: transparent;
  -webkit-backdrop-filter: blur(4px) saturate(1.4); backdrop-filter: blur(4px) saturate(1.4);
  box-shadow:
    0 0 6px rgba(0,0,0,.03), 0 2px 6px rgba(0,0,0,.08),
    inset 3px 3px .5px -3px rgba(255,255,255,.85), inset -3px -3px .5px -3px rgba(255,255,255,.7),
    inset 1px 1px 1px -.5px rgba(255,255,255,.7), inset -1px -1px 1px -.5px rgba(255,255,255,.6),
    inset 0 0 6px 6px rgba(255,255,255,.12), inset 0 0 2px 2px rgba(255,255,255,.06),
    0 0 12px rgba(255,255,255,.15);
  transition: transform .3s var(--ease), background-color .25s var(--ease);
}
.nav__link:hover { transform: scale(1.06); background: rgba(255,255,255,.18); }
.nav__link svg { width: 1.2rem; height: 1.2rem; transition: transform .3s var(--ease); }
.nav__item { position: relative; }
.nav__item:hover .nav__link svg { transform: rotate(180deg); }

/* Dropdown */
.nav__dropdown {
  position: absolute; top: calc(100% + .4rem); left: 50%; transform: translateX(-50%) translateY(1rem);
  background: var(--white); border: 1px solid var(--line);
  padding: 2rem 0; min-width: 22rem; border-radius: 1.2rem;
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease);
  z-index: 201; box-shadow: 0 2rem 5rem rgba(21,23,23,.08);
}
.nav__item:hover .nav__dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__dropdown a { display: block; padding: 1.35rem 3rem; font-size: 1.6rem; font-weight: 500; transition: background .2s; }
.nav__dropdown a:hover { background: var(--hover); }

.nav__cta { display: inline-flex; }
.nav__burger { display: none; width: 4.4rem; height: 4.4rem; position: relative; }
.nav__burger span {
  position: absolute; left: 50%; height: 2px; width: 3rem; background: currentColor; border-radius: 9999px;
  transform: translateX(-50%); transition: top .2s, transform .3s, opacity .2s;
}
.nav__burger span:nth-child(1) { top: 1.7rem; }
.nav__burger span:nth-child(2) { top: 2.6rem; }
body.menu-open .nav__burger span:nth-child(1) { top: 2.6rem; transform: translateX(-50%) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { top: 2.6rem; transform: translateX(-50%) rotate(-45deg); }

/* nav hidden on scroll-down (auto-hide) */
.nav.nav--hidden { transform: translateY(-100%); }

/* clear over the (light) hero, frosted liquid-glass once scrolled past it.
   Text stays dark because the visible hero bg is the light sky gradient. */
.nav.nav--transparent { background: transparent; border-bottom-color: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }

@media (max-width: 1023px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__mobile {
    position: fixed; inset: 8rem 0 0 0; background: var(--white); z-index: 99;
    transform: translateY(-100%); transition: transform .5s var(--ease);
    padding: 4rem var(--gutter); display: flex; flex-direction: column; gap: 2rem; overflow-y: auto;
  }
  body.menu-open .nav__mobile { transform: translateY(0); }
  .nav__mobile a { font-size: 3.2rem; font-weight: 500; }
}
@media (min-width: 1024px) { .nav__mobile { display: none; } }

/* page top spacer so fixed nav doesn't cover content (non-hero pages) */
.page-top { padding-top: 8rem; }

/* ============================================================================
   HERO — scroll-pinned 500vh stage with logo-reveal sequence
   Structure: .hero_root (500vh) > .hero_top (sticky 100vh) > layers
   JS reads scroll progress (0→1) and scrubs every layer. See main.js.
   ========================================================================== */
.hero_root {
  position: relative; height: 680vh;        /* longer pin = slower, longer sequence */
  background: var(--ink); color: var(--white); overflow: clip;
}
.hero_top {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column;
}

/* Layer 1 — golden-hour sky gradient + warm horizon glow + soft dark overlay */
.hero_back { position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 40% at 50% 100%, rgba(255,170,80,0.25) 0%, transparent 70%),
    linear-gradient(165deg, #7fb3cc 0%, #9ec0d4 15%, #bccad2 30%, #d4c4bc 50%, #e8c4a8 68%, #f0c9a4 80%, #f3cba9 100%); }
.hero_back::after { content: ""; position: absolute; inset: 0; background: var(--ink); opacity: .08; }

/* Layer 2 — the building. Rises from "top peeking" to FILL the viewport, then
   fades as the wordmark takes over its silhouette (see .hero_composite). */
.hero_house { position: absolute; left: -3vw; right: -3vw; bottom: 0; height: 122vh; z-index: 1;
  transform: translateY(78vh);   /* starts low — only the roofline peeks; JS scrubs it up to fill */
  transform-origin: bottom center; will-change: transform, opacity; }
.hero_house img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }

/* Layer 3 — soft, light wispy clouds in the sky (subtle, not a heavy bank) */
.hero_clouds { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero_cloud { position: absolute; height: auto; will-change: transform; user-select: none;
  opacity: .5; filter: blur(2px); }
.hero_cloud--l { top: 15%; left: -22rem; width: 120rem; }
.hero_cloud--r { top: 27%; right: -22rem; width: 104rem; opacity: .42; }

/* Layer 4 — soft mist at the base (z-index above the house, keeps the lawn hidden) */
.hero_mist { position: absolute; left: 0; right: 0; bottom: 0; height: 58vh; z-index: 3;
  pointer-events: none; }
.hero_mist__c { position: absolute; bottom: 0; height: auto; opacity: .9; filter: blur(2px);
  will-change: transform; }
.hero_mist__c--1 { width: 128rem; left: -22rem; bottom: -6vh; }
.hero_mist__c--2 { width: 116rem; right: -20rem; bottom: -4vh; opacity: .85; }
/* extra corner puffs to bury the lawn/bush edges */
.hero_mist::before, .hero_mist::after { content: ""; position: absolute; bottom: -4vh; width: 60rem; height: 40vh;
  background: radial-gradient(ellipse at 50% 100%, rgba(255,252,248,.95) 0%, rgba(255,252,248,.6) 40%, rgba(255,252,248,0) 72%); filter: blur(6px); }
.hero_mist::before { left: -10rem; }
.hero_mist::after { right: -10rem; }
.hero_smoke { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(250,243,236,.5) 38%, rgba(255,251,246,.9) 66%, #fff 86%); }

/* Layer 5 — white fade into the next (white) section */
.hero_overlay { position: absolute; left: 0; right: 0; bottom: 0; height: 26vh; z-index: 4; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff); }

/* Layer 6 + 7 — the wordmark (outline + image-filled), both centered & stacked */
.hero_logo, .hero_composite {
  position: absolute; inset: 0; z-index: 5; display: grid; place-items: center;
  pointer-events: none; opacity: 0; will-change: opacity;
}
.wordmark { display: flex; flex-direction: column; align-items: center; line-height: .8; }
.wm-find { font-family: var(--font-primary); font-size: 28rem; font-weight: 700; letter-spacing: -0.05em; }
.wm-find .find-i { display: inline; transform: none; }
.wm-sub  { font-size: 5.4rem; font-weight: 600; letter-spacing: .12em; margin-top: 1rem; }
/* outline variant — hollow white letters */
.hero_logo .wordmark { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.9); }
/* filled variant — the SAME house image clipped to the letterforms, with a
   translucent dark layer over it so the (bright) photo reads as a dark
   building against the light sky (matches the reference's dark-in-letters). */
.hero_composite .wordmark {
  background-image: linear-gradient(rgba(21,23,23,.5), rgba(21,23,23,.5)), var(--fill-img);
  background-repeat: no-repeat, no-repeat;
  background-size: cover, 220% auto;
  background-position: center, center 42%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent; will-change: background-position;
}

/* Layer 8 — content: headline / subtext / CTA. Pushed above centre (building
   owns the lower viewport). Dark text — the visible hero bg is the LIGHT sky
   gradient, so dark reads correctly (matches the reference). */
.hero_content { position: absolute; inset: 0; z-index: 6; display: grid; place-items: start center;
  padding: 12vh var(--gutter) 0; text-align: center; will-change: opacity, transform; }
.hero_content .inner { max-width: none; }
.hero_title h1 { font-size: 12rem; line-height: 1; letter-spacing: -0.025em; font-weight: 700; color: var(--ink); white-space: nowrap; }
.hero_text { margin-top: 1.6rem; font-size: 2.6rem; font-weight: 500; line-height: 1.35; letter-spacing: -0.01em;
  color: var(--ink); text-wrap: balance; max-width: 74rem; margin-inline: auto; text-shadow: 0 0.2rem 3rem rgba(248,236,224,.7); }
.hero_text .em { color: rgba(21,23,23,.5); }
@media (max-width: 1100px) { .hero_title h1 { white-space: normal; font-size: 7.4rem; } }

@media (max-width: 767px) {
  .hero_root { height: 480vh; }
  .hero_house { height: 88vh; }
  .hero_cloud--l { top: 28%; left: -28rem; width: 56rem; height: 24rem; }
  .hero_cloud--r { top: 30%; right: -24rem; width: 46rem; height: 20rem; }
  .wm-find { font-size: 12rem; }
  .wm-sub { font-size: 2.6rem; }
  .hero_title h1 { font-size: 6.2rem; }
  .hero_text { font-size: 1.6rem; line-height: 1.5; }
  .hero_content { padding-bottom: 15rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero_root { height: 100vh; }
  .hero_top { position: relative; }
  .hero_house { opacity: 1 !important; transform: none !important; }
  .hero_content { opacity: 1 !important; transform: none !important; }
}

/* ============================================================================
   GENERIC TWO-COL HEADER BLOCKS
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr; gap: 4rem; }
@media (min-width: 1024px) {
  .split--25-70 { grid-template-columns: 28% 1fr; gap: 8rem; align-items: start; }
  .split--30-70 { grid-template-columns: 32% 1fr; gap: 8rem; align-items: start; }
  .split--50    { grid-template-columns: 1fr 1fr; gap: 8rem; align-items: center; }
}

.media-rounded { border-radius: 1.2rem; overflow: hidden; }
.media-rounded img { width: 100%; height: 100%; object-fit: cover; }

/* Chevron gallery */
.chevrons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin: 6rem 0; }
.chevron { aspect-ratio: 3/4.2; overflow: hidden; clip-path: polygon(0 0, 78% 0, 100% 50%, 78% 100%, 0 100%, 22% 50%); }
.chevron:first-child { clip-path: polygon(0 0, 78% 0, 100% 50%, 78% 100%, 0 100%); }
.chevron img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) { .chevrons { grid-template-columns: repeat(2, 1fr); } }
/* arrows "fly in" from the right, one after another */
.chevron.reveal { opacity: 0; transform: translateX(16rem) scale(.88); transition: opacity .7s var(--ease), transform .85s var(--ease); }
.chevron.reveal.in { opacity: 1; transform: none; }
.chevrons .chevron:nth-child(1) { transition-delay: 0s !important; }
.chevrons .chevron:nth-child(2) { transition-delay: .14s !important; }
.chevrons .chevron:nth-child(3) { transition-delay: .28s !important; }
.chevrons .chevron:nth-child(4) { transition-delay: .42s !important; }
@media (prefers-reduced-motion: reduce) { .chevron.reveal { transform: none; } }
/* mobile: fly the chevrons up (not sideways) so they don't cause horizontal scroll */
@media (max-width: 767px) { .chevron.reveal { transform: translateY(5rem) scale(.94); } }

/* Numbered steps */
.steps { display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: 6rem 1fr; gap: 2.4rem; padding: 3.2rem 0; border-top: 1px solid #e5e5e5; }
.step:last-child { border-bottom: 1px solid #e5e5e5; }
.step__num { font-size: 1.8rem; font-weight: 600; color: var(--muted); }
.step h3 { font-size: 2.8rem; font-weight: 600; margin-bottom: .8rem; }
.step p { color: var(--muted); font-size: 1.8rem; max-width: 46rem; }

/* ============================================================================
   TESTIMONIALS
   ========================================================================== */
.quote { font-family: var(--font-secondary); font-size: 3.2rem; line-height: 1.4; font-weight: 400; }
.quote__attr { text-transform: uppercase; letter-spacing: .18em; font-size: 1.4rem; font-weight: 600; margin-top: 3.2rem; }
.dots { display: flex; gap: 1.2rem; margin-top: 4rem; }
.dot { width: 3.6rem; height: 3.6rem; border-radius: 50%; border: 1px solid var(--line-2); color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; transition: all .3s var(--ease); }
.dot.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.tslide { display: none; }
.tslide.active { display: block; animation: slideIn .6s var(--ease); }
@keyframes slideIn { from { opacity: 0; transform: translateX(4rem); } to { opacity: 1; transform: none; } }

/* ============================================================================
   DARK SERVICES SECTION
   ========================================================================== */
.svc-row { display: grid; grid-template-columns: 6rem 1fr auto; gap: 4rem; align-items: center;
  padding: 5rem 0; border-top: 1px solid var(--line-dark); }
.svc-row:last-of-type { border-bottom: 1px solid var(--line-dark); }
.svc-row__txt { max-width: 62rem; }
.svc-row__txt h3 { font-size: 2.6rem; font-weight: 600; color: #fff; margin-bottom: 1rem; }
.svc-row p { font-size: 1.7rem; line-height: 1.55; color: #b8bdbd; }
.svc-row .word { font-size: 16rem; line-height: .8; font-weight: 300; text-align: right; letter-spacing: -0.02em; }
@media (max-width: 1023px) {
  .svc-row { grid-template-columns: 5rem 1fr; gap: 2.4rem; }
  .svc-row .word { grid-column: 1 / -1; font-size: 12rem; text-align: left; margin-top: 1rem; }
}

.faded-stack h3 { font-size: 9rem; font-weight: 300; line-height: 1; letter-spacing: -0.02em; }
.faded-stack h3:nth-child(1) { color: #3a3c3c; }
.faded-stack h3:nth-child(2) { color: #5a5c5c; }
@media (max-width:767px){ .faded-stack h3 { font-size: 5.2rem; } }

/* Service cards */
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.svc-card { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.svc-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc-card:hover img { transform: scale(1.05); }
.svc-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.55) 100%); }
.svc-card__name { position: absolute; top: 3rem; left: 3rem; right: 3rem; z-index: 2; font-size: 3.6rem; font-weight: 600; line-height: 1.1; color: #fff; }
.svc-card__cta { position: absolute; bottom: 3rem; left: 3rem; z-index: 2; }
@media (max-width: 767px) { .svc-cards { grid-template-columns: 1fr; } }

/* ============================================================================
   BLOG ROWS
   ========================================================================== */
.post { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center;
  padding: 6rem 0; border-top: 1px solid rgba(21,23,23,.12); }
.post:last-child { border-bottom: 1px solid rgba(21,23,23,.12); }
.post__date { font-size: 1.5rem; color: var(--muted); margin-bottom: 1.6rem; }
.post__title { font-size: 3.6rem; font-weight: 600; line-height: 1.12; margin-bottom: 1.6rem; }
.post__desc { font-size: 1.8rem; color: #4a4a4a; margin-bottom: 2.8rem; max-width: 50rem; }
.post__img { aspect-ratio: 16/10; border-radius: 1.2rem; overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover .post__img img { transform: scale(1.04); }
@media (max-width: 767px) { .post { grid-template-columns: 1fr; gap: 2.4rem; } }

/* ============================================================================
   FINAL CTA BANNER
   ========================================================================== */
.cta-banner { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center;
  background: center/cover no-repeat; color: #fff; }
.cta-banner::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.cta-banner__inner { position: relative; z-index: 2; padding: 0 var(--gutter); }
.cta-banner h2 { font-size: 9rem; font-weight: 300; line-height: 1.05; letter-spacing: -0.02em; }
.cta-banner .echo { color: inherit; }
.cta-banner .btn { margin-top: 4rem; }
@media (max-width:767px){ .cta-banner h2 { font-size: 5rem; } }

/* ============================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--ink); color: var(--white); padding: 11rem 0 4rem; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 8rem; }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: minmax(0, 78rem) minmax(0, 48rem); justify-content: space-between; } }
.footer__news h2 { font-size: 3.2rem; line-height: 1.1; font-weight: 600; margin-bottom: 3.2rem; }
.footer__sub { position: relative; max-width: 44rem; }
.footer__sub button { position: absolute; right: 0; bottom: 1.4rem; width: 3.6rem; height: 3.6rem; border-radius: 50%; background: var(--white); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.footer__contact { display: flex; flex-wrap: wrap; gap: 4rem; margin-top: 5rem; }
.footer__contact .lbl { font-size: 1.6rem; color: rgba(255,255,255,.4); margin-bottom: .8rem; }
.footer__contact .val { font-size: 2rem; max-width: 26rem; }
.footer__cols { display: flex; gap: 8rem; justify-content: flex-end; }
@media (max-width: 1023px){ .footer__cols { justify-content: flex-start; gap: 5rem; } }
.footer__nav { display: flex; flex-direction: column; gap: 1.2rem; }
.footer__nav-link { font-size: 2.6rem; font-weight: 500; position: relative; display: inline-block; overflow: hidden; }
.footer__nav-link span { display: inline-block; position: relative; transition: transform .9s var(--ease); }
.footer__nav-link span::after { content: attr(data-text); position: absolute; left: 0; top: 105%; }
@media (hover: hover) and (pointer: fine) { .footer__nav-link:hover span { transform: translateY(-105%); } }
.footer__social { display: flex; flex-direction: column; gap: 1.2rem; }
.footer__social a { font-size: 2rem; font-weight: 500; color: rgba(255,255,255,.7); transition: color .3s; }
.footer__social a:hover { color: var(--white); }
/* compact footer: big KIJEE word (left) + heading/email (to its right) */
.footer__main { display: flex; align-items: center; gap: 5rem; flex-wrap: wrap; }
.footer__logo { font-size: 17rem; line-height: .8; font-weight: 700; letter-spacing: -0.04em; }
.footer__logo .find-i { display: inline-block; transform: skewX(-12deg); }
.footer__right { flex: 1 1 30rem; }
.footer__heading { font-size: 3.4rem; line-height: 1.1; font-weight: 600; max-width: 44rem; }
.footer__email { margin-top: 2rem; }
.footer__email .lbl { font-size: 1.5rem; color: rgba(255,255,255,.4); margin-bottom: .6rem; }
.footer__email .val { font-size: 2.2rem; font-weight: 500; transition: opacity .2s; }
.footer__email .val:hover { opacity: .7; }
.footer__nav-row { display: flex; flex-wrap: wrap; gap: 1.4rem 4rem; margin-top: 6rem; padding-top: 4rem; border-top: 1px solid rgba(255,255,255,.15); }
.footer__copy { margin-top: 4rem; font-size: 1.5rem; color: rgba(255,255,255,.4); font-weight: 500; display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; }
.footer__login { margin-left: auto; display: inline-flex; align-items: center; gap: .7rem; color: rgba(255,255,255,.6); text-decoration: none; border: 1px solid rgba(255,255,255,.2); padding: .9rem 1.8rem; border-radius: 9999px; font-size: 1.45rem; transition: color .2s, border-color .2s, background .2s; }
.footer__login:hover { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.06); }
.footer__login svg { flex: none; }
@media (max-width:767px){ .footer__login { margin-left: 0; } }
@media (max-width:767px){ .footer__logo { font-size: 11rem; } .footer__heading { font-size: 2.8rem; } .footer__main { gap: 2rem; } }

/* ============================================================================
   SEARCH PAGE
   ========================================================================== */
.search-wrap { display: grid; grid-template-columns: 1fr; height: calc(100vh - 8rem); }
@media (min-width: 1024px) { .search-wrap { grid-template-columns: 1fr 1fr; } }
.search-map { position: relative; background: #dfe7df; min-height: 40rem; }
.search-map__inner { position: absolute; inset: 0; }
.search-marker { position: absolute; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--marker); border: 1px solid #fff; transform: translate(-50%,-50%); transition: background .25s, transform .25s; cursor: pointer; }
.search-marker:hover { background: #34c759; transform: translate(-50%,-50%) scale(1.25); }
.search-panel { display: flex; flex-direction: column; overflow: hidden; }
.search-filters { display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center; padding: 2.4rem var(--gutter); border-bottom: 1px solid var(--line); }
.pill { display: inline-flex; align-items: center; gap: .8rem; padding: 1rem 1.8rem; border: 1px solid var(--line-2); border-radius: 9999px; font-size: 1.5rem; font-weight: 500; transition: all .25s; }
.pill:hover { border-color: var(--ink); }
.pill svg { width: 1.2rem; height: 1.2rem; }
.toggle { display: inline-flex; border: 1px solid var(--line-2); border-radius: 9999px; overflow: hidden; }
.toggle button { padding: 1rem 2rem; font-size: 1.5rem; font-weight: 500; }
.toggle button.active { background: var(--ink); color: var(--white); }
.search-head { display: flex; align-items: baseline; justify-content: space-between; padding: 2.4rem var(--gutter) 1.6rem; }
.search-head .count { font-size: 2.6rem; font-weight: 600; }
.search-head .sort { font-size: 1.6rem; font-weight: 500; }
.search-head .sort b { color: var(--marker); font-weight: 600; }
.search-list { overflow-y: auto; padding: 0 var(--gutter) 6rem; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem 2.4rem; }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.pcard__img { aspect-ratio: 4/3; border-radius: 1.2rem; overflow: hidden; margin-bottom: 1.4rem; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__price { font-size: 2.4rem; font-weight: 700; }
.pcard__meta { font-size: 1.5rem; color: #4a4a4a; margin: .4rem 0; }
.pcard__addr { font-size: 1.5rem; color: var(--muted); }
.pcard__actions { display: flex; gap: 1rem; margin-top: 1.4rem; }
.pcard__actions button { width: 4rem; height: 4rem; border: 1px solid var(--line-2); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: all .25s; }
.pcard__actions button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.pcard__actions svg { width: 1.7rem; height: 1.7rem; }
.field-search { position: relative; flex: 1 1 22rem; }
.field-search input { width: 100%; padding: 1rem 1.8rem 1rem 4.4rem; border: 1px solid var(--line-2); border-radius: 9999px; font-size: 1.5rem; font-family: inherit; outline: none; }
.field-search svg { position: absolute; left: 1.8rem; top: 50%; transform: translateY(-50%); width: 1.6rem; height: 1.6rem; color: var(--muted); }

/* Editorial page hero (agents/about) */
.editorial { text-align: center; padding: 14rem 0 8rem; }
.editorial h1 { font-size: 11rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.editorial .sub { font-size: 2.6rem; margin-top: 2.4rem; }
.editorial__search { max-width: 90rem; margin: 6rem auto 0; position: relative; }
.editorial__search svg { position: absolute; right: 0; bottom: 1.8rem; width: 2.2rem; height: 2.2rem; }
.editorial__media { margin: 8rem 0 4rem; border-radius: 1.2rem; overflow: hidden; aspect-ratio: 16/8; }
.editorial__media img { width: 100%; height: 100%; object-fit: cover; }
.editorial__body { font-size: 2.6rem; color: var(--muted); max-width: 120rem; line-height: 1.45; }
.editorial__body b { color: var(--ink); font-weight: 600; }
@media (max-width:767px){ .editorial h1 { font-size: 6rem; } .editorial__body { font-size: 2rem; } }

/* agents grid */
.agent-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2.4rem; margin-top: 6rem; }
@media (max-width: 1023px){ .agent-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .agent-grid { grid-template-columns: 1fr; } }
.agent__img { aspect-ratio: 3/4; border-radius: 1.2rem; overflow: hidden; margin-bottom: 1.4rem; }
.agent__img img { width:100%; height:100%; object-fit: cover; transition: transform .6s var(--ease); }
.agent:hover .agent__img img { transform: scale(1.05); }
.agent__name { font-size: 2.2rem; font-weight: 600; }
.agent__role { font-size: 1.5rem; color: var(--muted); }

/* Utility */
.mt-1{margin-top:1rem}.mt-2{margin-top:2rem}.mt-3{margin-top:3rem}.mt-4{margin-top:4rem}.mt-6{margin-top:6rem}.mt-8{margin-top:8rem}
.mb-2{margin-bottom:2rem}.mb-4{margin-bottom:4rem}.mb-6{margin-bottom:6rem}
.flex{display:flex}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-2{gap:2rem}.gap-4{gap:4rem}
.text-center{text-align:center}.eyebrow-mb{margin-bottom:2rem}

/* ============================================================================
   MAPS (Leaflet) + BOOKING
   ========================================================================== */
.map-cards { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .map-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .map-cards { grid-template-columns: repeat(3, 1fr); } }
.map-card { background: #fff; border: 1px solid #e6e6e6; border-radius: 1.6rem; overflow: hidden; display: flex; flex-direction: column; }
.map-card__map { position: relative; height: 26rem; background: #eef1f3; }
.map-card__map > div { position: absolute; inset: 0; }
.map-card__body { padding: 2.2rem 2.4rem 2.6rem; display: flex; flex-direction: column; flex: 1; }
.map-card__body h3 { font-size: 2.2rem; font-weight: 600; margin-bottom: .8rem; }
.map-card__body p { font-size: 1.6rem; color: #4a4a4a; margin-bottom: 1.6rem; flex: 1; }
.map-card .btn { align-self: flex-start; }
.bg-dark .map-card { background: #1a1c1c; border-color: #2c2f2f; }
.bg-dark .map-card__body h3 { color: #fff; }
.bg-dark .map-card__body p { color: #b8bdbd; }
.zoning-hint { position: absolute; top: 1rem; left: 1rem; z-index: 500; background: rgba(255,255,255,.92);
  border: 1px solid #e6e6e6; border-radius: 9999px; padding: .5rem 1.2rem; font-size: 1.2rem; font-weight: 600;
  opacity: 0; transition: opacity .3s; pointer-events: none; }
.zoning-hint.show { opacity: 1; }
.legend { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-bottom: 1.6rem; }
.legend-chip { display: inline-flex; align-items: center; gap: .5rem; font-size: 1.25rem; color: #4a4a4a; }
.bg-dark .legend-chip { color: #b8bdbd; }
.legend-chip i { width: 1.3rem; height: 1.3rem; border-radius: .3rem; display: inline-block; }

/* Leaflet popups */
.leaflet-container { font-family: var(--font-primary); font-size: 1.4rem; }
.kj-pop-cat { font-weight: 700; font-size: 1.7rem; margin-bottom: .2rem; }
.kj-pop-sub { font-size: 1.3rem; color: #8a8f8f; margin-bottom: .6rem; }
.kj-pop-vibe { font-size: 1.25rem; line-height: 1.45; color: #555; margin-bottom: .9rem; }
.kj-pop-table { width: 100%; border-collapse: collapse; font-size: 1.35rem; }
.kj-pop-table td { padding: .35rem 0; border-bottom: 1px solid #ededed; color: #4a4a4a; }
.kj-pop-table td:last-child { text-align: right; font-weight: 600; color: var(--ink); }
.kj-pop-note { font-size: 1.2rem; color: #8a8f8f; margin-top: .8rem; font-style: italic; }
.kj-pop-sv { display: flex; align-items: center; justify-content: center; gap: .6rem; margin-top: 1rem;
  padding: .85rem 1.2rem; border-radius: 9999px; background: var(--ink); color: #fff;
  font-size: 1.3rem; font-weight: 600; text-decoration: none; transition: background .2s, transform .2s; }
.kj-pop-sv:hover { background: #2c2f2f; transform: translateY(-1px); }
.kj-pop-sv svg { flex: none; }

/* Fullscreen map modal */
.map-modal { position: fixed; inset: 0; z-index: 2000; background: rgba(21,23,23,.55); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 2.4rem; }
.map-modal.open { display: flex; }
.map-modal__inner { background: #fff; border-radius: 1.8rem; width: 100%; max-width: 120rem; height: 86vh;
  display: flex; flex-direction: column; overflow: hidden; }
.map-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 1.8rem 2.4rem; border-bottom: 1px solid #ededed; }
.map-modal__title { font-weight: 700; font-size: 1.9rem; }
.map-modal__close { background: none; border: none; font-size: 3rem; line-height: 1; color: #8a8f8f; cursor: pointer; }
.map-modal__close:hover { color: var(--ink); }
.map-modal__wrap { position: relative; flex: 1; }
#map-modal-map { position: absolute; inset: 0; }
.legend-modal { padding: 1.4rem 2.4rem; border-top: 1px solid #ededed; max-height: 30%; overflow: auto; }

/* Booking — calendar + form */
.booking-card { background: #fff; border: 1px solid #e6e6e6; border-radius: 1.8rem; padding: 3.2rem; }
@media (max-width: 600px){ .booking-card { padding: 2rem; } }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.6rem; }
.cal-nav { width: 4rem; height: 4rem; border: 1px solid #e6e6e6; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: all .2s; }
.cal-nav:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.cal-nav svg { width: 1.8rem; height: 1.8rem; }
.cal-month { font-weight: 700; font-size: 2rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .5rem; }
.cal-dow { text-align: center; font-size: 1.2rem; font-weight: 600; color: #8a8f8f; padding: .5rem 0; }
.cal-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: .9rem; font-size: 1.5rem; font-weight: 500; cursor: pointer; border: 1px solid transparent; transition: all .15s; }
.cal-day:hover:not(.disabled):not(.empty) { border-color: #cfcfcf; background: var(--section); }
.cal-day.selected { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 700; }
.cal-day.today { font-weight: 700; text-decoration: underline; }
.cal-day.disabled { opacity: .3; cursor: not-allowed; }
.cal-day.empty { cursor: default; }
.slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.slot-btn { padding: 1rem 1.4rem; border: 1px solid #e6e6e6; border-radius: .9rem; background: #fff; font-size: 1.5rem; font-weight: 500; cursor: pointer; transition: all .15s; font-family: inherit; }
.slot-btn:hover { border-color: var(--ink); background: var(--section); }
.slot-btn.selected { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 700; }
.form-label { display: block; font-size: 1.4rem; font-weight: 600; margin-bottom: .6rem; }
.form-input { width: 100%; background: #fff; border: 1px solid #e6e6e6; border-radius: 1rem; padding: 1.3rem 1.6rem; font-size: 1.6rem; font-family: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.form-input::placeholder { color: #a3a8a8; }
.form-input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(21,23,23,.1); }
select.form-input { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238a8f8f' stroke-width='2'><polyline points='4 6 8 10 12 6'/></svg>"); background-repeat: no-repeat; background-position: right 1.4rem center; }
.bk-steps { display: flex; align-items: center; margin-bottom: 3.2rem; }
.bk-step { display: flex; align-items: center; gap: .8rem; font-size: 1.3rem; font-weight: 600; color: #8a8f8f; }
.bk-step.active { color: var(--ink); }
.bk-step-num { width: 3.6rem; height: 3.6rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 700; border: 1px solid #e6e6e6; color: #8a8f8f; transition: all .3s; flex-shrink: 0; }
.bk-step.active .bk-step-num { background: var(--ink); border-color: var(--ink); color: #fff; }
.bk-step.done .bk-step-num { background: #e6efe6; border-color: #5a9a5a; color: #3c7a3c; }
.bk-connector { flex: 1; height: 1px; background: #e6e6e6; margin: 0 1rem; min-width: 2rem; }
.bk-grid2 { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 640px){ .bk-grid2 { grid-template-columns: 1fr 1fr; } }
.bk-summary { background: var(--section); border: 1px solid #e6e6e6; border-radius: 1.2rem; padding: 1.4rem 1.8rem; margin-bottom: 2rem; font-weight: 600; font-size: 1.6rem; }
.bk-confirm-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 640px){ .bk-confirm-grid { grid-template-columns: 1fr 1fr; } }
.bk-confirm-cell { background: var(--section); border-radius: 1.2rem; padding: 1.6rem 1.8rem; }
.bk-confirm-cell .lbl { font-size: 1.2rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #8a8f8f; margin-bottom: .4rem; }
.bk-confirm-cell .val { font-weight: 700; font-size: 1.7rem; }
.hidden { display: none !important; }

/* Agents-style page hero used by Our Work / Contact (reuse .editorial) */
.editorial--sm { padding: 12rem 0 4rem; }
.editorial--sm h1 { font-size: 8.5rem; }
@media (max-width:767px){ .editorial--sm h1 { font-size: 5rem; } }

/* Contact page: info sidebar next to the booking calendar */
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: start; }
.contact-layout > * { min-width: 0; }   /* let grid items shrink on phones (no overflow) */
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 36rem 1fr; gap: 4rem; } }
@media (max-width: 560px) {
  .bk-steps .desktop-step { display: none; }   /* compact step dots on small phones */
  .booking-card { padding: 1.8rem; }
  .slots { grid-template-columns: repeat(2, 1fr); }
}
.contact-info { background: var(--section); border: 1px solid #e6e6e6; border-radius: 1.8rem; padding: 3.2rem; }
.contact-info__row { padding: 1.6rem 0; border-top: 1px solid #e0e0e0; }
.contact-info__row .lbl { font-size: 1.25rem; text-transform: uppercase; letter-spacing: .07em; color: #8a8f8f; margin-bottom: .5rem; }
.contact-info__row a, .contact-info__row > div:last-child { font-size: 1.7rem; font-weight: 500; color: var(--ink); }
.contact-info__row a:hover { text-decoration: underline; }

/* ============================================================================
   AURORA BACKGROUND — vanilla-CSS port of the shadcn aurora-background component
   (animated repeating-linear-gradient streaks, blurred, masked to a glow)
   ========================================================================== */
/* aurora as a soft colored background at the top of the (light) page — no dark block */
body.aurora-page { position: relative; }
.aurora-page main, .aurora-page #nav-placeholder, .aurora-page #footer-placeholder { position: relative; z-index: 1; }
.aurora-bg { position: absolute; top: 0; left: 0; right: 0; height: 135vh; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora-bg::before, .aurora-bg::after {
  content: ""; position: absolute; inset: -10px;
  --transparent: transparent;
  --blue-500: #3b82f6; --indigo-300: #a5b4fc; --blue-300: #93c5fd; --violet-200: #ddd6fe; --blue-400: #60a5fa; --sky: #bae6fd;
  --tint-gradient: repeating-linear-gradient(100deg, var(--sky) 0%, var(--sky) 7%, var(--transparent) 10%, var(--transparent) 12%, var(--sky) 16%);
  --aurora: repeating-linear-gradient(100deg, var(--blue-500) 10%, var(--indigo-300) 15%, var(--blue-300) 20%, var(--violet-200) 25%, var(--blue-400) 30%);
  background-image: var(--tint-gradient), var(--aurora);
  background-size: 300% 200%;
  background-position: 50% 50%, 50% 50%;
  filter: blur(22px) saturate(1.25);
  opacity: .6;
  -webkit-mask-image: radial-gradient(ellipse 150% 95% at 55% -15%, #000 0%, #000 32%, transparent 72%);
  mask-image: radial-gradient(ellipse 150% 95% at 55% -15%, #000 0%, #000 32%, transparent 72%);
  will-change: transform;
}
.aurora-bg::after {
  background-size: 200% 100%;
  mix-blend-mode: multiply;
  animation: aurora 55s linear infinite;
}
@keyframes aurora {
  from { background-position: 50% 50%, 50% 50%; }
  to   { background-position: 350% 50%, 350% 50%; }
}
@media (prefers-reduced-motion: reduce) { .aurora-bg::after { animation: none; } }

/* FAQ accordion */
.faq { border-top: 1px solid #e6e6e6; }
.faq__item { border-bottom: 1px solid #e6e6e6; }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 3rem 0; font-size: 2.2rem; font-weight: 600; text-align: left; cursor: pointer; color: var(--ink);
  font-family: inherit; transition: color .2s; }
.faq__q:hover { color: #555; }
.faq__icon { position: relative; width: 2rem; height: 2rem; flex: 0 0 auto; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--ink); transition: transform .3s var(--ease); }
.faq__icon::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq__icon::after { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); }
.faq__item.open .faq__icon::after { transform: translateX(-50%) scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq__item.open .faq__a { max-height: 44rem; }
.faq__a p { font-size: 1.8rem; line-height: 1.6; color: #4a4a4a; padding-bottom: 3rem; max-width: 78rem; }

/* Our Work: small map centered in a collage of project photos */
.workmap { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 17rem; gap: 1.4rem; }
.workmap img { width: 100%; height: 100%; object-fit: cover; border-radius: 1.1rem; transition: opacity .3s var(--ease); }
.workmap img:hover { opacity: .88; }
.workmap__map { position: relative; grid-column: 2 / 4; grid-row: 1 / 3; border-radius: 1.4rem; overflow: hidden; background: #eef1f3; }
.workmap__map #map-projects { position: absolute; inset: 0; }
.workmap__expand { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); z-index: 500; background: rgba(255,255,255,.92); }
@media (max-width: 800px) {
  .workmap { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 14rem; }
  .workmap__map { grid-column: 1 / 3; grid-row: 1 / 3; }
}

/* ============================================================================
   COOL ANIMATIONS
   ========================================================================== */
/* gentle living drift on the hero base mist (composes with JS translateY on parent) */
.hero_mist__c--1 { animation: mistDriftL 28s ease-in-out infinite alternate; }
.hero_mist__c--2 { animation: mistDriftR 34s ease-in-out infinite alternate; }
@keyframes mistDriftL { from { transform: translateX(-2rem); } to { transform: translateX(5rem); } }
@keyframes mistDriftR { from { transform: translateX(2rem); } to { transform: translateX(-5rem); } }

/* slow ambient drift on the sky clouds */
.hero_cloud--l { animation: skyDriftL 40s ease-in-out infinite alternate; }
.hero_cloud--r { animation: skyDriftR 46s ease-in-out infinite alternate; }
@keyframes skyDriftL { from { transform: translate(0,0); } to { transform: translate(4rem, -1.5rem); } }
@keyframes skyDriftR { from { transform: translate(0,0); } to { transform: translate(-4rem, -1rem); } }

/* soft float-in for cards/media as they reveal (richer than the base fade) */
.reveal.in .media-rounded img, .reveal.in.media-rounded img { animation: kenburns 14s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .hero_mist__c--1, .hero_mist__c--2, .hero_cloud--l, .hero_cloud--r { animation: none; }
  .reveal.in .media-rounded img { animation: none; }
}

/* ===== Our Work — clickable cards + full-screen home gallery ===== */
.agent--clickable { cursor: pointer; }
.agent--clickable .agent__img { position: relative; }
.agent__view {
  position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .55rem;
  padding: .7rem 1.2rem; border-radius: 9999px; background: rgba(21,23,23,.82); color: #fff;
  font-size: 1.35rem; font-weight: 600; opacity: 0; transform: translateY(.6rem);
  transition: opacity .25s var(--ease), transform .25s var(--ease); pointer-events: none;
}
.agent__view svg { width: 16px; height: 16px; }
.agent--clickable:hover .agent__view,
.agent--clickable:focus-visible .agent__view { opacity: 1; transform: translateY(0); }
.agent--clickable:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--ink); border-radius: 1.4rem; }
.agent__img-empty {
  aspect-ratio: 3/4; border-radius: 1.2rem; display: grid; place-items: center; text-align: center;
  background: #ece9e3; color: var(--muted); font-weight: 600; font-size: 1.6rem; line-height: 1.3;
  border: 1px dashed var(--line-2);
}

/* full-screen gallery overlay */
.home-modal { position: fixed; inset: 0; z-index: 4000; background: #f4f3ef; display: none; flex-direction: column; }
.home-modal.open { display: flex; animation: homeFade .25s var(--ease); }
@keyframes homeFade { from { opacity: 0; } to { opacity: 1; } }
.home-modal__bar {
  flex: none; position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; padding: 1.8rem 3rem; border-bottom: 1px solid rgba(21,23,23,.1);
  background: rgba(244,243,239,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.home-modal__name { font-size: 2.6rem; font-weight: 700; letter-spacing: -.01em; color: var(--ink); line-height: 1.1; }
.home-modal__sub { font-size: 1.5rem; color: var(--muted); margin-top: .3rem; }
.home-modal__close {
  flex: none; width: 4.6rem; height: 4.6rem; border-radius: 9999px; border: 1px solid rgba(21,23,23,.18);
  background: #fff; font-size: 2.6rem; line-height: 1; color: var(--ink); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.home-modal__close:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.home-modal__body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 2.6rem 3rem 5rem; }
.home-modal__grid { columns: 3; column-gap: 1.6rem; max-width: 150rem; margin: 0 auto; }
.home-photo { break-inside: avoid; margin: 0 0 1.6rem; border-radius: 1.2rem; overflow: hidden; background: #e7e6e1; }
.home-photo img { width: 100%; display: block; }
.home-modal__loading, .home-modal__empty { text-align: center; color: var(--muted); padding: 6rem 2rem; font-size: 1.7rem; }
.home-modal__empty svg { color: #bcbcb6; margin-bottom: 1rem; }
.home-modal__empty p { margin-top: .4rem; }
@media (max-width: 1023px){
  .home-modal__grid { columns: 2; }
  .home-modal__bar { padding: 1.4rem 1.6rem; }
  .home-modal__body { padding: 1.6rem 1.6rem 3rem; }
  .home-modal__name { font-size: 2.1rem; }
}
@media (max-width: 600px){ .home-modal__grid { columns: 1; } }
@media (prefers-reduced-motion: reduce){ .home-modal.open { animation: none; } .agent__view { transition: none; } }
