
:root {
  --paper: #f8f5ee;
  --ink: #171514;
  --muted: #665f56;
  --surface: #fffdf8;
  --line: rgba(23, 21, 20, .16);
  --accent: #8f372e;
  --green: #0f745c;
  --blue: #2f5796;
  --container: min(1160px, calc(100vw - 40px));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font-size: 17px; line-height: 1.64; letter-spacing: 0; }
img { display: block; max-width: 100%; height: auto; object-fit: cover; }
a { color: inherit; text-underline-offset: 4px; }
.skip-link { position: absolute; top: -80px; left: 16px; z-index: 100; background: var(--ink); color: white; padding: 10px; }
.skip-link:focus { top: 16px; }
.site-header { position: sticky; top: 0; z-index: 50; min-height: 70px; display: grid; grid-template-columns: 1fr auto auto; gap: 20px; align-items: center; padding: 0 max(20px, calc((100vw - 1160px) / 2)); background: color-mix(in srgb, var(--paper) 91%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; font-weight: 950; line-height: 1; }
.brand small { color: var(--muted); font-size: .72rem; font-weight: 800; }
nav { display: flex; gap: 16px; color: var(--muted); font-size: .9rem; font-weight: 850; }
nav a, .lang { text-decoration: none; }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 7px 10px; background: var(--surface); font-weight: 900; }
.progress { position: fixed; left: 0; top: 0; z-index: 80; width: 100%; height: 3px; background: transparent; }
.progress span { display: block; width: 0; height: 100%; background: var(--accent); }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; padding: 12px 18px; font-weight: 900; text-decoration: none; border: 1px solid var(--line); }
.button.primary { background: var(--ink); color: white; border-color: var(--ink); }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: .76rem; font-weight: 950; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1, h2 { letter-spacing: 0; line-height: 1.02; }
h1 { max-width: 1040px; margin-bottom: 22px; font-size: 5rem; }
h2 { margin-bottom: 18px; font-size: 3.2rem; }
.scroll-hero { width: var(--container); min-height: calc(100svh - 70px); margin: 0 auto; display: flex; flex-direction: column; justify-content: center; padding: 80px 0; }
.scroll-hero p:not(.eyebrow) { max-width: 720px; color: var(--muted); font-size: 1.22rem; }
.story-layout { width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 170px minmax(300px, .82fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 54px); align-items: start; padding: 26px 0 120px; }
.story-nav { position: sticky; top: 94px; display: grid; gap: 8px; padding-top: 10px; }
.story-nav b { margin-bottom: 10px; font-size: .78rem; color: var(--muted); text-transform: uppercase; }
.story-nav a { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; padding: 10px 0; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); }
.story-nav a span { font-weight: 950; color: var(--accent); }
.story-visual { position: sticky; top: 94px; min-height: 520px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.story-visual span { position: absolute; z-index: 2; left: 26px; top: 22px; border-radius: 999px; padding: 8px 10px; background: rgba(255,253,248,.9); color: var(--accent); font-weight: 950; }
.story-visual img { width: 100%; height: 496px; border-radius: 6px; filter: saturate(.88) contrast(1.03); }
.story-steps { display: grid; gap: 84px; }
.story-step { min-height: 76svh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; border-bottom: 1px solid var(--line); }
.story-step > span { color: var(--accent); font-weight: 950; }
.story-step p { max-width: 680px; color: var(--muted); font-size: 1.12rem; }
.story-step img { display: none; }
.scroll-final { width: var(--container); margin: 0 auto 80px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; padding: clamp(30px, 6vw, 70px); border-radius: 8px; background: var(--ink); color: white; }
.scroll-final p:not(.eyebrow) { max-width: 700px; color: rgba(255,255,255,.76); }
.scroll-final .eyebrow { color: #df8d7f; }
.scroll-final .button.primary { background: white; color: var(--ink); border-color: white; }
@media (max-width: 980px) {
  :root { --container: min(100vw - 28px, 1160px); }
  .site-header { grid-template-columns: 1fr auto; padding: 12px 14px; }
  nav { grid-column: 1 / -1; width: 100%; overflow-x: auto; padding-bottom: 4px; }
  h1 { font-size: 3.25rem; }
  h2 { font-size: 2.25rem; }
  .scroll-hero { min-height: auto; padding: 58px 0; }
  .story-layout { display: block; padding-bottom: 70px; }
  .story-nav, .story-visual { display: none; }
  .story-steps { gap: 26px; }
  .story-step { min-height: auto; padding: 34px 0; }
  .story-step img { display: block; width: 100%; margin-top: 18px; border-radius: 8px; border: 1px solid var(--line); aspect-ratio: 4 / 3; }
  .scroll-final { grid-template-columns: 1fr; align-items: start; margin-bottom: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
