/* The Valleys of Thornhill: public site styles.
   Mobile first. Breakpoints: tablet 600, desktop 1024, large 1680 (docs/03-design-tokens.md).
   Hover effects only inside (hover: hover); motion reduced under prefers-reduced-motion. */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-var.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-italic-var.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
/* Metric-matched fallbacks keep layout shift low while the web fonts load. */
@font-face { font-family: "Fraunces Fallback"; src: local("Georgia"); size-adjust: 104%; ascent-override: 94%; descent-override: 24%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"); size-adjust: 107%; ascent-override: 90%; descent-override: 22%; line-gap-override: 0%; }

/* ---------- Tokens ---------- */
:root {
  --forest: #1E3A2F; --forest-hover: #234436; --forest-press: #16291F;
  --deep: #11241C; --deeper: #0F2119;
  --brass: #B08D57; --brass-hover: #9C7A47; --brass-press: #86683A; --brass-light: #D9C29A;
  /* WCAG AA versions of brass: small text on light backgrounds, and behind white button text. */
  --brass-text: #80612F; --brass-btn: #8F6F3E; --brass-btn-hover: #7F6234; --brass-btn-press: #6F552D;
  --cream: #F6F2EA; --sand: #EEE7DA; --panel: #F1ECE2; --white: #fff;
  --ink: #1B1F1D; --muted: #5E665F; --line: #DCD4C4; --line-soft: #E6DFD2;
  --error: #B3261E; --error-bg: #FDF4F3; --success: #2E7D4F; --whatsapp: #1A804C; --whatsapp-hover: #166B40;
  --input-bg: #FBF9F5; --tint: #EEF3EF; --check-bg: #F1E8D8; --req-bg: #F3EBDD;
  --backdrop: rgba(12, 29, 22, .62);
  --on-dark: #F6F2EA; --on-dark-2: rgba(246, 242, 234, .82); --on-dark-3: rgba(246, 242, 234, .62);

  --font-display: "Fraunces", "Fraunces Fallback", Georgia, serif;
  --font-ui: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;

  --pad-x: 24px; --sec-y: 48px;
  --h1: 52px; --h2: 36px; --cta-title: 46px; --form-title: 26px; --card-title: 19px; --benefit-title: 18px;
  --big-num: 32px; --benefit-num: 22px; --faq-q: 18px; --sub: 16px; --body: 13px; --long: 15px; --input: 16px;
  --form-w: 100%;
  --nav-h: 60px; --announce-h: 34px; --logo-h: 40px;

  --dur-instant: 100ms; --dur-fast: 150ms; --dur-base: 250ms; --dur-slow: 400ms; --dur-reveal: 600ms; --dur-hero: 1.8s;
  --ease-standard: cubic-bezier(.2, .8, .2, 1); --ease-emphasis: cubic-bezier(.16, 1, .3, 1);
  --ease-exit: cubic-bezier(.4, 0, 1, 1); --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --move-sm: 8px; --move-md: 24px; --move-lg: 40px; --stagger: 80ms;

  --shadow-form: 0 16px 40px rgba(0, 0, 0, .16);
  --shadow-card: 0 18px 40px rgba(18, 36, 28, .10);
  --shadow-map: 0 10px 30px rgba(0, 0, 0, .16);
  --shadow-hover: 0 24px 48px rgba(17, 36, 28, .16);
  --ring: 0 0 0 4px rgba(30, 58, 47, .35);
  --ring-dark: 0 0 0 4px rgba(217, 194, 154, .55);
}
@media (min-width: 600px) {
  :root { --pad-x: 40px; --sec-y: 88px; --h1: 72px; --h2: 44px; --form-title: 30px; --card-title: 28px; --benefit-title: 24px;
    --big-num: 44px; --benefit-num: 28px; --faq-q: 22px; --sub: 18px; --body: 15px; --long: 17px; --input: 15px;
    --nav-h: 88px; --announce-h: 38px; --logo-h: 46px; --shadow-form: 0 24px 60px rgba(0, 0, 0, .28); }
}
@media (min-width: 1024px) {
  :root { --pad-x: 80px; --sec-y: 112px; --h1: clamp(64px, 5.84vw, 84px); --h2: clamp(44px, 3.62vw, 52px); --cta-title: clamp(50px, 4.17vw, 60px); --form-w: clamp(420px, 33.6vw, 484px); }
}
@media (min-width: 1680px) {
  :root { --sec-y: 144px; --h1: 112px; --h2: 64px; --cta-title: 76px; --form-title: 34px; --big-num: 56px; --faq-q: 26px; --sub: 20px; --form-w: 540px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-ui); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, picture, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
[hidden] { display: none !important; }
:focus { outline: none; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
.on-dark :focus-visible, .site-top :focus-visible, .hero :focus-visible, .vip :focus-visible, .final-cta :focus-visible, .site-footer :focus-visible, .mobile-menu :focus-visible, .sys :focus-visible { box-shadow: var(--ring-dark); }
.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; left: 12px; top: -60px; z-index: 200; background: var(--forest); color: #fff; padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip-link:focus-visible { top: 12px; }

.container { width: 100%; max-width: calc(1440px + 2 * var(--pad-x)); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: var(--sec-y); }
/* Responsive visibility: each helper only hides, so elements keep their own display value. */
@media (min-width: 600px) { .m-only { display: none !important; } }
@media (max-width: 599.98px) { .d-only { display: none !important; } }

/* ---------- Type ---------- */
.eyebrow { font-family: var(--font-ui); font-weight: 700; font-size: 11px; line-height: 1.4; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-text); }
@media (min-width: 600px) { .eyebrow { font-size: 12px; letter-spacing: .2em; } }
.on-dark .eyebrow, .eyebrow.light { color: var(--brass-light); }
.h1 { font-family: var(--font-display); font-weight: 300; font-size: var(--h1); line-height: .98; letter-spacing: -.02em; }
.h1 em { font-style: italic; font-weight: 400; color: var(--brass-light); letter-spacing: -.03em; padding-right: .04em; }
.h2 { font-family: var(--font-display); font-weight: 300; font-size: var(--h2); line-height: 1.1; letter-spacing: -.015em; color: var(--ink); }
.on-dark .h2 { color: var(--on-dark); }
.lead-text { font-size: var(--long); line-height: 1.6; color: var(--muted); }
.on-dark .lead-text { color: var(--on-dark-2); }
.sec-head { display: grid; gap: 12px; }
.sec-head .lead-text { margin-top: 4px; }
.sec-head.center { text-align: center; justify-items: center; }
.sec-head.center .lead-text { max-width: 660px; }
@media (min-width: 600px) { .sec-head { gap: 16px; } }

/* ---------- Icons ---------- */
.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon-trail { width: 1.1em; height: 1.1em; transition: transform 200ms var(--ease-standard); }
.icon-lead { width: 1.1em; height: 1.1em; }

/* ---------- Buttons ---------- */
.btn { --b-bg: var(--forest); --b-bg-h: var(--forest-hover); --b-bg-p: var(--forest-press); --b-fg: #fff; --b-bd: transparent; --b-sh: rgba(30, 58, 47, .35);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px;
  border: 1px solid var(--b-bd); border-radius: 12px; background: var(--b-bg); color: var(--b-fg);
  font-family: var(--font-ui); font-weight: 600; font-size: 16px; line-height: 1.2; text-align: center; white-space: nowrap;
  transition: background-color 200ms var(--ease-standard), border-color 200ms var(--ease-standard), color 200ms var(--ease-standard), box-shadow 200ms var(--ease-standard), transform 200ms var(--ease-standard);
  -webkit-tap-highlight-color: transparent; position: relative; }
.btn-brass { --b-bg: var(--brass-btn); --b-bg-h: var(--brass-btn-hover); --b-bg-p: var(--brass-btn-press); --b-sh: rgba(143, 111, 62, .35); }
.btn-outline-light { --b-bg: transparent; --b-bg-h: rgba(246, 242, 234, .1); --b-bg-p: rgba(246, 242, 234, .16); --b-fg: var(--on-dark); --b-bd: rgba(246, 242, 234, .38); --b-sh: rgba(0, 0, 0, .25); }
.btn-outline { --b-bg: transparent; --b-bg-h: rgba(30, 58, 47, .06); --b-bg-p: rgba(30, 58, 47, .12); --b-fg: var(--ink); --b-bd: #B9B2A4; --b-sh: rgba(30, 58, 47, .18); }
.btn-white { --b-bg: #fff; --b-bg-h: #F7F4EE; --b-bg-p: #EFEAE0; --b-fg: var(--ink); --b-bd: var(--line); --b-sh: rgba(30, 58, 47, .14); }
.btn-whatsapp { --b-bg: var(--whatsapp); --b-bg-h: var(--whatsapp-hover); --b-bg-p: #125A36; --b-sh: rgba(26, 128, 76, .35); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 15px; border-radius: 10px; }
.btn-lg { min-height: 56px; font-size: 16px; }
.btn-block { width: 100%; }
@media (hover: hover) {
  .btn:hover { background: var(--b-bg-h); transform: translateY(-1px); box-shadow: 0 8px 20px var(--b-sh); }
  .btn:hover .icon-trail { transform: translateX(4px); }
  .btn-outline-light:hover { border-color: rgba(246, 242, 234, .6); }
}
.btn:active { background: var(--b-bg-p); transform: scale(.98); box-shadow: none; transition-duration: var(--dur-instant); }
.btn:disabled, .btn[aria-disabled="true"] { cursor: default; }
.btn.is-loading { pointer-events: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 800ms linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(-360deg); } }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--forest); transition: color 200ms var(--ease-standard); }
@media (hover: hover) { .text-link:hover { color: var(--brass-text); } .text-link:hover .icon-trail { transform: translateX(4px); } }

/* ---------- Check list (hero, booking) ---------- */
.checklist { display: grid; gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; }
.check { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--check-bg); color: var(--brass); }
.check .icon { width: 13px; height: 13px; stroke-width: 2.4; }
.on-dark .check { background: rgba(246, 242, 234, .16); color: var(--brass-light); }

/* ---------- Announcement and header ---------- */
.site-top { position: fixed; inset: 0 0 auto; z-index: 60; transition: transform var(--dur-base) var(--ease-standard); }
.announce { height: var(--announce-h); display: flex; align-items: center; justify-content: center; gap: 12px; padding-inline: 16px;
  background: var(--brass); color: var(--ink); font-size: 13px; font-weight: 500; text-align: center; overflow: hidden;
  transition: opacity var(--dur-base) var(--ease-standard); }
.announce-label { font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.announce-dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
@media (max-width: 599.98px) { .announce { font-weight: 600; } .announce-label, .announce-dot { display: none; } }

.site-header { position: relative; color: var(--on-dark); border-bottom: 1px solid rgba(246, 242, 234, .12);
  transition: background-color var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard); }
.nav { height: var(--nav-h); display: flex; align-items: center; gap: 16px; transition: height var(--dur-base) var(--ease-standard); }
.logo { display: block; flex: none; transform-origin: left center; transition: transform var(--dur-base) var(--ease-standard); }
.logo img { height: var(--logo-h); width: auto; }
.nav-links { display: none; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-phone { display: none; }
.nav-register { display: none; }
.nav-call { min-height: 34px; padding: 6px 14px; font-size: 14px; border-radius: 10px; }
.menu-btn { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; border: 0; background: none; color: var(--on-dark); border-radius: 10px; }
.menu-btn .icon { width: 24px; height: 24px; }
@media (min-width: 600px) {
  .nav-phone, .nav-register { display: inline-flex; }
  .nav-call { display: none; }
  .menu-btn { width: 44px; height: 44px; margin-right: 0; border: 1px solid rgba(246, 242, 234, .38); }
}
@media (min-width: 1024px) {
  .menu-btn { display: none; }
  .nav { gap: 24px; }
  .nav-links { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.5vw, 36px); flex: 1; }
  .nav-link { position: relative; padding: 8px 0; font-size: 14px; font-weight: 500; color: var(--on-dark-2); transition: color 200ms var(--ease-standard); white-space: nowrap; }
  .nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--brass-light); transform: scaleX(0); transition: transform 200ms var(--ease-standard); }
  .nav-link.is-active { color: var(--on-dark); }
  .nav-link.is-active::after { transform: scaleX(1); }
  .nav-actions { margin-left: 0; }
}
@media (min-width: 1024px) and (hover: hover) { .nav-link:hover { color: var(--on-dark); } .nav-link:hover::after { transform: scaleX(1); } }
@media (min-width: 1024px) and (max-width: 1199.98px) { .nav-link-book { display: none; } }

