/* Bit & Byte Lab redesign: ported from redesign-preview/css/site.css (reviewed preview). Append-only history kept; WordPress additions live in bbl2-wp.css. */
/* =====================================================================
   Bit & Byte Lab — "Intelligence in Motion"  (refinement pass 2)
   Geist carries display + body. Instrument Serif only for italic accents.
   Design tokens → base → components → sections → motion → responsive
   ===================================================================== */

:root {
	/* colour: cream, charcoal, brand navy and orange */
	--paper: #f4f0e7;
	--paper-2: #ebe5d8;
	--paper-3: #e1d9c8;
	--card: #fbf8f1;
	--ink: #15171b;
	--ink-2: #33363d;
	--muted: #5c5a53;
	--line: rgba(21, 23, 27, .13);
	--line-2: rgba(21, 23, 27, .26);
	--navy: #0c2340;
	--navy-2: #14304f;
	--amber: #f5a524;
	--amber-ink: #7a4500;     /* ≥5:1 on every paper token */
	--on-dark: #f1ece1;
	--on-dark-2: rgba(241, 236, 225, .74);
	--line-dark: rgba(241, 236, 225, .16);

	/* type families */
	--f-sans: "Geist", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;   /* accents only */
	--f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;

	/* type scale (fluid, 360 → 1440) */
	--t-display: clamp(2.6rem, 1.45rem + 4.2vw, 5.1rem);
	--t-h2: clamp(2rem, 1.35rem + 2.5vw, 3.6rem);
	--t-h3: clamp(1.3rem, 1.12rem + .7vw, 1.75rem);
	--t-h4: 1.125rem;
	--t-lead: clamp(1.06rem, 1rem + .3vw, 1.25rem);
	--t-body: 1rem;
	--t-small: .875rem;
	--t-mono: .78rem;
	--w-display: 620;
	--w-head: 600;
	--track-display: -.045em;
	--track-head: -.035em;

	/* space & grid */
	--gutter: clamp(20px, 4vw, 56px);
	--max: 1440px;
	--sec: clamp(72px, 8vw, 124px);
	--s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 88px;
	--radius: 6px;
	--radius-lg: 20px;
	--r-sm: 10px;   /* controls, inner panels, thumbnails */
	--r-md: 14px;   /* windows, inputs, small cards */
	--r-lg: 20px;   /* cards */
	--r-xl: 24px;   /* the one large product panel */
	--shadow: 0 24px 50px -32px rgba(21, 23, 27, .42);

	/* motion */
	--ease: cubic-bezier(.2, .7, .1, 1);
	--ease-io: cubic-bezier(.7, 0, .2, 1);
	--d1: .18s; --d2: .45s; --d3: .9s;

	--hdr-h: 72px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 12px); }
body {
	margin: 0; background: var(--paper); color: var(--ink);
	font: 400 var(--t-body)/1.6 var(--f-sans); letter-spacing: -.006em;
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "ss01", "cv11";
	overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 2px solid var(--amber-ink); outline-offset: 3px; border-radius: 2px; }
/* dark surfaces: the focus ring switches to brand amber so it stays ≥3:1 */
.menu :focus-visible, .ai :focus-visible, .ftr :focus-visible, .migrate :focus-visible, .win :focus-visible, body.menu-open .hdr :focus-visible { outline-color: var(--amber); }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: var(--radius); }
.skip:focus { top: 12px; }
.mono { font-family: var(--f-mono); font-size: var(--t-mono); letter-spacing: .03em; text-transform: uppercase; font-weight: 500; }

.preview-flag {
	position: fixed; z-index: 120; right: 12px; bottom: 12px; opacity: .85;
	font: 500 11px/1 var(--f-mono); letter-spacing: .04em; color: var(--ink-2);
	background: rgba(244, 240, 231, .92); border: 1px solid var(--line); padding: 8px 12px; border-radius: 40px;
	backdrop-filter: blur(8px); white-space: nowrap; pointer-events: none;
}
.preview-flag span { color: var(--amber-ink); }
.preview-flag i { font-style: normal; }

/* ---------- type ---------- */
/* serif italic is the signature accent: only inside headings and a few editorial moments */
.h2 em, .hero__title em, .ftr__big em, .scc__head em, .pane__lede em, .accent {
	font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.015em; font-size: 1.08em; line-height: .9;
}
.h2 { font: var(--w-head) var(--t-h2)/1.04 var(--f-sans); letter-spacing: var(--track-head); max-width: 18ch; text-wrap: balance; }
.h2 em { color: var(--ink-2); }
.h2 a { text-decoration: none; }
.h3 { font: var(--w-head) var(--t-h3)/1.15 var(--f-sans); letter-spacing: -.025em; }
.h3 a { text-decoration: none; }
.h4 { font: 600 var(--t-h4)/1.3 var(--f-sans); letter-spacing: -.015em; }
.sec-no { color: var(--muted); display: flex; gap: 10px; align-items: center; margin-bottom: var(--s3); }
.sec-no::before { content: ""; width: 24px; height: 1.5px; background: var(--navy); }
.sec-lede { font-size: var(--t-lead); color: var(--ink-2); max-width: 48ch; line-height: 1.55; }
.sec-lede strong { color: var(--ink); font-weight: 600; }
.eyebrow { color: var(--ink-2); display: inline-flex; gap: 10px; align-items: center; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 4px rgba(12, 35, 64, .12); }

/* Label system. Mono is reserved for figures, code and the sculpture's state readout;
   editorial labels (section kickers, categories, field names) use a tracked Geist caps style. */
.sec-no, .duo__k, .scc__tag, .index__sector, .scc__story .mono, .ai__card .mono, .mp__k, .ftr .mono, .contact .mono,
.note__id, .chat-demo__k, .caps__more .mono, .scc__facts dt, .stats dt, .asst__sub, .asst__related .mono, .eyebrow {
	font-family: var(--f-sans); font-weight: 600; font-size: .76rem; letter-spacing: .07em; text-transform: uppercase;
}
.menu-btn { font-family: var(--f-sans) !important; font-weight: 600 !important; letter-spacing: .04em !important; }
.index__desc, .acc__inner p, .duo__item p, .ai__card p, .note p, .principles p, .flow__step span, .stage__cap { line-height: 1.62; }

/* ---------- buttons & links ---------- */
.btn {
	--bg: transparent; --fg: var(--ink); --bd: var(--ink);
	position: relative; display: inline-flex; align-items: center; gap: 10px; isolation: isolate; overflow: hidden;
	min-height: 52px; padding: 0 26px; border-radius: 60px; border: 1.5px solid var(--bd); background: var(--bg); color: var(--fg);
	font: 600 .97rem/1 var(--f-sans); letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
	transition: color var(--d2) var(--ease), border-color var(--d2) var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fill, var(--amber)); transform: translateY(101%); border-radius: inherit; transition: transform var(--d2) var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn--ink { --bg: var(--ink); --fg: var(--paper); --bd: var(--ink); }
.btn--ink:hover { --fg: var(--ink); }
.btn--line:hover { --bd: var(--amber); }
.btn--ghost { --bd: var(--line-2); }
.btn--amber { --bg: var(--amber); --fg: var(--ink); --bd: var(--amber); --fill: var(--paper); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .88rem; }
.btn .arr { transition: transform var(--d2) var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--line-2); padding-bottom: 3px; transition: border-color var(--d1); }
.link-arrow::after { content: "→"; transition: transform var(--d2) var(--ease); }
.link-arrow:hover { border-color: var(--amber); }
.link-arrow:hover::after { transform: translateX(4px); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); position: relative; display: inline-block; flex: none; }
.pulse--ink { background: var(--ink); }
.pulse--ink::after { border-color: var(--ink); }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--amber); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }
.icon-btn { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: transparent; }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* shared window chrome for interface screenshots */
.win { background: var(--ink); border-radius: var(--r-md); padding: 0 8px 8px; box-shadow: var(--shadow); overflow: hidden; }
.win__bar { display: flex; align-items: center; gap: 6px; height: 34px; color: rgba(241, 236, 225, .55); font: 500 .7rem/1 var(--f-mono); letter-spacing: .02em; }
.win__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(241, 236, 225, .22); }
.win__bar span { margin-left: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win img { border-radius: 6px; width: 100%; }

/* ---------- header ---------- */
.hdr {
	position: fixed; z-index: 90; inset: 0 0 auto; height: var(--hdr-h);
	display: flex; align-items: center; gap: var(--s4); padding: 0 var(--gutter);
	transition: background var(--d2) var(--ease), border-color var(--d2), height var(--d2) var(--ease);
	border-bottom: 1px solid transparent;
}
.hdr.is-scrolled { --hdr-h: 60px; background: rgba(244, 240, 231, .86); backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line); }
.hdr__brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.hdr__word { font: 650 1.12rem/1 var(--f-sans); letter-spacing: -.035em; }
.hdr__word em { font-family: var(--f-serif); font-weight: 400; font-size: 1.15em; color: var(--amber-ink); }
.mark { width: 22px; height: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.mark i { background: var(--ink); border-radius: 1px; transition: transform var(--d2) var(--ease), background var(--d2); }
.mark i:nth-child(2) { background: var(--amber); }
.hdr__brand:hover .mark i:nth-child(1) { transform: translate(100%, 0) translateX(3px); }
.hdr__brand:hover .mark i:nth-child(2) { transform: translate(0, 100%) translateY(3px); }
.hdr__brand:hover .mark i:nth-child(4) { transform: translate(-100%, 0) translateX(-3px); }
.hdr__brand:hover .mark i:nth-child(3) { transform: translate(0, -100%) translateY(-3px); }
.hdr__quick { display: flex; gap: 28px; font-size: .94rem; font-weight: 500; }
.hdr__quick a { text-decoration: none; position: relative; padding: 6px 0; }
.hdr__quick a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--amber); transform: scaleX(0); transform-origin: right; transition: transform var(--d2) var(--ease); }
.hdr__quick a:hover::after { transform: scaleX(1); transform-origin: left; }
.hdr__actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: inline-flex; align-items: center; gap: 12px; height: 40px; padding: 0 6px 0 16px; border: 1px solid var(--line-2); border-radius: 40px; background: transparent; font: 500 .8rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; min-width: 104px; justify-content: space-between; }
.menu-btn__icon { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); display: grid; place-content: center; gap: 4px; }
.menu-btn__icon i { width: 12px; height: 1.5px; background: var(--paper); transition: transform var(--d2) var(--ease); }
.menu-btn[aria-expanded="true"] .menu-btn__icon i:first-child { transform: translateY(2.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon i:last-child { transform: translateY(-2.75px) rotate(-45deg); }
body.menu-open .hdr { background: transparent; border-color: transparent; color: var(--on-dark); backdrop-filter: none; }
body.menu-open .hdr .mark i:not(:nth-child(2)) { background: var(--on-dark); }
body.menu-open .hdr__quick, body.menu-open .hdr .btn { visibility: hidden; }
body.menu-open .menu-btn { border-color: var(--line-dark); }
body.menu-open .hdr__word em { color: var(--amber); }

/* ---------- fullscreen menu (Photon-style kinetic type) ---------- */
.menu { position: fixed; inset: 0; z-index: 80; background: var(--navy); color: var(--on-dark); clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io); overflow-y: auto; }
.menu.is-open { clip-path: inset(0 0 0 0); }
/* in-dialog close for keyboard and screen-reader users; visible only when focused */
.menu__close { position: absolute; left: var(--gutter); top: calc(var(--hdr-h) + 4px); z-index: 2; background: var(--amber); color: var(--ink); border: 0; border-radius: 30px; padding: 8px 14px; font-weight: 600; transform: translateY(-200%); opacity: 0; }
.menu__close:focus-visible { transform: none; opacity: 1; }
.menu__grid { min-height: 100%; display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr auto; gap: var(--s5) var(--s7); padding: calc(var(--hdr-h) + 4vh) var(--gutter) var(--s5); max-width: var(--max); margin: 0 auto; }
.menu__link { display: flex; align-items: baseline; gap: 22px; text-decoration: none; padding: .04em 0; color: var(--on-dark-2); transition: color var(--d2) var(--ease); }
.menu__link:hover, .menu__link:focus-visible, .menu__link.is-active { color: var(--on-dark); }
.menu__no { font: 500 .78rem/1 var(--f-mono); color: var(--amber); width: 2ch; transform: translateY(-1.6em); }
.menu__txt { font: 600 clamp(2.3rem, .8rem + 5vh + 2vw, 5rem)/1.06 var(--f-sans); letter-spacing: -.045em; }
/* on hover the word turns into the serif accent: a deliberate change of voice */
.menu__link:hover .menu__txt, .menu__link:focus-visible .menu__txt, .menu__link.is-active .menu__txt { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--amber); }
.menu .ch { display: inline-block; transform: translateY(110%); transition: transform .7s var(--ease); transition-delay: calc(var(--i) * 16ms + var(--row) * 50ms + .25s); }
.menu.is-open .ch { transform: none; }
.menu.is-closing .ch { transition-delay: 0s; transition-duration: .3s; transform: translateY(-110%); }
/* decode hover: the hovered label alone resolves through bit glyphs; width is locked so neighbours never move */
.is-decoding { display: inline-block; white-space: nowrap; }
.ch.is-glyph { color: var(--amber); font-family: var(--f-mono); font-style: normal; font-weight: 500; font-size: .62em; vertical-align: .18em; }
@keyframes roll { 0% { transform: none; } 45% { transform: translateY(-110%); } 46% { transform: translateY(110%); } 100% { transform: none; } }
.menu__preview { position: relative; padding-top: 1.2rem; border-left: 1px solid var(--line-dark); padding-left: var(--s5); opacity: 0; transition: opacity .6s .45s; }
.menu.is-open .menu__preview { opacity: 1; }
.mp { animation: mpIn .55s var(--ease) both; }
@keyframes mpIn { from { opacity: 0; transform: translateY(14px); } }
.mp__k { color: var(--amber); margin-bottom: var(--s3); }
.mp__lede { font: 500 1.35rem/1.3 var(--f-sans); letter-spacing: -.02em; max-width: 28ch; margin-top: var(--s3); }
.mp__lede a { text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.mp__fig { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--navy-2); }
.mp__fig img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mp__links { columns: 2; column-gap: var(--s4); margin-top: var(--s4); }
.mp__links a { display: block; padding: 7px 0; color: var(--on-dark-2); text-decoration: none; font-size: .97rem; break-inside: avoid; }
.mp__links a:hover { color: var(--amber); }
.menu__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: var(--s3); border-top: 1px solid var(--line-dark); padding-top: var(--s3); flex-wrap: wrap; }
.clocks { display: flex; gap: var(--s4); color: var(--on-dark-2); flex-wrap: wrap; }
.clocks b { color: var(--on-dark); font-weight: 500; margin-left: 6px; }

