/* Grid and Glint - the studio's stylesheet.
 *
 * Lifted out of index.html so the reference page and the Webflow build share
 * one copy. Pair it with the Google Fonts link:
 *
 *   <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Anonymous+Pro:ital,wght@0,400;0,700;1,400&family=Big+Shoulders+Display:wght@700;900&display=swap">
 *
 * Thunder, the brand display face, is not licensed for web use yet; headings
 * fall back to Big Shoulders Display until its font files are added.
 */

/* Layout: a visible four-track grid with + crosshairs; flat solid UI; depth only in the two WebGL moments (glass mark, glass lens). */
:root {
  --ink: #1a1a1a; --ink-deep: #121212; --ink-panel: #212121; --ink-raise: #2b2b2b; --ink-hover: #242424;
  --graphite: #3f3f3f; --ash-400: #999999; --ash-300: #b8b8b8; --snow: #f7f7f7;
  --mint: #a8ffd4; --mint-hi: #e3fff1; --seafoam: #76efb8; --forest: #0f3f33; --forest-hi: #1b5a49; --forest-lo: #0a2e25;
  --lime: #d7ff57; --lime-dk: #4d6600; --coral: #ff6f61; --coral-dk: #b3261e;

  --bg: var(--ink); --bg-panel: var(--ink-panel); --bg-sunken: var(--ink-deep); --bg-control: var(--ink-raise); --bg-hover: var(--ink-hover);
  --fg: var(--snow); --fg-2: var(--ash-300); --fg-3: var(--ash-400);
  --accent: var(--mint); --on-accent: var(--ink); --accent-hover: var(--seafoam); --accent-text: var(--mint);
  --data: var(--lime); --rule-grid: #262626; --rule: var(--graphite); --rule-strong: var(--ash-400); --cross: #4a4a4a;
  --feature: var(--forest); --on-feature: var(--mint);
  --glass-shade: var(--forest-lo);
  --overlay: 0 2px 2px #00000099, 0 6px 14px -4px #00000073, 0 16px 32px -14px #00000059, 0 1px 0 #000000b3;

  --f-display: "Thunder", "Big Shoulders Display", "Arial Narrow", sans-serif;
  --f-mono: "Anonymous Pro", ui-monospace, "SF Mono", Menlo, monospace;
  /* 64px of bar content plus its 1px bottom rule; the hero subtracts the total */
  --bar-h: 65px;
  --pitch: 32px; --cross-size: 10px; --r-xs: 3px; --r-sm: 6px; --r-md: 12px; --r-lg: 16px;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) {
  --bg: var(--snow); --bg-panel: #ffffff; --bg-sunken: #e9e9e9; --bg-control: #ffffff; --bg-hover: #e9e9e9;
  --fg: var(--ink); --fg-2: var(--graphite); --fg-3: #636363;
  --accent: var(--forest); --on-accent: var(--mint); --accent-hover: var(--forest-hi); --accent-text: var(--forest);
  --data: var(--lime-dk); --rule-grid: #e6e6e6; --rule: #d6d6d6; --rule-strong: #636363; --cross: #c4c4c4;
  --glass-shade: var(--forest);
  --overlay: 0 2px 2px #1a1a1a17, 0 6px 14px -4px #1a1a1a1f, 0 16px 32px -14px #1a1a1a24, 0 1px 0 #1a1a1a1f;
  color-scheme: light;
} }
:root[data-theme="light"] {
  --bg: var(--snow); --bg-panel: #ffffff; --bg-sunken: #e9e9e9; --bg-control: #ffffff; --bg-hover: #e9e9e9;
  --fg: var(--ink); --fg-2: var(--graphite); --fg-3: #636363;
  --accent: var(--forest); --on-accent: var(--mint); --accent-hover: var(--forest-hi); --accent-text: var(--forest);
  --data: var(--lime-dk); --rule-grid: #e6e6e6; --rule: #d6d6d6; --rule-strong: #636363; --cross: #c4c4c4;
  --glass-shade: var(--forest);
  --overlay: 0 2px 2px #1a1a1a17, 0 6px 14px -4px #1a1a1a1f, 0 16px 32px -14px #1a1a1a24, 0 1px 0 #1a1a1a1f;
  color-scheme: light;
}

* , *::before, *::after { box-sizing: border-box; }
/* No scroll-behavior: smooth. In-page links ease in script (glint-ui.js here,
   webflow.js with data-scroll-time on Webflow); the CSS one stacked on
   webflow.js's animation and made every nav jump take over three seconds. */
html { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--f-mono); font-size: 16px; line-height: 1.625; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--mint); color: var(--ink); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }

.wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.inner { max-width: 1440px; margin: 0 auto; padding-inline: clamp(0px, 3vw, 32px); }
.lbl { font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }
.lbl.a { color: var(--accent-text); }
.data { font-variant-numeric: tabular-nums; color: var(--data); }
.disp { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; line-height: 0.86; letter-spacing: 0; }

