/* Bokholm Redovisning. Ledger paper, falu red, pine. Source Serif 4 (display) + Public Sans (text). */

@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin.woff2") format("woff2");
  font-weight: 400 640;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
/* Metric-matched fallbacks, so the swap to the web fonts does not move the layout. */
@font-face {
  font-family: "Bokholm Serif Fallback";
  src: local("Times New Roman"), local("Liberation Serif"), local("Georgia");
  size-adjust: 111.5%;
  ascent-override: 93%;
  descent-override: 30.1%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Bokholm Sans Fallback";
  src: local("Arial"), local("Liberation Sans"), local("Helvetica");
  size-adjust: 102.1%;
  ascent-override: 93%;
  descent-override: 22%;
  line-gap-override: 0%;
}

:root {
  --paper: #f3f5f0;
  --paper-deep: #e7ebe4;
  --ink: #1c1f1e;
  --ink-2: #33383a;
  --muted: #525a5a;
  --rule: #d2d9d0;
  --rule-strong: #a3ada5;
  --red: #8b2e1f;
  --red-deep: #6e2317;
  --on-red: #ffffff;
  --pine: #1f4a3a;
  --on-pine: #eef2ec;
  --on-pine-muted: #bfd0c5;
  --pine-rule: rgba(238, 242, 236, 0.24);
  --focus: #1c1f1e;
  --shade: rgba(20, 28, 24, 0.08);

  --serif: "Source Serif 4", "Bokholm Serif Fallback", Georgia, serif;
  --sans: "Public Sans", "Bokholm Sans Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 4.6vw, 56px);
  --max: 1280px;
  --section: clamp(80px, 10vw, 152px);

  --fs-hero: clamp(2.75rem, 1.5rem + 4.3vw, 4.75rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.1vw, 2.875rem);
  --fs-h3: clamp(1.375rem, 1.22rem + 0.5vw, 1.625rem);
  --fs-lead: clamp(1.1875rem, 1.08rem + 0.45vw, 1.375rem);
  --fs-body: clamp(1.125rem, 1.08rem + 0.18vw, 1.1875rem);
  --fs-small: 1rem;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #111614;
    --paper-deep: #18201d;
    --ink: #e6eae4;
    --ink-2: #cfd6d0;
    --muted: #a3ada8;
    --rule: #2b3632;
    --rule-strong: #4a5852;
    --red: #e8957f;
    --red-deep: #f2b4a3;
    --on-red: #111614;
    --pine: #173a2d;
    --on-pine: #e6eae4;
    --on-pine-muted: #b3c6ba;
    --pine-rule: rgba(230, 234, 228, 0.2);
    --focus: #e6eae4;
    --shade: rgba(0, 0, 0, 0.3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #111614;
  --paper-deep: #18201d;
  --ink: #e6eae4;
  --ink-2: #cfd6d0;
  --muted: #a3ada8;
  --rule: #2b3632;
  --rule-strong: #4a5852;
  --red: #e8957f;
  --red-deep: #f2b4a3;
  --on-red: #111614;
  --pine: #173a2d;
  --on-pine: #e6eae4;
  --on-pine-muted: #b3c6ba;
  --pine-rule: rgba(230, 234, 228, 0.2);
  --focus: #e6eae4;
  --shade: rgba(0, 0, 0, 0.3);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 560;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -0.015em; }
h3 { font-size: var(--fs-h3); line-height: 1.25; font-weight: 600; letter-spacing: -0.005em; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 1em; }
strong { font-weight: 640; }

a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--red-deep); }

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

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 12px 18px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; color: var(--paper); }

.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;
}