.is-scrolled .site-top { transform: translateY(calc(-1 * var(--announce-h))); }
.is-scrolled .announce { opacity: 0; }
.is-scrolled .site-header { background: rgba(17, 36, 28, .94); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); border-color: transparent; }
.is-scrolled .nav { height: 52px; }
.is-scrolled .logo { transform: scale(.82); }
@media (min-width: 600px) { .is-scrolled .nav { height: 64px; } .is-scrolled .logo { transform: scale(.74); } }
@media (max-width: 599.98px) { .sticky-on .nav-call { display: none; } }

/* ---------- Mobile menu ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--deep); color: var(--on-dark); display: flex; flex-direction: column;
  padding: 0 var(--pad-x) calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity 200ms var(--ease-standard), visibility 0s linear 200ms; }
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity 200ms var(--ease-standard); }
.mm-top { height: 64px; display: flex; align-items: center; justify-content: space-between; flex: none; }
.mm-top img { height: 40px; width: auto; }
.mm-close { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; color: var(--on-dark); border-radius: 10px; }
.mm-close .icon { width: 26px; height: 26px; }
.mm-links { margin-top: 40px; }
.mm-links a { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid rgba(246, 242, 234, .14);
  font-family: var(--font-display); font-size: 28px; font-weight: 400; line-height: 1.1; }
.mm-links a .icon { width: 18px; height: 18px; color: var(--on-dark-3); }
.mm-actions { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; }
.mobile-menu .mm-links li, .mobile-menu .mm-actions > * { opacity: 0; transform: translateY(12px); transition: opacity 300ms var(--ease-emphasis), transform 300ms var(--ease-emphasis); }
.mobile-menu.is-open .mm-links li, .mobile-menu.is-open .mm-actions > * { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 40ms + 60ms); }
html.menu-open, html.modal-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--on-dark); padding-top: calc(var(--announce-h) + var(--nav-h)); isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--deep); }
.hero-media picture { display: block; height: 100%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 50%; }
.hero-media::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 36, 28, .93) 0%, rgba(17, 36, 28, .86) 34%, rgba(17, 36, 28, .58) 62%, rgba(17, 36, 28, .36) 100%),
    linear-gradient(180deg, rgba(17, 36, 28, .35) 0%, rgba(17, 36, 28, 0) 22%, rgba(17, 36, 28, 0) 70%, rgba(17, 36, 28, .55) 100%); }
.hero-inner { display: grid; gap: 40px; padding-top: 28px; padding-bottom: 0; }
.hero-copy { display: grid; gap: 22px; align-content: center; }
.pill { justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border: 1px solid rgba(217, 194, 154, .5); border-radius: 999px;
  background: rgba(17, 36, 28, .35); color: var(--brass-light); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.3; }
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: #7BC48F; box-shadow: 0 0 0 3px rgba(123, 196, 143, .18); flex: none; }
.hero .h1 { color: var(--on-dark); margin-top: 2px; }
.hero-sub { font-size: var(--sub); line-height: 1.6; color: var(--on-dark-2); max-width: 600px; }
.hero .checklist { gap: 10px; font-size: 14.5px; color: var(--on-dark); }
.hero .checklist li { gap: 10px; }
.hero .checklist .check { width: 20px; height: 20px; background: rgba(246, 242, 234, .16); color: var(--brass-light); }
.built-by { display: none; }
.hero-mobile-btn { margin-top: 6px; min-height: 50px; }
.hero-form { position: relative; z-index: 1; margin-inline: calc(16px - var(--pad-x)); }
.hero-form::before { content: ""; position: absolute; z-index: -1; left: -16px; right: -16px; top: 100px; bottom: 0; background: var(--cream); }

@media (min-width: 600px) {
  .hero-inner { gap: 40px; padding-top: 48px; padding-bottom: 64px; }
  .hero-copy { gap: 24px; }
  .pill { font-size: 12px; padding: 7px 16px 7px 14px; }
  .hero .checklist { gap: 12px; font-size: 16px; }
  .hero .checklist li { gap: 12px; }
  .hero .checklist .check { width: 22px; height: 22px; }
  .hero-form { margin-inline: 0; }
  .hero-form::before { display: none; }
  .built-by { display: flex; align-items: center; gap: 28px; padding-top: 24px; margin-top: 4px; border-top: 1px solid rgba(246, 242, 234, .16); }
  .built-by-label { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-3); }
  .built-by-logos { display: flex; align-items: center; gap: 28px; }
  .built-by-label { white-space: nowrap; }
  .built-by-logos img { width: auto; opacity: .95; flex: none; }
  .built-by-logos img[data-k="greenpark"] { height: 26px; }
  .built-by-logos img[data-k="treasure_hill"] { height: 15px; }
  .built-by-logos img[data-k="starlane"] { height: 31px; }
  .built-by-logos .sep { flex: none; width: 1px; height: 26px; background: rgba(246, 242, 234, .25); }
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) var(--form-w); align-items: center; gap: clamp(48px, 5.3vw, 76px); padding-top: 72px; padding-bottom: 96px; }
  .hero-copy { gap: 28px; }
  .hero-copy .checklist { margin-top: 6px; }
  .built-by { margin-top: 10px; padding-top: 34px; max-width: 720px; }
}
@media (min-width: 1680px) {
  .hero-inner { padding-top: 110px; padding-bottom: 130px; gap: 120px; }
  .hero-sub { max-width: 640px; }
  .hero .checklist { font-size: 18px; }
  .built-by { max-width: 780px; }
}

/* ---------- Lead form card ---------- */
.form-card { position: relative; background: var(--white); color: var(--ink); border-radius: 18px; box-shadow: var(--shadow-form); padding: 26px 22px 24px; }
@media (min-width: 600px) { .form-card { border-radius: 20px; padding: 40px 36px 34px; } }
@media (min-width: 1024px) { .form-card { padding: 40px 36px 30px; } }
@media (min-width: 1680px) { .form-card { padding: 48px 44px 38px; } }
.form-card.highlight { animation: glow 1.1s var(--ease-standard); }
@keyframes glow { 0% { box-shadow: var(--shadow-form), 0 0 0 0 rgba(176, 141, 87, 0); } 45% { box-shadow: var(--shadow-form), 0 0 24px 8px rgba(176, 141, 87, .55); } 100% { box-shadow: var(--shadow-form), 0 0 0 0 rgba(176, 141, 87, 0); } }
.form-card.shake { animation: shake 420ms var(--ease-standard) 100ms; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 16% { transform: translateX(-10px); } 33% { transform: translateX(10px); } 50% { transform: translateX(-6px); } 66% { transform: translateX(6px); } 83% { transform: translateX(-2px); } }

