/* ==========================================================================
   MyHotelCare — public site, edition 3 · "Operational Workspace"
   True white canvas, cool gray structure, deep green controls.
   Built to read like the working layer behind a well-run hotel.
   ========================================================================== */

@font-face { font-family: "Instrument"; src: url("/assets/fonts/instrument-sans-wght.woff2") format("woff2-variations"), url("/assets/fonts/instrument-sans-wght.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("/assets/fonts/ibm-plex-sans-wght.woff2") format("woff2-variations"), url("/assets/fonts/ibm-plex-sans-wght.woff2") format("woff2"); font-weight: 100 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --white: #FFFFFF;
  --surface: #F4F7F8;
  --panel: #F7F9FA;
  --line: #DDE3E6;
  --line-2: #C6D0D3;
  --line-strong: #94A3A0;
  --ink: #0C1A16;
  --ink-2: #33433D;
  --muted: #66736D;
  --green: #16433B;
  --green-deep: #0E2F29;
  --green-mid: #1E5A4E;
  --green-tint: #EAF1EE;
  --amber: #8A6212;
  --amber-tint: #FBF3E3;
  --red: #9C3626;
  --red-tint: #FBEDEA;
  --on-green: #EAF1EE;
  --on-green-muted: #9DB3AC;

  --display: "Instrument", "Helvetica Neue", Arial, sans-serif;
  --sans: "Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --r: 2px;
  --shadow-plate: 0 1px 2px rgba(12, 26, 22, .05), 0 22px 44px -30px rgba(12, 26, 22, .40);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 92px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 17px/1.62 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: rgba(22, 67, 59, .45); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--green-mid); outline-offset: 2px; border-radius: var(--r); }
