/* Doc Foundry website. Brand Guideline V1.0: Ink Black, Strong Cyan, Pacific Blue, Light Cyan;
   Helvetica Neue with -3% tracking on headings; square buttons; the mark as a tone-on-tone
   supergraphic, cropped by the section edges, as in the guideline's website showcase. */
:root {
  --ink: #001414;
  --ink-2: #011d1e;
  --tone: #022a2c;
  --cyan: #08D2DF;
  --pacific: #00A3AE;
  --light: #E5FFFF;
  --paper: #ffffff;
  --text: #001414;
  --muted: #3b5355;
  --rule: rgba(0, 20, 20, 0.12);
  --rule-dark: rgba(229, 255, 255, 0.16);
  --gutter: clamp(16px, 4vw, 64px);
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--paper); font-size: 17px; line-height: 1.6; }
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 0.5em; font-weight: 700; }
h1 { font-size: clamp(38px, 6vw, 72px); font-weight: 500; }
h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 500; }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
/* Edge to edge: content runs the full width with a gutter, so the logo sits at the far left. */
.wrap { width: 100%; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--cyan); color: var(--ink); padding: 8px 12px; z-index: 10; }

/* Buttons: square, as in the guideline's website showcase */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; font-weight: 500; font-size: 16px; text-decoration: none; border: 1px solid transparent; transition: background .15s, color .15s; }
.btn-cyan { background: var(--cyan); color: var(--ink); }
.btn-cyan:hover { background: var(--light); }
.btn-ghost { border-color: var(--rule-dark); color: var(--light); }
.btn-ghost:hover { border-color: var(--cyan); }
.btn-ink { background: var(--ink); color: var(--light); }
.btn-ink:hover { background: var(--pacific); }
.arrow { width: 14px; height: 14px; }

/* Section label: the guideline's "● Pattern" tag with its rule */
.label { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.label span { display: inline-flex; align-items: center; gap: 10px; background: var(--cyan); color: var(--ink); padding: 7px 16px; border-radius: 8px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.label span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.label::after { content: ""; flex: 1; height: 2px; background: var(--cyan); }
.dark .label::after { opacity: .5; }

/* Header */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
.site-header.solid { position: static; background: var(--ink); }
.nav { display: flex; align-items: center; gap: 28px; height: 88px; }
.nav .logo img { height: 34px; width: auto; }
.nav ul { list-style: none; display: flex; gap: 26px; margin: 0 0 0 auto; padding: 0; }
.nav ul a { color: var(--light); text-decoration: none; font-size: 15px; opacity: .85; }
.nav ul a:hover, .nav ul a[aria-current] { opacity: 1; color: var(--cyan); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; margin-left: auto; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--light); margin: 6px 0; }

/* Dark sections and the hero */
.dark { background: var(--ink); color: var(--light); }
.dark p { color: rgba(229, 255, 255, 0.82); }
.hero { position: relative; overflow: hidden; padding: 150px 0 72px; }
.supergraphic { position: absolute; pointer-events: none; }
/* One rule for every hero: the mark anchored to the right edge, centred vertically and cropped evenly
   by the hero, kept clear of the text column. Phones tuck it into the top-right corner. */
.hero .supergraphic, .page-hero .supergraphic, .article-hero .supergraphic { right: -6%; top: 50%; transform: translateY(-50%); width: min(54%, 860px); min-width: 0; }
.hero .wrap { position: relative; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 56px; align-items: center; margin-top: 40px; }
.hero h1.hero-title { font-size: clamp(40px, 6.2vw, 84px); max-width: 1000px; margin-bottom: 0; }
.hero .lede { font-size: 19px; max-width: 520px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-rule { position: relative; border-top: 1px solid var(--rule-dark); margin-top: 64px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 40px; font-size: 15px; color: rgba(229,255,255,.75); }
.hero-rule b { color: var(--cyan); font-weight: 500; }
.film { position: relative; margin: 0; background: var(--ink-2); border: 1px solid var(--rule-dark); }
.film video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
.film figcaption { font-size: 13px; padding: 10px 14px; color: rgba(229,255,255,.65); }
.hero .hero-lede { font-size: 21px; max-width: 640px; margin-top: 28px; }
/* Problem: the three people and what each costs, with the film beside them */
.pb-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: start; }
.pb-copy h2 { margin-bottom: 16px; }
.pb-intro { color: var(--muted); font-size: 18px; margin-bottom: 28px; }
.pb-people { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--cyan); }
.pb-people li { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.pb-people b { display: block; font-size: 20px; letter-spacing: -0.01em; font-weight: 500; margin-bottom: 4px; }
.pb-people p { margin: 0 0 10px; color: var(--muted); }
.pb-cost { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--ink); }
.pb-cost::before { content: ""; width: 9px; height: 9px; border-top: 2.5px solid var(--pacific); border-right: 2.5px solid var(--pacific); transform: rotate(45deg); }
.pb-film { position: sticky; top: 24px; margin-top: 64px; }
/* The mark as a tone-on-tone supergraphic, the hero treatment, reused in later sections */
.problem-film, .cta { position: relative; overflow: hidden; }
.problem-film > .wrap, .cta > .wrap { position: relative; }
.problem-film .supergraphic { right: -10%; top: 8%; width: 46%; min-width: 420px; }
.cta .supergraphic { right: -6%; top: 50%; transform: translateY(-50%); width: min(40%, 640px); min-width: 0; }
.page-hero { position: relative; overflow: hidden; padding: 72px 0 64px; }
.page-hero .wrap { position: relative; }
.page-hero p.lede { font-size: 19px; max-width: 640px; }


