/* ==========================================================
   Zispel — styles
   One signal colour, hairline rules, expanded grotesk + mono.
   ========================================================== */
:root {
  --ink: #0b0b0a;
  --ink-2: #131311;
  --ink-3: #1b1b18;
  --bone: #ece8df;
  --bone-2: #d9d4c7;
  --mute: #8b877d;
  --line: rgba(236, 232, 223, .12);
  --line-2: rgba(236, 232, 223, .22);
  --signal: #ff4f1a;
  --signal-ink: #1a0800;
  --paper: #e9e4d8;
  --paper-ink: #12110f;
  --paper-line: rgba(18, 17, 15, .16);
  --gutter: clamp(16px, 3.2vw, 48px);
  --max: 1520px;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Fragment Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--display);
  font-variation-settings: "wdth" 100;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--signal); color: var(--signal-ink); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; text-transform: uppercase; }
s { text-decoration-thickness: 1px; }

/* ---------- atmosphere ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0) } 20% { transform: translate(-3%, 2%) } 40% { transform: translate(2%, -4%) }
  60% { transform: translate(-4%, -1%) } 80% { transform: translate(3%, 3%) } 100% { transform: translate(0, 0) }
}
.rules {
  position: fixed; inset: 0 var(--gutter); z-index: 0; pointer-events: none;
  display: grid; grid-template-columns: repeat(12, 1fr); max-width: var(--max); margin: 0 auto;
}
.rules i { border-left: 1px solid rgba(236, 232, 223, .045); }
.rules i:last-child { border-left: 0; border-right: 1px solid rgba(236, 232, 223, .045); position: absolute; right: 0; top: 0; bottom: 0; }

main, .foot, .bar { position: relative; z-index: 1; }
section { padding: clamp(72px, 11vw, 160px) var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }

/* ---------- header ---------- */
.bar {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 24px;
  padding: 14px var(--gutter);
  background: rgba(11, 11, 10, .72);
  backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-variation-settings: "wdth" 125; text-transform: uppercase; letter-spacing: .02em; font-size: 15px; }
.mark svg { width: 22px; height: 22px; fill: var(--signal); }
.nav { display: flex; gap: clamp(14px, 2.4vw, 36px); justify-self: center; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 500; display: flex; gap: 6px; align-items: baseline; opacity: .78; transition: opacity .2s; }
.nav a span { font-family: var(--mono); font-size: 10px; color: var(--mute); }
.nav a:hover { opacity: 1; }
.bar-meta { display: flex; align-items: center; gap: 10px; color: var(--mute); }
.dot { position: relative; width: 6px; height: 6px; border-radius: 50%; background: #5fe07a; flex: none; }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #5fe07a; opacity: 0; animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(.4); opacity: .9; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.clock { color: var(--mute); min-width: 8ch; font-variant-numeric: tabular-nums; padding-left: 10px; border-left: 1px solid var(--line-2); }
.bar-cta {
  text-decoration: none; font-weight: 600; font-size: 14px;
  padding: 9px 14px; background: var(--signal); color: var(--signal-ink);
  transition: transform .25s var(--ease), background .2s;
}
.bar-cta:hover { background: var(--bone); }

/* ---------- section heads ---------- */
.sec-head {
  display: flex; gap: 18px; align-items: baseline;
  padding-bottom: 14px; margin-bottom: clamp(32px, 5vw, 64px);
  position: relative;
  color: var(--mute);
}
.sec-head span:first-child { color: var(--signal); }
.sec-head span:nth-child(2) { color: var(--bone); }
.sec-aside { margin-left: auto; }
.sec-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-2); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease); }
.sec-head.in::after { transform: scaleX(1); }
.sec-head > span { opacity: 0; transform: translateY(6px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.sec-head.in > span { opacity: 1; transform: none; }
.sec-head.in > span:nth-child(2) { transition-delay: .08s; }
.sec-head.in > span:nth-child(3) { transition-delay: .16s; }

/* split-word reveal for section titles */
.split-h .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split-h .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.split-h.in .w > span, .in .split-h .w > span { transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(48px, 8vw, 120px); padding-bottom: 0; }
.field { position: absolute; inset: 0 calc(-1 * var(--gutter)); width: calc(100% + 2 * var(--gutter)); height: 100%; z-index: 0; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 88px); align-items: center; padding-bottom: clamp(56px, 8vw, 112px); }
.hero-meta { display: flex; align-items: center; gap: 10px; color: var(--mute); margin: 0 0 28px; }
.hero-meta i { font-style: normal; opacity: .4; }
.hero-title {
  margin: 0; font-weight: 700; font-variation-settings: "wdth" 104;
  font-size: clamp(40px, 5.4vw, 88px); line-height: 1; letter-spacing: -.035em;
  text-wrap: balance;
}
.hero-title em { font-style: italic; font-weight: 300; font-variation-settings: "wdth" 70; letter-spacing: -.02em; }
.hero-title .signal { color: var(--signal); white-space: nowrap; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .08em; margin-bottom: -.08em; }
.hero-title .w > span { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: left bottom; filter: blur(6px); opacity: 0;
  animation: wordIn 1s var(--ease) forwards; animation-delay: calc(.15s + var(--i) * .07s); }
@keyframes wordIn { to { transform: none; filter: blur(0); opacity: 1; } }
.hero-lede { margin: 28px 0 0; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; color: var(--bone-2); max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; text-decoration: none; font-weight: 600; font-size: 15px; overflow: hidden; isolation: isolate; transition: color .35s var(--ease); }
.btn i { font-style: normal; transition: transform .35s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn-primary { background: var(--signal); color: var(--signal-ink); }
.btn-primary::before { content: ""; position: absolute; inset: 0; background: var(--bone); transform: translateY(101%); transition: transform .45s var(--ease); z-index: -1; }
.btn-primary:hover::before { transform: none; }
.btn-ghost { border: 1px solid var(--line-2); color: var(--bone); }
.btn-ghost::before { content: ""; position: absolute; inset: 0; background: var(--bone); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); z-index: -1; }
.btn-ghost:hover { color: var(--ink); }
.btn-ghost:hover::before { transform: scaleX(1); transform-origin: left; }
.magnetic { will-change: transform; transition: transform .4s var(--ease), color .35s var(--ease); }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 36px 0 0; color: var(--mute); }
.hero-facts b { color: var(--bone); font-weight: 400; }

