/* M3M Forestia West, presented by Quantum Advisory NCR
   Layout: full-bleed render bands in deep canopy green, alternating with a pale lichen reading column.
   Content is left-aligned on a 1180px wrap. One bold moment (the hero name); everything else stays quiet. */

:root {
  --paper: #EDF0E6;        /* lichen: main reading ground */
  --paper-2: #E2E7D8;      /* deeper lichen: alternate sections */
  --white: #FAFBF6;        /* form cards, plan backgrounds */
  --ink: #16271C;          /* bark: body text */
  --ink-soft: #4A5A4E;     /* secondary text */
  --canopy: #123524;       /* deep forest: hero, bands, header */
  --canopy-2: #1C4731;
  --canopy-deep: #0C2619;  /* footer */
  --sage: #6E8B67;
  --brass: #B8914F;        /* buttons, rules */
  --brass-ink: #7A5821;    /* brass text on light ground */
  --brass-light: #DCC08A;  /* brass text on dark ground */
  --line: #C6CEBB;
  --line-dark: rgba(220, 192, 138, 0.28);
  --error: #9B2C1E;

  --font-display: "Bodoni Moda", "Albert Sans", "Bodoni 72", Didot, "Times New Roman", Georgia, serif;
  --font-body: "Albert Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: 20px;
  --radius: 3px;
  --bar-h: 58px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  background: var(--canopy);
  z-index: 60;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
dl, dd { margin: 0; }
figure { margin: 0; }
button { font: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.wrap {
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-brass { background: var(--brass); color: var(--canopy); }
.btn-brass:hover { background: var(--brass-light); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 0.92rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.link-btn {
  background: none; border: 0; padding: 0;
  color: var(--brass-ink); text-decoration: underline; text-underline-offset: 3px;
  font-weight: 600; cursor: pointer;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--canopy);
  color: var(--white);
  border-bottom: 1px solid var(--line-dark);
}
.header-row { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; white-space: nowrap; }
.brand-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; letter-spacing: 0.01em; }
.brand-sub { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; color: var(--brass-light); }
.main-nav { display: none; gap: 26px; margin-left: auto; }
.main-nav a { text-decoration: none; font-size: 0.93rem; color: rgba(250, 251, 246, 0.82); }
.main-nav a:hover { color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.header-phone { display: none; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.header-phone svg { width: 16px; height: 16px; fill: var(--brass-light); }
@media (min-width: 680px) { .header-phone { display: inline-flex; } }
/* Small phones (320–379px): keep the brand and the Enquire button on one line. */
@media (max-width: 379px) {
  .header-row { gap: 10px; }
  .brand { gap: 5px; }
  .brand-name { font-size: 1.08rem; }
  .brand-sub { font-size: 0.7rem; letter-spacing: 0.1em; }
  .header-actions .btn-small { padding: 0 12px; }
}
@media (min-width: 1040px) {
  .main-nav { display: flex; }
  .header-actions { margin-left: 32px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--canopy);
  color: var(--white);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
  animation: settle 1.8s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 53, 36, 0.94) 0%, rgba(18, 53, 36, 0.78) 38%, rgba(18, 53, 36, 0.2) 72%, rgba(18, 53, 36, 0.05) 100%),
    linear-gradient(0deg, rgba(18, 53, 36, 0.7) 0%, rgba(18, 53, 36, 0) 40%);
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 40px;
  padding-block: 88px 80px;
  align-items: end;
}
.hero-copy { min-width: 0; }
.hero-kicker { font-size: 0.95rem; color: rgba(250, 251, 246, 0.88); max-width: 42ch; text-shadow: 0 1px 12px rgba(12, 38, 25, 0.8); }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 20;
  font-size: clamp(3.3rem, 8.6vw, 7.4rem);
  line-height: 0.94;
  letter-spacing: -0.01em;
  margin: 18px 0 22px;
  text-shadow: 0 2px 24px rgba(12, 38, 25, 0.45);
}
.h1-small {
  display: block;
  font-size: 0.3em;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--brass-light);
  margin-bottom: 0.25em;
}
.hero-lede { font-size: 1.2rem; line-height: 1.5; max-width: 36ch; color: rgba(250, 251, 246, 0.92); }
.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  max-width: 640px;
}
.hero-facts dt { font-size: 0.82rem; color: var(--brass-light); }
.hero-facts dd { font-family: var(--font-display); font-size: 1.65rem; line-height: 1.2; font-variant-numeric: lining-nums tabular-nums; }
.hero-facts small { font-family: var(--font-body); font-size: 0.8rem; color: rgba(250, 251, 246, 0.75); }