/* ---------- hero ---------- */
.hero {
	position: relative; min-height: min(100svh, 900px); max-width: var(--max); margin: 0 auto;
	display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: center;
	gap: var(--s5); padding: calc(var(--hdr-h) + clamp(10px, 2vh, 24px)) var(--gutter) var(--s4);
}
.hero__copy { position: relative; z-index: 2; container-type: inline-size; }
.hero__title { font: var(--w-display) min(var(--t-display), 10.2cqi)/1 var(--f-sans); letter-spacing: var(--track-display); margin: 12px 0 16px; color: var(--ink); }
.hero__line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.06em; }
.hero__line > span { display: inline-block; }
/* the serif phrase keeps a measured width and stays on one line beside its lead-in where it fits */
.hero__title em { font-size: 1em; color: var(--ink-2); background: linear-gradient(var(--amber), var(--amber)) 0 92% / 100% .06em no-repeat; padding-bottom: .02em; }
.hero__title em .g { color: var(--amber-ink); font-family: var(--f-mono); font-style: normal; font-size: .55em; vertical-align: .18em; }
.hero__lead { font-size: clamp(1.02rem, .98rem + .2vw, 1.12rem); line-height: 1.58; color: var(--ink-2); max-width: 60ch; }

/* one enquiry action: the assistant is how a project starts */
.start { margin-top: clamp(16px, 2.4vh, 24px); max-width: 600px; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 16px 18px; box-shadow: var(--shadow); }
.start__t { font: 650 1.2rem/1.2 var(--f-sans); letter-spacing: -.025em; }
.start__d { color: var(--ink-2); font-size: .95rem; line-height: 1.55; margin: 2px 0 12px; max-width: 56ch; }
.ask { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--ink); background: #fff; border-radius: var(--r-md); padding: 6px 6px 6px 16px; transition: box-shadow var(--d2); }
.ask:focus-within { box-shadow: 0 0 0 4px rgba(245, 165, 36, .3); }
.ask input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 0; outline: none; font-size: 1rem; }
.ask input::placeholder { color: #6e6b62; }
.ask__mic { flex: none; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--line); background: transparent; display: grid; place-items: center; }
.ask__mic svg { width: 19px; height: 19px; }
.ask__mic.is-listening { background: var(--amber); border-color: var(--amber); }
.ask__go { flex: none; height: 46px; padding: 0 20px; border-radius: var(--r-sm); border: 0; background: var(--amber); color: var(--ink); font-weight: 650; font-size: 1rem; display: inline-flex; align-items: center; gap: 8px; transition: background var(--d1); }
.ask__go:hover { background: #ffb43f; }
.start__ex { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 10px; font-size: .88rem; color: var(--muted); }
.start__prompts { display: flex; flex-wrap: wrap; gap: 6px; }
.start__prompts button { border: 1px dashed var(--line-2); background: transparent; border-radius: 30px; padding: 6px 12px; font-size: .86rem; font-weight: 500; color: var(--ink-2); transition: background var(--d1), color var(--d1), border-color var(--d1); }
.start__prompts button:hover, .start__prompts button:focus-visible { border-style: solid; border-color: var(--ink); color: var(--ink); background: #fff; }
.start__alt { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); }
.start__alt a { font-weight: 600; color: var(--ink); }
.hero__more { margin-top: 14px; }

/* the sculpture is a figure: form + the evidence it stands for + its own controls */
.lab-fig { position: relative; align-self: stretch; min-height: 480px; margin: 0 calc(var(--gutter) * -1) 0 0; display: grid; grid-template-rows: auto 1fr auto auto; padding: 8px 0 0; }
.lab-fig__canvas { position: absolute; inset: 0 0 120px; cursor: crosshair; }
.lab-fig__canvas canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lab-fig__state { position: relative; z-index: 1; font: 500 .78rem/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.lab-fig__state b { color: var(--amber-ink); margin-right: 6px; }
.lab-fig__proof { grid-row: 3; position: relative; z-index: 1; margin-right: var(--gutter); background: rgba(251, 248, 241, .92); backdrop-filter: blur(6px); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 16px 18px; display: grid; gap: 6px; }
.lab-fig__proof.is-swap { animation: proofIn .55s var(--ease) both; }
@keyframes proofIn { from { opacity: 0; transform: translateY(8px); } }
.lab-fig__k { font: 600 .76rem/1 var(--f-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--amber-ink); }
.lab-fig__v { font: 500 1.02rem/1.45 var(--f-sans); letter-spacing: -.01em; color: var(--ink); }
.lab-fig__proof .link-arrow { justify-self: start; font-size: .92rem; }
.lab-fig__ctrl { grid-row: 4; position: relative; z-index: 1; display: flex; gap: 4px; margin: 10px var(--gutter) 0 0; padding: 4px; background: var(--paper-2); border-radius: 40px; }
.lab-fig__ctrl button:not(.lab-fig__pause) { flex: 1; position: relative; overflow: hidden; border: 0; background: transparent; border-radius: 40px; padding: 10px 8px; font-size: .86rem; font-weight: 600; color: var(--ink-2); transition: background var(--d2), color var(--d2); }
.lab-fig__ctrl button[aria-pressed="true"]:not(.lab-fig__pause) { background: var(--ink); color: var(--paper); }
.lab-fig__ctrl button[aria-pressed="true"]:not(.lab-fig__pause)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; animation: bar var(--state-ms, 6500ms) linear forwards; }
.lab-fig__ctrl.is-paused button[aria-pressed="true"]::after { animation: none; transform: scaleX(0); }
.lab-fig__pause { flex: none; width: 40px; border: 0; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--ink); }
.lab-fig__pause i { width: 10px; height: 11px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.lab-fig__pause[aria-pressed="true"] i { width: 0; height: 0; border: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
@keyframes bar { to { transform: scaleX(1); } }

/* ---------- proof band ---------- */
.proof { border-block: 1px solid var(--line); background: var(--paper-2); }
.proof__list { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.proof__list li { padding: var(--s3) var(--gutter); display: grid; gap: 4px; border-left: 1px solid var(--line); align-content: start; }
.proof__list li:first-child { border-left: 0; }
.proof__n { font: 650 clamp(1.9rem, 1.4rem + 1.4vw, 2.7rem)/1 var(--f-sans); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.proof__list span { color: var(--ink-2); font-size: .93rem; line-height: 1.4; }
.proof__list small { color: var(--muted); font-size: .82rem; }

/* ---------- section scaffolding ---------- */
section { position: relative; }
.caps, .flag, .work, .lab, .approach, .enq { max-width: var(--max); margin: 0 auto; padding: calc(var(--sec) * .62) var(--gutter); }
.caps { padding-top: var(--sec); }
.sec-head { display: grid; gap: var(--s3); margin-bottom: var(--s5); }
.sec-head--row { grid-template-columns: 1.25fr 1fr; align-items: end; gap: var(--s5); }

/* ---------- capabilities: accordion + live preview stage ---------- */
.caps__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--s6); align-items: start; }
.acc { border-top: 1.5px solid var(--ink); }
.acc__item { border-bottom: 1px solid var(--line-2); position: relative; }
.acc__item::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.acc__item.is-open::before { transform: scaleX(1); }
.acc__btn { width: 100%; display: grid; grid-template-columns: 1fr 28px; align-items: center; gap: 12px; background: none; border: 0; padding: 22px 0; text-align: left; }
.acc__no { color: var(--muted); transition: color var(--d2); }
.acc__title { font: 600 clamp(1.5rem, 1.1rem + 1.4vw, 2.35rem)/1.1 var(--f-sans); letter-spacing: -.04em; transition: color var(--d2); }
.acc__btn:hover .acc__title, .acc__item.is-open .acc__title { color: var(--ink); }
.acc__item:not(.is-open) .acc__title { color: var(--ink-2); }
.acc__item.is-open .acc__no { color: var(--amber-ink); }
.acc__icon { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line-2); position: relative; transition: background var(--d2), border-color var(--d2), transform var(--d2) var(--ease); }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform var(--d2) var(--ease); }
.acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__item.is-open .acc__icon { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: rotate(180deg); }
.acc__item.is-open .acc__icon::after { transform: translate(-50%, -50%) rotate(0); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__inner { overflow: hidden; }
.acc__inner > * { opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease); }
.acc__item.is-open .acc__inner > * { opacity: 1; transform: none; transition-delay: .08s; }
.acc__inner p { color: var(--ink-2); font-size: 1.05rem; max-width: 44ch; }
.acc__points { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 16px; }
.acc__points li { font-size: .86rem; font-weight: 500; padding: 6px 12px; border-radius: 30px; background: var(--paper-2); }
.acc__inner .link-arrow { margin-bottom: 24px; }