.on-green :focus-visible, .night :focus-visible { outline-color: #8FBDB0; }
::selection { background: #CFE3DC; color: var(--ink); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
strong { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

.skip-link { position: absolute; left: 12px; top: -60px; background: var(--green); color: #fff; padding: 10px 16px; z-index: 100; border-radius: var(--r); text-decoration: none; }
.skip-link:focus { top: 12px; }
.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; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { width: 100%; max-width: 840px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 8vw, 116px) 0; position: relative; }
.section-sm { padding: clamp(44px, 5vw, 72px) 0; }
.section-tight { padding-top: 0; }
.bg-surface { background: var(--surface); }
.bg-panel { background: var(--panel); }
.night, .on-green { background: var(--green-deep); color: var(--on-green); }
.night p, .on-green p, .night .lede, .on-green .lede { color: #C3D4CE; }
.night .h-1, .night .h-2, .night .h-3, .night .display, .night h1, .night h2, .night h3 { color: var(--on-green); }
.center { text-align: center; }
.rule-top { border-top: 1px solid var(--line); }

/* ---------- Type ---------- */
.display {
  font-family: var(--display); font-weight: 600; letter-spacing: -.03em; line-height: 1.02;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
}
.h-1 { font-family: var(--display); font-weight: 600; letter-spacing: -.026em; line-height: 1.08; font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.h-2 { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; font-size: clamp(1.45rem, 2.2vw, 1.95rem); }
.h-3 { font-family: var(--display); font-weight: 600; letter-spacing: -.012em; line-height: 1.25; font-size: 1.16rem; }
.h-4 { font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1.4; }
.lede { font-size: clamp(1.06rem, 1.3vw, 1.2rem); line-height: 1.6; color: var(--ink-2); max-width: 38em; }
.lede.center { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.max-34 { max-width: 34em; } .max-40 { max-width: 40em; }
.nowrap { white-space: nowrap; }

.label, .eyebrow {
  display: inline-block; font-family: var(--mono); font-weight: 500; font-size: .72rem; line-height: 1.5;
  letter-spacing: .1em; text-transform: uppercase; color: var(--green);
}
.night .label, .on-green .label, .night .eyebrow { color: #8FBDB0; }
.stamp { font-family: var(--mono); font-size: .76rem; letter-spacing: .04em; color: var(--muted); }
.night .stamp { color: var(--on-green-muted); }

/* Sheet header — the running header that opens a section like a form header */
.folio {
  display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  border-top: 1px solid var(--ink); padding-top: 10px; margin-bottom: clamp(26px, 3.5vw, 44px);
}
.folio .folio-no { color: var(--green); font-weight: 500; }
.folio .folio-time { margin-left: auto; letter-spacing: .06em; }
.night .folio { border-top-color: rgba(234, 241, 238, .5); color: var(--on-green-muted); }
.night .folio .folio-no { color: #8FBDB0; }

/* ---------- Status chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px; font: 500 .68rem/1 var(--mono);
  letter-spacing: .09em; text-transform: uppercase; padding: 6px 8px; border-radius: var(--r);
  background: var(--surface); color: var(--ink-2); border: 1px solid var(--line);
}
.chip::before { content: ""; width: 6px; height: 6px; background: currentColor; }
.chip-open { background: var(--green-tint); color: var(--green); border-color: #CBDED7; }
.chip-due { background: var(--amber-tint); color: var(--amber); border-color: #EEDFC2; }
.chip-restricted { background: var(--red-tint); color: var(--red); border-color: #EFD3CD; }
.chip-closed { background: var(--surface); color: var(--muted); }
.night .chip { background: rgba(234,241,238,.06); border-color: rgba(234,241,238,.2); color: var(--on-green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 12px 22px; border-radius: var(--r);
  background: var(--green); color: #fff; border: 1px solid var(--green);
  font: 600 .97rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn .arr { transition: transform .16s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn-line, .btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line-2); }
.btn-line:hover, .btn-ghost:hover { border-color: var(--green); color: var(--green); background: var(--white); }
.btn-light { background: var(--white); color: var(--green-deep); border-color: var(--white); }
.btn-light:hover { background: #E7EFEC; border-color: #E7EFEC; }
.btn-brass { background: var(--green); border-color: var(--green); color: #fff; }
.btn-brass:hover { background: var(--green-deep); }
.night .btn-line, .on-green .btn-line { background: transparent; color: var(--on-green); border-color: rgba(234,241,238,.45); }
.night .btn-line:hover { background: rgba(234,241,238,.08); color: #fff; border-color: rgba(234,241,238,.7); }
.btn-lg { min-height: 54px; padding: 15px 26px; font-size: 1rem; }
.btn-sm { min-height: 40px; padding: 9px 14px; font-size: .86rem; }
.btn-block { width: 100%; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; min-height: 44px; color: var(--green); border-bottom: 1px solid transparent; }
.link-arrow::after { content: "→"; font-family: var(--mono); transition: transform .16s ease; }
.link-arrow:hover { border-bottom-color: var(--green); }
.link-arrow:hover::after { transform: translateX(3px); }
.night .link-arrow, .on-green .link-arrow { color: #A8CCC1; }
.night .link-arrow:hover { border-bottom-color: #A8CCC1; }
.actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }

/* ---------- Masthead ---------- */
.masthead { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.masthead.scrolled { border-bottom-color: var(--line); }
.masthead .bar { display: flex; align-items: center; gap: 26px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-mark { width: 28px; height: 28px; border-radius: var(--r); background: var(--green); color: #fff; display: grid; place-items: center; font: 600 15px/1 var(--display); }
.brand-word { font-family: var(--display); font-size: 1.16rem; font-weight: 600; letter-spacing: -.02em; }
.brand-word span { color: var(--green); }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .93rem; color: var(--ink-2); padding: 10px 12px; border-radius: var(--r); }
.nav a:hover { color: var(--green); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--green); }
.nav .nav-cta { margin-left: 12px; color: #fff; background: var(--green); padding: 11px 18px; font-weight: 600; }
.nav .nav-cta:hover { background: var(--green-deep); color: #fff; }
.nav .nav-cta[aria-current="page"] { color: #fff; box-shadow: none; }
.nav-toggle { display: none; margin-left: auto; background: var(--white); border: 1px solid var(--line-2); color: var(--ink); width: 46px; height: 46px; border-radius: var(--r); cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 4px var(--gutter) 22px; display: none; max-height: calc(100vh - 74px); overflow: auto; }
  .nav.open { display: flex; }
  .nav a { padding: 15px 2px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--green); padding-left: 14px; }
  .nav .nav-cta { margin: 16px 0 0; text-align: center; border-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 5vw, 72px) 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero h1 { max-width: 13em; }
.hero .lede { margin-top: 22px; }
.hero-actions { margin-top: 30px; }
.hero-meta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 26px; font: 400 .84rem/1.4 var(--mono); color: var(--muted); letter-spacing: .02em; }
.hero-figure { position: relative; margin-right: calc(-1 * max((100vw - var(--wrap)) / 2, var(--gutter))); }
.hero-figure img { border-radius: var(--r) 0 0 var(--r); width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 62% 50%; }
@media (min-width: 961px) { .hero-figure img { aspect-ratio: 4 / 4.4; } }
.hero-record { position: absolute; left: clamp(-40px, -3vw, -16px); bottom: 30px; width: min(430px, 88%); }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { margin-right: calc(-1 * var(--gutter)); margin-left: calc(-1 * var(--gutter)); }
  .hero-figure img { border-radius: 0; aspect-ratio: 16 / 10; }
  .hero-record { position: relative; left: 0; bottom: 0; width: calc(100% - 24px); margin: -48px auto 0; }
}

/* Case record block — typographic record, clearly labelled as a sample */
.record { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 16px 36px -28px rgba(12,26,22,.5); }
.record-head { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--panel); }
.record-head .id { font: 500 .74rem/1 var(--mono); letter-spacing: .06em; color: var(--ink); }
.record-head .chip { margin-left: auto; }
.record-row { display: grid; grid-template-columns: 116px minmax(0,1fr); gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: .92rem; }
.record-row:last-child { border-bottom: 0; }
.record-row dt, .record-row .k { font: 400 .68rem/1.7 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.record-row dd, .record-row .v { margin: 0; color: var(--ink); }
.record-foot { padding: 9px 14px; font: 400 .7rem/1.5 var(--mono); color: var(--muted); letter-spacing: .04em; background: var(--panel); border-top: 1px solid var(--line); }

/* ---------- Stage bar (lifecycle) ---------- */
.stagebar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); border-top: 1px solid var(--ink); }
.stagebar li { padding: 14px 16px 16px 0; position: relative; }
.stagebar li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--line-strong); }
.stagebar li.is-active::before, .stagebar li:first-child::before { background: var(--green); }
.stagebar .n { display: block; font: 500 .68rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.stagebar .t { display: block; font-family: var(--display); font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em; margin-top: 8px; }
.stagebar .s { display: block; font-size: .86rem; color: var(--muted); margin-top: 3px; line-height: 1.4; }
@media (max-width: 900px) { .stagebar { grid-template-columns: repeat(3, minmax(0,1fr)); row-gap: 10px; } }
@media (max-width: 540px) { .stagebar { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* ---------- Plates (product figures) ---------- */
.plate { margin: 0; position: relative; }
.plate-frame { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-plate); overflow: hidden; }
.plate-frame::before { content: ""; display: block; height: 10px; background: var(--panel); border-bottom: 1px solid var(--line); }
.plate-frame.bare::before { display: none; }
.plate-frame.bare { box-shadow: 0 22px 48px -30px rgba(12,26,22,.45); }
.plate-zoom { display: block; cursor: zoom-in; }
.plate figcaption, .fig-cap { display: flex; gap: 12px; align-items: baseline; margin-top: 12px; font-size: .86rem; color: var(--muted); line-height: 1.45; }
.plate figcaption .fig-no, .fig-cap .fig-no { font: 500 .68rem/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--green); white-space: nowrap; }
.night .plate figcaption, .night .fig-cap { color: var(--on-green-muted); }
.night .plate figcaption .fig-no { color: #8FBDB0; }
.night .plate-frame { border-color: rgba(234,241,238,.18); }
.paper-sheet { background: #fff; }

/* Annotated screenshot */
.annot { position: relative; }
.annot .annot-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 32px; }
.annot .annot-list li { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.annot .annot-list .n { font: 500 .72rem/1.7 var(--mono); color: var(--green); }
.annot .annot-list h3 { font: 600 .98rem/1.35 var(--sans); margin-bottom: 2px; }
.annot .annot-list p { margin: 0; font-size: .92rem; color: var(--ink-2); }
@media (max-width: 720px) { .annot .annot-list { grid-template-columns: 1fr; } }

/* ---------- Photo bands ---------- */
.band { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 64px); }
.band.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.band img { border-radius: var(--r); }
@media (max-width: 900px) { .band, .band.flip { grid-template-columns: 1fr; } }
.photo-band { position: relative; overflow: hidden; isolation: isolate; background: var(--green-deep); }
.photo-band > picture, .photo-band > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.photo-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(14,47,41,.96) 0%, rgba(14,47,41,.88) 34%, rgba(14,47,41,.45) 62%, rgba(14,47,41,.12) 100%); }
.photo-band .wrap { padding-top: clamp(64px, 8vw, 110px); padding-bottom: clamp(56px, 7vw, 100px); position: relative; }
.photo-band .chronicle, .photo-band .band-copy { max-width: 620px; }
.photo-band.right::after { background: linear-gradient(260deg, rgba(14,47,41,.96) 0%, rgba(14,47,41,.88) 36%, rgba(14,47,41,.4) 66%, rgba(14,47,41,.1) 100%); }
.photo-frame { position: relative; }
.photo-frame figcaption, .photo figcaption { font: 400 .74rem/1.5 var(--mono); color: var(--muted); margin-top: 10px; letter-spacing: .03em; }
.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }

/* ---------- Structured lists ---------- */
.index { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: clamp(24px, 4vw, 56px); }
.index.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.index.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.index.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.index.one { grid-template-columns: 1fr; }
.index li { border-top: 1px solid var(--line); padding: 18px 0 24px; }
.index .k { font: 500 .68rem/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--green); display: block; margin-bottom: 8px; }
.index h3, .index h2 { font-family: var(--display); font-weight: 600; font-size: 1.14rem; letter-spacing: -.012em; line-height: 1.3; margin-bottom: 6px; }
.index p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.night .index li { border-color: rgba(234,241,238,.2); }
.night .index h3, .night .index h2 { color: var(--on-green); }
.night .index p { color: #BCCCC6; }
.night .index .k, .night .k { color: #8FBDB0; }
@media (max-width: 1000px) { .index.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .index.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .index, .index.three, .index.four, .index.two { grid-template-columns: 1fr; } }

.morning-list { list-style: none; margin: 24px 0 0; padding: 0; }
.morning-list li { display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.morning-list li:last-child { border-bottom: 1px solid var(--line); }
.morning-list .t { font: 500 .74rem/1.8 var(--mono); color: var(--green); letter-spacing: .04em; }
.morning-list h3, .morning-list h2 { font: 600 1rem/1.4 var(--sans); margin-bottom: 3px; }
.morning-list p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.night .morning-list li { border-color: rgba(234,241,238,.2); }
.night .morning-list h3, .night .morning-list h2 { color: var(--on-green); }
.night .morning-list p { color: #BCCCC6; }
.night .morning-list .t { color: #8FBDB0; }

/* Case thread (step + product screen) */
.thread-step { display: grid; grid-template-columns: 150px minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 48px); padding: clamp(34px, 4vw, 56px) 0; border-top: 1px solid var(--line); }
.thread-step:first-child { border-top: 0; padding-top: 0; }
.thread-step.no-plate { grid-template-columns: 150px minmax(0, 12fr); }
.thread-marker .n { font: 500 .68rem/1 var(--mono); letter-spacing: .1em; color: var(--green); text-transform: uppercase; }
.thread-marker .t { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -.02em; line-height: 1.05; margin-top: 10px; }
.thread-marker .d { display: block; font: 400 .76rem/1.5 var(--mono); color: var(--muted); margin-top: 6px; }
.thread-copy .h-2 { margin-bottom: 14px; }
.thread-copy ul { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--line); }
.thread-copy li { display: block; position: relative; padding: 10px 0 10px 24px; border-bottom: 1px solid var(--line); font-size: .94rem; color: var(--ink-2); }
.thread-copy li::before { content: ""; position: absolute; left: 0; top: 19px; width: 8px; height: 1px; background: var(--green); }
@media (max-width: 960px) { .thread-step, .thread-step.no-plate { grid-template-columns: 1fr; } .thread-marker { display: flex; align-items: baseline; gap: 14px; } .thread-marker .t { margin-top: 0; } .thread-marker .d { margin-top: 0; } }

/* ---------- Splits ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(26px, 4vw, 72px); align-items: start; }
.split.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split.even { grid-template-columns: 1fr 1fr; }
.split.mid { align-items: center; }
.sticky-col { position: sticky; top: 104px; }
@media (max-width: 900px) { .split, .split.flip, .split.even { grid-template-columns: 1fr; } .sticky-col { position: static; } }

/* ---------- Statement ---------- */
.statement { font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 3.4vw, 2.9rem); line-height: 1.1; letter-spacing: -.026em; max-width: 16em; }
.statement em { font-style: normal; color: var(--green); }
.night .statement em, .on-green .statement em { color: #8FBDB0; }

/* ---------- Ledger / tables ---------- */
.table-wrap { width: 100%; }
.ledger { width: 100%; border-collapse: collapse; font-size: .94rem; }
.ledger th, .ledger td { text-align: left; vertical-align: top; padding: 16px 20px 16px 0; border-top: 1px solid var(--line); }
.ledger thead th { font: 500 .68rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--ink); padding-top: 10px; padding-bottom: 10px; }
.ledger tbody th { font-family: var(--display); font-weight: 600; font-size: 1.04rem; letter-spacing: -.012em; width: 21%; color: var(--ink); }
.ledger td { color: var(--ink-2); }
.ledger td.gap, .ledger td.brk { color: var(--ink); }
.ledger td.gap::before { content: "Missing"; display: block; font: 500 .64rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 7px; }
.ledger tbody tr:last-child th, .ledger tbody tr:last-child td { border-bottom: 1px solid var(--line); }
.ledger .mhc th, .ledger .mhc td { background: var(--green-tint); }
.ledger .mhc th { padding-left: 16px; color: var(--green); }
@media (max-width: 820px) {
  .ledger thead { display: none; }
  .ledger, .ledger tbody, .ledger tr, .ledger th, .ledger td { display: block; width: 100%; }
  .ledger tr { border-top: 1px solid var(--ink); padding: 14px 0; }
  .ledger th, .ledger td { border: 0; padding: 4px 0; }
  .ledger td[data-h]::before { content: attr(data-h); display: block; font: 500 .64rem/1.7 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
  .ledger td.gap::before { margin-top: 8px; }
  .ledger .mhc th { padding-left: 0; }
}
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 20px 0 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.data-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 700px; }
.data-table caption { text-align: left; padding: 12px 16px; font: 500 .68rem/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--green); border-bottom: 1px solid var(--line); background: var(--panel); }
.data-table th { text-align: left; font: 500 .66rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 10px 16px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.data-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); min-width: 108px; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td.mono { font-family: var(--mono); font-size: .82rem; white-space: nowrap; color: var(--ink); }

/* ---------- Notes, boxes ---------- */
.note { border-left: 2px solid var(--green); padding: 2px 0 2px 16px; color: var(--ink-2); font-size: .94rem; }
.note strong { color: var(--ink); }
.night .note, .on-green .note { color: #C3D4CE; border-left-color: #8FBDB0; }
.boxed { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 2.6vw, 32px); background: var(--panel); }
.night .boxed { border-color: rgba(234,241,238,.2); background: rgba(234,241,238,.05); }

/* ---------- Film ---------- */
.film { position: relative; border-radius: var(--r); overflow: hidden; background: #000; border: 1px solid var(--line); }
.night .film { border-color: rgba(234,241,238,.18); }
.film video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface); }
.film-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 14px; border: 0; cursor: pointer; background: linear-gradient(0deg, rgba(12,26,22,.5), rgba(12,26,22,.1)); color: #fff; font: 600 1rem/1 var(--sans); }
.film-play .disc { width: 74px; height: 74px; border-radius: 50%; background: var(--white); color: var(--green); display: grid; place-items: center; transition: transform .18s ease; }
.film-play:hover .disc { transform: scale(1.05); }
.film-play .disc svg { width: 24px; height: 24px; margin-left: 3px; }
.film-play .txt { background: rgba(12,26,22,.72); padding: 9px 13px; border-radius: var(--r); font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.film.playing .film-play { display: none; }
@media (max-width: 600px) { .film-play .txt { display: none; } .film-play .disc { width: 60px; height: 60px; } }

/* ---------- Incident report spread ---------- */
.report-spread { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(26px, 4vw, 72px); align-items: start; }
.report-stack { position: relative; padding: 0 0 48px; }
.report-stack .sheet-1 { position: relative; z-index: 2; width: 84%; border: 1px solid var(--line); box-shadow: var(--shadow-plate); }
.report-stack .sheet-2 { position: absolute; z-index: 1; right: 0; bottom: 0; width: 54%; border: 1px solid var(--line); box-shadow: var(--shadow-plate); }
.report-stack .tag { position: absolute; z-index: 3; left: -8px; top: 22px; background: var(--green); color: #fff; font: 500 .68rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 8px 11px; }
.report-contents { list-style: none; padding: 0; margin: 22px 0 0; columns: 2; column-gap: 32px; }
.report-contents li { break-inside: avoid; padding: 8px 0; border-top: 1px solid var(--line); font-size: .93rem; display: grid; grid-template-columns: 32px 1fr; }
.report-contents li span { font: 500 .7rem/1.8 var(--mono); color: var(--green); }
@media (max-width: 960px) { .report-spread { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .report-contents { columns: 1; } .report-stack .sheet-1 { width: 90%; } .report-stack .sheet-2 { width: 60%; } }

/* ---------- Pricing ---------- */
.price-sheet { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); overflow: hidden; }
.price-sheet .ps-head { display: flex; justify-content: space-between; gap: 16px; padding: 14px 24px; border-bottom: 1px solid var(--line); align-items: center; flex-wrap: wrap; background: var(--panel); }
.price-row { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); border-bottom: 1px solid var(--line); }
.price-row > * { padding: 22px 24px; }
.price-row > * + * { border-left: 1px solid var(--line); }
.price-row.head > * { padding-top: 11px; padding-bottom: 11px; font: 500 .66rem/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.price-row .what { font-weight: 600; }
.price-row .what small { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; margin-top: 2px; }
.amount { font-family: var(--display); font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.amount small { font: 400 .86rem/1 var(--sans); color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.price-foot { padding: 18px 24px; font-size: .9rem; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 8px 26px; background: var(--panel); }
.price-foot span::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 6px; }
@media (max-width: 720px) {
  .price-row { grid-template-columns: 1fr; }
  .price-row .what { border-bottom: 1px solid var(--line); }
  .price-row > * + * { border-left: 0; }
  .price-row.head { display: none; }
  .price-row .cell-label { display: block; font: 500 .64rem/1.5 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
}
@media (min-width: 721px) { .price-row .cell-label { display: none; } }

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--ink); }
.timeline li { padding: 20px 22px 8px 0; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--line-strong); }
.timeline li:last-child::before { background: var(--green); }
.timeline .when { font: 500 .72rem/1.5 var(--mono); color: var(--green); letter-spacing: .06em; text-transform: uppercase; }
.timeline h3 { font-family: var(--display); font-weight: 600; font-size: 1.14rem; letter-spacing: -.014em; margin: 8px 0 7px; }
.timeline p { font-size: .93rem; color: var(--ink-2); }
@media (max-width: 900px) { .timeline { grid-template-columns: 1fr 1fr; row-gap: 12px; } }
@media (max-width: 540px) { .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--ink); } .timeline li { padding: 0 0 20px 22px; } .timeline li::before { top: 5px; left: -5px; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative; font-family: var(--display); font-weight: 600; font-size: clamp(1.02rem, 1.4vw, 1.16rem); letter-spacing: -.012em; line-height: 1.4; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 27px; width: 13px; height: 1px; background: var(--green); box-shadow: 0 0 0 0 transparent; }
.faq summary::before { content: ""; position: absolute; right: 14px; top: 21px; width: 1px; height: 13px; background: var(--green); transition: transform .18s ease; }
.faq details[open] summary::before { transform: scaleY(0); }
.faq .a { padding: 0 0 20px; color: var(--ink-2); max-width: 46em; }
.faq .a p:last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: 44px; }
.faq-group > .label { margin-bottom: 10px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form .row { grid-template-columns: 1fr; } }
.field label, .form label.lbl { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field .req { color: var(--red); }
.field input, .field select, .field textarea,
.form-card input[type=text], .form-card input[type=email], .form-card select, .form-card textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: 400 1rem/1.4 var(--sans); color: var(--ink);
  background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r); appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { min-height: 108px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--green-mid); outline-offset: 0; border-color: var(--green-mid); }
.field .hint { font-size: .84rem; color: var(--muted); margin-top: 5px; }
.error-text { color: var(--red); font-size: .87rem; margin-top: 5px; font-weight: 500; }
.form-alert { border-left: 3px solid var(--red); background: var(--red-tint); padding: 12px 16px; color: #6E2419; font-size: .94rem; border-radius: var(--r); }
.honeypot { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); box-shadow: 0 20px 44px -34px rgba(12,26,22,.5); }
.form-panel .form-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 13px; margin-bottom: 20px; }
.form-fine { font-size: .85rem; color: var(--muted); margin: 2px 0 0; }

