/* Brand foundations: update these tokens to rebrand the entire site. */
@font-face { font-family: Manrope; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/manrope-regular.8ca0326440d0.woff2") format("woff2"), url("../fonts/manrope-regular.b14c3069e3f7.ttf") format("truetype"); }
@font-face { font-family: Manrope; font-style: normal; font-weight: 500 600; font-display: swap; src: url("../fonts/manrope-semibold.1bf3fe70b727.woff2") format("woff2"), url("../fonts/manrope-semibold.9c61a253b039.ttf") format("truetype"); }
@font-face { font-family: Manrope; font-style: normal; font-weight: 650 800; font-display: swap; src: url("../fonts/manrope-bold.7c2f9793f368.woff2") format("woff2"), url("../fonts/manrope-bold.ad56d0ba69e7.ttf") format("truetype"); }
:root {
  --ink: #0b0b0c;
  --ink-raised: #141417;
  --ink-soft: #55565b;
  --ink-mute: #66676c;      /* AA on paper, paper-alt and the light mockups */
  --paper: #faf9f7;
  --paper-alt: #f2f0ea;
  --line: #e4e1da;
  --line-strong: #d1cdc4;
  --accent: #ff4d1f;        /* display only: large text, rules, icons, dark bands */
  --accent-deep: #c23a10;   /* AA on paper, paper-alt and light mockups */
  --accent-text: var(--accent-deep);
  --accent-wash: #fff1ec;
  --on-dark: #eceae7;
  --on-dark-mute: #97989c;
  --dark-line: #26262a;
  --r-sm: 3px;
  --r: 8px;
  --r-lg: 14px;
  --shell: 1240px;
  --ease: cubic-bezier(.22,.7,.2,1);
  --font-sans: "Manrope", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { color: var(--ink); font-family: var(--font-sans); background: var(--paper); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: clip; }
::selection { background: var(--ink); color: var(--paper); }
a { color: var(--ink); text-decoration-color: var(--line-strong); text-underline-offset: .22em; transition: color .2s var(--ease); }
a:hover { color: var(--accent-text); }
img, svg { max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent) !important; outline-offset: 4px; border-radius: 2px; }

/* ---------- Type ---------- */
h1, h2, h3 { font-weight: 600; letter-spacing: -.042em; line-height: 1.05; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.9rem, 6.2vw, 5.4rem); letter-spacing: -.05em; }
h2 { font-size: clamp(2.1rem, 4.1vw, 3.7rem); margin-bottom: 1.1rem; }
h3 { font-size: 1.25rem; letter-spacing: -.03em; line-height: 1.25; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--accent); }
p { color: var(--ink-soft); }
.container { --bs-gutter-x: 3.5rem; max-width: var(--shell); }
.row { --bs-gutter-x: 2rem; }
.row.g-5 { --bs-gutter-x: 3.5rem; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 20px; background: var(--ink); color: var(--paper); border-radius: var(--r-sm); }
.skip-link:focus { top: 10px; }
.mono { font-family: var(--font-mono); font-size: .6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
/* Eyebrow: a hairline rule, then mono caps. No pill, no fill. */
.eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: .6875rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 26px; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); flex-shrink: 0; }
.status-dot { display: inline-block; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
.section-pad { padding: clamp(78px, 8.5vw, 136px) 0; position: relative; }
.section-intro { font-size: 1.0625rem; max-width: 460px; margin: 22px 0 30px; line-height: 1.8; }
/* Tinted section: gives long inner pages a tonal change between the white hero
   and the ink closing band. Components whose own hover fill is paper-alt have to
   lift onto white here, or they would vanish against the ground. */
.surface { background: var(--paper-alt); }
.section-pad.surface { border-block: 1px solid var(--line); }
.surface .team-card { background: var(--paper); }
.surface .team-card:hover { background: #fff; border-color: var(--line-strong); }
.surface .process-detail article:hover, .surface .article-list article:hover { background: var(--paper); }
.surface .empty-note { background: var(--paper); }
.surface h2 em { color: var(--accent-deep); }
.section-heading:not(.row) { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 70px; margin-bottom: 54px; }
.section-heading h2 { margin-bottom: 0; }
/* Narrow content columns only -- scoped to main so it never reaches the footer. */
main [class*="col-lg-4"] h2, main [class*="col-lg-5"] h2, .ai-section .col-lg-6 h2 { font-size: clamp(1.8rem, 3vw, 2.75rem); }
.section-heading > p, .section-heading > div > p:not(.eyebrow) { font-size: 1rem; max-width: 390px; margin-bottom: 14px; line-height: 1.75; }

/* ---------- Links & buttons ---------- */
.text-link { color: var(--ink); display: inline-flex; align-items: center; gap: 12px; font-size: .875rem; font-weight: 650; text-decoration: none; padding: 8px 0; position: relative; }
.text-link::after { content: ""; position: absolute; left: 0; bottom: 4px; height: 1px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.text-link:hover { color: var(--accent-text); }
.text-link:hover::after { transform: scaleX(1); transform-origin: left; }
.text-link i, .btn i { display: inline-block; transition: transform .35s var(--ease); }
.text-link:hover i, .btn:hover i { transform: translate(3px, -3px); }
.text-link:hover .bi-arrow-down, .btn:hover .bi-arrow-down { transform: translateY(3px); }
.btn { white-space: nowrap; border-radius: 100px; padding: 15px 26px; font-size: .875rem; line-height: 1.4; font-weight: 650; letter-spacing: -.01em; display: inline-flex; align-items: center; justify-content: center; gap: 16px; border: 1px solid transparent; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn-primary { --bs-btn-bg: var(--ink); --bs-btn-border-color: var(--ink); --bs-btn-hover-bg: var(--accent-deep); --bs-btn-hover-border-color: var(--accent-deep); --bs-btn-active-bg: var(--accent-deep); --bs-btn-active-border-color: var(--accent-deep); --bs-btn-color: var(--paper); --bs-btn-hover-color: #fff; color: var(--paper); }
.btn-outline-primary { --bs-btn-color: var(--ink); --bs-btn-border-color: var(--line-strong); --bs-btn-hover-bg: var(--ink); --bs-btn-hover-border-color: var(--ink); --bs-btn-hover-color: var(--paper); --bs-btn-active-bg: var(--ink); --bs-btn-active-border-color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.btn-outline-light { border-color: var(--dark-line); color: var(--on-dark); }
.btn-outline-light:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn-sm { padding: 11px 19px; font-size: .8125rem; }
.btn-lg { padding: 17px 30px; font-size: .9375rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: #faf9f7d9; backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), background .3s var(--ease); }
.site-header.scrolled { border-bottom-color: var(--line); background: #faf9f7f2; }
.scroll-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; z-index: 41; }
.navbar { padding: 14px 0; min-height: 76px; }
.navbar-brand { color: var(--ink); font-weight: 700; font-size: 15px; letter-spacing: -.04em; margin-right: 25px; min-width: 0; }
.brand-name { max-width: 245px; white-space: normal; line-height: 1.25; }
.brand-logo { width: 34px; height: 34px; object-fit: contain; flex-shrink: 0; }
.navbar-brand .brand-name { font-size: 17px; font-weight: 700; letter-spacing: -.045em; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; }
.nav-link { color: var(--ink-soft); font-size: .875rem; padding: 9px 14px !important; font-weight: 500; position: relative; transition: color .2s var(--ease); }
.nav-link::before { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-link:hover::before { transform: scaleX(1); transform-origin: left; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--ink); }
.nav-link[aria-current="page"]::before { transform: scaleX(1); }
.navbar-toggler { border: 1px solid var(--line-strong); padding: 8px; border-radius: var(--r-sm); min-width: 42px; min-height: 42px; }
.navbar-toggler-icon { width: 22px; height: 22px; }
.navbar-toggler[aria-expanded="true"] { border-color: var(--ink); }
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230b0b0c' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M3 3l10 10M13 3L3 13'/%3E%3C/svg%3E"); }

/* ---------- Hero ---------- */
.studio-hero { padding-top: clamp(40px, 5vw, 76px); }
.hero-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.hero-copy { padding: 16px 0; }
.hero-copy h1 { font-size: clamp(2.5rem, 4.8vw, 4.3rem); margin-bottom: 30px; }
.hero-lead { font-size: 1.125rem; max-width: 440px; line-height: 1.8; margin-bottom: 34px; color: var(--ink-soft); }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-signoff { display: flex; align-items: center; gap: 16px; margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 440px; }
.signoff-symbol { font-size: 30px; line-height: 1; color: var(--accent); flex-shrink: 0; }
.hero-signoff p { font-size: .875rem; margin: 0; line-height: 1.8; }
.hero-signoff strong { font-weight: 600; color: var(--ink); }
.hero-baseline { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); margin-top: 60px; padding: 22px 0; color: var(--ink-mute); font-size: .8125rem; gap: 20px; }
.hero-baseline .mono { color: var(--ink); }
.hero-baseline i { margin-left: 14px; }
@keyframes rise-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: rise-in .9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .07s; }
.hero-copy > :nth-child(3) { animation-delay: .14s; }
.hero-copy > :nth-child(4) { animation-delay: .21s; }
.hero-copy > :nth-child(5) { animation-delay: .28s; }
.product-stage { animation: rise-in 1s .18s var(--ease) both; }

/* ---------- Hero showcase (dark panel) ---------- */
.product-stage { position: relative; background: var(--ink); border-radius: var(--r-lg); padding: 22px; color: var(--on-dark); min-width: 0; overflow: hidden; }
.product-stage::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .16; pointer-events: none; mix-blend-mode: overlay; }
.stage-header, .showcase-bottom { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .6875rem; color: var(--on-dark-mute); font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.stage-header > span:first-child { display: flex; align-items: center; gap: 8px; }
.showcase-panels { height: 372px; position: relative; margin: 26px 0 16px; }
.showcase-panel { position: relative; height: 100%; }
.product-window { border: 1px solid #ffffff14; background: var(--paper); border-radius: var(--r); color: var(--ink); overflow: hidden; box-shadow: 0 30px 60px #00000059; }
.window-bar { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 10px 13px; font-size: 8px; color: var(--ink-mute); background: #fff; }
.window-dots { display: flex; gap: 4px; }
.window-dots b { width: 5px; height: 5px; border-radius: 50%; background: var(--line-strong); }
.window-dots b:first-child { background: var(--accent); }
.product-body { display: flex; min-width: 0; }
.product-sidebar { width: 44px; flex-shrink: 0; border-right: 1px solid var(--line); display: flex; align-items: center; flex-direction: column; gap: 20px; color: var(--ink-mute); padding-top: 14px; font-size: 11px; }
.mini-logo { font-weight: 800; color: var(--accent); font-size: 21px; }
.product-main { min-width: 0; flex: 1; padding: 20px; }
.workspace-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.workspace-title small { display: block; font-size: 6px; color: var(--ink-mute); letter-spacing: .14em; font-family: var(--font-mono); }
.workspace-title strong { font-size: 18px; letter-spacing: -.045em; font-weight: 600; }
.mini-avatar { display: grid; place-items: center; font-size: 8px; width: 22px; height: 22px; background: var(--ink); color: var(--paper); border-radius: 50%; }
.mock-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock-stats > div { padding: 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.mock-stats span { display: block; font-size: 7px; color: var(--ink-mute); margin-bottom: 4px; font-family: var(--font-mono); letter-spacing: .1em; }
.mock-stats strong { display: block; font-size: 11px; font-weight: 600; }
.mock-stats b { color: var(--accent); margin-left: 6px; }
.mock-chart { margin-top: 12px; border: 1px solid var(--line); background: #fff; padding: 12px 10px 2px; border-radius: var(--r-sm); }
.mock-chart > div { display: flex; justify-content: space-between; font-size: 7px; }
.mock-chart small { color: var(--ink-mute); font-size: 6px; }
.mock-chart svg { display: block; width: 100%; height: 92px; }
.mock-task { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-size: 7px; }
.mock-task small { display: block; font-size: 6px; color: var(--ink-mute); }
.task-check { padding: 3px 6px; background: var(--accent-wash); color: var(--accent-deep); border-radius: 50%; }
.mini-pill { margin-left: auto; font-size: 6px; border-radius: 100px; background: var(--ink); color: var(--paper); padding: 3px 7px; letter-spacing: .08em; }
.stage-note { position: absolute; right: -4px; bottom: -14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 15px; display: flex; align-items: center; gap: 12px; color: var(--ink); box-shadow: 0 16px 40px #00000040; }
.note-icon { display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 14px; flex-shrink: 0; color: var(--accent); }
.stage-note strong, .stage-note span:not(.note-icon) { display: block; font-size: 9px; }
.stage-note span:not(.note-icon) { color: var(--ink-soft); }
.stage-note > i { margin-left: 12px; color: var(--ink-mute); }
.showcase-bottom { margin-top: 20px; flex-wrap: wrap; }
.showcase-controls { display: none; gap: 2px; background: #ffffff0f; padding: 3px; border-radius: 100px; }
.showcase-ready .showcase-controls { display: flex; }
.showcase-controls button { padding: 5px 17px; border: none; background: transparent; color: var(--on-dark-mute); font-size: .75rem; font-weight: 600; border-radius: 100px; min-height: 40px; transition: background .25s var(--ease), color .25s var(--ease); }
.showcase-controls button:hover { color: var(--on-dark); }
.showcase-controls button.active { color: var(--ink); background: var(--paper); }
.mobile-showcase { display: flex; justify-content: center; align-items: center; gap: 30px; height: 100%; }
.device-frame { width: 192px; background: var(--paper); padding: 8px 13px; border: 5px solid #000; border-radius: 28px; box-shadow: 0 25px 45px #00000066; color: var(--ink); }
.device-island { width: 52px; height: 9px; background: #000; border-radius: 10px; margin: 0 auto 13px; }
.device-topline { font-size: 6px; display: flex; justify-content: space-between; margin-bottom: 12px; color: var(--ink-mute); font-family: var(--font-mono); letter-spacing: .1em; }
.device-frame h3 { font-size: 19px; margin-bottom: 12px; }
.device-map, .phone-map { background: repeating-linear-gradient(28deg, transparent 0 24px, #fff 25px 31px, transparent 32px 50px), repeating-linear-gradient(110deg, var(--paper-alt) 0 26px, #fff 27px 34px, var(--line) 35px 74px); border-radius: var(--r-sm); display: grid; place-items: center; height: 76px; }
.device-map span { background: var(--accent); color: #fff; width: 24px; height: 24px; border-radius: 50%; text-align: center; }
.device-map b { font-size: 7px; background: #fff; border-radius: var(--r-sm); padding: 2px 7px; }
.device-job { padding: 12px 0; }
.device-job small { display: block; font-size: 6px; color: var(--ink-mute); font-family: var(--font-mono); letter-spacing: .1em; }
.device-job strong { display: block; font-size: 10px; }
.device-job > span { font-size: 7px; color: var(--ink-soft); }
.device-button { background: var(--ink); color: var(--paper); padding: 9px; font-size: 8px; border-radius: var(--r-sm); display: flex; justify-content: space-between; }
.device-bottom { padding: 9px 0 3px; display: flex; justify-content: space-around; color: var(--ink-mute); font-size: 12px; }
.device-side-note { max-width: 160px; }
.device-side-note .note-icon { color: var(--accent); margin-bottom: 18px; border-color: var(--dark-line); }
.device-side-note strong { display: block; font-size: 21px; font-weight: 500; letter-spacing: -.04em; line-height: 1.2; color: var(--on-dark); }
.device-side-note p { color: var(--on-dark-mute); font-size: 10px; line-height: 2; margin-top: 16px; }
.assistant-preview { background: var(--paper); border-radius: var(--r); padding: 24px; color: var(--ink); height: 100%; box-shadow: 0 25px 45px #00000047; }
.assistant-top { display: flex; gap: 12px; align-items: center; margin-bottom: 22px; }
.assistant-symbol { font-size: 27px; color: var(--accent); }
.assistant-top small { font-size: 6px; letter-spacing: .14em; font-family: var(--font-mono); color: var(--ink-mute); }
.assistant-top h3 { font-size: 16px; margin: 4px 0 0; }
.assistant-question { border: 1px solid var(--line); border-radius: var(--r) var(--r) 2px var(--r); background: var(--paper-alt); padding: 11px; margin-left: 15px; font-size: 10px; }
.assistant-answer { padding: 15px 0 0; }
.assistant-answer .eyebrow { font-size: 6px; margin-bottom: 8px; letter-spacing: .14em; gap: 7px; }
.assistant-answer .eyebrow::before { width: 14px; }
.assistant-answer p { font-size: 11px; margin-bottom: 10px; }
.source-chips { display: flex; gap: 5px; flex-wrap: wrap; }
.source-chips span { font-size: 7px; border: 1px solid var(--line); background: #fff; padding: 5px 8px; border-radius: 100px; }
.review-note { font-size: 8px; color: var(--accent-deep); padding: 10px 0; }
.assistant-input { border-top: 1px solid var(--line); padding-top: 12px; font-size: 9px; display: flex; justify-content: space-between; color: var(--ink-mute); }
.assistant-input span { color: var(--paper); background: var(--ink); border-radius: var(--r-sm); padding: 0 5px; }

/* ---------- Technology strip (static, readable, no auto-motion) ---------- */
.tech-strip { padding: 0; background: var(--paper); border-block: 1px solid var(--line); }
.tech-band { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 28px; align-items: center; padding-block: 28px; }
.tech-band > p { font-size: .75rem; line-height: 1.6; margin: 0; color: var(--ink-mute); font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.tech-band strong { color: var(--ink); font-weight: 600; display: block; }
.tech-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; min-width: 0; margin: 0; padding: 0; list-style: none; }
.tech-list li { min-width: 0; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.tech-list span { display: block; font-size: .9375rem; font-weight: 600; color: var(--ink); letter-spacing: -.03em; overflow-wrap: anywhere; }
.tech-list small { display: block; margin-top: 4px; color: var(--ink-mute); font-size: .75rem; line-height: 1.45; overflow-wrap: anywhere; }


/* ---------- Services: editorial rows that invert on hover ---------- */
.services-section { border-bottom: 1px solid var(--line); }
.service-stack { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 54px 1fr minmax(0, 42%) 44px; gap: 28px; align-items: center; border-bottom: 1px solid var(--line); padding: 30px 24px; color: var(--ink); text-decoration: none; transition: color .4s var(--ease), padding .4s var(--ease); position: relative; margin-inline: -24px; }
.service-row::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: 0; }
.service-row > * { position: relative; z-index: 1; }
.service-row:hover { color: var(--paper); padding-inline: 32px; }
.service-row:hover::before { transform: scaleY(1); transform-origin: top; }
.service-index { font-family: var(--font-mono); font-size: .75rem; color: var(--ink-mute); letter-spacing: .08em; transition: color .4s var(--ease); }
.service-row:hover .service-index { color: var(--accent); }
.service-row-icon { display: none; }
.service-row strong { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 600; letter-spacing: -.04em; display: block; line-height: 1.15; }
.service-row small { color: var(--ink-soft); font-size: .9375rem; display: block; line-height: 1.65; transition: color .4s var(--ease); }
.service-row:hover small { color: var(--on-dark-mute); }
.service-arrow { border: 1px solid var(--line-strong); width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); justify-self: end; }
.service-row:hover .service-arrow { color: var(--ink); background: var(--paper); border-color: var(--paper); transform: translate(2px, -2px); }

/* ---------- Industries: hairline bento ---------- */
.industries-section { background: var(--paper-alt); border-bottom: 1px solid var(--line); }
.industries-section h2 em { color: var(--accent-deep); }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.industry-grid article { padding: 30px 26px 34px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); background: transparent; transition: background .3s var(--ease); position: relative; }
.industry-grid article:hover { background: var(--paper); }
.industry-grid article > i { font-size: 20px; color: var(--ink-mute); display: block; margin-bottom: 26px; transition: color .3s var(--ease), transform .3s var(--ease); }
.industry-grid article:hover > i { color: var(--accent); transform: translateY(-3px); }
.industry-grid h3 { font-size: 1.0625rem; margin-bottom: 9px; }
.industry-grid p { font-size: .875rem; line-height: 1.65; margin: 0; color: var(--ink-soft); }
.industry-cta { background: var(--ink) !important; color: var(--on-dark); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.industry-cta > span { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-mute); }
.industry-cta h3 { color: var(--paper); font-size: 1.125rem; margin: 0; }
.industry-cta .text-link { color: var(--paper); padding-bottom: 0; align-self: flex-start; }
.industry-cta .text-link:hover { color: var(--accent); }

/* ---------- Work ---------- */
.work-section { border-bottom: 1px solid var(--line); }
.featured-work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.work-group + .work-group { margin-top: clamp(54px, 7vw, 88px); padding-top: clamp(38px, 5vw, 58px); border-top: 1px solid var(--line); }
.work-group-heading { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 60px; margin-bottom: 36px; }
.work-group-heading h2 { margin: 0; font-size: clamp(1.9rem, 3.4vw, 3rem); }
.work-group-heading > p { max-width: 430px; margin: 0; line-height: 1.75; }
.experiments-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.work-card-compact .project-visual { height: 240px; }
.work-card-compact .work-card-content { padding-top: 18px; }
.work-card-compact h3 { font-size: 1.125rem; }
.work-card-compact p { font-size: .875rem; line-height: 1.65; }
.work-group-archive .work-meta, .work-group-archive .tag-list { opacity: .9; }
.work-card { background: transparent; min-width: 0; }
.work-image-link { display: block; color: inherit; text-decoration: none; border-radius: var(--r); overflow: hidden; }
.project-visual { height: 300px; position: relative; overflow: hidden; border-radius: var(--r); display: flex; align-items: flex-end; justify-content: center; background: var(--paper-alt); border: 1px solid var(--line); transition: border-color .4s var(--ease); }
.work-image-link:hover .project-visual { border-color: var(--line-strong); }
.project-visual > img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .7s var(--ease); }
.project-visual.visual-workniva > img { object-position: left center; }
.work-image-link:hover .project-visual > img { transform: scale(1.04); }
.visual-caption { position: absolute; top: 18px; left: 20px; font-family: var(--font-mono); font-size: 7px; letter-spacing: .15em; color: var(--ink-mute); z-index: 1; }
.visual-web { background: #edece7; }
.visual-ai { background: #eae9e4; }
.visual-mobile { background: #e9e8e3; }
.project-visual::before { content: ""; width: 300px; height: 300px; position: absolute; border: 1px solid #0b0b0c0a; border-radius: 50%; top: 42px; left: 60px; box-shadow: 0 0 0 30px #0b0b0c05, 0 0 0 60px #0b0b0c04; transition: transform .8s var(--ease); }
.work-image-link:hover .project-visual::before { transform: scale(1.12); }
.preview-dashboard, .preview-assistant, .preview-phone { transition: transform .6s var(--ease); position: relative; }
.work-image-link:hover .preview-dashboard, .work-image-link:hover .preview-assistant, .work-image-link:hover .preview-phone { transform: translateY(-10px); }
.preview-dashboard { width: 90%; background: #fff; border-radius: var(--r) var(--r) 0 0; margin-left: 22px; box-shadow: 0 18px 40px #0b0b0c1f; font-size: 7px; color: var(--ink); border: 1px solid var(--line); border-bottom: 0; }
.preview-toolbar { display: flex; gap: 18px; font-size: 6px; padding: 10px; background: var(--paper); border-bottom: 1px solid var(--line); }
.preview-toolbar > span { color: var(--line-strong); font-size: 5px; }
.preview-dashboard-body { display: flex; min-height: 200px; }
.preview-nav { width: 36px; flex-shrink: 0; padding-top: 14px; text-align: center; background: var(--paper); font-size: 17px; font-weight: 800; color: var(--accent-deep); border-right: 1px solid var(--line); }
.preview-nav > span { display: block; font-size: 11px; color: var(--ink-mute); padding-top: 15px; }
.preview-content { padding: 17px 14px; flex: 1; min-width: 0; }
.preview-content > small { font-size: 5px; color: var(--ink-mute); letter-spacing: .16em; font-family: var(--font-mono); }
.preview-content > strong { display: block; font-size: 13px; letter-spacing: -.04em; margin-top: 6px; }
.integration-nodes { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; gap: 7px; }
.integration-nodes > span { display: grid; place-items: center; font-size: 8px; border: 1px solid var(--line); border-radius: var(--r-sm); width: 42px; height: 32px; background: var(--paper); }
.integration-nodes b { color: var(--line-strong); }
.integration-row { display: flex; justify-content: space-between; gap: 7px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 6px; color: var(--ink-soft); }
.integration-row b { color: var(--accent-deep); font-size: 5px; font-weight: 600; }
.preview-assistant { width: 82%; background: #fff; padding: 16px; border: 1px solid var(--line); border-bottom: 0; border-radius: var(--r) var(--r) 0 0; box-shadow: 0 18px 40px #0b0b0c1f; color: var(--ink); }
.preview-assistant-header { font-size: 7px; display: flex; gap: 7px; align-items: center; color: var(--ink-mute); }
.preview-assistant-header > span { font-size: 18px; color: var(--accent); }
.preview-message { font-size: 11px; margin: 13px 0; letter-spacing: -.035em; line-height: 1.3; }
.preview-message > b { font-weight: 600; color: var(--accent-text); }
.preview-source { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); padding: 8px; background: var(--paper); margin-top: 7px; border-radius: var(--r-sm); }
.preview-source > i { font-size: 12px; color: var(--ink-mute); }
.preview-source b, .preview-source small { display: block; font-size: 6px; }
.preview-source small { font-size: 5px; color: var(--ink-mute); }
.preview-source > span { margin-left: auto; color: var(--ink-mute); font-size: 9px; }
.preview-prompt { border-top: 1px solid var(--line); margin-top: 15px; padding-top: 9px; font-size: 7px; color: var(--ink-mute); display: flex; justify-content: space-between; }
.preview-prompt > span { background: var(--ink); border-radius: var(--r-sm); color: var(--paper); width: 17px; text-align: center; }
.preview-phone { width: 168px; padding: 9px 11px 14px; background: #fff; border: 5px solid var(--ink); border-radius: 26px 26px 0 0; margin-bottom: -24px; box-shadow: 0 18px 40px #0b0b0c26; color: var(--ink); }
.phone-notch { display: block; width: 44px; height: 8px; background: var(--ink); border-radius: 7px; margin: 0 auto 10px; }
.preview-phone > small { display: block; font-size: 5px; color: var(--ink-mute); font-family: var(--font-mono); letter-spacing: .12em; }
.preview-phone > strong { display: block; font-size: 13px; line-height: 1.25; margin: 7px 0 10px; letter-spacing: -.04em; }
.phone-map { height: 73px; color: var(--accent); font-size: 28px; }
.phone-task { padding: 8px 0; border-bottom: 1px solid var(--line); }
.phone-task b, .phone-task span { display: block; font-size: 7px; }
.phone-task span { font-size: 6px; color: var(--ink-mute); }
.phone-action { display: block; background: var(--ink); color: var(--paper); margin-top: 12px; font-size: 6px; padding: 7px; border-radius: var(--r-sm); }
.floating-chip { position: absolute; right: 18px; top: 125px; background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 10px 24px #0b0b0c14; padding: 8px 12px; font-size: 8px; border-radius: 100px; }
.floating-chip i { color: var(--accent); }
.work-card-content { padding: 24px 2px 0; }
.work-meta { display: flex; justify-content: space-between; align-items: center; color: var(--ink-mute); margin-bottom: 14px; }
.work-meta > span { font-family: var(--font-mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .12em; }
.work-meta > i { transition: transform .35s var(--ease), color .25s var(--ease); }
.work-card:hover .work-meta > i { transform: translate(3px, -3px); color: var(--accent); }
.work-card h2, .work-card h3 { font-size: 1.375rem; line-height: 1.2; margin-bottom: 12px; }
.work-card h2 a, .work-card h3 a { color: var(--ink); text-decoration: none; }
.work-card h2 a:hover, .work-card h3 a:hover { color: var(--accent); }
.work-card p { font-size: .9375rem; line-height: 1.7; margin-bottom: 16px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-list span { color: var(--ink-soft); font-size: .75rem; border: 1px solid var(--line); border-radius: 100px; padding: 4px 11px; }

/* ---------- Principles ---------- */
.studio-principles { border-bottom: 1px solid var(--line); }
.principle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.principle-grid > div { padding: 30px 30px 34px 0; border-bottom: 1px solid var(--line); position: relative; }
.principle-grid > div:nth-child(odd) { border-right: 1px solid var(--line); }
.principle-grid > div:nth-child(even) { padding-left: 34px; }
.principle-grid > div > span { font-family: var(--font-mono); font-size: .6875rem; color: var(--ink-mute); letter-spacing: .13em; }
.principle-grid h3 { margin: 18px 0 11px; font-size: 1.1875rem; }
.principle-grid p { font-size: .9375rem; line-height: 1.7; margin-bottom: 0; }
.craft-seal { display: flex; align-items: center; gap: 16px; margin-top: 48px; font-family: var(--font-mono); font-size: .6875rem; line-height: 1.8; color: var(--ink-mute); letter-spacing: .12em; }
.craft-seal > span { font-size: 42px; line-height: 1; color: var(--accent); }

/* ---------- AI band: the one dark section ---------- */
.ai-section { background: var(--ink); color: var(--on-dark); overflow: hidden; }
.ai-section::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .14; pointer-events: none; mix-blend-mode: overlay; }
.ai-section .container { position: relative; }
.ai-section h2 { color: var(--paper); }
.ai-section h2 em { color: var(--accent); }
.ai-section .eyebrow { color: var(--on-dark-mute); }
.ai-section .section-intro { color: var(--on-dark-mute); font-size: 1.0625rem; }
.workflow-visual { max-width: 470px; margin-left: auto; padding: 26px; border: 1px solid var(--dark-line); border-radius: var(--r-lg); background: #ffffff06; }
.workflow-title { display: flex; justify-content: space-between; align-items: center; color: var(--on-dark-mute); margin-bottom: 20px; }
.workflow-title > span:last-child { font-size: 20px; color: var(--accent); }
.workflow-step { display: flex; align-items: center; gap: 17px; border: 1px solid var(--dark-line); padding: 16px; border-radius: var(--r); background: #ffffff05; transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.workflow-step:hover { background: #ffffff0d; border-color: #3a3a40; transform: translateX(5px); }
.flow-icon { width: 34px; height: 34px; border: 1px solid var(--dark-line); border-radius: var(--r-sm); display: grid; place-items: center; color: var(--accent); flex-shrink: 0; }
.workflow-step small { display: block; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .13em; color: var(--on-dark-mute); margin-bottom: 5px; }
.workflow-step strong { font-size: .9375rem; font-weight: 500; color: var(--on-dark); }
.flow-connector { display: block; color: #4a4a50; padding-left: 28px; height: 24px; line-height: 24px; }
.final-step { background: var(--paper); border-color: var(--paper); }
.final-step:hover { background: #fff; border-color: #fff; }
.final-step small { color: var(--ink-mute); }
.final-step strong { color: var(--ink); }
.final-step .flow-icon { color: var(--accent); border-color: var(--line-strong); }
.workflow-visual > p { color: var(--on-dark-mute); text-align: center; font-size: .75rem; margin: 20px 0 0; font-family: var(--font-mono); letter-spacing: .08em; }

/* ---------- Delivery: oversized numerals ---------- */
.delivery-section { border-bottom: 1px solid var(--line); }
.delivery-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.delivery-grid article { padding: 38px 34px 8px 0; border-right: 1px solid var(--line); }
.delivery-grid article:not(:first-child) { padding-left: 34px; }
.delivery-grid article:last-child { border-right: 0; }
.delivery-number { color: var(--ink); font-size: clamp(2.5rem, 4vw, 3.75rem); font-weight: 600; letter-spacing: -.06em; line-height: 1; display: block; }
.delivery-grid h3 { margin: 26px 0 13px; font-size: 1.1875rem; }
.delivery-grid p { font-size: .9375rem; line-height: 1.7; }
.delivery-label { display: block; margin-top: 26px; font-family: var(--font-mono); font-size: .6875rem; color: var(--ink-mute); letter-spacing: .14em; }

/* ---------- FAQ ---------- */
.faq-section { border-bottom: 1px solid var(--line); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 26px 0; font-size: 1.0625rem; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-weight: 600; letter-spacing: -.02em; transition: color .25s var(--ease); }
.faq-list summary:hover { color: var(--accent-text); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { font-size: 18px; font-weight: 300; transition: transform .35s var(--ease), color .25s var(--ease); color: var(--ink-mute); flex-shrink: 0; }
.faq-list details[open] summary { color: var(--ink); }
.faq-list details[open] summary span { transform: rotate(45deg); color: var(--accent); }
.faq-list p { font-size: .9375rem; padding: 0 60px 26px 0; max-width: 640px; line-height: 1.8; animation: rise-in .45s var(--ease) both; }

/* ---------- CTA + footer: one continuous ink block ---------- */
.cta-section { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.cta-section::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .14; pointer-events: none; mix-blend-mode: overlay; }
.cta-inner { min-height: 340px; padding: clamp(70px, 8vw, 110px) 0; display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; }
.cta-inner .eyebrow { color: var(--on-dark-mute); }
.cta-inner h2 { font-size: clamp(2.5rem, 5.6vw, 4.9rem); margin: 0; color: var(--paper); }
.cta-inner h2 em { color: var(--accent); }
.cta-round-link { width: 116px; height: 116px; border: 1px solid var(--dark-line); border-radius: 50%; color: var(--paper); display: grid; place-items: center; font-size: 34px; transition: color .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); text-decoration: none; margin-inline: auto; }
.cta-round-link:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.06); }
.cta-link-caption { display: block; margin-top: 16px; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; text-align: center; color: var(--on-dark-mute); }
.site-footer { background: var(--ink); color: var(--on-dark-mute); position: relative; border-top: 1px solid var(--dark-line); }
/* Every column opens on the same hairline so all four share one baseline, the way
   the section grids elsewhere on the site do. */
.footer-grid { padding: 60px 0 56px; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; }
.footer-col > :first-child { border-top: 1px solid var(--dark-line); padding-top: 22px; width: 100%; }
.footer-brand { font-size: 19px; font-weight: 650; color: var(--paper); letter-spacing: -.04em; text-decoration: none; min-height: 60px; }
.footer-copy { color: var(--on-dark-mute); font-size: .875rem; max-width: 330px; line-height: 1.75; margin: 18px 0 0; }
.footer-title { font-family: var(--font-mono); font-size: .6875rem; color: var(--on-dark-mute); letter-spacing: .14em; text-transform: uppercase; margin: 0; min-height: 60px; }
.footer-email { margin-top: auto; padding-top: 26px; font-weight: 600; color: var(--paper) !important; }
.footer-email:hover { color: var(--accent) !important; }
.footer-col .btn { margin-top: auto; }
.footer-col .footer-copy + .btn { margin-top: 24px; }
.footer-links { margin: 18px 0 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links li:last-child { margin-bottom: 0; }
.site-footer a { color: var(--on-dark); font-size: .875rem; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-links a { display: inline-block; transition: transform .3s var(--ease), color .2s var(--ease); }
.footer-links a:hover { transform: translateX(4px); }
.site-footer .footer-brand { font-size: 19px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px 30px; flex-wrap: wrap; border-top: 1px solid var(--dark-line); color: var(--on-dark-mute); font-size: .75rem; padding: 22px 0; }
.footer-legal { display: flex; gap: 22px; margin: 0; }
.footer-legal a { font-size: .75rem; }
.footer-tagline { margin-left: auto; }

/* ---------- Inner pages ---------- */
.breadcrumb { font-size: .8125rem; --bs-breadcrumb-divider-color: var(--ink-mute); font-family: var(--font-mono); letter-spacing: .06em; }
.breadcrumb a { color: var(--ink-mute); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-text); }
.breadcrumb-item.active { color: var(--ink); }
.page-hero { padding: clamp(50px, 6vw, 86px) 0 clamp(46px, 5vw, 70px); }
.page-hero h1 { max-width: 1000px; }
.page-hero > .container > p:last-child, .service-hero p:not(.eyebrow) { max-width: 660px; font-size: 1.0625rem; margin-top: 26px; line-height: 1.8; }
.page-hero.compact { padding-bottom: 42px; }
.page-hero > .container > * { animation: rise-in .8s var(--ease) both; }
.page-hero > .container > :nth-child(2) { animation-delay: .07s; }
.page-hero > .container > :nth-child(3) { animation-delay: .14s; }
.service-catalog { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.service-catalog article { padding: 38px 40px 38px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 22px; transition: background .3s var(--ease); position: relative; }
.service-catalog article:nth-child(odd) { border-right: 1px solid var(--line); }
.service-catalog article:nth-child(even) { padding-left: 40px; }
/* With an odd number of capabilities, the final card closes the catalogue
   instead of leaving a blank cell in the second column. */
.service-catalog article:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 36px; padding: 34px 0; }
.service-catalog article:last-child:nth-child(odd) > div { max-width: 760px; }
/* The outer columns sit flush with the container edge so their text lines up with the
   page heading. Padding would move that text and push the row dividers out of line with
   the grid's top rule, so the hover fill is a pseudo-element that bleeds into the
   container gutter (24px) instead, leaving the box, text and borders untouched. */
.service-catalog article::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--paper-alt); opacity: 0; transition: opacity .3s var(--ease); }
.service-catalog article:nth-child(odd)::before { left: -24px; }
.service-catalog article:nth-child(even)::before { right: -24px; }
.service-catalog article:hover::before { opacity: 1; }
.service-catalog article > * { position: relative; z-index: 1; }
.service-catalog .eyebrow { margin-bottom: 14px; font-size: .6875rem; }
.service-catalog h2, .service-catalog h3 { font-size: 1.625rem; max-width: 390px; margin-bottom: 12px; }
.service-catalog h2 a, .service-catalog h3 a { color: var(--ink); text-decoration: none; transition: color .25s var(--ease); }
.service-catalog article:hover h2 a, .service-catalog article:hover h3 a { color: var(--accent); }
.service-catalog p { font-size: .9375rem; max-width: 400px; line-height: 1.7; }
.catalog-icon { display: inline-grid; width: 46px; height: 46px; place-items: center; border: 1px solid var(--line-strong); color: var(--ink); border-radius: 50%; margin-bottom: 24px; font-size: 18px; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.service-catalog article:hover .catalog-icon { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.prose { font-size: 1.0625rem; line-height: 1.85; color: var(--ink-soft); }
.prose h2 { font-size: 1.75rem; margin: 0 0 20px; }
.prose h2:not(:first-child) { margin-top: 42px; }
.prose p { margin-bottom: 22px; }
.capability-box, .contact-aside { background: var(--paper-alt); border: 1px solid var(--line); padding: 32px; border-radius: var(--r-lg); }
.capability-box ul { list-style: none; padding: 0; }
.capability-box li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; display: flex; align-items: baseline; gap: 10px; }
.capability-box li i { color: var(--accent); }
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 38px; }
.filter-bar a { border: 1px solid var(--line-strong); border-radius: 100px; padding: 9px 20px; color: var(--ink-soft); font-size: .8125rem; font-weight: 600; text-decoration: none; transition: all .25s var(--ease); }
.filter-bar a.active, .filter-bar a[aria-current="true"] { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.filter-bar a:hover:not(.active) { border-color: var(--ink); color: var(--ink); }
#work-grid .project-visual { height: 370px; }
#work-grid .preview-dashboard { max-width: 440px; }
#work-grid .preview-assistant { max-width: 350px; }
#work-grid .preview-phone { width: 195px; }
#work-grid .work-card { padding-bottom: 26px; }
.project-badge { display: inline-block; color: var(--ink); border: 1px solid var(--line-strong); padding: 6px 13px; border-radius: 100px; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 22px; }
.case-visual { background: var(--paper-alt); min-height: 380px; display: flex; align-items: center; justify-content: center; border-radius: var(--r-lg); overflow: hidden; color: var(--ink-mute); border: 1px solid var(--line); }
.case-visual img { width: 100%; object-fit: cover; }
.case-study-preview .project-visual { height: 480px; }
.case-study-preview .preview-dashboard { width: 560px; max-width: 90%; }
.case-study-preview .preview-dashboard-body { min-height: 320px; }
.case-study-preview .preview-content { padding: 30px; }
.case-study-preview .preview-content > strong { font-size: 26px; }
.case-study-preview .integration-nodes { padding-block: 25px; }
.case-study-preview .integration-nodes > span { width: 70px; height: 50px; font-size: 12px; }
.case-study-preview .integration-row { font-size: 10px; }
.case-study-preview .integration-row b { font-size: 9px; }
.case-study-preview .preview-assistant { max-width: 400px; padding: 30px; margin-bottom: 0; }
.case-study-preview .preview-message { font-size: 22px; }
.case-study-preview .preview-source { padding: 14px; }
.case-study-preview .preview-source b { font-size: 10px; }
.case-study-preview .preview-source small { font-size: 8px; }
.case-study-preview .preview-phone { width: 230px; padding: 16px; }
.case-study-preview .preview-phone > strong { font-size: 24px; }
.case-study-preview .phone-map { height: 105px; }
.case-study-preview .phone-task b { font-size: 11px; }
.case-study-preview .phone-task span { font-size: 9px; }
.outcomes { border-top: 1px solid var(--line); padding: 36px 0; }
.outcomes ul { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 35px; font-size: .9375rem; color: var(--ink-soft); }
.team-card { border: 1px solid var(--line); padding: 30px; background: transparent; height: 100%; border-radius: var(--r-lg); transition: background .3s var(--ease), border-color .3s var(--ease); }
.team-card:hover { background: var(--paper-alt); border-color: var(--line-strong); }
.team-card h3 { font-size: 1.25rem; }
.team-card p:last-child { font-size: .9375rem; line-height: 1.7; }
.avatar-placeholder { width: 62px; height: 62px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 24px; font-weight: 600; display: grid; place-items: center; margin-bottom: 28px; }
.team-photo { width: 100%; height: 210px; object-fit: cover; border-radius: var(--r); margin-bottom: 26px; }
.process-detail { border-bottom: 1px solid var(--line); }
.process-detail article { display: grid; grid-template-columns: 150px 1fr; border-top: 1px solid var(--line); padding: 38px 0; gap: 30px; transition: padding .4s var(--ease); }
.process-detail article:hover { padding-left: 14px; }
.process-detail article > span { color: var(--ink-mute); font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -.06em; font-weight: 600; line-height: 1; transition: color .3s var(--ease); }
.process-detail article:hover > span { color: var(--accent); }
.process-detail h2 { font-size: 1.625rem; margin-bottom: 10px; }
.process-detail p { max-width: 650px; font-size: .9375rem; line-height: 1.75; margin: 0; }
.article-list { border-top: 1px solid var(--line); }
.article-list article { display: grid; grid-template-columns: 1fr auto; gap: 25px; align-items: center; padding: 36px 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease); }
.article-list article:hover { padding-left: 14px; }
.article-list h2 { font-size: 1.75rem; max-width: 800px; margin-bottom: 10px; }
.article-list h2 a { color: var(--ink); text-decoration: none; }
.article-list article:hover h2 a { color: var(--accent); }
.article-list p:last-child { font-size: .9375rem; max-width: 750px; margin: 0; }
.round-link { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ink); transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.article-list article:hover .round-link { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.article-hero { padding: clamp(56px, 6vw, 82px) 0; border-bottom: 1px solid var(--line); }
.article-hero .container { max-width: 900px; }
.article-hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); }
.article-hero p:last-child { font-size: 1.0625rem; margin-top: 25px; }
.article-body { max-width: 720px; padding-top: 62px; padding-bottom: 80px; font-size: 1.0625rem; line-height: 1.9; }
.article-body p { margin-bottom: 28px; }
.contact-form { background: transparent; padding: 0; border: 0; border-radius: 0; }
.form-intro { border-bottom: 1px solid var(--line); padding-bottom: 22px; margin-bottom: 28px; }
.form-intro h2 { font-size: 1.375rem; margin-bottom: 5px; }
.form-intro p { font-size: .875rem; margin-bottom: 0; }
.form-label { font-size: .8125rem; color: var(--ink); font-weight: 600; margin-bottom: 8px; letter-spacing: -.01em; }
.form-control, .form-select { background-color: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; min-height: 48px; font-size: 1rem; color: var(--ink); padding: 10px 2px; transition: border-color .25s var(--ease); }
.form-control:focus, .form-select:focus { border-color: var(--accent); box-shadow: none; background-color: transparent; }
.form-control::placeholder { color: var(--ink-mute); font-size: .9375rem; }
textarea.form-control { min-height: 120px; }
.form-check-label { font-size: .875rem; line-height: 1.75; color: var(--ink-soft); }
.form-check-input:checked { background-color: var(--ink); border-color: var(--ink); }
.form-note { font-size: .8125rem; max-width: 550px; color: var(--ink-mute); }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; margin-top: 30px; }
.submit-progress { display: none; }
.htmx-request .submit-idle { display: none; }
.htmx-request .submit-progress { display: inline; }
.contact-form .invalid-feedback { font-size: .8125rem; margin-top: 7px; }
.form-error-summary { padding: 16px 19px; background: var(--accent-wash); border: 1px solid #ffc9b8; border-radius: var(--r); margin-bottom: 26px; font-size: .875rem; color: var(--accent-deep); }
.form-error-summary ul { margin: 8px 0 0; padding-left: 17px; }
.form-error-summary, .success-panel, .form-control, .form-select { scroll-margin-top: 110px; }
.contact-aside { position: sticky; top: 108px; }
.contact-aside h2 { font-size: 1.5rem; }
.contact-aside > a { overflow-wrap: anywhere; font-size: .9375rem; }
.contact-routes { margin: 0; }
.contact-routes dt { font-family: var(--font-mono); font-size: .625rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-mute); margin-top: 18px; }
.contact-routes dt:first-child { margin-top: 0; }
.contact-routes dd { margin: 5px 0 0; }
.contact-routes a { overflow-wrap: anywhere; font-size: .9375rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.contact-routes a:hover { color: var(--accent-text); }
.contact-aside hr { border-color: var(--line); margin: 28px 0; opacity: 1; }
.contact-aside h3 { font-size: 1rem; }
.contact-aside ol { padding-left: 18px; margin-top: 18px; }
.contact-aside li { font-size: .9375rem; color: var(--ink-soft); padding: 0 0 14px 5px; }
.contact-aside li::marker { color: var(--accent-text); font-weight: 700; }
.success-panel { border: 1px solid var(--line); background: var(--paper-alt); border-radius: var(--r-lg); padding: 46px; animation: rise-in .5s var(--ease) both; }
.success-panel > span { display: grid; place-items: center; width: 46px; height: 46px; background: var(--ink); color: var(--paper); border-radius: 50%; margin-bottom: 26px; }
.success-panel h2 { font-size: 2rem; }
.success-panel p { font-size: .9375rem; }
/* ---------- Error pages ---------- */
.error-page { padding: clamp(60px, 7vw, 110px) 0 clamp(50px, 6vw, 80px); }
.error-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; align-items: center; }
.error-code { display: block; font-size: clamp(5rem, 13vw, 11rem); font-weight: 600; letter-spacing: -.06em; line-height: .82; color: var(--line); }
.error-body h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.error-lead { font-size: 1.0625rem; line-height: 1.8; max-width: 44ch; margin: 24px 0 34px; }
.error-suggest-title { color: var(--ink-mute); margin-bottom: 18px; }
.error-suggest { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.error-suggest a { display: block; padding: 26px 24px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; position: relative; transition: background .3s var(--ease); }
.error-suggest a:hover { background: var(--paper-alt); }
.error-suggest .service-index { display: block; margin-bottom: 26px; }
.error-suggest a:hover .service-index { color: var(--accent-text); }
.error-suggest strong { display: block; font-size: 1.125rem; font-weight: 600; letter-spacing: -.03em; }
.error-suggest small { display: block; margin-top: 6px; font-size: .875rem; line-height: 1.6; color: var(--ink-soft); }
.error-suggest i { position: absolute; top: 24px; right: 22px; color: var(--ink-mute); transition: transform .3s var(--ease), color .3s var(--ease); }
.error-suggest a:hover i { transform: translate(3px, -3px); color: var(--accent-text); }
@media (max-width: 991px) {
  .error-layout { grid-template-columns: 1fr; gap: 10px; }
  .error-suggest { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) { .error-suggest { grid-template-columns: 1fr; } }
/* ---------- Legal pages ---------- */
.legal-warning { display: flex; align-items: flex-start; gap: 11px; padding: 15px 18px; background: var(--accent-wash); border: 1px solid #ffc9b8; border-radius: var(--r); color: var(--accent-deep); font-size: .875rem !important; margin-bottom: 44px; max-width: 900px; }
.legal-warning i { margin-top: 2px; }
.legal-hero > .container > p { max-width: 660px; font-size: 1.0625rem; margin-top: 22px; line-height: 1.8; }
.legal-hero .legal-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--ink-soft); max-width: 660px; }
.legal-hero .legal-meta .mono { color: var(--ink-mute); margin-right: 7px; }
.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 70px; align-items: start; }
.legal-toc { position: sticky; top: 108px; }
.legal-toc .footer-title { color: var(--ink-mute); margin-bottom: 16px; }
.legal-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.legal-toc li { counter-increment: toc; border-top: 1px solid var(--line); }
.legal-toc li:last-child { border-bottom: 1px solid var(--line); }
.legal-toc a { display: flex; gap: 12px; padding: 11px 0; font-size: .8125rem; line-height: 1.5; color: var(--ink-soft); text-decoration: none; transition: color .2s var(--ease); }
.legal-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-mono); font-size: .6875rem; color: var(--ink-mute); flex-shrink: 0; padding-top: 2px; }
.legal-toc a:hover { color: var(--accent-text); }
.legal-copy { max-width: 720px; background: transparent; padding: 0; border: 0; font-size: 1rem; line-height: 1.85; color: var(--ink-soft); }
.legal-copy h2 { font-size: 1.375rem; margin: 46px 0 16px; scroll-margin-top: 110px; color: var(--ink); }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy p { margin-bottom: 20px; }
.legal-copy strong { color: var(--ink); font-weight: 600; }
.legal-copy ul { list-style: none; padding: 0; margin: 0 0 22px; }
.legal-copy li { position: relative; padding: 7px 0 7px 26px; }
.legal-copy li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 9px; height: 1px; background: var(--accent); }
.legal-contact { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); }
.legal-contact .footer-title { color: var(--ink-mute); margin-bottom: 12px; }
.legal-contact a { font-size: 1.0625rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.legal-contact a:hover { color: var(--accent-text); }
.legal-contact p { font-size: .875rem; margin: 10px 0 0; }
.legal-list { border-top: 1px solid var(--line); }
.legal-row { display: grid; grid-template-columns: 54px 1fr auto 44px; gap: 28px; align-items: center; border-bottom: 1px solid var(--line); padding: 28px 24px; margin-inline: -24px; color: var(--ink); text-decoration: none; position: relative; transition: color .4s var(--ease), padding .4s var(--ease); }
.legal-row::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.legal-row > * { position: relative; z-index: 1; }
.legal-row:hover { color: var(--paper); padding-inline: 32px; }
.legal-row:hover::before { transform: scaleY(1); transform-origin: top; }
.legal-row strong { font-size: clamp(1.1875rem, 1.7vw, 1.5rem); font-weight: 600; letter-spacing: -.035em; display: block; line-height: 1.2; }
.legal-row small { display: block; margin-top: 7px; font-size: .9375rem; line-height: 1.6; color: var(--ink-soft); max-width: 560px; transition: color .4s var(--ease); }
.legal-row:hover small { color: var(--on-dark-mute); }
.legal-row:hover .service-index { color: var(--accent); }
.legal-row-meta { display: flex; align-items: center; gap: 12px; color: var(--ink-mute); font-size: .6875rem; transition: color .4s var(--ease); }
.legal-row:hover .legal-row-meta { color: var(--on-dark-mute); }
.legal-flag { font-family: var(--font-mono); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); border: 1px solid #ffc9b8; background: var(--accent-wash); padding: 3px 9px; border-radius: 100px; }
.legal-row:hover .service-arrow { color: var(--ink); background: var(--paper); border-color: var(--paper); transform: translate(2px, -2px); }
.empty-note { background: var(--paper-alt); border: 1px solid var(--line); padding: 38px; border-radius: var(--r-lg); font-size: .9375rem; }
.empty-note h2 { font-size: 1.375rem; }

/* Contextual links between services, work and articles. */
.article-related { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .9375rem; }
.article-related a { font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.article-related a:hover { color: var(--accent-text); border-color: currentColor; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; border-top: 1px solid var(--line); padding-top: 34px; }
.related-list { list-style: none; padding: 0; margin: 0; }
.related-list li { border-bottom: 1px solid var(--line); padding: 16px 0; }
.related-list li:last-child { border-bottom: 0; }
.related-list a { display: block; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.related-list a:hover { color: var(--accent-text); }
.related-list small { display: block; margin-top: 5px; font-size: .875rem; line-height: 1.6; color: var(--ink-soft); }
@media (max-width: 767px) { .related-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Homepage: compact hardware teaser and process link ---------- */
.hardware-teaser { border-block: 1px solid var(--line); background: var(--paper-alt); }
.hardware-teaser.section-pad { padding: clamp(56px, 6vw, 96px) 0; }
.hardware-teaser .eyebrow { flex-wrap: wrap; }
.status-pill { padding: 4px 9px; border: 1px solid var(--line-strong); border-radius: 100px; background: var(--paper); color: var(--ink-soft); font-size: .5625rem; letter-spacing: .09em; }
.hardware-teaser-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(34px, 6vw, 86px); align-items: start; }
.hardware-teaser h2 { margin-bottom: 18px; }
.hardware-teaser h2 em { color: var(--accent-deep); }
.hardware-links { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-strong); }
.hardware-link { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; font-weight: 600; transition: color .2s var(--ease), background .2s var(--ease), padding .2s var(--ease); }
.hardware-link:nth-child(odd) { border-right: 1px solid var(--line-strong); }
.hardware-link:nth-child(even) { padding-left: 20px; }
.hardware-link:hover { color: var(--accent-deep); background: var(--paper); }
.hardware-link i { color: var(--ink-mute); flex-shrink: 0; }
.hardware-link-all { grid-column: 1 / -1; border-right: 0 !important; padding-left: 0 !important; color: var(--accent-deep); }
.section-link-row { display: flex; justify-content: flex-end; margin-top: 28px; }

/* ---------- Proof cards on About ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.proof-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--paper); color: var(--ink); text-decoration: none; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.proof-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.proof-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; border-bottom: 1px solid var(--line); }
.proof-card-body { display: flex; flex-direction: column; gap: 10px; padding: 24px; flex: 1; }
.proof-card .eyebrow { margin-bottom: 0; }
.proof-card h3 { font-size: 1.25rem; margin: 0; }
.proof-card p { font-size: .9375rem; line-height: 1.65; margin: 0; }
.proof-card .text-link { margin-top: 8px; }
.direct-access { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--line-strong); }
.direct-access h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.direct-access p { font-size: .9375rem; line-height: 1.7; margin: 0; }
.direct-access > div > span { display: block; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .13em; color: var(--accent-deep); margin-bottom: 12px; }

/* ---------- Contact: email route, optional fields, large touch targets ---------- */
.contact-alt { margin: 20px 0 0; font-size: .9375rem; color: var(--ink-soft); }
.contact-alt a { font-weight: 650; color: var(--ink); }
.optional-details { border-top: 1px solid var(--line); margin-top: 4px; }
.optional-details summary { display: flex; align-items: center; gap: 10px; padding: 18px 0; cursor: pointer; list-style: none; font-size: .9375rem; font-weight: 650; color: var(--ink); }
.optional-details summary::-webkit-details-marker { display: none; }
.optional-details summary span { font-family: var(--font-mono); font-size: .625rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }
.optional-details summary i { margin-left: auto; color: var(--ink-mute); transition: transform .25s var(--ease); }
.optional-details[open] summary i { transform: rotate(45deg); }
.optional-details .row { padding-bottom: 4px; }
.breadcrumb a { display: inline-block; padding-block: 9px; }
.footer-links li { margin-bottom: 0; }
.footer-links a { display: inline-block; padding-block: 10px; }
.footer-legal a { display: inline-block; padding-block: 9px; }
.contact-routes dd a { display: inline-block; padding-block: 8px; }

/* ---------- Motion ---------- */
.back-to-top { position: fixed; right: 24px; bottom: 24px; z-index: 39; width: 46px; height: 46px; border: 1px solid var(--dark-line); border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 16px; display: grid; place-items: center; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease), background .25s var(--ease); cursor: pointer; }
.back-to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { background: var(--accent); border-color: var(--accent); }
/* Scroll-reveal: JS adds .reveal, IntersectionObserver adds .in. Without JS nothing is hidden. */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (min-width: 992px) { .service-hero .btn { margin-bottom: 8px; } }
@media (max-width: 1199px) {
  .hero-layout { gap: 34px; }
  .hero-actions { gap: 10px 22px; }
  .product-stage { padding: 19px; }
  .featured-work-grid { gap: 22px; }
  .nav-link { padding-inline: 10px !important; }
  .nav-link::before { left: 10px; right: 10px; }
  .brand-name { max-width: 220px; }
  .service-row { grid-template-columns: 46px 1fr minmax(0, 40%) 40px; gap: 20px; }
  .industry-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 991px) {
  .navbar-collapse { padding: 20px 0 10px; }
  .navbar-nav { align-items: stretch !important; gap: 4px; }
  .nav-link { padding: 12px 0 !important; }
  .nav-link::before { left: 0; right: 0; }
  .navbar-nav .btn { margin-top: 12px; }
  .hero-layout { grid-template-columns: 1fr 1fr; gap: 26px; }
  .hero-copy h1 { font-size: 40px; }
  .hero-lead { font-size: 1rem; margin-bottom: 26px; }
  .hero-signoff { margin-top: 30px; padding-top: 22px; }
  .hero-actions .btn, .hero-actions .text-link { font-size: .8125rem; }
  .product-stage { padding: 15px; }
  .product-main { padding: 12px; }
  .workspace-title strong { font-size: 15px; }
  .showcase-panels { height: 348px; }
  .stage-note { padding: 10px; bottom: 14px; }
  .stage-note strong, .stage-note span:not(.note-icon) { font-size: 8px; }
  .stage-note > i { display: none; }
  .device-side-note { display: none; }
  .assistant-preview { padding: 16px; }
  .showcase-controls button { padding-inline: 11px; }
  .section-heading:not(.row) { gap: 34px; margin-bottom: 38px; }
  .service-row { grid-template-columns: 40px 1fr 40px; gap: 16px; }
  .service-row > span:nth-child(3) { display: none; }
  .featured-work-grid { grid-template-columns: 1fr 1fr; }
  .featured-work-grid article:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; }
  .featured-work-grid article:last-child .work-card-content { padding: 0; }
  .industry-grid { grid-template-columns: 1fr 1fr; }
  .hardware-teaser-inner { grid-template-columns: 1fr; gap: 34px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-card:last-child { grid-column: 1 / -1; }
  .workflow-visual { margin-inline: 0; max-width: none; }
  .contact-aside { position: static; }
  .legal-layout { grid-template-columns: 1fr; gap: 38px; }
  .legal-toc { position: static; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; background: var(--paper-alt); }
  .legal-toc li:first-child { border-top: 0; }
  .legal-toc li:last-child { border-bottom: 0; }
  .principle-grid > div { padding-right: 22px; }
  .principle-grid > div:nth-child(even) { padding-left: 24px; }
  .delivery-grid { grid-template-columns: 1fr 1fr; }
  .delivery-grid article:nth-child(2) { border-right: 0; }
  .delivery-grid article:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-left: 0; }
  .service-catalog h2, .service-catalog h3 { font-size: 1.4375rem; }
  .process-detail article { grid-template-columns: 96px 1fr; }
}
@media (max-width: 767px) {
  .container { --bs-gutter-x: 2.25rem; }
  .row.g-5 { --bs-gutter-x: 2rem; }
  .navbar { min-height: 70px; padding: 13px 0; }
  .navbar-brand { font-size: 13px; gap: 9px !important; margin-right: 10px; max-width: calc(100% - 60px); }
  .brand-name { max-width: 215px; }
  .studio-hero { padding-top: 18px; }
  .hero-layout { grid-template-columns: 1fr; gap: 34px; }
  .hero-copy h1 { font-size: clamp(38px, 10vw, 62px); max-width: 600px; }
  .hero-lead { font-size: 1.0625rem; max-width: 500px; }
  .hero-actions { gap: 14px 20px; }
  .hero-signoff { margin-top: 32px; }
  .hero-baseline { margin-top: 34px; font-size: .75rem; gap: 20px; }
  .hero-baseline .mono { display: none; }
  .product-stage { padding: 18px; max-width: 540px; width: 100%; margin-inline: auto; }
  .product-main { padding: 16px; }
  .showcase-panels { height: 352px; }
  .workspace-title strong { font-size: 17px; }
  .stage-note { bottom: 0; right: 0; }
  .stage-note strong, .stage-note span:not(.note-icon) { font-size: 9px; }
  .tech-band { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .tech-band > p br { display: none; }
  .tech-band strong { display: inline; }
  .tech-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tech-list span { font-size: .875rem; }
  .section-heading:not(.row) { grid-template-columns: 1fr; gap: 18px; margin-bottom: 30px; }
  .section-heading h2 { font-size: 2rem; }
  .section-heading > p, .section-heading > div > p:not(.eyebrow) { font-size: .9375rem; max-width: none; }
  .eyebrow { font-size: .625rem; margin-bottom: 18px; }
  .service-row { grid-template-columns: 32px 1fr 34px; gap: 14px; padding: 22px 16px; margin-inline: -16px; }
  .service-row:hover { padding-inline: 16px; }
  .service-row strong { font-size: 1.125rem; }
  .service-arrow { width: 34px; height: 34px; font-size: 12px; }
  .industry-grid { grid-template-columns: 1fr 1fr; }
  .industry-grid article { padding: 22px 18px 26px; }
  .industry-grid article > i { margin-bottom: 16px; }
  .industry-grid h3 { font-size: .9375rem; }
  .industry-grid p { font-size: .8125rem; }
  .industry-cta { grid-column: 1 / -1; }
  .featured-work-grid { grid-template-columns: 1fr; gap: 34px; }
  .featured-work-grid article:last-child { grid-column: auto; display: block; }
  .featured-work-grid article:last-child .work-card-content { padding-top: 24px; }
  .work-group-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 28px; }
  .experiments-grid { grid-template-columns: 1fr; gap: 34px; }
  .work-card-compact .project-visual { height: 320px; }
  .project-visual { height: 320px; }
  .preview-dashboard { max-width: 350px; }
  .preview-assistant { max-width: 300px; }
  .work-card h2, .work-card h3 { font-size: 1.3125rem; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid > div, .principle-grid > div:nth-child(even) { padding: 24px 0 28px; border-right: 0; }
  .craft-seal { margin-top: 28px; }
  .section-intro { font-size: 1rem; }
  .workflow-visual { padding: 20px; }
  .workflow-step { padding: 13px; gap: 12px; }
  .delivery-grid { grid-template-columns: 1fr; }
  .delivery-grid article, .delivery-grid article:not(:first-child), .delivery-grid article:last-child { border-right: 0; border-bottom: 1px solid var(--line); border-top: 0; padding: 28px 0 22px; }
  .delivery-grid article:last-child { border-bottom: 0; }
  .delivery-grid h3 { margin-top: 18px; }
  .delivery-label { margin-top: 18px; }
  .faq-list summary { padding: 20px 0; font-size: .9375rem; }
  .faq-list p { padding-right: 20px; padding-bottom: 20px; font-size: .875rem; }
  .cta-inner { padding: 58px 0; align-items: flex-start; flex-direction: column; gap: 32px; min-height: auto; }
  .cta-inner h2 { font-size: 2.375rem; }
  .cta-inner > div:last-child { display: flex; align-items: center; gap: 20px; }
  .cta-round-link { width: 66px; height: 66px; font-size: 22px; }
  .cta-link-caption { margin: 0; text-align: left; }
  .page-hero { padding: 38px 0 40px; }
  .page-hero h1 { font-size: clamp(33px, 9vw, 48px); }
  .page-hero > .container > p:last-child { font-size: 1rem; }
  .service-catalog { grid-template-columns: 1fr; }
  .service-catalog article, .service-catalog article:nth-child(even) { padding: 30px 0; border-right: 0; }
  .service-catalog article:last-child:nth-child(odd) { grid-template-columns: 1fr; gap: 18px; padding: 30px 0; }
  .service-catalog article:nth-child(odd)::before, .service-catalog article:nth-child(even)::before { left: -18px; right: -18px; }
  .capability-box, .contact-aside { padding: 24px; }
  .legal-row { grid-template-columns: 32px 1fr 34px; gap: 14px; padding: 22px 16px; margin-inline: -16px; }
  .legal-row:hover { padding-inline: 16px; }
  .legal-row-meta { display: none; }
  .legal-row strong { font-size: 1.0625rem; }
  .legal-row small { font-size: .875rem; }
  .legal-warning { margin-bottom: 30px; }
  .legal-copy h2 { font-size: 1.1875rem; margin-top: 34px; }
  #work-grid .project-visual { height: 320px; }
  .outcomes ul { grid-template-columns: 1fr; }
  .process-detail article { grid-template-columns: 54px 1fr; gap: 16px; padding: 26px 0; }
  .process-detail article > span { font-size: 1.5rem; }
  .process-detail h2 { font-size: 1.3125rem; }
  .article-list h2 { font-size: 1.375rem; }
  .article-list .round-link { display: none; }
  .article-list article { grid-template-columns: 1fr; padding: 28px 0; }
  .article-hero h1 { font-size: 2rem; }
  .article-body { font-size: 1rem; padding-top: 40px; padding-bottom: 50px; }
  .success-panel { padding: 30px; }
  .footer-bottom { font-size: .6875rem; justify-content: flex-start; padding: 20px 0; }
  .footer-tagline { margin-left: 0; width: 100%; }
  .footer-grid { padding: 44px 0 40px; }
  .footer-brand, .footer-title { min-height: 0; }
  .footer-brand { padding-bottom: 4px; }
  .footer-email { padding-top: 22px; }
  .hardware-links { grid-template-columns: 1fr; }
  .hardware-link:nth-child(odd) { border-right: 0; }
  .hardware-link:nth-child(even) { padding-left: 0; }
  .proof-grid, .direct-access { grid-template-columns: 1fr; }
  .proof-card:last-child { grid-column: auto; }
  .back-to-top { right: 16px; bottom: 16px; }
}
@media (max-width: 480px) {
  .optional-details summary span { display: none; }
}
@media (max-width: 359px) {
  .brand-name { max-width: 165px; font-size: 12px; }
  .hero-copy h1 { font-size: 34px; }
  .product-stage { padding: 13px; }
  .product-main { padding: 12px; }
  .product-sidebar { width: 30px; }
  .showcase-panels { height: 336px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
