/* Shared layout for the problem pages, the scope notes and /about (added 2026-10-23).
   Loaded after brand-tokens.css, which carries the fonts and the five brand colours.
   The header, footer, marker stroke, dark panels and steps copy index.html's own rules,
   which stay inline there so the homepage remains one deployable file: if you change one
   of these on the homepage, change it here too. Editorial rules (CLAUDE.md): everything
   sits on the cream, sections are separated by one hairline, the dark panels are the only
   boxes, and yellow is an accent. */
:root{
  --gray-mid:#756F63;
  --ink-soft:#3A3B3F;
  --line-check:#8C877A;
  --dark:#16171A;
  --dark-text:#EDEDE5;
  --dark-line:#33353E;
  --radius:14px;
  --maxw:1240px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;scroll-padding-top:100px;}
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:'Inter',system-ui,sans-serif;
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  position:relative;
}
/* Same subtle paper grain as the homepage. */
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  opacity:0.5;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.035 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
h1,h2,h3{
  font-family:'Space Grotesk',sans-serif;
  font-weight:600;
  line-height:1.12;
  letter-spacing:-0.01em;
  margin:0;
  color:var(--ink);
  text-wrap:pretty;
}
p{margin:0;text-wrap:pretty;}
a{color:inherit;text-decoration:none;}
img{display:block;max-width:100%;}
ul{margin:0;padding:0;list-style:none;}

.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px;}

.skip-link{
  position:absolute;left:16px;top:-60px;
  background:var(--ink);color:var(--cream);
  padding:12px 18px;border-radius:8px;
  font-weight:600;font-size:14px;z-index:200;
  transition:top 0.15s ease;
}
.skip-link:focus{top:16px;}

.eyebrow{
  font-family:'JetBrains Mono',monospace;
  font-size:13px;
  font-weight:500;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--gray);
}

/* Tilted marker stroke. nowrap by design: only on a short phrase that stays on one line. */
.hl{position:relative;isolation:isolate;white-space:nowrap;padding:0 0.06em;}
.hl::before{
  content:"";
  position:absolute;
  left:-0.08em;right:-0.08em;bottom:0.06em;
  height:0.5em;
  background:var(--yellow);
  transform:rotate(-1.5deg);
  transform-origin:left center;
  z-index:-1;
}

/* ---------- Buttons (same as the homepage) ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:'Inter',sans-serif;
  font-weight:600;
  font-size:15px;
  padding:13px 22px;
  border-radius:999px;
  border:1.5px solid var(--ink);
  cursor:pointer;
  transition:transform 0.15s ease, box-shadow 0.15s ease;
  white-space:nowrap;
}
.btn-primary{background:var(--ink);color:var(--cream);}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 0 var(--yellow);}
.btn-accent{background:var(--yellow);color:var(--ink);}
.btn-accent:hover{transform:translateY(-2px);box-shadow:0 6px 0 var(--ink);}
.btn-ghost{background:transparent;color:var(--ink);border-color:var(--line-check);}
.btn-ghost:hover{border-color:var(--ink);}
.btn-icon{padding:6px 24px 6px 6px;}
.btn-icon-circle{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;flex-shrink:0;}
.btn-icon-circle svg{width:13px;height:13px;}
.btn-accent.btn-icon .btn-icon-circle{background:var(--ink);color:var(--yellow);}
.btn:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--ink);outline-offset:3px;}
/* Inside the dark panels an ink ring is invisible: yellow there, including round the yellow calculator button. */
.service-panel :focus-visible{outline-color:var(--yellow);}
/* Read by screen readers, not shown: the calculator's spoken summary (calc.js). */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;}

/* ---------- Header and nav ---------- */
header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(250,247,240,0.86);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
nav.wrap{display:flex;align-items:center;justify-content:space-between;height:112px;}
.logo{display:flex;align-items:center;}
.logo img{height:64px;width:auto;}
.nav-links{display:flex;align-items:center;gap:40px;font-size:15px;font-weight:500;}
.nav-links a{color:var(--ink);transition:color 0.15s;}
.nav-links a:hover{color:var(--gray);}
/* The page you're on reads as current, not greyed out like a disabled link. */
.nav-links a[aria-current="page"]{color:var(--ink);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px;}
.nav-right{display:flex;align-items:center;gap:14px;}
.nav-cta{padding:12px 20px;font-size:15px;}
.hamburger{display:none;background:none;border:none;cursor:pointer;padding:12px;}
.hamburger span{display:block;width:22px;height:2px;background:var(--ink);margin:5px 0;transition:transform 0.2s ease, opacity 0.2s ease;}
.hamburger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.hamburger[aria-expanded="true"] span:nth-child(2){opacity:0;}
.hamburger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

/* "Problems I fix" menu: a <details>, so the links are plain HTML a crawler can follow
   and the menu opens without any script. site.js only closes it on an outside click. */