/* Link underline that grows in (body links keep a static underline for clarity). */
.link-grow {
  color: inherit; text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  padding-bottom: 2px;
  transition: background-size 200ms ease-out;
}
.link-grow:hover { background-size: 100% 2px; color: inherit; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--red);
  --btn-fg: var(--on-red);
  --btn-wipe: var(--red-deep);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px;
  font: 600 1.0625rem/1.2 var(--sans);
  letter-spacing: 0.005em;
  color: var(--btn-fg);
  background-color: var(--btn-bg);
  background-image: linear-gradient(var(--btn-wipe), var(--btn-wipe));
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 0% 100%;
  border: 0; border-radius: 3px;
  text-decoration: none; white-space: nowrap;
  transition: background-size 250ms ease-out, color 250ms ease-out;
  cursor: pointer;
}
.btn:hover { background-size: 100% 100%; color: var(--btn-fg); }
.btn:active { transform: translateY(1px); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn { --btn-wipe: #f4c2b4; }
}
:root[data-theme="dark"] .btn { --btn-wipe: #f4c2b4; }

.btn--light { --btn-bg: #f3f5f0; --btn-fg: #1c1f1e; --btn-wipe: #ffffff; }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 68px;
}
/* Lockup: the name in the serif over the double rule, the trade beneath in small tracked capitals. */
.wordmark {
  display: inline-flex; flex-direction: column; align-items: stretch;
  color: var(--ink); text-decoration: none;
  padding-block: 6px;
}
.wm-name { font: 600 1.625rem/1 var(--serif); letter-spacing: -0.01em; }
.wm-name::after {
  content: ""; display: block; height: 4px; margin-top: 4px;
  border-top: 1.5px solid var(--red); border-bottom: 1.5px solid var(--red);
}
.wm-sub {
  margin-top: 5px;
  font: 600 0.75rem/1 var(--sans); letter-spacing: 0.17em; text-transform: uppercase;
  color: var(--ink-2);
}
.wordmark:hover { color: var(--ink); }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 32px); }
.nav ul { display: flex; gap: clamp(16px, 2vw, 28px); list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) {
  color: var(--ink-2); font-size: 1rem; font-weight: 500; text-decoration: none;
  background-image: linear-gradient(var(--red), var(--red)); background-repeat: no-repeat;
  background-position: 0 100%; background-size: 0% 1.5px; padding-block: 6px;
  transition: background-size 200ms ease-out, color 200ms ease-out;
}
.nav a:not(.btn):hover { color: var(--ink); background-size: 100% 1.5px; }

.menu { display: none; position: relative; }
.menu > summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 14px;
  font: 600 1rem/1 var(--sans); color: var(--ink);
  border: 1px solid var(--rule-strong); border-radius: 3px;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu-bars { position: relative; display: inline-block; width: 16px; height: 10px; }
.menu-bars::before, .menu-bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform 200ms ease-out, top 200ms ease-out;
}
.menu-bars::before { top: 1px; }
.menu-bars::after { top: 7.5px; }
.menu[open] .menu-bars::before { top: 4.25px; transform: rotate(45deg); }
.menu[open] .menu-bars::after { top: 4.25px; transform: rotate(-45deg); }
.menu .when-open, .menu[open] .when-closed { display: none; }
.menu[open] .when-open { display: inline; }
.menu-panel {
  position: fixed; left: 0; right: 0; top: 68px;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 18px 30px -12px var(--shade);
  padding: 8px var(--gutter) 28px;
}
.menu-panel ul { list-style: none; margin: 0 0 20px; padding: 0; }
.menu-panel li a {
  display: block; padding: 14px 0;
  font: 560 1.375rem/1.25 var(--serif); color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--rule);
}
.menu-panel .btn { width: 100%; }

