/* =========================================================
   KB's Realties — design system
   Brand: deep green #003f24 · gold #cb9b48 · cream #ece1ca
   ========================================================= */

:root {
  --green: #003f24;
  --green-900: #00261a;
  --green-800: #01301d;
  --green-700: #0b4a2e;
  --gold: #cb9b48;
  --gold-300: #e2c48d;
  --gold-700: #8a6420; /* gold for small text on light backgrounds (AA) */
  --cream: #ece1ca;
  --paper: #f6f1e6;
  --paper-2: #efe6d3;
  --ink: #12261c;
  --ink-soft: #4b5c52;
  --line: rgba(18, 38, 28, 0.14);
  --line-light: rgba(236, 225, 202, 0.18);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-brand: "Fira Sans Extra Condensed", "Arial Narrow", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --header-h: 84px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; background: var(--paper); scrollbar-gutter: stable; }
/* The scrollbar's space is always reserved, so hiding it (splash, menu) never shifts the page.
   While an overlay covers the screen, the reserved strip takes the overlay's colour. */
html.motion:has(.loader) { background: var(--green); }
html.menu-open { background: var(--green-900); }
@media (prefers-reduced-motion: no-preference) {
  html:not(.lenis) { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(15px, 0.35vw + 14px, 17px);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.1; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--gold); color: var(--green-900); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.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 { position: fixed; top: 12px; left: 12px; z-index: 200; padding: 10px 16px; background: var(--gold); color: var(--green-900); border-radius: 8px; transform: translateY(-200%); transition: transform .3s var(--ease); }
.skip-link:focus { transform: none; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-700);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold); }

.sec-head { max-width: 860px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.9rem);
  font-weight: 350;
  letter-spacing: -0.02em;
  line-height: 1.06;
  font-variation-settings: "opsz" 144;
}
.sec-title em, .page-hero__title em, .hero__title em, .cta-band__title em { font-style: italic; color: var(--gold); font-weight: 300; }
.section--paper .sec-title em, .section--paper2 .sec-title em { color: var(--gold-700); }
.lead { margin-top: 22px; font-size: clamp(1rem, 0.5vw + 0.9rem, 1.15rem); color: var(--ink-soft); max-width: 640px; }
.sec-head--center .lead { margin-inline: auto; }
.section--dark .lead { color: rgba(236, 225, 202, 0.75); }