/* Four across only when each figure has room; otherwise 2 × 2 (also beside the form on mid-size screens). */
@media (min-width: 760px) and (max-width: 959px), (min-width: 1200px) {
  .hero-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.hero-facts dd { white-space: nowrap; }
@media (max-width: 379px) {
  .hero-facts dd { font-size: 1.5rem; }
  .hero-facts dd small { display: block; line-height: 1.3; }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; padding-block: 112px 96px; }
}
@media (max-width: 959px) {
  .hero-img { height: 78vw; inset: 0 0 auto 0; object-position: 50% 50%; }
  .hero-shade {
    background: linear-gradient(180deg, rgba(18, 53, 36, 0.05) 0, rgba(18, 53, 36, 0.35) 40vw, var(--canopy) 78vw);
  }
  .hero-grid { padding-top: 46vw; padding-bottom: 48px; }
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 30px 60px -32px rgba(0, 0, 0, 0.55);
  min-width: 0;
}
.form-title { font-family: var(--font-display); font-weight: 500; font-size: 1.55rem; line-height: 1.15; }
.form-note { font-size: 0.92rem; color: var(--ink-soft); margin-top: 8px; }
.lead-form { display: grid; gap: 14px; margin-top: 20px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.86rem; font-weight: 500; color: var(--ink-soft); }
.field input, .field select, .phone-input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.field input, .field select { padding: 0 12px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 2px rgba(184, 145, 79, 0.35); }
.phone-input { display: flex; align-items: stretch; overflow: hidden; }
.phone-input span { display: flex; align-items: center; padding: 0 10px 0 12px; color: var(--ink-soft); border-right: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.phone-input input { border: 0; border-radius: 0; min-height: 46px; min-width: 0; }
.phone-input:focus-within { border-color: var(--brass); box-shadow: 0 0 0 2px rgba(184, 145, 79, 0.35); }
.phone-input input:focus { box-shadow: none; }
.field.has-error input, .field.has-error .phone-input { border-color: var(--error); }
.field-error { font-size: 0.82rem; color: var(--error); }
.form-status { font-size: 0.92rem; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); }
.form-status .btn { margin-top: 10px; }
.consent { font-size: 0.76rem; line-height: 1.45; color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 959px) {
  .hero .form-card { box-shadow: none; }
}

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--canopy-2); color: rgba(250, 251, 246, 0.86); }
.trust-row { display: grid; gap: 14px 40px; padding-block: 20px; font-size: 0.9rem; line-height: 1.45; }
.trust-row strong { display: block; color: var(--brass-light); font-weight: 600; }
@media (min-width: 760px) { .trust-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-alt { background: var(--paper-2); }
.section h2, .grove h2, .figures h2, .contact h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head h2 { margin-bottom: 16px; }
.lede { font-size: 1.14rem; line-height: 1.6; color: var(--ink-soft); max-width: 62ch; }
.footnote { font-size: 0.84rem; color: var(--ink-soft); margin-top: 22px; max-width: 78ch; }

.split { display: grid; gap: 40px; align-items: center; }
.split-text { min-width: 0; display: grid; gap: 18px; }
.split-text h2 { margin-bottom: 2px; }
.split-media figcaption, .club-grid figcaption, .loc-map figcaption { font-size: 0.82rem; color: var(--ink-soft); margin-top: 8px; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 72px; }
  .split-reverse .split-text { order: 2; }
}

.reasons { list-style: none; display: grid; gap: 22px 32px; margin-top: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.reasons h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; margin-bottom: 4px; }
.reasons p { font-size: 0.96rem; color: var(--ink-soft); }
@media (min-width: 560px) { .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Price list ---------- */
.price-list { list-style: none; border-top: 1px solid var(--ink); }
.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 20px;
  align-items: center;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}
