/* Yildstar Systems – Website. Alle Schriften lokal, keine externen Ressourcen. */
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Plex"; src: url("fonts/plex-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex"; src: url("fonts/plex-sans-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Plex"; src: url("fonts/plex-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex"; src: url("fonts/plex-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "PlexMono"; src: url("fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "PlexMono"; src: url("fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --paper: #f3efe7;
  --paper-2: #ebe5d9;
  --paper-3: #e2dacb;
  --ink: #17150f;
  --ink-2: #2b2820;
  --muted: #6a6458;
  --line: #d6cebe;
  --line-2: #c4baa6;
  --brass: #94702f;
  --brass-2: #b88f44;
  --brass-soft: #d9bf86;
  --night: #141612;
  --serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Plex", "Helvetica Neue", Arial, sans-serif;
  --mono: "PlexMono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.62;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* feines Papierkorn */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.4 0 0 0 0 0.3 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--brass-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 40px; }
.mono { font-family: var(--mono); font-size: .74rem; letter-spacing: .09em; text-transform: uppercase; }
.serif { font-family: var(--serif); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); margin: 0; letter-spacing: -0.015em; }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.04; }
h2 em, h1 em { font-style: italic; color: var(--brass); }
h3 { font-size: 1.7rem; line-height: 1.15; }
p { margin: 0 0 1em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px; padding: 16px 26px;
  font: 500 .95rem/1 var(--sans); letter-spacing: .01em; text-decoration: none;
  border: 1px solid var(--ink); border-radius: 2px; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s;
}
.btn .arr { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--brass); border-color: var(--brass); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }

/* ---------- Kopfzeile ---------- */
.topbar { border-bottom: 1px solid var(--line); color: var(--muted); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar a { text-decoration: none; color: var(--ink); }
.clock::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #5d8a5b; margin-right: 9px; vertical-align: 1px; box-shadow: 0 0 0 3px rgba(93, 138, 91, .15); }
.header { position: sticky; top: 0; z-index: 60; background: rgba(243, 239, 231, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.header.is-scrolled { border-bottom-color: var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; letter-spacing: -0.01em; line-height: 1; }
.brand-name small { display: block; font-family: var(--mono); font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a:not(.btn) { font-size: .93rem; color: var(--ink-2); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); padding-bottom: 3px; }
.nav a:not(.btn):hover { background-size: 100% 1px; }
.nav .btn { padding: 12px 20px; font-size: .88rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: 2px; padding: 8px 10px; cursor: pointer; color: var(--ink); font: 500 .8rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 0; }
.hero-meta { display: flex; justify-content: space-between; gap: 24px; color: var(--muted); padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 56px; }
.hero h1 { font-size: clamp(3.4rem, 10.5vw, 9.4rem); line-height: .92; letter-spacing: -0.035em; font-weight: 350; }
.hero h1 em { font-weight: 300; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 72px; margin-top: 64px; align-items: start; }
.hero-text p { font-size: 1.22rem; line-height: 1.55; color: var(--ink-2); max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.toc { border-top: 1px solid var(--ink); }
.toc-title { padding: 14px 0; color: var(--muted); border-bottom: 1px solid var(--line); }
.toc a { display: grid; grid-template-columns: 44px 1fr auto; gap: 8px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: padding .35s var(--ease), color .3s; }
.toc a:hover { padding-left: 10px; color: var(--brass); }
.toc .n { font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.toc .t { font-family: var(--serif); font-size: 1.3rem; }
.toc .d { font-family: var(--mono); font-size: .72rem; color: var(--muted); letter-spacing: .06em; }

.hero > .container { position: relative; }
.seal { position: absolute; right: 40px; top: 120px; width: 150px; height: 150px; pointer-events: none; }
.seal .ring { animation: spin 70s linear infinite; transform-origin: 50% 50%; transform-box: fill-box; }

/* ---------- Abbildung ---------- */
.figure { margin: 104px 0 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); padding: 26px 0 36px; }
.figure-head { display: flex; justify-content: space-between; color: var(--muted); margin-bottom: 34px; gap: 20px; }
.diagram .lbl { font-family: var(--serif); font-size: 21px; fill: var(--ink); }
.diagram .sub { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; fill: var(--muted); }
.diagram .box { fill: var(--paper); stroke: var(--ink); stroke-width: 1; }
.diagram .box--human { fill: var(--paper-2); stroke: var(--brass); }
.diagram .box--out { fill: var(--paper); stroke: var(--line-2); }
.diagram .wire { fill: none; stroke: var(--ink); stroke-width: 1; }
.diagram .wire--human { stroke: var(--brass); }
.diagram .wire--faint { stroke: var(--line-2); }
.diagram .dot { fill: var(--brass); }
.diagram .draw { stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 1.8s var(--ease); }
.diagram.is-visible .draw { stroke-dashoffset: 0; }
.diagram .fade { opacity: 0; transition: opacity .9s var(--ease) .5s; }
.diagram.is-visible .fade { opacity: 1; }
.diagram .pulse { offset-rotate: 0deg; }
.diagram--mobile { display: none; }
.figcaption { display: flex; justify-content: space-between; gap: 20px; margin-top: 26px; color: var(--muted); font-size: .92rem; }
.figcaption i { font-family: var(--serif); font-size: 1.08rem; color: var(--ink-2); }

/* ---------- Abschnitte ---------- */
.section { padding: 128px 0; }
.section + .section { border-top: 1px solid var(--line); }
.sec-grid { display: grid; grid-template-columns: 240px 1fr; gap: 48px; }
.sec-label { position: sticky; top: 120px; align-self: start; color: var(--muted); }
.sec-label b { display: block; font-family: var(--serif); font-weight: 400; font-size: 3.4rem; line-height: 1; letter-spacing: -0.03em; color: var(--brass); text-transform: none; margin-bottom: 10px; }
.intro { font-size: 1.18rem; color: var(--ink-2); max-width: 660px; margin-top: 26px; }

/* Rechnung */
.ledger-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.ledger { border-top: 1px solid var(--ink); font-family: var(--mono); }
.ledger-row { display: flex; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px dotted var(--line-2); font-size: .92rem; }
.ledger-row span:first-child { color: var(--ink-2); }
.ledger-row .fill { flex: 1; }
.ledger-row .v { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.ledger-row--sum { border-bottom: 3px double var(--ink); padding: 22px 0; }
.ledger-row--sum span:first-child { font-weight: 500; color: var(--ink); }
.ledger-row--sum .v { font-family: var(--serif); font-size: 2.8rem; line-height: 1; color: var(--brass); letter-spacing: -0.02em; }
.ledger-row--eur .v { color: var(--ink); }
.ledger-note { margin-top: 18px; font-size: .9rem; color: var(--muted); }
.ledger-note b { font-weight: 500; color: var(--ink); }
.calc-hint { color: var(--brass); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.calc-hint .pen { font-size: .95rem; animation: nudge 2.6s var(--ease) infinite; display: inline-block; }
@keyframes nudge { 0%, 70%, 100% { transform: none; } 80% { transform: translate(2px, -2px) rotate(-8deg); } 90% { transform: translate(-1px, 1px); } }
.ledger-row--input { cursor: text; }
.ledger-row .num {
  width: 3.6ch; text-align: right; font: inherit; font-family: var(--mono); font-size: 1.15rem; font-variant-numeric: tabular-nums;
  color: var(--ink); background: transparent; border: 0; border-bottom: 1.5px dashed var(--brass-2); border-radius: 0; padding: 2px 2px 1px; margin: 0;
  -moz-appearance: textfield; appearance: textfield; caret-color: var(--brass); transition: background .25s, border-color .25s;
}
.ledger-row .num::-webkit-outer-spin-button, .ledger-row .num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ledger-row .num:hover { background: var(--paper-2); }
.ledger-row .num:focus { outline: none; background: var(--paper-2); border-bottom-style: solid; border-bottom-color: var(--brass); }
.calc-range { font-size: .66rem; color: var(--muted); text-align: right; height: 0; overflow: hidden; opacity: 0; transition: opacity .25s, height .25s; }
.calc-range.show { height: 1.6em; opacity: 1; padding-top: 4px; }
.calc-range.warn { color: #9a3d24; }
.ledger-row--sum .v, .ledger-row--eur .v { transition: color .3s; }
.flash { color: var(--brass-2) !important; }
.extras { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 18px; }
.extras .mono { color: var(--muted); }
.extras ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.extras li { position: relative; padding-left: 18px; font-size: .92rem; color: var(--ink-2); line-height: 1.4; }
.extras li::before { content: "+"; position: absolute; left: 0; top: 0; color: var(--brass); font-family: var(--mono); }

/* Leistungen */
.services { border-top: 1px solid var(--ink); margin-top: 56px; }
.service { display: grid; grid-template-columns: 64px 1.05fr 1.4fr 230px; gap: 32px; padding: 36px 0; border-bottom: 1px solid var(--line); position: relative; }
.service::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--brass); transition: width .7s var(--ease); }
.service:hover::before { width: 100%; }
.service .n { font-family: var(--mono); font-size: .8rem; color: var(--muted); padding-top: 9px; }
.service h3 { transition: color .3s; }
.service:hover h3 { color: var(--brass); }
.service p { color: var(--ink-2); margin: 4px 0 0; }
.service .out { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 9px; border-left: 1px solid var(--line); padding-left: 20px; }
.service .out b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.12rem; text-transform: none; letter-spacing: 0; color: var(--ink); margin-top: 6px; line-height: 1.3; }

/* Arbeitsweise */
.phases { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 1px solid var(--ink); }
.phase { padding: 30px 28px 10px 0; border-right: 1px solid var(--line); }
.phase + .phase { padding-left: 28px; }
.phase:last-child { border-right: 0; }
.phase .roman { font-family: var(--serif); font-style: italic; font-size: 2.6rem; color: var(--brass); line-height: 1; }
.phase .when { color: var(--muted); margin: 18px 0 12px; }
.phase h3 { font-size: 1.45rem; margin-bottom: 10px; }
.phase p { color: var(--ink-2); font-size: .97rem; }

/* Grundsätze */
.dark { background: var(--night); color: #cfc8b8; position: relative; overflow: hidden; }
.section.dark { border-top: 0; }
.dark::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(900px 420px at 85% 0%, rgba(184, 143, 68, .13), transparent 65%); }
.dark .container { position: relative; z-index: 1; }
.dark .sec-label { color: #8f887a; }
.dark h2, .dark h3 { color: #f3efe7; }
.bigquote { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1.08; color: #f3efe7; letter-spacing: -0.02em; max-width: 980px; margin: 0; }
.bigquote span { color: var(--brass-soft); }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 0 72px; margin-top: 80px; border-top: 1px solid rgba(243, 239, 231, .18); }
.principle { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 30px 0; border-bottom: 1px solid rgba(243, 239, 231, .12); }
.principle .roman { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--brass-soft); line-height: 1.1; }
.principle h3 { font-size: 1.4rem; margin-bottom: 8px; }
.principle p { color: #a9a293; margin: 0; font-size: .97rem; }

/* Branchen */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid var(--ink); }
.sector { padding: 34px 32px 34px 0; border-right: 1px solid var(--line); }
.sector + .sector { padding-left: 32px; }
.sector:last-child { border-right: 0; }
.sector .mono { color: var(--muted); }
.sector h3 { margin: 14px 0 22px; }
.sector blockquote { margin: 0 0 14px; font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.35; color: var(--ink-2); padding-left: 16px; border-left: 2px solid var(--brass-soft); }
.sector p { color: var(--muted); font-size: .95rem; margin-top: 20px; }

/* FAQ */
.faq { border-top: 1px solid var(--ink); margin-top: 56px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 64px 1fr 30px; gap: 16px; align-items: baseline; padding: 26px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .n { font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.faq summary .q { font-family: var(--serif); font-size: 1.45rem; line-height: 1.25; transition: color .3s; }
.faq summary:hover .q { color: var(--brass); }
.faq summary .pm { position: relative; width: 16px; height: 16px; justify-self: end; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0); }
.faq .a { padding: 0 46px 28px 80px; color: var(--ink-2); max-width: 820px; }
.faq .a p:last-child { margin: 0; }

/* Kontakt */
.letter { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: start; }
.letter p.body { font-size: 1.15rem; color: var(--ink-2); max-width: 560px; margin-top: 28px; }
.sign { margin-top: 40px; }
.sign .greet { color: var(--muted); }
.sign .name { font-family: var(--serif); font-style: italic; font-size: 2.1rem; line-height: 1.1; margin-top: 10px; color: var(--ink); }
.sign .role { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.card-contact { border: 1px solid var(--ink); background: var(--paper); }
.card-contact .row { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 20px 26px; border-bottom: 1px solid var(--line); align-items: baseline; text-decoration: none; color: var(--ink); transition: background .3s; }
.card-contact a.row:hover { background: var(--paper-2); }
.card-contact .row .mono { color: var(--muted); }
.card-contact .row .v { font-family: var(--serif); font-size: 1.35rem; overflow-wrap: anywhere; }
.card-contact .cta { padding: 24px 26px; background: var(--ink); }
.card-contact .cta .btn { width: 100%; justify-content: space-between; background: var(--paper); color: var(--ink); border-color: var(--paper); }
.card-contact .cta .btn:hover { background: var(--brass-soft); border-color: var(--brass-soft); }

/* Fußzeile */
.footer { background: var(--night); color: #a39c8d; padding: 96px 0 36px; overflow: hidden; }
.footer a { color: #e9e3d6; text-decoration: none; }
.footer a:hover { color: var(--brass-soft); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 64px; }
.footer .mono { color: #7d776a; display: block; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .95rem; }
.footer-claim { font-family: var(--serif); font-size: 1.6rem; line-height: 1.25; color: #f3efe7; max-width: 380px; }
.footer-claim em { color: var(--brass-soft); }
.wordmark { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 12.6vw, 11.4rem); line-height: .85; letter-spacing: -0.045em; color: #f3efe7; white-space: nowrap; border-top: 1px solid rgba(243, 239, 231, .14); padding-top: 40px; }
.wordmark em { color: var(--brass-soft); font-style: italic; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(243, 239, 231, .14); }
.footer .footer-bottom.mono { display: flex; margin-bottom: 0; }

/* Rechtstexte */
.legal { padding: 88px 0 120px; }
.legal .container { max-width: 900px; }
.legal .kicker { color: var(--muted); }
.legal h1 { font-size: clamp(3rem, 7vw, 5.2rem); line-height: .95; letter-spacing: -0.03em; font-weight: 350; margin: 18px 0 18px; }
.legal .stand { color: var(--muted); padding-bottom: 36px; border-bottom: 1px solid var(--ink); margin-bottom: 20px; }
.legal h2 { font-size: 1.75rem; margin: 52px 0 14px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--brass); }
.legal address { font-style: normal; font-family: var(--serif); font-size: 1.3rem; line-height: 1.55; }
.legal .box { border: 1px solid var(--line-2); padding: 28px 30px; margin: 24px 0; background: rgba(255, 255, 255, .25); }

/* Effekte */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; }
/* Maske für die Einblend-Animation – großzügiger Innenabstand, damit nichts abgeschnitten wird (R, i-Punkt, B, f) */
.line-in { display: block; overflow: hidden; padding: .2em .3em .24em .06em; margin: -.2em -.3em -.24em -.06em; }
.line-in > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.is-ready .line-in > span { transform: none; }
.is-ready .line-in:nth-child(2) > span { transition-delay: .12s; }
.is-ready .line-in:nth-child(3) > span { transition-delay: .24s; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .line-in > span { opacity: 1; transform: none; }
  .diagram .draw { stroke-dashoffset: 0; } .diagram .fade { opacity: 1; }
}

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .seal { display: none; }
  .sec-grid { grid-template-columns: 1fr; gap: 28px; }
  .sec-label { position: static; display: flex; align-items: baseline; gap: 16px; }
  .sec-label b { font-size: 2.4rem; margin: 0; }
  .ledger-wrap { grid-template-columns: 1fr; gap: 40px; }
  .service { grid-template-columns: 48px 1fr; gap: 10px 20px; }
  .service p, .service .out { grid-column: 2; }
  .service .out { border-left: 0; padding-left: 0; padding-top: 12px; }
  .phases { grid-template-columns: 1fr 1fr; }
  .phase:nth-child(2) { border-right: 0; }
  .phase:nth-child(3) { padding-left: 0; }
  .phase:nth-child(n+3) { border-top: 1px solid var(--line); }
  .principles { grid-template-columns: 1fr; }
  .sectors { grid-template-columns: 1fr; }
  .sector, .sector + .sector { padding: 30px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .letter { grid-template-columns: 1fr; gap: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .topbar .hide-m { display: none; }
  .header .container { height: 70px; }
  .brand svg { width: 34px; height: 34px; }
  .brand-name { font-size: 1.25rem; }
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--ink); padding: 6px 16px 20px; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line); background: none; font-size: 1.05rem; }
  .nav .btn { margin-top: 16px; justify-content: space-between; }
  .nav-toggle { display: block; }
  .hero { padding-top: 40px; }
  .hero h1 { font-size: 15.2vw; }
  .line-in { padding-right: .2em; margin-right: -.2em; }
  .hero-meta { flex-direction: column; gap: 6px; margin-bottom: 36px; padding-bottom: 20px; }
  .hero-grid { margin-top: 40px; }
  .hero-actions .btn { width: 100%; justify-content: space-between; }
  .figure { margin-top: 72px; }
  .figure-head { flex-direction: column; gap: 4px; }
  .diagram--desktop { display: none; }
  .diagram--mobile { display: block; margin: 0 auto; width: 100%; max-width: 420px; }
  .figcaption { flex-direction: column; gap: 8px; }
  .section { padding: 88px 0; }
  .ledger-row { font-size: .82rem; }
  .ledger-row--sum .v { font-size: 2.1rem; }
  .ledger-row .num { font-size: 1.1rem; width: 3.8ch; }
  .extras ul { grid-template-columns: 1fr; }
  .phases { grid-template-columns: 1fr; }
  .phase, .phase + .phase { padding: 26px 0; border-right: 0; border-top: 1px solid var(--line); }
  .phase:first-child { border-top: 0; }
  .faq summary { grid-template-columns: 36px 1fr 20px; gap: 10px; }
  .faq summary .q { font-size: 1.2rem; }
  .faq .a { padding: 0 0 24px 46px; }
  .card-contact .row { grid-template-columns: 1fr; gap: 4px; padding: 18px 20px; }
  .card-contact .cta { padding: 18px 20px; }
  .footer { padding-top: 72px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 48px; }
  .legal { padding: 56px 0 88px; }
  .legal .box { padding: 20px; }
}