.lf { display: grid; gap: 16px; }
.lf.lf-fields { display: flex; flex-direction: column; gap: 16px; }
.lf-head { display: grid; gap: 10px; margin-bottom: 4px; }
.lf-title { font-family: var(--font-display); font-weight: 400; font-size: var(--form-title); line-height: 1.15; letter-spacing: -.01em; color: var(--ink); }
.lf-sub { font-size: 14px; line-height: 1.5; color: var(--muted); }
.lf-banner { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid rgba(179, 38, 30, .35); border-radius: 10px; background: var(--error-bg); color: var(--error); font-size: 14px; font-weight: 500; line-height: 1.45; }
.lf-banner .icon { width: 18px; height: 18px; margin-top: 1px; }
.lf-banner.anim { animation: drop-in 300ms var(--ease-standard) 50ms both; }
@keyframes drop-in { from { opacity: 0; transform: translateY(-8px); } }

.lf-chips { margin-top: 8px; }
.lf-group-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.lf-legend, .lf-label { font-size: 13px; font-weight: 600; color: var(--ink); }
.req { color: var(--error); }
.req-pill { padding: 2px 8px; border-radius: 999px; background: var(--req-bg); color: var(--brass-text); font-size: 11px; font-weight: 600; transition: background-color var(--dur-fast), color var(--dur-fast); }
.has-error .req-pill { background: var(--error); color: #fff; }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radio-card { position: relative; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 12px 10px 14px; border: 1.5px solid #D2C7B3; border-radius: 12px; background: #fff; cursor: pointer;
  transition: border-color var(--dur-fast) ease-out, background-color var(--dur-fast) ease-out, box-shadow var(--dur-fast) ease-out; -webkit-tap-highlight-color: transparent; }