.nav-drop{position:relative;}
.nav-drop summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:7px;
  color:var(--ink);
}
.nav-drop summary::-webkit-details-marker{display:none;}
.nav-drop summary::after{
  content:"";
  width:6px;height:6px;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:translateY(-2px) rotate(45deg);
  transition:transform 0.15s;
}
.nav-drop[open] summary::after{transform:translateY(1px) rotate(-135deg);}
.nav-drop summary:hover{color:var(--gray);}
.nav-drop-menu{
  position:absolute;
  top:calc(100% + 18px);
  left:-16px;
  min-width:290px;
  display:flex;
  flex-direction:column;
  padding:8px;
  background:var(--cream);
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:0 16px 28px rgba(22,23,26,0.1);
}
.nav-drop-menu a{padding:10px 12px;border-radius:8px;white-space:nowrap;}
.nav-drop-menu a:hover{background:rgba(22,23,26,0.04);color:var(--ink);}
.nav-drop-menu a[aria-current="page"]{font-weight:600;text-underline-offset:4px;}
/* The six problems are examples, not the catalogue: a line above says so, and the last link is
   the open door (same idea as the picker's "Something else" pill). */
.nav-drop-menu .nav-drop-note{padding:8px 12px 10px;font-size:13px;line-height:1.45;color:var(--ink-soft);white-space:normal;border-bottom:1px solid var(--line);margin-bottom:4px;}
.nav-drop-menu .nav-drop-more{margin-top:4px;font-weight:600;color:var(--ink);background:rgba(255,251,133,0.45);}
.nav-drop-menu .nav-drop-more:hover{background:var(--yellow);}
/* Ten builds since 2026-10-26: the name people search for, with the problem under it, in two
   columns. The note and the "Something else" link span both. */
.nav-drop-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:4px;min-width:560px;}
.nav-drop-menu .nav-drop-note,.nav-drop-menu .nav-drop-more{grid-column:1 / -1;}
.nav-drop-menu a{display:flex;flex-direction:column;gap:2px;}
.nav-drop-menu .nav-drop-name{font-weight:600;color:var(--ink);white-space:normal;}
/* Names only (Christian, 2026-10-27): the problem shows as a small tip on hover or keyboard focus.
   It stays in the markup, so screen readers and the Markdown still get it. */
.nav-drop-menu{min-width:600px;}
.nav-drop-menu a{position:relative;}
.nav-drop-menu .nav-drop-problem{position:absolute;left:8px;top:calc(100% - 2px);z-index:3;width:max-content;max-width:230px;padding:6px 10px;border-radius:6px;background:var(--ink);color:var(--cream);font-size:12.5px;line-height:1.35;white-space:normal;opacity:0;transform:translateY(-3px);transition:opacity 0.12s ease, transform 0.12s ease;pointer-events:none;}
.nav-drop-menu a:hover .nav-drop-problem,.nav-drop-menu a:focus-visible .nav-drop-problem{opacity:1;transform:none;}

/* ---------- Page body ---------- */
main{display:block;}
.page-head{padding:64px 0 72px;}
.crumbs{
  list-style:none;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  font-family:'JetBrains Mono',monospace;
  font-size:12px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--gray-mid);
  margin:0 0 36px;
}
.crumbs a{color:var(--gray);text-decoration:underline;text-decoration-color:var(--line-check);text-underline-offset:3px;}
.crumbs a:hover{color:var(--ink);}
/* The separator hangs off the end of the crumb before it, so a wrapped line never starts with "/". */
.crumbs li:not(:last-child)::after{content:"/";margin-left:8px;color:var(--line-check);}
.page-head h1{
  font-size:clamp(36px,5.6vw,68px);
  font-weight:700;
  line-height:1.05;
  letter-spacing:-0.035em;
  margin:20px 0 26px;
  max-width:18ch;
}
.page-head .lead{
  font-size:19px;
  line-height:1.58;
  color:var(--ink-soft);
  max-width:620px;
}
.page-head .page-meta{
  display:block;
  font-family:'JetBrains Mono',monospace;
  font-size:12px;
  font-weight:500;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--gray);
  margin:0 0 20px;
}
/* Problem pages (2026-10-26): the lead on the left, the warning signs beside it. */
.page-head-body{display:grid;grid-template-columns:minmax(0,620px) minmax(0,1fr);gap:56px;align-items:start;}
.signs{border-left:1px solid var(--line);padding-left:32px;max-width:440px;}
.signs .signs-label{font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:19px;letter-spacing:-0.01em;color:var(--ink);}
.signs .ticks{margin-top:14px;}
.signs .ticks li{font-size:16px;}
.head-cta{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-top:32px;}
.head-cta .note{font-size:14px;color:var(--gray-mid);}

/* A block: mono label on the left, copy on the right, one hairline above. */
.block{
  display:grid;
  grid-template-columns:240px minmax(0,1fr);
  gap:32px;
  padding:56px 0;
  border-top:1px solid var(--line);
}
.block > .eyebrow{padding-top:8px;}
.block-body{max-width:720px;}
.block-body h2{
  font-size:clamp(26px,3.2vw,38px);
  font-weight:700;
  line-height:1.1;
  letter-spacing:-0.025em;
  margin-bottom:20px;
}
.block-body p{font-size:17px;line-height:1.65;color:var(--ink-soft);}
.block-body p+p{margin-top:16px;}
/* Question-and-answer pairs, e.g. the FAQ on /missed-calls. */
.block-body h3{font-size:19px;font-weight:700;line-height:1.3;letter-spacing:-0.01em;margin:28px 0 6px;}
.block-body h2+h3{margin-top:0;}
.block-body p a,.block-body li a,.prose-link{
  color:var(--ink);
  text-decoration:underline;
  text-decoration-color:var(--line-check);
  text-decoration-thickness:1.5px;
  text-underline-offset:4px;
}
.block-body p a:hover,.block-body li a:hover,.prose-link:hover{text-decoration-color:var(--ink);}
.ticks{display:flex;flex-direction:column;gap:12px;margin-top:20px;}
.ticks li{display:flex;gap:10px;font-size:17px;line-height:1.55;color:var(--ink-soft);}
.ticks li::before{content:"—";flex-shrink:0;color:var(--ink);}
/* A paragraph straight after a list (the industry pages, "All posts" on /about) needs the same
   gap as one after another paragraph, or it reads as the list's last line. */