/* ---------- the page grid: four tracks, drawn on load ---------- */
.tracks { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.tracks .wrap, .tracks .inner { height: 100%; }
.tracks .inner { position: relative; }
.tracks i { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--rule-grid); transform-origin: top; animation: draw 1.2s var(--ease) both; }
.tracks i:nth-child(1) { left: 25%; animation-delay: 0.05s; } .tracks i:nth-child(2) { left: 50%; animation-delay: 0.15s; } .tracks i:nth-child(3) { left: 75%; animation-delay: 0.25s; }
@keyframes draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }
main, header, footer { position: relative; z-index: 1; }

.x { position: absolute; width: var(--cross-size); height: var(--cross-size); transform: translate(-50%, -50%); pointer-events: none; animation: pop 0.6s var(--ease) both; animation-delay: 0.6s; }
.x::before, .x::after { content: ""; position: absolute; background: var(--cross); }
.x::before { left: 50%; top: 0; width: 1px; height: 100%; }
.x::after { top: 50%; left: 0; height: 1px; width: 100%; }
@keyframes pop { from { transform: translate(-50%, -50%) scale(0) rotate(-90deg); } to { transform: translate(-50%, -50%) scale(1); } }
.xs { position: absolute; left: 0; right: 0; top: 0; height: 0; }
.xs .x:nth-child(1) { left: 25%; } .xs .x:nth-child(2) { left: 50%; } .xs .x:nth-child(3) { left: 75%; }

/* ---------- top bar ---------- */
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--rule-grid); }
.bar .inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: calc(var(--bar-h) - 1px); }
.logo { display: flex; align-items: center; gap: 10px; color: var(--mint); }
:root[data-theme="light"] .logo { color: var(--ink); }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .logo { color: var(--ink); } }
.logo svg { display: block; height: 18px; width: auto; fill: currentColor; }
.logo .mk { height: 22px; width: 22px; }
.nav { display: flex; gap: clamp(14px, 2.4vw, 32px); align-items: center; font-size: 13px; letter-spacing: 0.06em; }
.nav a, .nav button { background: none; border: 0; padding: 4px 0; cursor: pointer; }
.nav a:hover, .nav button:hover { color: var(--accent-text); }
.nav .k { color: var(--fg-3); }
/* ---------- menu for mobile and tablet ----------
   Two hairlines rather than three bars, because the whole page is drawn in 1px
   rules. They cross into an X on open. Each item rises from behind its own
   clip, staggered, the same move the headline makes — and it plays in reverse
   on close, which is why this needs a button and script rather than :target. */
.burger { display: none; position: relative; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; padding: 0; cursor: pointer; z-index: 40; }
.burger i { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--fg); transition: transform 340ms var(--ease), background-color 200ms var(--ease); }
.burger i:nth-child(1) { top: 20px; }
.burger i:nth-child(2) { top: 26px; }
/* keyed on the class, not on aria-expanded alone: Webflow's interactions can
   toggle a class but cannot write an attribute, and the look has to come from
   this one stylesheet in both builds. The attribute still carries the state to
   a screen reader. */
.burger.open i:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.burger.open i:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* Under the bar, not over it: the bar is a sticky stacking context at z-index
   20, so an overlay above it would bury its own close button. Sitting at 15
   leaves the logo and the X in place and the panel reads as the page opening
   downwards rather than a sheet thrown over it. */
.menu { position: fixed; inset: 0; z-index: 15; background: var(--bg); display: flex; flex-direction: column; justify-content: center; padding: calc(var(--bar-h) + 24px) max(16px, env(safe-area-inset-left, 0px)) 40px; visibility: hidden; opacity: 0; transition: opacity 300ms var(--ease), visibility 0s linear 300ms; }
.menu.open { visibility: visible; opacity: 1; transition: opacity 240ms var(--ease), visibility 0s; }
.menu .tracks { z-index: 0; }
.menu > a { position: relative; display: block; overflow: hidden; padding-block: 2px; }
.menu > a > span { display: block; font-family: var(--f-display); font-weight: 900; font-size: clamp(38px, 10vw, 76px); line-height: 1.04; text-transform: uppercase; transform: translateY(110%); transition: transform 460ms var(--ease), color 160ms var(--ease); }
.menu.open > a > span { transform: none; }
.menu > a:nth-of-type(1) > span { transition-delay: 40ms; }
.menu > a:nth-of-type(2) > span { transition-delay: 80ms; }
.menu > a:nth-of-type(3) > span { transition-delay: 120ms; }
.menu > a:nth-of-type(4) > span { transition-delay: 160ms; }
.menu > a:nth-of-type(5) > span { transition-delay: 200ms; }
.menu > a:nth-of-type(6) > span { transition-delay: 240ms; }
.menu > a:active > span, .menu > a:hover > span { color: var(--accent-text); }
.menu .menu-foot { position: relative; margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; font-size: 14px; color: var(--fg-2); opacity: 0; transition: opacity 260ms var(--ease) 60ms; }
.menu.open .menu-foot { opacity: 1; transition-delay: 300ms; }
.menu .menu-foot a { text-decoration: underline; text-underline-offset: 4px; }
.menu .menu-foot button { background: none; border: 0; padding: 0; font: inherit; color: inherit; letter-spacing: 0.06em; cursor: pointer; }
.menu .menu-foot button:hover, .menu .menu-foot a:hover { color: var(--accent-text); }