.radio-card input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.rc-dot { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #9AA09A; background: #fff; display: grid; place-items: center; transition: border-color var(--dur-fast); }
.rc-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--forest); transform: scale(0); transition: transform var(--dur-fast) var(--ease-standard); }
.rc-text { display: grid; gap: 1px; line-height: 1.3; }
.rc-text strong { font-size: 14px; font-weight: 600; color: var(--ink); }
.rc-text small { font-size: 12px; color: var(--muted); }
.radio-card:has(input:checked) { border-color: var(--forest); background: var(--tint); }
.radio-card:has(input:checked) .rc-dot { border-color: var(--forest); }
.radio-card:has(input:checked) .rc-dot::after { transform: scale(1); }
.radio-card:has(input:focus-visible) { box-shadow: var(--ring); }
@media (hover: hover) { .radio-card:hover { border-color: #B9B2A4; background: #FDFCF9; } .radio-card:has(input:checked):hover { border-color: var(--forest); background: var(--tint); } }
.has-error .radio-card { border-color: var(--error); background: var(--error-bg); }
.has-error .rc-dot { border-color: var(--error); }
.lf-help { margin-top: 8px; font-size: 12px; line-height: 1.45; color: var(--muted); }
.lf-help.ok { color: var(--success); }
.nudge { animation: nudge 400ms var(--ease-standard) 200ms; }
@keyframes nudge { 50% { transform: scale(1.02); } }

.lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 600px) { .lf-row { gap: 12px; } }
.field { position: relative; display: grid; }
.field-box { position: relative; display: flex; align-items: center; height: 50px; border: 1px solid var(--line); border-radius: 10px; background: var(--input-bg);
  transition: border-color var(--dur-fast) ease-out, box-shadow var(--dur-fast) ease-out, background-color var(--dur-fast) ease-out; }
.field input { width: 100%; height: 100%; min-width: 0; padding: 0 40px 0 16px; border: 0; background: transparent; font-size: var(--input); color: var(--ink); border-radius: 10px; }
.field input::placeholder { color: #8C918B; opacity: 1; }
.field input:focus-visible { box-shadow: none; }
@media (hover: hover) { .field-box:hover { border-color: #B9B2A4; } }
.field-box:focus-within { border-color: var(--forest); background: #fff; box-shadow: var(--ring); }
.field.is-valid .field-box { border-color: var(--success); background: #fff; }
.field.has-error .field-box { border-color: var(--error); background: var(--error-bg); }
.field.has-error .field-box:focus-within { box-shadow: 0 0 0 4px rgba(179, 38, 30, .18); }
.field-state { position: absolute; right: 14px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; pointer-events: none; display: none; }
.field.is-valid .field-state.ok { display: block; color: var(--success); }
.field.has-error .field-state.bad { display: block; color: var(--error); }
.field.is-valid .field-box:focus-within .field-state.ok { display: none; }
.phone-prefix { display: flex; align-items: center; gap: 6px; padding: 0 12px 0 16px; height: 26px; border-right: 1px solid var(--line); font-size: var(--input); color: var(--ink); white-space: nowrap; flex: none; }
.phone-prefix .flag { font-size: 14px; line-height: 1; }
.field-phone input { padding-left: 12px; }
.field-error { margin-top: 6px; font-size: 12px; line-height: 1.4; color: var(--error); font-weight: 500; }
.field-error.anim, .lf-error.anim { animation: msg-in 250ms var(--ease-standard) both; animation-delay: calc(200ms + var(--i, 0) * 50ms); }
@keyframes msg-in { from { opacity: 0; transform: translateY(-4px); } }
.lf-error { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12px; font-weight: 500; color: var(--error); }
.lf-error .icon { width: 16px; height: 16px; }

.collapse { display: grid; min-height: 0; grid-template-rows: 0fr; transition: grid-template-rows 250ms var(--ease-standard), opacity 250ms var(--ease-standard); opacity: 0; margin-top: -16px; }
.collapse > .collapse-inner { overflow: hidden; min-height: 0; }
.collapse.is-open { grid-template-rows: 1fr; opacity: 1; margin-top: 0; }
.collapse.is-open > .collapse-inner { overflow: visible; }
.no-js .collapse { grid-template-rows: 1fr; opacity: 1; margin-top: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; color: var(--ink); cursor: pointer;
  transition: background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast); -webkit-tap-highlight-color: transparent; }
.chip span::before { content: ""; width: 0; height: 12px; margin-right: -6px; overflow: hidden; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2 6.4 2.4 2.4L10 3.2' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2 6.4 2.4 2.4L10 3.2' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; transition: width var(--dur-fast), margin var(--dur-fast); }
.chip input:checked + span { background: var(--forest); border-color: var(--forest); color: #fff; }
.chip input:checked + span::before { width: 12px; margin-right: 0; }
.chip input:focus-visible + span { box-shadow: var(--ring); }
@media (hover: hover) { .chip span:hover { background: var(--panel); border-color: #B9B2A4; } .chip input:checked + span:hover { background: var(--forest-hover); border-color: var(--forest-hover); } }
@media (min-width: 600px) { .chip span { padding: 6px 14px; } }
@media (max-width: 599.98px) { .chip span { min-height: 38px; padding: 7px 16px; font-size: 14px; } }

.consent { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cb { flex: none; width: 18px; height: 18px; margin-top: 1px; border: 1.5px solid #8E948E; border-radius: 4px; background: #fff; display: grid; place-items: center; transition: background-color var(--dur-fast), border-color var(--dur-fast); }
.cb .icon { width: 12px; height: 12px; color: #fff; stroke-width: 2.6; opacity: 0; }
.consent input:checked + .cb { background: var(--forest); border-color: var(--forest); }
.consent input:checked + .cb .icon { opacity: 1; }
.consent input:focus-visible + .cb { box-shadow: var(--ring); }
.consent-text { font-size: 12px; line-height: 1.45; color: var(--muted); }
.has-error .cb { border-color: var(--error); }
.lf-consent .field-error { margin-left: 30px; }

.lf-submit { margin-top: 2px; }
.lf-submit .btn { width: 100%; min-height: 56px; }
.trust { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 2px; font-size: 12px; color: var(--muted); text-align: center; }
.trust .icon { width: 13px; height: 13px; color: var(--brass); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.lf.is-busy .lf-fields { opacity: .55; pointer-events: none; transition: opacity 150ms var(--ease-standard) 300ms; }
.lf.is-leaving { animation: leave 250ms var(--ease-exit) both; }
@keyframes leave { to { opacity: 0; transform: translateY(-12px); } }

/* Success view */
.lf-success { display: grid; gap: 18px; text-align: center; justify-items: center; padding: 10px 0 4px; }
.lf-success.anim { animation: success-in 400ms var(--ease-emphasis) both; }
@keyframes success-in { from { opacity: 0; transform: scale(.96); } }
.success-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--forest); color: var(--brass-light); display: grid; place-items: center; }
.success-icon svg { width: 30px; height: 30px; }
.success-icon path { stroke-dasharray: 20; stroke-dashoffset: 0; }
.anim .success-icon { animation: pop 450ms var(--ease-spring) 150ms both; }
.anim .success-icon path { animation: draw 400ms var(--ease-standard) 400ms both; }
@keyframes pop { from { transform: scale(.4); } }
@keyframes draw { from { stroke-dashoffset: 20; } }
.success-title { font-family: var(--font-display); font-weight: 400; font-size: calc(var(--form-title) - 2px); line-height: 1.15; }
.success-title:focus { outline: none; }
.success-body { font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 440px; }
.next-box { width: 100%; text-align: left; background: var(--panel); border-radius: 12px; padding: 16px 18px; display: grid; gap: 8px; }
.next-box ol { display: grid; gap: 6px; font-size: 14px; color: var(--ink); }
.next-box li { display: flex; gap: 8px; }
.next-box li span:first-child { min-width: 1.6em; }
.success-actions { width: 100%; display: grid; gap: 10px; }
.success-actions .btn { width: 100%; min-height: 48px; }

/* ---------- Highlights ---------- */
.highlights { padding-top: 24px; }
@media (max-width: 599.98px) { .highlights .container { padding-inline: 16px; } }
.hl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hl { background: #fff; border: 1px solid var(--line-soft); border-radius: 16px; padding: 18px 16px 18px; display: grid; gap: 6px; }
.hl-value { font-family: var(--font-display); font-weight: 400; font-size: var(--big-num); line-height: 1; letter-spacing: -.01em; color: var(--forest); }
.hl-label { font-size: 13px; line-height: 1.4; color: var(--muted); }
@media (min-width: 600px) {
  .highlights { padding-top: 40px; }
  .hl-grid { gap: 0; background: #fff; border-radius: 18px; box-shadow: var(--shadow-card); overflow: hidden; }
  .hl { border: 0; border-radius: 0; padding: 44px 36px 40px; gap: 14px; }
  .hl:nth-child(odd) { border-right: 1px solid var(--line-soft); }
  .hl:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .hl-label { font-size: 14px; }
}
@media (min-width: 1024px) {
  .highlights { padding-top: 56px; }
  .hl-grid { grid-template-columns: repeat(4, 1fr); }
  .hl { padding: 32px 36px 32px; gap: 12px; border-bottom: 0 !important; border-right: 1px solid var(--line-soft); }
  .hl:last-child { border-right: 0; }
}
@media (min-width: 1680px) { .hl { padding: 40px 44px; } .hl-label { font-size: 15px; } }

/* ---------- Builders ---------- */
.builders .sec-head { margin-bottom: 28px; }
.builders .h2 br { display: none; }
@media (min-width: 600px) { .builders .sec-head { margin-bottom: 48px; } }
@media (min-width: 1024px) { .builders .h2 br { display: inline; } .builders .sec-head { margin-bottom: 64px; } }
.b-cards { display: grid; gap: 18px; }
.b-card { position: relative; display: grid; grid-template-columns: 108px 1fr; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; cursor: pointer;
  transition: transform 300ms var(--ease-standard), box-shadow 300ms var(--ease-standard), border-color 300ms var(--ease-standard); }
.b-logo { position: relative; display: grid; place-items: center; padding: 12px 10px; background: var(--panel); border-right: 1px solid var(--line-soft); transition: background-color 300ms var(--ease-standard); }
.b-logo img { width: 100%; max-width: 92px; height: auto; transition: transform 300ms var(--ease-standard); }
.b-badge { display: none; position: absolute; left: 20px; top: 20px; padding: 5px 12px; border-radius: 999px; background: var(--forest); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.b-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 16px 16px; }
.b-name { font-size: 10px; letter-spacing: .18em; }
.nw { white-space: nowrap; }
.b-title { font-family: var(--font-display); font-weight: 400; font-size: var(--card-title); line-height: 1.15; letter-spacing: -.005em; }
.b-desc { font-size: var(--body); line-height: 1.55; color: var(--muted); }
.b-points { display: none; }
.b-cta { margin-top: 4px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--forest); text-align: left; background: none; border: 0; padding: 0; transition: color 300ms var(--ease-standard); }
.b-cta::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.b-cta:focus-visible { box-shadow: none; }
.b-card:has(.b-cta:focus-visible) { box-shadow: var(--ring); }
@media (min-width: 600px) {
  .b-cards { gap: 20px; }
  .b-card { grid-template-columns: 240px 1fr; border-radius: 18px; }
  .b-logo { padding: 64px 24px; }
  .b-logo img { max-width: 170px; }
  .b-badge { display: inline-block; }
  .b-body { padding: 34px 28px 30px; gap: 10px; }
  .b-name { font-size: 12px; }
  .b-title { margin-top: 4px; }
  .b-desc { margin-top: 2px; }
  .b-points { display: grid; gap: 8px; margin-top: 10px; font-size: 14px; }
  .b-points li { display: flex; align-items: center; gap: 10px; }
  .b-points .check { width: 20px; height: 20px; }
  .b-points .check .icon { width: 12px; height: 12px; }
  .b-foot { margin-top: auto; padding-top: 22px; }
  .b-cta { width: 100%; margin-top: 18px; padding-top: 20px; border-top: 1px solid var(--line-soft); font-size: 15px; }
}
@media (min-width: 1024px) {
  .b-cards { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .b-card { grid-template-columns: 1fr; grid-template-rows: 200px 1fr; }
  .b-logo { border-right: 0; border-bottom: 1px solid var(--line-soft); padding: 40px; }
  .b-logo img { max-width: none; width: auto; }
  .b-logo img[data-k="greenpark"] { width: 266px; }
  .b-logo img[data-k="treasure_hill"] { width: 230px; }
  .b-logo img[data-k="starlane"] { width: 194px; }
  .b-body { padding: 34px 28px 28px; }
  .b-cta { margin-top: auto; }
  .b-points { margin-bottom: 32px; }
}
@media (min-width: 1680px) { .b-cards { gap: 32px; } .b-body { padding: 36px 32px 32px; } }
@media (hover: hover) {
  .b-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(176, 141, 87, .55); }
  .b-card:hover .b-logo { background: #EAE3D5; }
  .b-card:hover .b-logo img { transform: scale(1.06); }
  .b-card:hover .b-cta { color: var(--brass-text); }
  .b-card:hover .b-cta .icon-trail { transform: translateX(6px); }
}

/* ---------- Location ---------- */
.location { background: var(--sand); }
.loc-grid { display: grid; gap: 12px; }
.loc-copy { display: contents; }
.loc-copy > * { order: 1; }
.loc-copy > .amenities { order: 3; margin-top: 12px; }
.map-frame { order: 2; margin-top: 8px; }
@media (min-width: 600px) { .loc-copy { display: grid; gap: 12px; align-content: start; } .loc-copy > * { order: 0; } .map-frame { order: 0; margin-top: 0; } }
.loc-copy .h2 br { display: none; }
.address { display: none; }
.map-frame { position: relative; border-radius: 18px; overflow: hidden; background: #E3DED2; aspect-ratio: 342 / 200; box-shadow: 0 1px 0 rgba(0, 0, 0, .02); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.6) sepia(.15) contrast(1.05); }
.map-card { position: absolute; left: 10px; top: 10px; z-index: 1; background: #fff; border-radius: 999px; box-shadow: var(--shadow-map); padding: 8px 14px; }
.map-card-title, .map-card-addr { display: none; }
.map-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.map-link .icon { width: 14px; height: 14px; }
.amenities { display: grid; }
.amenity { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 10px 0; border-bottom: 1px solid #D5CCBA; position: relative; transition: background-color 250ms var(--ease-standard); }
.amenity-name { font-size: 15px; color: var(--ink); transition: transform 250ms var(--ease-standard); }
.amenity-dist { font-size: 14px; font-weight: 600; color: var(--brass-text); white-space: nowrap; text-align: right; }
.amenity::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--brass); border-radius: 3px; opacity: 0; transition: opacity 250ms var(--ease-standard); }
@media (hover: hover) and (min-width: 600px) {
  .amenity:hover { background: rgba(255, 255, 255, .7); }
  .amenity:hover::before { opacity: 1; }
  .amenity:hover .amenity-name { transform: translateX(4px); }
  .amenity { padding-inline: 0; margin-inline: 0; }
  .amenity:hover { padding-inline: 12px; margin-inline: -12px; }
}
@media (min-width: 600px) {
  .loc-grid { gap: 40px; }
  .map-frame { aspect-ratio: auto; height: 420px; border-radius: 20px; }
  .map-card { left: 16px; top: 16px; border-radius: 14px; padding: 16px 18px; display: grid; gap: 6px; }
  .map-card-title { display: block; font-family: var(--font-display); font-size: 18px; line-height: 1.2; }
  .map-card-addr { display: block; font-size: 12px; color: var(--muted); }
  .map-link { margin-top: 4px; }
  .loc-copy { gap: 16px; }
  .loc-copy .h2 br { display: inline; }
  .address { display: inline-flex; justify-self: start; align-items: center; gap: 8px; margin-top: 8px; padding: 10px 16px; border-radius: 10px; background: rgba(255, 255, 255, .75); font-size: 14px; font-weight: 600; color: var(--forest); }
  .address .icon { width: 16px; height: 16px; color: #C0453A; }
  .amenities { margin-top: 12px; }
  .amenity { min-height: 52px; }
  .amenity-name { font-size: 16px; }
}
@media (min-width: 1024px) {
  .loc-grid { grid-template-columns: minmax(0, 620fr) minmax(0, 588fr); align-items: center; gap: clamp(48px, 5vw, 72px); }
  .loc-grid .map-frame { order: -1; }
  .map-frame { height: 560px; }
  .loc-copy .lead-text { max-width: 560px; }
}
@media (min-width: 1680px) {
  .loc-grid { grid-template-columns: minmax(0, 760fr) minmax(0, 560fr); gap: 120px; }
  .map-frame { height: 640px; }
}

/* ---------- VIP / Why register ---------- */
.vip { background: var(--forest); }
.vip-head { display: grid; gap: 14px; }
.vip .h2 br { display: none; }
.vip-intro { display: none; }
.benefits { display: grid; gap: 12px; margin-top: 24px; }
.benefit { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; align-items: baseline; padding: 16px 18px; border: 1px solid rgba(246, 242, 234, .14); border-radius: 16px; background: rgba(246, 242, 234, .05);
  transition: transform 250ms var(--ease-standard), border-color 250ms var(--ease-standard), background-color 250ms var(--ease-standard); }
.benefit-num { grid-row: span 2; font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: var(--benefit-num); line-height: 1; color: var(--brass-light); }
.benefit-title { font-family: var(--font-display); font-weight: 400; font-size: var(--benefit-title); line-height: 1.2; color: var(--on-dark); }
.benefit-text { font-size: var(--body); line-height: 1.55; color: var(--on-dark-3); }
@media (hover: hover) { .benefit:hover { transform: translateY(-4px); border-color: rgba(217, 194, 154, .6); background: rgba(246, 242, 234, .09); } }
.how { display: none; }
@media (min-width: 600px) {
  .vip-head { gap: 16px; }
  .vip-intro { display: block; }
  .benefits { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
  .benefit { display: flex; flex-direction: column; gap: 12px; padding: 28px 26px 30px; }
  .benefit-num { margin-bottom: 4px; }
  .how { display: grid; gap: 18px; margin-top: 40px; padding: 30px 32px 28px; border-radius: 18px; background: var(--deeper); }
  .how-label { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-light); }
  .how-steps { display: grid; gap: 16px; }
  .how-step { display: flex; align-items: center; gap: 14px; color: var(--on-dark); font-size: 16px; }
  .how-num { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brass); color: var(--deep); font-weight: 600; font-size: 14px; }
  .how-arrow { display: none; }
  .how .btn { width: 100%; }
}
@media (min-width: 1024px) {
  .vip-head { grid-template-columns: 1fr 1fr; column-gap: 72px; align-items: end; }
  .vip-head .sec-title { grid-column: 1; }
  .vip-head .eyebrow { grid-column: 1; }
  .vip-intro { grid-column: 2; grid-row: 2; align-self: end; }
  .vip .h2 br { display: inline; }
  .benefits { grid-template-columns: repeat(4, 1fr); margin-top: 64px; }
  .benefit { padding: 30px 26px 32px; min-height: 218px; }
  .how { display: flex; align-items: center; gap: 14px; margin-top: 64px; padding: 26px 32px; border-radius: 16px; }
  .how-label { white-space: nowrap; margin-right: 6px; }
  .how-steps { display: flex; align-items: center; gap: 10px; flex: 1; }
  .how-step { gap: 10px; font-size: 16px; white-space: nowrap; }
  .how-arrow { display: block; color: var(--brass); width: 18px; height: 18px; flex: none; }
  .how .btn { width: auto; margin-left: auto; }
}
@media (min-width: 1024px) and (max-width: 1399.98px) { .how { flex-wrap: wrap; } .how-steps { flex: 1 1 100%; order: 2; flex-wrap: wrap; row-gap: 14px; } .how .btn { order: 1; } }
@media (min-width: 1680px) { .benefits { gap: 24px; } .benefit { padding: 36px 32px; } .how-step { font-size: 17px; } }

/* ---------- Booking ---------- */
.booking { background: var(--sand); }
.booking .sec-head { margin-bottom: 24px; justify-items: start; text-align: left; }
.booking .checklist { gap: 10px; font-size: 15px; }
.booking .lead-text { max-width: 600px; }
.booking .check { background: rgba(176, 141, 87, .18); }
.cal-card { position: relative; background: #fff; border-radius: 20px; box-shadow: var(--shadow-card); overflow: hidden; min-height: 700px; margin-top: 24px; }
.cal-card .calendly-inline-widget { min-width: 320px; height: 700px; }
.cal-skeleton { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr; padding: 24px; gap: 16px; pointer-events: none; transition: opacity 300ms; }
.cal-skeleton i { display: block; border-radius: 10px; background: linear-gradient(90deg, #F2EEE6 0%, #F8F5EF 50%, #F2EEE6 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.cal-card.is-loaded .cal-skeleton { opacity: 0; }
@keyframes shimmer { to { background-position: -200% 0; } }
.cal-fallback { position: absolute; inset: auto 0 24px; text-align: center; font-size: 14px; color: var(--muted); }
.book-more { margin-top: 24px; font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.book-more .text-link { background: none; border: 0; padding: 0; font-size: 15px; }
@media (min-width: 600px) {
  .booking .sec-head { justify-items: center; text-align: center; margin-bottom: 0; }
  .booking .checklist { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 12px; font-size: 15px; }
  .booking .checklist li { align-items: center; }
  .cal-card { margin-top: 48px; }
  .book-more { justify-content: center; margin-top: 40px; }
}
@media (min-width: 1024px) { .cal-card { max-width: 1058px; margin-inline: auto; } }
@media (min-width: 1680px) { .cal-card { max-width: 1160px; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 24px; }
.faq-aside { display: grid; gap: 12px; align-content: start; }
.faq-aside .lead-text, .faq-aside .btn { display: none; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); transition: background-color 300ms var(--ease-standard); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; background: none; border: 0; text-align: left;
  font-family: var(--font-display); font-weight: 400; font-size: var(--faq-q); line-height: 1.3; color: var(--ink); }
.faq-q:focus-visible { box-shadow: var(--ring); border-radius: 8px; }
.faq-toggle { flex: none; position: relative; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: var(--forest); transition: background-color 250ms var(--ease-standard), color 250ms var(--ease-standard), transform 250ms var(--ease-standard); }
.faq-toggle::before, .faq-toggle::after { content: ""; position: absolute; width: 12px; height: 1.6px; border-radius: 2px; background: currentColor; transition: transform 250ms var(--ease-standard), opacity 250ms; }
.faq-toggle::after { transform: rotate(90deg); }
.faq-item.is-open .faq-toggle { transform: rotate(-180deg); }
.faq-item.is-open .faq-toggle::after { transform: rotate(0deg); opacity: 0; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 300ms var(--ease-standard); }
.faq-a > div { overflow: hidden; min-height: 0; }
.faq-a p { padding: 0 40px 20px 0; font-size: var(--long); line-height: 1.6; color: var(--muted); opacity: 0; transform: translateY(-6px); transition: opacity 270ms var(--ease-standard), transform 270ms var(--ease-standard); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-item.is-open .faq-a p { opacity: 1; transform: none; transition-delay: 80ms; }
.faq-item.is-closing .faq-a { transition-timing-function: var(--ease-exit); transition-duration: 250ms; }
.no-js .faq-a { grid-template-rows: 1fr; }
.no-js .faq-a p { opacity: 1; transform: none; }
@media (min-width: 600px) {
  .faq-grid { gap: 40px; }
  .faq-aside { gap: 16px; }
  .faq-aside .lead-text { display: block; }
  .faq-aside .btn { display: inline-flex; justify-self: start; margin-top: 12px; }
  .faq-q { padding: 26px 0; }
  .faq-toggle { width: 32px; height: 22px; border-radius: 999px; background: var(--panel); }
  .faq-toggle::before, .faq-toggle::after { width: 10px; }
  .faq-item.is-open .faq-toggle { background: var(--forest); color: #fff; }
  .faq-a p { padding-bottom: 26px; }
}
@media (min-width: 1024px) {
  .faq-grid { grid-template-columns: minmax(0, 400fr) minmax(0, 800fr); gap: clamp(48px, 6vw, 80px); align-items: start; }
  .faq-aside .h2 { max-width: 400px; }
  .faq-aside .lead-text { max-width: 340px; }
  .faq-a p { font-size: 16px; }
  .faq-item.is-open .faq-q { padding-bottom: 14px; }
  .faq-q { transition: padding 300ms var(--ease-standard); }
  .faq-toggle { width: 32px; height: 32px; border-radius: 50%; }
  .faq-a p { padding-right: 60px; }
}
@media (hover: hover) and (min-width: 600px) { .faq-q:hover .faq-toggle { background: #E7DFD0; } .faq-item.is-open .faq-q:hover .faq-toggle { background: var(--forest-hover); } }

/* ---------- Final CTA ---------- */
.final-cta { display: none; }
@media (min-width: 600px) {
  .final-cta { display: block; position: relative; isolation: isolate; color: var(--on-dark); text-align: center; overflow: hidden; }
  .final-media { position: absolute; inset: 0; z-index: -1; background: var(--deep); }
  .final-media picture { display: block; height: 100%; }
  .final-media img { width: 100%; height: 100%; object-fit: cover; }
  /* Default photo: crop to the foliage on the left so no face is shown. */
  .final-media img.foliage-crop { object-position: 0% 55%; transform: scale(2.5); transform-origin: 4% 52%; }
  .final-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 36, 28, .86), rgba(17, 36, 28, .9)); }
  .final-inner { display: grid; justify-items: center; gap: 18px; padding-block: 96px; }
  .final-title { font-family: var(--font-display); font-weight: 300; font-size: var(--cta-title); line-height: 1.08; letter-spacing: -.015em; color: var(--on-dark); }
  .final-title em { display: block; font-style: italic; font-weight: 400; color: var(--brass-light); }
  .final-text { max-width: 640px; font-size: var(--long); line-height: 1.7; color: var(--on-dark-2); }
  .final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 18px; }
  .final-actions .btn { min-height: 56px; padding-inline: 32px; }
}
@media (min-width: 1024px) { .final-inner { padding-block: 104px; gap: 20px; } }
@media (min-width: 1680px) { .final-inner { padding-block: 140px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--deeper); color: var(--on-dark-2); padding: 44px 0 calc(40px + 72px + env(safe-area-inset-bottom)); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-top img { height: 40px; width: auto; }
.footer-links { display: none; }
.footer-legal { margin-top: 26px; display: grid; gap: 20px; font-size: 11px; line-height: 1.65; color: var(--on-dark-3); }
.copyright { color: rgba(246, 242, 234, .62); }
@media (min-width: 600px) {
  .site-footer { padding: 56px 0 56px; }
  .footer-top { padding-bottom: 30px; border-bottom: 1px solid rgba(246, 242, 234, .14); }
  .footer-top img { height: 42px; }
  .footer-links { display: flex; gap: 28px; font-size: 15px; }
  .footer-links a { transition: color 200ms; }
  .footer-legal { margin-top: 30px; gap: 28px; font-size: 12px; }
}
@media (hover: hover) { .footer-links a:hover { color: var(--on-dark); } }

/* ---------- Mobile sticky bar ---------- */
.sticky-bar { position: fixed; inset: auto 0 0; z-index: 50; display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: #fff; box-shadow: 0 -6px 24px rgba(0, 0, 0, .12); transform: translateY(100%); transition: transform 350ms var(--ease-emphasis); }
.sticky-bar.show { transform: none; }
.sticky-bar .btn { min-height: 48px; }
.sticky-bar .btn-white { padding-inline: 20px; }
@media (min-width: 600px) { .sticky-bar { display: none; } }

/* ---------- Popup (modal on tablet/desktop, bottom sheet on phones) ---------- */
.popup { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; visibility: hidden; }
.popup.is-open, .popup.is-closing { visibility: visible; }
.popup-backdrop { position: absolute; inset: 0; background: var(--backdrop); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity 250ms var(--ease-standard); }
.popup.is-open .popup-backdrop { opacity: 1; }
.popup.is-closing .popup-backdrop { opacity: 0; transition: opacity 200ms var(--ease-exit); }
.popup-dialog { position: relative; width: 100%; max-width: 920px; max-height: calc(100dvh - 48px); display: grid; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 100px rgba(0, 0, 0, .35);
  opacity: 0; transform: translateY(16px) scale(.96); transition: opacity 300ms var(--ease-emphasis), transform 350ms var(--ease-emphasis); }
.popup.is-open .popup-dialog { opacity: 1; transform: none; }
.popup.is-closing .popup-dialog { opacity: 0; transform: scale(.98); transition: opacity 200ms var(--ease-exit), transform 200ms var(--ease-exit); }
.popup-panel { position: relative; display: none; color: var(--on-dark); isolation: isolate; }
.popup-panel-media { position: absolute; inset: 0; z-index: -1; }
.popup-panel-media picture { display: block; height: 100%; }
.popup-panel-media img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 50%; }
.popup-panel-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 36, 28, .35) 0%, rgba(17, 36, 28, .25) 40%, rgba(17, 36, 28, .88) 72%, rgba(17, 36, 28, .95) 100%); }
.popup-banner { position: relative; height: 96px; display: flex; align-items: center; padding-inline: 32px; isolation: isolate; }
.popup-banner .popup-panel-media::after { background: linear-gradient(90deg, rgba(17, 36, 28, .7), rgba(17, 36, 28, .25)); }
.popup-banner img.logo-img { height: 40px; width: auto; }
.popup-main { position: relative; overflow-y: auto; overscroll-behavior: contain; padding: 36px 40px 30px; }
.popup-close { position: absolute; right: 24px; top: 24px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--sand); color: var(--ink); transition: background-color 200ms; }
.popup-close .icon { width: 18px; height: 18px; }
@media (hover: hover) { .popup-close:hover { background: #E3DACA; } }
.popup .form-card { box-shadow: none; padding: 0; border-radius: 0; }
.popup .lf-head .eyebrow { padding-right: 48px; }
.sheet-handle { display: none; }
@media (min-width: 600px) and (max-width: 1023.98px) { .popup-dialog { max-width: 600px; } .popup-main { padding: 32px 40px 34px; } }
@media (min-width: 1024px) {
  .popup-dialog { grid-template-columns: 360px 1fr; }
  .popup-banner { display: none; }
  .popup-panel { display: flex; flex-direction: column; justify-content: space-between; padding: 32px; }
  .popup-panel .logo-img { height: 40px; width: auto; }
  .popup-panel-copy { display: grid; gap: 14px; }
  .popup-panel-title { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.15; }
  .popup-panel .checklist { gap: 10px; font-size: 14px; }
  .popup-panel-logos { display: flex; align-items: center; gap: 16px; padding-top: 18px; margin-top: 4px; border-top: 1px solid rgba(246, 242, 234, .2); }
  .popup-panel-logos img { flex: none; width: auto; opacity: .95; }
  .popup-panel-logos img[data-k="greenpark"] { height: 16px; }
  .popup-panel-logos img[data-k="treasure_hill"] { height: 10px; }
  .popup-panel-logos img[data-k="starlane"] { height: 21px; }
}
@media (min-width: 1680px) { .popup-dialog { max-width: 1040px; grid-template-columns: 400px 1fr; } }
@media (max-width: 599.98px) {
  .popup { padding: 0; place-items: end stretch; }
  .popup-dialog { max-width: none; max-height: calc(100dvh - 24px); border-radius: 22px 22px 0 0; transform: translateY(100%); opacity: 1;
    transition: transform 400ms var(--ease-emphasis); padding-bottom: env(safe-area-inset-bottom); }
  .popup.is-open .popup-dialog { transform: none; }
  .popup.is-closing .popup-dialog { opacity: 1; transform: translateY(100%); transition: transform 300ms var(--ease-exit); }
  .popup.is-dragging .popup-dialog { transition: none; }
  .popup-banner { display: none; }
  .popup-main { padding: 22px 20px 24px; }
  .sheet-handle { display: block; position: absolute; left: 50%; top: 0; translate: -50% 0; width: 100%; height: 26px; z-index: 3; touch-action: none; background: none; border: 0; }
  .sheet-handle::before { content: ""; position: absolute; left: 50%; top: 9px; translate: -50% 0; width: 42px; height: 4px; border-radius: 4px; background: #D6CFC1; }
  .popup-close { right: 16px; top: 22px; width: 36px; height: 36px; }
  .popup .lf-head { gap: 4px; }
  .popup .lf-sub { display: none; }
  .popup .radio-card { min-height: 52px; justify-content: center; }
  .popup .rc-text small { display: none; }
  .popup .rc-text strong { font-size: 14px; }
}

/* ---------- System pages (404, 500, 503, thank you, closed, unsubscribed) ---------- */
.sys { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; color: var(--on-dark); isolation: isolate; }
.sys .hero-media::after { background: linear-gradient(180deg, rgba(17, 36, 28, .86), rgba(17, 36, 28, .9)); }
.sys-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.sys-header .logo img { height: 40px; }
.sys-main { flex: 1; display: grid; align-items: center; padding-block: 32px 48px; }
.sys-center { display: grid; justify-items: center; text-align: center; gap: 18px; max-width: 640px; margin-inline: auto; }
.sys-code { font-family: var(--font-display); font-weight: 300; font-size: 120px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--brass-light); letter-spacing: -.02em; }
.sys-title { font-family: var(--font-display); font-weight: 300; font-size: 40px; line-height: 1.08; letter-spacing: -.015em; color: var(--on-dark); }
.sys-text { font-size: 16px; line-height: 1.6; color: var(--on-dark-2); }
.sys-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-top: 8px; width: 100%; }
.sys-quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 6px; font-size: 15px; color: var(--on-dark-2); }
.sys-small { font-size: 12px; color: var(--on-dark-3); letter-spacing: .04em; }
.sys-footer { padding: 18px 0 calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(246, 242, 234, .12); text-align: center; font-size: 12px; line-height: 1.6; color: var(--on-dark-3); }
.sys-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(246, 242, 234, .1); color: var(--brass-light); }
.sys-icon .icon { width: 28px; height: 28px; }
.sys-card { width: 100%; max-width: 720px; margin-inline: auto; background: #fff; color: var(--ink); border-radius: 20px; box-shadow: var(--shadow-form); padding: 36px 22px 30px; display: grid; justify-items: center; text-align: center; gap: 16px; }
.sys-card .sys-title { color: var(--ink); font-size: 34px; }
.sys-card .sys-text { color: var(--muted); }
.ty-steps { width: 100%; display: grid; gap: 10px; margin-top: 6px; text-align: left; }
.ty-step { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--panel); font-size: 15px; line-height: 1.35; }
.ty-num { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brass-btn); color: #fff; font-size: 13px; font-weight: 600; }
.closed-grid { display: grid; gap: 32px; align-items: center; }
.closed-copy { display: grid; gap: 20px; }
.closed-copy .sys-title { font-size: 40px; }
.closed-copy .built-by-logos { display: flex; align-items: center; gap: 22px; }
.closed-copy .built-by-logos img { height: 24px; width: auto; }
@media (min-width: 600px) {
  .sys-header { height: 88px; }
  .sys-header .logo img { height: 46px; }
  .sys-code { font-size: 168px; }
  .sys-title { font-size: 52px; }
  .sys-text { font-size: 17px; }
  .sys-actions { flex-direction: row; justify-content: center; width: auto; }
  .sys-card { padding: 48px 56px 44px; }
  .sys-card .sys-title { font-size: 44px; }
  .ty-steps { grid-template-columns: repeat(3, 1fr); }
  .ty-step { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px 16px 20px; }
  .closed-copy .sys-title { font-size: 52px; }
}
@media (min-width: 1024px) {
  .closed-grid { grid-template-columns: minmax(0, 1fr) var(--form-w); gap: 72px; }
  .closed-copy .sys-title { font-size: 60px; }
}

/* ---------- Preview ribbon (admin preview only) ---------- */
.preview-ribbon { position: fixed; left: 50%; bottom: 16px; translate: -50% 0; z-index: 120; padding: 8px 16px; border-radius: 999px; background: var(--brass); color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); pointer-events: none; }

/* ---------- Motion: hero intro and scroll reveals ---------- */
.js .hero-intro .hero-media img { animation: hero-photo var(--dur-hero) ease-out both; }
.js .hero-intro .site-top-anim { animation: fade-down 500ms var(--ease-standard) 200ms both; }
.js .hero-intro [data-intro] { animation: rise 600ms var(--ease-emphasis) both; animation-delay: var(--d, 0ms); }
.js .hero-intro [data-intro="card"] { animation: rise-lg 700ms var(--ease-emphasis) 550ms both; }
@keyframes hero-photo { from { transform: scale(1.08); } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-16px); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes rise-lg { from { opacity: 0; transform: translateY(40px); } }

.reveal-ready [data-reveal] { opacity: 0; transform: translateY(var(--move-md)); transition: opacity var(--dur-reveal) var(--ease-emphasis), transform var(--dur-reveal) var(--ease-emphasis); transition-delay: var(--d, 0ms); }
.reveal-ready [data-reveal="card"] { transform: translateY(var(--move-lg)); transition-duration: 700ms; }
.reveal-ready [data-reveal].is-revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .spinner { animation: spin 800ms linear infinite !important; }
  .reveal-ready [data-reveal] { transform: none !important; transition: opacity 150ms linear !important; }
  .js .hero-intro [data-intro], .js .hero-intro [data-intro="card"], .js .hero-intro .site-top-anim, .js .hero-intro .hero-media img { animation: fade 150ms linear both !important; }
  .popup-dialog, .popup.is-open .popup-dialog, .popup.is-closing .popup-dialog { transform: none !important; transition: opacity 150ms linear !important; }
  .popup:not(.is-open) .popup-dialog, .popup.is-closing .popup-dialog { opacity: 0 !important; }
  .sticky-bar { transition: opacity 150ms linear !important; transform: none; opacity: 0; pointer-events: none; }
  .sticky-bar.show { opacity: 1; pointer-events: auto; }
  .mobile-menu .mm-links li, .mobile-menu .mm-actions > * { transform: none !important; }
  .form-card.shake, .nudge { animation: none !important; }
  .b-card, .benefit, .btn { transform: none !important; }
}
@keyframes fade { from { opacity: 0; } }

/* ---------- Print ---------- */
@media print { .site-top, .sticky-bar, .popup, .mobile-menu, .cal-card { display: none !important; } .hero { color: #000; } }

/* System page extras */
.pill-dot-brass, .pill-maint .pill-dot { background: var(--brass-light); box-shadow: 0 0 0 3px rgba(217, 194, 154, .18); }
.sys-center .pill { justify-self: center; }
.sys-center .sys-title { max-width: 760px; }
.sys-center .sys-text { max-width: 600px; }
.sys-actions form { display: contents; }
.closed-form .form-card { width: 100%; }

/* Tablet: map above the location copy; hero subheadline uses the full width. */
@media (min-width: 600px) and (max-width: 1023.98px) {
  .map-frame { order: -1; }
  .hero-sub { max-width: none; }
}

/* Phones: the two "I am a" cards stack (the bottom sheet keeps them side by side, titles only). */
@media (max-width: 599.98px) {
  .radio-cards { grid-template-columns: 1fr; }
  .radio-card { min-height: 62px; }
  .popup .radio-cards { grid-template-columns: 1fr 1fr; }
  .popup .radio-card { min-height: 50px; }
}

/* Registration closed page */
.closed-copy .built-by-logos { flex-wrap: wrap; }
.closed-copy .built-by-logos img[src*="greenpark"] { height: 20px; }
.closed-copy .built-by-logos img[src*="treasure-hill"] { height: 13px; }
.closed-copy .built-by-logos img[src*="starlane"] { height: 24px; }
@media (max-width: 1023.98px) {
  .closed-copy { justify-items: center; text-align: center; gap: 16px; }
  .closed-copy .pill { justify-self: center; }
  .closed-copy .built-by-logos { justify-content: center; }
}
@media (max-width: 599.98px) {
  .closed-copy .sys-title { font-size: 32px; }
  .closed-copy .sys-text { font-size: 15px; }
  .closed-grid { gap: 24px; }
  .sys-closed .sys-main { padding-top: 8px; }
}
@media (min-width: 600px) {
  .closed-copy .built-by-logos img[src*="greenpark"] { height: 24px; }
  .closed-copy .built-by-logos img[src*="treasure-hill"] { height: 16px; }
  .closed-copy .built-by-logos img[src*="starlane"] { height: 30px; }
}
@media (max-width: 599.98px) {
  .closed-copy .built-by-logos { gap: 18px; }
  .closed-copy .built-by-logos img[src*="greenpark"] { height: 17px; }
  .closed-copy .built-by-logos img[src*="treasure-hill"] { height: 11px; }
  .closed-copy .built-by-logos img[src*="starlane"] { height: 21px; }
}
@media (min-width: 1024px) { .closed-copy { max-width: 600px; } }

/* Narrow widths: let long buttons wrap, and drop the nav phone button on small tablets. */
.sys-actions { flex-wrap: wrap; justify-content: center; }
.sys-actions .btn, .success-actions .btn, .final-actions .btn { white-space: normal; }
.sys-card, .sys-center { min-width: 0; }
@media (min-width: 600px) and (max-width: 719.98px) { .nav-phone { display: none; } .sys-card { padding: 40px 28px 36px; } }
@media (max-width: 359.98px) { .lf-row { grid-template-columns: 1fr; } .hero .h1 { font-size: 46px; } }
@media (min-width: 600px) { .built-by { gap: clamp(16px, 2.4vw, 28px); } .built-by-logos { gap: clamp(14px, 2.4vw, 28px); } }

/* Tablet and phones: the hero photo shows across the full width, so the overlay is more even (Figma). */
@media (max-width: 1023.98px) {
  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(17, 36, 28, .9) 0%, rgba(17, 36, 28, .8) 55%, rgba(17, 36, 28, .7) 100%),
      linear-gradient(180deg, rgba(17, 36, 28, .3) 0%, rgba(17, 36, 28, 0) 30%, rgba(17, 36, 28, .35) 100%);
  }
}
