/* Shared page styles for service pages, /services/ and /work.
   Tokens, type, buttons, sections, the line-graphic vocabulary (.stage, .ep, .short, .thumb,
   .topic, .takes), flow steps, benefits, fit cards, FAQ and the final CTA.
   Header, menu and footer are in nav.css. Page-only styles stay inside each page. */
:root {
  --paper:#FFFFFF; --surface:#FFFFFF; --sunken:#F6F6F6; --ink:#0A0A0A;
  --muted:#525252; --faint:#6B6B6B; --rule:#DADADA; --rule-soft:#EBEBEB;
  --accent:#C9A227; --accent-ink:#0A0A0A; --accent-text:#8A6A0C; --wash:#F6F6F6;
  --deep:#0A0A0A; --deep-ink:#F5F5F5; --deep-rule:#0A0A0A;
  --shadow:0 1px 2px rgba(0,0,0,.05), 0 10px 28px -14px rgba(0,0,0,.18);
  --sil:#D4D4D4;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:#0A0A0A; --surface:#141414; --sunken:#101010; --ink:#F2F2F2;
    --muted:#A3A3A3; --faint:#7C7C7C; --rule:#2A2A2A; --rule-soft:#1E1E1E;
    --accent:#D4AF37; --accent-ink:#0A0A0A; --accent-text:#D9B546; --wash:#141414;
    --deep:#161616; --deep-ink:#F2F2F2; --deep-rule:#2A2A2A;
    --shadow:0 1px 2px rgba(0,0,0,.4), 0 10px 28px -14px rgba(0,0,0,.6);
    --sil:#3A3A3A;
  }
}
:root[data-theme="dark"] {
  --paper:#0A0A0A; --surface:#141414; --sunken:#101010; --ink:#F2F2F2;
  --muted:#A3A3A3; --faint:#7C7C7C; --rule:#2A2A2A; --rule-soft:#1E1E1E;
  --accent:#D4AF37; --accent-ink:#0A0A0A; --accent-text:#D9B546; --wash:#141414;
  --deep:#161616; --deep-ink:#F2F2F2; --deep-rule:#2A2A2A;
  --shadow:0 1px 2px rgba(0,0,0,.4), 0 10px 28px -14px rgba(0,0,0,.6);
  --sil:#3A3A3A;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin:0; background:var(--paper); color:var(--ink);
  font-family:Karla, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size:17px; line-height:1.6; -webkit-font-smoothing:antialiased;
}
.shell { max-width:1120px; margin:0 auto; padding:0 26px; }
h1,h2,h3 { font-family:Fraunces, Georgia, serif; letter-spacing:-.015em; text-wrap:balance; margin:0; }
a { color:inherit; }
a:focus-visible, button:focus-visible { outline:2px solid var(--ink); outline-offset:3px; }
.lab, .mono-lab {
  font-family:"IBM Plex Mono", ui-monospace, monospace; font-size:11px;
  letter-spacing:.13em; text-transform:uppercase; color:var(--accent-text); font-weight:500;
}
.mono-lab { color:var(--faint); display:block; margin-bottom:8px; }

/* buttons */
a.btn {
  display:inline-block; background:var(--accent); color:var(--accent-ink);
  padding:10px 18px; border-radius:3px; text-decoration:none;
  font-weight:600; font-size:14px; line-height:1.35; border:1px solid var(--accent);
}
a.btn:hover { filter:brightness(1.08); }
a.btn:active { transform:translateY(1px); }
a.btn-lg { padding:14px 24px; font-size:16px; }
.cta-row { display:flex; flex-wrap:wrap; align-items:center; gap:12px 16px; margin-top:26px; }
.cta-note { font-size:14px; color:var(--faint); }

/* hero */
.hero { display:grid; grid-template-columns:1fr 1.15fr; gap:48px; align-items:center; padding:60px 0 20px; }
.hero h1 { font-size:clamp(34px,4.6vw,54px); line-height:1.04; margin:14px 0 18px; max-width:12ch; }
.hero .lede { margin:0; color:var(--muted); font-size:19px; max-width:46ch; }
.hero .lede strong { color:var(--ink); }
.facts { display:flex; flex-wrap:wrap; gap:8px; margin:22px 0 0; padding:0; list-style:none; }
.facts li {
  font-family:"IBM Plex Mono", monospace; font-size:12px; color:var(--muted);
  border:1px solid var(--rule); border-radius:3px; padding:5px 10px;
}
.player { margin:0; }
.player video {
  display:block; width:100%; aspect-ratio:16/9; background:#000;
  border:1px solid var(--rule); border-radius:5px; box-shadow:var(--shadow);
}
.player figcaption { margin-top:10px; font-size:14px; color:var(--faint); }