/* the chat launcher floats above the panel; it is not part of the menu */
.menu-open .ask { opacity: 0; pointer-events: none; transition: opacity 160ms var(--ease); }

@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: block; }
}
@media (min-width: 1025px) { .menu { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .menu, .menu.open { transition: none; }
  .menu > a > span, .menu .menu-foot { transition: none; transform: none; opacity: 1; }
}

/* ---------- hero: one full screen, the mark behind, the headline over it ----------
   The mark used to sit in a bordered box between the intro copy and the
   headline, which pushed the headline off the first screen on a phone: you
   landed on paragraphs and a widget. Now the mark is the backdrop and the
   headline is on it, so the page opens on the thing worth looking at.

   100dvh tracks the viewport as mobile browser chrome retracts, which 100vh
   does not; the vh line above it is the fallback where dvh is unsupported.
   The bar is 64px, so subtracting it makes bar + hero exactly one screen. */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: calc(100dvh - var(--bar-h));
  padding-block: 24px 28px;
  border-bottom: 1px solid var(--rule-grid);
}
.hero > .inner { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.hero .xs { z-index: 2; }

/* the mark fills the hero rather than sitting in a box */
/* No background: the canvas is transparent, so the page's grid reads through
   the hero and the mark occludes it. The colour blocks the glass refracts live
   only in the scene texture, which means they appear nowhere on the page
   except seen through the glass. */
.stage { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage .fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.stage .fallback svg { width: min(300px, 40vw); height: auto; fill: var(--mint); }

/* the glass has to fade out under the type, or the headline fights the mark */
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 62%; z-index: 1; pointer-events: none; background: linear-gradient(to top, var(--bg) 18%, transparent); }

.hero .top { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; font-size: 14px; line-height: 22px; }
.hero .top .role { font-size: 20px; line-height: 26px; font-weight: 700; }
.hero .top p { color: var(--fg-2); }

.hero .bottom { display: flex; flex-direction: column; gap: 26px; }
/* Sized against both axes: width alone overflows a short viewport, because three
   lines of display type at 11vw do not fit a landscape phone. Whichever axis is
   the tighter constraint wins, so the hero and its intro stay inside one screen
   at any shape. */
.headline { font-size: clamp(38px, min(11vw, 14vh), 150px); position: relative; }
.headline .ln { display: block; animation: slide 1s var(--ease) both; }
.headline .ln:nth-child(1) { animation-delay: 0.1s; } .headline .ln:nth-child(2) { animation-delay: 0.2s; } .headline .ln:nth-child(3) { animation-delay: 0.3s; }
.headline em { font-style: normal; color: var(--accent-text); }
@keyframes slide { from { transform: translateX(-0.12em); letter-spacing: 0.02em; } to { transform: none; letter-spacing: 0; } }
.hero .foot { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: end; }
.hero .foot p { grid-column: span 2; font-size: 17px; line-height: 27px; max-width: 42ch; color: var(--fg-2); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; grid-column: span 2; justify-content: flex-end; }

/* scroll cue: the whole point of a full-screen hero is that there is more below */
.cue { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); pointer-events: none; }
.cue i { display: block; width: 1px; height: 26px; background: linear-gradient(var(--rule-strong), transparent); transform-origin: top; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0%, 100% { transform: scaleY(0.3); opacity: 0.35; } 50% { transform: scaleY(1); opacity: 1; } }

@media (max-width: 760px) {
  .hero { padding-block: 20px 24px; }
  .hero > .inner { gap: 20px; }
  .hero .top { grid-template-columns: 1fr; gap: 10px; }
  .hero .foot { grid-template-columns: 1fr; gap: 18px; }
  .hero .foot p, .actions { grid-column: 1 / -1; }
  .actions { justify-content: flex-start; }
  .hero::after { height: 70%; }
  .cue { display: none; }
}

/* Short viewports — a landscape phone, or a desktop window dragged flat. The
   headline, the intro line and the buttons are the hero's job; the role and
   tagline above it are the first thing that can go, since the headline already
   says it. Keeps hero + intro inside one screen rather than spilling past it. */
@media (max-height: 700px) {
  .hero { padding-block: 16px 18px; }
  .hero > .inner { gap: 16px; }
  .hero .top { display: none; }
  .hero .bottom { gap: 16px; }
  .hero .foot { gap: 16px; }
  .hero .foot p { font-size: 15px; line-height: 23px; }
  .hero::after { height: 80%; }
  .cue { display: none; }
}

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: var(--r-sm); border: 1px solid transparent; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: background-color 120ms var(--ease), transform 200ms var(--ease); will-change: transform; }
.btn:hover { background: var(--accent-hover); }
.btn.ghost { background: var(--bg-control); color: var(--fg); border-color: var(--rule); }
.btn.ghost:hover { background: var(--bg-hover); border-color: var(--rule-strong); }
.btn .arr { display: inline-block; transition: transform 200ms var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- ticker ---------- */
.ticker { border-bottom: 1px solid var(--rule-grid); overflow: hidden; background: var(--bg); }
.ticker .row { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker:hover .row { animation-play-state: paused; }
.ticker span { display: inline-flex; align-items: center; gap: 28px; padding: 18px 14px; font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 4vw, 48px); line-height: 1; text-transform: uppercase; white-space: nowrap; color: var(--fg); }
.ticker span svg { width: 22px; height: 22px; fill: var(--accent-text); flex: none; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { position: relative; padding-block: clamp(72px, 10vw, 128px); border-bottom: 1px solid var(--rule-grid); }
.sec-head { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-bottom: clamp(40px, 6vw, 64px); align-items: end; }
.sec-head .lbl { grid-column: 1 / 2; }
.sec-head h2 { grid-column: 2 / 5; font-size: clamp(48px, 7vw, 104px); }
.sec-head .sub { grid-column: 2 / 5; margin: -8px 0 0; color: var(--fg-2); font-size: 15px; line-height: 24px; }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; } .sec-head .lbl, .sec-head h2, .sec-head .sub { grid-column: 1 / -1; } }