.price-size { font-size: 0.95rem; color: var(--ink-soft); white-space: nowrap; }
.price-size .num { font-family: var(--font-display); font-size: 2.5rem; line-height: 1; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; margin-right: 4px; }
.price-rooms { grid-column: 1 / -1; font-size: 0.95rem; color: var(--ink-soft); max-width: 60ch; }
.price-amt { font-family: var(--font-display); font-size: 1.55rem; text-align: right; font-variant-numeric: lining-nums tabular-nums; grid-row: 1; grid-column: 2; }
.price-label { display: block; font-family: var(--font-body); font-size: 0.78rem; color: var(--ink-soft); }
.price-row .btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 860px) {
  .price-row { grid-template-columns: 190px minmax(0, 1fr) 150px auto; gap: 28px; }
  .price-rooms { grid-column: auto; }
  .price-amt { grid-row: auto; grid-column: auto; }
  .price-row .btn { grid-column: auto; justify-self: end; }
}

/* ---------- Payment plan ---------- */
.plan-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.92rem; }
.plan-controls-label { color: var(--ink-soft); margin-right: 6px; }
.plan-controls-unit { color: var(--ink-soft); margin-left: 4px; }
.plan-controls label {
  position: relative;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  background: var(--white);
}
.plan-controls input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.plan-controls label:has(input:checked) { background: var(--canopy); border-color: var(--canopy); color: var(--white); }
.plan-controls label:has(input:focus-visible) { outline: 2px solid var(--brass); outline-offset: 2px; }

.plan-bar { display: flex; gap: 3px; height: 44px; margin-top: 28px; }
.plan-bar .seg { flex: var(--w) 1 0; min-width: 6px; }
.seg.p1 { background: var(--brass); }
.seg.p2 { background: var(--sage); }
.seg.p3 { background: var(--canopy); }
.plan-bar-legend { display: flex; gap: 3px; margin-top: 8px; font-size: 0.8rem; line-height: 1.3; color: var(--ink-soft); }
.plan-bar-legend span { flex: var(--w) 1 0; min-width: 0; padding-right: 8px; }

.plan-steps { list-style: none; margin-top: 36px; border-top: 1px solid var(--ink); }
.plan-steps li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 16px;
  padding: 14px 0 14px 16px;
  border-bottom: 1px solid var(--line);
  border-left: 4px solid var(--canopy);
  font-variant-numeric: tabular-nums;
}
.plan-steps li:nth-child(-n+3) { border-left-color: var(--brass); }
.plan-steps li:nth-child(4) { border-left-color: var(--sage); }
.plan-steps .when { font-weight: 600; }
.plan-steps .what { color: var(--ink-soft); font-size: 0.93rem; grid-column: 1; }
.plan-steps .amt { font-family: var(--font-display); font-size: 1.3rem; text-align: right; grid-column: 2; grid-row: 1; }
.plan-steps .cum { font-size: 0.82rem; color: var(--ink-soft); text-align: right; grid-column: 2; grid-row: 2; }
@media (min-width: 760px) {
  .plan-steps li { grid-template-columns: 200px minmax(0, 1fr) 140px 90px; align-items: baseline; }
  .plan-steps .what { grid-column: auto; }
  .plan-steps .amt, .plan-steps .cum { grid-column: auto; grid-row: auto; }
}

/* ---------- Floor plans ---------- */
.fp-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.fp-tabs button {
  flex: 0 0 auto;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 12px 16px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.fp-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--brass); }