/* split text internals */
.split { display: inline; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.split .wi, .split .c { display: inline-block; will-change: transform; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--green); --fg: var(--cream); --bd: var(--green);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 26px; border-radius: 999px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-size: 0.92rem; font-weight: 500; letter-spacing: 0.01em; text-decoration: none;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--gold); transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover, .btn:focus-visible { color: var(--green-900); border-color: var(--gold); }
.btn .icon { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--gold { --bg: var(--gold); --fg: var(--green-900); --bd: var(--gold); }
.btn--gold::before { background: var(--cream); }
.btn--gold:hover { border-color: var(--cream); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line); }
.btn--ghost-light { --bg: transparent; --fg: var(--cream); --bd: rgba(236, 225, 202, 0.4); }
.btn--sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; text-decoration: none; color: var(--gold-700); }
.link-arrow .icon { width: 18px; transition: transform .4s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.section--dark .link-arrow { color: var(--gold); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 90;
  color: var(--cream);
  transition: transform .6s var(--ease), background-color .5s var(--ease), box-shadow .5s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(0, 38, 26, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; transition: opacity .5s var(--ease);
}
.site-header.is-solid::before { opacity: 1; }
.site-header.is-solid { box-shadow: 0 1px 0 var(--line-light); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__bar { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 58px; width: auto; }
.nav ul { display: flex; gap: clamp(18px, 2.4vw, 38px); }
.nav a { position: relative; text-decoration: none; font-size: 0.9rem; font-weight: 400; letter-spacing: 0.02em; opacity: 0.88; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover, .nav a[aria-current] { opacity: 1; }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.site-header__actions { display: flex; align-items: center; gap: 18px; }
.menu-btn { display: inline-flex; align-items: center; gap: 12px; padding: 10px 4px; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; }
.menu-btn__lines { display: grid; gap: 6px; width: 28px; }
.menu-btn__lines i { display: block; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.menu-btn__lines i:last-child { width: 70%; margin-left: auto; }
.menu-btn[aria-expanded="true"] .menu-btn__lines i:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__lines i:last-child { width: 100%; transform: translateY(-3.75px) rotate(-45deg); }

@media (max-width: 1080px) { .nav { display: none; } }
@media (max-width: 560px) {
  :root { --header-h: 70px; }
  .brand img { height: 44px; }
  .header-cta { display: none; }
}

/* ---------- full-screen menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 80;
  background: var(--green-900); color: var(--cream);
  visibility: hidden; overflow-y: auto;
  background-image: radial-gradient(circle at 85% 15%, rgba(203, 155, 72, 0.14), transparent 45%);
}
.menu.is-open { visibility: visible; }
.menu__inner { min-height: 100%; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; padding-top: calc(var(--header-h) + 40px); padding-bottom: 56px; }
.menu__nav li { border-bottom: 1px solid var(--line-light); }
.menu__mask { display: block; overflow: hidden; }
.menu__link {
  display: flex; align-items: baseline; gap: 18px; padding: 10px 0;
  font-family: var(--font-display); font-weight: 300; font-size: clamp(2.2rem, 6vw, 4.6rem); line-height: 1.1;
  text-decoration: none; transition: color .4s var(--ease), transform .5s var(--ease);
}
.menu__link small { font-family: var(--font-body); font-size: 0.8rem; color: var(--gold); letter-spacing: 0.1em; }
.menu__link:hover, .menu__link[aria-current] { color: var(--gold); }
.menu__link:hover { transform: translateX(10px); }
.menu__aside { font-size: 0.95rem; color: rgba(236, 225, 202, 0.8); }
.menu__label { margin: 28px 0 10px; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.menu__services li { padding: 4px 0; }
.menu__aside a { text-decoration: none; }
.menu__aside a:hover { color: var(--gold); }
@media (max-width: 800px) { .menu__inner { grid-template-columns: 1fr; align-items: start; gap: 8px; } }

/* ---------- loader ---------- */
.loader { display: none; }
.motion [data-split] { visibility: hidden; }
.motion [data-hero-fade], .motion [data-reveal] { opacity: 0; }
.motion .img-reveal { clip-path: inset(100% 0% 0% 0%); }

.motion .loader {
  position: fixed; inset: 0; z-index: 150; display: grid; place-items: center;
  background: var(--green); color: var(--cream);
}
.loader__inner { display: grid; justify-items: center; gap: 6px; text-align: center; }
.loader__mark { width: 74px; height: auto; margin-bottom: 14px; }
.loader__word { margin: 0; font-family: var(--font-brand); font-weight: 600; font-size: clamp(2.6rem, 7vw, 4.4rem); line-height: 1; color: var(--cream); }
.loader__tag { margin: 6px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.42em; text-transform: uppercase; }

/* ---------- home hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  color: var(--cream); background: var(--green-900); overflow: hidden; isolation: isolate;
}
.hero__layer { position: absolute; inset: 0; z-index: -3; }
.hero__bg { inset: -12% 0 -12%; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(0, 38, 26, 0.55) 0%, rgba(0, 38, 26, 0.25) 35%, rgba(0, 38, 26, 0.9) 100%),
    linear-gradient(90deg, rgba(0, 38, 26, 0.75), transparent 70%);
}
.hero__towers { z-index: -1; inset: auto -2% 0 auto; width: min(46vw, 640px); height: 92%; opacity: 0.9; }
.hero__towers svg { width: 100%; height: 100%; }
.hero__swoosh { z-index: -1; inset: auto 0 -2px 0; height: 32%; }
.hero__swoosh svg { width: 100%; height: 100%; }
.hero__inner { padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(48px, 9vh, 110px); }
.hero__title {
  max-width: 13.5em;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.6rem, 6.6vw, 6.4rem); line-height: 1.02; letter-spacing: -0.025em;
  font-variation-settings: "opsz" 144;
}
.hero__lead { max-width: 560px; margin: 28px 0 36px; font-size: clamp(1rem, 0.5vw + 0.9rem, 1.15rem); color: rgba(236, 225, 202, 0.85); }
.hero__meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px; margin-top: clamp(40px, 7vh, 80px); padding-top: 22px; border-top: 1px solid var(--line-light); font-size: 0.85rem; color: rgba(236, 225, 202, 0.75); }
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hero__tags li { display: inline-flex; align-items: center; gap: 10px; }
.hero__tags li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.72rem; }
.scroll-cue span { position: relative; width: 1px; height: 44px; background: var(--line-light); overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; inset: 0; background: var(--gold); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (max-width: 900px) {
  .hero__towers { width: 70vw; opacity: 0.35; }
}

/* ---------- interior page hero ---------- */
.page-hero {
  position: relative; min-height: min(78svh, 760px); display: grid; align-items: end;
  color: var(--cream); background: var(--green-900); overflow: hidden; isolation: isolate;
}
.page-hero__media { position: absolute; inset: -12% 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 38, 26, 0.6), rgba(0, 38, 26, 0.35) 40%, rgba(0, 38, 26, 0.92)); }
.page-hero__inner { padding-top: calc(var(--header-h) + 80px); padding-bottom: clamp(48px, 8vh, 96px); }
.page-hero__title { max-width: 16em; font-family: var(--font-display); font-weight: 300; font-size: clamp(2.4rem, 5.6vw, 5.2rem); line-height: 1.04; letter-spacing: -0.02em; font-variation-settings: "opsz" 144; }
.page-hero__lead { max-width: 620px; margin-top: 24px; font-size: clamp(1rem, 0.5vw + 0.9rem, 1.15rem); color: rgba(236, 225, 202, 0.85); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 26px; font-size: 0.8rem; color: rgba(236, 225, 202, 0.7); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--gold); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

/* ---------- sections ---------- */
.section { padding-block: clamp(80px, 11vw, 160px); }
.section--tight { padding-block: clamp(64px, 8vw, 110px); }
.section--paper2 { background: var(--paper-2); }
.section--dark { background: var(--green); color: var(--cream); }
.section--dark .eyebrow { color: var(--gold); }
.section--deep { background: var(--green-900); color: var(--cream); }
.section--deep .eyebrow { color: var(--gold); }

/* intro / statement */
.statement { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.statement__text p { color: var(--ink-soft); }
.statement__big { font-family: var(--font-display); font-weight: 350; font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.3; color: var(--ink) !important; letter-spacing: -0.01em; margin-bottom: 1.2em; }
.statement__media { position: relative; }
.statement__badge {
  position: absolute; left: -28px; bottom: 36px; max-width: 250px;
  padding: 22px 24px; border-radius: var(--radius); background: var(--green); color: var(--cream);
  font-family: var(--font-display); font-size: 1.05rem; line-height: 1.4; box-shadow: 0 30px 60px -30px rgba(0, 38, 26, 0.6);
}
.statement__badge span { display: block; margin-top: 8px; font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 900px) {
  .statement { grid-template-columns: 1fr; }
  .statement__badge { left: 16px; bottom: 16px; }
}

/* image reveal frame */
.img-reveal { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.img-reveal img { width: 100%; height: 100%; object-fit: cover; }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-169 { aspect-ratio: 16 / 9; }
.ratio-32 { aspect-ratio: 3 / 2; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); }
.stat { padding: 34px 28px 8px 0; border-right: 1px solid var(--line-light); }
.stat + .stat { padding-left: 28px; }
.stat:last-child { border-right: 0; }
.stat__num { display: flex; align-items: baseline; margin: 0; font-family: var(--font-display); font-weight: 300; font-size: clamp(3rem, 6vw, 5.4rem); line-height: 1; color: var(--gold); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat__num sup { align-self: flex-start; margin: 0.12em 0 0 0.06em; font-size: 0.4em; line-height: 1; }
.stat__label { margin-top: 16px; font-size: 0.92rem; color: rgba(236, 225, 202, 0.78); }
@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 16px 24px 0; }
  .stat + .stat { padding-left: 0; }
  .stat:nth-child(2n) { padding-left: 20px; border-right: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line-light); }
}

/* ---------- showcase (pinned horizontal on desktop) ---------- */
.showcase { background: var(--green-900); color: var(--cream); overflow: hidden; padding-block: clamp(80px, 10vw, 140px); }
.showcase__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.showcase__intro, .showcase__track { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.showcase__track { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.showcase.is-pinned { height: 100vh; padding-block: 0; display: flex; align-items: center; }
.showcase.is-pinned .showcase__layout { display: flex; align-items: center; gap: 0; width: max-content; padding-left: var(--gutter); will-change: transform; }
.showcase.is-pinned .showcase__intro { width: min(36vw, 480px); max-width: none; flex: none; margin: 0; padding: 0 64px 0 0; }
.showcase.is-pinned .showcase__track { display: flex; gap: 24px; width: auto; max-width: none; margin: 0; padding: 0 var(--gutter) 0 0; }
.showcase.is-pinned .scard { width: clamp(320px, 27vw, 400px); flex: none; }
.showcase.is-pinned .scard__media { aspect-ratio: auto; height: clamp(150px, 30vh, 300px); }
.showcase.is-pinned .scard__body { padding-block: 20px 22px; }
.showcase__progress { display: none; }
.showcase.is-pinned .showcase__progress { display: block; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 40px; height: 1px; background: var(--line-light); }
.showcase__progress i { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }

.scard { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--green-800); border: 1px solid var(--line-light); text-decoration: none; color: inherit; transition: border-color .5s var(--ease); }
.scard:hover { border-color: rgba(203, 155, 72, 0.6); }
.scard__media { aspect-ratio: 4 / 3; overflow: hidden; }
.scard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.scard:hover .scard__media img { transform: scale(1.06); }
.scard__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 26px 26px 28px; }
.scard__top { display: flex; justify-content: space-between; align-items: center; }
.scard__num { font-size: 0.78rem; letter-spacing: 0.18em; color: var(--gold); }
.scard__icon { width: 44px; height: 44px; padding: 10px; border-radius: 50%; border: 1px solid rgba(203, 155, 72, 0.5); color: var(--gold); }
.scard h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.65rem; }
.scard p { font-size: 0.93rem; color: rgba(236, 225, 202, 0.75); }
.scard .link-arrow { margin-top: auto; color: var(--gold); }

/* ---------- reasons / why ---------- */
.why { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.why__sticky { position: sticky; top: calc(var(--header-h) + 30px); }
.why__list li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.why__list li:first-child { border-top: 1px solid var(--line); }
.why__list .icon { width: 34px; height: 34px; color: var(--gold-700); }
.why__list h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 400; margin-bottom: 4px; }
.why__list p { color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } .why__sticky { position: static; } }