/* ---------- Page heads ---------- */
.page-head { padding: clamp(40px, 5vw, 76px) 0 clamp(30px, 4vw, 52px); }
.page-head .h-1, .page-head .display { max-width: 16em; margin-top: 14px; }
.page-head .lede { margin-top: 20px; }
.page-head .actions { margin-top: 26px; }
.crumbs { font: 400 .76rem/1.5 var(--mono); color: var(--muted); letter-spacing: .03em; }
.crumbs a { color: var(--muted); text-decoration-color: var(--line-2); }
.crumbs span[aria-hidden] { margin: 0 8px; color: var(--line-2); }
.night .crumbs, .photo-band .crumbs { color: #A8BAB4; }
.night .crumbs a, .photo-band .crumbs a { color: #A8BAB4; }

/* ---------- Article ---------- */
.article-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(26px, 4vw, 72px); align-items: start; }
.article-body { max-width: 720px; }
.article-body h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.2; margin: 48px 0 14px; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font: 600 1.05rem/1.4 var(--sans); margin: 26px 0 6px; }
.article-body p, .article-body li { color: var(--ink-2); }
.article-body ul, .article-body ol { padding-left: 1.15em; }
.article-body li { margin-bottom: .4em; }
.article-body .download h2 { margin: 0 0 4px; font: 600 1rem/1.35 var(--sans); letter-spacing: 0; }
.article-body .data-table { min-width: 740px; }
.aside-card { border-top: 2px solid var(--ink); padding-top: 16px; }
.aside-card + .aside-card { margin-top: 32px; }
.aside-card h3 { font-family: var(--display); font-weight: 600; font-size: 1.12rem; line-height: 1.3; margin: 8px 0 8px; }
.aside-card p { font-size: .93rem; color: var(--ink-2); }
.aside-links { list-style: none; padding: 0; margin: 0; }
.aside-links li { border-top: 1px solid var(--line); }
.aside-links a { display: block; padding: 11px 0; text-decoration: none; font-size: .94rem; }
.aside-links a:hover { color: var(--green); }
@media (min-width: 961px) { .article-grid > aside { position: sticky; top: 100px; } }
@media (max-width: 960px) { .article-grid { grid-template-columns: 1fr; } }