.anim-in { opacity: 0; transform: translateY(14px); animation: fadeUp .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* build console */
.console { position: relative; background: rgba(19, 19, 17, .82); border: 1px solid var(--line-2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.console::before { content: ""; position: absolute; inset: -1px; border: 1px solid var(--signal); clip-path: inset(0 100% 100% 0); animation: trace 2.4s .6s var(--ease) forwards; pointer-events: none; }
@keyframes trace { 40% { clip-path: inset(0 0 100% 0); } 100% { clip-path: inset(0 0 0 0); opacity: .0; } }
.cs-top { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--mute); font-size: 11px; }
.cs-status { display: flex; align-items: center; gap: 8px; }
.cs-status i { width: 6px; height: 6px; background: var(--signal); animation: blink 1s steps(2) infinite; }
.cs-status em { font-style: normal; }
.console.done .cs-status i { background: #5fe07a; animation: none; }
@keyframes blink { 50% { opacity: .2; } }
.cs-job { margin: 0; padding: 14px 16px 6px; color: var(--bone); text-transform: none; font-size: 12px; }
.cs-log { list-style: none; margin: 0; padding: 6px 16px 14px; min-height: 196px; font-size: 11.5px; text-transform: none; }
.cs-log li { display: grid; grid-template-columns: 44px 52px 1fr auto; gap: 10px; padding: 5px 0; color: var(--bone-2); border-bottom: 1px dashed var(--line); animation: logIn .45s var(--ease); }
.cs-log li .t { color: #5d5a53; }
.cs-log li .who { color: var(--mute); }
.cs-log li .who.ai { color: #9fa8ff; }
.cs-log li .who.hu { color: var(--signal); }
.cs-log li .ok { color: #5fe07a; }
.cs-log li .ok.wait::after { content: "▍"; color: var(--bone); animation: blink .8s steps(2) infinite; }
@keyframes logIn { from { opacity: 0; transform: translateX(-6px); } }
.cs-meter { border-top: 1px solid var(--line-2); padding: 14px 16px 16px; }
.cs-row { display: flex; justify-content: space-between; align-items: baseline; }
.cs-row.old { color: var(--mute); font-size: 11px; }
.cs-row.old s { text-decoration-color: transparent; transition: text-decoration-color .4s; }
.console.done .cs-row.old s { text-decoration-color: var(--signal); }
.cs-row.new { margin-top: 6px; }
.cs-row.new b { font-size: clamp(30px, 3vw, 44px); font-weight: 700; letter-spacing: -.03em; color: var(--signal); font-variant-numeric: tabular-nums; font-variation-settings: "wdth" 108; line-height: 1; }
.cs-bar { position: relative; height: 18px; margin-top: 14px; border: 1px solid var(--line-2); }
.cs-bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: repeating-linear-gradient(-45deg, var(--signal) 0 4px, rgba(255, 79, 26, .55) 4px 8px); transition: width .6s var(--ease); }
.cs-bar span { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 10px; color: var(--bone); mix-blend-mode: difference; }

.ticker { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); overflow: hidden; margin: 0 calc(-1 * var(--gutter)); }
.ticker-track { display: flex; width: max-content; animation: tick 60s linear infinite; }
.ticker span { font-family: var(--mono); font-size: 13px; white-space: nowrap; padding: 14px 32px; border-right: 1px solid var(--line); }
.ticker i { font-style: normal; color: var(--mute); margin: 0 10px; text-transform: none; }
.ticker span::after { content: ""; }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- shift ---------- */
.shift-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.shift-copy {
  grid-column: 1 / span 7; margin: 0;
  font-size: clamp(24px, 2.8vw, 44px); line-height: 1.06; letter-spacing: -.025em; font-weight: 500;
  font-variation-settings: "wdth" 88;
}
.shift-copy em { font-style: normal; color: var(--signal); }
.strike { position: relative; color: var(--mute); }
.strike::after { content: ""; position: absolute; left: -2%; right: -2%; top: 55%; height: .07em; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .9s .4s var(--ease); }
.in .strike::after { transform: scaleX(1); }
.shift-chart { grid-column: 9 / -1; margin: 0; }
.shift-chart svg { width: 100%; height: auto; overflow: visible; }
.ax line { stroke: var(--line-2); }
.ax text, .lbl { font-family: var(--mono); font-size: 11px; fill: var(--mute); }
.lbl.sig { fill: var(--signal); }
.lbl.gap { fill: var(--bone); letter-spacing: .1em; }
.c-market { fill: none; stroke: var(--bone); stroke-width: 1.5; stroke-dasharray: 4 5; }
.c-real { fill: none; stroke: var(--signal); stroke-width: 2.5; stroke-dasharray: 700; stroke-dashoffset: 700; transition: stroke-dashoffset 2s .2s var(--ease); }
.c-gap { fill: url(#hatch); fill: rgba(255, 79, 26, .08); opacity: 0; transition: opacity 1s 1.6s; }
.c-dot { fill: var(--signal); opacity: 0; transition: opacity .3s 2s; }
.in .c-real { stroke-dashoffset: 0; }
.in .c-gap, .in .c-dot { opacity: 1; }
.shift-chart figcaption { color: var(--mute); margin-top: 10px; text-transform: none; }

/* ---------- services ---------- */
.svc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.svc-row {
  display: grid; grid-template-columns: 1fr 5fr 5fr; grid-template-areas: "no name desc" "no name tags";
  gap: 10px 32px; padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); position: relative;
}
.svc-row::after { content: "→"; position: absolute; right: 0; top: clamp(24px, 3vw, 40px); font-family: var(--mono); color: var(--signal); opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .3s var(--ease); }
.svc-row:hover::after { opacity: 1; transform: none; }
.svc-no { grid-area: no; color: var(--signal); padding-top: .6em; }
.svc-name {
  grid-area: name; margin: 0; font-weight: 800; text-transform: uppercase; letter-spacing: -.035em; line-height: .9;
  font-size: clamp(26px, 3vw, 48px); font-variation-settings: "wdth" 72; transition: color .3s;
}
.svc-row:hover .svc-name { color: var(--signal); }
.svc-desc { grid-area: desc; margin: 0; color: var(--bone-2); max-width: 52ch; padding-right: 32px; }
.svc-tags { grid-area: tags; list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.svc-tags li { border: 1px solid var(--line-2); padding: 5px 9px; color: var(--mute); }
.svc-tags li:first-child { border-color: var(--signal); color: var(--signal); }

/* ---------- work (compact) ---------- */
.work { padding-top: clamp(48px, 7vw, 96px); }
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.work-note { grid-column: 1 / span 3; margin: 0; color: var(--mute); font-size: 15px; max-width: 28ch; }
.work-grid .ledger { grid-column: 4 / -1; }

/* ---------- ledger (full index) ---------- */
.index-head { margin-top: clamp(24px, 4vw, 56px); }
.ledger { list-style: none; margin: 0; padding: 0; }
.lg-head, .lg-row {
  display: grid; grid-template-columns: 52px minmax(150px, 1.6fr) 3fr 1.3fr 48px 20px; gap: 16px; align-items: center;
}
.lg-head { color: var(--mute); padding: 0 0 10px; border-bottom: 1px solid var(--line-2); }
.lg-item { border-bottom: 1px solid var(--line); }
.lg-row {
  width: 100%; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer;
  padding: 13px 0; position: relative;
}
.lg-row::before { content: ""; position: absolute; inset: 0; background: var(--ink-3); transform: scaleY(0); transform-origin: bottom; transition: transform .35s var(--ease); z-index: -1; }
.lg-row:hover::before, .lg-item.open .lg-row::before { transform: scaleY(1); }
.lg-no { font-family: var(--mono); font-size: 12px; color: var(--mute); padding-left: 4px; }
.lg-name { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: clamp(17px, 1.4vw, 21px); letter-spacing: -.01em; font-variation-settings: "wdth" 105; line-height: 1.05; }
.lg-name img { width: 22px; height: 22px; flex: none; }
.lg-name .ph { width: 22px; height: 22px; flex: none; border: 1px solid var(--line-2); display: grid; place-items: center; font-family: var(--mono); font-size: 10px; color: var(--mute); }
.lg-what { color: var(--bone-2); font-size: 15px; }
.lg-plat { font-family: var(--mono); font-size: 11px; color: var(--mute); text-transform: uppercase; }
.lg-year { font-family: var(--mono); font-size: 12px; }
.lg-x { font-family: var(--mono); font-size: 18px; color: var(--mute); transition: transform .3s var(--ease), color .2s; }
.lg-item.open .lg-x { transform: rotate(45deg); color: var(--signal); }
.lg-row:hover .lg-name { color: var(--signal); }
.lg-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.lg-item.open .lg-detail { grid-template-rows: 1fr; }
.lg-detail > div { overflow: hidden; }
.lg-detail .inner { display: grid; grid-template-columns: 52px minmax(150px, 1.6fr) 3fr 1.3fr 84px; gap: 16px; padding: 4px 0 28px; }
.lg-detail p { grid-column: 3 / span 1; margin: 0; color: var(--bone-2); }
.lg-detail ul { grid-column: 4 / -1; margin: 0; padding: 0; list-style: none; font-family: var(--mono); font-size: 11px; color: var(--mute); text-transform: uppercase; }
.lg-detail li { padding: 5px 0; border-bottom: 1px solid var(--line); }
.lg-detail li:first-child { color: var(--signal); }

/* ---------- pricing (paper) ---------- */
.paper {
  background: var(--paper); color: var(--paper-ink);
  max-width: none; position: relative;
  --line: var(--paper-line); --line-2: rgba(18, 17, 15, .32); --mute: #6b675e; --bone: var(--paper-ink); --bone-2: #2b2925;
}
.paper > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.paper .sec-head span:nth-child(2) { color: var(--paper-ink); }
.paper ::selection { background: var(--paper-ink); color: var(--paper); }
.pr-intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; margin-bottom: clamp(40px, 6vw, 88px); }
.pr-title {
  grid-column: 1 / span 8; margin: 0;
  font-size: clamp(34px, 4.6vw, 76px); line-height: .9; font-weight: 800; letter-spacing: -.04em;
  font-variation-settings: "wdth" 72; text-transform: uppercase;
}
.pr-lede { grid-column: 9 / -1; margin: 0; color: var(--bone-2); font-size: 17px; }

.receipt-wrap { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; margin-bottom: clamp(56px, 8vw, 120px); }
.receipt {
  grid-column: 1 / span 7;
  background: #f7f4ec; color: var(--paper-ink);
  padding: 28px clamp(18px, 3vw, 40px) 22px;
  font-family: var(--mono); font-size: 14px;
  position: relative;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .05), 0 30px 60px -30px rgba(40, 30, 10, .35);
  transform: rotate(-.6deg);
  --tear: radial-gradient(circle at 8px 0, transparent 7px, #f7f4ec 7.5px);
}
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: var(--tear); background-size: 16px 10px; }
.rc-top { display: flex; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px dashed rgba(18, 17, 15, .4); }
.rc-cols { display: grid; grid-template-columns: 1fr 110px 140px; padding: 12px 0 6px; color: #6b675e; font-size: 11px; }
.rc-cols span:not(:first-child) { text-align: right; }
.rc-lines { list-style: none; margin: 0; padding: 0; }
.rc-lines li { display: grid; grid-template-columns: 1fr 110px 140px; padding: 8px 0; border-bottom: 1px dotted rgba(18, 17, 15, .28); align-items: baseline; }
.rc-lines s, .rc-lines b { text-align: right; font-variant-numeric: tabular-nums; }
.rc-lines s { color: #8d887c; }
.rc-lines b { font-weight: 400; }
.rc-lines li.na span { color: #8d887c; }
.rc-lines li { opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease); }
.in .rc-lines li { opacity: 1; transform: none; }
.rc-total { display: grid; grid-template-columns: 1fr 110px 140px; align-items: baseline; padding: 16px 0 10px; border-bottom: 2px solid var(--paper-ink); }
.rc-total s, .rc-total b { text-align: right; }
.rc-total s { color: #8d887c; }
.rc-total b { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -.02em; color: var(--signal); font-variation-settings: "wdth" 112; }
.rc-foot { display: flex; justify-content: space-between; padding-top: 12px; }
.rc-barcode { height: 38px; margin-top: 18px; background: repeating-linear-gradient(90deg, var(--paper-ink) 0 2px, transparent 2px 4px, var(--paper-ink) 4px 5px, transparent 5px 9px, var(--paper-ink) 9px 12px, transparent 12px 13px); opacity: .85; }
.rc-notes { grid-column: 9 / -1; }
.rc-notes p { color: var(--mute); margin: 0 0 10px; }
.rc-notes ul { list-style: none; padding: 0; margin: 0 0 32px; border-top: 1px solid var(--line-2); }
.rc-notes li { padding: 10px 0 10px 26px; border-bottom: 1px solid var(--line); position: relative; font-size: 16px; }
.rc-notes ul:first-of-type li::before { content: "×"; position: absolute; left: 2px; color: var(--signal); font-family: var(--mono); }
.rc-notes ul:last-of-type li::before { content: "✓"; position: absolute; left: 2px; font-family: var(--mono); font-size: 13px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--paper-ink); margin-bottom: clamp(56px, 8vw, 120px); }
.plan { padding: 28px clamp(16px, 2vw, 32px) 32px; border-right: 1px solid var(--line-2); display: flex; flex-direction: column; }
.plan:first-child { padding-left: 0; }
.plan:last-child { border-right: 0; padding-right: 0; }
.plan-k { margin: 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tag { background: var(--signal); color: var(--signal-ink); padding: 2px 6px; font-size: 10px; }
.plan-price { margin: 28px 0 4px; font-weight: 800; font-size: clamp(40px, 4vw, 64px); line-height: .9; letter-spacing: -.04em; font-variation-settings: "wdth" 100; font-variant-numeric: tabular-nums; }
.plan-price span { font-size: .32em; font-weight: 500; letter-spacing: 0; vertical-align: .9em; margin-right: 4px; color: var(--mute); }
.plan-price span:last-child:not(:first-child) { vertical-align: baseline; margin-left: 4px; }
.plan-sub { color: var(--mute); margin: 0 0 20px; }
.plan-desc { margin: 0 0 20px; color: var(--bone-2); }
.plan-list { list-style: none; margin: 0 0 28px; padding: 0; flex: 1; }
.plan-list li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.plan-cta { align-self: flex-start; text-decoration: none; font-weight: 600; padding: 12px 16px; border: 1px solid var(--paper-ink); transition: background .2s, color .2s; }
.plan-cta:hover { background: var(--paper-ink); color: var(--paper); }
.plan.featured .plan-price { color: var(--signal); }
.plan.featured .plan-cta { background: var(--paper-ink); color: var(--paper); }
.plan.featured .plan-cta:hover { background: var(--signal); border-color: var(--signal); color: var(--signal-ink); }

/* estimator */
.estimator { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; background: var(--paper-ink); color: #ece8df; padding: clamp(24px, 4vw, 56px); position: relative;
  --line: rgba(236, 232, 223, .12); --line-2: rgba(236, 232, 223, .24); --mute: #8b877d; --bone: #ece8df; --bone-2: #d9d4c7; }
.estimator ::selection { background: var(--signal); color: var(--signal-ink); }
.est-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line-2); padding-bottom: 14px; flex-wrap: wrap; gap: 8px; }
.est-head p { color: var(--signal); margin: 0; }
.est-head h3 { margin: 0; font-size: clamp(28px, 3vw, 44px); font-weight: 800; letter-spacing: -.03em; font-variation-settings: "wdth" 125; text-transform: uppercase; }
.est-form { grid-column: 1 / span 7; }
.est-form fieldset, .ct-form fieldset { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
legend { color: var(--mute); margin-bottom: 12px; padding: 0; display: flex; gap: 10px; width: 100%; }
legend output { color: var(--signal); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 14px; border: 1px solid var(--line-2); font-size: 15px; transition: background .2s, color .2s, border-color .2s; user-select: none; }
.chips label:hover span { border-color: var(--bone); }
.chips input:checked + span { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.chips input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 1px; background: var(--line-2); }
input[type=range]::-moz-range-track { height: 1px; background: var(--line-2); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; background: var(--signal); margin-top: -9px; border: 0; }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; background: var(--signal); border: 0; border-radius: 0; }
.est-out { grid-column: 9 / -1; display: flex; flex-direction: column; }
.eo-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--mute); }
.eo-row span { grid-column: 1 / -1; }
.eo-row s { font-size: 26px; font-variant-numeric: tabular-nums; font-variation-settings: "wdth" 112; }
.eo-row.big b:first-of-type { font-size: clamp(44px, 4.6vw, 72px); color: var(--signal); font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; font-variation-settings: "wdth" 112; }
.eo-row.big .mono { color: #ece8df; font-size: 14px; }
.eo-save { display: flex; justify-content: space-between; padding: 14px 0; color: var(--mute); }
.eo-save b { color: #5fe07a; font-weight: 400; }
.eo-cta { margin-top: 10px; text-decoration: none; background: var(--signal); color: var(--signal-ink); font-weight: 700; padding: 16px 18px; text-align: center; transition: background .2s; }
.eo-cta:hover { background: #ece8df; }
.eo-note { color: var(--mute); text-transform: none; margin: 14px 0 0; font-size: 11px; line-height: 1.5; }

/* ---------- method ---------- */
.method-title {
  margin: 0 0 clamp(48px, 7vw, 96px);
  font-size: clamp(36px, 5.2vw, 88px); line-height: .88; letter-spacing: -.045em; font-weight: 800;
  font-variation-settings: "wdth" 80; text-transform: uppercase;
}
.method-title .dim { color: transparent; -webkit-text-stroke: 1px var(--mute); }
.steps { list-style: none; margin: 0 0 clamp(64px, 9vw, 128px); padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-2); counter-reset: st; }
.steps li { padding: 20px 20px 0 0; border-right: 1px solid var(--line); position: relative; }
.steps li + li { padding-left: 20px; }
.steps li:last-child { border-right: 0; }
.steps li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--signal); }
.steps li + li::before { left: 20px; }
.st-t { color: var(--signal); }
.steps h4 { margin: 14px 0 8px; font-size: 24px; letter-spacing: -.02em; font-variation-settings: "wdth" 112; font-weight: 700; }
.steps p { margin: 0; color: var(--bone-2); font-size: 15px; }
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.pr-item { display: grid; grid-template-columns: 48px 1fr; padding: 22px 0; border-top: 1px solid var(--line); }
.pr-item .mono { color: var(--signal); padding-top: 4px; }
.pr-item p { margin: 0; color: var(--bone-2); font-size: 17px; }
.pr-item b { color: var(--bone); font-weight: 600; }

/* ---------- faq ---------- */
.faq { padding-top: 0; }
.faq-list { border-top: 1px solid var(--line-2); }
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-size: clamp(18px, 1.7vw, 26px); font-weight: 600; letter-spacing: -.02em; font-variation-settings: "wdth" 100;
  transition: color .2s;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-weight: 400; color: var(--mute); transition: transform .3s var(--ease); }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--signal); }
summary:hover { color: var(--signal); }
details p { margin: 0 0 28px; max-width: 62ch; color: var(--bone-2); font-size: 18px; }

/* ---------- contact ---------- */
.contact { padding-bottom: clamp(56px, 8vw, 112px); }
.ct-k { color: var(--mute); margin: 0 0 12px; }
.ct-mail {
  display: inline-block; text-decoration: none; color: var(--signal);
  font-size: clamp(30px, 5.4vw, 92px); font-weight: 800; letter-spacing: -.045em; line-height: .95;
  font-variation-settings: "wdth" 72; word-break: break-all; position: relative;
}
.ct-mail::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.02em; height: .04em; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.ct-mail:hover::after { transform: scaleX(1); transform-origin: left; }
.ct-form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; margin-top: clamp(40px, 6vw, 80px); max-width: 980px; }
.ct-form .wide { grid-column: 1 / -1; }
.ct-form label > span { display: block; color: var(--mute); margin-bottom: 6px; }
.ct-form input:not([type=radio]), .ct-form textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); color: var(--bone);
  font: inherit; font-size: 20px; padding: 8px 0 10px; border-radius: 0; resize: vertical;
}
.ct-form input:focus, .ct-form textarea:focus { outline: none; border-bottom-color: var(--signal); }
.ct-form textarea::placeholder { color: #55524b; }
.ct-send { justify-self: start; background: var(--bone); color: var(--ink); border: 0; font: inherit; font-weight: 700; font-size: 17px; padding: 16px 22px; cursor: pointer; transition: background .2s; }
.ct-send:hover { background: var(--signal); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line-2); overflow: hidden; }
.foot-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding: 18px var(--gutter); color: var(--mute); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.foot-row a { text-decoration: none; color: var(--bone); }
.foot-word {
  font-weight: 900; font-variation-settings: "wdth" 125; text-transform: uppercase;
  font-size: 15vw; line-height: .74; letter-spacing: -.06em; text-align: center;
  color: var(--ink-3); margin-bottom: -.06em; user-select: none; white-space: nowrap;
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

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

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .bar-meta { display: none; }
  .bar { grid-template-columns: auto 1fr auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .shift-copy, .shift-chart { grid-column: 1 / -1; }
  .pr-title, .pr-lede { grid-column: 1 / -1; }
  .work-note, .work-grid .ledger { grid-column: 1 / -1; }
  .svc-row { grid-template-columns: 1fr; grid-template-areas: "no" "name" "desc" "tags"; }
  .svc-no { padding: 0; }
  .svc-row::after { display: none; }
  .receipt { grid-column: 1 / -1; transform: none; }
  .rc-notes { grid-column: 1 / -1; }
  .est-form, .est-out { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li { padding: 20px 20px 28px 20px !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps li::before { left: 20px; }
  .lg-head, .lg-row { grid-template-columns: 48px 1.6fr 2.4fr 64px 24px; }
  .lg-plat { display: none; }
  .lg-head span:nth-child(4) { display: none; }
  .lg-detail .inner { grid-template-columns: 48px 1fr 1fr; }
  .lg-detail p { grid-column: 2 / span 1; }
  .lg-detail ul { grid-column: 3 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .bar { grid-template-columns: 1fr auto; }
  .hero-title { font-size: clamp(34px, 9.6vw, 56px); }
  .cs-log li { grid-template-columns: 38px 46px 1fr auto; gap: 6px; }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; white-space: nowrap; font-size: 14px; padding: 14px 14px; }
  .hm-x { display: none; }
  .plans { grid-template-columns: 1fr; }
  .plan { padding: 28px 0 !important; border-right: 0; border-bottom: 1px solid var(--line-2); }
  .steps { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .lg-head { display: none; }
  .lg-row { grid-template-columns: 36px 1fr 24px; gap: 4px 12px; }
  .lg-what { grid-column: 2 / 3; font-size: 14px; }
  .lg-year { display: none; }
  .lg-x { grid-row: 1; grid-column: 3; }
  .lg-detail .inner { grid-template-columns: 1fr; padding-left: 48px; }
  .lg-detail p, .lg-detail ul { grid-column: 1 / -1; }
  .receipt { font-size: 12px; padding: 22px 14px 18px; }
  .rc-cols, .rc-lines li, .rc-total { grid-template-columns: 1fr 74px 92px; }
  .rc-total b { font-size: 19px; }
  .rc-total s { font-size: 11px; }
  .ct-form { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; transition-delay: 0s !important; }
  .grain { animation: none; }
  .ticker-track { animation: none; }
  html { scroll-behavior: auto; }
}