@media (max-width: 479px) { .fp-tabs button { padding: 12px 9px; font-size: 0.9rem; } }
.fp-panel { display: grid; gap: 28px; margin-top: 28px; }
@media (min-width: 900px) { .fp-panel { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 56px; align-items: start; } }
.fp-image { position: relative; background: #FBFBF7; border: 1px solid var(--line); overflow: hidden; }
.fp-image img { width: 100%; transition: filter 0.4s ease; }
.fp-image.locked img { filter: blur(10px) saturate(0.9); transform: scale(1.04); }
.fp-lock {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: 12px;
  background: rgba(237, 240, 230, 0.35);
  text-align: center;
  padding: 16px;
}
.fp-lock p { font-family: var(--font-display); font-size: 1.4rem; }
.fp-image:not(.locked) .fp-lock { display: none; }
.fp-rooms div { display: flex; justify-content: space-between; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.fp-rooms div:first-child { border-top: 1px solid var(--ink); }
.fp-rooms dt { color: var(--ink-soft); font-size: 0.95rem; }
.fp-rooms dd { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }

/* ---------- Eden Club ---------- */
.club-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 16px;
}
.club-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.club-grid .g-a, .club-grid .g-b { grid-column: span 2; }
.club-grid .g-a img, .club-grid .g-b img { aspect-ratio: 16 / 9; }
@media (min-width: 900px) {
  .club-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 20px; }
}

/* ---------- Central Grove ---------- */
.grove { position: relative; min-height: clamp(440px, 58vw, 720px); display: flex; align-items: flex-end; color: var(--white); background: var(--canopy); overflow: hidden; }
.grove-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.grove::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 38, 25, 0.92) 0%, rgba(12, 38, 25, 0.6) 40%, rgba(12, 38, 25, 0) 75%); }
@media (max-width: 639px) {
  .grove::after { background: linear-gradient(0deg, rgba(12, 38, 25, 0.95) 0%, rgba(12, 38, 25, 0.8) 50%, rgba(12, 38, 25, 0) 85%); }
}
.grove-copy { position: relative; z-index: 1; width: 100%; padding-block: 48px 56px; display: grid; gap: 14px; }
.grove-copy p { max-width: 54ch; font-size: 1.1rem; color: rgba(250, 251, 246, 0.9); }

.feature-strip { list-style: none; display: grid; gap: 34px 26px; }
.feature-strip img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.feature-strip h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; margin: 14px 0 4px; }
.feature-strip p { font-size: 0.96rem; color: var(--ink-soft); }
@media (min-width: 640px) { .feature-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .feature-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.amenity-groups { display: grid; gap: 26px 32px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--ink); }
.amenity-groups h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.amenity-groups p { font-size: 0.95rem; color: var(--ink-soft); }
@media (min-width: 640px) { .amenity-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .amenity-groups { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Figures band ---------- */
.figures { background: var(--canopy); color: var(--white); padding-block: clamp(64px, 9vw, 104px); }
.figures-note { font-size: 0.86rem; color: var(--brass-light); margin-top: 10px; }
.figure-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; margin-top: 44px; }
.figure-grid > div { border-top: 1px solid var(--line-dark); padding-top: 16px; min-width: 0; }
.figure-grid dt { font-size: 0.86rem; color: var(--brass-light); }
.figure-grid dd { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.1; margin-top: 6px; font-variant-numeric: lining-nums; }
.figure-grid dd span { font-size: clamp(2.6rem, 5.5vw, 3.8rem); }
.figure-grid p { font-size: 0.9rem; color: rgba(250, 251, 246, 0.72); margin-top: 6px; }
@media (min-width: 860px) { .figure-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; } }

/* ---------- Masterplan ---------- */
.mp-link { position: relative; display: block; border: 1px solid var(--line); background: var(--white); }
.mp-link img { width: 100%; }
.mp-hint { position: absolute; right: 12px; bottom: 12px; background: var(--canopy); color: var(--white); font-size: 0.82rem; font-weight: 600; padding: 6px 12px; border-radius: var(--radius); }

/* ---------- Specifications ---------- */
.spec-grid { display: grid; gap: 36px 32px; }
@media (min-width: 640px) { .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .spec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.spec h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.spec dl > div { padding-block: 10px; border-bottom: 1px solid var(--line); }
.spec dt { font-size: 0.8rem; color: var(--ink-soft); }
.spec dd { font-size: 0.98rem; }

/* ---------- Location ---------- */
.loc-map img { width: 100%; border: 1px solid var(--line); }
@media (max-width: 639px) { .loc-map img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 54% 50%; } }
.loc-map a { color: var(--brass-ink); font-weight: 600; }
.loc-cols { display: grid; gap: 36px 32px; margin-top: 44px; }
@media (min-width: 640px) { .loc-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .loc-cols { grid-template-columns: 1.15fr 1.15fr 0.85fr 0.85fr; } }
.loc-cols h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.plain { list-style: none; }
.plain li { padding-block: 10px; border-bottom: 1px solid var(--line); font-size: 0.95rem; color: var(--ink-soft); }
.plain strong { display: block; color: var(--ink); font-weight: 600; }
.plain.compact li { padding-block: 7px; color: var(--ink); }

