/* site.css, Simple Ideas
   One stylesheet for every page (home and AI, Greek and English), so the languages
   cannot drift apart. Colours come from the logo (assets/brand/logo.svg): its blue
   #0079B4, its red square #DD1F26 (small marks only) and its greys. Type is Commissioner,
   designed with Greek as a first-class script (chosen over IBM Plex Sans from a six-font Greek
   comparison, 2026-10-22); IBM Plex Mono has no Greek, so it is kept to Latin-only strings such
   as file names. Layout language from the AI page variant F
   (sandbox/ai-services-page, 2026-10-22). */

/* Fonts are served from this site, never from Google: loading them from fonts.googleapis.com
   sends each visitor's IP to Google before any consent (LG Muenchen I, 2022). Commissioner is
   a variable font, one file per script for weights 400 to 700; Cyrillic and Vietnamese are
   left out. Both families are under the SIL Open Font License 1.1 (assets/fonts/OFL.txt). */
/* greek */
@font-face {
  font-family: 'Commissioner'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/commissioner-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Commissioner'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/commissioner-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Commissioner'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/commissioner-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/ibm-plex-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/ibm-plex-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #FFFFFF;
  --surface: #F3F7FB;
  --ink: #0E1B2B;
  --muted: #5B6472;
  --line: #DDE4EC;
  --brand: #0079B4;        /* logo blue: buttons, marks, large text (4.78:1 on white) */
  --brand-text: #006CA1;   /* the same blue deepened for small text on --surface */
  --brand-dark: #005A87;   /* hover */
  --dot: #DD1F26;          /* logo red square: bullets and one detail per section, never text */
  --win: #0E1B2B;
  --win-ink: #E8EEF5;
  --win-muted: #8D9AAB;
  --bubble: #1C2D42;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 18px/1.6 'Commissioner', 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--brand); outline-offset: 2px;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 88px; }
.logo { display: block; flex: none; }
.logo img { display: block; height: 64px; width: auto; margin-left: -6px; }
.nav { display: flex; gap: 24px; margin-left: auto; font-size: 16px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--ink); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand-text); }
.nav a.nav-ai { color: var(--brand-text); font-weight: 600; }
.nav-toggle { display: none; }
.lang { display: flex; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.lang a { text-decoration: none; color: var(--muted); }
.lang [aria-current] { color: var(--ink); }

/* Buttons and links */
.btn {
  display: inline-block; background: var(--brand); color: #fff; text-decoration: none;
  font: 600 16px/1 'Commissioner', sans-serif; padding: 15px 24px; border-radius: 6px; border: 0; cursor: pointer;
}
.btn:hover { background: var(--brand-dark); }
.btn-small { padding: 11px 16px; font-size: 15px; }
.link { color: var(--brand-text); font-weight: 500; text-underline-offset: 4px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; padding: 80px 0 96px; }
.hello { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; font-size: 20px; font-weight: 500; color: var(--brand-text); }
.hello img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--brand); }
h1 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; margin: 0 0 24px; }
.sub { font-size: 20px; color: var(--muted); margin: 0 0 32px; max-width: 30em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.figure-note { font-size: 13px; color: var(--muted); margin: 10px 2px 0; text-align: right; }

/* AI window: a request types itself in, the answer builds line by line (site.js) */
.ai-window { background: var(--win); color: var(--win-ink); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(10, 20, 40, .45); }
.win-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.08); font: 500 13px/1 'Commissioner', sans-serif; color: var(--win-muted); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.win-bar i:first-child { background: var(--dot); }
.win-bar span { margin-left: 8px; }
.ai-body { padding: 22px; min-height: 410px; display: flex; flex-direction: column; gap: 14px; }
.me { align-self: flex-end; max-width: 88%; background: var(--bubble); border-radius: 14px 14px 4px 14px; padding: 14px 16px; font-size: 15px; line-height: 1.5; }
.file { display: inline-block; margin-top: 10px; font: 500 12px/1 'IBM Plex Mono', monospace; color: var(--win-muted); border: 1px solid rgba(255,255,255,.14); border-radius: 4px; padding: 6px 8px; }
.caret { display: inline-block; width: 2px; height: 1em; background: var(--brand); vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
.thinking { display: flex; gap: 6px; padding: 6px 4px; }
.thinking b { width: 7px; height: 7px; border-radius: 1px; background: var(--brand); animation: pulse 1s infinite ease-in-out; }
.thinking b:nth-child(2) { animation-delay: .15s; } .thinking b:nth-child(3) { animation-delay: .3s; background: var(--dot); }
.bot { max-width: 92%; background: #fff; color: var(--ink); border-radius: 14px 14px 14px 4px; padding: 14px 16px; font-size: 15px; line-height: 1.5; }
.bot ul { list-style: none; margin: 8px 0 0; padding: 0; }
.bot li { display: flex; gap: 10px; padding: 7px 0; border-top: 1px solid rgba(0,0,0,.08); }
.bot li::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 4px; border-radius: 3px; border: 2px solid var(--brand); }
.bot .who { font-weight: 600; }
.bot .follow { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.hide { display: none !important; }
.pop { animation: pop .35s ease-out both; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Sections */
section.part { padding: 88px 0; border-top: 1px solid var(--line); }
section.part.tint { background: var(--surface); border-top: 0; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; margin: 0 0 12px; }
.lead { color: var(--muted); font-size: 19px; margin: 0 0 40px; max-width: 34em; }

/* Before/after example */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.pane { border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.pane.good { background: var(--surface); border-color: var(--brand); }
.tag { display: inline-block; font-size: 14px; font-weight: 600; margin-bottom: 14px; color: var(--muted); }
.pane.good .tag { color: var(--brand-text); }
.ask { font-weight: 600; margin: 0 0 14px; font-size: 16px; }
.answer { margin: 0; font-size: 16px; padding: 16px; border-radius: 6px; background: var(--surface); color: var(--muted); }
.pane.good .answer { background: var(--bg); color: var(--ink); }
.note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.blank { border-bottom: 2px dotted var(--dot); }
/* Rotating tips (site.js): every tip but one carries [hidden]; without JS the first shows.
   Nick's own words, so no quotation marks and no attribution. */
/* Quote statement (variant A of four, sandbox/ai-services-page/quote-variants): one large line at a
   time on deep ink, slow crossfade, prev/next and a counter (site.js). Without JS (.stage lacks
   .ready) every line shows, stacked; site.js sizes the stage to the tallest line. */
.quote-statement { background: var(--ink); color: #fff; padding: 88px 0 72px; }
.quote-statement + section.part { border-top: 0; }
.quote-statement .mark { display: block; width: 18px; height: 18px; background: var(--dot); margin-bottom: 28px; }
.quote-statement .stage { position: relative; max-width: 920px; }
.quote-statement .st { margin: 0 0 18px; font-size: clamp(28px, 4.4vw, 52px); line-height: 1.18; font-weight: 600; letter-spacing: -0.02em; }
.quote-statement .stage.ready .st { position: absolute; inset: 0 0 auto 0; margin: 0; opacity: 0; }
/* The fade switches on only after the first line is set, so the stacked fallback never fades out on load */
.quote-statement .stage.fade .st { transition: opacity 1.2s ease; }
.quote-statement .stage.ready .st.on { opacity: 1; }
.quote-statement .qbar { display: none; align-items: center; gap: 14px; margin-top: 28px; color: #A9B6C6; font-size: 15px; }
.quote-statement .stage.ready + .qbar { display: flex; }
.qctrl { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid currentColor; background: transparent; color: inherit; cursor: pointer; font: 600 18px/1 'Commissioner', sans-serif; }
.qctrl:hover { color: #fff; }
.qcount { min-width: 48px; }

/* Three levels: one diagram per level; the person's steps carry the brand stroke */
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.level { border: 1px solid var(--line); border-radius: 12px; padding: 24px; background: var(--bg); }
.level .step { font: 600 14px/1 'Commissioner', sans-serif; color: var(--brand-text); }
.level h3 { margin: 10px 0 6px; font-size: 22px; font-weight: 700; }
.level p { margin: 0 0 18px; color: var(--muted); font-size: 16px; }
.level svg { display: block; width: 100%; height: auto; }
.level svg rect { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.level svg rect.you { stroke: var(--brand); stroke-width: 2.5; }
.level svg text { fill: var(--ink); font: 500 15px 'Commissioner', sans-serif; }
.level svg .flow { fill: none; stroke: var(--brand); stroke-width: 2; stroke-dasharray: 5 6; animation: flow 1.2s linear infinite; }
.level svg .head { fill: var(--brand); }
@keyframes flow { to { stroke-dashoffset: -22; } }
.key { margin: 20px 0 0; font-size: 16px; color: var(--ink); display: flex; align-items: center; gap: 12px; }
.key i { width: 30px; height: 20px; border: 2.5px solid var(--brand); border-radius: 4px; }

/* Rows: offers and services, plain text with a rule between */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: 300px 1fr; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.rows li:last-child { border-bottom: 0; }
.rows h3 { margin: 0; font-size: 22px; font-weight: 700; }
.rows .who { display: block; font-size: 15px; font-weight: 500; color: var(--brand-text); margin-top: 4px; }
.rows p { margin: 0; }
.rows .more { display: inline-block; margin-top: 10px; }

/* AI path as a journey: one route, four stops (Strategy, Architecture, Training, Build), each with
   a drawing of what the team receives. A red marker travels the route (stopped under reduced
   motion). Column centres in a 4-column grid with 24px gaps: (100% - 72px) / 8 + k * ((100% - 72px) / 4 + 24px).
   Chosen from five sandbox variants, 2026-10-22 (sandbox/ai-services-page/path-variants). */
.route { list-style: none; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(5, auto); column-gap: 24px; margin: 8px 0 0; }
.route::before { content: ""; position: absolute; left: calc((100% - 72px) / 8); right: calc((100% - 72px) / 8); top: 141px; border-top: 3px dashed #B9CFE0; }
.route::after { content: ""; position: absolute; top: 136px; left: calc((100% - 72px) / 8 - 7px); width: 15px; height: 15px; border-radius: 3px; background: var(--dot); animation: route-run 9s ease-in-out infinite; }
@keyframes route-run {
  0%, 8% { left: calc((100% - 72px) / 8 - 7px); }
  25%, 33% { left: calc((100% - 72px) * 3 / 8 + 24px - 7px); }
  50%, 58% { left: calc((100% - 72px) * 5 / 8 + 48px - 7px); }
  75%, 92% { left: calc((100% - 72px) * 7 / 8 + 72px - 7px); }
  100% { left: calc((100% - 72px) / 8 - 7px); }
}
/* Each stop spans the five shared rows (drawing, number, title, text, "you get"), so the rows line up across all four */
.stop { position: relative; text-align: center; display: grid; grid-row: span 5; grid-template-rows: subgrid; }
.stop .art { height: 120px; display: flex; align-items: flex-end; justify-content: center; }
.stop .art svg { width: 150px; height: 112px; }
.stop .pin { width: 34px; height: 34px; margin: 6px auto 18px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); color: var(--brand-text); font-weight: 700; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.stop h3 { margin: 0 0 6px; font-size: 22px; }
.stop p { margin: 0 auto 12px; font-size: 15.5px; color: var(--muted); max-width: 250px; }
.stop .get { align-self: start; color: var(--ink); font-weight: 500; padding-top: 10px; border-top: 1px solid var(--line); }
.stop .get span { display: block; font-size: 14px; font-weight: 600; color: var(--brand-text); }
/* Home page process: a plain chain, ringed numbers on one solid line with the step names
   alternating above and below (sandbox path-variants/e-chain.html). Kept unlike the AI
   page's illustrated route on purpose, so the two pages do not repeat one picture. */
.chain { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; }
.chain::before { content: ""; position: absolute; left: calc((100% - 84px) / 8); right: calc((100% - 84px) / 8); top: 132px; height: 4px; margin-top: -2px; background: var(--brand); }
.chain li { position: relative; display: grid; grid-template-rows: 80px 104px 80px auto; justify-items: center; text-align: center; }
.chain .node { grid-row: 2; align-self: center; width: 88px; height: 88px; border-radius: 50%; border: 7px solid var(--brand); background: #fff; color: var(--ink); font-size: 30px; font-weight: 700; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.chain h3 { grid-row: 1; align-self: end; margin: 0; padding-bottom: 10px; border-bottom: 2px dotted var(--muted); font-size: 20px; }
.chain li:nth-child(even) h3 { grid-row: 3; align-self: start; padding: 10px 0 0; border-bottom: 0; border-top: 2px dotted var(--muted); }
.chain p { grid-row: 4; margin: 16px 0 0; max-width: 250px; font-size: 15.5px; color: var(--muted); }

/* Drawings in one line style, shared by the route and the service rows */
.route svg .ln, .rows svg .ln { fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; }
.route svg .fl, .rows svg .fl { fill: #E6F0F8; stroke: var(--brand); stroke-width: 2; }
.route svg .mk, .rows svg .mk { fill: var(--dot); }
.rows .row-art { display: block; margin-bottom: 12px; }
.rows .row-art svg { display: block; width: 84px; height: 63px; }
/* "Sometimes AI isn't the answer" is a promise, so it reads as a statement, not a footnote */
.path-note { margin: 44px auto 0; max-width: 36em; text-align: center; font-size: 20px; font-weight: 600; line-height: 1.45; color: var(--ink); }

/* Dark contact section on the home pages: the ink of the AI page's quote band. The form
   card stays white so it reads as the thing to fill in. Light text is 9:1 or more on ink. */
section.part.dark { background: var(--ink); color: #fff; border-top: 0; }
.dark .lead, .dark .points { color: #B8C4D3; }
.dark .points a { color: #fff; }
.dark .card { background: #fff; color: var(--ink); }

/* Mid-page call to action: one line and one button on the logo blue, so a reader never has
   to scroll back to the hero or down to the form to act. White on --brand is 4.78:1. */
.cta-band { background: var(--brand); color: #fff; padding: 44px 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.cta-band p { margin: 0; flex: 1 1 420px; max-width: 36em; font-size: 21px; font-weight: 600; line-height: 1.4; }
.cta-band .btn { background: #fff; color: var(--brand-text); }
.cta-band .btn:hover { background: var(--surface); }
.cta-band + section.part { border-top: 0; }
.cta-row.center { justify-content: center; margin-top: 36px; }

/* Portfolio */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-grid a { text-decoration: none; display: block; }
.work-grid img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 8px; border: 1px solid var(--line); }
.work-grid span { display: block; margin-top: 10px; font-size: 15px; font-weight: 500; }
.work-grid a:hover span { color: var(--brand-text); }


/* About */
.about { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.about img { width: 260px; height: 310px; object-fit: cover; object-position: top; border-radius: 12px; }
.about p { margin: 0 0 16px; max-width: 36em; }
.about .role { color: var(--brand-text); font-weight: 500; margin-bottom: 20px; }

/* FAQ: native disclosure, no script */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 24px; font-weight: 400; color: var(--brand); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.points { list-style: none; padding: 0; margin: 24px 0 0; color: var(--muted); }
.points li { padding: 6px 0 6px 22px; position: relative; }
.points li::before { content: ""; position: absolute; left: 0; top: 15px; width: 8px; height: 8px; background: var(--dot); }
.card { background: var(--surface); border-radius: 12px; padding: 32px; }
.tint .card { background: var(--bg); }
form { display: grid; gap: 16px; }
label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; color: var(--ink); background: #fff;
  border: 1px solid #C9D2DC; border-radius: 6px;
}
.card .btn { width: 100%; }
.small { font-size: 14px; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; }
.form-success { display: none; font-size: 19px; font-weight: 600; margin: 0; }

/* Legal pages (privacy policy): one readable column of text in the site's type */
.legal { max-width: 800px; padding-top: 64px; padding-bottom: 88px; }
.legal h1 { margin: 0 0 8px; }
.legal .updated { margin: 0 0 48px; font-size: 15px; color: var(--muted); }
.legal section { margin: 0 0 40px; }
.legal h2 { margin: 0 0 12px; font-size: 22px; }
.legal p, .legal li { color: #3A4452; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 12px 0; padding-left: 24px; }
.legal li { margin: 0 0 8px; }
.legal a { color: var(--brand-text); }
.legal .table-scroll { overflow-x: auto; margin: 16px 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; border: 1px solid var(--line); }
.legal th { text-align: left; background: var(--surface); font-weight: 600; }
.legal th, .legal td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal .mono { font: 500 13px/1.4 'IBM Plex Mono', monospace; white-space: nowrap; }

/* Footer */
/* Dark like the contact section above it, so the page ends in one ink band. The logo turns
   white there: its blue on ink is too faint. Light grey text is 9:1 on ink. */
.site-footer { background: var(--ink); border-top: 1px solid rgba(255, 255, 255, .08); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: #B8C4D3; }
.site-footer img { height: 48px; width: auto; display: block; filter: brightness(0) invert(1); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: #B8C4D3; }
.site-footer a:hover, .site-footer a[aria-current="page"] { color: #fff; }

/* Cookie banner */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 720px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; box-shadow: 0 12px 40px rgba(10,20,40,.18); font-size: 15px; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; flex: 1 1 260px; }
.cookie-banner .btn-ghost { background: transparent; color: var(--brand-text); border: 2px solid var(--brand); }
.cookie-banner .btn-ghost:hover { background: var(--surface); }

/* Home hero (variant B3 from sandbox/home-hero-variants, 2026-10-22): the May site's blue band
   with a drifting grid and a wave, an outlined "20+" on the left and the text beside it. The blue
   is --brand-text, not the logo blue: white text on it is 5.74:1, the logo blue gives 4.78:1 and
   drops under 4.5:1 where a grid line crosses small text. */
.hero-blue { position: relative; overflow: hidden; background: var(--brand-text); color: #fff; }
.hero-blue .grid-bg { position: absolute; left: 0; right: 0; top: -50%; height: 200%; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 80px 80px; animation: grid-drift 8s linear infinite; }
.hero-blue .vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 50%, transparent 40%, var(--brand-text) 100%); }
@keyframes grid-drift { from { transform: translateY(0); } to { transform: translateY(-80px); } }
.hero-blue .inner { position: relative; max-width: 1120px; margin: 0 auto; padding: 96px 32px 148px; display: grid; grid-template-columns: auto 1fr; gap: 64px; align-items: center; }
.hero-blue h1 { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 22px; }
.hero-blue .sub { color: #fff; font-size: 20px; max-width: 30em; margin: 0 0 36px; }
.hero-blue .ctas { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-blue .btn { padding: 17px 30px; }
.hero-blue .btn-white { background: #fff; color: var(--brand-text); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .4); }
.hero-blue .btn-white:hover { background: var(--surface); }
.hero-blue .btn-line { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.hero-blue .btn-line:hover { background: #fff; color: var(--brand-text); }
.hero-blue .years { margin: 0; }
.hero-blue .num { display: block; font-size: clamp(120px, 19vw, 240px); font-weight: 700; line-height: .82; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 2.5px #fff; }
.hero-blue .yrs { display: block; margin-top: 18px; font-size: 20px; font-weight: 600; line-height: 1.3; }
.hero-blue .wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 64px; display: block; }
.hero-blue + section.part { border-top: 0; }

/* Motion. Hidden states apply only under .motion, which site.js sets when animation is
   allowed; the reduced-motion rule at the end of this file switches all of it off. */
.motion .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.motion .reveal.in { opacity: 1; transform: none; }
.motion .chain::before { transform: scaleX(0); transform-origin: left center; transition: transform 1.4s cubic-bezier(.6, 0, .2, 1) .3s; }
.motion .chain.in::before { transform: scaleX(1); }
.btn { transition: background .2s, transform .2s, box-shadow .2s; }
.btn:hover, .motion .btn.in:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(0, 90, 135, .55); }
.work-grid img { transition: transform .35s, box-shadow .35s; }
.work-grid a:hover img { transform: translateY(-4px); box-shadow: 0 18px 30px -18px rgba(10, 20, 40, .45); }
.level { transition: transform .3s, box-shadow .3s, border-color .3s; }
.level:hover, .motion .level.in:hover { transform: translateY(-4px); box-shadow: 0 20px 36px -24px rgba(10, 20, 40, .35); border-color: #C9D9E8; }
.rows .row-art svg { transition: transform .35s; }
.rows li:hover .row-art svg { transform: translateX(6px); }
.chain .node { transition: background .25s, color .25s, transform .25s; }
.chain li:hover .node { background: var(--brand); color: #fff; transform: scale(1.06); }

@media (max-width: 900px) {
  /* Phone menu: the nav becomes a panel under the sticky header, opened by .nav-toggle (site.js) */
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 4px 16px 12px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px -20px rgba(10, 20, 40, .35); }
  .site-header.menu-open .nav { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav a:last-child { border-bottom: 0; }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; flex: none; width: 44px; height: 44px; padding: 0 11px; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; }
  .nav-toggle span { display: block; height: 2px; border-radius: 1px; background: var(--ink); transition: transform .2s, opacity .2s; }
  .menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .lang { margin-left: auto; }
}
@media (max-width: 860px) {
  .wrap { padding: 0 16px; }
  .site-header .wrap { gap: 14px; height: 72px; }
  .logo img { height: 52px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 64px; }
  .ai-body { min-height: 380px; padding: 16px; }
  section.part { padding: 56px 0; }
  .pair, .rows li, .contact-grid, .levels, .about { grid-template-columns: 1fr; }
  .route { grid-template-columns: 1fr; grid-template-rows: none; gap: 28px; }
  .route::before { left: 17px; right: auto; top: 20px; bottom: 20px; border-top: 0; border-left: 3px dashed #B9CFE0; }
  .route::after { display: none; }
  .stop { text-align: left; grid-row: auto; grid-template-rows: none; grid-template-columns: 34px 1fr; column-gap: 16px; }
  .stop .art { display: none; }
  .stop .pin { grid-row: 1 / span 3; margin: 0; }
  .chain { grid-template-columns: 1fr; gap: 24px; }
  .chain::before { display: none; }
  .chain li { grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 16px; justify-items: start; text-align: left; }
  .chain li:not(:last-child)::after { content: ""; position: absolute; left: 26px; top: 56px; bottom: -24px; width: 4px; background: var(--brand); }
  .chain .node { grid-row: 1 / span 2; grid-column: 1; align-self: start; width: 56px; height: 56px; border-width: 5px; font-size: 20px; }
  .chain h3, .chain li:nth-child(even) h3 { grid-row: 1; grid-column: 2; align-self: center; padding: 14px 0 0; border: 0; }
  .chain p { grid-row: 2; grid-column: 2; margin: 4px 0 0; max-width: none; }
  .stop p { margin-left: 0; max-width: none; }
  .rows li { gap: 8px; }
  .work-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .about { gap: 24px; }
  .about img { width: 180px; height: 215px; }
  .contact-grid { gap: 32px; }
  .card { padding: 22px; }
  .quote-statement { padding: 56px 0 48px; }
  .hero-blue .inner { grid-template-columns: 1fr; gap: 28px; padding: 48px 16px 96px; }
  .hero-blue .years { display: flex; align-items: flex-end; gap: 14px; }
  .hero-blue .num { font-size: 104px; }
  .hero-blue .yrs { margin: 0 0 4px; font-size: 17px; }
  .hero-blue .sub { font-size: 18px; }
  .hero-blue .ctas { flex-direction: column; align-items: stretch; }
  .hero-blue .btn { text-align: center; }
  .hero-blue .wave { height: 40px; }
  .cta-band { padding: 36px 0; }
  .cta-band p { flex-basis: 100%; font-size: 19px; }
}
@media (max-width: 480px) {
  .work-grid { grid-template-columns: 1fr; }
  .site-header .btn-small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
