/* ==========================================================================
   Legacy Property Investments — site styles
   Quiet-finance system: white base, deep green, gold as a hairline accent,
   Source Serif 4 (headings) + Inter (text), square geometry.
   ========================================================================== */

:root {
  /* Brand */
  --green-950: #12221B;
  --green-900: #1F2F28;
  --green-700: #3A4F45;
  --gold: #B39559;
  --gold-soft: #E3CFA1;
  --gold-ink: #7A5F28;        /* gold for text on white (6:1) */

  /* Surfaces & text */
  --paper: #FFFFFF;
  --stone: #F6F5F1;
  --ink: #16241E;
  --ink-2: #4B5952;           /* secondary text (7:1 on white) */
  --rule: #E2E0D8;
  --rule-strong: #C9C6BB;
  --error: #9B2C2C;
  --success: #2F6B4F;
  --focus: #7A5F28;

  /* Type */
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --fs-h1: clamp(2.5rem, 1.4rem + 4.4vw, 4.75rem);
  --fs-h1-page: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
  --fs-h2: clamp(2rem, 1.5rem + 1.8vw, 3rem);
  --fs-h3: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);

  /* Layout */
  --wrap: 1200px;
  --gut: clamp(1rem, 0.4rem + 3vw, 2.5rem);
  --sec: clamp(4rem, 3rem + 5vw, 7rem);
  --header-h: 76px;
  --radius: 2px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.12; margin: 0; text-wrap: balance; }
p, ul, ol, dl, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--gold-soft); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0.01ms !important; } }