/* ---------- Developer ---------- */
.dev-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin-top: 8px; }
.dev-stats div { border-top: 1px solid var(--line); padding-top: 10px; }
.dev-stats dt { font-size: 0.85rem; color: var(--ink-soft); }
.dev-stats dd { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.2; font-variant-numeric: lining-nums; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: 28px; }
@media (min-width: 900px) { .faq-wrap { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 64px; align-items: start; } }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  position: relative;
  padding: 18px 40px 18px 0;
  font-weight: 600;
  font-size: 1.04rem;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; color: var(--brass-ink);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 20px; color: var(--ink-soft); max-width: 66ch; }
.faq a { color: var(--brass-ink); font-weight: 600; }

/* ---------- Contact ---------- */
.contact { background: var(--canopy); color: var(--white); padding-block: clamp(64px, 9vw, 104px); }
.contact-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr) 420px; gap: 72px; } }
.contact-copy { display: grid; gap: 18px; min-width: 0; }
.contact-copy > p { color: rgba(250, 251, 246, 0.85); max-width: 52ch; font-size: 1.1rem; }
.contact-lines { list-style: none; border-top: 1px solid var(--line-dark); }
.contact-lines li { display: flex; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line-dark); flex-wrap: wrap; }
.contact-lines li > span { width: 96px; color: var(--brass-light); font-size: 0.9rem; }
.contact-lines a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-lines a:hover { text-decoration: underline; }
.contact .form-card { box-shadow: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--canopy-deep);
  color: rgba(250, 251, 246, 0.72);
  font-size: 0.84rem;
  line-height: 1.55;
  padding-block: 48px calc(48px + env(safe-area-inset-bottom, 0px));
}
.footer-top { display: grid; gap: 8px; padding-bottom: 24px; border-bottom: 1px solid var(--line-dark); margin-bottom: 24px; }
.footer-brand { font-family: var(--font-display); font-size: 1.4rem; color: var(--white); }
.site-footer a { color: var(--brass-light); }
.disclaimer { display: grid; gap: 12px; max-width: 92ch; }

/* ---------- Mobile bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 899px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: grid; grid-template-columns: 1fr 1fr 1.25fr;
    background: var(--canopy);
    border-top: 1px solid var(--line-dark);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }
  .mobile-bar a, .mobile-bar button {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    min-height: var(--bar-h);
    color: var(--white); background: none; border: 0;
    font-weight: 600; font-size: 0.92rem; text-decoration: none; cursor: pointer;
  }
  .mobile-bar a + a { border-left: 1px solid var(--line-dark); }
  .mobile-bar svg { width: 18px; height: 18px; fill: var(--brass-light); }
  .mobile-bar button { background: var(--brass); color: var(--canopy); }
  .site-footer { padding-bottom: calc(48px + var(--bar-h) + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Dialog ---------- */
.form-dialog {
  width: min(440px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}
.form-dialog::backdrop { background: rgba(10, 32, 21, 0.62); }
.dialog-inner { position: relative; padding: 32px 28px 26px; }
.dialog-close {
  position: absolute; top: 6px; right: 6px;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  font-size: 1.7rem; line-height: 1; color: var(--ink-soft);
}
.dialog-inner .form-title { padding-right: 36px; }

/* ---------- Simple pages (thank you, privacy) ---------- */
.page-simple { min-height: 60vh; padding-block: clamp(56px, 10vw, 112px); }
.page-simple h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.05; margin-bottom: 18px; }
.page-simple .prose { display: grid; gap: 14px; max-width: 68ch; color: var(--ink-soft); }
.page-simple .prose h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; color: var(--ink); margin-top: 18px; }
.page-simple .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-img { animation: none; }
  .fp-image img, .btn { transition: none; }
}