.stage { position: sticky; top: calc(var(--hdr-h) + 24px); aspect-ratio: 16 / 12; }
.stage__pane > :first-child { aspect-ratio: 16 / 11; }
.stage__pane .win { display: grid; grid-template-rows: auto 1fr; }
.stage__pane .win img { height: 100%; object-fit: cover; object-position: top left; }
.chat-demo { overflow: hidden; }
.migrate { align-content: center; }
.stage__pane { position: absolute; inset: 0; display: grid; grid-template-rows: auto auto; align-content: start; gap: 14px; clip-path: inset(0 0 100% 0 round 14px); opacity: 0; transition: clip-path .6s var(--ease-io), opacity .3s; }
.stage__pane.is-on { clip-path: inset(0 0 0 0 round 14px); opacity: 1; z-index: 2; }
.stage__pane .win { align-self: start; }
.stage__cap { font-size: .9rem; color: var(--ink-2); display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.stage__cap b { font-weight: 600; color: var(--ink); }
.chat-demo { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 20px; display: flex; flex-direction: column; gap: 10px; align-self: start; }
.chat-demo__k { color: var(--amber-ink); }
.chat-demo__msg { max-width: 82%; padding: 11px 14px; border-radius: 14px; font-size: .92rem; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-demo__msg--me { align-self: flex-end; background: var(--ink); color: var(--paper); border-color: var(--ink); border-radius: 14px; border-bottom-right-radius: 4px; }
.chat-demo__opts { display: flex; gap: 6px; flex-wrap: wrap; }
.chat-demo__opts span { font-size: .8rem; padding: 6px 11px; border-radius: 30px; border: 1px solid var(--line-2); }
.chat-demo__brief { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; padding: 14px; border: 1.5px solid var(--ink); border-radius: var(--r-sm); font-size: .86rem; margin-top: 4px; }
.chat-demo__brief span { font: 500 .72rem/1.6 var(--f-mono); text-transform: uppercase; color: var(--muted); }
.chat-demo__brief b { font-weight: 600; }
.migrate { align-self: start; background: var(--navy); color: var(--on-dark); border-radius: var(--r-md); padding: 32px 28px; display: grid; grid-template-columns: 1fr 1.1fr 1fr; align-items: center; gap: 14px; }
.migrate__box { border: 1px solid var(--line-dark); border-radius: var(--r-sm); padding: 18px; display: grid; gap: 4px; }
.migrate__box .mono { color: var(--on-dark-2); }
.migrate__box b { font: 650 1.4rem/1.1 var(--f-sans); letter-spacing: -.03em; }
.migrate__box small { color: var(--on-dark-2); font-size: .82rem; }
.migrate__box--new { border-color: var(--amber); background: rgba(245, 165, 36, .08); }
.migrate__flow { display: flex; align-items: center; justify-content: center; gap: 6px; position: relative; padding-bottom: 22px; }
.migrate__flow i { width: 10px; height: 10px; border-radius: 2px; background: var(--amber); opacity: .2; animation: pkt 1.6s var(--ease) infinite; animation-delay: calc(var(--n) * .16s); }
.migrate__flow i:nth-child(1) { --n: 0; } .migrate__flow i:nth-child(2) { --n: 1; } .migrate__flow i:nth-child(3) { --n: 2; } .migrate__flow i:nth-child(4) { --n: 3; } .migrate__flow i:nth-child(5) { --n: 4; }
@keyframes pkt { 0%, 100% { opacity: .2; transform: translateX(-4px); } 50% { opacity: 1; transform: translateX(4px); } }
.migrate__flow .mono { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; color: var(--on-dark-2); font-size: .68rem; }
.migrate__n { grid-column: 1 / -1; margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line-dark); color: var(--on-dark-2); }
.migrate__n b { font: 650 2.4rem/1 var(--f-sans); letter-spacing: -.045em; color: var(--amber); margin-right: 8px; }

.caps__more { margin-top: var(--s5); display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: baseline; padding-top: var(--s3); border-top: 1px solid var(--line); }
.caps__more-k { font: 600 .76rem/1 var(--f-sans); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.caps__more .mono { color: var(--muted); margin-left: var(--s3); }
.caps__more .mono:first-child { margin-left: 0; }
.caps__more a { text-decoration: none; border-bottom: 1px solid var(--line-2); font-weight: 500; }
.caps__more a:hover { border-color: var(--amber); }
.caps__all { margin-left: auto; font-weight: 600 !important; }

/* ---------- Sublime Care Cloud ---------- */
.flag { padding-top: calc(var(--sec) * .4); }
.scc { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-xl); padding: clamp(22px, 3.2vw, 44px); display: grid; gap: var(--s4); }
.scc__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s5); align-items: end; }
.scc__tag { color: var(--amber-ink); margin-bottom: 10px; }
.scc__head .h2 { font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4.4rem); letter-spacing: -.05em; }
.scc__head .h2 a { background: linear-gradient(var(--amber), var(--amber)) 0 96% / 0 .08em no-repeat; transition: background-size .7s var(--ease); }
.scc__head .h2 a:hover { background-size: 100% .08em; }
.scc__facts { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line-2); }
.scc__facts div { padding: 16px 18px 16px 0; }
.scc__facts div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.scc__facts dt { font: 500 .74rem/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.scc__facts dd { font: 650 clamp(1.8rem, 1.3rem + 1.4vw, 2.6rem)/1.1 var(--f-sans); letter-spacing: -.045em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.scc__facts .scc__dd-txt { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); letter-spacing: -.025em; padding-top: .35em; }
.scc__body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: var(--s3) var(--s5); align-items: start; }
.scc__shot { grid-row: 1 / 3; display: grid; gap: 18px; }
.scc__view { position: relative; padding: 0 0 48px 0; }
.scc__view .win { width: 86%; }
/* a 1:1 crop of the real screenshot so the admin navigation is legible at any width */
.scc__zoom { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1 / .82; border-radius: var(--r-md); overflow: hidden; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.scc__zoom img { width: 100%; height: 100%; object-fit: none; object-position: 0 62%; }
.scc__zoom-k { position: absolute; left: 10px; bottom: 10px; background: var(--ink); color: var(--paper); font: 600 .7rem/1 var(--f-sans); letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px; border-radius: 20px; }
.scc__shot figcaption { display: grid; gap: 12px; justify-items: start; color: var(--ink-2); font-size: .98rem; line-height: 1.55; }
.scc__shot figcaption b { color: var(--ink); font-weight: 650; }
.industries { display: flex; flex-wrap: wrap; gap: 6px; }
.industries li { padding: 6px 12px; border-radius: 30px; background: var(--ink); color: var(--paper); font-size: .8rem; font-weight: 500; }
.scc__story { display: grid; counter-reset: st; }
.scc__story li { counter-increment: st; display: grid; grid-template-columns: 34px 1fr; gap: 2px 10px; padding: 16px 0; border-top: 1px solid var(--line-2); }
.scc__story li:first-child { border-top: 0; padding-top: 0; }
.scc__story li::before { content: "0" counter(st); grid-row: 1 / 3; font: 500 .78rem/1.6 var(--f-mono); color: var(--amber-ink); }
.scc__story .mono { color: var(--muted); }
.scc__story p:last-child { font: 500 1.08rem/1.45 var(--f-sans); letter-spacing: -.015em; color: var(--ink); }
.scc__foot { display: grid; gap: 16px; justify-items: start; padding-top: 16px; border-top: 1px solid var(--line-2); }
.stack { display: flex; flex-wrap: wrap; gap: 6px; }
.stack li { padding: 6px 11px; border-radius: 30px; border: 1px solid var(--line-2); font: 500 .76rem/1.2 var(--f-mono); letter-spacing: .02em; }

.duo__head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-top: var(--s5); }
.duo__head p { color: var(--ink-2); }
.form__demo { font-size: .86rem; color: var(--ink-2); background: var(--paper-2); border-radius: var(--r-sm); padding: 10px 12px; margin-bottom: var(--s3); }
.duo { display: grid; align-items: stretch; grid-template-columns: 1fr 1fr; gap: var(--s4); margin-top: var(--s4); }
.duo__item { display: flex; flex-direction: column; gap: 12px; padding: var(--s4); border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: rgba(255, 253, 248, .45); }
.duo__item--groceria { background: var(--paper-2); }
.duo__img { display: block; overflow: hidden; border-radius: var(--r-sm); aspect-ratio: 16 / 9; background: var(--paper-3); }
.duo__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.duo__item:hover .duo__img img { transform: scale(1.04); }
.duo__k { color: var(--amber-ink); margin-top: 6px; }
.duo__item p:not(.mono) { color: var(--ink-2); max-width: 46ch; }
.duo__item .link-arrow { align-self: flex-start; margin-top: auto; }
.duo__item--faatura .duo__img { aspect-ratio: 16 / 11.2; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line-2); }
.stats div { padding: 12px 0; }
.stats div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.stats dt { font: 500 .72rem/1 var(--f-mono); letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.stats dd { font: 650 2rem/1.1 var(--f-sans); letter-spacing: -.045em; font-variant-numeric: tabular-nums; margin-top: 6px; }

/* ---------- client work: list + fixed preview panel ---------- */
.work__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--s5); align-items: start; }
.index { border-top: 1.5px solid var(--ink); }
.index__row { border-bottom: 1px solid var(--line-2); position: relative; }
.index__row::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.index__row.is-current::before { transform: scaleX(1); }
.index__row > a { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px 12px; padding: 22px 0; text-decoration: none; transition: padding var(--d2) var(--ease); }
.index__no { color: var(--muted); padding-top: .55em; }
.index__main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.index__name { font: 600 clamp(1.45rem, 1.05rem + 1.3vw, 2.2rem)/1.12 var(--f-sans); letter-spacing: -.04em; color: var(--ink-2); transition: color var(--d2); }
.index__sector { color: var(--muted); }
.index__outcome { font-size: 1.02rem; color: var(--ink-2); }
.index__outcome b { color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; }
.index__desc { display: none; }
.index__thumb { display: none; }
.index__row.is-current .index__name, .index__row > a:hover .index__name { color: var(--ink); }
.index__row.is-current .index__no { color: var(--amber-ink); }
.work__panel { position: sticky; top: calc(var(--hdr-h) + 24px); display: grid; gap: 14px; }
.work__panel.is-swap .win img { animation: panelIn .6s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: scale(1.03); } }
.work__panel .win img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.work__panel figcaption { display: grid; gap: 10px; justify-items: start; color: var(--ink-2); line-height: 1.6; }
.wip { display: inline-block; font: 600 .72rem/1 var(--f-sans); letter-spacing: .07em; text-transform: uppercase; color: var(--amber-ink); border: 1px solid currentColor; border-radius: 20px; padding: 5px 8px; margin-right: 6px; }
.work__wip { margin-top: var(--s4); color: var(--ink-2); }
.work__wip b { color: var(--ink); font-weight: 650; }
.work__more { margin-top: var(--s3); display: flex; gap: var(--s4); align-items: center; flex-wrap: wrap; }

/* ---------- applied AI (dark) ---------- */
.ai { background: var(--navy); color: var(--on-dark); }
.ai__inner { max-width: var(--max); margin: 0 auto; padding: var(--sec) var(--gutter); }
.ai .sec-no { color: var(--on-dark-2); }
.ai .h2 em { color: var(--amber); }
.ai .sec-lede { color: var(--on-dark-2); }
.ai__head { display: grid; grid-template-columns: 1.25fr 1fr; gap: var(--s5); align-items: end; margin-bottom: var(--s6); }
.ai__head .sec-no { grid-column: 1 / -1; margin-bottom: 0; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); position: relative; }
.flow::before { content: ""; position: absolute; top: -1px; left: 0; height: 1.5px; width: var(--flow, 0%); background: var(--amber); transition: width 1.8s var(--ease); }
.flow.is-in::before { --flow: 100%; }
.flow__step { padding: var(--s4) var(--s3) var(--s3) 0; display: grid; gap: 8px; position: relative; align-content: start; }
.flow__step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--navy); border: 1.5px solid var(--amber); }
.flow__step .mono { color: var(--amber); }
.flow__step b { font: 600 1.3rem/1.2 var(--f-sans); letter-spacing: -.03em; }
.flow__step span:last-child { color: var(--on-dark-2); font-size: .95rem; }
.flow__step--human::before { background: var(--amber); }
.ai__bottom { display: grid; grid-template-columns: 1fr auto; gap: var(--s5); align-items: end; margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--line-dark); }
.ai__caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.ai__caps li { color: var(--on-dark-2); line-height: 1.6; }
.ai__caps b { display: block; color: var(--on-dark); font-weight: 650; font-size: 1.05rem; letter-spacing: -.015em; margin-bottom: 4px; }
.ai__caps a { color: var(--on-dark); }
.ai__bottom .ai__try { --fill: var(--paper); }

