/* =====================================================================
   WALTER HARTMANN — Insolvenzverwalter, Nürnberg
   Design-System „Geordnete Verhältnisse"
   Swiss Modern × Buchhaltung/Akte: der Verwalter bringt Ordnung in die
   Krise. Besitzbare Geste = der Kupfer-Doppelstrich (Bilanz-/Abschluss-
   strich), der unter die entscheidenden Worte zieht. Positionen in einem
   kupfer-gelineaten Rand, Registerreiter-Akkordeon, gestempeltes Siegel,
   Chaos→Ordnung-Szene. Palette: Papier + Schiefer-Ink, EIN Akzent: Kupfer.
   Type: Albert Sans (variabel) + DM Mono, selbst gehostet (DSGVO).
   ===================================================================== */

:root {
  --paper:   #f2f3f7;          /* kühles Weiß */
  --stone:   #e8eaf1;          /* kühle Wechselfläche */
  --ink:     #14161f;          /* tiefes Tinte-Schwarz, leichter Blaustich */
  --ink-2:   #33384a;
  --text:    #34394a;
  --muted:   #6b7183;
  --line:    #d2d6e2;
  --line-ink:#282d3d;
  --copper:  #2340ff;          /* Akzent: Signalblau / Kobalt (großzügig gesetzt) */
  --copper-2:#1b32d6;          /* dunklere Variante für Text/Links auf Hell */
  --copper-soft:#e2e6ff;
  --white:   #ffffff;

  --sans: 'Albert Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'DM Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --rail: clamp(3rem, 6vw, 5.4rem);     /* Rand-Spalte für Positions-Nummern */
  --gap: clamp(1rem, 2vw, 2rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; color-scheme: light; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.62; font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html, body { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.04; font-weight: 600; letter-spacing: -0.03em; margin: 0; }
::selection { background: var(--copper); color: var(--white); }

/* Browser-Flächen bewusst gestalten */
html { scrollbar-color: var(--line) var(--stone); scrollbar-width: thin; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--stone); }
::-webkit-scrollbar-thumb { background: var(--line); border: 3px solid var(--stone); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--copper); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }

/* ── Die Geste: Kupfer-Doppelstrich (Abschlussstrich) ────────────── */
.rule {
  background-image:
    linear-gradient(var(--copper), var(--copper)),
    linear-gradient(var(--copper), var(--copper));
  background-repeat: no-repeat;
  background-position: left bottom 0, left bottom .26em;
  background-size: 0% .14em, 0% .05em;
  padding-bottom: .02em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size .85s var(--ease);
}
.rule.on, .on .rule, [data-in="true"] .rule { background-size: 100% .14em, 100% .05em; }

/* ── Labels ──────────────────────────────────────────── */
.label { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0; }

/* ── Sheet: kupfer-gelineater Rand mit Positionen ────── */
.sheet { position: relative; padding-left: var(--rail); }
.sheet::before { content: ""; position: absolute; top: .2em; bottom: 0; left: calc(var(--rail) - 1.3rem); width: 1px; background: var(--line); }
.para { position: absolute; left: calc(var(--rail) * -1); top: .3em; width: calc(var(--rail) - .4rem); text-align: left; line-height: 1.1; }
.para .pk { display: block; font-family: var(--mono); font-size: .56rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.para .pn { display: block; font-family: var(--mono); font-size: 1.05rem; color: var(--copper); margin-top: .15rem; }

/* ── Scroll-Fortschritt (Kupfer) ─────────────────────── */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--copper); transform: scaleX(0); transform-origin: 0 50%; z-index: 200; }