.ticks+p{margin-top:20px;}
.block-body .service-panel{margin-top:28px;max-width:560px;}
/* Link buttons here carry descriptive text, so they wrap rather than run off a phone screen. */
.block-body .btn{margin-top:28px;white-space:normal;}

/* ---------- How I scope it: same steps as the homepage ---------- */
.steps{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  border-top:1px solid var(--ink);
  margin-top:8px;
}
.step{padding:24px 24px 0 0;}
.step:last-child{padding-right:0;}
.step .num{font-family:'Space Grotesk',sans-serif;font-size:15px;font-weight:600;color:var(--gray-mid);margin-bottom:12px;}
.step h3{font-size:22px;font-weight:700;letter-spacing:-0.02em;margin-bottom:10px;}
.step p{font-size:15px;line-height:1.6;color:var(--ink-soft);}
.block--wide{grid-template-columns:1fr;gap:28px;}
.block--wide .block-body{max-width:none;}

/* ---------- Scope note rows (the homepage's .scope-rows, one column wide) ---------- */
.scope-rows{
  display:grid;
  grid-template-columns:200px minmax(0,1fr);
  border-top:1px solid var(--ink);
  margin:0;
  max-width:900px;
}
.scope-row{display:contents;}
.scope-row > dt,
.scope-row > dd{margin:0;padding:18px 0;border-bottom:1px solid var(--line);font-size:17px;line-height:1.6;}
.scope-row > dt{
  font-family:'JetBrains Mono',monospace;
  font-size:12px;
  font-weight:500;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--gray);
  padding-top:22px;
  padding-right:20px;
}
.scope-row > dd{color:var(--ink-soft);}
.scope-row.is-built > dd{color:var(--ink);font-weight:600;}

/* ---------- Dark output panel ---------- */
.service-panel{
  background:var(--dark);
  border-radius:var(--radius);
  padding:18px;
  color:var(--dark-text);
  font-family:'JetBrains Mono',monospace;
  font-size:12.5px;
  border:1px solid var(--dark-line);
}
.panel-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;font-size:11.5px;color:#918D82;}
.panel-header .dot-row{display:flex;gap:6px;}
.panel-header .dot{width:8px;height:8px;border-radius:50%;background:var(--dark-line);}
.transcript-line{margin-bottom:11px;display:flex;gap:10px;}
.transcript-line:last-child{margin-bottom:0;}
.transcript-line .who{color:var(--yellow);flex-shrink:0;min-width:64px;}
.transcript-line .txt{color:var(--dark-text);}
.transcript-line.muted .txt{color:#918D82;}
.transcript-line.status .txt{color:var(--yellow);}
.panel-caption{font-size:14px;color:var(--gray-mid);margin-top:12px;max-width:560px;}

/* ---------- The tool (calc.js): a title on the left, the dark panel the visitor types into ---------- */
/* .btn sets display, which beats the browser's own [hidden] rule: the copy button on /free-skill
   showed with script off. */
.btn[hidden]{display:none;}
.calc[hidden],.block[hidden],.tool[hidden]{display:none;}
/* With script on (the one-line class switch at the top of <head>), the tool takes its place
   from the first paint instead of appearing when calc.js runs and pushing the page down (CLS).
   The hidden attribute stays in the HTML, so without script and in the Markdown it's still left out. */
html.js [data-calc-section][hidden]{display:grid;}
.tool{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,620px);
  gap:56px;
  padding:56px 0 64px;
  border-top:1px solid var(--line);
  align-items:start;
}
.tool-intro h2{
  font-size:clamp(30px,3.8vw,46px);
  font-weight:700;
  line-height:1.05;
  letter-spacing:-0.03em;
  margin:14px 0 16px;
}
.tool-intro p{font-size:17px;line-height:1.6;color:var(--ink-soft);max-width:420px;}
/* Side by side, the title stays in view beside a long panel. */
@media (min-width:901px){ .tool-intro{position:sticky;top:140px;} }
.tool .calc{font-size:14px;padding:22px;}

