/* ==========================================================================
   Joel Sinden · showcase
   Plain CSS. No framework, no build step.
   ========================================================================== */

:root {
  --paper: #F4F0E7;
  --paper-2: #ECE6D9;
  --paper-3: #E3DCCB;
  --ink: #15130F;
  --ink-2: #4F4A40;
  --ink-3: #847C6E;
  --line: rgba(21, 19, 15, .14);
  --line-strong: rgba(21, 19, 15, .34);
  --signal: #3F4C14;
  --signal-deep: #2E380E;
  --signal-tint: rgba(63, 76, 20, .12);
  --moss: #1E3A2C;

  --display: "Bricolage Grotesque", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --radius: 14px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121110;
    --paper-2: #1A1816;
    --paper-3: #24211D;
    --ink: #EFE9DC;
    --ink-2: #B9B1A2;
    --ink-3: #7F786C;
    --line: rgba(239, 233, 220, .14);
    --line-strong: rgba(239, 233, 220, .34);
    --signal: #8FA03E;
    --signal-deep: #A9B95A;
    --signal-tint: rgba(143, 160, 62, .16);
  }
}
:root[data-theme="dark"] {
  --paper: #121110;
  --paper-2: #1A1816;
  --paper-3: #24211D;
  --ink: #EFE9DC;
  --ink-2: #B9B1A2;
  --ink-3: #7F786C;
  --line: rgba(239, 233, 220, .14);
  --line-strong: rgba(239, 233, 220, .34);
  --signal: #8FA03E;
  --signal-deep: #A9B95A;
  --signal-tint: rgba(143, 160, 62, .16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--signal); color: #fff; }

/* grain */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: .055; mix-blend-mode: multiply;
  background-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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body::before { mix-blend-mode: screen; opacity: .04; } }

/* scroll progress */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  z-index: 70; pointer-events: none;
  transform-origin: 0 50%; transform: scaleX(0);
  background: var(--signal);
}

/* ---------- type ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 1.25rem; display: flex; align-items: center; gap: .75rem;
}
.eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: var(--signal); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { display: none; }
em, .it { font-family: var(--serif); font-style: italic; font-weight: 400; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.035em; line-height: .98; font-variation-settings: "opsz" 96, "wdth" 100; }
h1 { font-size: clamp(2.6rem, 8.2vw, 7.4rem); font-weight: 700; letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 5.2vw, 4.4rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -.025em; line-height: 1.08; }
h1 em, h2 em { font-weight: 400; letter-spacing: -.02em; color: var(--signal); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.lead strong { color: var(--ink); font-weight: 600; }
p { margin: 0 0 1em; }
.muted { color: var(--ink-3); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }

.section { padding: clamp(4.5rem, 10vw, 9rem) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 3rem; }
  .section-head .lead { justify-self: end; max-width: 30em; }
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.4rem; border-radius: 999px;
  background: var(--bg); color: var(--fg); text-decoration: none; border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; letter-spacing: -.01em; line-height: 1;
  transition: transform .35s var(--ease-out), background .25s, color .25s, border-color .25s;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); background: var(--signal); }
.btn:active { transform: translateY(0); }
.btn .arrow { display: inline-block; transition: transform .35s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn.ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn.signal { --bg: var(--signal); --fg: #fff; }
.btn.signal:hover { background: var(--signal-deep); }
.btn.big { padding: 1.2rem 1.8rem; font-size: 1.1rem; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
.brand { text-decoration: none; display: flex; align-items: center; gap: .75rem; font-weight: 700; letter-spacing: -.03em; font-size: 1.05rem; }
.brand .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px var(--signal-tint); }
.brand small { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); display: none; }
@media (min-width: 720px) { .brand small { display: inline; } }
.nav-links { display: none; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: .95rem; color: var(--ink-2); position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1.5px; background: var(--signal); transition: right .3s var(--ease-out); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav .btn { padding: .7rem 1.1rem; font-size: .9rem; }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.clock { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); display: none; align-items: center; gap: .5rem; }
.clock .live { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px var(--signal-tint); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px var(--signal-tint); } 50% { box-shadow: 0 0 0 7px transparent; } }
@media (min-width: 1100px) { .clock { display: inline-flex; } }

/* ---------- hero ---------- */
.hero { padding: clamp(3rem, 7vw, 6.5rem) 0 0; position: relative; overflow: clip; }
.hero-grid { display: grid; gap: 2.5rem; }
.hero h1 { max-width: 11ch; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); animation: rise 1.1s var(--ease-out) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .1s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .2s; }
@keyframes rise { to { transform: translateY(0); } }
.hero-copy { display: grid; gap: 1.75rem; align-content: end; }
.hero-copy .lead { opacity: 0; animation: fade 1s .5s var(--ease-out) forwards; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; opacity: 0; animation: fade 1s .7s var(--ease-out) forwards; }
@keyframes fade { to { opacity: 1; } }
.hero-note { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1rem; }
.hero-note span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-note b { color: var(--signal); font-weight: 600; }