/* ── Siegel / Stempel ────────────────────────────────── */
.seal {
  display: inline-block; transform: rotate(-5deg); color: var(--copper-2);
  border: 2px solid currentColor; padding: 4px; text-align: center; text-transform: uppercase; line-height: 1.1;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.6 2.2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.6 2.2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
.seal-in { display: flex; flex-direction: column; align-items: center; gap: .22rem; border: 1px solid currentColor; padding: .7rem 1.05rem .65rem; }
.seal .s1 { font-family: var(--mono); font-size: .64rem; letter-spacing: .16em; }
.seal .s2 { font-weight: 700; font-size: 1.12rem; letter-spacing: .04em; }
.seal .s-div { width: 60%; height: 2px; background: currentColor; margin: .12rem 0; }
.seal .s3 { font-family: var(--mono); font-size: .62rem; letter-spacing: .22em; }
.seal.big .s2 { font-size: 1.5rem; } .seal.big .s1 { font-size: .78rem; } .seal.big .s3 { font-size: .72rem; } .seal.big .seal-in { padding: 1rem 1.5rem .95rem; }
.seal.press { opacity: 0; transform: rotate(-5deg) scale(1.3); }
.seal.press.on, [data-in="true"] .seal.press { opacity: 1; transform: rotate(-5deg) scale(1); transition: opacity .25s ease-out .45s, transform .5s cubic-bezier(.3,1.6,.5,1) .45s; }

/* ── Header ──────────────────────────────────────────── */
.site-head { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: saturate(150%) blur(12px); -webkit-backdrop-filter: saturate(150%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.site-head[data-scrolled="true"] { border-bottom-color: var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand .mark { width: 38px; height: 38px; flex: none; }
.brand b { font-weight: 700; font-size: 1.12rem; letter-spacing: -0.02em; display: block; line-height: 1.05; color: var(--ink); }
.brand span { font-family: var(--mono); font-size: .6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--copper-2); }
.nav { display: flex; gap: 2rem; align-items: center; }
.nav a { font-size: .98rem; text-decoration: none; color: var(--ink); position: relative; padding: .3rem .05rem; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .05rem; height: 2px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.btn { padding: .7rem 1.1rem; height: auto; color: var(--paper); }
.nav a.btn::after { display: none; }
.menu-btn { display: none; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 0; width: 46px; height: 42px; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { content:""; display:block; width:18px; height:2px; background: var(--ink); position: relative; }
.menu-btn span::before { position:absolute; top:-6px; } .menu-btn span::after { position:absolute; top:6px; }

/* ── Buttons / Links (taktil: harter Kupfer-Schatten) ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; height: 54px; padding: 0 1.5rem; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 1.5px solid var(--ink); border-radius: 0; transition: transform .15s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease); }
.btn:hover { box-shadow: 6px 6px 0 var(--copper); transform: translate(-2px, -2px); }
.btn:active { transform: translate(0,0); box-shadow: 2px 2px 0 var(--copper); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: transparent; }
.btn svg { width: 16px; height: 16px; }
.cta-link { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--mono); font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--copper); padding: .25rem .05rem .3rem; transition: gap .25s var(--ease); }
.cta-link:hover { gap: 1rem; }

/* ── Platzhalter ─────────────────────────────────────── */
.ph { background: var(--copper-soft); border-bottom: 1.5px dashed var(--copper); padding: 0 .18em; text-decoration: none; }
.ph::after { content: " ✎"; font-size: .72em; color: var(--copper); vertical-align: super; }

/* =========================== HERO =========================== */
.hero { background: var(--stone); padding-block: clamp(2.6rem, 6vw, 5rem) clamp(3.4rem, 7vw, 6rem); }
.hero .para { top: 1.1em; }
.hero-label { margin-bottom: 1.8rem; }
.hero h1 { color: var(--ink); font-size: clamp(2.8rem, 8vw, 7.4rem); line-height: 1.0; letter-spacing: -.05em; font-weight: 600; }
.hero h1 .accent { color: inherit; }
.hero-foot { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 2rem 3rem; margin-top: clamp(2rem, 4vw, 3.4rem); }
.hero .lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; max-width: 52ch; margin: 0 0 1.8rem; color: var(--text); }
.hero-seal { justify-self: end; }

/* ── Datenzeile ──────────────────────────────────────── */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); column-gap: var(--gap); margin-top: clamp(2.6rem, 5vw, 4rem); border-top: 1.5px solid var(--ink); }
.facts > div { padding-top: 1rem; }
.facts dt { margin-bottom: .4rem; }
.facts dd { margin: 0; color: var(--ink); font-weight: 600; font-size: 1.08rem; line-height: 1.35; letter-spacing: -.01em; }

/* =========================== SECTIONS =========================== */
.section { padding-block: clamp(4.4rem, 9vw, 7.5rem); }
.section--stone { background: var(--stone); }
.sec-title { font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.03; letter-spacing: -.045em; color: var(--ink); margin: 0 0 clamp(2rem, 4vw, 3.2rem); max-width: 20ch; }
.sec-title .accent { color: var(--copper); }
.sec-intro { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--text); max-width: 60ch; margin: -1.4rem 0 clamp(2.2rem, 4vw, 3.2rem); }

/* ── Kanzlei / Leitsatz ──────────────────────────────── */
.statement { font-weight: 600; color: var(--ink); font-size: clamp(1.5rem, 2.7vw, 2.3rem); line-height: 1.22; letter-spacing: -.03em; margin: 0 0 1.4rem; max-width: 24ch; }

/* ── Tätigkeit: Registerreiter-Akkordeon ─────────────── */
.tabs { border-top: 1.5px solid var(--ink); margin-right: 3.2rem; }
.tab { border-bottom: 1px solid var(--ink); position: relative; }
.tab summary { list-style: none; display: grid; grid-template-columns: 3.2rem minmax(0,1fr) auto; align-items: baseline; gap: 1rem; padding: 1.3rem 0 1.2rem .3rem; cursor: pointer; }
.tab summary::-webkit-details-marker { display: none; }
.tab .t-n { font-family: var(--mono); font-size: .86rem; color: var(--muted); }
.tab .t-title { font-weight: 600; color: var(--ink); font-size: clamp(1.35rem, 2.6vw, 2rem); letter-spacing: -.03em; line-height: 1.12; }
.tab .t-title span { background-image: linear-gradient(var(--copper), var(--copper)); background-repeat: no-repeat; background-position: left bottom; background-size: 0% .12em; padding-bottom: .02em; transition: background-size .5s var(--ease); }
.tab[open] .t-title span, .tab summary:hover .t-title span { background-size: 100% .12em; }
.tab .t-plus { width: 22px; height: 22px; position: relative; align-self: center; }
.tab .t-plus::before, .tab .t-plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.tab .t-plus::after { transform: rotate(90deg); }
.tab[open] .t-plus::after { transform: rotate(0); }
.tab::after { content: attr(data-tab); position: absolute; right: -3.2rem; top: -1px; width: 2.8rem; height: 2.4rem; display: grid; place-items: center; font-family: var(--mono); font-size: .76rem; color: var(--ink); border: 1px solid var(--ink); border-left: 0; background: var(--paper); clip-path: polygon(0 0, 78% 0, 100% 22%, 100% 100%, 0 100%); }
.tab[open]::after { background: var(--copper); color: var(--white); }
.tab .t-body { display: grid; grid-template-columns: 3.2rem minmax(0,1fr); gap: 1rem; padding: 0 0 1.7rem .3rem; }
.tab .t-body > div { grid-column: 2; max-width: 66ch; }
.tab .t-body p { margin: 0 0 .7rem; }
.tab .t-body .keys { font-size: .92rem; color: var(--muted); }
.tab .t-body .keys b { color: var(--ink); font-weight: 600; }

/* ── Signatur-Szene: Unordnung → Ordnung ─────────────── */
.order-scene { background: var(--ink); color: var(--paper); padding: 0; position: relative; }
.order-scene .para .pk { color: #7d8794; } .order-scene .para .pn { color: var(--copper); }
.order-scene .sheet::before { background: var(--line-ink); }
.os-sticky { padding: clamp(3.4rem, 8vw, 7rem) 0; }
.order-scene.js .os-sticky { min-height: 100vh; display: flex; align-items: center; }
.os-wrap { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; width: 100%; }
.os-state { font-family: var(--mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--copper); margin-bottom: 1.2rem; display: inline-flex; align-items: center; gap: .7rem; }
.os-state::before { content: ""; width: 24px; height: 1.5px; background: var(--copper); }
.os-copy h2 { color: var(--white); font-size: clamp(1.7rem, 3.2vw, 2.9rem); max-width: 16ch; letter-spacing: -.035em; }
.os-copy > p { color: #b9c0cb; margin-top: 1.1rem; font-size: 1.05rem; max-width: 42ch; }
.os-hint { color: #7d8794; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; margin-top: 1.8rem; }
.order-scene.js .os-hint { opacity: .55; animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(5px);} }
@media (prefers-reduced-motion: reduce) { .order-scene.js .os-hint { animation: none; } }
.os-stage { position: relative; aspect-ratio: 7/5; border-radius: 2px; }
.os-stage .os-fallback { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; filter: saturate(.9); }
.order-scene.js .os-stage { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 1fr; gap: clamp(5px,.9vw,9px); background: rgba(255,255,255,.03); padding: clamp(8px,1.2vw,14px); border: 1px solid rgba(255,255,255,.08); }
.order-scene.js .os-stage .os-fallback { display: none; }
.slip { background: var(--paper); border-radius: 1px; padding: 9px 9px 0; box-shadow: 0 6px 14px -8px rgba(0,0,0,.6); display: flex; flex-direction: column; gap: 4px; will-change: transform; }
.slip i { display: block; height: 2px; border-radius: 1px; background: #c9c2b4; }
.slip i:nth-child(1) { width: 70%; background: var(--ink); height: 3px; }
.slip i:nth-child(2) { width: 100%; } .slip i:nth-child(3) { width: 84%; }
.slip.key i:nth-child(1) { background: var(--copper); }

/* ── Verfahren: scrubbende Kupfer-Achse ──────────────── */
.flow { position: relative; }
.flow-track { position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: var(--line); z-index: 0; }
.flow-fill { display: block; height: 100%; width: 0; background: var(--copper); }
.flow ol { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px,2vw,26px); position: relative; z-index: 1; margin: 0; padding: 0; }
.flow li { position: relative; padding-top: 36px; }
.flow .s-no { position: absolute; top: 0; left: 0; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); color: var(--muted); font-size: .72rem; transition: border-color .35s var(--ease), color .35s var(--ease), background .35s var(--ease); }
.flow li.active .s-no { border-color: var(--copper); color: var(--white); background: var(--copper); }
.flow li h3 { font-size: 1.08rem; margin: 0 0 .5rem; transition: color .35s var(--ease); }
.flow li p { font-size: .9rem; color: var(--text); line-height: 1.5; }
.flow li.active h3 { color: var(--copper-2); }

/* ── Person ──────────────────────────────────────────── */
.person { display: grid; grid-template-columns: 300px 1fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.portrait { aspect-ratio: 3/4; position: relative; margin: 0; }
.portrait::before { content: ""; position: absolute; inset: 0; transform: translate(10px,10px); border: 1.5px solid var(--ink); background: var(--paper); z-index: 0; }
.portrait .inner { position: relative; z-index: 1; width: 100%; height: 100%; background: var(--ink); border: 1.5px solid var(--ink); display: grid; place-items: center; overflow: hidden; }
.portrait .inner img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; display: block; filter: saturate(.95) contrast(1.02); }
.portrait .mono-badge { font-weight: 700; font-size: 5.2rem; letter-spacing: -0.04em; color: var(--copper); line-height: 1; }
.portrait .cap { position: absolute; z-index: 2; bottom: 0; left: 0; right: 0; padding: .7rem 1rem; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: #aeb5c0; background: linear-gradient(transparent, rgba(0,0,0,.45)); text-align: center; }
.portrait .cap:empty { display: none; }
.person .bio h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--ink); }
.person .bio .role { font-family: var(--mono); font-size: .8rem; color: var(--copper-2); letter-spacing: .08em; text-transform: uppercase; margin-top: .4rem; }
.person .bio p { color: var(--text); margin-top: 1.2rem; font-size: 1.05rem; max-width: 56ch; }
.quals { list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.quals li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .4rem; font-size: 1rem; align-items: baseline; }
.quals li::before { content: "§"; font-family: var(--mono); color: var(--copper); font-weight: 500; }

/* ── Kontakt: Aktendeckel ────────────────────────────── */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--gap); align-items: start; }
.cover { grid-column: 1 / 8; border: 1.5px solid var(--ink); margin: 0; }
.cover > div { display: grid; grid-template-columns: 10rem minmax(0,1fr); border-bottom: 1px solid var(--ink); }
.cover > div:last-child { border-bottom: 0; }
.cover dt { padding: 1rem 1rem; border-right: 1px solid var(--ink); font-family: var(--mono); font-size: .62rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); display: flex; align-items: center; }
.cover dd { margin: 0; padding: .95rem 1.2rem; color: var(--ink); font-weight: 500; font-size: 1.05rem; line-height: 1.4; }
.cover dd.num { font-weight: 400; }
.cover a { text-decoration: none; border-bottom: 1px solid var(--copper); }
.cover a:hover { color: var(--copper); }
.contact-side { grid-column: 9 / 13; display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; }
.contact-side h3 { font-size: 1.2rem; color: var(--ink); }
.contact-side p { color: var(--text); margin-top: .6rem; font-size: 1rem; }
.hours { margin-top: 1rem; width: 100%; font-family: var(--mono); font-size: .9rem; }
.hours div { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px dotted var(--line); }

