/* Gilbert AI Consulting website. Built from the 9 October 2026 reference page ("marked-up job file").
   Colour has a job here: yellow flags what needs attention, blue is a person's mark, ink is the record. */

@font-face { font-family: "Archivo"; src: url('fonts/Archivo-latin.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url('fonts/SourceSans3-latin.woff2') format('woff2'); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url('fonts/IBMPlexMono-latin.woff2') format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --paper: #f5f5f0;
  --sheet: #fdfcf8;
  --under: #e6e7df;
  --ink: #20211e;
  --ink-2: #51534b;
  --rule: #d5d6ce;
  --rule-2: #b9b3a2;
  --hi: #ffe04a;
  --pen: #2337b6;
  --night-2: #cbc9bd;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 76px;
  --shadow: 0 1px 0 rgba(32, 33, 30, .05), 0 22px 44px -28px rgba(32, 33, 30, .5);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.125rem/1.55 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, figure, ol, ul, dl, dd { margin: 0; }
p { text-wrap: pretty; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--pen); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }

.wrap { width: min(1200px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.sprite { position: absolute; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; top: -80px; left: 16px; z-index: 60; padding: 12px 16px; background: var(--ink); color: var(--sheet); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1rem + 5.1vw, 4.875rem); font-stretch: 96%; line-height: 1; letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 1.25rem + 2.5vw, 3.25rem); line-height: 1.05; letter-spacing: -.03em; }
h3 { font-size: clamp(1.375rem, 1.15rem + .8vw, 1.75rem); line-height: 1.15; letter-spacing: -.02em; }
.label { font: 400 .75rem/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.lead { font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.375rem); line-height: 1.5; }
.num { font: 400 .8125rem/1 var(--mono); letter-spacing: .04em; color: var(--ink-2); }
.tag { display: inline-block; padding: 4px 8px; border: 1px solid currentColor; border-radius: 2px; font: 400 .75rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }

/* The highlighter. Used only where something is being flagged. */
mark.hl { color: inherit; padding: 0 .1em; margin: 0 -.06em; border-radius: .22em .08em .2em .1em; background: linear-gradient(to bottom, transparent 14%, var(--hi) 14%, var(--hi) 92%, transparent 92%) no-repeat 0 0 / 100% 100%; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 1em; min-height: 54px; padding: .8em 1.2em; border: 1.5px solid var(--ink); border-radius: 3px; background: var(--hi); color: var(--ink); font: 600 1.0625rem/1.25 var(--body); text-align: left; text-decoration: none; transition: background-color .15s ease; }
.btn:hover { background: #ffd21f; }
.btn:active { transform: translateY(1px); }
.btn--small { min-height: 44px; padding: .55em 1em; font-size: 1rem; }
.btn--ink { background: var(--ink); color: var(--sheet); }
.btn--ink:hover { background: #000; }
.arr { flex: none; width: 1.1em; height: 1.1em; transition: transform .15s ease; }
.btn:hover .arr, .link:hover .arr { transform: translate(2px, -2px); }
.link[href="#work"]:hover .arr { transform: translateY(3px); }
.link { display: inline-flex; align-items: center; gap: .55em; min-height: 44px; padding: 0; border: 0; background: none; font: 600 1.0625rem/1.25 var(--body); text-decoration: underline; text-decoration-color: var(--pen); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.link:hover { text-decoration-thickness: 3px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

h1 mark.hl, h2 mark.hl, h3 mark.hl { white-space: nowrap; }


.site-header { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.site-header.is-stuck { border-bottom-color: var(--rule); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { flex: none; display: block; width: 184px; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); font-size: 1rem; font-weight: 500; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; text-underline-offset: 7px; text-decoration-thickness: 2px; }
.nav a:hover, .nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--pen); }
.menu { display: none; position: relative; }
.menu summary { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 2px 0 12px; font-weight: 600; font-size: 1rem; list-style: none; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu-icon { position: relative; width: 18px; height: 12px; border-block: 2px solid var(--ink); }
.menu-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 2px; background: var(--ink); }
.menu nav { position: absolute; right: 0; top: calc(100% + 6px); z-index: 45; display: flex; flex-direction: column; width: min(260px, calc(100vw - 2 * var(--gutter))); padding: 8px; background: var(--sheet); border: 1px solid var(--rule-2); border-radius: 3px; box-shadow: var(--shadow); }
.menu nav a { display: flex; align-items: center; min-height: 48px; padding: 0 12px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--rule); }
.menu nav a:last-child { border-bottom: 0; font-weight: 600; }
.menu nav a:hover { background: var(--paper); }

/* Hero */
.hero { padding-block: clamp(36px, 5.4vw, 84px) clamp(56px, 7vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr); gap: clamp(36px, 5.5vw, 88px); align-items: center; }
.hero-place { display: flex; flex-wrap: wrap; gap: 0 .7em; margin-bottom: clamp(18px, 2vw, 26px); }
.hero-copy .lead { max-width: 33em; margin-top: clamp(20px, 2.2vw, 30px); }
.hero-copy .actions { margin-top: clamp(24px, 2.6vw, 34px); }
.hero-audience { margin-top: clamp(22px, 2.4vw, 30px); padding-top: 16px; border-top: 1px solid var(--rule); max-width: 33em; font-size: 1rem; color: var(--ink-2); }

.review { position: relative; }
.review-paper { position: relative; }
.review-stack i { position: absolute; inset: 6px 10px -10px -10px; background: var(--under); border: 1px solid var(--rule-2); border-radius: 2px; transform: rotate(-3.2deg); }
.review-stack i + i { inset: 0 2px -6px -2px; background: #efebdf; transform: rotate(-1.2deg); }
.review-sheet { position: relative; padding: clamp(18px, 2vw, 26px) clamp(18px, 2.2vw, 28px) clamp(18px, 2vw, 24px); background: var(--sheet); border: 1px solid var(--rule-2); border-radius: 2px; box-shadow: var(--shadow); transform: rotate(.9deg); }
.review-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-title { margin-top: 10px; font: 600 clamp(1.25rem, 1.1rem + .5vw, 1.5rem)/1.2 var(--display); letter-spacing: -.015em; text-wrap: balance; }
.checks { margin-top: 16px; border-top: 1.5px solid var(--ink); }
.check { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 52px; padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 1.0625rem; line-height: 1.3; }
.mark { width: 24px; height: 24px; }
.tick path { fill: none; stroke: var(--pen); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.flag { width: 14px; height: 14px; margin-left: 5px; background: var(--hi); border: 1.5px solid var(--ink); }
.check-result { font: 400 .8125rem/1.3 var(--mono); letter-spacing: .02em; color: var(--ink-2); white-space: nowrap; }
.check--flag { border-bottom-color: var(--ink); }
.check--flag .check-what { font-weight: 600; }
.check--flag .check-result { position: relative; margin-right: 8px; padding: 5px 8px; color: var(--ink); }
.ring { position: absolute; inset: -5px -9px; width: calc(100% + 18px); height: calc(100% + 10px); max-width: none; overflow: visible; }
.ring path, .pen-arrow path, .route-arc path, .route-head path { fill: none; stroke: var(--pen); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.pen-note { display: flex; align-items: flex-end; justify-content: flex-end; gap: 6px; margin: 4px 46px 0 0; font: 400 .875rem/1.35 var(--mono); color: var(--pen); }
.pen-arrow { order: 2; width: 26px; height: 30px; margin-bottom: 6px; overflow: visible; }
.decision { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px 14px; margin-top: 14px; padding: 13px 16px; border: 1.5px solid var(--pen); border-radius: 3px; }
.decision-icon { width: 28px; height: 28px; color: var(--pen); }
.decision-text strong { display: block; font-weight: 600; font-size: 1.0625rem; line-height: 1.25; }
.decision-text span { font-size: .9375rem; color: var(--ink-2); }
.decision-boxes { display: flex; gap: 14px; font: 400 .75rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.decision-boxes span::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 6px; border: 1.5px solid var(--ink-2); vertical-align: -2px; }
.review figcaption { margin-top: 30px; font-size: .875rem; line-height: 1.4; color: var(--ink-2); }

/* Approach strip */
.principles { border-block: 1px solid var(--rule); }
.principles-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.principles-list li { display: flex; flex-direction: column; gap: 2px; padding: 22px clamp(16px, 2.4vw, 32px) 24px; border-left: 1px solid var(--rule); }
.principles-list li:first-child { padding-left: 0; border-left: 0; }
.principles-list strong { font: 700 1.125rem/1.3 var(--display); letter-spacing: -.01em; }
.principles-list span { font-size: 1rem; line-height: 1.45; color: var(--ink-2); }

.section { padding-block: clamp(64px, 8vw, 116px); }
.section-head { max-width: 44rem; margin-bottom: clamp(30px, 4vw, 54px); }
.section-head .label { margin-bottom: 14px; }
.section-lead { margin-top: 18px; max-width: 34em; font-size: clamp(1.125rem, 1.05rem + .3vw, 1.25rem); line-height: 1.5; color: var(--ink-2); }

/* Friction */
.friction-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.friction .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.friction-list { border-top: 1.5px solid var(--ink); }
.friction-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; padding: clamp(20px, 2.4vw, 28px) 0; border-bottom: 1px solid var(--rule); }
.friction-list .num { padding-top: .55em; }
.friction-list h3 { line-height: 1.25; }
.friction-list p { margin-top: 10px; max-width: 34em; color: var(--ink-2); }

/* Work: three job files */
.work { background: var(--under); }
.files { display: grid; gap: clamp(26px, 3vw, 38px); }
.file { --tab-shift: 0px; }
.file:nth-child(2) { --tab-shift: clamp(0px, 14vw, 200px); }
.file:nth-child(3) { --tab-shift: clamp(0px, 28vw, 400px); }
.file-tab { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 12px; min-height: 40px; margin: 0 0 -1px var(--tab-shift); padding: 8px 18px 7px; background: var(--sheet); border: 1px solid var(--rule-2); border-bottom-color: var(--sheet); border-radius: 7px 7px 0 0; font: 400 .8125rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.file-sheet { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); background: var(--sheet); border: 1px solid var(--rule-2); border-radius: 0 3px 3px 3px; box-shadow: var(--shadow); }
.file-main { padding: clamp(22px, 3vw, 40px); }
.file-main h3 { font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.125rem); line-height: 1.1; letter-spacing: -.025em; max-width: 17em; }
.file-main > p { margin-top: 16px; max-width: 36em; }
.flow-block { margin-top: clamp(22px, 2.6vw, 30px); }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; }
.flow li { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 38px; margin-right: 34px; padding: 6px 13px; border: 1px solid var(--ink); border-radius: 2px; font-size: .9375rem; font-weight: 600; line-height: 1.2; }
.flow li:last-child { margin-right: 0; }
.flow li:not(:last-child)::before { content: ""; position: absolute; right: -28px; top: 50%; width: 20px; height: 1.5px; margin-top: -.75px; background: var(--ink); }
.flow li:not(:last-child)::after { content: ""; position: absolute; right: -28px; top: 50%; width: 7px; height: 7px; border-top: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); transform: translateY(-50%) rotate(45deg); }
.flow .flow-person { border-color: var(--pen); color: var(--pen); }
.flow svg { width: 18px; height: 18px; }
.flow-note { margin-top: 10px; font: 400 .75rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.file-status { position: relative; padding: clamp(22px, 3vw, 40px); border-left: 1px solid var(--rule); background: linear-gradient(var(--rule), var(--rule)) no-repeat 0 0 / 0 0; }
.stamp { display: inline-block; margin-bottom: 26px; padding: 9px 14px 8px; border: 2px solid var(--pen); border-radius: 4px; box-shadow: inset 0 0 0 2px var(--sheet), inset 0 0 0 3px var(--pen); color: var(--pen); font: 700 .8125rem/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; transform: rotate(-2.5deg); transform-origin: left center; }
.file-status .label { margin-bottom: 10px; }
.ledger li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--rule); font-size: 1.0625rem; line-height: 1.4; }
.ledger-mark { width: 22px; height: 22px; margin-top: 1px; color: var(--ink-2); }
.ledger-mark.is-done { color: var(--pen); }
.work-note { margin-top: clamp(22px, 3vw, 32px); font-size: .9375rem; color: var(--ink-2); }

/* How it starts: a route with one shortcut */
.route-wrap { --g: clamp(20px, 2.6vw, 40px); position: relative; padding-top: 62px; }
.route { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--g); }
.stop { position: relative; padding-top: 62px; }
.stop::before { content: ""; position: absolute; top: 20px; left: 42px; right: calc(-1 * var(--g)); height: 2px; background: var(--ink); }
.stop--last::before { right: 0; background: repeating-linear-gradient(to right, var(--ink) 0 6px, transparent 6px 12px); }
.stop-n { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 42px; height: 42px; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); font: 700 1.0625rem/1 var(--display); }
.stop--free .stop-n { background: var(--hi); }
.badge { display: inline-block; margin-bottom: 12px; padding: 3px 8px; border: 1px solid var(--rule-2); border-radius: 2px; font: 400 .75rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.badge--free { border-color: var(--ink); background: var(--hi); color: var(--ink); }
.stop h3 { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.5rem); }
.stop > p:not(.badge) { margin-top: 10px; font-size: 1.0625rem; line-height: 1.5; color: var(--ink-2); }
.route-skip { position: absolute; top: 0; left: 21px; width: calc(50% + var(--g) / 2); height: 58px; pointer-events: none; }
.route-arc { position: absolute; inset: 14px 0 0 0; width: 100%; height: 44px; overflow: visible; }
.route-head { position: absolute; right: -8px; bottom: -3px; width: 14px; height: 12px; overflow: visible; }
.route-skip span { position: absolute; left: 50%; top: -4px; transform: translateX(-50%); padding: 0 12px; background: var(--paper); font: 400 .8125rem/1.4 var(--mono); color: var(--pen); white-space: nowrap; }
.plan { margin-top: 18px; padding: 12px 14px 14px; background: var(--sheet); border: 1px solid var(--rule-2); border-radius: 2px; box-shadow: var(--shadow); transform: rotate(-1.2deg); }
.plan-head { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 8px; border-bottom: 1.5px solid var(--ink); font: 400 .75rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.plan-head span:first-child { color: var(--ink); }
.plan li { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.plan li:last-child { padding-bottom: 0; border-bottom: 0; }
.plan b { font: 400 .75rem/1 var(--mono); color: var(--ink-2); }
.plan i { display: block; height: 9px; width: 88%; border-radius: 1px; background: var(--rule); }
.plan li:first-child i { background: var(--hi); width: 100%; }
.plan li:nth-child(3) i { width: 64%; }
.terms { display: flex; flex-wrap: wrap; gap: 8px 44px; margin-top: clamp(34px, 4vw, 54px); padding-top: 18px; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: 1rem; }
.terms li { position: relative; padding-left: 20px; }
.terms li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--ink); }