.calc-fields{display:grid;gap:12px;}
.calc-field{display:grid;grid-template-columns:minmax(0,1fr) 128px;align-items:center;gap:16px;}
.calc-field span{line-height:1.5;color:var(--dark-text);}
/* 16px stops iOS zooming on focus; #6B6B64 keeps the edge at 3:1 on the panel (WCAG 1.4.11). */
.calc-field input{
  width:100%;
  min-height:44px;
  padding:8px 12px;
  font:500 16px 'JetBrains Mono',monospace;
  color:var(--dark-text);
  background:#1D1F26;
  border:1px solid #6B6B64;
  border-radius:8px;
  text-align:right;
}
.calc-field input:focus{outline:2px solid var(--yellow);outline-offset:2px;border-color:var(--yellow);}
/* The result: big yellow figures first, the sentences under them. */
.calc-result{margin:20px 0 0;padding:18px 0 0;border-top:1px solid var(--dark-line);display:flex;flex-wrap:wrap;gap:10px 28px;list-style:none;}
/* Room for the one-line prompt calc.js writes on load, so its arrival moves nothing. */
html.js .calc-result{min-height:calc(18px + 1.55em);}
.calc-result li{flex:1 1 100%;color:var(--dark-text);line-height:1.55;font-size:14px;}
.calc-result li.calc-big{flex:1 1 200px;margin-bottom:8px;}
.calc-figure{
  display:block;
  font-family:'Space Grotesk',sans-serif;
  font-weight:700;
  font-size:clamp(38px,5vw,58px);
  line-height:1;
  letter-spacing:-0.035em;
  color:var(--yellow);
  font-variant-numeric:tabular-nums;
}
.calc-big + .calc-big .calc-figure{font-size:clamp(28px,3.4vw,38px);}
.calc-label{display:block;margin-top:8px;font-family:'Inter',system-ui,sans-serif;font-size:14px;line-height:1.45;color:var(--dark-text);}
.calc-note{font-size:12.5px;line-height:1.6;color:var(--dark-text);margin-top:16px;}
.calc .btn{margin-top:20px;font-family:'Inter',system-ui,sans-serif;white-space:normal;}

/* Templates: boxes to tick, a layout to copy. */
.calc .btn-copy{background:transparent;color:var(--dark-text);border-color:#6B6B64;}
.calc .btn-copy:hover{border-color:var(--yellow);}
.calc .btn-copy:disabled{opacity:0.5;cursor:default;}
/* The onward list's open door. */
.onward a.onward-open{background:rgba(255,251,133,0.45);padding-left:12px;padding-right:12px;}

/* ---------- Profile (/about) ---------- */
.about-head{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:56px;align-items:end;}
.about-photo{width:280px;height:280px;border-radius:14px;object-fit:cover;}
.profile-top{display:flex;align-items:center;gap:20px;}
.profile-photo{width:96px;height:96px;border-radius:50%;object-fit:cover;flex-shrink:0;}
/* .block-body p would otherwise win and set the name at body size. */
.block-body .profile-name{font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:26px;line-height:1.2;letter-spacing:-0.01em;color:var(--ink);margin-bottom:4px;}
.profile-role{font-size:15px;color:var(--gray);}
.block-body .profile-meta{font-family:'JetBrains Mono',monospace;font-size:12px;letter-spacing:0.04em;color:var(--gray-mid);margin-top:16px;}
.profile-why{font-size:20px;color:var(--ink);line-height:1.55;margin-top:28px;max-width:640px;}
.profile-points{
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:22px 0;
  margin-top:28px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  max-width:720px;
}
.profile-points li{display:flex;gap:10px;font-size:16px;color:var(--ink-soft);line-height:1.55;}
.profile-points li::before{content:"—";flex-shrink:0;}

/* ---------- Links onward ---------- */
.onward{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 40px;border-top:1px solid var(--ink);margin-top:8px;}
.onward a{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:16px;
  padding:18px 0;
  border-bottom:1px solid var(--line);
  font-family:'Space Grotesk',sans-serif;
  font-weight:600;
  font-size:19px;
  letter-spacing:-0.01em;
}
.onward a::after{content:"→";flex-shrink:0;color:var(--gray);transition:transform 0.15s;}
.onward a:hover::after{transform:translateX(3px);color:var(--ink);}

/* ---------- Closing CTA ---------- */
.closing{padding:72px 0 96px;border-top:1px solid var(--line);}
.closing h2{
  font-size:clamp(28px,3.8vw,46px);
  font-weight:700;
  line-height:1.08;
  letter-spacing:-0.03em;
  max-width:20ch;
}
.closing p{font-size:17px;line-height:1.6;color:var(--ink-soft);max-width:560px;margin-top:18px;}
.closing .head-cta{margin-top:30px;}

/* ---------- Footer (same as the homepage) ---------- */
footer{border-top:1px solid var(--line);padding:72px 0 32px;}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px;margin-bottom:56px;}
.footer-brand .logo img{height:56px;}
.footer-brand p{color:var(--gray);font-size:14px;line-height:1.6;margin-top:20px;max-width:280px;}
.footer-col h2{
  font-family:'JetBrains Mono',monospace;
  font-size:12px;
  font-weight:500;
  text-transform:uppercase;
  letter-spacing:0.06em;
  color:var(--gray-mid);
  margin:0 0 18px;
}
.footer-col li{margin-bottom:10px;}
.footer-col a{font-size:15px;color:var(--gray);}
.footer-col a:hover{color:var(--ink);}
.footer-col .footer-accent{color:var(--ink);font-weight:600;}
.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:24px;
  border-top:1px solid var(--line);
  font-family:'JetBrains Mono',monospace;
  font-size:12px;
  color:var(--gray-mid);
  flex-wrap:wrap;
  gap:10px;
}
.footer-bottom a:hover{color:var(--ink);}
/* Touch targets (harden pass, 2026-10-23): at least 24px tall, 44px for the footer lists on phones. */
.footer-bottom a,.crumbs a{display:inline-block;padding:4px 0;}
/* From the blog (2026-10-27): every post, grouped, under the columns. Quieter than the columns:
   smaller type, no accent. Same block in index.html's own style, so change both. */