.skip-link { position: absolute; left: var(--gut); top: -100px; z-index: 100; background: var(--green-900); color: #fff; padding: 0.75rem 1rem; text-decoration: none; }
.skip-link:focus { top: 0.75rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.wrap--narrow { max-width: 820px; }
.sec { padding: var(--sec) 0; }
.sec--stone { background: var(--stone); }
.sec--rule { border-top: 1px solid var(--rule); }

/* ---------- Type helpers ---------- */
.label { font: 600 0.75rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }
.lead { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); color: var(--ink-2); max-width: 58ch; }
.muted { color: var(--ink-2); }
.prose p { max-width: 66ch; color: var(--ink-2); }
.prose p + p { margin-top: 1rem; }
.link { color: var(--green-900); font-weight: 500; text-underline-offset: 5px; text-decoration-color: var(--gold); }
.link:hover { text-decoration-color: var(--green-900); }

.sec__head { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
@media (min-width: 900px) { .sec__head { grid-template-columns: 1fr 1fr; align-items: end; gap: 4rem; } }
.sec__head h2 { margin-top: 1rem; }
.sec__head > p { color: var(--ink-2); max-width: 52ch; }
.sec__head--single { grid-template-columns: 1fr !important; max-width: 760px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0 1.5rem; border-radius: var(--radius);
  font: 500 0.9375rem/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1px solid var(--green-900); background: var(--green-900); color: #fff;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.btn:hover { background: var(--green-700); border-color: var(--green-700); }
.btn--light { background: #fff; border-color: #fff; color: var(--green-900); }
.btn--light:hover { background: var(--stone); border-color: var(--stone); }
.btn--outline { background: transparent; color: var(--green-900); border-color: var(--rule-strong); }
.btn--outline:hover { background: var(--stone); border-color: var(--green-900); }
.btn--lg { min-height: 54px; padding: 0 1.75rem; }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--rule); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: var(--header-h); }
.mark { display: flex; align-items: center; gap: 0.875rem; text-decoration: none; flex-shrink: 0; }
.mark__l { font: 400 2rem/1 var(--serif); color: var(--green-900); padding-right: 0.875rem; border-right: 1px solid var(--gold); }
.mark__name { display: flex; flex-direction: column; gap: 4px; }
.mark__name b { font: 500 1.0625rem/1 var(--serif); letter-spacing: 0.32em; color: var(--green-900); }
.mark__name small { font: 500 0.625rem/1 var(--sans); letter-spacing: 0.24em; color: var(--ink-2); }
.nav { display: none; }
.nav ul { list-style: none; padding: 0; display: flex; gap: 2rem; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.9375rem; text-decoration: none; border-bottom: 1px solid transparent; }
.nav a:hover { border-color: var(--gold); }
.nav a[aria-current="page"] { border-color: var(--green-900); }
.hdr__cta { display: none; }
.menu-btn { display: inline-flex; align-items: center; gap: 0.625rem; min-height: 44px; padding: 0 0.875rem; background: none; border: 1px solid var(--rule-strong); border-radius: var(--radius); cursor: pointer; font-size: 0.875rem; font-weight: 500; }
.menu-btn__bars { width: 18px; height: 12px; position: relative; }
.menu-btn__bars span { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform 200ms ease, opacity 150ms ease; }
.menu-btn__bars span:nth-child(1) { top: 0; }
.menu-btn__bars span:nth-child(2) { top: 5px; }
.menu-btn__bars span:nth-child(3) { top: 10px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-btn__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.mobile-nav { display: none; position: fixed; inset: var(--header-h) 0 0; z-index: 39; background: var(--paper); overflow-y: auto; padding: 1rem var(--gut) 2.5rem; }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; padding: 0; border-top: 1px solid var(--rule); }
.mobile-nav li { border-bottom: 1px solid var(--rule); }
.mobile-nav li a { display: flex; align-items: center; min-height: 60px; font: 400 1.5rem/1.2 var(--serif); text-decoration: none; }
.mobile-nav li a[aria-current="page"] { color: var(--gold-ink); }
.mobile-nav .btn { width: 100%; margin-top: 2rem; }
.mobile-nav p { margin-top: 1.5rem; color: var(--ink-2); font-size: 0.9375rem; }
@media (min-width: 1040px) {
  .nav, .hdr__cta { display: flex; }
  .menu-btn, .mobile-nav { display: none !important; }
}

/* ---------- Home hero (full-bleed photography) ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 24, 20, 0.78) 0%, rgba(14, 24, 20, 0.45) 45%, rgba(14, 24, 20, 0.05) 75%), linear-gradient(0deg, rgba(14, 24, 20, 0.55), transparent 45%); }
@media (max-width: 899px) { .hero::after { background: linear-gradient(0deg, rgba(14, 24, 20, 0.82) 0%, rgba(14, 24, 20, 0.55) 60%, rgba(14, 24, 20, 0.35) 100%); } }
.hero .wrap { width: 100%; padding-top: 8rem; padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem); }
.hero .label { color: var(--gold-soft); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.875rem; }
.hero .label::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.hero h1 { font-size: var(--fs-h1); max-width: 17ch; }
.hero__sub { margin-top: 1.5rem; max-width: 52ch; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); color: rgba(255, 255, 255, 0.88); }
.hero__min { margin-top: 1.25rem; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.88); }
.hero__min strong { font-weight: 600; color: #fff; }
.hero .btn-row { margin-top: 2.25rem; }
.hero .text-link { color: #fff; font-weight: 500; font-size: 0.9375rem; text-underline-offset: 6px; text-decoration-color: rgba(255, 255, 255, 0.5); min-height: 44px; display: inline-flex; align-items: center; }
.hero .text-link:hover { text-decoration-color: #fff; }

/* ---------- Inner page header ---------- */
.page-head { padding: clamp(3.5rem, 2.5rem + 4vw, 6rem) 0 clamp(2.5rem, 2rem + 2vw, 3.5rem); border-bottom: 1px solid var(--rule); }
.page-head .label { margin-bottom: 1.25rem; }
.page-head h1 { font-size: var(--fs-h1-page); max-width: 20ch; }
.page-head .lead { margin-top: 1.5rem; }
.page-head .btn-row { margin-top: 2rem; }
.breadcrumb { margin-bottom: 2rem; font-size: 0.8125rem; color: var(--ink-2); }
.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.breadcrumb li { display: flex; align-items: center; min-height: 24px; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--rule-strong); }
.breadcrumb a { text-decoration: none; display: inline-flex; align-items: center; min-height: 24px; }
.breadcrumb a:hover { text-decoration: underline; }
.band { aspect-ratio: 21 / 8; overflow: hidden; background: var(--stone); }
.band img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .band { aspect-ratio: 16 / 10; } }