/* About */
.about { border-top: 1px solid var(--rule); }
.about-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.print { width: 232px; padding: 8px 8px 0; background: var(--sheet); border: 1px solid var(--rule-2); box-shadow: var(--shadow); transform: rotate(-2.2deg); }
.print-crop { position: relative; overflow: hidden; aspect-ratio: 10 / 11; background: var(--under); }
.print-crop img { width: 100%; height: 100%; object-fit: cover; }
.print figcaption { padding: 9px 2px 10px; font: 400 .75rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.about-copy .label { margin-bottom: 14px; }
.about-statement { margin-top: 20px; max-width: 30em; font: 500 clamp(1.3125rem, 1.05rem + 1.1vw, 1.875rem)/1.3 var(--display); letter-spacing: -.015em; }
.about-place { margin: 20px 0 14px; color: var(--ink-2); }

/* Questions */
.faq { border-top: 1px solid var(--rule); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .section-head { margin-bottom: 0; }
.faq-list { border-top: 1.5px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; padding: 16px 0; font: 600 clamp(1.125rem, 1.05rem + .35vw, 1.3125rem)/1.3 var(--body); list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--pen); }
.faq-icon { position: relative; flex: none; width: 18px; height: 18px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: currentColor; transition: transform .2s ease; }
.faq-icon::after { transform: rotate(90deg); }
details[open] .faq-icon::after { transform: rotate(0deg); }
.faq-list details p { padding: 0 38px 24px 0; max-width: 34em; color: var(--ink-2); }

/* Contact and footer: the one dark surface */
.contact { padding-block: clamp(64px, 8vw, 112px); background: var(--ink); color: var(--sheet); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.contact .label { color: var(--night-2); margin-bottom: 18px; }
.contact h2 { font-size: clamp(2.25rem, 1.2rem + 3.9vw, 4.25rem); line-height: 1.02; letter-spacing: -.035em; }
.contact mark.hl { color: var(--ink); }
.contact .lead { margin-top: 24px; max-width: 31em; color: #e6e4d9; }
.contact .actions { margin-top: 30px; }
.contact .link { color: var(--sheet); text-decoration-color: var(--hi); }
.contact :focus-visible, .site-footer :focus-visible { outline-color: var(--hi); }
.contact .btn { border-color: var(--hi); }
.call-card { padding: clamp(20px, 2.4vw, 28px); background: var(--sheet); color: var(--ink); border-radius: 2px; transform: rotate(1.4deg); box-shadow: 0 30px 50px -30px #000; }
.call-card .label { color: var(--ink-2); margin-bottom: 8px; }
.call-card dl { border-top: 1.5px solid var(--ink); }
.call-card dl div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.call-card dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.call-card dt { font: 400 .75rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.call-card dd { font: 600 1.1875rem/1.3 var(--display); letter-spacing: -.01em; }
.site-footer { padding-block: 26px 34px; background: var(--ink); color: var(--night-2); border-top: 1px solid #3d3e39; font-size: .9375rem; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.footer-brand { display: block; width: 160px; margin-left: -5px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 26px; margin-left: auto; }
.footer-nav a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--sheet); text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; text-decoration-color: var(--hi); text-underline-offset: 6px; }
.footer-nav .arr { width: 1em; height: 1em; }

/* Notices */
dialog { width: min(620px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); padding: clamp(24px, 4vw, 40px); overflow: auto; background: var(--sheet); color: var(--ink); border: 1px solid var(--rule-2); border-radius: 3px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .55); }
dialog::backdrop { background: rgba(32, 33, 30, .62); }
dialog .tag { color: var(--pen); }
dialog h2 { margin-top: 16px; padding-right: 28px; font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.25rem); line-height: 1.1; }
dialog h3 { margin-top: 24px; font: 700 1.0625rem/1.3 var(--display); letter-spacing: 0; }
dialog p { margin-top: 14px; }
dialog ul { margin-top: 8px; }
dialog li { position: relative; padding: 5px 0 5px 20px; font-size: 1.0625rem; line-height: 1.45; }
dialog li::before { content: ""; position: absolute; left: 0; top: .95em; width: 8px; height: 2px; background: var(--ink); }
.dialog-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; background: none; font-size: 1.75rem; line-height: 1; }
.dialog-card { margin-top: 20px; padding: 16px 18px; background: var(--paper); border: 1px solid var(--rule); border-left: 6px solid var(--hi); }
.dialog-card dt { font: 400 .75rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.dialog-card dd { margin-top: 2px; font: 700 1.375rem/1.25 var(--display); letter-spacing: -.015em; }
.dialog-fine { font-size: .9375rem; color: var(--ink-2); }
dialog .btn { margin-top: 22px; }

/* One-off pen and highlighter strokes on load. Final state is the default, so nothing depends on this running. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  h1 mark.hl { animation: sweep .5s cubic-bezier(.55, 0, .25, 1) .25s backwards; }
  .review .tick path { stroke-dasharray: 1; animation: draw .3s cubic-bezier(.55, 0, .25, 1) backwards; }
  .review .check:nth-child(1) .tick path { animation-delay: .7s; }
  .review .check:nth-child(2) .tick path { animation-delay: .95s; }
  .review .check:nth-child(3) .tick path { animation-delay: 1.2s; }
  .review .check--flag mark.hl { animation: sweep .45s cubic-bezier(.55, 0, .25, 1) 1.6s backwards; }
  .review .ring path { stroke-dasharray: 1; animation: draw .5s ease-out 2.05s backwards; }
  .review .pen-note { animation: note .35s ease-out 2.5s backwards; }
}
@keyframes sweep { from { background-size: 0% 100%; } }
@keyframes draw { from { stroke-dashoffset: 1; opacity: 0; } 1% { opacity: 1; } to { stroke-dashoffset: 0; } }
@keyframes note { from { opacity: 0; transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
  .file-sheet { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .menu { display: block; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .review { max-width: 560px; }
  .friction-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .friction .section-head { position: static; }
  .file-sheet { grid-template-columns: minmax(0, 1fr); }
  .file-status { border-left: 0; border-top: 1px solid var(--rule); }
  .file:nth-child(n) { --tab-shift: 0px; }
  .route-wrap { padding-top: 0; }
  .route-skip { display: none; }
  .route { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .stop { padding: 4px 0 34px 64px; }
  .stop:last-child { padding-bottom: 0; }
  .stop::before { top: 42px; bottom: 0; left: 20px; right: auto; width: 2px; height: auto; }
  .stop--last::before { display: none; }
  .plan { max-width: 320px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .call-card { max-width: 420px; }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }
  body { font-size: 1.0625rem; }
  .brand { width: 160px; }
  .principles-list { grid-template-columns: minmax(0, 1fr); }
  .principles-list li { padding: 16px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .principles-list li:first-child { border-top: 0; }
  .review-sheet, .plan, .call-card { transform: none; }
  .review-stack i { inset: 8px 6px -14px -6px; transform: rotate(-2.2deg); }
  .review-stack i + i { display: none; }
  .check { grid-template-columns: 24px minmax(0, 1fr) auto; gap: 10px; font-size: 1rem; }
  .pen-note { margin-right: 14px; }
  .decision { grid-template-columns: auto minmax(0, 1fr); }
  .decision-boxes { grid-column: 2; }
  .hero-copy .actions .btn { width: 100%; max-width: 360px; }
  .friction-list li { grid-template-columns: 34px minmax(0, 1fr); }
  .flow li { margin-right: 30px; padding-inline: 10px; font-size: .875rem; }
  .flow li:not(:last-child)::before { right: -24px; width: 17px; }
  .flow li:not(:last-child)::after { right: -24px; }
  .hero-place { flex-direction: column; }
  .hero-place .dot { display: none; }
  .about-grid { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 34px; }
  .print { width: 200px; margin-left: 6px; }
  .faq-list details p { padding-right: 0; }
  .contact .actions .btn { width: 100%; max-width: 360px; }
  .footer-nav { margin-left: 0; }
}

@media (max-width: 350px) {
  :root { --gutter: 16px; }
  h1 { font-size: 2.25rem; }
  .brand { width: 148px; }
  .check { font-size: .9375rem; }
  .check-result { font-size: .75rem; }
  .check--flag { grid-template-columns: 24px minmax(0, 1fr); }
  .check--flag .check-result { grid-column: 2; justify-self: start; margin: 6px 0 4px 8px; }
  .pen-note { font-size: .8125rem; }
  .stop { padding-left: 56px; }
  .call-card dl div { grid-template-columns: 64px minmax(0, 1fr); }
}

@media print {
  .site-header { display: none !important; }
  body { background: #fff; }
  .section, .contact { padding-block: 28px; }
  .file, .stop, .friction-list li { break-inside: avoid; }
  .contact, .site-footer { background: #fff; color: #000; }
}

/* Live-site additions, 3 December 2026 */
body { display: flex; flex-direction: column; min-height: 100vh; }
body > main { flex: 1 0 auto; }
.contact-email { margin-top: 18px; font-size: 1.0625rem; color: var(--night-2); }
.contact-email a { color: var(--sheet); text-decoration: underline; text-decoration-color: var(--hi); text-decoration-thickness: 2px; text-underline-offset: 5px; overflow-wrap: anywhere; }
.footer-meta { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 4px 24px; padding-top: 14px; border-top: 1px solid #3d3e39; font-size: .875rem; }
.footer-meta a { color: var(--sheet); text-underline-offset: 4px; }
.page { padding-block: clamp(48px, 7vw, 96px); }
.page .wrap > * { max-width: 40rem; }
.page h1 { font-size: clamp(2.25rem, 1.2rem + 3.6vw, 3.75rem); }
.page h2 { margin-top: 40px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.page p, .page ul { margin-top: 16px; }
.page .label { margin-bottom: 16px; }
.page ul { padding-left: 1.2em; list-style: disc; }
.page a:not(.btn) { color: var(--pen); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.page .actions { margin-top: 32px; }

/* Shared, optional motion pass. Printed content is visible without JavaScript. */
:root{--motion-pen:var(--pen);--motion-yellow:var(--hi);--motion-ease:cubic-bezier(.16,1,.3,1)}
.motion-tools{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}
.motion-replay{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 13px;border:1px solid var(--motion-pen);border-radius:2px;background:transparent;color:var(--motion-pen);font:inherit;font-size:14px;font-weight:600;line-height:1.3;cursor:pointer}
.motion-replay svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
.motion-replay:hover{background:rgba(35,55,182,.05)}
.motion-replay:focus-visible{outline:3px solid var(--motion-pen);outline-offset:4px}
.motion-highlight{background-repeat:no-repeat!important;background-size:100% 100%;background-position:0 50%}
.motion-focal .tick path,.motion-focal .pen-tick path,.motion-focal .ring path,.motion-focal .pen-note{animation:none!important}
.motion-focal .tick path,.motion-focal .pen-tick path,.motion-focal .ring path{stroke-dashoffset:0}
dialog[open],.contact-notice:not([hidden]){animation:none!important}
html.motion-off,html.motion-off *,html.motion-off *::before,html.motion-off *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(prefers-reduced-motion:no-preference){
  html{scroll-behavior:smooth}
  .motion-replay{transition:background-color 130ms ease-out,color 130ms ease-out}
  .motion-replay:hover svg{transform:rotate(-18deg);transition:transform 180ms var(--motion-ease)}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important}
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
@media(max-width:600px){.motion-tools{justify-content:flex-start}.motion-replay{max-width:100%}}