.footer-blog{border-top:1px solid var(--line);padding:32px 0 40px;}
.footer-blog h2{
  font-family:'JetBrains Mono',monospace;
  font-size:12px;
  font-weight:500;
  text-transform:uppercase;
  letter-spacing:0.06em;
  color:var(--gray-mid);
  margin:0 0 20px;
}
/* Same columns as .footer-grid above, so the groups line up under the brand and the three lists. */
.footer-blog-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:24px 32px;}
.footer-blog h3{font-size:13px;font-weight:600;line-height:1.4;color:var(--ink-soft);margin:0 0 10px;}
.footer-blog li{margin-bottom:6px;font-size:13px;line-height:1.45;}
.footer-blog a{font-size:13px;line-height:1.45;color:var(--gray);overflow-wrap:anywhere;}
.footer-blog a:hover{color:var(--ink);}
@media (max-width:1024px){
  .footer-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 24px;}
}
@media (max-width:480px){
  .footer-blog{padding:28px 0 32px;}
  .footer-blog h2{margin-bottom:16px;}
  .footer-blog-grid{grid-template-columns:1fr;gap:20px;}
  .footer-blog h3{margin-bottom:4px;}
  .footer-blog li{margin-bottom:0;font-size:14px;line-height:1.35;}
  /* Two-line titles keep a gap from their neighbours, as in the columns above. */
  .footer-blog li+li{margin-top:6px;}
  .footer-blog a{display:flex;align-items:center;min-height:44px;font-size:14px;line-height:1.35;}
}

/* ================= RESPONSIVE: same breakpoints as the homepage ================= */
@media (min-width:769px) and (max-width:1024px){
  .nav-links{gap:28px;}
  .steps{grid-template-columns:repeat(3,minmax(0,1fr));}
  .step{padding-bottom:28px;}
  .step:nth-child(n+4){border-top:1px solid var(--line);}
  .block{grid-template-columns:180px minmax(0,1fr);}
}
@media (max-width:900px){
  .block{grid-template-columns:1fr;gap:16px;padding:44px 0;}
  .block > .eyebrow{padding-top:0;}
  .onward{grid-template-columns:1fr;}
  .page-head-body{grid-template-columns:1fr;gap:32px;}
  .signs{border-left:0;padding-left:0;border-top:1px solid var(--line);padding-top:24px;max-width:620px;}
  .tool{grid-template-columns:1fr;gap:24px;padding:44px 0 52px;}
}
@media (max-width:768px){
  .about-head{grid-template-columns:1fr;gap:32px;}
  .about-photo{width:160px;height:160px;grid-row:1;}
  .nav-links{display:none;}
  .nav-links.is-open{
    display:flex;
    position:absolute;
    top:100%;
    left:0;right:0;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    background:var(--cream);
    border-bottom:1px solid var(--line);
    box-shadow:0 16px 28px rgba(22,23,26,0.1);
    padding:8px 24px 20px;
    /* With "Problems I fix" open the list is taller than a small phone: scroll inside it. */
    max-height:calc(100vh - 112px);
    max-height:calc(100svh - 112px);
    overflow-y:auto;
    overscroll-behavior:contain;
  }
  .nav-links.is-open > a,
  .nav-links.is-open summary{padding:14px 4px;border-bottom:1px solid var(--line);font-size:16px;}
  .nav-links.is-open > a:last-child{border-bottom:none;}
  .nav-drop-menu{position:static;min-width:0;padding:4px 0 8px 12px;border:0;border-radius:0;box-shadow:none;background:none;border-bottom:1px solid var(--line);}
  .nav-drop-menu a{padding:12px 4px;font-size:16px;white-space:normal;}
  .nav-drop-menu{grid-template-columns:1fr;}
  .nav-drop-menu .nav-drop-problem{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
  .hamburger{display:block;}
  .page-head{padding:40px 0 56px;}
  .steps{grid-template-columns:repeat(2,minmax(0,1fr));}
  .step{padding-bottom:28px;}
  .step:nth-child(n+3){border-top:1px solid var(--line);}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .head-cta .btn{white-space:normal;text-align:center;}
}
@media (max-width:480px){
  html{scroll-padding-top:88px;}
  nav.wrap{height:76px;}
  .logo img{height:46px;}
  .nav-links.is-open{max-height:calc(100vh - 76px);max-height:calc(100svh - 76px);}
  .nav-cta{padding:9px 14px;font-size:13px;}
  .crumbs{margin-bottom:24px;}
  .page-head{padding:32px 0 48px;}
  .page-head .lead{font-size:17.5px;line-height:1.6;}
  .head-cta{flex-direction:column;align-items:flex-start;gap:14px;}
  .head-cta .btn{width:100%;justify-content:center;}
  .block-body p,.ticks li,.scope-row > dd{font-size:16px;}
  .steps{grid-template-columns:1fr;}
  .step{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:4px;padding:22px 0 24px;}
  .step:nth-child(n+2){border-top:1px solid var(--line);}
  .step .num{grid-row:1 / span 2;margin:0;padding-top:4px;}
  .scope-rows{grid-template-columns:1fr;}
  .scope-row > dt{padding-bottom:2px;border-bottom:0;}
  .scope-row > dd{padding-top:2px;}
  .profile-why{font-size:18px;}
  .calc-field{grid-template-columns:1fr;gap:6px;}
  html.js .calc-result{min-height:calc(14px + 3.1em);}
  .calc-fields{gap:14px;}
  .calc-field input{text-align:left;}
  .tool .calc{padding:18px;}
  .calc .btn{width:100%;justify-content:center;text-align:center;}
  .closing{padding:56px 0 72px;}
  footer{padding:56px 0 28px;}
  .footer-grid{grid-template-columns:1fr 1fr;gap:36px 20px;margin-bottom:40px;}
  .footer-brand,.footer-col:last-child{grid-column:1 / -1;}
  .footer-brand p{font-size:15px;max-width:none;}
  .footer-col h2{margin-bottom:12px;}
  .footer-col li{margin-bottom:0;}
  /* Two-line links keep their own gap, so neighbours don't read as one. */
  .footer-col li+li{margin-top:8px;}
  .footer-col a{display:inline-flex;align-items:center;min-height:44px;line-height:1.35;}
  .footer-bottom{flex-direction:column;align-items:flex-start;}
}
@media (max-width:400px){
  /* The full name doesn't fit beside the photo on a small phone. */
  .profile-top{flex-direction:column;align-items:flex-start;gap:14px;}
}
@media (max-width:360px){
  html{scroll-padding-top:80px;}
  nav.wrap{height:68px;}
  .logo img{height:42px;}
  .nav-links.is-open{max-height:calc(100vh - 68px);max-height:calc(100svh - 68px);}
  .nav-right{gap:6px;}
  .nav-cta{padding:8px 11px;font-size:12px;}
  .hamburger{padding:8px;}
}
/* ---------- Problem pages, one layout for all ten (2026-10-27, Christian's brief) ----------
   Fewer words, an icon on every sign and every build point, the tool centred under its title,
   and a mockup of what the build looks like. Everything sits on <main class="pp">. */
.ico-sprite{position:absolute;width:0;height:0;overflow:hidden;}
.ico{flex-shrink:0;display:inline-grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--yellow);color:var(--ink);}
.ico svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
.ticks--icons{gap:14px;}
.ticks--icons li{align-items:center;gap:14px;}
.ticks--icons li::before{content:none;}
.pp .page-head .lead{font-size:20px;}
.pp .page-head .lead strong{color:var(--ink);font-weight:600;}
/* The tool: title centred, panel centred under it, the booking button centred in the panel. */
.pp .tool{grid-template-columns:minmax(0,1fr);justify-items:center;gap:28px;}
.pp .tool-intro{position:static;text-align:center;}
.pp .tool-intro h2{margin:12px 0 0;}
.pp .tool .calc{width:100%;max-width:660px;}
.pp .calc .btn{display:flex;width:fit-content;margin:22px auto 0;justify-content:center;text-align:center;}
.pp .calc-result{justify-content:center;text-align:center;}
.pp .calc-result li{text-align:center;}
/* What we'd build: short points with icons, beside a mockup dashboard. */
.pp-build{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,560px);gap:56px;align-items:start;}
.pp-build h2{font-size:clamp(28px,3.4vw,42px);font-weight:700;line-height:1.08;letter-spacing:-0.03em;margin:12px 0 26px;}
.points{list-style:none;margin:0;padding:0;display:grid;gap:18px;}
.points li{display:grid;grid-template-columns:34px minmax(0,1fr);gap:14px;align-items:start;font-size:16.5px;line-height:1.55;color:var(--ink-soft);}
.points li b{display:block;color:var(--ink);font-weight:600;}
.points .ico{background:var(--ink);color:var(--yellow);}
.pp-note{margin-top:24px;font-size:15px;line-height:1.6;color:var(--gray);}
.pp-note a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--line-check);text-underline-offset:3px;}
/* The mockup: a dark app window with stat tiles and a few rows. Every figure in it is made up,
   and the caption says so. The screen is one image to assistive tech (role="img" + label). */