/* sections */
section.sec { padding:84px 0 0; }
.sec-head { max-width:680px; margin-bottom:30px; }
.sec-head h2 { font-size:clamp(26px,3.2vw,36px); line-height:1.12; margin:10px 0 12px; }
.sec-head p { margin:0; color:var(--muted); font-size:17.5px; }
.sec-head p + p { margin-top:12px; }

/* ---------- shared graphic vocabulary (matches the explainer video) ---------- */
.stage {
  background:var(--sunken); border:1px solid var(--rule-soft); border-radius:6px;
  padding:26px; box-shadow:var(--shadow);
}
/* long video card */
.ep { background:var(--surface); border:2px solid var(--rule); border-radius:5px; aspect-ratio:16/9; position:relative; overflow:hidden; }
.ep .play { position:absolute; left:50%; top:34%; width:34px; height:34px; transform:translate(-50%,-50%); color:var(--ink); }
.ep .wave { position:absolute; left:8%; right:8%; top:58%; height:22%; display:flex; align-items:center; gap:2px; }
.ep .wave i { flex:1; background:var(--faint); opacity:.55; border-radius:1px; height:var(--h,40%); transform-origin:center; }
.js .stage.in .ep .wave i { animation:pulse 1.6s ease-in-out infinite; animation-delay:var(--d,0s); }
@keyframes pulse { 0%,100% { transform:scaleY(1); } 50% { transform:scaleY(.55); } }
.ep .scrub { position:absolute; left:6%; right:22%; bottom:11%; height:2px; background:var(--rule); }
.ep .scrub b { position:absolute; left:0; top:0; bottom:0; width:6%; background:var(--muted); }
.js .stage.in .ep .scrub b { animation:prog 12s linear infinite; }
@keyframes prog { from { width:6%; } to { width:100%; } }
.ep .seg { position:absolute; top:-6px; height:14px; border:2px solid var(--ink); border-radius:2px; opacity:0; transition:opacity .35s ease; }
.ep .seg.gold { border-color:var(--accent); background:rgba(212,175,55,.18); }
.ep .dur { position:absolute; right:5%; bottom:6%; font-family:"IBM Plex Mono", monospace; font-size:11px; color:var(--muted); }
.ep .tag { position:absolute; left:6%; top:8%; font-family:"IBM Plex Mono", monospace; font-size:9.5px; letter-spacing:.12em; text-transform:uppercase;
  color:var(--faint); border:1px solid var(--rule); border-radius:2px; padding:1px 5px; }

/* Short card */
.short { background:var(--surface); border:2px solid var(--rule); border-radius:14px; aspect-ratio:9/16; position:relative; overflow:hidden; }
.short .head { position:absolute; left:50%; top:20%; width:26%; aspect-ratio:1; border-radius:50%; background:var(--sil); transform:translateX(-50%); }
.short .body { position:absolute; left:50%; top:37%; width:52%; height:15%; border-radius:40% 40% 6px 6px; background:var(--sil); transform:translateX(-50%); }
.short .cap { position:absolute; left:14%; right:14%; top:62%; display:flex; flex-wrap:wrap; gap:4px; justify-content:center; }
.short .cap i { height:6px; border-radius:4px; background:var(--ink); opacity:.7; }
.short .cap i.g { background:var(--accent); opacity:1; }
.short .tri { position:absolute; left:10%; bottom:6%; width:9px; height:9px; color:var(--muted); }

/* thumbnail card */
.thumb { background:var(--surface); border:2px solid var(--rule); border-radius:5px; aspect-ratio:16/9; position:relative; overflow:hidden; }
.thumb .w1, .thumb .w2 { position:absolute; left:9%; height:15%; border-radius:4px; background:var(--ink); }
.thumb .w1 { top:28%; width:46%; }
.thumb .w2 { top:50%; width:32%; background:var(--accent); }
.thumb .head { position:absolute; right:12%; top:22%; width:17%; aspect-ratio:1; border-radius:50%; background:var(--sil); }
.thumb .body { position:absolute; right:6%; bottom:0; width:30%; height:30%; border-radius:40% 40% 0 0; background:var(--sil); }

/* line icons */
.ico { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }

/* ---------- problem: one video, seven jobs ---------- */
.problem { display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:center; }
.agitate { border-left:3px solid var(--accent); padding:4px 0 4px 20px; margin-top:24px; }
.agitate p { margin:0; font-family:Fraunces, Georgia, serif; font-weight:600; font-size:clamp(19px,2.2vw,23px); line-height:1.35; }
.todo-stage { display:grid; grid-template-columns:.9fr 1.1fr; gap:22px; align-items:start; }
.todo { list-style:none; margin:0; padding:0; }
.todo li { display:flex; gap:10px; align-items:center; padding:6px 0; font-size:15px; }
.todo li::before { content:""; width:13px; height:13px; border:1.5px solid var(--faint); border-radius:2px; flex-shrink:0; }
.js .todo li { opacity:0; transform:translateY(6px); transition:opacity .4s ease, transform .4s ease; }
.js .stage.in .todo li { opacity:1; transform:none; }
.todo-total { margin:14px 0 0; padding-top:12px; border-top:1px solid var(--rule); display:flex; justify-content:space-between; gap:12px;
  font-family:"IBM Plex Mono", monospace; font-size:12.5px; color:var(--muted); }
.todo-total b { color:var(--ink); font-weight:500; }
.js .todo-total { opacity:0; transition:opacity .5s ease 2.5s; }
.js .stage.in .todo-total { opacity:1; }
.clock { display:flex; align-items:center; gap:10px; margin-top:16px; font-family:"IBM Plex Mono", monospace; font-size:11px; color:var(--faint); letter-spacing:.1em; text-transform:uppercase; }
.clock svg { width:30px; height:30px; color:var(--muted); }
.clock .hand { transform-origin:15px 15px; }
.js .stage.in .clock .hand { animation:spin 3s linear infinite; }
.clock .hand.min { animation-duration:.5s !important; }
@keyframes spin { to { transform:rotate(360deg); } }

/* ---------- how it works: the split + six steps ---------- */
.split { display:grid; grid-template-columns:1.25fr 40px 1.75fr; gap:18px; align-items:center; }
.split .arrow { color:var(--faint); }
.split .arrow svg { width:40px; height:20px; display:block; }
.outs { display:grid; grid-template-columns:repeat(3,1fr) 1.6fr; gap:12px; align-items:end; }
.outs .stack { display:grid; gap:12px; }
.js .outs .short, .js .outs .thumb { opacity:0; transform:translateY(16px); transition:opacity .5s ease, transform .6s cubic-bezier(.16,1,.3,1); }
.js .stage.in .outs .short, .js .stage.in .outs .thumb { opacity:1; transform:none; }
.js .stage.in .ep .seg { opacity:1; }
.out-lab { font-family:"IBM Plex Mono", monospace; font-size:10px; letter-spacing:.1em; text-transform:uppercase; color:var(--faint); margin-top:6px; text-align:center; }

.flow { list-style:none; margin:26px 0 0; padding:0; display:grid; grid-template-columns:repeat(6,1fr); gap:14px; }
.flow li { position:relative; }
.flow .box {
  width:52px; height:52px; border:1.5px solid var(--rule); border-radius:4px; display:flex; align-items:center; justify-content:center;
  color:var(--muted); background:var(--surface); transition:border-color .4s ease, color .4s ease, box-shadow .4s ease;
}
.flow li:not(:last-child)::after {
  content:""; position:absolute; top:26px; left:64px; right:-6px; height:1.5px; background:var(--rule);
}
.flow .n { font-family:"IBM Plex Mono", monospace; font-size:11px; color:var(--faint); letter-spacing:.08em; display:block; margin:12px 0 2px; }
.flow h3 { font-size:16.5px; line-height:1.25; margin-bottom:6px; }
.flow p { margin:0; color:var(--muted); font-size:14.5px; line-height:1.5; }
.flow li.lit .box { border-color:var(--accent); color:var(--accent-text); box-shadow:0 0 0 4px rgba(212,175,55,.12); }
.flow li.lit .n { color:var(--accent-text); }
.flow .you-tag { font-family:"IBM Plex Mono", monospace; font-size:10px; letter-spacing:.1em; text-transform:uppercase;
  color:var(--accent-ink); background:var(--accent); border-radius:2px; padding:1px 5px; margin-left:6px; }