/* ---------- Proof strip ---------- */
.proof { border-bottom: 1px solid var(--rule); }
.proof ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .proof ul { grid-template-columns: repeat(4, 1fr); } }
.proof li { padding: 2.25rem 1.5rem 2.25rem 0; border-top: 1px solid var(--rule); }
.proof li:nth-child(-n+2) { border-top: 0; }
@media (min-width: 900px) { .proof li { border-top: 0; padding: 2.75rem 2rem; } .proof li + li { border-left: 1px solid var(--rule); } .proof li:first-child { padding-left: 0; } }
.proof strong { display: block; font: 400 clamp(2.25rem, 1.8rem + 1.6vw, 3.25rem)/1 var(--serif); color: var(--green-900); font-variant-numeric: lining-nums tabular-nums; }
.proof span { display: block; margin-top: 0.75rem; font-size: 0.875rem; color: var(--ink-2); max-width: 22ch; }

/* ---------- Investment products ---------- */
.ways { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .ways { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.way { border: 1px solid var(--rule); border-top: 2px solid var(--green-900); padding: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); display: flex; flex-direction: column; gap: 1.25rem; background: var(--paper); }
.way__num { font: 400 0.9375rem/1 var(--serif); color: var(--gold-ink); }
.way h3 { font-size: var(--fs-h3); }
.way > p { color: var(--ink-2); }
.way__foot { margin-top: auto; padding-top: 1rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 1rem; font-size: 0.875rem; color: var(--ink-2); }
.way__foot .link { display: inline-flex; align-items: center; min-height: 44px; }

/* Key/value tables */
.terms { display: grid; }
.terms div { display: flex; justify-content: space-between; gap: 1.5rem; padding: 0.875rem 0; border-top: 1px solid var(--rule); font-size: 0.9375rem; }
.terms div:last-child { border-bottom: 1px solid var(--rule); }
.way .terms div:last-child { border-bottom: 0; }
.terms dt { color: var(--ink-2); }
.terms dd { margin: 0; font-weight: 500; text-align: right; }

/* ---------- Model / numbered lists ---------- */
.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1000px) { .split { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.split--top { align-items: start; }
.split h2 { margin: 1rem 0 1.25rem; }
.split__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 999px) { .split__img { aspect-ratio: 16 / 10; } }
.numbered { list-style: none; padding: 0; counter-reset: n; margin-top: 2.5rem; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--rule); }
.numbered li:last-child { border-bottom: 1px solid var(--rule); }
.numbered li::before { content: "0" counter(n); font: 400 1rem/1.6 var(--serif); color: var(--gold-ink); }
.numbered strong { display: block; font-weight: 600; margin-bottom: 0.25rem; }
.numbered span { display: block; color: var(--ink-2); font-size: 0.9375rem; }

/* Horizontal process */
.process { list-style: none; padding: 0; display: grid; gap: 0; counter-reset: p; border-top: 1px solid var(--rule-strong); }
@media (min-width: 900px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process li { counter-increment: p; padding: 1.75rem 1.5rem 1.75rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 900px) { .process li { border-bottom: 0; padding: 2rem 2rem 0 0; } }
.process li::before { content: "0" counter(p); display: block; font: 400 1.75rem/1 var(--serif); color: var(--gold-ink); margin-bottom: 1.25rem; }
.process h3 { font: 600 1rem/1.4 var(--sans); letter-spacing: 0; margin-bottom: 0.5rem; }
.process p { color: var(--ink-2); font-size: 0.9375rem; }

/* Feature list (protection etc.) */
.features { display: grid; gap: 0; border-top: 1px solid var(--rule-strong); }
@media (min-width: 800px) { .features { grid-template-columns: 1fr 1fr; column-gap: 4rem; } }
.feature { padding: 1.75rem 0; border-bottom: 1px solid var(--rule); }
.feature h3 { font: 600 1rem/1.4 var(--sans); letter-spacing: 0; margin-bottom: 0.5rem; }
.feature p { color: var(--ink-2); font-size: 0.9375rem; max-width: 52ch; }

/* ---------- Projects ---------- */
.projects { display: grid; gap: 2rem; }
@media (min-width: 900px) { .projects { grid-template-columns: repeat(3, 1fr); } }
.project { display: flex; flex-direction: column; }
.project__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.project:hover .project__img img { transform: scale(1.02); }
.project__body { padding-top: 1.25rem; }
.project__meta { font-size: 0.8125rem; color: var(--ink-2); letter-spacing: 0.02em; }
.project h3 { font-size: 1.5rem; margin: 0.5rem 0 0.75rem; }
.project p { color: var(--ink-2); font-size: 0.9375rem; }
.status { display: inline-block; margin-top: 1rem; font: 600 0.6875rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-900); padding: 0.5rem 0.625rem; border: 1px solid var(--rule-strong); }