.download { display: grid; grid-template-columns: auto 1fr auto; gap: 16px 22px; align-items: center; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 20px 22px; }
.download .ico { width: 44px; height: 54px; border: 1px solid var(--line-2); border-radius: var(--r); display: grid; place-items: end center; padding-bottom: 7px; font: 500 .62rem/1 var(--mono); color: var(--green); background: var(--white); }
.download h2, .download h3 { font: 600 1rem/1.35 var(--sans); margin: 0 0 3px; }
.download p { margin: 0; font-size: .89rem; color: var(--muted); }
@media (max-width: 640px) { .download { grid-template-columns: 1fr; } .download .ico { display: none; } }

.card-links { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 clamp(24px, 4vw, 56px); list-style: none; padding: 0; margin: 0; }
.card-links li { border-top: 1px solid var(--line); }
.card-links a { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 20px 0; text-decoration: none; }
.card-links a:hover .h-3 { color: var(--green); }
.card-links .k { font: 500 .66rem/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--green); grid-column: 1 / -1; }
.card-links p { grid-column: 1; margin: 0; color: var(--ink-2); font-size: .93rem; }
.card-links .go { grid-row: 2 / span 2; grid-column: 2; align-self: center; font-family: var(--mono); color: var(--green); }
@media (max-width: 700px) { .card-links { grid-template-columns: 1fr; } }