/* ---------- lab ---------- */
.lab__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--s5); align-items: start; }
.lab__side { display: grid; gap: var(--s4); }
.note--feature { background: var(--card); border: 1px solid var(--line-2); border-top: 2px solid var(--ink); border-radius: 0 0 var(--radius-lg) var(--radius-lg); padding: var(--s3) var(--s4) var(--s4); }
.note--feature .h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); }
.meta-demo__arrow { align-self: center; justify-self: center; font: 600 1.4rem/1 var(--f-sans); color: var(--amber-ink); }
.note { border-top: 2px solid var(--ink); padding-top: var(--s3); display: grid; gap: 12px; }
.note p:not(.mono) { color: var(--ink-2); font-size: .98rem; }
.note__id { color: var(--amber-ink); }
.note__code { display: block; background: var(--paper-2); border: 1px solid var(--line); padding: 12px; border-radius: var(--r-sm); text-transform: none; font-size: .76rem; letter-spacing: 0; color: var(--ink-2); overflow-x: auto; white-space: nowrap; }
.note .link-arrow { justify-self: start; }
.meta-demo { display: grid; grid-template-columns: 1.3fr auto 1fr; margin-top: 8px; gap: 12px; text-transform: none; letter-spacing: 0; font-size: .76rem; }
.meta-demo pre { margin: 0; background: var(--ink); color: var(--on-dark); padding: 14px; border-radius: var(--r-sm); overflow-x: auto; font: inherit; line-height: 1.6; }
.meta-demo__out { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 26px; gap: 4px; padding: 10px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-sm); align-content: start; }
.meta-demo__out span { color: var(--muted); align-self: center; }
.meta-demo__out i { background: var(--paper-3); border-radius: 3px; transform-origin: left; transform: scaleX(0); transition: transform .6s var(--ease); transition-delay: calc(var(--n, 0) * 90ms + .3s); }
.meta-demo.is-in .meta-demo__out i { transform: none; }


/* ---------- enquiry ---------- */
.enq { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s6); border-top: 1px solid var(--line); }
.enq__left { display: grid; gap: var(--s3); align-content: start; }
.howwe { margin-top: var(--s2); padding: var(--s3); background: var(--paper-2); border-radius: var(--radius-lg); }
.howwe__t { font: 650 1.2rem/1.3 var(--f-sans); letter-spacing: -.025em; margin-bottom: 12px; }
.howwe__t em { font-family: var(--f-serif); font-weight: 400; font-size: 1.12em; color: var(--ink-2); }
.howwe__steps { counter-reset: hw; display: grid; gap: 10px; }
.howwe__steps li { counter-increment: hw; display: grid; grid-template-columns: 26px 1fr; color: var(--ink-2); line-height: 1.5; }
.howwe__steps li::before { content: counter(hw); font: 500 .8rem/1.6 var(--f-mono); color: var(--amber-ink); grid-row: 1 / 3; }
.howwe__steps b { color: var(--ink); font-weight: 650; display: block; }
.contact { display: grid; border-top: 1px solid var(--line-2); margin-top: var(--s2); }
.contact a { display: grid; grid-template-columns: 100px 1fr; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; font-size: 1.1rem; font-weight: 500; letter-spacing: -.015em; transition: padding var(--d2) var(--ease), color var(--d1); }
.contact a .mono { color: var(--muted); }
.contact a:hover { padding-left: 10px; color: var(--amber-ink); }
.enq__right { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: var(--s4); align-self: start; }
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--paper-2); border-radius: 40px; margin-bottom: var(--s3); }
.tabs button { flex: 1; border: 0; background: transparent; border-radius: 40px; padding: 12px 10px; font-weight: 600; font-size: .94rem; color: var(--ink-2); transition: background var(--d2), color var(--d2); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.pane__ai { display: grid; gap: var(--s3); justify-items: start; padding: var(--s2) 0; }
.pane__lede { font: 500 1.3rem/1.4 var(--f-sans); letter-spacing: -.02em; }
.pane__lede strong { font-weight: 650; }
.pane__small { color: var(--muted); }
.form { display: grid; gap: var(--s3); }
.form label { display: grid; gap: 6px; font-size: .88rem; color: var(--ink-2); font-weight: 600; }
.form input:not([type="checkbox"]), .form select, .form textarea { width: 100%; border: 0; border-bottom: 1.5px solid var(--line-2); background: transparent; padding: 10px 0; font-size: 1rem; font-weight: 400; color: var(--ink); border-radius: 0; outline: none; transition: border-color var(--d1); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ink); }
.form [aria-invalid="true"] { border-color: #b23a1e !important; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.form__row--3 { grid-template-columns: repeat(3, 1fr); }
.form__chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form__chips legend { font-size: .88rem; color: var(--ink-2); font-weight: 600; margin-bottom: 8px; }
.form__chips label { display: inline-block; }
.form__chips input { position: absolute; opacity: 0; }
.form__chips span { display: inline-block; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 30px; font-weight: 500; font-size: .88rem; cursor: pointer; transition: background var(--d1), color var(--d1), border-color var(--d1); }
.form__chips input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.form__chips input:focus-visible + span { outline: 2px solid var(--amber-ink); outline-offset: 2px; }
.form__consent { display: flex !important; gap: 10px !important; align-items: flex-start; font-weight: 400 !important; }
.form__consent input { margin-top: 4px; accent-color: var(--ink); }
.form .btn { justify-self: start; }
.form__msg { color: var(--amber-ink); min-height: 1em; text-transform: none; letter-spacing: 0; font-size: .85rem; }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: var(--on-dark); padding: var(--sec) var(--gutter) 0; overflow: hidden; }
.ftr > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.ftr .mono { color: var(--on-dark-2); }
.ftr__cta { padding-bottom: var(--s6); border-bottom: 1px solid var(--line-dark); }
.ftr__big { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: .25em; font: 620 clamp(2.4rem, 1.2rem + 4.6vw, 5.4rem)/1.02 var(--f-sans); letter-spacing: -.05em; text-decoration: none; margin-top: var(--s2); }
.ftr__big .arr { color: var(--amber); transition: transform var(--d2) var(--ease); }
.ftr__big:hover .arr { transform: translateX(12px) rotate(-45deg); }
.ftr__grid { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr; gap: var(--s5); padding: var(--s5) 0; }
.ftr__nav ul { columns: 2; column-gap: var(--s4); }
.ftr__nav li { padding: 5px 0; break-inside: avoid; }
.place { display: grid; gap: 4px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line-dark); }
.place:last-child { border-bottom: 0; }
.place__city { color: var(--on-dark) !important; font-weight: 600; font-size: 1.05rem; margin: 0 !important; }
.place p { margin: 0 !important; }
.ftr__about img { width: 170px; margin-bottom: var(--s3); }
.ftr__about p { color: var(--on-dark-2); max-width: 36ch; font-size: .96rem; }
.ftr__social { margin-top: var(--s3); display: flex; gap: 18px; }
.ftr__social a, .ftr nav a, .ftr__places a { color: var(--on-dark); text-decoration: none; }
.ftr nav { display: grid; gap: 10px; align-content: start; font-size: .96rem; }
.ftr nav .mono { margin-bottom: 8px; }
.ftr nav a { color: var(--on-dark-2); transition: color var(--d1); }
.ftr nav a:hover, .ftr__social a:hover { color: var(--amber); }
.ftr__places { display: grid; gap: 8px; align-content: start; font-size: .96rem; }
.ftr__places p:not(.mono) { color: var(--on-dark-2); margin-bottom: 14px; }
.ftr__places b { color: var(--on-dark); font-weight: 600; font-variant-numeric: tabular-nums; }
.ftr__base { display: flex; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; padding: var(--s3) 0; border-top: 1px solid var(--line-dark); text-transform: none; letter-spacing: .01em; font-size: .78rem; }
.binary { background: none; border: 0; color: var(--amber); font: inherit; letter-spacing: .06em; padding: 0; min-width: 26ch; text-align: right; }
.ftr__word { font: 700 clamp(3.6rem, 15vw, 16rem)/.8 var(--f-sans); letter-spacing: -.07em; white-space: nowrap; color: rgba(241, 236, 225, .06); margin-top: var(--s3); transform: translateY(14%); user-select: none; text-align: center; max-width: none; }
.ftr__word em { font-family: var(--f-serif); font-weight: 400; color: rgba(245, 165, 36, .24); }