/* ---------- benefits ---------- */
.benefits { display:grid; grid-template-columns:repeat(2,1fr); gap:0 48px; border-top:1px solid var(--rule); }
.benefit { padding:24px 0; border-bottom:1px solid var(--rule); display:grid; grid-template-columns:28px 1fr; gap:4px 14px; }
.benefit::before { content:""; width:9px; height:9px; background:var(--accent); border-radius:1px; margin-top:9px; grid-row:span 2; }
.benefit h3 { font-size:19px; }
.benefit p { margin:0; color:var(--muted); font-size:16px; }

/* ---------- the week: calendar ---------- */
.week-wrap { display:grid; grid-template-columns:.85fr 1.15fr; gap:44px; align-items:center; }
.week-big { font-family:Fraunces, Georgia, serif; font-weight:700; font-size:clamp(32px,4.2vw,48px); line-height:1.06; margin:12px 0 14px; }
.week-big em { font-style:normal; color:var(--accent-text); }
.week-wrap .copy p:not(.week-big) { margin:0; color:var(--muted); font-size:17px; max-width:44ch; }
.done { list-style:none; margin:20px 0 0; padding:0; display:grid; gap:9px; }
.done li { display:flex; align-items:center; gap:10px; font-size:15.5px; }
.done li svg { width:18px; height:18px; color:var(--accent-text); flex-shrink:0; }
.cal { display:grid; grid-template-columns:48px repeat(6,1fr); gap:8px; font-family:"IBM Plex Mono", monospace; }
.cal .d { font-size:11px; letter-spacing:.1em; text-transform:uppercase; text-align:center; color:var(--muted); padding-bottom:4px; }
.cal .t { font-size:11px; color:var(--faint); display:flex; align-items:center; }
.cal .slot { border:1.5px dashed var(--rule); border-radius:5px; aspect-ratio:3/4; display:flex; align-items:center; justify-content:center; position:relative; }
.cal .slot .short { width:58%; border-radius:6px; border-width:1.5px; }
.cal .slot .short .cap { top:64%; gap:2px; }
.cal .slot .short .cap i { height:3px; }
.cal .slot .short .tri { display:none; }
.js .cal .slot .short { opacity:0; transform:scale(.7) translateY(-10px); transition:opacity .35s ease, transform .5s cubic-bezier(.16,1,.3,1); }
.js .stage.in .cal .slot .short { opacity:1; transform:none; }
.cal-foot { margin-top:14px; display:flex; justify-content:space-between; gap:12px; font-family:"IBM Plex Mono", monospace; font-size:11.5px; color:var(--faint); }
.cal-foot b { color:var(--accent-text); font-weight:500; }