/* ---------- Close CTA ---------- */
.close { padding: clamp(66px, 8vw, 116px) 0; background: var(--green-deep); color: var(--on-green); }
.close .display { max-width: 13em; color: var(--on-green); }
.close .display em { font-style: normal; color: #8FBDB0; }
.close-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(26px, 4vw, 72px); align-items: end; }
.close-grid p { color: #C3D4CE; }
.close .fine { font-size: .86rem; color: var(--on-green-muted); margin-top: 12px; }
@media (max-width: 860px) { .close-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-foot { background: var(--white); color: var(--ink-2); padding: 64px 0 28px; border-top: 1px solid var(--line); font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 30px; }
.foot-brand .brand-word { font-size: 1.3rem; color: var(--ink); }
.foot-brand p { margin-top: 12px; max-width: 30em; color: var(--muted); }
.foot-col h2 { font: 500 .66rem/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--green); margin: 3px 0 12px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col a { display: inline-block; padding: 5px 0; color: var(--ink-2); text-decoration: none; }
.foot-col a:hover { color: var(--green); text-decoration: underline; }
.foot-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; font-size: .82rem; color: var(--muted); }
.foot-base code { font-family: var(--mono); font-size: .8rem; color: var(--ink-2); }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 560px; background: var(--white); color: var(--ink); padding: 18px 20px; border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: 0 24px 50px -24px rgba(12,26,22,.45); display: none; }
.cookie-banner.show { display: block; }
.cookie-banner p { margin: 0 0 12px; font-size: .9rem; color: var(--ink-2); }
.cookie-banner .actions { gap: 8px; }
.cookie-banner .btn { min-height: 44px; }
.cookie-banner .btn:not(.btn-ghost):not(.btn-brass) { background: var(--white); color: var(--ink); border-color: var(--line-2); }