/* Sections */
section.block { padding: 96px 0; }
section.tint { background: var(--light); }
.intro { max-width: 720px; margin-bottom: 48px; }
.intro p { font-size: 19px; color: var(--muted); }
.dark .intro p { color: rgba(229,255,255,.8); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.grid-3 > * { background: var(--paper); padding: 30px; }
.tint .grid-3 > * { background: var(--light); }
/* Portfolio: a featured client piece, then the sample set filed by service, with a filter */
.pf-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.pf-filter button { font: inherit; font-size: 15px; padding: 9px 16px; background: var(--paper); color: var(--ink); border: 1px solid var(--rule); cursor: pointer; }
.pf-filter button:hover { border-color: var(--pacific); }
.pf-filter button[aria-pressed="true"] { background: var(--ink); color: var(--light); border-color: var(--ink); }
.pf-feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); border: 1px solid var(--rule); background: var(--paper); }
.pf-feature[hidden], .pf-card[hidden] { display: none; }
.pf-media { display: block; position: relative; overflow: hidden; background: var(--ink); }
.pf-media img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .4s; }
.pf-feature:hover .pf-media img, .pf-card:hover .pf-media img { transform: scale(1.025); }
.pf-play { position: absolute; left: 24px; bottom: 24px; width: 56px; height: 56px; background: var(--cyan); display: flex; align-items: center; justify-content: center; }
.pf-play svg { width: 24px; height: 24px; fill: var(--ink); }
.pf-body { padding: 30px 32px 34px; }
.pf-feature .pf-body { padding: 40px; }
.pf-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.pf-meta .svc-icon { width: 36px; height: 36px; border-radius: 8px; }
.pf-meta .svc-icon svg { width: 20px; height: 20px; }
.pf-badge { margin-left: auto; font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; border: 1px solid var(--rule); color: var(--muted); }
.pf-feature .pf-badge { margin-left: 0; }
.pf-badge.client { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }
.pf-feature h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 12px; }
.pf-feature > .pf-body > p { color: var(--muted); font-size: 18px; }
.pf-delivered { list-style: none; padding: 0; margin: 22px 0 30px; border-top: 1px solid var(--rule); }
.pf-delivered li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--muted); font-size: 15px; }
.pf-delivered .svc-icon { width: 40px; height: 40px; border-radius: 8px; }
.pf-delivered .svc-icon svg { width: 22px; height: 22px; }
.pf-delivered b { display: block; color: var(--ink); font-weight: 500; }
.pf-set { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; margin: 96px 0 36px; }
.pf-set h2 { margin: 0; }
.pf-set p { margin: 0; color: var(--muted); font-size: 18px; }
.pf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.pf-card { border: 1px solid var(--rule); background: var(--paper); display: flex; flex-direction: column; transition: border-color .2s; }
.pf-card:hover { border-color: var(--pacific); }
.pf-card .pf-media { aspect-ratio: 16 / 10; border-bottom: 1px solid var(--rule); }
.pf-card h3 { font-size: 22px; margin-bottom: 8px; }
.pf-card h3 a { text-decoration: none; }
.pf-card h3 a:hover { color: var(--pacific); }
.pf-card p { color: var(--muted); font-size: 16px; margin-bottom: 14px; }
.pf-look { border-top: 1px solid var(--rule); padding-top: 14px; margin: 0; font-size: 15px; }
.pf-look b { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--pacific); margin-bottom: 4px; }
.pf-card-cta { background: var(--ink); border-color: var(--ink); justify-content: flex-end; position: relative; overflow: hidden; }
.pf-card-cta .pf-body { display: flex; flex-direction: column; align-items: flex-start; height: 100%; }
.pf-card-cta .svc-icon { background: var(--cyan); color: var(--ink); margin-bottom: auto; }
.pf-card-cta .svc-icon .k, .pf-card-cta .svc-icon .kf { stroke: var(--cyan); fill: var(--cyan); }
.pf-card-cta h3 { color: var(--light); margin-top: 48px; }
.pf-card-cta p { color: rgba(229,255,255,.8); margin-bottom: 24px; }
.pf-empty { margin-top: 28px; color: var(--muted); }