/* ---------- areas ---------- */
.areas-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; max-width: 1100px; margin-inline: auto; text-align: center; }
.areas-cloud li { display: inline-flex; align-items: center; font-family: var(--font-display); font-weight: 300; font-size: clamp(1.7rem, 4vw, 3.4rem); line-height: 1.25; }
.areas-cloud li:not(:last-child)::after { content: ""; width: 9px; height: 9px; margin: 0 clamp(14px, 2vw, 28px); border-radius: 50%; background: var(--gold); }
.areas-cloud a { text-decoration: none; transition: color .4s var(--ease); }
.areas-cloud a:hover { color: var(--gold); }
.areas-cloud__more { margin-top: 40px; text-align: center; }
.skyline { margin-top: 64px; color: var(--gold); opacity: 0.3; }
.skyline svg { width: 100%; height: auto; }

.area-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); }
.area-card { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.area-card .img-reveal { border-radius: 0; }
.area-card__body { padding: 28px 30px 32px; }
.area-card h2, .area-card h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 400; margin-bottom: 12px; }
.area-card p { color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 0.78rem; letter-spacing: 0.04em; }
@media (max-width: 800px) { .area-grid { grid-template-columns: 1fr; } }

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.process li { position: relative; padding: 34px 26px 10px 0; border-top: 1px solid var(--line); }
.process li::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 18px; font-family: var(--font-display); font-size: 2.4rem; font-weight: 300; color: var(--gold-700); line-height: 1; }
.process li::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.process h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; margin-bottom: 8px; }
.process p { font-size: 0.93rem; color: var(--ink-soft); }
.section--dark .process li { border-color: var(--line-light); }
.section--dark .process li::before { color: var(--gold); }
.section--dark .process p { color: rgba(236, 225, 202, 0.72); }
@media (max-width: 1000px) { .process { grid-template-columns: 1fr 1fr; gap: 0 28px; } }
@media (max-width: 600px) { .process { grid-template-columns: 1fr; } }