/* =========================== FOOTER: Ordnerrücken =========================== */
.site-foot { border-top: 4px solid var(--ink); background: var(--paper); }
.foot-grid { max-width: var(--wrap); margin-inline: auto; border-inline: 1px solid var(--ink); display: grid; grid-template-columns: 2fr 1fr 1fr; }
.foot-grid > div { padding: 1.8rem 1.4rem; border-right: 1px solid var(--ink); }
.foot-grid > div:last-child { border-right: 0; }
.foot-grid .brand { margin-bottom: 1rem; }
.foot-grid p { font-size: .92rem; color: var(--text); max-width: 34ch; }
.foot-grid h4 { font-family: var(--mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 .8rem; }
.foot-grid a.fl { display: block; padding: .35rem 0; font-size: .95rem; text-decoration: none; color: var(--ink); width: fit-content; }
.foot-grid a.fl:hover { color: var(--copper); }
.foot-bottom { max-width: var(--wrap); margin-inline: auto; border-inline: 1px solid var(--ink); border-top: 1px solid var(--ink); padding: 1.1rem 1.4rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: var(--muted); }

/* =========================== LEGAL =========================== */
.legal { padding-block: clamp(3rem, 7vw, 5.5rem); }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.02; letter-spacing: -.045em; color: var(--ink); margin-bottom: .6rem; }
.legal h2 { font-size: 1.3rem; color: var(--ink); margin: 2.4rem 0 .6rem; letter-spacing: -.02em; }
.legal p, .legal li { line-height: 1.7; color: var(--text); font-size: 1rem; margin-bottom: .6rem; }
.legal ul { padding-left: 1.1rem; }
.legal a { color: var(--copper-2); }
.back { font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--muted); display: inline-flex; gap: .5rem; margin-top: 2.6rem; }
.back:hover { color: var(--copper); }