.case { display: grid; gap: 2rem; padding: clamp(3rem, 2rem + 3vw, 5rem) 0; border-top: 1px solid var(--rule); }
.case:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .case { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: start; } .case--flip .case__img { order: 2; } }
.case__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.case__img img { width: 100%; height: 100%; object-fit: cover; }
.case h2 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); margin: 0.75rem 0 1rem; }
.case .terms { margin-top: 1.75rem; }

/* ---------- Quote ---------- */
.quote { max-width: 900px; margin: 0 auto; text-align: center; }
.quote blockquote { margin: 0; font: 400 clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem)/1.35 var(--serif); }
.quote figcaption { margin-top: 1.75rem; font-size: 0.9375rem; color: var(--ink-2); }
.quote figcaption strong { color: var(--ink); font-weight: 600; }
.quote::before { content: ""; display: block; width: 40px; height: 1px; background: var(--gold); margin: 0 auto 2rem; }

/* ---------- Team ---------- */
.team { display: grid; gap: 2.5rem; }
@media (min-width: 720px) { .team { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.person__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.person__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(0.15); }
.person h3 { font-size: 1.5rem; margin-top: 1.25rem; }
.person__role { margin-top: 0.375rem; font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600; }
.person p { margin-top: 0.875rem; color: var(--ink-2); font-size: 0.9375rem; }

/* ---------- Insights ---------- */
.articles { display: grid; gap: 0; border-top: 1px solid var(--rule-strong); }
.article { display: grid; gap: 0.5rem 3rem; padding: 2rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 800px) { .article { grid-template-columns: 200px 1fr auto; align-items: baseline; } }
.article__meta { font-size: 0.8125rem; color: var(--ink-2); }
.article h2 { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); }
.article p { color: var(--ink-2); font-size: 0.9375rem; margin-top: 0.5rem; max-width: 60ch; }
.article__soon { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--rule-strong); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.5rem 0; min-height: 64px; font: 400 1.25rem/1.35 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 1.5rem/1 var(--sans); color: var(--gold-ink); transition: transform 200ms ease; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 0 1.75rem; color: var(--ink-2); max-width: 68ch; }
.faq .faq__a p + p { margin-top: 0.75rem; }