/* ---------- assistant ---------- */
.asst { position: fixed; inset: 0; z-index: 130; }
.asst__scrim { position: absolute; inset: 0; background: rgba(21, 23, 27, .35); opacity: 0; transition: opacity var(--d2); backdrop-filter: blur(2px); }
.asst__panel { position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(460px, calc(100% - 24px)); background: var(--paper); border-radius: 18px; border: 1px solid var(--line-2); display: grid; grid-template-rows: auto auto 1fr auto auto; transform: translateX(calc(100% + 24px)); transition: transform .6s var(--ease); overflow: hidden; box-shadow: 0 40px 100px -30px rgba(21, 23, 27, .5); }
.asst.is-open .asst__scrim { opacity: 1; }
.asst.is-open .asst__panel { transform: none; }
.asst__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.asst__title { font: 650 1.12rem/1.2 var(--f-sans); letter-spacing: -.025em; }
.asst__sub { color: var(--muted); font-size: .7rem; margin-top: 4px; }
.asst__tools { display: flex; gap: 6px; }
.asst__progress { height: 2px; background: var(--line); }
.asst__progress i { display: block; height: 100%; width: 0; background: var(--amber); transition: width .6s var(--ease); }
.asst__log { overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; }
.msg { max-width: 88%; padding: 12px 15px; border-radius: 16px; font-size: .96rem; line-height: 1.5; white-space: pre-line; animation: msgIn .45s var(--ease) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.msg--bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg--q { font-weight: 600; }
.msg--me { background: var(--ink); color: var(--paper); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg--sys { align-self: center; font: 500 .76rem/1.4 var(--f-mono); color: var(--muted); text-align: center; background: none; padding: 4px; }
.typing { display: inline-flex; gap: 4px; align-items: center; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.brief { align-self: stretch; border: 1.5px solid var(--ink); border-radius: var(--r-sm); padding: 14px 16px; background: #fff; }
.brief__t { font: 650 1.05rem/1.2 var(--f-sans); margin-bottom: 8px; }
.brief dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .9rem; }
.brief dt { font: 500 .72rem/1.6 var(--f-mono); text-transform: uppercase; color: var(--muted); }
.brief__note { margin-top: 10px; font-size: .84rem; color: var(--muted); }
.asst__related { padding: 10px 20px; border-top: 1px dashed var(--line-2); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.asst__related .mono { color: var(--muted); font-size: .7rem; margin-right: 4px; }
.asst__related a { font-size: .84rem; padding: 6px 10px; border-radius: 20px; background: var(--paper-2); text-decoration: none; font-weight: 500; }
.asst__related a:hover { background: var(--amber); }
.asst__input { padding: 12px 14px; border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--paper); }
.asst__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.asst__chips:empty { display: none; }
.asst__chips button { border: 1px solid var(--line-2); background: #fff; border-radius: 30px; padding: 8px 13px; font-size: .88rem; font-weight: 500; transition: background var(--d1), border-color var(--d1), color var(--d1); }
.asst__chips button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.asst__row { display: flex; gap: 8px; align-items: flex-end; border: 1.5px solid var(--line-2); border-radius: 16px; padding: 5px 5px 5px 14px; background: #fff; }
.asst__row:focus-within { border-color: var(--ink); }
.asst__row textarea { flex: 1; border: 0; background: transparent; resize: none; outline: none; padding: 8px 0; max-height: 140px; font-size: .98rem; }
.asst__mic.is-listening { background: var(--amber); border-color: var(--amber); }
.asst__send { width: 40px; height: 40px; border-radius: 10px; border: 0; background: var(--amber); color: var(--ink); font-size: 1.05rem; font-weight: 700; flex: none; }
.asst__send:disabled { opacity: .35; cursor: default; }
.asst__foot { color: var(--muted); font-size: .7rem; text-transform: none; letter-spacing: 0; }
.asst .contact-card { display: grid; gap: 8px; }
.asst .contact-card input[type="text"], .asst .contact-card input[type="email"], .asst .contact-card input[type="tel"] { border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; background: #fff; font-size: .95rem; }
.asst .contact-card label { font-size: .84rem; font-weight: 600; color: var(--ink-2); margin-top: 4px; }
.asst .contact-card .contact-card__consent { display: flex; gap: 8px; font-weight: 400; align-items: flex-start; }
.asst .contact-card [aria-invalid="true"] { border-color: #b23a1e; }
.contact-card__msg { color: #9b2f17; font-size: .84rem; min-height: 1em; }
.asst__title:focus { outline: none; }
.asst__title:focus-visible { outline: 2px solid var(--amber-ink); }
.brief:focus { outline: 2px solid var(--amber); outline-offset: 2px; }
.msg--sys a { color: var(--ink); }
.msg--done { border-color: var(--ink); font-weight: 500; }
.asst .contact-card .btn { justify-self: start; }

/* ---------- motion: reveals & split text ---------- */
.js .h2.reveal, .js .sec-lede.reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .h2.reveal.is-in, .js .sec-lede.reveal.is-in { opacity: 1; transform: none; }
.js .reveal-line > span { transform: translateY(108%); transition: transform .8s var(--ease); }
.js .is-ready .reveal-line > span { transform: none; }
.js .reveal-line:nth-child(2) > span { transition-delay: .08s; }
.js .reveal-line:nth-child(3) > span { transition-delay: .16s; }

[data-split] .ch, .menu__txt .ch { display: inline-block; }
.w { display: inline-block; white-space: nowrap; overflow: hidden; vertical-align: top; padding: 0 .08em .1em 0; margin: 0 -.08em -.1em 0; }
[data-weight] .w { overflow: visible; }

/* ---------- responsive ---------- */
@media (max-width: 1100.98px) {
	.hdr__quick { display: none; }
	.hero { grid-template-columns: minmax(0, 1fr); min-height: auto; padding-top: calc(var(--hdr-h) + 24px); gap: var(--s4); }
	.start { max-width: none; }
	/* tablet/phone: a shorter sculpture with its evidence and controls directly under it */
	.lab-fig { min-height: 540px; margin: 0; }
	.lab-fig__canvas { inset: 0 calc(var(--gutter) * -1) 130px; }
	.lab-fig__proof, .lab-fig__ctrl { margin-right: 0; }
	.proof__list { grid-template-columns: 1fr 1fr; }
	.proof__list li:nth-child(3) { border-left: 0; }
	.proof__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
	.caps__grid { grid-template-columns: 1fr; gap: var(--s4); }
	/* touch and narrow screens: every row carries its own thumbnail, no hover needed */
	.work__grid { grid-template-columns: minmax(0, 1fr); }
	.work__panel { display: none; }
	.index__desc { display: block; color: var(--ink-2); font-size: .95rem; }
	.index__thumb { display: block; border-radius: var(--r-sm); margin-top: 6px; width: 100%; max-width: 560px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
	/* phones/tablets: the preview lives inside the open accordion item (moved there by site.js) */
	.stage { position: relative; top: 0; aspect-ratio: auto; margin: 4px 0 20px; }
	.stage__pane { position: relative; inset: auto; display: none; clip-path: none; opacity: 1; }
	.stage__pane.is-on { display: grid; }
	.scc__head, .scc__body { grid-template-columns: 1fr; }
	.scc__shot { grid-row: auto; }
	.ai__head, .sec-head--row { grid-template-columns: 1fr; }
	.lab__grid { grid-template-columns: minmax(0, 1fr); }
	.lab__side { grid-template-columns: 1fr 1fr; }
	.ai__bottom { grid-template-columns: 1fr; }
	.ai__bottom .ai__try { justify-self: start; }
	.enq { grid-template-columns: 1fr; gap: var(--s5); }
	.ftr__grid { grid-template-columns: 1fr 1fr; }
	.ftr__about { grid-column: 1 / -1; }
	.menu__grid { grid-template-columns: 1fr; }
	.menu__preview { border: 0; padding: 0; opacity: 1; }
	.menu__preview .mp { display: none; }
	.menu__preview [data-mp="services"] { display: block !important; animation: none; }
	.menu__preview [data-mp="services"] .mp__lede { display: none; }
	.menu__link { color: var(--on-dark); }
}
@media (max-width: 720.98px) {
	:root { --hdr-h: 62px; --sec: 64px; }
	.hide-sm { display: none !important; }
	.hdr__cta { padding: 0 14px; font-size: .86rem; }
	.hdr__cta .pulse { display: none; }
	.menu-btn { min-width: 0; padding: 0 5px; border: 0; }
	.menu-btn__label { display: none; }   /* the toggle keeps its aria-label */
	.hdr { gap: 10px; }
	.hero__title { font-size: clamp(2.3rem, 10.4vw, 3.1rem); margin: 14px 0 16px; }
	.hero__line { overflow: visible; }
	.hero__title em { white-space: normal; }
	.start { padding: 16px; }
	.ask { padding-left: 12px; }
	.ask__go { padding: 0 14px; }
	.start__ex > span { width: 100%; }
	.lab-fig { min-height: 420px; }
	.lab-fig__canvas { bottom: 170px; }
	.lab-fig__ctrl button:not(.lab-fig__pause) { font-size: .78rem; padding: 10px 4px; }
	.acc__btn { padding: 18px 0; }
	.acc__inner { padding-left: 0; }
	.migrate { grid-template-columns: 1fr; padding: 20px; }
	.migrate__flow { transform: rotate(90deg); height: 40px; }
	.migrate__flow .mono { display: none; }
	.scc { border-radius: var(--r-lg); }
	.scc__facts { grid-template-columns: 1fr; }
	.scc__facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
	.scc__view .win { width: 100%; }
	.scc__view { padding-bottom: 0; display: grid; gap: 12px; }
	.scc__zoom { position: relative; width: 100%; aspect-ratio: 16 / 11; }
	.duo { grid-template-columns: 1fr; }
	.duo__item { padding: 20px; }
	.stats dd { font-size: 1.6rem; }
	.index__desc { display: block; color: var(--ink-2); font-size: .95rem; }
	.index__thumb { display: block; border-radius: var(--r-sm); margin-top: 6px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
	.flow { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line-dark); }
	.flow::before { display: none; }
	.flow__step { padding: 0 0 var(--s3) var(--s3); }
	.flow__step::before { top: 6px; left: -5px; }
	.meta-demo { grid-template-columns: 1fr; }
	.meta-demo__arrow { transform: rotate(90deg); }
	.lab__side, .ai__caps { grid-template-columns: 1fr; }
	.note--feature { padding: var(--s3) 18px; }
	.scc__head { gap: 10px; }
	.ftr__nav ul { columns: 2; }
	.form__row, .form__row--3 { grid-template-columns: 1fr; }
	.enq__right { padding: var(--s3) 18px; }
	.ftr__grid { grid-template-columns: 1fr; }
	.proof__list li { padding: var(--s3) 18px; }
	.asst__panel { top: auto; left: 0; right: 0; bottom: 0; width: 100%; height: 88svh; border-radius: 18px 18px 0 0; transform: translateY(100%); }
	.menu__txt { font-size: clamp(2.1rem, 10vw, 3.2rem); }
	.preview-flag { bottom: 8px; right: 8px; left: auto; transform: none; font-size: 10px; padding: 6px 9px; }
	.preview-flag i { display: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; transition-delay: 0s !important; }
	.js .reveal, .js .h2.reveal, .js .sec-lede.reveal, .js .reveal-line > span, .js .reveal-mask { opacity: 1; transform: none; clip-path: none; }
	.menu { clip-path: none; }
	.stage__pane { transition: none; }
}

/* P2 touch-ups */
.meta-demo { font-family: var(--f-mono); }
.ftr .ftr__base { text-transform: none; letter-spacing: .01em; font-size: .8rem; font-weight: 400; }
.ftr .binary { font-family: var(--f-mono); }
@media (min-width: 1101px) { .enq__right { position: sticky; top: calc(var(--hdr-h) + 24px); } }

/* ---------- P3: colour roles ----------
   Amber marks what you can act on (enquiry buttons) and what is selected (open item, current row, chosen view).
   Editorial accents (kickers, categories) move to the brand navy so orange keeps its meaning. */
.scc__tag, .duo__k, .lab-fig__k, .note__id, .chat-demo__k, .stage__cap b { color: var(--navy); }
.index__outcome b, .scc__facts dd, .stats dd { color: var(--navy); }
.scc .win__bar, .work__panel .win__bar { color: rgba(241, 236, 225, .7); }
.scc .win, .work__panel .win { background: var(--navy); }

/* =====================================================================
   Visual direction (shared handoff, 2026-11-27): cream base, charcoal text,
   solid navy SCC band + footer, amber primary CTA, calmer hero, thumbnail cards.
   ===================================================================== */

/* ---------- hero: one sentence, two actions, the product as the visual ---------- */
.hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: min(100svh, 860px); }
.hero__lead { max-width: 46ch; font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); }
.hero__cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: clamp(22px, 3.4vh, 34px); }
.hero__cta .btn { min-height: 56px; padding: 0 30px; font-size: 1.02rem; }
.hero__assist { margin-top: 22px; display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--ink-2); }
.hero__assist a { font-weight: 600; color: var(--ink); }
.hero__visual { position: relative; align-self: center; margin: 0; padding: 40px 0 40px 24px; }
.hero__bits { position: absolute; inset: -6% -10% -6% -4%; opacity: .5; pointer-events: none; }
.hero__bits canvas { width: 100%; height: 100%; display: block; }
.hero__shot { position: relative; z-index: 1; display: block; text-decoration: none; transform: rotate(-1.2deg); transition: transform .5s var(--ease); }
.hero__shot:hover, .hero__shot:focus-visible { transform: rotate(0deg) translateY(-4px); }
.hero__shot .win { background: var(--navy); box-shadow: 0 40px 80px -40px rgba(12, 35, 64, .55); }
.hero__badge { position: absolute; z-index: 2; top: 8px; right: 8px; display: grid; gap: 2px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 12px 16px; box-shadow: var(--shadow); }
.hero__badge span { font: 600 .74rem/1 var(--f-sans); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.hero__badge b { font: 650 1.05rem/1.2 var(--f-sans); letter-spacing: -.02em; }

/* ---------- Sublime Care Cloud: solid navy band ---------- */
.scc-band { background: var(--navy); color: var(--on-dark); }
.scc-band__inner { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--gutter); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--s6); align-items: center; }
.scc-band__k { font: 600 .78rem/1 var(--f-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--amber); display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.scc-band__k::after { content: ""; width: 36px; height: 2px; background: var(--amber); }
.scc-band .h2 { color: var(--on-dark); font-size: clamp(2.3rem, 1.4rem + 3vw, 4rem); }
.scc-band__lede { margin-top: 16px; font-size: var(--t-lead); color: var(--on-dark-2); max-width: 40ch; line-height: 1.55; }
.scc-band__proof { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.scc-band__n { font: 600 1.2rem/1.2 var(--f-sans); letter-spacing: -.02em; }
.scc-band__n b { font-size: 2.2rem; font-weight: 650; letter-spacing: -.045em; color: var(--amber); margin-right: 6px; }
.scc-band .link-arrow { color: var(--amber); border-color: rgba(245, 165, 36, .5); }
.scc-band .link-arrow:hover { border-color: var(--amber); }
.scc-band__shot { margin: 0; }
.scc-band .win { background: #081a31; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.scc-band__crop { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #fff; }
/* a 1:1 crop of the same real screenshot, different from the hero's full view */
.scc-band__crop img { width: 100%; height: 100%; object-fit: none; object-position: 0 58%; border-radius: 0; }

/* products below the band stay on cream, subordinate to the flagship */
.scc-band + .flag { padding-top: calc(var(--sec) * .5); }
.scc-band + .flag .duo__head { margin-top: 0; }

/* ---------- client work: thumbnail cards ---------- */
.wgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.wcard > a { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 22px; align-items: center; height: 100%; padding: 16px; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); text-decoration: none; transition: border-color var(--d2), box-shadow var(--d2), transform var(--d2) var(--ease); }
.wcard > a:hover, .wcard > a:focus-visible { border-color: var(--ink); box-shadow: var(--shadow); transform: translateY(-3px); }
.wcard__img { display: block; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 16 / 10; background: var(--paper-3); border: 1px solid var(--line); }
.wcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.wcard__body { display: grid; gap: 8px; align-content: center; }
.wcard__sector { font: 600 .74rem/1.3 var(--f-sans); letter-spacing: .07em; text-transform: uppercase; color: var(--navy); }
.wcard__name { font: 650 clamp(1.25rem, 1.05rem + .7vw, 1.6rem)/1.15 var(--f-sans); letter-spacing: -.035em; color: var(--ink); }
.wcard__outcome { color: var(--ink-2); font-size: .96rem; line-height: 1.55; }
.wcard__more { font-weight: 600; font-size: .92rem; color: var(--ink); justify-self: start; border-bottom: 1.5px solid var(--amber); padding-bottom: 2px; }
.wcard__more::after { content: " →"; }

/* ---------- AI section: cream, holds the one assistant example ---------- */
.ai__body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--s6); align-items: start; }
.ai__body .start { margin-top: 0; max-width: none; background: #fff; }
.ai__caps { display: grid; gap: 22px; }
.ai__caps li { color: var(--ink-2); padding-left: 18px; border-left: 2px solid var(--navy); }
.ai__caps b { color: var(--ink); }
.ai__caps a { color: var(--ink); }

/* ---------- navy footer ---------- */
.ftr { background: var(--navy); }
.ftr__word { color: rgba(241, 236, 225, .07); }

/* ---------- responsive ---------- */
@media (max-width: 1100.98px) {
	.hero { grid-template-columns: minmax(0, 1fr); }
	.hero__visual { padding: 24px 0 8px; }
	.scc-band__inner { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
	.ai__body { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
}
@media (max-width: 860px) {
	.wgrid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720.98px) {
	.hero__cta { gap: 18px; }
	.hero__cta .btn { width: 100%; justify-content: center; }
	.hero__shot { transform: none; }
	.hero__badge { top: auto; bottom: -6px; right: 10px; padding: 9px 12px; }
	.wcard > a { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.scc-band__n b { font-size: 1.9rem; }
	.scc-band__crop { aspect-ratio: 4 / 3; }
}
.ai__caps { grid-template-columns: minmax(0, 1fr); }
.hero__assist { display: block; }
.hero__assist .pulse { margin-right: 8px; vertical-align: middle; }
.hero { min-height: min(100svh, 780px); }
@media (max-width: 1100.98px) { .hero__bits { inset: -4% 0; } }
.hero { min-height: min(100svh, 880px); } .hero .lab-fig { min-height: 560px; }

.lab-fig__bin { font: 500 .72rem/1.4 var(--f-mono); letter-spacing: .04em; color: var(--muted); }

/* ---------- Applied AI: navy section restored (owner request) ---------- */
.ai__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); margin-top: var(--s5); border-radius: var(--r-lg); overflow: hidden; }
.ai__card { background: var(--navy); padding: var(--s4) 28px; display: grid; gap: 10px; align-content: start; min-height: 210px; }
.ai__card .mono { font-family: var(--f-mono); font-weight: 500; font-size: .74rem; letter-spacing: .04em; color: var(--amber); }
.ai__card .h3 { color: var(--on-dark); }
.ai__card p:not(.mono) { color: var(--on-dark-2); font-size: .96rem; line-height: 1.6; }
.ai__card a { color: var(--on-dark); }
.ai__try { background: var(--amber); color: var(--ink); border: 0; text-align: left; padding: var(--s4) 28px; display: grid; align-content: space-between; gap: var(--s3); transition: background var(--d2); }
.ai__try:hover { background: #ffb43f; }
.ai__try .mono { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .04em; color: var(--ink); }
.ai__try-t { font: 650 1.65rem/1.1 var(--f-sans); letter-spacing: -.04em; max-width: 11ch; }
.ai__try-a { font-size: 2rem; justify-self: end; transition: transform var(--d2) var(--ease); }
.ai__try:hover .ai__try-a { transform: translateX(6px) rotate(-45deg); }
@media (max-width: 1100.98px) { .ai__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720.98px) { .ai__grid { grid-template-columns: 1fr; } .ai__card { min-height: 0; } }
.ai .sec-no::before { background: var(--on-dark-2); }

/* hero: brand navy touch (owner request) */
.lab-fig__proof { border-left: 3px solid var(--navy); }
.lab-fig__bin { font: 600 .8rem/1.4 var(--f-mono); letter-spacing: .02em; color: var(--navy); }
.lab-fig__ctrl { background: rgba(12, 35, 64, .08); }
.lab-fig__ctrl button[aria-pressed="true"]:not(.lab-fig__pause) { background: var(--navy); }
.lab-fig__pause { color: var(--navy); }
.eyebrow .dot { background: var(--navy); }

/* ---------- hero: the sculpture owns the right column; its story lives in the left column ---------- */
.hero .lab-fig { grid-template-rows: 1fr auto; min-height: 640px; padding-top: 0; }
.hero .lab-fig__canvas { inset: -2% -4% 64px -10%; }
.hero .lab-fig__ctrl { grid-row: 2; margin-top: 0; }
.hero__now { margin-top: 30px; padding-left: 18px; border-left: 2px solid var(--navy); max-width: 54ch; }
.hero__now.is-swap .hero__now-v { animation: proofIn .5s var(--ease) both; }
.hero__now-k { display: flex; align-items: center; gap: 8px; font: 600 .74rem/1 var(--f-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hero__now-k [data-proof-k] { color: var(--navy); }
.hero__now-sep { color: var(--line-2); }
.hero__now-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(245, 165, 36, .6); animation: nowPing 2.2s var(--ease) infinite; }
@keyframes nowPing { 0% { box-shadow: 0 0 0 0 rgba(245, 165, 36, .55); } 100% { box-shadow: 0 0 0 10px rgba(245, 165, 36, 0); } }
.hero__now-t { margin-top: 10px; font: 600 1.05rem/1.3 var(--f-mono); letter-spacing: -.01em; color: var(--navy); min-height: 1.3em; }
.hero__now-t .g { color: var(--amber-ink); }
.hero__now-v { margin-top: 6px; color: var(--ink-2); font-size: .98rem; line-height: 1.55; }
.hero__now-v a { font-weight: 600; color: var(--ink); white-space: nowrap; text-decoration: none; border-bottom: 1.5px solid var(--amber); }
.hero__now-v a::after { content: " →"; }
.hero__assist { margin-top: 22px; }
@media (max-width: 1100.98px) {
	.hero .lab-fig { min-height: 520px; }
	.hero .lab-fig__canvas { inset: 0 calc(var(--gutter) * -1) 64px; }
}
@media (max-width: 720.98px) {
	.hero .lab-fig { min-height: 440px; }
	.hero__now-t { font-size: .92rem; }
}

/* hero: the start box is back; shorter sculpture (owner feedback) */
.hero .start { margin-top: clamp(18px, 2.6vh, 26px); }
.start__sep { color: var(--muted); margin: 0 6px; }
.hero__now { margin-top: 22px; }
.hero__now-t { margin-top: 0; }
.hero .lab-fig { min-height: 520px; align-self: center; }
.hero .lab-fig__canvas { inset: 0 -4% 64px -8%; }
@media (max-width: 1100.98px) { .hero .lab-fig { min-height: 440px; } .hero .lab-fig__canvas { inset: 0 calc(var(--gutter) * -1) 64px; } }
@media (max-width: 720.98px) { .hero .lab-fig { min-height: 380px; } }

/* hero balance (owner sketch): the sculpture spans the full height of the copy column;
   its controls and the project line sit at the bottom of the right column */
.hero { align-items: stretch; }
.hero__copy { align-self: center; }
.hero .lab-fig { min-height: 0; align-self: stretch; display: flex; flex-direction: column; gap: 14px; padding: 0; }
.hero .lab-fig__canvas { position: relative; inset: auto; flex: 1 1 auto; min-height: 360px; margin: 0 -4% 0 -10%; }
.hero .lab-fig__ctrl { margin: 0; }
.hero .lab-fig .hero__now { margin: 4px 0 0; max-width: none; }
@media (max-width: 1100.98px) {
	.hero .lab-fig__canvas { min-height: 340px; margin: 0 calc(var(--gutter) * -1); }
}
@media (max-width: 720.98px) {
	.hero .lab-fig__canvas { min-height: 300px; }
}
.hero .lab-fig { margin: 0; }

/* compact start box */
.hero .start { padding: 14px 16px; }
.start__t { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; font-size: 1.05rem; }
.start__t span { font: 400 .86rem/1.3 var(--f-sans); letter-spacing: 0; color: var(--muted); }
.hero .start__prompts { margin-top: 10px; }
.hero .start__alt { margin-top: 10px; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 4px 0; align-items: baseline; font-size: .86rem; }
.start__note { margin-left: auto; color: var(--muted); }

/* logo: the live site's own file (bit_byte_logo.png, white on transparent).
   On the cream header it is rendered dark; on navy (open menu, footer) it shows as-is. */
.hdr__logo { height: 40px; width: auto; filter: brightness(0); transition: filter var(--d2), height var(--d2) var(--ease); }
.hdr.is-scrolled .hdr__logo { height: 34px; }
body.menu-open .hdr__logo { filter: none; }
@media (max-width: 720.98px) { .hdr__logo { height: 34px; } }
.hdr__logo { height: 50px; }
.hdr.is-scrolled .hdr__logo { height: 40px; }
@media (max-width: 720.98px) { .hdr__logo { height: 38px; } }

/* ---------- client work: showcase in the hero's language (selector + big navy frame + project line) ---------- */
.show { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5); align-items: center; }
.show__tabs { display: grid; gap: 6px; padding: 6px; background: rgba(12, 35, 64, .06); border-radius: var(--r-lg); }
.show__tab { width: 100%; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: center; padding: 8px 14px 8px 8px; border: 0; border-radius: var(--r-md); background: transparent; text-align: left; color: var(--ink); transition: background var(--d2), color var(--d2); }
.show__tab:hover { background: rgba(255, 255, 255, .7); }
.show__tab[aria-pressed="true"] { background: var(--navy); color: var(--on-dark); }
.show__thumb { display: block; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: var(--paper-3); }
.show__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.show__meta { display: grid; gap: 2px; }
.show__meta b { font: 650 1.05rem/1.25 var(--f-sans); letter-spacing: -.02em; }
.show__meta span { font: 600 .72rem/1.3 var(--f-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.show__tab[aria-pressed="true"] .show__meta span { color: var(--amber); }
.show__now { margin-top: 22px; max-width: none; }
.show__now.is-swap .hero__now-v { animation: proofIn .5s var(--ease) both; }
.show__stage { margin: 0; }
.show__stage.is-swap .win img { animation: panelIn .55s var(--ease) both; }
.show__shot { display: block; text-decoration: none; transition: transform .5s var(--ease); }
.show__shot:hover { transform: translateY(-4px); }
.show__shot .win { background: var(--navy); box-shadow: 0 40px 80px -40px rgba(12, 35, 64, .55); }
.show__shot .win img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
@media (max-width: 1100.98px) {
	.show { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
	.show__stage { order: -1; }
}
@media (max-width: 720.98px) {
	.show__tab { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
	.show__meta b { font-size: .98rem; }
}

/* client work: the selected project's line replaces the section lede */
.work .sec-head .show__now { margin-top: 0; align-self: end; }
.show__side { align-self: center; }

.asst__mode { display: inline-block; margin-top: 6px; font: 600 .72rem/1 var(--f-sans); letter-spacing: .04em; color: var(--ink); background: var(--amber); border-radius: 20px; padding: 5px 9px; }
.form button[disabled] { opacity: .55; cursor: not-allowed; }

/* review fixes: focus on dark/amber surfaces, shorter sculpture on phones */
.scc-band :focus-visible, .show__tab[aria-pressed="true"]:focus-visible, .lab-fig__ctrl button[aria-pressed="true"]:focus-visible { outline-color: var(--amber); }
.ai__try:focus-visible, .btn--amber:focus-visible, .ask__go:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; box-shadow: 0 0 0 6px var(--on-dark); }
@media (max-width: 720.98px) {
	.hero .lab-fig { gap: 10px; }
	.hero .lab-fig__canvas { min-height: 240px; }
}

/* amber brush stroke behind the header logo (owner request) */
.hdr__brand { position: relative; isolation: isolate; }
.hdr__brush { position: absolute; z-index: -1; left: -10px; right: -12px; top: 50%; height: 78%; width: calc(100% + 22px); transform: translateY(-46%) rotate(-2deg); clip-path: inset(0 100% 0 0); animation: brushIn .9s .25s var(--ease) forwards; }
@keyframes brushIn { to { clip-path: inset(0 0 0 0); } }
.hdr__brand:hover .hdr__brush { transform: translateY(-46%) rotate(-1deg) scale(1.03); transition: transform .4s var(--ease); }
body.menu-open .hdr__brush { opacity: .9; }
@media (prefers-reduced-motion: reduce) { .hdr__brush { animation: none; clip-path: none; } }

/* logo backdrop: two rows of amber binary instead of a painted brush (owner request) */
.hdr__brush { display: none; }
.hdr__bits { position: absolute; z-index: -1; left: -6px; top: 50%; display: grid; gap: 1px; transform: translateY(-38%) rotate(-3deg); font: 600 10.5px/1.1 var(--f-mono); letter-spacing: .14em; color: var(--amber); white-space: nowrap; pointer-events: none; opacity: 0; animation: bitsIn .8s .3s var(--ease) forwards; }
.hdr__bits span:last-child { padding-left: 18px; opacity: .55; }
@keyframes bitsIn { from { opacity: 0; transform: translateY(-38%) rotate(-3deg) translateX(-10px); } to { opacity: 1; transform: translateY(-38%) rotate(-3deg); } }
.hdr.is-scrolled .hdr__bits { font-size: 9px; }
@media (max-width: 720.98px) { .hdr__bits { font-size: 8.5px; letter-spacing: .1em; } }
@media (prefers-reduced-motion: reduce) { .hdr__bits { animation: none; opacity: 1; } }
.hdr__bits { left: 0; right: 0; overflow: hidden; font-size: 9.5px; letter-spacing: .1em; }
.hdr__bits span { display: block; overflow: hidden; }
@keyframes bitsIn { from { opacity: 0; } to { opacity: .6; } }
@media (prefers-reduced-motion: reduce) { .hdr__bits { opacity: .6; } }
/* binary line under the logo: "B&B" in ASCII, decodes on hover */
.hdr__brand { display: inline-grid; justify-items: start; row-gap: 1px; }
.hdr__bits { position: static; z-index: auto; transform: none; display: block; width: 100%; overflow: hidden; text-align: justify; text-align-last: justify; font: 600 8.5px/1 var(--f-mono); letter-spacing: .12em; color: var(--amber-ink); opacity: 1; animation: none; padding-left: 4px; }
.hdr__logo { height: 42px; }
.hdr.is-scrolled .hdr__logo { height: 34px; }
.hdr.is-scrolled .hdr__bits { font-size: 7.5px; }
body.menu-open .hdr__bits { color: var(--amber); }
@media (max-width: 720.98px) { .hdr__logo { height: 32px; } .hdr__bits { font-size: 7px; } }
/* logo decoration removed (owner): plain live logo */
.hdr__brand { display: flex; }
.hdr__logo { height: 50px; }
.hdr.is-scrolled .hdr__logo { height: 40px; }
@media (max-width: 720.98px) { .hdr__logo { height: 38px; } }
/* logo in brand colours: the live logo file is used as a mask; its binary-circle row is filled amber, the rest charcoal */
.hdr__logo--mask { display: block; height: 50px; aspect-ratio: 400 / 133; filter: none;
	-webkit-mask: var(--bbl2-logo, url("../img/bit_byte_logo.png")) center / contain no-repeat; mask: var(--bbl2-logo, url("../img/bit_byte_logo.png")) center / contain no-repeat;
	background: linear-gradient(var(--amber), var(--amber)) 64% 29% / 44% 26% no-repeat, var(--ink); }
.hdr.is-scrolled .hdr__logo--mask { height: 40px; }
body.menu-open .hdr__logo--mask { background: linear-gradient(var(--amber), var(--amber)) 64% 29% / 44% 26% no-repeat, var(--on-dark); filter: none; }
@media (max-width: 720.98px) { .hdr__logo--mask { height: 38px; } }
/* plus the "1" of "1it" in amber */
.hdr__logo--mask { background: linear-gradient(var(--amber), var(--amber)) 3.2% 8% / 6.5% 32% no-repeat, linear-gradient(var(--amber), var(--amber)) 64% 29% / 44% 26% no-repeat, var(--ink); }
body.menu-open .hdr__logo--mask { background: linear-gradient(var(--amber), var(--amber)) 3.2% 8% / 6.5% 32% no-repeat, linear-gradient(var(--amber), var(--amber)) 64% 29% / 44% 26% no-repeat, var(--on-dark); }
/* logo: "1" back to charcoal; an amber dot (the site's pulse-dot pattern) fills the counter of the big round B */
.hdr__logo--mask { background: linear-gradient(var(--amber), var(--amber)) 64% 29% / 44% 26% no-repeat, var(--ink); }
body.menu-open .hdr__logo--mask { background: linear-gradient(var(--amber), var(--amber)) 64% 29% / 44% 26% no-repeat, var(--on-dark); }
.hdr__brand { position: relative; isolation: isolate; }
.hdr__brand::before { content: ""; position: absolute; z-index: -1; left: var(--dot-x, 14.5%); top: var(--dot-y, 70%); width: var(--dot-s, 9%); aspect-ratio: 1; border-radius: 50%; background: var(--amber); transform: translate(-50%, -50%); box-shadow: 0 0 0 3px rgba(245, 165, 36, .22); transition: transform .4s var(--ease); }
.hdr__brand:hover::before { transform: translate(-50%, -50%) scale(1.15); }

/* ---------- enquiry: navy + cream split card (owner: mix in the blue) ---------- */
.enq2 { max-width: var(--max); margin: 0 auto; padding: calc(var(--sec) * .62) var(--gutter); }
.enq2__card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -50px rgba(12, 35, 64, .5); }
.enq2__side { background: var(--navy); color: var(--on-dark); padding: clamp(28px, 4vw, 52px); display: grid; align-content: start; gap: 22px; }
.enq2__k { font: 600 .78rem/1 var(--f-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--amber); display: flex; align-items: center; gap: 12px; }
.enq2__k::after { content: ""; width: 36px; height: 2px; background: var(--amber); }
.enq2__side .h2 { color: var(--on-dark); font-size: clamp(2rem, 1.3rem + 2.2vw, 3.1rem); }
.enq2__side .h2 em { color: var(--amber); }
.enq2__lede { color: var(--on-dark-2); font-size: 1.02rem; line-height: 1.6; max-width: 42ch; }
.enq2__steps { counter-reset: st; display: grid; gap: 0; border-left: 1.5px solid var(--line-dark); margin-left: 12px; }
.enq2__steps li { counter-increment: st; position: relative; padding: 0 0 18px 26px; display: grid; gap: 2px; }
.enq2__steps li:last-child { padding-bottom: 0; }
.enq2__steps li::before { content: counter(st); position: absolute; left: -13px; top: -2px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); border: 1.5px solid var(--amber); color: var(--amber); font: 600 .72rem/1 var(--f-mono); }
.enq2__steps b { font-weight: 650; color: var(--on-dark); }
.enq2__steps span { color: var(--on-dark-2); font-size: .94rem; }
.enq2__contact { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 22px; border-top: 1px solid var(--line-dark); }
.enq2__contact a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r-md); background: rgba(241, 236, 225, .06); border: 1px solid var(--line-dark); text-decoration: none; color: var(--on-dark); font-size: .9rem; font-weight: 500; transition: background var(--d2), border-color var(--d2); min-width: 0; }
.enq2__contact a > span:last-child { display: grid; min-width: 0; overflow-wrap: anywhere; }
.enq2__contact small { font: 600 .68rem/1.3 var(--f-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--amber); }
.enq2__contact a:hover, .enq2__contact a:focus-visible { background: rgba(245, 165, 36, .12); border-color: var(--amber); }
.enq2__ico { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: var(--navy); }
.enq2__ico svg { width: 18px; height: 18px; }
.enq2__side :focus-visible { outline-color: var(--amber); }

.enq2__form { background: var(--card); padding: clamp(24px, 3.4vw, 44px); }
.enq2__form-t { font: 650 1.2rem/1.3 var(--f-sans); letter-spacing: -.02em; color: var(--navy); margin-bottom: 20px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.enq2__form-t span { font: 400 .88rem/1.4 var(--f-sans); letter-spacing: 0; color: var(--muted); }
.form--boxed { gap: 18px; }
.form--boxed label { color: var(--navy); }
.form--boxed input:not([type="checkbox"]), .form--boxed select, .form--boxed textarea { background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); padding: 12px 14px; transition: border-color var(--d1), box-shadow var(--d1); }
.form--boxed input:not([type="checkbox"]):focus, .form--boxed select:focus, .form--boxed textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(12, 35, 64, .12); }
.form--boxed ::placeholder { color: #8a877d; }
.form--boxed .form__chips legend { color: var(--navy); }
.form--boxed .form__chips span { background: #fff; }
.form--boxed .form__chips input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.form--boxed .form__consent { color: var(--ink-2); }
.form--boxed .form__consent input { accent-color: var(--navy); }
.enq2__submit { justify-self: stretch !important; justify-content: center; min-height: 54px; }
.enq2__form .form__demo { margin: 0; font-size: .8rem; text-align: center; background: none; padding: 0; color: var(--muted); }
@media (max-width: 1100.98px) { .enq2__card { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720.98px) { .enq2__contact { grid-template-columns: minmax(0, 1fr); } .enq2__card { border-radius: var(--r-lg); } }
.enq2__contact li:nth-child(2) { grid-column: 1 / -1; order: 3; } .enq2__contact li:nth-child(3) { order: 1; } .enq2__contact li:nth-child(4) { order: 2; } .enq2__contact li:first-child { order: 0; grid-column: 1 / -1; }

/* ---------- company strip (replaces the four-number band): a live, terminal-like line ---------- */
.strip { background: var(--navy); color: var(--on-dark-2); border-block: 1px solid rgba(0, 0, 0, .2); }
.strip__inner { max-width: var(--max); margin: 0 auto; padding: 18px var(--gutter); display: flex; align-items: center; gap: 14px 36px; flex-wrap: wrap; font: 500 .86rem/1.4 var(--f-mono); }
.strip__live { display: flex; align-items: center; gap: 8px; padding-right: 32px; border-right: 1px solid var(--line-dark); white-space: nowrap; }
.strip__live time { color: var(--on-dark); font-weight: 600; font-variant-numeric: tabular-nums; }
.strip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); animation: nowPing 2.2s var(--ease) infinite; }
.strip__sep { color: var(--line-dark); }
.strip__k { color: var(--amber); text-transform: uppercase; letter-spacing: .06em; font-size: .74rem; }
.strip__facts { display: flex; flex-wrap: wrap; gap: 10px 34px; }
.strip__facts li { white-space: nowrap; }
.strip__facts b { color: var(--on-dark); font-weight: 600; font-size: 1.05rem; display: inline-block; text-align: left; }
.strip__facts small { color: var(--on-dark-2); opacity: .75; font-size: .76rem; }
@media (max-width: 1100.98px) { .strip__live { border-right: 0; padding-right: 0; width: 100%; } }
@media (max-width: 720.98px) { .strip__inner { padding: 16px 20px; font-size: .8rem; } .strip__facts { gap: 8px 22px; } .strip__facts li { white-space: normal; } }
.strip__live { border-right: 0; padding-right: 0; width: 100%; }

/* strip: decoding highlight + tidy responsive grid */
.strip__facts b { transition: color .3s, text-shadow .3s; }
.strip__facts b.is-decoding { color: var(--amber); text-shadow: 0 0 12px rgba(245, 165, 36, .45); }
@media (max-width: 1100.98px) {
	.strip__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; width: 100%; }
	.strip__facts li { white-space: normal; }
}
@media (max-width: 720.98px) {
	.strip__inner { gap: 12px; }
	.strip__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
	.strip__facts li:nth-child(3) { grid-column: 1 / -1; }
	.strip__live { flex-wrap: wrap; row-gap: 4px; }
}
@media (max-width: 360px) { .strip__facts { grid-template-columns: minmax(0, 1fr); } }

/* ---------- what-we-build marquee (replaces the company strip; owner: no stats) ---------- */
.strip { display: none; }
.mq { background: var(--navy); color: var(--on-dark); overflow: hidden; padding: 18px 0; border-block: 1px solid rgba(0, 0, 0, .2); }
.mq__rows { display: grid; gap: 10px; }
.mq__row { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.mq__track { display: flex; align-items: center; width: max-content; animation: mqLeft 60s linear infinite; }
.mq__row--stack .mq__track { animation-name: mqRight; animation-duration: 52s; }
.mq:hover .mq__track { animation-play-state: paused; }
@keyframes mqLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes mqRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.mq__item { white-space: nowrap; padding: 0 22px; }
.mq__row--build .mq__item { font: 600 clamp(1.15rem, .95rem + .8vw, 1.6rem)/1.2 var(--f-sans); letter-spacing: -.025em; }
.mq__row--stack .mq__item { font: 500 .86rem/1.2 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--on-dark-2); }
.mq__sep { font: 500 .7rem/1 var(--f-mono); letter-spacing: .1em; color: var(--amber); opacity: .9; }
.mq__row--stack .mq__sep { opacity: .55; }
@media (max-width: 720.98px) { .mq { padding: 14px 0; } .mq__item { padding: 0 14px; } }
@media (prefers-reduced-motion: reduce) { .mq__track { animation: none; } .mq__row { overflow-x: auto; } }

/* footer big word: binary by default, decodes on hover */
.ftr__word { cursor: default; user-select: none; transition: color .5s var(--ease); }
.ftr__word .bw { display: inline-block; min-width: .52em; text-align: center; transition: color .3s, transform .3s var(--ease); }
.ftr__word em .bw { min-width: .6em; }
.ftr__word:hover, .ftr__word.is-word { color: rgba(241, 236, 225, .16); }
.ftr__word .bw.is-flip { color: var(--amber); transform: translateY(-4%); }
.ftr__word em { color: rgba(245, 165, 36, .3); }
.ftr__word .bw, .ftr__word em .bw { min-width: 0; overflow: visible; }

/* ---------- services: sticky title list + scrolling cards (owner: like cerebrium.ai "Why" section) ---------- */
.svc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s6); align-items: start; }
.svc__side { position: sticky; top: calc(var(--hdr-h) + 40px); display: grid; grid-template-columns: 3px minmax(0, 1fr); gap: 0 26px; }
.svc__side .svc__nav { grid-column: 2; grid-row: 1; }
.svc__bar { grid-column: 1; grid-row: 1; position: relative; background: var(--line); border-radius: 3px; overflow: hidden; }
.svc__bar i { position: absolute; inset: 0 0 auto; height: 25%; background: var(--amber); border-radius: 3px; transition: transform .5s var(--ease); }
.svc__nav ol { display: grid; }
.svc__nav a { display: flex; align-items: baseline; gap: 16px; padding: 10px 0; text-decoration: none; color: rgba(25, 24, 22, .22); font: 650 clamp(1.6rem, 1rem + 1.9vw, 2.75rem)/1.08 var(--f-sans); letter-spacing: -.035em; transition: color .3s var(--ease); }
.svc__n { font-size: .78rem; letter-spacing: .06em; font-weight: 500; color: inherit; transform: translateY(-.9em); transition: color .3s; }
.svc__nav a:hover { color: rgba(25, 24, 22, .55); }
.svc__nav a.is-on { color: var(--navy); }
.svc__nav a.is-on .svc__n { color: var(--amber-ink); }
.svc__nav a:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; border-radius: 4px; }
.svc__cards { display: grid; gap: var(--s5); }
.svc__card { scroll-margin-top: calc(var(--hdr-h) + 40px); border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line-2); overflow: hidden; box-shadow: 0 30px 60px -48px rgba(12, 35, 64, .45); transition: border-color .4s, box-shadow .4s; }
.svc__card.is-on { border-color: rgba(12, 35, 64, .35); box-shadow: 0 40px 80px -46px rgba(12, 35, 64, .6); }
.svc__vis { background: var(--navy); padding: clamp(18px, 2.6vw, 34px); position: relative; }
.svc__vis::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 165, 36, .35), transparent 70%); pointer-events: none; }
.svc__vis .win { position: relative; z-index: 1; }
.svc__vis .stage__cap { color: var(--on-dark-2); margin-top: 14px; position: relative; z-index: 1; }
.svc__vis .stage__cap b { color: var(--amber); }
.svc__vis .chat-demo, .svc__vis .migrate { position: relative; z-index: 1; }
.svc__body { padding: clamp(22px, 2.6vw, 34px); display: grid; gap: 12px; }
.svc__k { font-size: .74rem; letter-spacing: .08em; color: var(--amber-ink); }
.svc__h { font: 650 1.45rem/1.2 var(--f-sans); letter-spacing: -.025em; color: var(--navy); }
.svc__body > p:not(.svc__k) { color: var(--ink-2); font-size: 1.02rem; line-height: 1.6; }
.svc__points { display: flex; flex-wrap: wrap; gap: 8px; }
.svc__points li { font-size: .86rem; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--paper); }
.svc__body .link-arrow { justify-self: start; margin-top: 4px; }
@media (max-width: 960.98px) {
  .svc { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .svc__side { display: none; }
}

/* ---------- service card visuals: illustrations of the service, no repeated client projects ---------- */
.sv { position: relative; z-index: 1; color: var(--on-dark); min-height: 230px; display: grid; align-content: center; gap: 16px; }
.sv__k { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); }
.sv__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sv__grid span, .sv__grid b { padding: 16px 10px; border-radius: var(--r-md); text-align: center; font-size: .92rem; font-weight: 500; border: 1px solid var(--line-dark); background: rgba(241, 236, 225, .05); }
.sv__grid b { background: var(--amber); color: var(--navy); border-color: var(--amber); font-weight: 700; }
.sv__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; counter-reset: none; }
.sv__steps li { position: relative; padding: 18px 12px; border-radius: var(--r-md); border: 1px solid var(--line-dark); background: rgba(241, 236, 225, .05); font-weight: 600; font-size: .95rem; display: grid; gap: 8px; }
.sv__steps li span { color: var(--amber); font-size: .72rem; font-weight: 500; }
.sv__steps li:last-child { background: var(--amber); color: var(--navy); border-color: var(--amber); }
.sv__steps li:last-child span { color: var(--navy); }
.sv__steps li:not(:last-child)::after { content: "→"; position: absolute; right: -9px; top: 50%; transform: translateY(-50%); color: var(--amber); font-size: .8rem; z-index: 1; }
.sv--mig { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; }
.sv__box { padding: 18px; border-radius: var(--r-md); border: 1px solid var(--line-dark); background: rgba(241, 236, 225, .05); display: grid; gap: 4px; }
.sv__box span { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); }
.sv__box b { font-size: 1.15rem; }
.sv__box small { color: var(--on-dark-2); font-size: .82rem; }
.sv__box--new { background: var(--amber); color: var(--navy); border-color: var(--amber); }
.sv__box--new span, .sv__box--new small { color: var(--navy); opacity: .75; }
.sv__arrow { display: flex; gap: 5px; }
.sv__arrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); opacity: .3; animation: svDot 1.6s var(--ease) infinite; }
.sv__arrow i:nth-child(2) { animation-delay: .15s; } .sv__arrow i:nth-child(3) { animation-delay: .3s; } .sv__arrow i:nth-child(4) { animation-delay: .45s; } .sv__arrow i:nth-child(5) { animation-delay: .6s; }
@keyframes svDot { 50% { opacity: 1; } }
.sv__note { grid-column: 1 / -1; font-size: .74rem; letter-spacing: .06em; color: var(--on-dark-2); text-align: center; }
@media (max-width: 600px) {
  .sv { min-height: 0; }
  .sv__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv__steps li:nth-child(2)::after { display: none; }
  .sv--mig { grid-template-columns: minmax(0, 1fr); }
  .sv__arrow { justify-content: center; transform: rotate(90deg); }
}
@media (prefers-reduced-motion: reduce) { .sv__arrow i { animation: none; opacity: .7; } }

