/* Public pages (home, plot pages, visit, privacy) and the shared header/footer.
   Layout comes only from tokens.css (.l-wrap, .l-grid, span classes) and the spacing scale. */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: var(--t-m); line-height: var(--lh-body); color: var(--ink); background: var(--paper); }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: var(--lh-tight); letter-spacing: -0.01em; }
h1 { font-size: var(--t-2xl); }
h2 { font-size: var(--t-xl); }
h3 { font-size: var(--t-l); }
@media (min-width: 1024px) { h1 { font-size: var(--t-3xl); } h2 { font-size: var(--t-2xl); } }
p { margin: 0; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--logo-gold); }
:focus-visible { outline: 3px solid var(--logo-gold); outline-offset: 2px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: var(--s3); top: var(--s3); z-index: 99; background: var(--paper); padding: var(--s2) var(--s3); }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-2); }

/* Buttons: rectangular, one height, action-named */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 48px; padding: 0 var(--s5);
  border: 1px solid transparent; border-radius: var(--radius); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--plan-green); color: #fff; }
.btn-primary:hover { background: var(--plan-green-2); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #0e6a3b; }
.btn-secondary { border-color: var(--ink); color: var(--ink); background: var(--paper); }
.btn-secondary:hover { background: var(--ivory); }
.btn[aria-disabled="true"], .btn:disabled { opacity: .45; pointer-events: none; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }

/* Header: logo on the first columns, navigation ending on the last column */
.site-header { background: var(--plan-green); color: #fff; border-bottom: 1px solid rgba(184,137,58,.55); position: sticky; top: 0; z-index: 40; }
.site-header .l-grid { min-height: var(--header-h); align-items: center; }
.brand { grid-column: span 3; display: flex; align-items: center; gap: var(--s3); color: #fff; text-decoration: none; min-width: 0; }
.brand img { flex: none; display: block; }
.brand-mark { width: 40px; height: 34px; }
.brand-word { width: 150px; height: auto; }
@media (min-width: 1024px) { .brand-mark { width: 44px; height: 37px; } .brand-word { width: 168px; } }
.nav { display: none; }
.menu { grid-column: span 1; justify-self: end; position: relative; }
.menu summary { list-style: none; cursor: pointer; min-height: 44px; padding: 0 var(--s3); display: flex; align-items: center; gap: var(--s2);
  border: 1px solid rgba(255,255,255,.35); border-radius: var(--radius); font-weight: 600; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }
.menu[open] summary { background: rgba(255,255,255,.1); }
.menu-panel { position: absolute; right: 0; top: calc(100% + var(--s3)); width: min(320px, 100vw - 2 * var(--margin)); background: var(--paper); color: var(--ink);
  border: 1px solid var(--rule); box-shadow: 0 12px 32px rgba(12,44,48,.18); display: grid; padding: var(--s2); }
.menu-panel a { padding: var(--s3); text-decoration: none; }
.menu-panel a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--logo-gold); font-weight: 600; }
.menu-panel .btn { margin-top: var(--s2); }
@media (min-width: 600px) { .brand { grid-column: span 6; } .menu { grid-column: span 2; } }
@media (min-width: 1024px) {
  .brand { grid-column: span 3; }
  .menu { display: none; }
  .nav { grid-column: span 9; display: flex; justify-content: flex-end; align-items: center; gap: var(--s5); }
  .nav a { text-decoration: none; color: #dfe8e6; padding: var(--s2) 0; border-bottom: 2px solid transparent; }
  .nav a:hover { color: #fff; }
  .nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--logo-gold); }
  .nav .btn { padding: 0 var(--s4); min-height: 40px; border-bottom: 0; color: #fff; }
}

/* Footer: three column groups on the same grid */
.site-footer { background: var(--plan-green); color: #cfdcda; padding-block: var(--s7) var(--s5); font-size: var(--t-s); }
.site-footer .l-grid { row-gap: var(--s5); }
.site-footer h2 { font-size: var(--t-s); font-weight: 600; color: #fff; margin-bottom: var(--s2); letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s1); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-brand img { width: 168px; height: auto; margin-bottom: var(--s4); }
.footer-brand p { max-width: 36ch; }
.footer-mark-note { margin-top: var(--s3); color: #9fb3b0; font-size: var(--t-xs); }
.footer-base { border-top: 1px solid rgba(255,255,255,.14); padding-top: var(--s4); margin-top: var(--s2); color: #9fb3b0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s2) var(--s5); }
.site-footer .footer-staff { color: #9fb3b0; font-size: var(--t-xs); }
.site-footer .footer-staff:hover { color: var(--gold-light); }

/* Page bands and intros */
.band { padding-block: var(--s7); }
.band-ivory { background: var(--ivory); }
@media (min-width: 1024px) { .band { padding-block: var(--s8); } }
.intro .actions { margin-top: var(--s5); }
.prose > h2:first-child { margin-top: 0; }
.confirm h2 { margin-bottom: var(--s2); }
.confirm .actions { margin-top: var(--s4); }
.intro h2 + p, .intro h1 + p { margin-top: var(--s3); color: var(--ink-2); max-width: 60ch; }
.page-title { padding-block: var(--s6) var(--s5); border-bottom: 1px solid var(--rule); }
.page-title p { margin-top: var(--s2); color: var(--ink-2); max-width: 64ch; }
.crumbs { font-size: var(--t-s); color: var(--ink-2); margin-bottom: var(--s3); }
.crumbs a { color: var(--ink-2); }
.after-map { margin: var(--s3) 0 0; }
.plot-actions { margin-top: var(--s5); }

/* Homepage. Editorial rhythm: light display type, gold hairlines, the master plan as the only imagery. */
.label { font-size: var(--t-s); font-weight: 600; color: var(--gold-text); display: flex; align-items: center; gap: var(--s3); margin: 0; }
.label::before { content: ""; width: 32px; height: 1px; background: var(--logo-gold); flex: none; }
.label-light { color: var(--gold-light); }
.section-head { margin-bottom: var(--s6); }
.section-head h2 { margin-top: var(--s3); font-weight: 300; font-size: var(--t-2xl); letter-spacing: -0.02em; max-width: 26ch; }
@media (min-width: 1024px) { .section-head h2 { font-size: var(--t-4xl); } }

/* Hero: the lockup on its own green, over the plan drawn as fine gold linework */
.hero { position: relative; overflow: hidden; background: var(--plan-green); color: #fff; }
.hero-lines { position: absolute; inset: 0; background: url("/assets/plan-linework-2400.webp") center 62% / max(1500px, 118%) auto no-repeat; opacity: .18; pointer-events: none; }
.hero-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: rgba(12,33,28,.64); }
.hero-grid { position: relative; z-index: 1; justify-items: center; text-align: center; padding-block: var(--s8) var(--s8); row-gap: var(--s6); }
.hero-mark, .hero-copy { grid-column: 1 / -1; }
.hero-mark { margin: 0; width: min(66vw, 400px); }
.hero-mark img { width: 100%; height: auto; }
.hero-lede { font-weight: 300; font-size: var(--t-xl); line-height: 1.3; max-width: 24ch; margin-inline: auto; color: #fff; letter-spacing: -0.01em; }
.hero-lede i { font-style: italic; color: var(--gold-light); }
.hero-where { margin-top: var(--s3); font-size: var(--t-s); color: #b7c6bf; }
.live-line { margin-top: var(--s5); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2) var(--s5); min-height: 1.6em; color: #e9eee9; font-size: var(--t-s); }
.live-line .muted, .live-line[aria-busy="true"] { color: #b7c6bf; }
.hero .actions, .closing .actions { margin-top: var(--s6); }
.hero .actions { justify-content: center; }
.btn-gold { background: var(--logo-gold); color: var(--plan-green); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline-light { border-color: rgba(211,178,118,.7); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(211,178,118,.1); border-color: var(--gold-light); }
@media (min-width: 600px) { .hero-lede { font-size: var(--t-2xl); } }
@media (min-width: 1024px) {
  .hero-grid { min-height: min(calc(100svh - var(--header-h)), 900px); align-content: center; padding-block: var(--s8); }
  .hero-lede { font-size: var(--t-3xl); line-height: 1.2; }
  .hero-where { font-size: var(--t-m); }
}

/* The idea: one large statement */
.idea .l-grid { row-gap: var(--s5); }
.statement { font-weight: 300; font-size: var(--t-xl); line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); max-width: 30ch; }
.statement i { font-style: italic; color: var(--gold-text); }
.statement-body { margin-top: var(--s5); color: var(--ink-2); max-width: 56ch; font-size: var(--t-l); line-height: 1.55; font-weight: 300; }
@media (min-width: 600px) { .statement { font-size: var(--t-2xl); } }
@media (min-width: 1024px) { .idea { padding-block: var(--s9); } .statement { font-size: var(--t-4xl); } .idea .label { padding-top: 1.1rem; } }

/* The places: master-plan details beside their names, alternating */
.places { padding-block: var(--s8); }
.place { row-gap: var(--s5); align-items: center; }
.place + .place { margin-top: var(--s8); }
.place-figure { margin: 0; position: relative; }
.place-figure img { width: 100%; height: auto; display: block; border: 1px solid var(--rule); }
/* Film loops from the Multan Mile animation: 2:1 like the plan details they replace; poster until in view */
.film { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; display: block; background: var(--plan-green-2); border: 1px solid var(--rule); }
.place-text h2 i { font-style: italic; color: var(--gold-text); }
.duo { margin-top: var(--s8); row-gap: var(--s6); }
.duo-figure { margin: 0; }
.duo-figure .film { aspect-ratio: 16 / 9; }
.duo-figure figcaption { margin-top: var(--s3); color: var(--ink-2); max-width: 52ch; }
.duo-figure figcaption strong { display: block; font-weight: 300; font-size: var(--t-xl); color: var(--ink); margin-bottom: var(--s1); }
@media (min-width: 1024px) { .duo { margin-top: var(--s9); } }
.place-figure::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(184,137,58,.55); pointer-events: none; }
.place-no { font-weight: 300; font-size: var(--t-l); color: var(--gold-text); font-variant-numeric: tabular-nums; }
.place-text h2 { margin-top: 0; font-weight: 300; font-size: var(--t-2xl); letter-spacing: -0.02em; }
.place-text h2 + p { margin-top: var(--s4); color: var(--ink-2); line-height: 1.65; }
.places-note { margin-top: var(--s6); font-size: var(--t-xs); color: var(--ink-2); }
.place i { font-style: italic; }
@media (min-width: 1024px) {
  .places { padding-block: var(--s9); }
  .place + .place { margin-top: var(--s9); }
  .place-text { grid-column: 9 / span 4; }
  .place-flip .place-figure { grid-column: 6 / span 7; grid-row: 1; }
  .place-flip .place-text { grid-column: 1 / span 4; grid-row: 1; }
  .place-text h2 { font-size: var(--t-4xl); }
}

/* The mark */
.band-green { background: var(--plan-green); color: #fff; }
.mark-band { padding-block: var(--s8); }
.mark-band .l-grid { row-gap: var(--s6); align-items: center; }
.mark-art img { width: min(100%, 380px); height: auto; margin-inline: auto; }
.mark-text h2 { margin-top: var(--s3); font-weight: 300; font-size: var(--t-2xl); letter-spacing: -0.02em; max-width: 18ch; }
.mark-text h2 + p { margin-top: var(--s4); color: #d6dfda; font-weight: 300; font-size: var(--t-l); line-height: 1.6; max-width: 46ch; }
@media (min-width: 1024px) { .mark-band { padding-block: var(--s9); } .mark-text { grid-column: 7 / span 6; } .mark-text h2 { font-size: var(--t-4xl); } }

/* The live master plan */
.hero-plan { margin: 0 0 var(--s6); }
.plan-link { display: block; position: relative; border: 1px solid var(--rule); background: #f4f5f1; text-decoration: none; }
.plan-link:hover { border-color: var(--plan-green); }
.plan-link img { width: 100%; height: auto; }
.plan-dots { position: absolute; inset: 0; }
.plan-dots i { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; box-shadow: 0 0 0 1px #fff; }
@media (min-width: 1024px) { .plan-dots i { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; } }
.hero-plan figcaption { margin-top: var(--s3); font-size: var(--t-s); color: var(--ink-2); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); justify-content: space-between; align-items: center; }
.hero-plan .more { font-weight: 600; color: var(--ink); }
.intro h3 { font-weight: 300; font-size: var(--t-xl); }
.intro h3 + p { margin-top: var(--s3); color: var(--ink-2); max-width: 40ch; }

/* Closing invitation */
.closing { position: relative; overflow: hidden; background: var(--plan-green); color: #fff; padding-block: var(--s8); border-bottom: 1px solid rgba(184,137,58,.4); }
.closing-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.closing::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: rgba(12,33,28,.7); }
.closing .l-grid { position: relative; z-index: 1; }
.closing h2 { font-weight: 300; font-size: var(--t-2xl); letter-spacing: -0.02em; }
.closing h2 + p { margin-top: var(--s3); color: #d6dfda; font-weight: 300; font-size: var(--t-l); max-width: 44ch; }
@media (min-width: 1024px) { .closing { padding-block: var(--s9); } .closing h2 { font-size: var(--t-4xl); } }


/* Project page (/project): the e-brochure as one scrolling page on the shared grid */
.b-cover { position: relative; overflow: hidden; background: var(--plan-green); color: #fff; }
.b-cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.b-cover::after { content: ""; position: absolute; inset: 0; background: rgba(12,33,28,.62); pointer-events: none; }
.b-cover .l-grid { position: relative; z-index: 1; padding-block: var(--s9) var(--s8); min-height: min(78svh, 760px); align-content: end; }
.b-cover h1 { margin-top: var(--s4); font-weight: 300; font-size: var(--t-2xl); line-height: 1.15; letter-spacing: -0.02em; color: #fff; }
.b-cover h1 + p { margin-top: var(--s4); color: #e1e8e3; font-weight: 300; font-size: var(--t-l); max-width: 44ch; }
.b-cover .actions { margin-top: var(--s6); }
@media (min-width: 1024px) { .b-cover h1 { font-size: var(--t-4xl); } }
.b-contents { padding-block: var(--s4); }
.b-contents ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s1) var(--s5); font-size: var(--t-s); }
.b-contents a { display: inline-block; padding-block: var(--s2); color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; }
.b-contents a:hover { border-bottom-color: var(--logo-gold); }
.b-lede { margin-top: var(--s4); color: var(--ink-2); font-size: var(--t-l); font-weight: 300; line-height: 1.55; max-width: 46ch; }
.b-right { align-self: end; }
@media (min-width: 1024px) { .b-right { grid-column: 7 / span 6; } }
.b-times { width: 100%; }
.b-times caption { caption-side: top; text-align: left; font-size: var(--t-s); color: var(--ink-2); padding-bottom: var(--s2); }
.b-small { margin-top: var(--s3); font-size: var(--t-xs); }
.b-plan { margin: 0; }
.b-plan-art { position: relative; border: 1px solid var(--rule); background: #ebe5d6; }
.b-plan-art img { width: 100%; height: auto; display: block; }
.b-pin { position: absolute; transform: translate(-50%, -50%); width: 28px; height: 28px; border-radius: 50%; background: var(--plan-green); color: var(--gold-light);
  font-size: var(--t-s); font-weight: 600; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
/* Pin positions on the 26 Oct 2026 plan (percent of the image) */
.b-pin-1 { left: 5.3%; top: 74.8%; }
.b-pin-2 { left: 25.6%; top: 79.1%; }
.b-pin-3 { left: 72.3%; top: 58.6%; }
.b-pin-4 { left: 51.6%; top: 68.9%; }
.b-pin-5 { left: 51.5%; top: 34.0%; }
.b-pin-6 { left: 29.9%; top: 45.6%; }
.b-pin-7 { left: 76.4%; top: 87.4%; }
@media (max-width: 599px) { .b-pin { width: 20px; height: 20px; font-size: 11px; } }
.b-plan figcaption { margin-top: var(--s3); font-size: var(--t-xs); color: var(--ink-2); }
.b-key { margin: 0; padding: 0; list-style: none; counter-reset: k; align-self: start; }
.b-key li { counter-increment: k; display: flex; gap: var(--s3); align-items: baseline; padding-block: var(--s2); border-bottom: 1px solid var(--rule); }
.b-key li::before { content: counter(k); font-weight: 600; color: var(--gold-text); min-width: 1.2em; }
.b-key a { color: var(--ink); text-decoration: none; }
.b-key a:hover { text-decoration: underline; }
.b-img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; border: 1px solid var(--rule); }
.b-chapters .label { margin-bottom: var(--s3); }
.b-facts { margin: var(--s5) 0 0; display: flex; flex-wrap: wrap; gap: var(--s4) var(--s7); }
.b-facts div { border-top: 1px solid var(--logo-gold); padding-top: var(--s2); }
.b-facts dt { font-weight: 300; font-size: var(--t-2xl); color: var(--ink); line-height: 1.1; }
.b-facts dd { margin: var(--s1) 0 0; font-size: var(--t-s); color: var(--ink-2); }
.b-facts-wide { margin: 0 0 var(--s6); }
.place-text .links { margin-top: var(--s4); }
.place-text .links a { font-weight: 600; color: var(--ink); }
.b-later { margin-top: var(--s9); }
.closing .b-mail { color: var(--gold-light); }
.b-legal { margin-top: var(--s6); font-size: var(--t-xs); color: #b7c6bf; max-width: 60ch; }

/* Location: distances as a plain two-column list */
.distances { margin: 0; align-self: end; }
.distances div { display: flex; justify-content: space-between; gap: var(--s4); padding-block: var(--s3); border-bottom: 1px solid var(--rule); }
.distances div:first-child { border-top: 1px solid var(--rule); }
.distances dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (min-width: 1024px) { .distances { grid-column: 7 / span 6; } }

/* Gentle entrance as sections scroll in (only when JS runs; off for reduced motion) */
html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; } }

/* Status marks: colour plus the status word, never colour alone */
.status { display: inline-flex; align-items: center; gap: var(--s2); white-space: nowrap; }
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink-2); flex: none; }
.status.available::before { background: var(--available); }
.status.sold::before { background: var(--sold); }
.status.status-not-confirmed::before { background: var(--status-not-confirmed); }
.status.reserved::before { background: var(--reserved); }
.legend { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); }

/* Tables */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: var(--t-s); background: var(--paper); }
.data th, .data td { text-align: left; padding: var(--s3) var(--s3); border-bottom: 1px solid var(--rule); }
.data th { font-weight: 600; color: var(--ink-2); background: var(--paper); }
.data td.n, .data th.n { text-align: right; font-variant-numeric: tabular-nums; }
.data tbody tr:hover { background: #f7f8f4; }
.data tfoot td { font-weight: 600; border-bottom: 0; border-top: 2px solid var(--ink); }
.data a { font-weight: 600; text-decoration: none; }
.data a:hover { color: var(--gold-text); text-decoration: underline; }
@media (max-width: 599px) { .data .hide-m { display: none; } }

/* Numbered sequence (real steps) */
.steps { list-style: none; margin: 0; padding: 0; row-gap: var(--s6); counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--logo-gold); padding-top: var(--s4); }
.steps li::before { content: "0" counter(step); display: block; font-weight: 300; font-size: var(--t-xl); color: var(--gold-text); margin-bottom: var(--s3); }
.steps p { margin-top: var(--s2); color: var(--ink-2); }
.steps .links { margin-top: var(--s3); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); font-weight: 600; }

/* States */
.state { padding: var(--s4); border: 1px solid var(--rule); background: var(--paper); color: var(--ink-2); }
.state.error { border-color: #e6b8b3; background: #fdf3f2; color: var(--error); }
.state .btn { margin-top: var(--s3); }
.note { padding: var(--s3) var(--s4); border-left: 3px solid var(--logo-gold); background: var(--ivory); font-size: var(--t-s); }

/* Forms */
.field { display: grid; gap: var(--s1); }
.field label { font-weight: 600; font-size: var(--t-s); }
.req { color: var(--error); }
.field small { color: var(--ink-2); font-size: var(--t-xs); }
.field input, .field select, .field textarea, .inline-input { width: 100%; min-height: 48px; border: 1px solid #b9c3bf; border-radius: var(--radius); padding: var(--s2) var(--s3);
  font: inherit; background: var(--paper); color: var(--ink); }
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .inline-input:focus { outline: 2px solid var(--logo-gold); outline-offset: 0; border-color: var(--logo-gold); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field .error { color: var(--error); font-size: var(--t-xs); font-weight: 600; }
.consent { display: flex; gap: var(--s3); align-items: flex-start; font-size: var(--t-s); font-weight: 400 !important; }
.consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--plan-green); }
.form-grid { row-gap: var(--s4); }

/* Customer information form (/customer-form) */
.cif { row-gap: var(--s7); }
.cif-section { row-gap: var(--s4); border-top: 1px solid var(--logo-gold); padding-top: var(--s4); }
.cif-section h2 { font-size: var(--t-l); display: flex; align-items: baseline; gap: var(--s3); }
.cif-no { font-weight: 300; color: var(--gold-text); font-variant-numeric: tabular-nums; }
.cif .field { align-content: start; }
.cif .field-label { font-weight: 600; font-size: var(--t-s); }
.cif .consent input { min-height: 0; padding: 0; }
.cif-same { margin-block: var(--s1); }
.cif-plot { align-self: end; min-height: 48px; display: grid; align-content: center; gap: 2px; font-size: var(--t-s); padding: var(--s2) var(--s3); background: var(--ivory); border-left: 3px solid var(--logo-gold); }
.cif-plot .status { margin-right: var(--s2); color: var(--ink); font-weight: 600; }
.cif-choice { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.cif-choice legend { font-weight: 600; font-size: var(--t-s); padding: 0; margin-bottom: var(--s2); width: 100%; }
.cif-choice label { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; }
.cif-choice input { width: 20px; height: 20px; accent-color: var(--plan-green); margin: 0; }
.cif-choice .error { flex-basis: 100%; color: var(--error); font-size: var(--t-xs); font-weight: 600; }
.cif-choice .error:empty, .cif .field .error:empty, #docs-error:empty { display: none; }
#docs-error { color: var(--error); font-size: var(--t-xs); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.docs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.doc { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: var(--s2) var(--s4); align-items: center; padding: var(--s3) 0; border-bottom: 1px solid var(--rule); }
.doc-thumb { width: 56px; height: 56px; object-fit: cover; border: 1px solid var(--rule); background: var(--ivory); }
.doc-empty { display: block; background: repeating-linear-gradient(135deg, var(--ivory) 0 6px, #e4e7de 6px 7px); }
.doc-pdf { display: grid; place-items: center; }
.doc-pdf::after { content: "PDF"; font-size: var(--t-xs); font-weight: 600; color: var(--ink-2); }
.doc-text { display: grid; gap: 2px; min-width: 0; }
.doc-text strong { font-size: var(--t-s); }
.doc-text small { color: var(--ink-2); font-size: var(--t-xs); overflow-wrap: anywhere; }
.doc-text small.error { color: var(--error); font-weight: 600; }
.doc:not([data-required]) .doc-req { display: none; }
.doc progress { width: 100%; height: 4px; appearance: none; border: 0; background: var(--rule); accent-color: var(--plan-green); }
.doc progress::-webkit-progress-bar { background: var(--rule); }
.doc progress::-webkit-progress-value { background: var(--plan-green); }
.doc.is-error .doc-thumb { border-color: var(--error); }
.doc-actions { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); justify-content: flex-end; align-items: center; }
.btn-file { min-height: 44px; padding: 0 var(--s4); font-size: var(--t-s); position: relative; }
.btn-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.btn-file:focus-within { outline: 3px solid var(--logo-gold); outline-offset: 2px; }
.link-btn { background: none; border: 0; padding: var(--s2) 0; min-height: 44px; font: inherit; font-size: var(--t-s); font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 599px) {
  .doc { grid-template-columns: 56px minmax(0, 1fr); }
  .doc-actions { grid-column: 2; justify-content: flex-start; }
}
.cif-aside { padding-top: var(--s4); border-top: 1px solid var(--logo-gold); display: grid; gap: var(--s3); font-size: var(--t-s); }
.cif-aside h2 { font-size: var(--t-m); }
.cif-aside ol { margin: 0; padding-left: var(--s5); display: grid; gap: var(--s2); }
@media (min-width: 1024px) { .cif-aside { position: sticky; top: calc(var(--header-h) + var(--s5)); } }
.cif-done { display: grid; gap: var(--s3); align-content: start; }
.cif-ref { font-size: var(--t-2xl); font-weight: 300; }
.cif-done .actions { margin-top: var(--s3); }

/* Plot page */
.plot-map { margin: 0; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #e8ece7; border: 1px solid var(--rule); }
.plot-map img { position: absolute; max-width: none; height: auto; pointer-events: none; }
.plot-map .pin { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  border: 4px solid var(--pin, var(--logo-gold)); box-shadow: 0 0 0 3px #fff; }
.plot-map figcaption { position: absolute; left: var(--s3); bottom: var(--s3); background: rgba(12,44,48,.88); color: #fff; font-size: var(--t-xs); padding: var(--s1) var(--s2); }
.facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); margin: var(--s5) 0 0; }
.facts div { padding: var(--s3) 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-size: var(--t-s); color: var(--ink-2); }
.facts dd { margin: 0; font-weight: 600; font-size: var(--t-l); }
.plot-status { margin-top: var(--s3); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); font-size: var(--t-s); color: var(--ink-2); }
.plot-status .status { color: var(--ink); font-weight: 600; font-size: var(--t-m); }
.stack { display: grid; gap: var(--s3); }

/* Long-form text */
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--t-l); margin: var(--s6) 0 var(--s2); }
.prose p, .prose li { color: #2f4245; }
.prose ul { padding-left: var(--s5); }

@media print {
  .site-header, .site-footer, .skip, .no-print, input[type=range] { display: none !important; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.note p + p { margin-top: var(--s2); }