.dash{margin:0;}
.dash-screen{background:var(--dark);border:1px solid var(--dark-line);border-radius:14px;padding:16px;color:var(--dark-text);font-family:'Inter',system-ui,sans-serif;box-shadow:0 18px 40px rgba(22,23,26,0.14);}
.dash-bar{display:flex;align-items:center;gap:10px;font-family:'JetBrains Mono',monospace;font-size:11.5px;color:var(--gray-light);margin-bottom:14px;}
.dash-bar .dash-dots{display:flex;gap:5px;}
.dash-bar .dash-dots i{width:8px;height:8px;border-radius:50%;background:var(--dark-line);}
.dash-bar .dash-ok{margin-left:auto;color:var(--yellow);font-weight:500;}
.dash-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:14px;}
.dash-tile{background:#1D1F26;border:1px solid var(--dark-line);border-radius:10px;padding:10px 10px 9px;}
.dash-tile b{display:block;font-family:'Space Grotesk',sans-serif;font-size:24px;font-weight:700;line-height:1.1;color:var(--cream);}
.dash-tile span{display:block;margin-top:2px;font-size:11.5px;line-height:1.3;color:var(--gray-light);}
.dash-tile.is-hot{background:var(--yellow);border-color:var(--yellow);}
.dash-tile.is-hot b,.dash-tile.is-hot span{color:var(--ink);}
.dash-rows{list-style:none;margin:0;padding:0;border-top:1px solid var(--dark-line);}
.dash-rows li{display:grid;grid-template-columns:118px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 2px;border-bottom:1px solid var(--dark-line);font-size:12.5px;line-height:1.35;}
.dash-rows li:last-child{border-bottom:0;}
.dash-rows li > span:first-child{color:var(--cream);font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.dash-rows li > span:nth-child(2){color:var(--gray-light);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.tag{font-style:normal;font-family:'JetBrains Mono',monospace;font-size:10.5px;padding:3px 8px;border-radius:999px;border:1px solid var(--dark-line);color:var(--dark-text);white-space:nowrap;}
.tag--go{border-color:rgba(255,251,133,0.5);color:var(--yellow);}
.tag--hot{background:var(--yellow);border-color:var(--yellow);color:var(--ink);}
.dash-bars{display:grid;gap:8px;margin:4px 0 2px;}
.dash-bars div{display:grid;grid-template-columns:110px minmax(0,1fr) 44px;gap:10px;align-items:center;font-size:12px;color:var(--gray-light);}
.dash-bars i{display:block;height:8px;border-radius:4px;background:var(--dark-line);position:relative;overflow:hidden;}
.dash-bars i::after{content:"";position:absolute;inset:0 auto 0 0;width:var(--w);background:var(--yellow);border-radius:4px;}
.dash-bars b{font-weight:600;color:var(--cream);text-align:right;}
.dash .panel-caption{margin-top:12px;}
@media (max-width:900px){
  .pp-build{grid-template-columns:1fr;gap:32px;}
}
@media (max-width:480px){
  .pp .page-head .lead{font-size:18px;}
  .dash-tiles{grid-template-columns:repeat(2,minmax(0,1fr));}
  .dash-rows li{grid-template-columns:minmax(0,1fr) auto;}
  .dash-rows li > span:nth-child(2){grid-column:1;grid-row:2;}
  .dash-rows li > .tag{grid-row:1 / span 2;grid-column:2;}
  .dash-bars div{grid-template-columns:84px minmax(0,1fr) 40px;}
  .pp .calc .btn{width:100%;}
}

/* ---------- Client work (2026-10-27): the homepage's old scope cards, with a stat strip ---------- */
.work-body{padding:8px 0 72px;}
.stat-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1px solid var(--ink);border-bottom:1px solid var(--line);margin-bottom:48px;}
.stat-strip .stat{padding:24px 24px 24px 0;}
.stat-strip .stat+.stat{padding-left:24px;border-left:1px solid var(--line);}
.stat-big{display:block;font-family:'Space Grotesk',sans-serif;font-size:clamp(40px,5vw,60px);font-weight:700;letter-spacing:-0.03em;line-height:1;color:var(--ink);}
.stat-label{display:block;margin-top:10px;font-size:15px;line-height:1.45;color:var(--ink-soft);max-width:260px;}
.scopes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 56px;border-top:1px solid var(--ink);}
.scopes--one{grid-template-columns:minmax(0,760px);}
.scope{display:flex;flex-direction:column;padding-top:28px;min-width:0;}
.scope-head{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:18px;}
.scope-client{font-family:'Space Grotesk',sans-serif;font-size:22px;font-weight:700;letter-spacing:-0.02em;line-height:1.15;}
.scope-meta{font-family:'JetBrains Mono',monospace;font-size:12px;font-weight:500;letter-spacing:0.06em;text-transform:uppercase;color:var(--gray);text-align:right;flex-shrink:0;}
.scopes .scope-rows{grid-template-columns:132px minmax(0,1fr);border-top:1px solid var(--line);}
.scopes .scope-row > dt,.scopes .scope-row > dd{padding:13px 0;font-size:15.5px;line-height:1.55;}
.scopes .scope-row > dt{font-size:11.5px;padding-top:16px;padding-right:16px;}
.scope .service-panel{margin-top:22px;}
.scope .btn{align-self:center;margin-top:22px;white-space:normal;text-align:center;}
@supports (grid-template-rows: subgrid){
  @media (min-width:901px){
    .scopes:not(.scopes--one) .scope{display:grid;grid-template-rows:subgrid;grid-row:span 7;}
    .scopes:not(.scopes--one) .scope-rows{grid-row:span 4;grid-template-rows:subgrid;}
    .scopes:not(.scopes--one) .scope .btn{align-self:start;justify-self:center;}
  }
}
.scope .btn{justify-self:center;}
.scopes--one .scope .btn{align-self:flex-start;}
.scopes-foot{margin-top:44px;padding-top:22px;border-top:1px solid var(--line);font-size:16px;line-height:1.55;color:var(--ink-soft);}
.scopes-foot a{color:var(--ink);font-weight:600;text-decoration:underline;text-decoration-color:var(--line-check);text-underline-offset:3px;}
@media (max-width:900px){
  .scopes{grid-template-columns:1fr;gap:0;}
  .scopes:not(.scopes--one) .scope{padding:36px 0;border-top:1px solid var(--line);}
  .scopes:not(.scopes--one) .scope:first-child{border-top:0;padding-top:28px;}
}
@media (max-width:600px){
  .stat-strip{grid-template-columns:1fr;}
  .stat-strip .stat,.stat-strip .stat+.stat{padding:18px 0;border-left:0;}
  .stat-strip .stat+.stat{border-top:1px solid var(--line);}
  .scope-head{flex-direction:column;align-items:flex-start;gap:6px;}
  .scope-meta{text-align:left;}
  .scopes .scope-rows{grid-template-columns:1fr;}
  .scopes .scope-row > dt{padding-bottom:2px;border-bottom:0;}
  .scopes .scope-row > dd{padding-top:2px;}
}

/* ---------- Back to the homepage (2026-10-28): every page but the homepage, top of <main> ---------- */
.back-row{padding-top:16px;}
.back-home{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:15px;font-weight:500;color:var(--ink-soft);text-decoration:none;}
.back-home svg{width:18px;height:18px;flex-shrink:0;transition:transform .2s ease;}
.back-home:hover{color:var(--ink);}
/* Blog posts style every link in .article and pad every .article .wrap: keep this one plain and close. */
.article .wrap.back-row{padding:16px 24px 0;}
.wrap.legal.back-row{padding-top:16px;padding-bottom:0;}
.article a.back-home{color:var(--ink-soft);text-decoration:none;border:0;}
.article a.back-home:hover{color:var(--ink);}
.back-home:hover svg{transform:translateX(-3px);}
.back-home:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:4px;}
@media (prefers-reduced-motion: reduce){.back-home svg{transition:none;}}