/* Service icons: Strong Cyan on an Ink Black tile, so the cyan stays legible on light grounds */
.card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.card-top .card-num { margin: 0; }
.svc-icon { width: 52px; height: 52px; background: var(--ink); color: var(--cyan); display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; }
.svc-icon svg { width: 28px; height: 28px; fill: currentColor; }
.svc-icon .k { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc-icon .kf { fill: var(--ink); }
.svc-icon .line { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.card-num { font-family: var(--mono); font-size: 13px; color: var(--pacific); margin-bottom: 14px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; margin: 0; }
.card a.more { display: inline-block; margin-top: 16px; font-size: 15px; color: var(--pacific); text-decoration: none; font-weight: 500; }
.card .price { margin-top: 18px; font-size: 15px; color: var(--text); font-weight: 500; }

.problem { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.people { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-dark); }
.people li { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--rule-dark); }
.people b { color: var(--cyan); font-weight: 500; }

/* The release loop (How we work): six gates on a track. A chevron runs the loop and lights each
   stage as it passes, then returns along "Next release". Static when motion is reduced. */
.cycle .track { width: 100%; height: auto; overflow: visible; margin-top: 8px; }
.track-path { fill: none; stroke: rgba(229,255,255,.18); stroke-width: 2; }
.track-return { fill: rgba(229,255,255,.6); font-size: 13px; font-family: var(--font); transition: fill .3s; }
.track-arrow { fill: none; stroke: rgba(229,255,255,.35); stroke-width: 2; }
.cycle.returning .track-return { fill: var(--cyan); }
.gate rect { fill: var(--ink); stroke: rgba(229,255,255,.28); stroke-width: 2; transition: fill .25s, stroke .25s; }
.gate text { fill: rgba(229,255,255,.75); font-family: var(--mono); font-size: 14px; transition: fill .25s; }
.gate.done rect { stroke: var(--pacific); }
.gate.done text { fill: var(--cyan); }
.gate.on rect { fill: var(--cyan); stroke: var(--cyan); }
.gate.on text { fill: var(--ink); font-weight: 700; }
.runner { fill: none; stroke: var(--cyan); stroke-width: 3; stroke-linecap: square; }
.phases { display: grid; grid-template-columns: 1fr 1fr; margin-top: 10px; }
.phases div { border-top: 2px solid var(--cyan); padding: 12px 20px 0 0; margin-right: 24px; font-size: 14px; color: rgba(229,255,255,.7); }
.phases div + div { border-color: var(--pacific); }
.phases b { color: var(--light); font-weight: 500; margin-right: 10px; }
.cycle-stages { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cstage { padding: 20px 20px 22px 0; outline: none; display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
.cstage .n, .cstage .ph-inline, .cstage-return { display: none; }
.cstage h3 { font-size: 19px; margin: 0 0 8px; color: var(--light); transition: color .25s; }
.cstage p { font-size: 15px; margin: 0 0 16px; }
.cstage .get { border-top: 1px solid var(--rule-dark); padding-top: 10px; font-size: 14px; color: var(--light); transition: border-color .25s; }
.cstage .get small { display: block; font-size: 12px; color: rgba(229,255,255,.55); margin-bottom: 2px; }
.cstage.on h3 { color: var(--cyan); }
.cstage.on .get { border-color: var(--cyan); }
.cstage:focus-visible h3 { text-decoration: underline; text-underline-offset: 4px; }

/* Case study: the story beside the film, figures underneath, the stage numbers from How we work */
.case-head { max-width: 900px; margin-bottom: 40px; }
.case-head h2 { margin: 0; }
.case-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.case-film { border: 0; position: sticky; top: 24px; }
.case-film figcaption { background: var(--ink); }
.case-story h3 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--pacific); margin: 0 0 8px; }
.case-story p { color: var(--muted); margin-bottom: 26px; }
.case-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.case-steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--muted); font-size: 16px; }
.case-steps span { width: 40px; height: 40px; border: 2px solid var(--cyan); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 13px; color: var(--ink); }
.case-steps b { display: block; color: var(--ink); font-weight: 500; }
.case-numbers { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 64px; border-top: 3px solid var(--cyan); }
.case-numbers div { padding: 22px 20px 0 0; font-size: 15px; color: var(--muted); line-height: 1.45; }
.case-numbers b { display: block; font-size: clamp(36px, 4vw, 56px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; color: var(--ink); margin-bottom: 10px; }
.case-result { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-top: 56px; padding: 26px 30px; background: var(--light); border-left: 4px solid var(--cyan); }
.case-result p { margin: 0; max-width: 760px; font-size: 18px; }

.founder { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.founder .portrait { margin: 0; width: 240px; }
.founder .portrait img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-bottom: 4px solid var(--cyan); }
.prose .creds { padding-left: 0; }
.work-with { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.work-with h3 { font-size: 21px; margin-bottom: 10px; }
.work-with p { color: var(--muted); }
.work-with .creds { margin-top: 14px; }
.creds { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.creds li { border: 1px solid var(--rule); padding: 6px 12px; font-size: 14px; }

.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.prices > div { background: var(--paper); padding: 28px; }
.prices .from { font-size: 14px; color: var(--muted); }
.prices .amt { font-size: 34px; letter-spacing: -0.03em; font-weight: 500; margin: 2px 0 10px; }
.prices p { font-size: 15px; color: var(--muted); margin: 0; }
.note { font-size: 14px; color: var(--muted); margin-top: 16px; }

.faq { max-width: 820px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 500; font-size: 18px; letter-spacing: -0.01em; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--pacific); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

.cta { padding: 96px 0; }
.cta .wrap { display: flex; align-items: end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta h2 { max-width: 640px; margin: 0 0 12px; }
.cta p { margin: 0; }

/* Service sections */
.service { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; padding: 64px 0; border-top: 1px solid var(--rule); scroll-margin-top: 20px; }
.service:first-of-type { border-top: 0; }
.service > div:last-child { max-width: 860px; }
.service .meta { position: sticky; top: 24px; align-self: start; }
.service .meta .card-num { margin-bottom: 8px; }
.service .meta .price { font-size: 15px; font-weight: 500; margin-top: 14px; }
.service h3 { font-size: 17px; margin: 26px 0 10px; letter-spacing: -0.01em; }
.service ul { margin: 0; padding-left: 20px; color: var(--muted); }
.service li { margin-bottom: 6px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.toc a { font-size: 14px; border: 1px solid var(--rule-dark); padding: 7px 12px; text-decoration: none; color: var(--light); }
.toc a:hover { border-color: var(--cyan); color: var(--cyan); }

/* Prose pages (about, journal, legal) */
.prose { max-width: 720px; }
.prose h2 { font-size: 30px; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: #213a3c; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--cyan); font-size: 20px; letter-spacing: -0.01em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }

/* Journal: a featured article and rows on the index; articles get a reading column, a contents
   sidebar that tracks the section in view, and a progress line. Covers are the mark, cropped. */
.cover { display: block; width: 100%; height: 100%; }
.jcover { display: block; overflow: hidden; background: var(--ink); outline: 1px solid var(--rule); outline-offset: -1px; }
.jcover .cover { transition: transform .5s; }
.jfeature:hover .cover, .jrow:hover .cover { transform: scale(1.04); }
.jtitle { display: block; font-weight: 500; letter-spacing: -0.03em; line-height: 1.12; color: var(--ink); }
.jblurb { display: block; color: var(--muted); }
.jmeta, .article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.by { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; }
.avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; background: var(--pacific); }
.jfeature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); text-decoration: none; border: 1px solid var(--rule); }
.jfeature .jcover { min-height: 100%; aspect-ratio: auto; }
.jfeature-body { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 48px; }
.jfeature .jtitle { font-size: clamp(30px, 3.2vw, 44px); }
.jfeature .jblurb { font-size: 19px; }
.jfeature .btn { align-self: flex-start; margin-top: 8px; }
.jfeature:hover .jtitle, .jrow:hover .jtitle { color: var(--pacific); }
.jrows { display: grid; gap: 0; margin-top: 48px; border-top: 1px solid var(--rule); }
.jrow { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 36px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.jrow .jcover { aspect-ratio: 16 / 10; }
.jrow-body { display: flex; flex-direction: column; gap: 10px; }
.jrow .jtitle { font-size: clamp(22px, 2.2vw, 30px); }
.tint .jrows { margin-top: 0; }

.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 30; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--cyan); transform-origin: left; transform: scaleX(0); }
.article-layout { display: grid; grid-template-columns: minmax(0, 720px) 280px; gap: 96px; justify-content: center; }
.article-hero { position: relative; overflow: hidden; padding: 80px 0 64px; }
.article-hero .wrap { position: relative; }
.article-hero h1 { font-size: clamp(36px, 4.6vw, 60px); margin-bottom: 22px; grid-column: 1 / -1; }
.article-hero .article-layout > div { grid-column: 1 / -1; max-width: 1000px; }
.standfirst { font-size: clamp(20px, 2vw, 24px); line-height: 1.45; color: var(--light) !important; max-width: 760px; margin-bottom: 28px; }
.article-hero .article-meta { color: rgba(229,255,255,.7); }
.article-hero .by { color: var(--light); }
.article-wrap { padding: 72px 0 96px; }
.article-body { max-width: none; }
.article-body p, .article-body li { font-size: 19px; line-height: 1.75; color: #1d3436; }
.article-body h2 { font-size: 30px; margin-top: 1.8em; scroll-margin-top: 24px; }
.article-body > p:first-child::first-letter { float: left; font-size: 4.2em; line-height: .85; font-weight: 500; margin: 6px 12px 0 0; color: var(--pacific); }
.article-side { position: sticky; top: 32px; align-self: start; display: flex; flex-direction: column; gap: 28px; }
.toc-side p { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--pacific); font-weight: 500; margin-bottom: 12px; }
.toc-side ol, .toc-mobile ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--rule); }
.toc-side a, .toc-mobile a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; font-size: 15px; line-height: 1.4; color: var(--muted); text-decoration: none; }
.toc-side a:hover, .toc-mobile a:hover { color: var(--ink); }
.toc-side a[aria-current] { color: var(--ink); border-left-color: var(--cyan); font-weight: 500; }
.side-cta { background: var(--ink); color: var(--light); padding: 24px; }
.side-cta b { display: block; font-size: 17px; margin-bottom: 6px; }
.side-cta p { font-size: 14px; color: rgba(229,255,255,.75); margin-bottom: 16px; }
.side-cta .btn { padding: 11px 16px; font-size: 15px; }
.toc-mobile { display: none; }
.author-card { display: flex; gap: 16px; align-items: center; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--rule); }
.author-card .avatar { width: 64px; height: 64px; }
.author-card b { display: block; font-weight: 500; }
.author-card span:not(.avatar) { color: var(--muted); font-size: 15px; }