/* reveal: elements are visible at rest; entering the viewport replays a short settle */
.rv.in { animation: settle 0.8s var(--ease) both; }
@keyframes settle { from { transform: translateY(24px); } to { transform: none; } }

/* manifesto: words light up as you read */
.manifesto .lbl { margin-bottom: 28px; }
.manifesto p { font-size: clamp(26px, 3.6vw, 48px); line-height: 1.28; max-width: 30ch; margin-left: 25%; font-weight: 700; }
.manifesto .w { color: var(--fg-3); transition: color 300ms var(--ease); }
.manifesto .w.on { color: var(--fg); }
.manifesto .w.g.on { color: var(--accent-text); }
@media (max-width: 760px) { .manifesto p { margin-left: 0; } }

/* services */
.svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.svc article { background: var(--bg-panel); border: 1px solid var(--rule); border-radius: var(--r-md); padding: 28px; display: flex; flex-direction: column; gap: 18px; min-width: 0; transition: background-color 160ms var(--ease), border-color 160ms var(--ease); }
.svc article:hover { background: var(--bg-hover); border-color: var(--rule-strong); }
.svc h3 { font-family: var(--f-display); font-weight: 900; font-size: 40px; line-height: 0.9; text-transform: uppercase; }
.svc p { color: var(--fg-2); font-size: 15px; line-height: 24px; }
.svc ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.svc li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.svc li span:last-child { color: var(--fg-3); }
.svc .t { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; }
.svc .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); display: inline-block; margin-right: 8px; animation: blink 2.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
@media (max-width: 1100px) { .svc { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .svc { grid-template-columns: 1fr; } }
/* Bundles: two wide cards under the three services. */
.svc.duo { grid-template-columns: 1fr 1fr; margin-top: 24px; }
.svc.duo b { color: var(--fg); font-weight: 700; }
.svc .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 640px) { .svc.duo { grid-template-columns: 1fr; } }