/* ---------- Codex update-review fixes ---------- */
/* client work, stacked: compact selector first, screenshot, then the project line + link (matches focus order) */
@media (max-width: 1100.98px) {
  .show__stage { order: 0; }
  .show__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .show__tab { grid-template-columns: minmax(0, 1fr); padding: 10px 12px; }
  .show__thumb { display: none; }
  .show > .show__now { margin-top: 0; }
}
/* hero input status line */
.ask__msg { min-height: 0; font-size: .84rem; color: var(--muted); margin: 6px 0 0; }
.ask__msg:empty { display: none; }
/* phones: the view controls and project line sit above a shorter sculpture */
@media (max-width: 720.98px) {
  .hero .lab-fig__ctrl { order: -2; }
  .hero .lab-fig .hero__now { order: -1; margin: 0; }
  .hero .lab-fig__canvas { min-height: 220px; }
}

/* ---------- Codex sticky-review fixes ---------- */
/* readable inactive titles (#6b675d on paper ≈ 4.96:1), numbers included; current = navy + amber marker */
.svc__nav a, .svc__nav a .svc__n { color: #6b675d; }
.svc__nav a:hover, .svc__nav a:focus-visible { color: var(--ink-2); }
.svc__nav a.is-on { color: var(--navy); }
.svc__nav a.is-on .svc__n { color: var(--amber-ink); }
/* header offset applied once (global scroll-padding already includes the header) */
.svc__card { scroll-margin-top: 16px; }
.svc__h:focus { outline: none; }
.svc__h:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; border-radius: 4px; }
/* marker follows the real row */
.svc__bar i { height: 25%; transition: transform .45s var(--ease), height .45s var(--ease); }
/* short windows: the list can't fit pinned, so it scrolls with the page */
@media (min-width: 961px) and (max-height: 560px) { .svc__side { position: relative; top: 0; } }
/* phones/tablets: number, name and one line first, then a compact visual, then points and link */
@media (max-width: 960.98px) {
  .svc__card { display: flex; flex-direction: column; gap: 10px; padding: 22px 0 24px; }
  .svc__body { display: contents; }
  .svc__body > * { margin-inline: clamp(18px, 5vw, 28px); }
  .svc__k { order: 1; }
  .svc__h { order: 2; }
  .svc__body > p:not(.svc__k) { order: 3; }
  .svc__vis { order: 4; margin: 8px 0 4px; padding: 18px clamp(18px, 5vw, 28px); }
  .svc__points { order: 5; }
  .svc__body .link-arrow { order: 6; }
  .svc__vis .stage__cap { display: none; }
  .sv { min-height: 0; gap: 12px; }
  .svc__points li { font-size: .8rem; padding: 5px 10px; }
}
@media (max-width: 600px) {
  .svc__vis .chat-demo__opts { display: none; }
  .svc__vis .chat-demo { gap: 8px; }
  .svc__vis .chat-demo__msg { font-size: .86rem; padding: 9px 12px; }
  .svc__vis .chat-demo__brief { font-size: .8rem; }
  .sv__grid span, .sv__grid b { padding: 11px 6px; font-size: .8rem; }
  .sv__steps li { padding: 12px 10px; font-size: .88rem; }
  .sv__box { padding: 14px; }
}
/* footer word: readable when decoded, no crop on phones */
.ftr__word:hover, .ftr__word.is-word { color: rgba(241, 236, 225, .24); }
.ftr__word .bw { overflow: visible; }
/* AI service card: the compact chat example also on narrow two-column layouts (961–1280), so heights don't jump at the breakpoint */
@media (min-width: 961px) and (max-width: 1280px) {
  .svc__vis .chat-demo__opts { display: none; }
  .svc__vis .chat-demo { gap: 8px; }
  .svc__vis .chat-demo__msg { font-size: .88rem; padding: 9px 12px; }
  .svc__vis .chat-demo__brief { font-size: .82rem; }
}