/* ---------- fit ---------- */
.fit { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.fit > div { border:1px solid var(--rule); border-radius:4px; padding:18px 20px; background:var(--surface); }
.fit .ep { margin-bottom:14px; border-width:1.5px; }
.fit .ep .play { width:22px; height:22px; top:42%; }
.fit .ep .tag { font-size:8.5px; }
.fit h3 { font-size:17px; margin-bottom:4px; }
.fit p { margin:0; font-size:15px; color:var(--muted); }
.fit-note { margin:18px 0 0; border-left:2px solid var(--rule); padding-left:16px; font-size:15.5px; color:var(--muted); max-width:62ch; }

/* ---------- other video systems ---------- */
.more { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.more-card { background:var(--surface); border:1px solid var(--rule); border-radius:5px; overflow:hidden; display:flex; flex-direction:column; }
.more-card .stage { border:0; border-bottom:1px solid var(--rule-soft); border-radius:0; box-shadow:none; padding:22px; }
.more-copy { padding:20px 24px 24px; }
.more-copy .when { font-family:"IBM Plex Mono", monospace; font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--accent-text); }
.more-copy h3 { font-size:21px; margin:6px 0 8px; line-height:1.2; }
.more-copy p { margin:0; color:var(--muted); font-size:15.5px; }
.more-copy .good { margin-top:12px; font-size:14.5px; color:var(--faint); }
.more-link { display:inline-block; margin-top:14px; padding:6px 0; font-weight:600; font-size:15px; color:var(--accent-text); text-decoration:none; }
.more-link:hover { text-decoration:underline; }
.mini-flow { display:grid; grid-template-columns:1fr 28px 1fr; gap:12px; align-items:center; }
.mini-flow .arrow { color:var(--faint); }
.mini-flow .arrow svg { width:28px; height:16px; display:block; }
.mini-lab { display:block; font-family:"IBM Plex Mono", monospace; font-size:10px; letter-spacing:.1em; text-transform:uppercase; color:var(--faint); margin-top:8px; }
/* raw footage: the bad takes drop out */
.takes { display:flex; gap:4px; aspect-ratio:16/9; align-items:center; }
.takes i { flex:1 1 0; height:60%; border-radius:3px; background:var(--faint); opacity:.45; transition:flex .7s cubic-bezier(.16,1,.3,1), opacity .4s ease; }
.takes i.x { background:transparent; border:1.5px dashed var(--faint); opacity:.7; }
.js .stage.in .takes i.x { flex:0 0 0; border-width:0; opacity:0; transition-delay:.9s; }
/* finished and explainer video cards */
.ep .cap2 { position:absolute; left:22%; right:22%; bottom:16%; display:flex; gap:4px; justify-content:center; }
.ep .cap2 i { height:5px; border-radius:3px; background:var(--ink); opacity:.7; }
.ep .cap2 i.g { background:var(--accent); opacity:1; }
.ep .shape { position:absolute; border-radius:50%; background:var(--sil); }
.ep .block { position:absolute; border-radius:3px; background:var(--sil); }
/* topic card: lines write themselves */
.topic { background:var(--surface); border:2px solid var(--rule); border-radius:5px; padding:10px 14px; aspect-ratio:16/9; display:flex; flex-direction:column; gap:7px; justify-content:center; }
.topic b { font-family:"IBM Plex Mono", monospace; font-size:10px; letter-spacing:.1em; text-transform:uppercase; color:var(--faint); font-weight:500; }
.topic i { display:block; height:6px; border-radius:3px; background:var(--ink); opacity:.35; }
.topic i:first-of-type { opacity:.7; }
.js .topic i { transform-origin:left; transform:scaleX(0); transition:transform .6s cubic-bezier(.16,1,.3,1); }
.js .stage.in .topic i { transform:none; }
.js .stage.in .topic i:nth-of-type(2) { transition-delay:.3s; }
.js .stage.in .topic i:nth-of-type(3) { transition-delay:.6s; }

/* ---------- faq ---------- */
.faq { border-top:1px solid var(--rule); max-width:780px; }
.faq details { border-bottom:1px solid var(--rule); }
.faq summary {
  cursor:pointer; list-style:none; padding:17px 0; min-height:44px;
  font-family:Fraunces, Georgia, serif; font-weight:600; font-size:17.5px;
  display:flex; justify-content:space-between; gap:20px; align-items:baseline;
}
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; font-family:"IBM Plex Mono", monospace; color:var(--accent-text); font-size:18px; flex-shrink:0; }
.faq details[open] summary::after { content:"−"; }
.faq details p { margin:0; padding:0 0 18px; color:var(--muted); font-size:16px; max-width:62ch; }

/* ---------- final cta ---------- */
.final {
  margin:90px 0 0; background:var(--deep); color:var(--deep-ink); border:1px solid var(--deep-rule);
  border-radius:6px; padding:52px 40px; text-align:center;
}
.final .lab { color:var(--accent); }
.final h2 { font-size:clamp(28px,3.6vw,42px); line-height:1.1; margin:12px auto 14px; max-width:20ch; }
.final p { margin:0 auto; max-width:52ch; font-size:17.5px; opacity:.85; }
.final .cta-row { justify-content:center; }
.final .steps-mini { display:flex; flex-wrap:wrap; justify-content:center; gap:6px 4px; margin:26px auto 0; padding:0; list-style:none; max-width:820px;
  font-family:"IBM Plex Mono", monospace; font-size:12px; opacity:.75; }
.final .steps-mini li + li::before { content:"→"; color:var(--accent); margin:0 6px 0 2px; }


/* reveal */
.js .reveal { opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity:1; transform:none; }