/* ---------- CTA band ---------- */
.cta { background: var(--green-900); color: #fff; }
.cta .wrap { display: grid; gap: 2rem; padding-top: clamp(3.5rem, 2.5rem + 3vw, 5rem); padding-bottom: clamp(3.5rem, 2.5rem + 3vw, 5rem); align-items: center; }
@media (min-width: 900px) { .cta .wrap { grid-template-columns: 1.5fr 1fr; } .cta .btn-row { justify-content: flex-end; } }
.cta .label { color: var(--gold-soft); }
.cta h2 { font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.75rem); margin-top: 1rem; max-width: 22ch; }
.cta p { margin-top: 1rem; color: rgba(255, 255, 255, 0.82); max-width: 52ch; }
.cta .text-link { color: #fff; font-weight: 500; text-underline-offset: 6px; text-decoration-color: rgba(255, 255, 255, 0.5); min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- Notice / risk boxes ---------- */
.notice { border-left: 2px solid var(--gold); background: var(--stone); padding: 1.25rem 1.5rem; font-size: 0.9375rem; color: var(--ink-2); }
.notice strong { color: var(--ink); }
.notice p + p { margin-top: 0.5rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 2.5rem; }
.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.fieldset legend { font: 400 1.5rem/1.2 var(--serif); padding: 0; margin-bottom: 0.25rem; }
.fieldset__intro { color: var(--ink-2); font-size: 0.9375rem; margin-top: -0.5rem; }
.row-2 { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field > label, .field__label { font-size: 0.875rem; font-weight: 500; }
.req { color: var(--error); }
.input, .select, .textarea { width: 100%; min-height: 50px; padding: 0.75rem 0.875rem; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: #fff; font-size: 1rem; transition: border-color 150ms ease, box-shadow 150ms ease; }
.textarea { min-height: 130px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231F2F28' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; cursor: pointer; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-2); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--green-900); box-shadow: 0 0 0 3px rgba(31, 47, 40, 0.15); }
.hint { font-size: 0.8125rem; color: var(--ink-2); }
.error { display: none; font-size: 0.8125rem; color: var(--error); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--error); }
.field.has-error .error { display: block; }
.options { display: grid; gap: 0.75rem; }
.option { display: grid; grid-template-columns: 20px 1fr; gap: 0.875rem; align-items: start; padding: 1rem 1.125rem; border: 1px solid var(--rule-strong); border-radius: var(--radius); cursor: pointer; transition: border-color 150ms ease, background-color 150ms ease; }
.option:hover { border-color: var(--ink-2); }
.option:has(input:checked) { border-color: var(--green-900); background: var(--stone); }
.option input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--green-900); }
.option strong { display: block; font-weight: 600; font-size: 0.9375rem; }
.option span { display: block; font-size: 0.875rem; color: var(--ink-2); margin-top: 0.25rem; }
.option ul { margin: 0.5rem 0 0; padding-left: 1.1rem; font-size: 0.8125rem; color: var(--ink-2); }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 0.875rem; align-items: start; font-size: 0.9375rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--green-900); }
.form-status { display: none; padding: 1rem 1.25rem; font-size: 0.9375rem; border-left: 2px solid; }
.form-status.is-success { display: block; background: #EEF5F0; border-color: var(--success); color: var(--success); }
.form-status.is-error { display: block; background: #F8ECEA; border-color: var(--error); color: var(--error); }
.form-status a { color: inherit; }
[hidden] { display: none !important; }

/* Contact details */
.details { display: grid; gap: 0; border-top: 1px solid var(--rule-strong); }
.details div { padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
.details dt { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--gold-ink); margin-bottom: 0.375rem; }
.details dd { margin: 0; font: 400 1.25rem/1.4 var(--serif); }
.details a { text-decoration: none; }
.details a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- Footer ---------- */
.ftr { background: var(--green-950); color: rgba(255, 255, 255, 0.78); font-size: 0.9375rem; }
.ftr { --focus: var(--gold-soft); }
.ftr a { text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.ftr__top { display: grid; gap: 2.5rem; padding: clamp(3.5rem, 3rem + 2vw, 4.5rem) 0 3rem; }
@media (min-width: 900px) { .ftr__top { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.ftr .mark__l { color: #fff; }
.ftr .mark__name b { color: #fff; }
.ftr .mark__name small { color: rgba(255, 255, 255, 0.7); }
.ftr__about { margin-top: 1.25rem; max-width: 34ch; }
.ftr h2 { font: 600 0.75rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1rem; }
.ftr ul { list-style: none; padding: 0; display: grid; gap: 0.25rem; }
.ftr ul a { display: inline-flex; align-items: center; min-height: 36px; color: #fff; }
.ftr address { font-style: normal; color: #fff; display: grid; gap: 0.75rem; }
.ftr__legal { border-top: 1px solid rgba(255, 255, 255, 0.14); padding: 2rem 0; display: grid; gap: 1rem; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.7); }
.ftr__legal p { max-width: 100ch; }
.ftr__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.ftr__links a { display: inline-flex; align-items: center; min-height: 32px; }

/* ---------- Legal pages ---------- */
.legal h2 { font-size: 1.5rem; margin: 2.75rem 0 1rem; }
.legal .notice + h2, .legal > h2:first-child { margin-top: 0; }
.legal .notice { margin-bottom: 2.75rem; }
.legal p, .legal li { color: var(--ink-2); max-width: 70ch; }
.legal p + p { margin-top: 0.875rem; }
.legal ul { margin: 0.875rem 0 0; padding-left: 1.25rem; display: grid; gap: 0.5rem; }
.legal strong { color: var(--ink); font-weight: 600; }

/* ---------- Placeholder highlighter (?placeholders in URL) ---------- */
.show-placeholders [data-placeholder] { outline: 2px dashed #E0732E !important; outline-offset: 3px; }