/* ---------- Legal / utility compatibility ---------- */
.legal { padding: clamp(40px, 5vw, 80px) 0 clamp(56px, 7vw, 100px); }
.legal .display { font-size: clamp(2rem, 4vw, 3.1rem); margin: 14px 0 8px; }
.doc-meta { font: 400 .78rem/1.6 var(--mono); color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 32px; }
.prose { max-width: 720px; color: var(--ink-2); }
.prose h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -.018em; color: var(--ink); margin: 44px 0 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.prose h3 { font: 600 1.02rem/1.4 var(--sans); color: var(--ink); margin: 24px 0 6px; }
.prose ul, .prose ol { padding-left: 1.15em; }
.prose li { margin-bottom: .5em; }
.prose a { color: var(--green); }
.toc { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 16px 20px; margin: 24px 0; font-size: .93rem; }
.toc ol { margin: 8px 0 0; columns: 2; column-gap: 28px; }
@media (max-width: 600px) { .toc ol { columns: 1; } }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3vw, 30px); }
.pref-row { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.pref-row:first-child { padding-top: 0; }
.pref-row .meta h3 { font: 600 1rem/1.35 var(--sans); margin: 0 0 3px; }
.pref-row .meta p { margin: 0; font-size: .91rem; color: var(--muted); }
.switch { position: relative; display: inline-block; width: 52px; height: 30px; flex-shrink: 0; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch .track { position: absolute; inset: 0; background: var(--line-2); border-radius: 30px; transition: background .2s; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; background: #fff; border-radius: 50%; transition: transform .2s; }
.switch input:checked + .track { background: var(--green); }
.switch input:checked + .track::after { transform: translateX(22px); }
.switch input:disabled + .track { opacity: .6; }
.switch input:focus-visible + .track { outline: 2px solid var(--green-mid); outline-offset: 2px; }
.pref-saved { opacity: 0; transition: opacity .2s; color: var(--green); font-weight: 600; font-size: .9rem; margin-left: 8px; }
.pref-saved.show { opacity: 1; }
.help { font-size: .88rem; color: var(--muted); }
.legal-hub { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.tile { display: block; text-decoration: none; border-top: 1px solid var(--line); padding: 18px 0; }
.tile h3, .tile .h-3 { font-family: var(--display); font-weight: 600; font-size: 1.1rem; margin: 0 0 3px; }
.tile p { margin: 0; color: var(--muted); font-size: .93rem; }
.tile:hover h3, .tile:hover .h-3 { color: var(--green); }
@media (max-width: 640px) { .legal-hub { grid-template-columns: 1fr; } }
.badge-soft { display: inline-block; font-family: var(--mono); font-size: .82rem; border: 1px solid var(--line); border-radius: var(--r); padding: 6px 10px; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 22px; } .mt-3 { margin-top: 36px; } .mt-4 { margin-top: 58px; }
.mb-0 { margin-bottom: 0 !important; } .mb-2 { margin-bottom: 22px; } .mb-3 { margin-bottom: 36px; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { transform: translateY(14px); transition: transform .55s cubic-bezier(.2,.7,.3,1); will-change: transform; }
  .reveal.in { transform: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

@media print {
  .masthead, .site-foot, .cookie-banner, .close, .film { display: none !important; }
  body { background: #fff; }
}
.card-links.one { grid-template-columns: 1fr; }