@media (max-width: 1023px) {
  .nav { display: none; }
  .menu { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(580px, calc(100svh - 68px), 900px);
  display: grid;
  align-items: end;
  background: #2b2a27;
  color: #ffffff;
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media picture { height: 100%; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 46%;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(17, 18, 16, 0.88) 0%, rgba(17, 18, 16, 0.7) 30%, rgba(17, 18, 16, 0.42) 55%, rgba(17, 18, 16, 0.08) 76%, rgba(17, 18, 16, 0) 86%),
    linear-gradient(to right, rgba(17, 18, 16, 0.6) 0%, rgba(17, 18, 16, 0.38) 34%, rgba(17, 18, 16, 0) 62%);
}
.hero-inner { padding-block: 120px clamp(48px, 7vw, 96px); }
.hero h1 {
  color: #ffffff;
  font-size: var(--fs-hero);
  line-height: 1.04;
  letter-spacing: -0.022em;
  font-weight: 540;
  max-width: 15ch;
}
.hero h1 .line { display: block; overflow: clip; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero h1 .line > span { display: block; }
.hero-sub {
  margin-top: clamp(20px, 2.4vw, 28px);
  max-width: 40ch;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}
.hero-actions {
  margin-top: clamp(28px, 3vw, 40px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px;
}
.hero-actions .link-grow { color: #ffffff; font-weight: 500; font-size: 1.0625rem; }
.hero :focus-visible { outline-color: #ffffff; }

/* Phones: the photo sits above, the headline overlaps the frosted street on a dark band. */
@media (max-width: 720px) {
  .hero { min-height: 0; display: block; background: #1b1d1b; }
  .hero-media { position: relative; inset: auto; height: min(138vw, 560px); }
  .hero-media img { object-position: 50% 38%; }
  .hero::after {
    bottom: auto; height: min(138vw, 560px);
    background: linear-gradient(to top, #1b1d1b 0%, rgba(27, 29, 27, 0.86) 20%, rgba(27, 29, 27, 0.35) 40%, rgba(27, 29, 27, 0) 56%);
  }
  .hero-inner { position: relative; margin-top: -136px; padding-top: 0; padding-bottom: 48px; }
  .hero-actions { gap: 16px 24px; }
}

/* Authored hero moment: masked line reveal, exponential ease-out, from a legible resting state. */
@media (prefers-reduced-motion: no-preference) {
  .motion .hero h1 .line > span { animation: line-rise 900ms var(--ease-out) both; }
  .motion .hero h1 .line:nth-child(2) > span { animation-delay: 110ms; }
  .motion .hero-sub, .motion .hero-actions { animation: fade-rise 700ms var(--ease-out) both; animation-delay: 380ms; }
  .motion .hero-actions { animation-delay: 480ms; }
  .motion .hero-media img { animation: first-light 1600ms var(--ease-out) both; }
}
@keyframes line-rise { from { transform: translateY(104%); } to { transform: none; } }
@keyframes fade-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes first-light { from { filter: brightness(0.7) saturate(0.82); } to { filter: none; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--tight-top { padding-top: clamp(64px, 7vw, 104px); }
.section-head { max-width: 46rem; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head h2::before {
  content: ""; display: block; width: 44px; height: 5px; margin-bottom: 22px;
  border-top: 1.5px solid var(--red); border-bottom: 1.5px solid var(--red);
}
.section-head p { margin-top: 20px; font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); max-width: 40em; }

/* ---------- Commitments (seals) ---------- */
.seals {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(28px, 4vw, 64px);
  border-top: 1px solid var(--rule);
}
.seal {
  display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 22px; align-items: start;
  padding-block: 36px 40px;
  border-bottom: 1px solid var(--rule);
}
.seal-svg { width: 120px; height: 120px; color: var(--red); transform: rotate(var(--tilt, 0deg)); }
.seal h3 { font-size: 1.4375rem; margin-top: 6px; }
.seal p { margin-top: 10px; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.55; }
.seal-ring { font-family: var(--sans); font-weight: 620; letter-spacing: 1.15px; fill: currentColor; }
.seal-num { font-family: var(--serif); font-weight: 600; font-size: 40px; fill: currentColor; }
.seal-s { font-size: 34px; }

@media (max-width: 1100px) { .seals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .seals { grid-template-columns: minmax(0, 1fr); }
  .seal { grid-template-columns: 80px minmax(0, 1fr); gap: 18px; padding-block: 28px 30px; }
  .seal-svg { width: 80px; height: 80px; }
}

/* ---------- Who we are ---------- */
.who-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 112px); align-items: start;
}
.who-aside h2 { max-width: 12ch; }
.who-aside h2::before {
  content: ""; display: block; width: 44px; height: 5px; margin-bottom: 22px;
  border-top: 1.5px solid var(--red); border-bottom: 1.5px solid var(--red);
}
.who-aside figure { margin: clamp(32px, 4vw, 48px) 0 0; max-width: 420px; }
.who-text {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: clamp(1.25rem, 1.15rem + 0.35vw, 1.4375rem);
  line-height: 1.6;
  color: var(--ink);
  max-width: 34em;
  padding-top: 8px;
}
.who-text .who-lead { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 1.1em; }
@media (max-width: 900px) {
  .who-grid { grid-template-columns: minmax(0, 1fr); }
  .who-aside figure { max-width: none; }
}

/* ---------- Images and their reveal ---------- */
.frame { margin: 0; background: var(--paper-deep); }
.frame picture { height: 100%; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.reveal-armed .reveal img {
  clip-path: inset(0 0 16% 0);
  filter: saturate(0.72) brightness(1.05);
  transition: clip-path 1100ms var(--ease-out), filter 1400ms var(--ease-out);
}
.reveal-armed .reveal.is-in img { clip-path: inset(0 0 0 0); filter: none; }
.reveal { overflow: clip; }

/* ---------- Process ledger (scroll-linked margin rule) ---------- */
.steps-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(40px, 6vw, 96px); align-items: start;
}
.steps-figure { position: sticky; top: 112px; aspect-ratio: 3 / 4; }
.ledger, .ledger-total { --when: 9.5rem; --rule-x: calc(var(--when) + 22px); }
.ledger {
  --p: 1;
  position: relative;
  list-style: none; margin: 0; padding: 0;
}
.ledger::before, .ledger::after {
  content: ""; position: absolute; top: 6px; bottom: 0;
  left: var(--rule-x); width: 6px;
  border-left: 1.5px solid; border-right: 1.5px solid;
}
.ledger::before { border-color: var(--rule); }
.ledger::after {
  border-color: var(--red);
  transform-origin: 50% 0;
  transform: scaleY(var(--p));
}
.entry {
  position: relative;
  display: grid; grid-template-columns: var(--when) minmax(0, 1fr);
  column-gap: 72px;
  padding-bottom: clamp(44px, 5vw, 64px);
}
.entry::before {
  content: ""; position: absolute; top: 9px; left: calc(var(--rule-x) - 5px);
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--rule-strong);
  transition: background-color 300ms ease-out, border-color 300ms ease-out;
  z-index: 1;
}
.entry.is-reached::before, .ledger:not(.ledger-live) .entry::before { background: var(--red); border-color: var(--red); }
.entry-when {
  padding-top: 4px;
  font: 600 1rem/1.4 var(--sans);
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--red);
  text-align: right;
}
.entry h3 { margin-bottom: 12px; }
.entry p { color: var(--ink-2); }
.entry-docs { margin: 14px 0 0; padding: 0; list-style: none; color: var(--ink-2); }
.entry-docs li { position: relative; padding-left: 26px; }
.entry-docs li + li { margin-top: 4px; }
.entry-docs li::before { content: ""; position: absolute; left: 2px; top: 0.78em; width: 12px; border-top: 1.5px solid var(--red); }

.ledger-total {
  position: relative;
  display: grid; grid-template-columns: var(--when) minmax(0, 1fr); column-gap: 72px;
  padding-top: 26px;
  border-top: 1px solid var(--rule-strong);
}
.ledger-total .entry-when { color: var(--ink); }
.ledger-total p { font-family: var(--serif); font-size: 1.3125rem; line-height: 1.5; color: var(--ink); }
.ledger-total .sum-rule {
  grid-column: 2; margin-top: 18px; height: 6px; width: min(100%, 22rem);
  border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  transform-origin: 0 50%;
}
.ledger-live + .ledger-total .sum-rule { transform: scaleX(0); transition: transform 900ms var(--ease-out); }
.ledger-live.is-done + .ledger-total .sum-rule { transform: none; }

@media (max-width: 960px) {
  .steps-grid { grid-template-columns: minmax(0, 1fr); }
  .steps-figure { position: relative; top: 0; aspect-ratio: 3 / 2; }
}
@media (max-width: 680px) {
  .ledger, .ledger-total { --when: 0px; --rule-x: 0px; }
  .entry, .ledger-total { grid-template-columns: minmax(0, 1fr); column-gap: 0; padding-left: 38px; }
  .ledger-total { padding-left: 0; }
  .ledger-total .sum-rule { grid-column: 1; }
  .entry-when { text-align: left; padding-top: 0; margin-bottom: 6px; }
  .entry::before { top: 3px; left: -5px; }
}

/* ---------- The deal: payment timeline ---------- */
.deal-intro {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: baseline;
  max-width: 52rem; margin-bottom: clamp(36px, 4vw, 56px);
  padding: 22px 26px; background: var(--paper-deep); border-radius: 3px;
}
.deal-intro strong { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; }
.deal-intro p { color: var(--ink-2); }

.plan { --axis-left: 7%; position: relative; }
.plan-axis, .plan-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); }
.plan-axis { padding-bottom: 14px; border-bottom: 1px solid var(--rule-strong); }
.axis { position: relative; height: 26px; }
.axis > span {
  position: absolute; top: 0; transform: translateX(-50%);
  font: 600 0.9375rem/1.4 var(--sans); color: var(--muted); white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
}
.axis > span:first-child { transform: translateX(-50%); }
.axis > span:last-child { transform: translateX(-100%); }
.plan-list { list-style: none; margin: 0; padding: 0; }
.plan-row { padding-block: 30px; border-bottom: 1px solid var(--rule); align-items: center; }
.plan-row h3 { margin-bottom: 8px; }
.plan-row p { color: var(--ink-2); }
.track { position: relative; height: 40px; }
.track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed var(--rule-strong); }
.tick { position: absolute; top: 8px; bottom: 8px; border-left: 1px solid var(--rule); }
.dot {
  position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border-radius: 50%; background: var(--red);
}
.span-bar {
  position: absolute; top: 50%; height: 10px; margin-top: -5px;
  background: var(--red); border-radius: 5px;
}
.plan-notes {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 80px);
  list-style: none; padding: 0;
}
.plan-notes li { padding-block: 22px; border-top: 1px solid var(--rule); }
.plan-notes strong { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; line-height: 1.3; margin-bottom: 6px; }
.plan-notes span { color: var(--ink-2); }

@media (max-width: 860px) {
  .plan-axis { grid-template-columns: minmax(0, 1fr); position: sticky; top: 68px; z-index: 2; background: var(--paper); padding-top: 12px; }
  .plan-axis > div:first-child { display: none; }
  .plan-row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .plan-notes { grid-template-columns: minmax(0, 1fr); }
  .deal-intro { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}
@media (max-width: 860px) { .ax-long { display: none; } .axis > span:first-child { transform: none; left: 0 !important; } }
@media (max-width: 420px) {
  .axis > span { font-size: 0.875rem; }
}

/* ---------- Interlude ---------- */
.interlude { padding-top: var(--section); }
.interlude-line {
  margin: 0 0 clamp(40px, 5vw, 64px);
  max-width: 24ch;
  font: 500 clamp(1.875rem, 1.2rem + 2.4vw, 3.25rem)/1.16 var(--serif);
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.interlude .frame { aspect-ratio: 21 / 9; }
@media (max-width: 720px) { .interlude .frame { aspect-ratio: 4 / 3; } }

/* ---------- Pine section: staff and clients ---------- */
.pine { background: var(--pine); color: var(--on-pine); }
.pine h2, .pine h3 { color: var(--on-pine); }
.pine .section-head h2::before { border-color: var(--on-pine); }
.pine .section-head p { color: var(--on-pine-muted); }
.pine a { color: var(--on-pine); }
.pine :focus-visible { outline-color: var(--on-pine); }
.stay-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(36px, 5vw, 72px); align-items: start;
}
.stay h3 { padding-bottom: 16px; border-bottom: 1px solid var(--pine-rule); margin-bottom: 8px; }
.stay ul { list-style: none; margin: 0; padding: 0; }
.stay li { position: relative; padding: 14px 0 14px 28px; border-bottom: 1px solid var(--pine-rule); }
.stay li::before {
  content: ""; position: absolute; left: 0; top: 1.5em; width: 14px; height: 4px;
  border-top: 1.5px solid var(--on-pine); border-bottom: 1.5px solid var(--on-pine);
}
.stay-figure { aspect-ratio: 4 / 5; }
.changes {
  margin-top: clamp(56px, 6vw, 88px);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 72px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--pine-rule);
}
.changes p { color: var(--on-pine); max-width: 40em; }
.changes p + p { color: var(--on-pine-muted); }
@media (max-width: 1060px) {
  .stay-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stay-figure { grid-column: 1 / -1; aspect-ratio: 3 / 2; order: -1; }
}
@media (max-width: 720px) {
  .stay-grid, .changes { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.faq-grid .section-head { position: sticky; top: 112px; margin-bottom: 0; }
.faq { border-top: 1px solid var(--rule-strong); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 20px; align-items: center;
  padding: 24px 0;
  font: 560 clamp(1.25rem, 1.15rem + 0.35vw, 1.4375rem)/1.3 var(--serif);
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; justify-self: end; width: 22px; height: 22px;
  background:
    linear-gradient(var(--red), var(--red)) center / 16px 2px no-repeat,
    linear-gradient(var(--red), var(--red)) center / 2px 16px no-repeat;
  transition: transform 250ms var(--ease-out);
}
.faq details[open] summary::after {
  background: linear-gradient(var(--red), var(--red)) center / 16px 2px no-repeat;
}
.faq summary:hover { color: var(--red); }
.faq .answer { padding: 0 48px 28px 0; color: var(--ink-2); max-width: 40em; }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-grid .section-head { position: static; margin-bottom: 32px; }
  .faq .answer { padding-right: 0; }
}

/* ---------- About ---------- */
.about-new {
  max-width: 34em;
  font: 500 clamp(1.375rem, 1.15rem + 0.9vw, 1.875rem)/1.4 var(--serif);
  font-optical-sizing: auto;
  color: var(--ink);
}
.about-grid {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px);
}
.about-grid h3 { margin-bottom: 14px; }
.about-grid p { color: var(--ink-2); }
.facts { margin: 0; border-top: 1px solid var(--rule-strong); }
.facts div { display: grid; grid-template-columns: minmax(0, 12.5rem) minmax(0, 1fr); gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--muted); font-size: 1rem; padding-top: 2px; }
.facts dd { margin: 0; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.facts .pending { color: var(--muted); }
.about-grid--single { grid-template-columns: minmax(0, 46rem); }
@media (max-width: 860px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* ---------- Contact ---------- */
.contact { background: var(--paper-deep); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.contact h2 { font-size: clamp(2.25rem, 1.4rem + 2.8vw, 3.5rem); line-height: 1.08; max-width: 17ch; }
.contact-text { margin-top: 24px; font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); max-width: 32em; }
.contact-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.contact-mail { font: 560 1.375rem/1.2 var(--serif); }
.contact-optout { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--rule-strong); font-size: var(--fs-small); color: var(--muted); max-width: 40em; }
.contact-optout a { color: var(--ink-2); }
.contact-figure { aspect-ratio: 4 / 5; max-width: 460px; justify-self: end; width: 100%; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-figure { justify-self: stretch; max-width: none; aspect-ratio: 3 / 2; order: -1; }
}

/* ---------- Footer ---------- */
.site-footer { padding-block: clamp(56px, 6vw, 88px) 40px; border-top: 1px solid var(--rule); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) auto; gap: clamp(32px, 5vw, 72px); align-items: start; }
.footer-lead { max-width: 30em; color: var(--ink-2); }
.footer-lead .wordmark { margin-bottom: 20px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li + li { margin-top: 10px; }
.footer-links a { color: var(--ink); }
.footer-seal .seal-svg { width: 112px; height: 112px; color: var(--red); --tilt: 8deg; }
.footer-legal {
  margin-top: clamp(40px, 5vw, 64px); padding-top: 20px; border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px;
  font-size: var(--fs-small); color: var(--muted);
}
.footer-legal p { margin: 0; }
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-seal { order: -1; }
}