/* ---------- facts (GEO-friendly summary) ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.facts div { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 6px; }
.facts dd { margin: 0; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.4; overflow-wrap: anywhere; }
.facts--2 { grid-template-columns: 1fr 1fr; }
.facts a { text-decoration: none; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .facts, .facts--2 { grid-template-columns: 1fr; } }

/* ---------- services overview ---------- */
.svc-list { display: grid; gap: clamp(64px, 9vw, 130px); }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; scroll-margin-top: calc(var(--header-h) + 30px); }
.svc-row:nth-child(even) .svc-row__media { order: 2; }
.svc-row__num { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 0.95rem; color: var(--gold-700); letter-spacing: 0.14em; margin-bottom: 14px; }
.svc-row__num .icon { width: 22px; height: 22px; }
.svc-row h2 { font-family: var(--font-display); font-weight: 350; font-size: clamp(2rem, 3.6vw, 3.1rem); letter-spacing: -0.015em; margin-bottom: 18px; }
.svc-row p { color: var(--ink-soft); }
.svc-row .chips { margin: 22px 0 30px; }
@media (max-width: 900px) { .svc-row { grid-template-columns: 1fr; } .svc-row:nth-child(even) .svc-row__media { order: 0; } }

/* ---------- service detail ---------- */
.answer {
  display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
}
.answer__label { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-700); }
.answer h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 400; margin-bottom: 14px; }
.answer p { color: var(--ink-soft); font-size: 1.02rem; }
@media (max-width: 760px) { .answer { grid-template-columns: 1fr; gap: 12px; } }