/* ---------- Free skill page (2026-10-27; 2026-10-28: download, add, then one line to start) ---------- */
.howto{list-style:none;counter-reset:howto;margin:0;padding:0;display:grid;gap:22px;}
.howto > li{counter-increment:howto;display:grid;grid-template-columns:40px minmax(0,1fr);align-items:baseline;font-size:18px;line-height:1.5;color:var(--ink);}
.howto > li::before{content:counter(howto);display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--yellow);font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:15px;color:var(--ink);transform:translateY(-2px);}
.howto > li > div > .btn{display:flex;width:fit-content;margin-top:14px;text-decoration:none;}
.howto-ai{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:8px;}
.howto-ai li{font-size:16px;line-height:1.55;color:var(--ink-soft);}
.howto-ai b{color:var(--ink);}
.block-body .howto-note{margin-top:8px;font-size:14px;color:var(--gray-mid);}
.howto .prompt-head{margin:14px 0 12px;}
.howto .prompt-box{max-height:none;font-size:14px;}
.prompt-head{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:16px;}
.prompt-head .btn{margin-top:0;}
.prompt-status{font-size:15px;color:var(--ink-soft);}
.prompt-box{max-height:420px;overflow:auto;margin:0;padding:20px 22px;background:var(--dark);color:var(--dark-text,#E8E6DF);border-radius:12px;font-family:'JetBrains Mono',monospace;font-size:12.5px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;}
.prompt-box:focus-visible{outline:2px solid var(--ink);outline-offset:3px;}
.prompt-note{margin-top:16px;font-size:15px !important;}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{transition-duration:0.01ms !important;animation-duration:0.01ms !important;animation-iteration-count:1 !important;scroll-behavior:auto !important;}
  .btn:hover,.btn-primary:hover,.btn-accent:hover{transform:none;}
  .onward a:hover::after{transform:none;}
}
@media print{
  header,.skip-link,.nav-links,.hamburger,.closing .head-cta,.calc .btn{display:none !important;}
  body::before{display:none;}
  body{background:#fff;}
  .page-head,.block,.closing{padding-top:20px;padding-bottom:20px;}
  .block{break-inside:avoid;}
  .service-panel{print-color-adjust:exact;-webkit-print-color-adjust:exact;}
  a{color:var(--ink);text-decoration:underline;}
  .block-body p a[href^="http"]::after,.block-body li a[href^="http"]::after{content:" (" attr(href) ")";font-size:0.85em;color:var(--gray);}
  footer{padding-top:24px;}
}

/* ---------- A YouTube video in a blog post (2026-10-30) ----------
   Nothing loads YouTube's player until the visitor presses play: site.js swaps the link for a
   youtube-nocookie.com iframe. Without script it's a plain link to the video on YouTube. Only the
   thumbnail comes from YouTube on page view (lazy). _headers allows i.ytimg.com and the nocookie host. */
.video{margin:16px 0 8px;}
.video a.video-play{position:relative;display:block;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:var(--dark,#16171A);text-decoration:none;border:0;}
.video-play img{display:block;width:100%;height:100%;object-fit:cover;transition:opacity .2s ease;}
.video-play:hover img{opacity:.85;}
.video-btn{position:absolute;left:50%;top:50%;width:68px;height:48px;margin:-24px 0 0 -34px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:var(--yellow);transition:transform .2s ease;}
.video-btn svg{width:26px;height:26px;fill:var(--ink);}
.video-play:hover .video-btn{transform:scale(1.06);}
.video a.video-play:focus-visible{outline:3px solid var(--ink);outline-offset:3px;}
.video iframe{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:12px;background:var(--dark,#16171A);}
.video figcaption{margin-top:10px;font-size:14px;line-height:1.5;color:var(--gray);}
.video figcaption strong{color:var(--ink);font-weight:600;}
@media (prefers-reduced-motion: reduce){.video-play img,.video-btn{transition:none;}.video-play:hover .video-btn{transform:none;}}
@media print{.video-play img,.video-btn,.video iframe{display:none;}}

/* ---------- A pull quote in a blog post (2026-10-30) ----------
   On the cream, no box: an ink rule on the left, the words in Space Grotesk, the source in mono.
   Each sits next to the paragraph it echoes. Only quotes whose wording and source were checked. */
.article .pull{margin:32px 0;padding:2px 0 2px 20px;border-left:3px solid var(--ink);}
.article .pull blockquote{margin:0;}
.article .pull p{margin:0;font-family:'Space Grotesk',sans-serif;font-weight:500;font-size:clamp(18px,2.4vw,21px);line-height:1.4;color:var(--ink);text-wrap:pretty;}
.article .pull figcaption{margin-top:10px;font-family:'JetBrains Mono',monospace;font-size:12.5px;line-height:1.5;color:var(--gray-mid);}
.article .pull figcaption i{font-style:italic;}