/* Booking */
.book { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: st; }
.steps li { counter-increment: st; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.steps li::before { content: "0" counter(st); font-family: var(--mono); color: var(--pacific); font-size: 14px; padding-top: 3px; }
.steps b { display: block; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }
.steps-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; }
.steps-row li { border-bottom: 0; border-top: 3px solid var(--cyan); }
.cal-box { width: 100%; min-height: 640px; background: var(--paper); border: 1px solid var(--rule); overflow: auto; }
.cal-fallback { margin-top: 14px; }
.cal-fallback a { color: var(--pacific); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(229,255,255,.75); padding: 64px 0 36px; font-size: 15px; }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot img { height: 30px; width: auto; margin-bottom: 16px; }
.foot h4 { color: var(--light); font-size: 14px; letter-spacing: 0; margin-bottom: 12px; font-weight: 500; }
.foot ul { list-style: none; padding: 0; margin: 0; line-height: 2; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--cyan); }
.legal { border-top: 1px solid var(--rule-dark); margin-top: 48px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; }
.legal span:first-child { margin-right: auto; }

@media (max-width: 960px) {
  .pb-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .pb-film { position: static; margin-top: 0; }
  .hero-grid, .problem, .case-grid, .pf-feature, .pf-set, .founder, .book, .service { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .case-film { position: static; }
  .service .meta { position: static; }
  .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-feature { gap: 0; }
  .jfeature { grid-template-columns: minmax(0, 1fr); }
  .jfeature .jcover { aspect-ratio: 16 / 10; min-height: 0; }
  .jfeature-body { padding: 28px; }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .article-side { display: none; }
  .toc-mobile { display: block; margin-bottom: 36px; border: 1px solid var(--rule); padding: 14px 18px; }
  .toc-mobile summary { cursor: pointer; font-weight: 500; }
  .toc-mobile ol { margin-top: 12px; }
  .pf-set { margin-top: 64px; gap: 16px; }
  .grid-3, .prices, .work-with { grid-template-columns: minmax(0, 1fr); }
  .steps-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
  .case-numbers { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  /* Phones and tablets: the loop becomes a vertical track with numbered gates */
  .cycle .track, .phases { display: none; }
  .cycle-stages { grid-template-columns: minmax(0, 1fr); margin-top: 8px; border-left: 2px solid rgba(229,255,255,.18); margin-left: 21px; }
  .cstage { position: relative; padding: 0 0 30px 40px; display: block; grid-row: auto; }
  .cstage .n { display: flex; align-items: center; justify-content: center; position: absolute; left: -23px; top: -6px; width: 44px; height: 44px; background: var(--ink); border: 2px solid var(--cyan); border-radius: 8px; font-family: var(--mono); font-size: 14px; color: var(--cyan); }
  .cstage .ph-inline { display: block; font-size: 13px; color: var(--cyan); margin-bottom: 6px; }
  .cstage h3 { padding-top: 6px; }
  .cstage .get { max-width: 420px; }
  .cstage-return { display: block; position: relative; margin-left: -2px; padding: 14px 0 0 40px; font-size: 14px; color: var(--cyan); border-left: 2px dashed var(--cyan); }
  .foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero { padding-top: 120px; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav { flex-wrap: wrap; height: auto; min-height: 72px; padding: 12px var(--gutter); }
  .nav ul { display: none; width: 100%; flex-direction: column; gap: 0; margin: 8px 0 0; background: var(--ink); }
  .nav ul a { display: block; padding: 12px 0; border-top: 1px solid var(--rule-dark); }
  .nav.open { background: var(--ink); padding-bottom: 8px; border-bottom: 1px solid var(--rule-dark); }
  .nav.open ul { display: flex; }
  .nav .btn { display: none; }
  .nav.open .btn { display: inline-flex; margin: 8px 0 12px; }
  .people li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .steps-row { grid-template-columns: minmax(0, 1fr); }
  .case-numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-result { padding: 20px; }
  .pf-grid { grid-template-columns: minmax(0, 1fr); }
  .jrow { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .article-body p, .article-body li { font-size: 18px; }
  .article-hero { padding: 56px 0 44px; }
  .article-body > p:first-child::first-letter { float: none; font-size: inherit; line-height: inherit; font-weight: inherit; margin: 0; color: inherit; }
  .pf-feature .pf-body, .pf-body { padding: 24px; }
  .pf-badge { margin-left: 0; }
  .founder .portrait { width: 160px; }
  .foot { grid-template-columns: minmax(0, 1fr); }
  section.block, .cta { padding: 64px 0; }
  .hero .supergraphic, .page-hero .supergraphic, .article-hero .supergraphic { width: 50%; right: -18%; top: -64px; transform: none; }
  .problem-film .supergraphic { min-width: 0; width: 120%; right: -60%; top: -4%; }
}

/* Analytics consent banner: nothing loads until the visitor accepts */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20; max-width: 760px; margin: 0 auto; background: var(--ink); color: var(--light); border: 1px solid var(--rule-dark); padding: 16px 20px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; font-size: 15px; }
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 320px; color: rgba(229,255,255,.85); }
.consent a { color: var(--cyan); }
.consent div { display: flex; gap: 8px; }
.consent button { font: inherit; font-size: 15px; font-weight: 500; padding: 10px 18px; border: 1px solid var(--rule-dark); background: transparent; color: var(--light); cursor: pointer; }
.consent button[data-consent="granted"] { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }
.consent button:hover { border-color: var(--cyan); }

/* Services: ways to work, and per-service example and booking links */
.ways { padding-bottom: 32px; }
.ways-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.way { border: 1px solid var(--rule); border-top: 3px solid var(--cyan); padding: 30px 32px; }
.way h2 { font-size: 28px; margin-bottom: 6px; }
.way > p { color: var(--muted); }
.way ul { list-style: none; padding: 0; margin: 18px 0 0; }
.way li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--rule); font-size: 15px; }
.way li b { font-weight: 500; white-space: nowrap; }
.svc-links { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; font-size: 15px; }
.svc-links a { color: var(--pacific); font-weight: 500; text-decoration: none; }
.svc-links a:hover { text-decoration: underline; }
.prepare { margin-top: 28px; padding: 20px 24px; background: var(--light); border-left: 4px solid var(--cyan); }
.prepare b { display: block; margin-bottom: 6px; }
.prepare ul { margin: 0; padding-left: 20px; color: var(--muted); }
@media (max-width: 960px) { .ways-grid { grid-template-columns: minmax(0, 1fr); } }
.profile-link { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.profile-link a, .author-card b a { color: var(--pacific); font-weight: 500; text-decoration: none; }
.profile-link a:hover, .author-card b a:hover { text-decoration: underline; }

/* Journal sign-up */
.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; }
.subscribe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: center; margin-top: 56px; padding: 32px; background: var(--ink); color: var(--light); }
.subscribe h2 { font-size: 26px; margin-bottom: 8px; }
.subscribe p { margin: 0; color: rgba(229,255,255,.78); font-size: 16px; }
.sub-row { display: flex; gap: 8px; }
.sub-row input[type=email] { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 13px 14px; border: 1px solid rgba(229,255,255,.3); background: var(--ink-2); color: var(--light); border-radius: 0; }
.sub-row input[type=email]::placeholder { color: rgba(229,255,255,.45); }
.sub-row input[type=email]:focus { outline: 2px solid var(--cyan); outline-offset: 0; border-color: var(--cyan); }
.sub-row .btn { border: 0; cursor: pointer; font: inherit; font-weight: 500; }
.sub-row .btn:disabled { opacity: .6; cursor: default; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sub-msg { min-height: 1.4em; margin-top: 10px !important; color: var(--cyan) !important; font-size: 15px !important; }
.sub-msg.bad { color: #ffb4ab !important; }
.sub-fine { font-size: 13px !important; color: rgba(229,255,255,.6) !important; }
.sub-fine a { color: var(--cyan); }
.jrows + .subscribe { margin-top: 64px; }
@media (max-width: 760px) {
  .subscribe { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 18px; }
  .sub-row { flex-direction: column; }
}