/* =========================== MOTION =========================== */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal[data-in="true"], .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.intro { opacity: 0; transform: translateY(16px); animation: intro .9s var(--ease) forwards; }
.intro.d1 { animation-delay: .12s; } .intro.d2 { animation-delay: .26s; }
@keyframes intro { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal, .intro { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .rule { background-size: 100% .14em, 100% .05em !important; transition: none !important; }
  .seal.press { opacity: 1 !important; transform: rotate(-5deg) !important; transition: none !important; }
}

/* =========================== RESPONSIVE =========================== */
@media (max-width: 1040px) {
  .hero-foot { grid-template-columns: 1fr; }
  .hero-seal { justify-self: start; }
  .os-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .order-scene.js .os-sticky { min-height: 0; }
  .person { grid-template-columns: 1fr; } .portrait { max-width: 260px; }
  .cover, .contact-side { grid-column: 1 / 13; }
  .contact-side { margin-top: 2rem; }
  .flow ol { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .flow-track { display: none; }
}
@media (max-width: 760px) {
  :root { --rail: 2.6rem; }
  .sheet::before { left: calc(var(--rail) - .55rem); }
  .para .pn { font-size: .9rem; }
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1.5px solid var(--ink); padding: .4rem var(--gutter) 1.2rem; gap: 0; }
  .nav.open a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav.open a::after { display: none; }
  .menu-btn { display: inline-flex; }
  .hero h1 { font-size: clamp(2.2rem, 11vw, 3.6rem); }
  .facts { grid-template-columns: repeat(2, 1fr); row-gap: 1.2rem; }
  .tabs { margin-right: 2.6rem; }
  .tab::after { right: -2.6rem; width: 2.3rem; }
  .flow ol { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-grid > div { border-right: 0; border-bottom: 1px solid var(--ink); }
  .foot-grid > div:last-child { border-bottom: 0; }
  .cover > div { grid-template-columns: 1fr; }
  .cover dt { border-right: 0; border-bottom: 1px solid var(--line); padding: .6rem 1rem .4rem; }
}