@media (max-width:980px) {
  .flow { grid-template-columns:repeat(3,1fr); row-gap:26px; }
  .flow li:nth-child(3)::after { display:none; }
}
@media (max-width:900px) {
  .hero { grid-template-columns:1fr; gap:30px; padding-top:40px; }
  .hero h1 { max-width:16ch; }
  .problem, .week-wrap, .more { grid-template-columns:1fr; gap:28px; }
  .split { grid-template-columns:1fr; }
  .split .arrow { justify-self:center; transform:rotate(90deg); }
  .fit { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:640px) {
  body { font-size:16px; }
  .shell { padding:0 16px; }
  .lab { font-size:12px; letter-spacing:.1em; }
  .hero .lede { font-size:17.5px; }
  a.btn { min-height:44px; padding:12px 18px; display:inline-flex; align-items:center; justify-content:center; }
  .cta-row a.btn-lg { width:100%; }
  section.sec { padding-top:64px; }
  .stage { padding:16px; }
  .todo-stage { grid-template-columns:1fr; }
  .outs { gap:8px; }
  .flow { grid-template-columns:1fr; row-gap:18px; }
  .flow li { display:grid; grid-template-columns:52px 1fr; column-gap:16px; }
  .flow li .box { grid-row:span 3; }
  .flow .n { margin-top:0; }
  .flow li::after { display:none; }
  .benefits, .fit { grid-template-columns:1fr; }
  .fit .ep { max-width:170px; }
  .cal { grid-template-columns:36px repeat(6,1fr); gap:4px; }
  .cal .d, .cal .t { font-size:9.5px; letter-spacing:.04em; }
  .final { padding:38px 20px; margin-top:64px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { transition:none !important; animation:none !important; }
  .js .reveal, .js .todo li, .js .todo-total, .js .outs .short, .js .outs .thumb, .js .cal .slot .short, .js .topic i { opacity:1; transform:none; }
}

/* ---------- screenshot in a browser frame ---------- */
.frame { background:var(--surface); border:1px solid var(--rule); border-radius:7px; overflow:hidden; box-shadow:var(--shadow); position:relative; }
.frame-bar { display:flex; align-items:center; gap:6px; padding:8px 12px; border-bottom:1px solid var(--rule-soft); background:var(--sunken); }
.frame-bar i { width:8px; height:8px; border-radius:50%; background:var(--rule); }
.frame-bar span { margin-left:8px; font-family:"IBM Plex Mono", monospace; font-size:11px; color:var(--faint); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.frame img { display:block; width:100%; height:auto; aspect-ratio:16/10; object-fit:cover; object-position:top; }

/* ---------- service cards (used on /services/ and in "More services") ---------- */
.svc-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.svc-card { position:relative; background:var(--surface); border:1px solid var(--rule); border-radius:6px; overflow:hidden;
  display:flex; flex-direction:column; scroll-margin-top:140px; transition:border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.svc-card:hover { border-color:var(--accent); transform:translateY(-2px); box-shadow:var(--shadow); }
.svc-card:focus-within { border-color:var(--accent); }
.svc-card .mini { border-bottom:1px solid var(--rule-soft); background:var(--sunken); padding:20px; min-height:170px; display:flex; align-items:center; }
.svc-card .mini > * { width:100%; }
.svc-copy { padding:20px 24px 24px; display:flex; flex-direction:column; flex:1; }
.svc-copy .when { font-family:"IBM Plex Mono", monospace; font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--accent-text); }
.svc-copy h3 { font-size:21px; margin:6px 0 8px; line-height:1.2; }
.svc-copy h3 a { text-decoration:none; color:inherit; }
.svc-copy h3 a::after { content:""; position:absolute; inset:0; z-index:1; }
.svc-copy p { margin:0; color:var(--muted); font-size:15.5px; }
.svc-copy .proof { margin-top:12px; font-size:14.5px; color:var(--faint); border-left:2px solid var(--rule); padding-left:12px; }
.svc-copy .go { margin-top:auto; padding-top:16px; font-weight:600; font-size:15px; color:var(--accent-text); }
.svc-card:hover .go { text-decoration:underline; text-underline-offset:3px; }

/* "More services" block on service pages */
.more-svc .svc-grid { grid-template-columns:repeat(3,1fr); }
.more-svc .svc-card .mini { min-height:130px; padding:16px; }
.more-svc .svc-copy h3 { font-size:18.5px; }
.all-link { display:inline-block; margin-top:20px; font-weight:600; color:var(--accent-text); text-decoration:none; padding:10px 0; }
.all-link:hover { text-decoration:underline; text-underline-offset:3px; }

/* animations pause while offscreen (site.js toggles .off) */
.stage.off *, .mini.off *, .off .stage * { animation-play-state:paused !important; }

@media (max-width:900px) {
  .more-svc .svc-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:640px) {
  .svc-grid, .more-svc .svc-grid { grid-template-columns:1fr; }
  .svc-copy { padding:18px 18px 20px; }
  .svc-card .mini { min-height:0; padding:16px; }
}
@media (prefers-reduced-motion:reduce) {
  .svc-card { transition:none; }
  .svc-card:hover { transform:none; }
}