/* ai */
.ai-top { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-bottom: 56px; }
.ai-top p { grid-column: 2 / 4; font-size: 20px; line-height: 31px; }
.ai-top p + p { grid-column: 2 / 4; font-size: 15px; line-height: 24px; color: var(--fg-2); margin-top: -8px; }
@media (max-width: 760px) { .ai-top { grid-template-columns: 1fr; } .ai-top p, .ai-top p + p { grid-column: 1 / -1; } }
.uses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-bottom: 56px; }
.uses article { border-top: 1px solid var(--rule); padding-top: 18px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.uses h3 { font-size: 20px; line-height: 28px; }
.uses p { color: var(--fg-2); font-size: 14px; line-height: 22px; }
.uses .ex { font-size: 13px; line-height: 20px; color: var(--data); }
@media (max-width: 960px) { .uses { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .uses { grid-template-columns: 1fr; } }
.ai-bottom { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: start; }
.guard { grid-column: 3 / 5; background: var(--feature); color: var(--on-feature); border-radius: var(--r-md); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.guard ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.guard li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; color: var(--snow); font-size: 15px; line-height: 23px; }
.guard li::before { content: "+"; color: var(--mint); font-weight: 700; }
.guard .lbl { color: var(--mint); }
.guard .btn { align-self: flex-start; background: var(--mint); color: var(--ink); }
.guard .btn:hover { background: var(--seafoam); }
/* The left half of .ai-bottom: the pull quote on the homepage, a paragraph in
   the Systems page's Managed AI section. */
.pull { grid-column: 1 / 3; margin: 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(36px, 4.4vw, 64px); line-height: 0.95; text-transform: uppercase; }
.pull-body { grid-column: 1 / 3; margin: 0; font-size: 20px; line-height: 31px; }
@media (max-width: 860px) { .ai-bottom { grid-template-columns: 1fr; } .pull, .pull-body, .guard { grid-column: 1 / -1; } }

/* work */
.work { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tile:nth-child(1) { grid-column: 1 / 8; } .tile:nth-child(2) { grid-column: 8 / 13; margin-top: 96px; }
.tile:nth-child(3) { grid-column: 1 / 6; } .tile:nth-child(4) { grid-column: 6 / 13; margin-top: -48px; }
/* Webflow lists work from the CMS: each tile sits alone in a .w-dyn-item, two
   wrappers deep. Make the wrappers vanish from the grid and key the rhythm off
   the item instead, as the static build keys it off the tile. */
.work > .w-dyn-list, .work .w-dyn-items, .work .w-dyn-item { display: contents; }
.work .w-dyn-empty { display: none; }
.work .w-dyn-item:nth-child(1) > .tile { grid-column: 1 / 8; margin-top: 0; }
.work .w-dyn-item:nth-child(2) > .tile { grid-column: 8 / 13; margin-top: 96px; }
.work .w-dyn-item:nth-child(3) > .tile { grid-column: 1 / 6; margin-top: 0; }
.work .w-dyn-item:nth-child(4) > .tile { grid-column: 6 / 13; margin-top: -48px; }
/* One project alone takes the wide column, without a drop. */
.work > .tile:only-child, .work .w-dyn-item:only-child > .tile { grid-column: 1 / 8; margin-top: 0; }
.plate { position: relative; overflow: hidden; border-radius: var(--r-md); aspect-ratio: 4 / 3; max-width: 100%; display: grid; place-items: center; }
.plate svg.art { width: 46%; height: auto; transition: transform 700ms var(--ease); }
.tile:hover .plate svg.art { transform: rotate(45deg) scale(1.06); }
.plate .scan { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; opacity: 0.5; top: -2px; }
.tile:hover .plate .scan { animation: scan 1.1s var(--ease); }
@keyframes scan { from { top: -2px; } to { top: 100%; } }
.plate .ratio { position: absolute; left: 12px; bottom: 10px; font-size: 10px; letter-spacing: 0.12em; font-weight: 700; opacity: 0.7; }
.p-forest { background: var(--forest); color: var(--mint); } .p-forest svg { fill: var(--mint); }
.p-coral { background: var(--coral); color: var(--ink); } .p-coral svg { fill: var(--ink); }
.p-lime { background: var(--lime); color: var(--ink); } .p-lime svg { fill: var(--forest); }
/* A client's plate is an image from the CMS: the client's colour and logo,
   composed at 4:3. */
.plate-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.tile:hover .plate-img { transform: scale(1.04); }
.tile .name a { color: inherit; }
/* A case study's brand artwork, full width under the hero. */
.case-cover { padding-block: 0; }
.case-cover img { display: block; width: 100%; height: auto; border-radius: var(--r-md); }
.p-ink { background: var(--ink-deep); color: var(--mint); border: 1px solid var(--rule); } .p-ink svg { fill: var(--mint); }
.tile .meta { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; }
.tile .name { margin: 0; font-family: var(--f-display); font-weight: 900; font-size: 36px; line-height: 1; text-transform: uppercase; transition: color 160ms var(--ease); }
.tile:hover .name { color: var(--accent-text); }
.tag { display: inline-block; font-size: 10px; line-height: 14px; font-weight: 700; letter-spacing: 0.12em; padding: 2px 8px; border-radius: var(--r-xs); background: var(--lime); color: var(--ink); }
.tag.hot { background: var(--coral); }
@media (max-width: 760px) { .work { grid-template-columns: 1fr; } .tile:nth-child(n), .work > .tile:only-child, .work .w-dyn-item:nth-child(n) > .tile { grid-column: 1 / -1; margin-top: 0; } }

/* process: a real sequence, so it is numbered */
.proc { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.proc .line { position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--rule); }
.proc .line b { position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
.proc li { list-style: none; position: relative; padding-top: 36px; min-width: 0; }
.proc li::before { content: ""; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 1px solid var(--rule-strong); transition: background-color 300ms var(--ease), border-color 300ms var(--ease); }
.proc li.on::before { background: var(--accent); border-color: var(--accent); }
.proc ol { display: contents; }
.proc .n { font-family: var(--f-display); font-weight: 900; font-size: 64px; line-height: 0.9; color: var(--fg-3); transition: color 300ms var(--ease); }
.proc li.on .n { color: var(--accent-text); }
.proc h3 { font-size: 20px; line-height: 28px; margin: 12px 0 8px; }
.proc p { color: var(--fg-2); font-size: 14px; line-height: 22px; }
.proc .wk { margin-top: 12px; font-size: 13px; }
/* Six stages: one row on a wide screen, then two rows of three, then pairs.
   The line only makes sense across a single row. */
@media (max-width: 1100px) { .proc { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; } .proc .line { display: none; } }
@media (max-width: 860px) { .proc { grid-template-columns: 1fr 1fr; } }

/* placeholders for real E-E-A-T details */
.fill { display: inline-block; border: 1px dashed var(--rule-strong); border-radius: var(--r-xs); padding: 0 6px; font-size: 0.78em; font-weight: 700; letter-spacing: 0.08em; color: var(--fg-3); text-transform: uppercase; line-height: 1.6; }
.proof { border-bottom: 1px solid var(--rule-grid); padding-block: 24px; }
.proof .inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: space-between; }
.logos { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; flex-wrap: wrap; }
.logos .fill { padding: 10px 18px; }
.logos { align-items: center; }
.clogo { display: block; line-height: 0; }
.clogo img { height: 56px; width: auto; display: block; }
.more { display: inline-flex; gap: 6px; font-size: 13px; font-weight: 700; color: var(--accent-text); text-decoration: underline; text-underline-offset: 4px; }
.res { grid-column: 1 / -1; font-size: 13px; color: var(--fg-2); }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.quotes figure { margin: 0; background: var(--bg-panel); border: 1px solid var(--rule); border-radius: var(--r-md); padding: 24px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.quotes blockquote { margin: 0; padding: 0; border: 0; font-size: 18px; line-height: 28px; }
.quotes figcaption { margin: 0; text-align: left; font-size: 13px; color: var(--fg-2); }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 40px; }
.person { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.person .photo { aspect-ratio: 4 / 5; max-width: 100%; background: var(--bg-sunken); border: 1px solid var(--rule); border-radius: var(--r-md); display: flex; align-items: flex-end; padding: 12px; }
.person h3 { font-size: 22px; line-height: 30px; }
.person .role2 { font-size: 14px; color: var(--accent-text); font-weight: 700; }
.person p { font-size: 14px; line-height: 22px; color: var(--fg-2); }
@media (max-width: 860px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .team { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-block: 20px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-bottom: 48px; }
.facts div { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; font-size: 15px; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } }
.faq { border-top: 1px solid var(--rule); max-width: 1040px; margin-left: 25%; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 24px; gap: 16px; padding: 20px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: clamp(18px, 2vw, 22px); line-height: 1.35; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--accent-text); transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover h3 { color: var(--accent-text); }
.faq .ans { padding: 0 48px 24px 0; color: var(--fg-2); max-width: 68ch; }
@media (max-width: 760px) { .faq { margin-left: 0; } .faq .ans { padding-right: 0; } }
.nap a { text-decoration: underline; text-underline-offset: 3px; }
.nap { font-style: normal; font-size: 14px; line-height: 24px; color: var(--fg-2); }
/* ---------- footer: the same block on every page ----------
   A last chance to convert, then the map. Nothing here is page-specific: every
   link is an absolute path rather than a homepage anchor, so it works on
   /work and /journal as it does on /. */
.foot-cta { border-top: 1px solid var(--rule-grid); padding-block: clamp(44px, 6vw, 80px); }
.foot-cta .inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-cta p { font-size: clamp(30px, 4.6vw, 64px); max-width: 15ch; }
.foot-cta .actions { grid-column: auto; justify-content: flex-start; }

.foot-links { border-top: 1px solid var(--rule-grid); padding-block: 48px; }
.foot-links .inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 24px; }
.foot-links nav, .foot-links .inner > div { display: flex; flex-direction: column; gap: 10px; font-size: 14px; min-width: 0; }
.foot-links a:hover { color: var(--accent-text); }
.foot-links .lbl { margin-bottom: 2px; }

.foot-brand .marks { display: flex; align-items: center; gap: 10px; color: var(--accent-text); }
.foot-brand .marks svg { display: block; fill: currentColor; }
.foot-brand .marks .mk { width: 22px; height: 22px; }
.foot-brand .marks .wm { height: 16px; width: auto; }
.foot-brand p { color: var(--fg-2); line-height: 22px; max-width: 36ch; }
.foot-brand .nap { display: flex; flex-direction: column; gap: 2px; line-height: 22px; }
.rail .top-link:hover { color: var(--accent-text); }

@media (max-width: 760px) {
  .foot-links .inner { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-cta .inner { flex-direction: column; align-items: flex-start; gap: 24px; }
}

/* principles */
.prin { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.prin div { border-top: 1px solid var(--rule); padding-top: 18px; min-width: 0; }
.prin h3 { font-size: 22px; line-height: 30px; margin-bottom: 10px; }
.prin p { color: var(--fg-2); font-size: 14px; line-height: 22px; }
@media (max-width: 860px) { .prin { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .prin { grid-template-columns: 1fr; } }

/* journal */
.posts a { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--rule); align-items: baseline; position: relative; }
.posts a:last-child { border-bottom: 1px solid var(--rule); }
.posts .tt { font-size: clamp(20px, 2.4vw, 28px); line-height: 1.25; font-weight: 700; transition: color 160ms var(--ease), transform 300ms var(--ease); }
.posts a:hover .tt { color: var(--accent-text); transform: translateX(10px); }
.posts .tth { font: inherit; }
.posts .ex { display: block; font-size: 14px; line-height: 22px; color: var(--fg-2); font-weight: 400; margin-top: 6px; }
.posts .r { text-align: right; display: flex; flex-wrap: wrap; justify-content: flex-end; column-gap: 0.5ch; }
/* Webflow's journal list is a CMS Collection List, so each row sits alone in
   its own .w-dyn-item: :last-child would rule every row. Key the closing rule
   off the item instead. */
.posts .w-dyn-item a:last-child { border-bottom: 0; }
.posts .w-dyn-item:last-child a { border-bottom: 1px solid var(--rule); }
/* No posts yet. Webflow's base CSS pads its empty state and paints it grey. */
.posts .w-dyn-empty { padding: 0; background: none; }
.posts .empty { margin: 0; padding: 22px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); color: var(--fg-2); font-size: 16px; line-height: 27px; }
@media (max-width: 760px) { .posts a { grid-template-columns: 1fr; gap: 4px; } .posts .r { text-align: left; justify-content: flex-start; } }

/* contact */
.cta h2 { margin-top: 20px; font-size: clamp(64px, 11vw, 176px); }
.cta h2 em { font-style: normal; color: var(--accent-text); }
.cta-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 56px; align-items: start; }
.start { grid-column: 1 / 3; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.start p { color: var(--fg-2); max-width: 40ch; }
.mailbox { grid-column: 3 / 5; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mail-note { color: var(--fg-2); max-width: 40ch; }
/* Each way to reach us appears once, as a row big enough to tap. */
.direct { display: flex; flex-direction: column; border-top: 1px solid var(--rule); font-style: normal; }
.direct .reach { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--rule); color: var(--fg); text-decoration: none; }
.direct .reach strong { font-family: var(--f-mono); font-size: clamp(18px, 2vw, 24px); line-height: 1.3; font-weight: 700; overflow-wrap: anywhere; }
.direct a.reach:hover strong { color: var(--accent-text); }
.teardown { margin: 0; padding: 16px; border: 1px dashed var(--rule-strong); border-radius: var(--r-sm); font-size: 14px; line-height: 22px; color: var(--fg-2); }
.teardown strong { color: var(--fg); }
/* The project form. Webflow's native Form Block wraps it in .w-form with its
   done and fail messages; these rules also beat Webflow's .w-input defaults. */
.brief-wrap { grid-column: 1 / 3; min-width: 0; margin: 0; }
form.brief { margin: 0; background: var(--bg-panel); border: 1px solid var(--rule); border-radius: var(--r-md); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { margin: 0; font-size: 12px; line-height: 18px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2); }
.field label span { font-weight: 400; letter-spacing: 0; text-transform: none; }
.field input, .field select, .field textarea { display: block; width: 100%; height: auto; margin: 0; padding: 12px 14px; font: inherit; font-size: 16px; line-height: 24px; color: var(--fg); background: var(--bg-control); border: 1px solid var(--rule); border-radius: var(--r-sm); box-shadow: none; }
.field textarea { min-height: 128px; resize: vertical; }
/* Webflow fills every new field with "Example Text" and its API cannot clear
   it; the labels say what each field wants, so placeholders stay invisible. */
.field input::placeholder, .field textarea::placeholder { color: transparent; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--rule-strong); }
form.brief .btn { align-self: flex-start; width: auto; }
/* "What do you need?" is a row of checkbox chips: Webflow's API cannot fill a
   select's options or give radios one shared name, and a client may want
   more than one service. Webflow wraps each checkbox in a .w-checkbox label;
   these rules override its defaults. */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips .chip { position: relative; display: inline-flex; margin: 0; padding: 10px 14px; background: var(--bg-control); border: 1px solid var(--rule); border-radius: var(--r-sm); color: var(--fg); font-size: 12px; line-height: normal; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.chips .chip:hover { border-color: var(--rule-strong); }
.chips .chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.chips .chip .w-form-label { margin: 0; font-weight: inherit; cursor: pointer; }
.chips .chip:has(input:checked) { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.chips .chip:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.brief-wrap .w-form-done, .brief-wrap .w-form-fail { margin: 16px 0 0; padding: 16px; border-radius: var(--r-sm); text-align: left; font-size: 14px; background: var(--bg-control); color: var(--fg); border: 1px solid var(--rule); }
/* The footer's "Start a project" would point at the page it sits on. */
body:has(.brief-wrap) .foot-cta { display: none; }
.page-hero + .cta .cta-grid { margin-top: 0; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } .start, .mailbox, .brief-wrap { grid-column: 1 / -1; } }

/* foot rail */
.rail { border-top: 1px solid var(--rule-grid); }
.rail .inner { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; height: 56px; font-size: 13px; letter-spacing: 0.04em; }
.rail .inner > :nth-child(2) { text-align: center; } .rail .inner > :nth-child(3) { justify-self: end; color: var(--fg-3); }
.legal { padding-block: 0 24px; }
.legal .inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--fg-3); }

/* the crosshair cursor (fine pointers only) */
.cur { position: fixed; left: 0; top: 0; z-index: 50; pointer-events: none; width: 28px; height: 28px; margin: -14px 0 0 -14px; opacity: 0; transition: opacity 200ms; }
.cur::before, .cur::after { content: ""; position: absolute; background: var(--accent-text); }
.cur::before { left: 13.5px; top: 0; width: 1px; height: 100%; } .cur::after { top: 13.5px; left: 0; height: 1px; width: 100%; }
.cur span { position: absolute; left: 22px; top: 18px; font-size: 10px; letter-spacing: 0.06em; white-space: nowrap; color: var(--data); font-variant-numeric: tabular-nums; }
.cur.big { transform: scale(1.8); }
@media (hover: hover) and (pointer: fine) { .cur.live { opacity: 1; } }

/* ask glint */
.ask { position: fixed; right: max(20px, calc(env(safe-area-inset-right, 0px) + 20px)); bottom: calc(env(safe-area-inset-bottom, 0px) + 72px); z-index: 30; }
.ask .launch { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border: 0; border-radius: var(--r-sm); background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; cursor: pointer; box-shadow: var(--overlay); }
.ask .launch:hover { background: var(--accent-hover); }
.ask .launch svg { width: 16px; height: 16px; fill: currentColor; }
.panel { position: absolute; right: 0; bottom: 56px; width: min(360px, calc(100vw - 40px)); background: var(--bg-panel); border: 1px solid var(--rule); border-radius: var(--r-lg); box-shadow: var(--overlay); display: flex; flex-direction: column; max-height: min(480px, 70vh); transform-origin: bottom right; animation: openp 260ms var(--ease); }
@keyframes openp { from { transform: scale(0.96) translateY(8px); } to { transform: none; } }
/* .panel sets display:flex, which outranks the UA stylesheet's [hidden] rule at
   equal specificity, so the panel rendered open on load and the close button,
   which toggles that same attribute, could not shut it. */
.panel[hidden] { display: none; }
.panel header { display: flex; align-items: center; gap: 10px; padding: 14px; border-bottom: 1px solid var(--rule); }
.panel header .av { width: 30px; height: 30px; border-radius: var(--r-sm); background: var(--ink); display: grid; place-items: center; }
.panel header .av svg { width: 18px; height: 18px; fill: var(--mint); }
.panel .x-close { margin-left: auto; width: 30px; height: 30px; border-radius: var(--r-sm); border: 1px solid var(--rule); background: var(--bg-control); cursor: pointer; }
.log { flex: 1; min-height: 0; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 21px; }
.msg { max-width: 88%; padding: 10px 12px; border-radius: var(--r-md); }
.msg.bot { align-self: flex-start; background: var(--bg-control); border: 1px solid var(--rule); border-top-left-radius: var(--r-xs); }
.msg.me { align-self: flex-end; background: var(--bg-hover); border: 1px solid var(--rule-strong); border-top-right-radius: var(--r-xs); }
.panel .sug { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 12px; }
.panel .sug button { background: var(--bg-control); border: 1px solid var(--rule); border-radius: var(--r-sm); padding: 6px 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.panel .sug button:hover { border-color: var(--rule-strong); }
.panel .foot { padding: 0 14px 12px; font-size: 11px; color: var(--fg-3); }

/* ---------- inner pages: services, contact, policies ----------
   Built from the homepage's own parts (.sec, .sec-head, .svc, .proc, .faq,
   .work, .cta-grid). Only three things are new: a page hero that is NOT the
   full-screen WebGL one, because an ad visitor wants the answer before the
   show; a deliverables list; and long-form prose for the policy pages. */
.page-hero { position: relative; padding-block: clamp(32px, 5vw, 72px) clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--rule-grid); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.crumbs a:hover { color: var(--accent-text); }
.crumbs [aria-current] { color: var(--fg-2); }
.page-hero h1 { margin-top: 24px; font-size: clamp(44px, 7.2vw, 104px); max-width: 14ch; }
.page-hero .lede { margin-top: 28px; max-width: 48ch; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--fg-2); }
.page-hero .actions { justify-content: flex-start; margin-top: 32px; }
/* Scoped to the hero: the homepage's About section has its own .facts strip. */
.page-hero .facts { display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); gap: 12px 48px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--rule); }
.page-hero .facts div { display: flex; flex-direction: column; gap: 6px; }
.page-hero .facts strong { font-size: 15px; font-weight: 700; }
.svc.aud h3 { font-size: clamp(26px, 2.4vw, 32px); }
.deliv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; margin-left: 25%; border-top: 1px solid var(--rule); }
.deliv div { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.deliv h3 { font-size: 18px; line-height: 26px; }
.deliv p { margin-top: 6px; color: var(--fg-2); font-size: 15px; line-height: 24px; max-width: 46ch; }
.prose { margin-left: 25%; max-width: 68ch; }
.prose h2, .prose h3 { font-size: 22px; line-height: 30px; margin: 44px 0 12px; }
/* Figures in the prose. Webflow's Rich Text wraps the image in a div and
   centres a narrow figure; both builds get a full-width image. */
.prose figure { margin: 28px 0 0; width: 100%; max-width: 100%; }
.prose figure > div { display: block; }
.prose figure img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); border-radius: var(--r-md); }
.prose figcaption { margin-top: 10px; font-size: 13px; line-height: 20px; color: var(--fg-3); text-align: left; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose li { color: var(--fg-2); font-size: 16px; line-height: 27px; }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 12px 0 0; padding-left: 20px; }
.prose li + li { margin-top: 6px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-text); }
.prose ol { margin: 12px 0 0; padding-left: 20px; }
/* Journal posts: a smaller title than the service heroes (post titles run long),
   and the date / read time / author line under the lede. */
.page-hero.post h1 { font-size: clamp(36px, 5.2vw, 76px); max-width: 18ch; }
.byline { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.byline a:hover { color: var(--accent-text); }
/* An author's bio sits in the hero, under the role line, not indented like a post. */
.page-hero .prose { margin: 20px 0 0; }
.page-cta { justify-content: flex-start; margin-top: 48px; }
.svc h3 a:hover, .deliv h3 a:hover { color: var(--accent-text); }
@media (max-width: 760px) {
  .page-hero .facts { grid-template-columns: 1fr; gap: 16px; }
  .deliv { grid-template-columns: 1fr; margin-left: 0; }
  .prose { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; scroll-behavior: auto !important; }
  .ticker .row { animation: none; }
}