@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; align-items: end; gap: 3rem; }
}

/* fan of browser frames */
.fan { position: relative; height: clamp(360px, 46vw, 620px); perspective: 1600px; opacity: 0; animation: fade 1.2s .35s var(--ease-out) forwards; }
.frame {
  position: absolute; width: 78%; aspect-ratio: 16 / 10.4; border-radius: 10px; overflow: hidden;
  background: #111; box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 30px 60px -20px rgba(0,0,0,.45), 0 10px 20px -10px rgba(0,0,0,.25);
  border: 1px solid rgba(0,0,0,.25);
  transition: transform .9s var(--ease-out);
  will-change: transform;
}
.frame .bar { height: 22px; background: #1c1b19; display: flex; align-items: center; gap: 5px; padding: 0 10px; }
.frame .bar i { width: 7px; height: 7px; border-radius: 50%; background: #3a3936; }
.frame .bar i:first-child { background: #E8431A; }
.frame .bar span { margin-left: auto; margin-right: auto; font-family: var(--mono); font-size: 9px; color: #7a766d; letter-spacing: .04em; }
.frame img { width: 100%; height: calc(100% - 22px); object-fit: cover; object-position: top; }
.frame.f1 { left: 0; top: 10%; z-index: 3; --rx: 0deg; --ry: -6deg; --tz: 0px; }
.frame.f2 { left: 18%; top: 0; z-index: 2; --rx: 0deg; --ry: -10deg; --tz: -120px; }
.frame.f3 { left: 30%; top: 24%; z-index: 1; --rx: 0deg; --ry: -14deg; --tz: -240px; }
.frame { transform: translate3d(var(--mx, 0px), var(--my, 0px), var(--tz)) rotateY(var(--ry)) rotateX(var(--rx)); }
.frame.phone { width: 20%; aspect-ratio: 9 / 19; border-radius: 22px; left: 72%; top: 34%; z-index: 4; border: 5px solid #1a1917; --ry: -8deg; --tz: 60px; }
.frame.phone .bar { display: none; }
.frame.phone img { height: 100%; }
@media (max-width: 999px) {
  .fan { height: auto; perspective: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 1rem; }
  .frame { position: static; width: auto; transform: none !important; }
  .frame.phone { width: auto; aspect-ratio: 9 / 16; border-width: 4px; }
  .frame.f3 { display: none; }
}

.ticker { margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: .9rem 0; }
.ticker-track { display: flex; gap: 3rem; width: max-content; animation: ticker 48s linear infinite; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.ticker-track span::before { content: "/"; color: var(--signal); margin-right: 3rem; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- manifesto ---------- */
.pillars { display: grid; gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 860px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { background: var(--paper); padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: 1.25rem; align-content: start; min-height: 320px; position: relative; transition: background .3s; }
.pillar:hover { background: var(--paper-2); }
.pillar .num { font-family: var(--mono); font-size: 12px; color: var(--signal); letter-spacing: .1em; }
.pillar h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.pillar p { color: var(--ink-2); margin: 0; }
.pillar .foot { margin-top: auto; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding-top: 1.5rem; }

/* ---------- process ---------- */
.process { position: relative; }
.timeline { position: relative; display: grid; gap: 2.5rem; margin-top: 1rem; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline .fill { position: absolute; left: 11px; top: 8px; width: 2px; height: 0; background: var(--signal); transition: height .2s linear; }
.step { position: relative; padding-left: 3rem; display: grid; gap: .5rem; }
.step::before { content: ""; position: absolute; left: 4px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line-strong); transition: background .3s, border-color .3s, transform .3s; }
.step.on::before { background: var(--signal); border-color: var(--signal); transform: scale(1.15); }
.step .when { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--signal); }
.step h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.step p { color: var(--ink-2); max-width: 46em; margin: 0; }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .timeline::before { left: 8px; right: 8px; top: 11px; bottom: auto; width: auto; height: 2px; }
  .timeline .fill { left: 8px; top: 11px; height: 2px; width: 0; transition: width .2s linear; }
  .step { padding-left: 0; padding-top: 3rem; }
  .step::before { left: 0; top: 4px; }
}

/* ---------- work ---------- */
.case-media.stack { gap: 20px; }
.pair { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(96px, 23%); gap: 14px; align-items: stretch; }
.pair .shot.wide { aspect-ratio: 16 / 10; height: auto; align-self: start; }
.pair .shot.tall { aspect-ratio: auto; height: auto; min-height: 0; align-self: stretch; }
.pair .shot.tall img, .pair .shot.tall video { position: absolute; inset: 0; width: 100%; height: 100%; }
.pair .shot.tall img { object-position: center top; }
.pair .shot.tall video { object-position: center top; }
@media (max-width: 599px) { .pair { grid-template-columns: minmax(0, 1fr); } .pair .shot.tall { width: 62%; margin: 0 auto; aspect-ratio: 780 / 1688; } }
.case { display: grid; gap: 2rem; padding: clamp(2.5rem, 5vw, 5rem) 0; border-top: 1px solid var(--line); }
.case:first-of-type { border-top: 0; padding-top: 0; }
.case-media { display: grid; gap: 12px; }
.shot { border-radius: 10px; overflow: hidden; background: #111; border: 1px solid var(--line); position: relative; box-shadow: 0 30px 50px -30px rgba(0,0,0,.4); }
.shot img, .shot video { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease-out); }
.shot video { background: #111; }
.shot:hover img { transform: scale(1.025); }
.shot.tall { aspect-ratio: 9 / 18; border-radius: 22px; border: 4px solid #1a1917; }
.shot.tall.clip { aspect-ratio: 780 / 1688; }
.shot.wide { aspect-ratio: 16 / 10; }
.shot .tag { position: absolute; left: 10px; bottom: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; background: rgba(21,19,15,.78); color: #EFE9DC; padding: .35rem .55rem; border-radius: 4px; backdrop-filter: blur(6px); }
.case-media.two { grid-template-columns: 1fr 1fr; }
.case-media.hero-phone { grid-template-columns: 1fr minmax(100px, 24%); align-items: start; }
.case-copy { display: grid; gap: 1.25rem; align-content: start; }
.case-copy h3 { font-size: clamp(2rem, 3.6vw, 3.2rem); letter-spacing: -.035em; }
.case-copy .what { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.case-copy .what li { padding-left: 1.4rem; position: relative; color: var(--ink-2); }
.case-copy .what li::before { content: "→"; position: absolute; left: 0; color: var(--signal); }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tags span { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line-strong); padding: .35rem .6rem; border-radius: 999px; color: var(--ink-2); }
.case-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.link { text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; border-bottom: 1.5px solid var(--signal); padding-bottom: 2px; }
.link:hover { color: var(--signal); }
.case .kind { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--signal); }
@media (min-width: 1000px) {
  .case { grid-template-columns: 1.3fr .7fr; gap: 4rem; align-items: start; }
  .case.flip { grid-template-columns: .7fr 1.3fr; }
  .case .case-media { grid-column: 1; grid-row: 1; }
  .case .case-copy { grid-column: 2; grid-row: 1; }
  .case.flip .case-media { grid-column: 2; }
  .case.flip .case-copy { grid-column: 1; }
  .case-copy { position: sticky; top: 100px; }
}

.more { display: grid; gap: 1.25rem; margin-top: clamp(3rem, 6vw, 5rem); }
@media (min-width: 700px) { .more { grid-template-columns: repeat(2, 1fr); } }
.mini { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper-2); display: grid; grid-template-rows: auto 1fr; text-decoration: none; transition: transform .5s var(--ease-out), border-color .3s; }
.mini:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.mini .shot { border-radius: 0; border: 0; box-shadow: none; aspect-ratio: 16 / 10; }
.mini .shot.pad { padding: 10%; background: var(--paper-3); display: grid; place-items: center; }
.mini .shot.pad img { object-fit: contain; height: auto; max-height: 100%; width: auto; border-radius: 10px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); }
.mini .shot.pad img.phone { border-radius: 18px; border: 3px solid #1a1917; max-height: 100%; }
.mini-body { padding: 1.25rem 1.4rem 1.5rem; display: grid; gap: .5rem; align-content: start; }
.mini-body .kind { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--signal); }
.mini-body h4 { font-size: 1.3rem; letter-spacing: -.02em; }
.mini-body p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.mini.text { background: var(--paper); }
.mini.text .big { font-family: var(--serif); font-style: italic; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; padding: 2rem 1.4rem 0; color: var(--ink); }

/* ---------- samples ---------- */
.samples { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .samples { grid-template-columns: repeat(2, 1fr); } }
.sample { text-decoration: none; display: grid; gap: 1rem; group: sample; }
.sample .preview { aspect-ratio: 16 / 10.5; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); position: relative; background: var(--paper-2); isolation: isolate; }
.sample .preview img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.1s var(--ease-out); }
.sample:hover .preview img { transform: scale(1.03) translateY(-1.5%); }
.sample .preview .open { position: absolute; right: 12px; top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: .45rem .7rem; border-radius: 999px; opacity: 0; transform: translateY(-6px); transition: all .4s var(--ease-out); }
.sample:hover .preview .open { opacity: 1; transform: none; }
.sample .preview .swatches { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 4px; }
.sample .preview .swatches i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.sample-meta { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; align-items: baseline; }
.sample-meta h3 { font-size: 1.5rem; }
.sample-meta .kind { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.sample-meta p { grid-column: 1 / -1; color: var(--ink-2); margin: 0; font-size: .98rem; }

/* ---------- translate ---------- */
.map { display: grid; border-top: 1px solid var(--line); }
.row { display: grid; gap: .5rem 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); align-items: baseline; transition: padding .3s; }
.row:hover { padding-left: .5rem; }
.row .you { font-size: clamp(1.3rem, 2.2vw, 1.9rem); font-weight: 600; letter-spacing: -.025em; }
.row .you em { color: var(--signal); }
.row .me { color: var(--ink-2); max-width: 40em; }
.row .proof { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.row .proof a { color: inherit; }
@media (min-width: 900px) { .row { grid-template-columns: 1fr 1.3fr .7fr; } }

/* ---------- pricing ---------- */
.plans { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 2.5vw, 2.25rem); display: grid; gap: 1.25rem; align-content: start; background: var(--paper); position: relative; transition: transform .5s var(--ease-out), border-color .3s; }
.plan:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.plan.hot { background: var(--paper-2); border-color: var(--signal); box-shadow: inset 0 3px 0 var(--signal); }
.plan .name { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--signal); }
.plan .price { font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.plan .price small { font-size: .95rem; font-weight: 400; letter-spacing: 0; font-family: var(--mono); color: var(--ink-3); margin-left: .35rem; }
.plan .for { color: var(--ink-2); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; color: var(--ink-2); font-size: .97rem; }
.plan li { padding-left: 1.3rem; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--signal); font-weight: 700; }
.plan .time { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 1rem; margin-top: auto; }
.plan.hot .btn { --bg: var(--signal); --fg: #fff; }
.plan.hot .btn:hover { background: var(--signal-deep); color: #fff; }
.terms { margin-top: 2rem; display: grid; gap: .5rem 2rem; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
@media (min-width: 760px) { .terms { grid-template-columns: repeat(3, auto); justify-content: start; } }
.terms b { color: var(--ink); font-weight: 600; }

/* pricing extras */
.plan .suits { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.plan .suits .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-right: .25rem; }
.plan .suits span:not(.lbl) { font-size: .82rem; font-weight: 600; border: 1px solid var(--line-strong); border-radius: 999px; padding: .28rem .6rem; color: var(--ink-2); }
.plan .ex { font-size: .95rem; color: var(--ink-2); margin: 0; border-left: 2px solid var(--signal); padding-left: .9rem; }
.plan .ex b { color: var(--ink); font-weight: 600; }
.plan .ex a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--signal); }
.plan .ex a:hover { color: var(--signal); }
.plan .price small { display: block; margin: .35rem 0 0; }
.howquote { margin-top: clamp(2.5rem, 5vw, 4rem); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: 1.5rem; background: var(--paper-2); }
.howquote h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); max-width: 22ch; }
.hq-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 900px) { .howquote { grid-template-columns: .9fr 1.6fr; gap: 3rem; } .hq-head { position: sticky; top: 100px; align-self: start; } .hq-note { grid-column: 2; } }
.hq-steps li { display: grid; grid-template-columns: 2.2rem 1fr; gap: .75rem; color: var(--ink-2); line-height: 1.5; align-items: start; }
.hq-steps li p { margin: 0; }
.hq-steps li b { color: var(--ink); font-weight: 600; }
.hq-steps .n { width: 2rem; height: 2rem; border-radius: 50%; background: var(--signal); color: #fff; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; font-weight: 600; }
.hq-note { margin: 0; color: var(--ink-2); font-size: .97rem; border-top: 1px solid var(--line); padding-top: 1.25rem; }

/* ---------- faq ---------- */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.4rem 0; display: flex; justify-content: space-between; gap: 2rem; align-items: center; font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 600; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; flex: none; transition: transform .4s var(--ease-out), background .3s; }
.faq summary .plus::before { content: "+"; font-weight: 400; line-height: 1; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--signal); border-color: var(--signal); color: #fff; }
.faq .a { padding: 0 0 1.6rem; color: var(--ink-2); max-width: 60ch; font-size: 1.02rem; }
.faq .a p:last-child { margin: 0; }

/* ---------- contact ---------- */
.contact { background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.6); padding: clamp(2.5rem, 6vw, 6rem) clamp(1.5rem, 5vw, 5rem); display: grid; gap: 2rem; position: relative; overflow: clip; }
.contact::after { content: ""; position: absolute; width: 60vw; height: 60vw; right: -20vw; bottom: -40vw; border-radius: 50%; background: radial-gradient(closest-side, var(--signal), transparent 70%); opacity: .14; filter: blur(30px); pointer-events: none; }
.contact h2 { font-size: clamp(2.4rem, 6.4vw, 5.6rem); color: var(--ink); max-width: 12ch; position: relative; }
.contact h2 em { color: var(--signal); }
.contact .lead { color: var(--ink-2); }
.contact .btn { --bg: var(--ink); --fg: var(--paper); }
.contact .btn:hover { background: var(--signal); color: #fff; }

.contact .fine { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); display: grid; gap: .5rem; }
@media (min-width: 900px) { .contact { grid-template-columns: 1.2fr .8fr; align-items: end; } .contact .side { display: grid; gap: 1.5rem; } }

/* ---------- footer ---------- */
.footer { padding: 3rem 0 2.5rem; display: grid; gap: 1rem; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.footer .top { display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: var(--signal); }
.footer .built { text-transform: none; letter-spacing: 0; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink-2); }

/* ---------- misc ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.theme-toggle { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; display: grid; place-items: center; }
.theme-toggle:hover { background: var(--paper-2); }
.theme-toggle svg { width: 16px; height: 16px; }