/* ---------- Document pages (privacy, 404) ---------- */
.doc { padding-block: clamp(56px, 7vw, 112px) var(--section); }
.doc-head { max-width: 46rem; }
.doc-head h1 { font-size: clamp(2.375rem, 1.5rem + 3vw, 3.75rem); line-height: 1.08; letter-spacing: -0.02em; }
.doc-head h1::before {
  content: ""; display: block; width: 44px; height: 5px; margin-bottom: 22px;
  border-top: 1.5px solid var(--red); border-bottom: 1.5px solid var(--red);
}
.doc-head p { margin-top: 20px; font-size: var(--fs-lead); color: var(--ink-2); }
.doc-head .doc-meta { margin-top: 14px; font-size: var(--fs-small); color: var(--muted); }
.doc-grid { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: 104px; font-size: var(--fs-small); }
.toc p { font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 1.4em; color: var(--muted); }
.toc li + li { margin-top: 6px; }
.toc a { color: var(--ink-2); }
.doc-body { max-width: 42rem; }
.doc-body section + section { margin-top: clamp(44px, 5vw, 64px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--rule); }
.doc-body h2 { font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); margin-bottom: 18px; }
.doc-body h3 { font-size: 1.25rem; margin: 26px 0 8px; }
.doc-body p, .doc-body li { color: var(--ink-2); }
.doc-body ul { margin: 12px 0 0; padding-left: 1.2em; }
.doc-body li + li { margin-top: 8px; }
.doc-body dl { margin: 12px 0 0; border-top: 1px solid var(--rule); }
.doc-body dl div { display: grid; grid-template-columns: minmax(0, 13.5rem) minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.doc-body dt { color: var(--muted); font-size: 1rem; }
.doc-body dd { margin: 0; color: var(--ink); }
@media (max-width: 860px) {
  .doc-grid { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; padding: 20px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
}
@media (max-width: 480px) { .doc-body dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

.notfound { min-height: calc(100svh - 68px - 120px); display: grid; align-items: center; }
.notfound .seal-svg { width: 120px; height: 120px; color: var(--red); margin-bottom: 32px; --tilt: -8deg; }
.notfound .actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }

/* ---------- Reduced motion: no motion, full content ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-armed .reveal img { clip-path: none; filter: none; }
}

@media print {
  .site-header, .menu, .hero::after, .contact-figure, .steps-figure { display: none; }
  body { background: #fff; color: #000; }
  .hero { color: #000; background: none; min-height: 0; }
  .hero h1, .hero-sub { color: #000; }
}