.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.split-2 > *, .statement > *, .why > *, .contact > *, .founder > * { min-width: 0; }
@media (max-width: 900px) { .split-2 { grid-template-columns: 1fr; } }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 32px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.card .icon { width: 40px; height: 40px; color: var(--gold-700); margin-bottom: 22px; }
.card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.94rem; }
.section--dark .card { background: var(--green-800); border-color: var(--line-light); }
.section--dark .card .icon { color: var(--gold); }
.section--dark .card p { color: rgba(236, 225, 202, 0.72); }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }

.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.checklist .icon { width: 24px; height: 24px; color: var(--gold-700); margin-top: 3px; }
.checklist strong { font-weight: 500; }
.section--dark .checklist li { border-color: var(--line-light); }
.section--dark .checklist .icon { color: var(--gold); }

.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.related a { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; background: #fff; transition: border-color .4s var(--ease), transform .5s var(--ease); }
.related a:hover { border-color: var(--gold); transform: translateY(-4px); }
.related .icon { width: 30px; height: 30px; color: var(--gold-700); }
.related strong { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; }
@media (max-width: 900px) { .related { grid-template-columns: 1fr 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.35; }
.faq__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); transition: transform .5s var(--ease), background-color .4s; }
.faq__icon .icon { width: 18px; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--gold); border-color: var(--gold); }
.faq__a { padding: 0 64px 28px 0; color: var(--ink-soft); }

/* ---------- about ---------- */
.founder { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.founder__card { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--green); display: grid; place-items: center; overflow: hidden; }
.founder__card img { width: 46%; }
.founder__card::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(203, 155, 72, 0.4); border-radius: calc(var(--radius) - 6px); }
.founder__name { font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 350; }
.founder__role { margin: 6px 0 22px; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.75rem; color: var(--gold-700); }
.founder p { color: var(--ink-soft); }
.vision-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.vision-grid .card { padding: clamp(32px, 4vw, 52px); }
.vision-grid .card h2 { font-family: var(--font-display); font-weight: 350; font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: 16px; }
@media (max-width: 900px) { .founder, .vision-grid { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__list li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact__list li:first-child { border-top: 1px solid var(--line); }
.contact__list .ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: var(--gold); }
.contact__list .ic .icon { width: 22px; }
.contact__list small { display: block; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-700); }
.contact__list a, .contact__list span { font-family: var(--font-display); font-size: 1.25rem; text-decoration: none; overflow-wrap: anywhere; }
.form { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: var(--green); color: var(--cream); }
.form h2 { font-family: var(--font-display); font-weight: 350; font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin-bottom: 8px; }
.form > p { color: rgba(236, 225, 202, 0.75); margin-bottom: 28px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__grid .full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; font-size: 0.78rem; letter-spacing: 0.08em; color: rgba(236, 225, 202, 0.8); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(236, 225, 202, 0.22);
  background: rgba(0, 38, 26, 0.45); color: var(--cream); font: inherit; font-size: 0.95rem;
  transition: border-color .3s;
}
.field select option { color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.form__note { margin-top: 16px; font-size: 0.8rem; color: rgba(236, 225, 202, 0.6); }
.form__error { display: none; margin-top: 14px; color: var(--gold-300); font-size: 0.9rem; }
.form__error.is-visible { display: block; }
.map { margin-top: 40px; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.4) contrast(1.05); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } }

/* ---------- quote ---------- */
.quote { max-width: 1040px; margin-inline: auto; text-align: center; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: clamp(1.8rem, 4vw, 3.4rem); line-height: 1.2; letter-spacing: -0.015em; }
.quote cite { display: block; margin-top: 28px; font-style: normal; font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.quote__mark { display: block; margin: 0 auto 18px; font-family: var(--font-display); font-size: 5rem; line-height: 0.6; color: var(--gold); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--green); color: var(--cream); padding-block: clamp(72px, 9vw, 130px); overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: auto -10% -60% 30%; height: 120%; z-index: -1; background: radial-gradient(closest-side, rgba(203, 155, 72, 0.22), transparent); }
.cta-band__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.cta-band__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1.04; letter-spacing: -0.02em; }
.cta-band__text { margin-top: 22px; max-width: 540px; color: rgba(236, 225, 202, 0.78); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 900px) { .cta-band__inner { grid-template-columns: 1fr; } .cta-band__actions { justify-content: flex-start; } }

/* ---------- footer ---------- */
.site-footer { background: var(--green-900); color: rgba(236, 225, 202, 0.82); padding-top: clamp(72px, 9vw, 120px); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.4fr; gap: 40px; padding-bottom: 56px; }
.footer__brand img { width: 150px; margin-bottom: 20px; }
.footer__brand p { max-width: 300px; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.45; color: var(--cream); }
.footer__col h2 { margin-bottom: 18px; font-family: var(--font-body); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.footer__col li { padding: 4px 0; }
.footer__col a { text-decoration: none; transition: color .3s; }
.footer__col a:hover { color: var(--gold); }
.footer__col address p { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.footer__col address .icon { flex: none; width: 18px; margin-top: 4px; color: var(--gold); }
.footer__word { margin: 0; padding-top: 10px; border-top: 1px solid var(--line-light); font-family: var(--font-brand); font-weight: 600; font-size: clamp(4rem, 17.5vw, 17rem); line-height: 1; letter-spacing: -0.01em; color: var(--cream); white-space: nowrap; text-align: center; }
.footer__word .split .w { padding-bottom: 0.04em; margin-bottom: -0.04em; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 26px 0 32px; border-top: 1px solid var(--line-light); font-size: 0.8rem; color: rgba(236, 225, 202, 0.55); }
@media (max-width: 1000px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- floating WhatsApp ---------- */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--gold); color: var(--green-900); box-shadow: 0 16px 40px -12px rgba(0, 38, 26, 0.55);
  transition: transform .5s var(--ease);
}
.wa-fab .icon { width: 28px; height: 28px; }
.wa-fab:hover { transform: scale(1.08); }
.js .wa-fab { opacity: 0; transform: translateY(16px) scale(0.9); pointer-events: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js.show-fab .wa-fab { opacity: 1; transform: none; pointer-events: auto; }
.js.show-fab .wa-fab:hover { transform: scale(1.08); }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--green); color: var(--cream); padding: calc(var(--header-h) + 40px) var(--gutter) 60px; }
.notfound h1 { font-family: var(--font-display); font-weight: 300; font-size: clamp(5rem, 18vw, 12rem); line-height: 1; color: var(--gold); }
.notfound p { margin: 18px auto 34px; max-width: 460px; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
