/* The Web House — site styles (light studio design) */
:root {
  --background: #ffffff; --foreground: #111111; --ink: #0a0a0a;
  --muted: #8d8d8d; --subtle: #b6b6b6; --line: #e6e5e2;
  --surface: #f1f0ee; --surface-2: #e3e2df;
  --accent: #0b6bb5; --accent-from: #3aa6f5; --accent-to: #0a5ea3; --accent-soft: #5bb8ff;
  --hero-from: #ecebe9; --hero-to: #c9c9c9;
  --card: #ffffff; --fg-rgb: 17, 17, 17; --bg-rgb: 255, 255, 255; --line-rgb: 230, 229, 226; --surface-rgb: 241, 240, 238;
  --hero-glow: #e4f2ff; --hero-mid: #f6fbff;
  color-scheme: light;
  --radius-pill: 9999px; --radius-card: 2rem; --radius-card-sm: 1.25rem; --radius-control: .875rem;
  --text-watermark: 13rem;
  --spring: cubic-bezier(.22, 1, .36, 1);
  --spring-soft: cubic-bezier(.16, 1, .3, 1);
  --snap: cubic-bezier(.2, .8, .2, 1);
  --out-cubic: cubic-bezier(.215, .61, .355, 1);
  --out-quart: cubic-bezier(.165, .84, .44, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; scroll-padding-top: 6rem; }
/* Adaptive grid: the whole layout is sized in rem and the root size follows the viewport */
@media (max-width: 1920px) { html { font-size: .833333vw; } }
@media (max-width: 1440px) { html { font-size: 1.111111vw; } }
@media (max-width: 1024px) { html { font-size: 1.5625vw; } }
@media (max-width: 640px) { html { font-size: 4.444444vw; } }
body { background: var(--background); color: var(--foreground); font-family: 'Onest', system-ui, sans-serif; overflow-x: hidden; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
svg { flex: none; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.02em; line-height: 1.05; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
html.locked { position: relative; overflow: hidden; height: 100%; }
.shell { max-width: 88rem; margin-inline: auto; padding-inline: 1.25rem; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 130; border-radius: var(--radius-control); background: var(--ink); padding: .5rem 1rem; font-size: .875rem; color: #fff; }
.skip:focus { top: 1rem; }
.muted { color: var(--muted); }

/* Intro loader and page-to-page veil */
.loader { position: fixed; inset: 0; z-index: 120; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; background: var(--ink); color: #fff; border-radius: 0 0 2rem 2rem; transition: transform .75s var(--spring); }
.loader-center { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; text-align: center; transition: opacity .45s, transform .45s var(--spring); }
.loader-center img { height: 5.5rem; width: auto; }
.loader-center p { max-width: 26ch; font-size: .875rem; color: rgba(255, 255, 255, .55); }
.loader-progress { width: min(22rem, 72vw); display: flex; flex-direction: column; gap: .75rem; }
.loader-track { height: 1px; background: rgba(255, 255, 255, .15); }
.loader-track i { display: block; height: 100%; width: 0; background: var(--accent-from); transition: width .1s ease-out; }
.loader-row { display: flex; justify-content: space-between; font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: rgba(255, 255, 255, .45); }
.loader-row b { font-weight: 500; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .8); }
.loader.out { transform: translateY(-100%); }
.loader.out .loader-center { opacity: 0; transform: translateY(-12px); }
html.no-intro .loader, html:not(.js) .loader { display: none; }
.veil { visibility: hidden; position: fixed; inset: 0; z-index: 119; display: grid; place-items: center; background: var(--ink); color: #fff; border-radius: 2rem 2rem 0 0; transform: translateY(101%); pointer-events: none; font-size: 2.25rem; font-weight: 600; letter-spacing: -.02em; }
.veil span { opacity: 0; transform: translateY(1rem); }
html.pt-leave .veil, html.pt-enter .veil { visibility: visible; }
html.pt-leave .veil { pointer-events: all; transform: none; transition: transform .55s var(--spring); }
html.pt-leave .veil span { opacity: 1; transform: none; transition: opacity .35s .25s, transform .5s .25s var(--spring); }
html.pt-enter .veil { transform: none; border-radius: 0 0 2rem 2rem; }
html.pt-enter .veil span { opacity: 1; transform: none; }
html.pt-enter.pt-go .veil { transform: translateY(-101%); transition: transform .7s var(--spring); }
html.pt-enter.pt-go .veil span { opacity: 0; transition: opacity .25s; }

/* Reveals */
.js [data-reveal] { opacity: 0; transform: translateY(var(--ry, 16px)) scale(var(--rs, 1)); transition: opacity .8s var(--spring-soft), transform .8s var(--spring-soft); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line > span { display: block; }
.js .lines .line > span { transform: translateY(105%); opacity: 0; transition: transform .9s var(--out-cubic), opacity .9s var(--out-cubic); transition-delay: calc(var(--d, 0ms) + var(--i, 0) * var(--stagger, 120ms)); }
.js .lines.in .line > span { transform: none; opacity: 1; }
.w { display: inline-block; }
.js .words .w { transform: translateY(24px); opacity: 0; transition: transform .7s var(--out-quart), opacity .7s var(--out-quart); transition-delay: calc(var(--i, 0) * 35ms); }
.js .words.in .w { transform: none; opacity: 1; }

/* Eyebrow, pills, chips */
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 500; color: rgba(var(--fg-rgb), .7); }
.eyebrow::before { content: ""; width: .375rem; height: .375rem; border-radius: 50%; background: var(--accent-from); }
.eyebrow.light { color: rgba(255, 255, 255, .7); }
.eyebrow.light::before { background: var(--accent-from); }
.eyebrow.ring { border: 1px solid var(--line); border-radius: var(--radius-pill); padding: .375rem 1rem; }
.eyebrow.accent::before { background: var(--accent); }
.pill { display: inline-flex; align-items: center; gap: .75rem; border-radius: var(--radius-pill); font-size: .875rem; font-weight: 500; padding: .875rem 1.75rem; transition: transform .35s var(--snap); white-space: nowrap; }
.pill.arrow { padding: .375rem .375rem .375rem 1.5rem; }
.pill.dark { background: var(--ink); color: #fff; }
.pill.light { background: var(--surface); color: var(--foreground); }
.pill.outline { border: 1px solid var(--line); background: transparent; color: var(--foreground); }
.hero .pill.outline, .page-hero .pill.outline { border-color: rgba(var(--fg-rgb), .25); background: rgba(255, 255, 255, .35); backdrop-filter: blur(4px); }
.pill-badge { width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border-radius: 50%; font-size: 1rem; background: var(--ink); color: #fff; }
.pill.dark .pill-badge { background: #fff; color: var(--ink); }
.pill-badge svg { width: 1em; height: 1em; transition: transform .35s var(--snap); }
.tag { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: .5rem 1rem; font-size: .875rem; }
.tag.light { border-color: rgba(255, 255, 255, .25); color: #fff; }
.alink { display: inline-flex; opacity: .65; transition: transform .35s var(--snap), opacity .35s; }
.icon { width: 1em; height: 1em; }

/* Header */
.header { position: fixed; inset-inline: 0; top: 0; z-index: 50; }
/* Once the page scrolls, the bar tightens up and gets a frosted white background */
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(var(--bg-rgb), .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line), 0 .75rem 2rem rgba(17, 17, 17, .06); opacity: 0; transition: opacity .35s; }
.header.stuck::before { opacity: 1; }
.header-in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; padding-block: 1.25rem; transition: padding .35s var(--spring); }
.header.stuck .header-in { padding-block: .625rem; }
.brand { display: inline-flex; align-items: center; transition: transform .35s var(--snap); }
.brand img { height: 3.5rem; width: auto; transition: height .35s var(--spring); }
.header.stuck .brand img { height: 2.75rem; }
/* Main links sit together in one glass pill; the current page is the filled one */
.nav { display: none; justify-self: center; }
.nav > ul { display: flex; align-items: center; gap: .125rem; padding: .3125rem; border-radius: var(--radius-pill); border: 1px solid rgba(var(--line-rgb), .9); background: rgba(var(--bg-rgb), .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .875rem; font-weight: 500; }
.header.stuck .nav > ul { background: var(--surface); border-color: transparent; }
.nav-link { display: inline-flex; align-items: center; gap: .25rem; padding: .5rem 1rem; border-radius: var(--radius-pill); color: rgba(var(--fg-rgb), .75); transition: background .25s, color .25s; }
.nav-link:hover, .has-sub:hover > .nav-link, .has-sub:focus-within > .nav-link { background: rgba(var(--fg-rgb), .06); color: var(--foreground); }
.nav-link[aria-current="page"], .nav-link[aria-current="page"]:hover { background: var(--ink); color: #fff; }
.nav-link small { font-size: .75rem; opacity: .6; }
.head-link, .head-cta { display: none; align-items: center; gap: .5rem; border-radius: var(--radius-pill); font-size: .875rem; font-weight: 500; white-space: nowrap; }
.head-link { padding: .5rem .75rem; color: rgba(var(--fg-rgb), .75); transition: color .25s, background .25s; }
.head-link svg { width: 1rem; height: 1rem; color: var(--accent); }
.head-link:hover { color: var(--foreground); background: rgba(var(--fg-rgb), .06); }
.head-cta { padding: .3125rem .3125rem .3125rem 1.125rem; background: var(--accent); color: #fff; transition: background .25s; }
.head-cta span { width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--accent); transition: transform .35s var(--snap); }
.head-cta svg { width: .875rem; height: .875rem; }
.head-cta:hover { background: var(--accent-to); }
.head-cta:hover span { transform: rotate(45deg); }
.has-sub { position: relative; }
.sub { position: absolute; left: 50%; top: 100%; width: 34rem; padding-top: .75rem; transform: translate(-50%, .5rem); opacity: 0; visibility: hidden; transition: opacity .25s, transform .35s var(--spring), visibility .25s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub-panel { padding: .5rem; border-radius: var(--radius-card-sm); background: var(--card); box-shadow: 0 1.5rem 3rem rgba(17, 17, 17, .14), 0 0 0 1px rgba(var(--line-rgb), .9); }
.sub-icon { flex: none; width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border-radius: .625rem; background: rgba(11, 107, 181, .1); color: var(--accent); transition: background .25s, color .25s; }
/* Services: blue intro panel on the left, the eight services on the right */
.sub.mega { width: 50rem; }
.sub.mega .sub-panel { display: grid; grid-template-columns: 15rem 1fr; gap: .5rem; }
.sub-intro { display: flex; flex-direction: column; gap: .5rem; padding: 1.25rem; border-radius: var(--radius-control); background: linear-gradient(150deg, var(--accent-from), var(--accent-to)); color: #fff; }
.sub-intro small { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.sub-intro strong { font-size: 1.375rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.15; }
.sub-intro p { flex: 1; font-size: .8125rem; line-height: 1.45; opacity: .85; }
.sub-all { display: inline-flex; align-items: center; justify-content: space-between; gap: .5rem; border-radius: var(--radius-pill); padding: .5rem .875rem; font-size: .8125rem; font-weight: 500; background: #fff; color: var(--accent-to); transition: transform .3s var(--snap); }
.sub-all.ghost { background: rgba(255, 255, 255, .16); color: #fff; }
.sub-all svg, .sub-foot svg { width: .875rem; height: .875rem; }
.sub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .125rem; align-content: start; }
.sub-grid a { display: flex; align-items: center; gap: .75rem; padding: .625rem; border-radius: var(--radius-control); transition: background .25s; }
.sub-grid a:hover, .sub-grid a[aria-current="page"] { background: var(--surface); }
.sub-grid a:hover .sub-icon, .sub-grid a[aria-current="page"] .sub-icon, .sub-card:hover .sub-icon { background: var(--accent); color: #fff; }
.sub-grid strong { display: block; font-size: .875rem; font-weight: 500; }
.sub-grid small { display: block; font-size: .75rem; color: rgba(var(--fg-rgb), .5); line-height: 1.3; }
/* Our Work: one card per category */
.sub.cats { width: 30rem; }
.sub-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.sub-card { position: relative; display: flex; flex-direction: column; gap: .375rem; min-height: 10.5rem; padding: 1rem; border-radius: var(--radius-control); background: var(--surface); transition: background .25s; }
.sub-card:hover { background: var(--surface-2); }
.sub-card strong { margin-top: auto; font-size: 1.125rem; font-weight: 500; letter-spacing: -.01em; }
.sub-card small { font-size: .75rem; color: rgba(var(--fg-rgb), .55); line-height: 1.35; }
.sub-go { position: absolute; top: 1rem; right: 1rem; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; transition: transform .35s var(--snap), background .25s; }
.sub-go svg { width: .875rem; height: .875rem; }
.sub-card:hover .sub-go { transform: rotate(45deg); background: var(--accent); }
.sub-foot { display: flex; align-items: center; justify-content: space-between; margin-top: .5rem; padding: .75rem 1rem; border-radius: var(--radius-control); font-size: .8125rem; font-weight: 500; color: var(--accent); transition: background .25s; }
.sub-foot:hover { background: rgba(11, 107, 181, .08); }
.overlay-services a.accent { border-color: var(--accent-from); color: #fff; background: rgba(58, 166, 245, .16); }
.header-right { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: .75rem; }
.clock, .menu-btn { border: 1px solid rgba(var(--line-rgb), .8); background: rgba(var(--bg-rgb), .4); backdrop-filter: blur(4px); border-radius: var(--radius-pill); }
.clock [data-date], .clock i { display: none; }
.clock { display: none; align-items: center; gap: .5rem; padding: .5rem .875rem; font-size: .75rem; color: rgba(var(--fg-rgb), .7); }
.clock em { font-style: normal; color: rgba(var(--fg-rgb), .45); }
.clock b { font-weight: 500; }
.clock [data-time] { min-width: 3.5rem; font-variant-numeric: tabular-nums; color: var(--foreground); }
.clock i { font-style: normal; color: rgba(var(--fg-rgb), .3); }
.menu-btn { transition: background .25s; }
.menu-btn:hover { background: rgba(var(--bg-rgb), .7); }
.menu-btn span { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; transition: transform .35s var(--snap); }
.menu-btn svg { width: .875rem; height: .875rem; }
.menu-btn u { text-decoration: none; display: none; }

/* Full-screen menu */
.overlay { position: fixed; inset: 0; z-index: 115; display: flex; flex-direction: column; background: var(--ink); color: #fff; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; overflow-y: auto; }
.overlay.open { opacity: 1; visibility: visible; }
.overlay-top { display: flex; align-items: center; justify-content: space-between; padding-block: 1.25rem; width: 100%; }
.overlay-top img { height: 3.5rem; width: auto; }
.close-btn { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid rgba(255, 255, 255, .15); border-radius: var(--radius-control); padding: .5rem 1rem; font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: rgba(255, 255, 255, .7); transition: border-color .25s, color .25s; }
.close-btn:hover { border-color: rgba(255, 255, 255, .4); color: #fff; }
.close-btn svg { width: .875rem; height: .875rem; }
.overlay-nav { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 2rem; width: 100%; padding-block: 1.5rem; }
.overlay-nav > ul { display: flex; flex-direction: column; gap: .25rem; }
.overlay-nav > ul a { display: flex; align-items: baseline; gap: 1rem; padding-block: .5rem; font-size: 2.25rem; font-weight: 600; letter-spacing: -.02em; transform: translateY(1rem); opacity: 0; transition: transform .5s ease-out, opacity .5s ease-out; transition-delay: calc(var(--i) * 45ms + 80ms); }
.overlay.open .overlay-nav > ul a { transform: none; opacity: 1; }
.overlay-nav > ul a small { font-size: 1rem; font-weight: 400; color: rgba(255, 255, 255, .3); transition: color .3s; }
.overlay-nav > ul a span { color: rgba(255, 255, 255, .7); transition: color .3s; }
.overlay-nav > ul a:hover small, .overlay-nav > ul a[aria-current="page"] small { color: var(--accent-from); }
.overlay-nav > ul a:hover span, .overlay-nav > ul a[aria-current="page"] span { color: #fff; }
.overlay-services { display: flex; flex-wrap: wrap; gap: .5rem; }
.overlay-services a { border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--radius-pill); padding: .5rem 1rem; font-size: .875rem; color: rgba(255, 255, 255, .75); transition: border-color .25s, color .25s, background .25s; }
.overlay-services a:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.overlay-bottom { display: flex; flex-direction: column; gap: .75rem; border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 1.5rem; width: 100%; font-size: .75rem; text-transform: uppercase; letter-spacing: .025em; color: rgba(255, 255, 255, .45); }
.overlay-bottom a { color: rgba(255, 255, 255, .7); }
.overlay-bottom a:hover { color: #fff; text-decoration: underline; }
.overlay-bottom div { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; border-radius: 0 0 2rem 2rem; background: var(--hero-to); }
.liquid { position: absolute; inset: 0 0 auto 0; height: 26rem; z-index: 0; -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.liquid img, .liquid canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.liquid img { object-fit: cover; object-position: 55.4% 50%; }
.liquid canvas { pointer-events: none; }
.vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, rgba(255, 255, 255, .35), transparent, rgba(255, 255, 255, .35)); }
.watermark { pointer-events: none; position: absolute; inset-inline: 0; z-index: 1; text-align: center; user-select: none; font-weight: 700; line-height: 1; font-size: 3.6rem; white-space: nowrap; }
.hero .watermark { bottom: 5rem; color: rgba(255, 255, 255, .4); }
.js .hero .watermark { opacity: 0; transform: translateY(20px); transition: opacity 1.2s .3s, transform 1.2s .3s var(--spring-soft); }
.js.ready .hero .watermark { opacity: 1; transform: none; }
.hero-grid { position: relative; z-index: 20; display: flex; flex-direction: column; gap: 2rem; padding-top: 22rem; padding-bottom: 5rem; }
.hero-left { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.hero h1 { max-width: 18ch; font-size: 2.25rem; line-height: .98; }
.rating { display: flex; align-items: center; gap: .5rem; }
.hero .lead { max-width: 30rem; }
.rating span { display: inline-flex; gap: .125rem; color: var(--accent); font-size: 1rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-right { display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; }
.hero-card { width: 100%; max-width: 24rem; border-radius: var(--radius-card-sm); background: rgba(255, 255, 255, .7); padding: .5rem; box-shadow: 0 1px 2px rgba(17, 17, 17, .06), 0 0 0 1px rgba(230, 229, 226, .7); backdrop-filter: blur(12px); }
.hero-card-row { display: flex; gap: .5rem; cursor: pointer; border-radius: var(--radius-control); }
.hero-card-tile { aspect-ratio: 1; width: 6rem; display: grid; place-items: center; border-radius: var(--radius-control); background: var(--ink); }
.hero-card-tile img { height: 3.75rem; width: auto; }
.hero-card-panel { flex: 1; min-width: 0; border-radius: var(--radius-control); background: rgba(241, 240, 238, .7); padding: .75rem; display: flex; flex-direction: column; justify-content: space-between; }
.hero-card-slot { position: relative; min-height: 3.25rem; overflow: hidden; }
.hero-card-item { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity .45s, transform .45s var(--spring); pointer-events: none; }
.hero-card-item.on { opacity: 1; transform: none; }
.hero-card-item.up { transform: translateY(-14px); }
.hero-card-item small { display: block; font-size: .65rem; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: rgba(var(--fg-rgb), .45); }
.hero-card-item strong { display: block; max-width: 9rem; font-size: .875rem; font-weight: 500; line-height: 1.35; }
.hero-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: .5rem; }
.dots { display: flex; gap: .25rem; }
.dots i { height: .25rem; width: .375rem; border-radius: var(--radius-pill); background: rgba(var(--fg-rgb), .2); transition: all .3s; }
.dots i.on { width: 1rem; background: rgba(var(--fg-rgb), .7); }
.hero-card-btns { display: flex; gap: .25rem; }
.hero-card-btns button { width: 1.75rem; height: 1.75rem; display: grid; place-items: center; border-radius: 50%; background: var(--card); color: rgba(var(--fg-rgb), .7); box-shadow: 0 0 0 1px var(--line); transition: color .25s; }
.hero-card-btns button:hover { color: var(--foreground); }
.hero-card-btns svg { width: .875rem; height: .875rem; }
.hero-card-btns button:first-child svg { transform: rotate(180deg); }
.partners { width: 100%; max-width: 24rem; }
.partners p { margin-bottom: .75rem; font-size: .75rem; font-weight: 500; color: rgba(var(--fg-rgb), .45); }
.partners ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; row-gap: .75rem; }
.partners a { display: flex; align-items: center; gap: .375rem; font-size: .75rem; color: rgba(var(--fg-rgb), .7); opacity: .75; transition: transform .35s var(--snap), opacity .35s; }
.partners svg { width: .875rem; height: .875rem; color: rgba(var(--fg-rgb), .4); }
.statusbar { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: .75rem; border-top: 1px solid rgba(var(--fg-rgb), .1); padding-block: 1.25rem; font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .025em; color: rgba(var(--fg-rgb), .6); }
.statusbar .mid { display: none; }
.statusbar > span:last-child { display: none; }

/* Inner page hero */
.page-hero { position: relative; isolation: isolate; overflow: hidden; border-radius: 0 0 2rem 2rem; background: linear-gradient(to bottom, var(--hero-from), var(--hero-to)); }
.page-hero-in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; padding-top: 8rem; padding-bottom: 4rem; }
.page-hero h1 { max-width: 16ch; font-size: 2.5rem; line-height: 1; }
.page-hero h1 em, .hero h1 em { font-style: normal; color: var(--accent); }
.lead { max-width: 38rem; font-size: 1.0625rem; color: rgba(var(--fg-rgb), .7); }
.page-hero .watermark { bottom: -.5rem; color: rgba(255, 255, 255, .35); }
.page-bulb { position: absolute; right: -3rem; top: 0; z-index: 1; height: 15rem; width: auto; opacity: .9; filter: drop-shadow(0 1.5rem 3rem rgba(11, 107, 181, .35)); transform-origin: 50% 0; animation: sway 7s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }

/* Sections */
.section { padding-block: 5rem; }
.section.tight { padding-block: 2.5rem; }
.section.tint { background: var(--surface); }
.head { margin-bottom: 3rem; }
.head h2 { margin-top: 1.25rem; max-width: 18ch; font-size: 2.25rem; }
.head.center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }

/* About */
.about { display: grid; grid-template-columns: 1fr; align-items: center; gap: 3rem; }
.about-globe { position: relative; min-height: 14rem; display: flex; flex-direction: column; justify-content: space-between; }
.about-globe > svg { position: absolute; left: -1rem; top: 50%; transform: translateY(-50%); width: 12rem; height: 12rem; color: rgba(var(--fg-rgb), .1); }
.about-globe .eyebrow { position: relative; align-self: flex-start; }
.about-note { position: relative; display: flex; align-items: center; gap: .75rem; font-size: .875rem; color: rgba(var(--fg-rgb), .7); }
.about-note svg { width: 1.5rem; height: 1.5rem; color: var(--foreground); }
.about-note span { max-width: 14rem; }
.about-text { display: flex; flex-direction: column; gap: 2.5rem; }
.statement { font-size: 1.5rem; font-weight: 500; line-height: 1.35; letter-spacing: -.01em; }
.about-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.about-foot p { font-size: .875rem; color: rgba(var(--fg-rgb), .45); margin-bottom: .5rem; }
.socials { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-link { display: inline-flex; align-items: center; gap: .5rem; height: 2.25rem; padding-inline: 1rem; border-radius: var(--radius-pill); background: var(--surface); color: rgba(var(--fg-rgb), .75); font-size: .8125rem; font-weight: 500; transition: transform .35s var(--snap), background .25s; }
.chip-link.accent { background: var(--accent); color: #fff; }
.chip-link svg { width: .875rem; height: .875rem; }

/* Word band */
.band { display: flex; flex-direction: column; gap: .75rem; }
.band li { flex: 1; }
.band-tile { display: grid; place-items: center; height: 6rem; border-radius: var(--radius-pill); font-size: 1.875rem; font-weight: 500; transition: transform .4s var(--snap); }
.band-tile.light { background: var(--surface); color: var(--foreground); }
.band-tile.accent { background: linear-gradient(to bottom right, var(--accent-from), var(--accent-to)); color: #fff; }
.band-tile.dark { background: var(--ink); color: #fff; }
.band-tile.ghost { background: rgba(241, 240, 238, .6); color: rgba(var(--fg-rgb), .35); }
.band-tile svg { width: 2.25rem; height: 2.25rem; }

/* Service rows */
.rows > li { border-top: 1px solid var(--line); }
.rows > li:first-child { border-top: 0; }
.row { display: flex; align-items: center; gap: 1rem; border-radius: var(--radius-card-sm); padding: 1.5rem; background: rgba(241, 240, 238, 0); transition: background .45s var(--spring), padding .45s var(--spring); }
.row-index { width: 1.75rem; font-size: .875rem; font-weight: 500; color: rgba(var(--fg-rgb), .4); }
.row h3 { flex: 1; font-size: 1.5rem; font-weight: 500; letter-spacing: -.01em; }
.row p { display: none; max-width: 20rem; font-size: .875rem; color: rgba(var(--fg-rgb), .55); }
.row-badge { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; transition: transform .35s var(--snap); }
.row-badge svg { width: 1.125rem; height: 1.125rem; }

/* ---------- Home hero: white, with a blue canvas network and a turning wireframe shape behind rotating captions ---------- */
/* The same white and blue treatment is used on the home hero and on every inner page hero */
.hero.tech, .page-hero.tech { background: radial-gradient(60% 75% at 74% 42%, var(--hero-glow) 0%, var(--hero-mid) 55%, var(--background) 100%); }
.hero.tech::before, .page-hero.tech::before { content: ""; position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(rgba(11, 107, 181, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 107, 181, .07) 1px, transparent 1px); background-size: 4rem 4rem; -webkit-mask-image: radial-gradient(80% 70% at 70% 40%, #000, transparent); mask-image: radial-gradient(80% 70% at 70% 40%, #000, transparent); }
.net { position: absolute; inset: 0; z-index: 1; }
.net canvas { display: block; width: 100%; height: 100%; }
.hero.tech .hero-grid { padding-top: 21rem; }
.hero-slides { display: grid; width: 100%; }
.hero-slide { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; opacity: 0; visibility: hidden; transform: translateY(1.25rem); transition: opacity .5s, transform .7s var(--spring), visibility .5s; }
.hero-slide.on { opacity: 1; visibility: visible; transform: none; transition-delay: .2s; }
.hero-title { max-width: 14ch; font-size: 2.5rem; font-weight: 600; line-height: 1; letter-spacing: -.03em; color: var(--foreground); }
.hero.tech .hero-title em { font-style: normal; color: var(--accent); }
.hero.tech .lead { max-width: 30rem; }
.pill.blue { background: var(--accent); color: #fff; }
.pill.blue .pill-badge { background: #fff; color: var(--accent); }
.hero.tech .pill.outline, .page-hero.tech .pill.outline { background: rgba(var(--bg-rgb), .7); }
.page-hero.tech .statusbar { position: relative; z-index: 2; }
.page-hero.tech .pill.dark { background: var(--accent); }
.page-hero.tech .pill.dark .pill-badge { color: var(--accent); }
.hero-bars { display: flex; gap: .375rem; margin-top: .5rem; }
.hero-bars button { width: 2rem; height: 1.25rem; display: grid; align-items: center; }
.hero-bars i { display: block; height: 3px; border-radius: 3px; background: rgba(var(--fg-rgb), .14); overflow: hidden; }
.hero-bars i::after { content: ""; display: block; height: 100%; width: 0; background: var(--accent); }
.hero-bars .on i::after { width: 100%; }
.hero-bars.run .on i::after { animation: bar var(--slide-ms, 5000ms) linear; }
@keyframes bar { from { width: 0; } }

/* ---------- Shop: package cards with estimate prices and an enquiry basket ---------- */
.shop-note { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.25rem; margin-bottom: 1.5rem; border-radius: var(--radius-card-sm); background: rgba(11, 107, 181, .07); color: var(--foreground); }
.shop-note svg { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .125rem; color: var(--accent); }
.shop-note p { font-size: .9375rem; line-height: 1.5; }
.shop-filters { margin-bottom: 2rem; }
.prods { display: grid; grid-template-columns: 1fr; gap: 1rem; padding-bottom: 4rem; } /* room for the floating basket button */
.prod { display: flex; flex-direction: column; gap: .75rem; padding: 1.5rem; border-radius: var(--radius-card-sm); background: var(--surface); transition: background .3s, box-shadow .3s; }
.prod[hidden] { display: none; }
.prod.picked { background: var(--card); box-shadow: inset 0 0 0 2px var(--accent); }
.prod-top { display: flex; align-items: center; gap: .625rem; font-size: .8125rem; color: var(--muted); }
.prod-top .sub-icon { width: 2rem; height: 2rem; }
.prod h3 { font-size: 1.375rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.15; }
.prod > p { font-size: .9375rem; color: rgba(var(--fg-rgb), .65); line-height: 1.45; }
.prod-inc { display: grid; gap: .375rem; font-size: .875rem; }
.prod-inc li { display: flex; align-items: center; gap: .5rem; }
.prod-inc svg { flex: none; width: .875rem; height: .875rem; color: var(--accent); }
.prod-lead { display: flex; align-items: center; gap: .5rem; font-size: .8125rem; color: var(--accent-to); }
.prod-lead svg { flex: none; width: .875rem; height: .875rem; }
.shop-preview { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.25rem; margin-bottom: 1rem; border-radius: var(--radius-card-sm); background: #fff4dc; }
.shop-preview svg { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .125rem; color: #b7791f; }
.shop-preview p { font-size: .9375rem; }
.shop-off { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; max-width: 36rem; padding: 2.5rem; border-radius: var(--radius-card); background: var(--surface); }
.shop-off h2 { font-size: 2rem; font-weight: 500; letter-spacing: -.02em; }
.shop-off p { color: rgba(var(--fg-rgb), .65); }
.shop-loading { color: var(--muted); }
.prod-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.prod-price small { display: block; font-size: .6875rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.prod-price strong { display: block; font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; }
.prod-price em { display: block; font-style: normal; font-size: .75rem; color: var(--muted); }
.prod-add { flex: none; display: inline-flex; align-items: center; gap: .375rem; padding: .625rem 1rem; border-radius: var(--radius-pill); font-size: .875rem; font-weight: 500; background: var(--ink); color: #fff; transition: background .25s; }
.prod-add svg { width: .875rem; height: .875rem; }
.prod-add span { display: inline-flex; align-items: center; gap: .375rem; }
.prod-add .add-on, .prod-add[aria-pressed="true"] .add-off { display: none; }
.prod-add[aria-pressed="true"] { background: var(--accent); }
.prod-add[aria-pressed="true"] .add-on { display: inline-flex; }
.prod.custom { justify-content: space-between; align-items: flex-start; background: linear-gradient(145deg, var(--accent-from), var(--accent-to)); color: #fff; }
.prod.custom > p { color: rgba(255, 255, 255, .85); }
.prod.custom .eyebrow::before { background: #fff; }
.prod.custom .pill.light { background: #fff; color: var(--accent-to); }
/* Estimated prices list on each service page */
.price-list { display: grid; gap: .5rem; }
.price-list li { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 1.5rem; border-radius: var(--radius-card-sm); background: var(--surface); }
.price-list strong { display: block; font-size: 1.125rem; font-weight: 500; }
.price-list small { display: block; margin-top: .25rem; font-size: .875rem; color: rgba(var(--fg-rgb), .6); }
.price-list b { flex: none; text-align: right; font-weight: 600; }
.price-list em { display: block; font-style: normal; font-weight: 400; font-size: .75rem; color: var(--muted); }
/* Floating button that opens the basket */
.basket-btn { position: fixed; z-index: 40; right: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .625rem; padding: .5rem .5rem .5rem .625rem; border-radius: var(--radius-pill); background: var(--ink); color: #fff; font-size: .875rem; font-weight: 500; box-shadow: 0 1rem 2.5rem rgba(17, 17, 17, .25); animation: pop .5s var(--snap); }
.basket-btn[hidden] { display: none; }
.basket-btn b { font-weight: 500; color: rgba(255, 255, 255, .7); }
.basket-btn svg { width: 2rem; height: 2rem; padding: .5rem; border-radius: 50%; background: var(--accent); }
.basket-count { min-width: 1.75rem; height: 1.75rem; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); font-size: .8125rem; font-weight: 600; }
@keyframes pop { from { transform: translateY(1rem) scale(.9); opacity: 0; } }
/* The basket itself: a panel from the right */
.basket { position: fixed; inset: 0 0 0 auto; width: min(100vw, 30rem); max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--card); box-shadow: -1.5rem 0 3rem rgba(17, 17, 17, .18); }
.basket::backdrop { background: rgba(10, 10, 10, .35); }
.basket-in { display: flex; flex-direction: column; gap: 1rem; min-height: 100%; padding: 1.5rem; }
.basket-head { display: flex; align-items: center; justify-content: space-between; }
.basket-head h2 { font-size: 1.5rem; font-weight: 500; }
.basket-close { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--surface); font-size: 1.5rem; line-height: 1; }
.basket-list { display: grid; gap: .5rem; }
.basket-list li { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .75rem 1rem; border-radius: var(--radius-control); background: var(--surface); font-size: .875rem; }
.basket-list strong { display: block; font-weight: 500; }
.basket-list small { color: var(--muted); }
.basket-list button { flex: none; font-size: .8125rem; color: var(--accent); text-decoration: underline; }
.basket-empty { font-size: .9375rem; color: var(--muted); }
.basket-total { display: flex; align-items: baseline; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--line); }
.basket-total strong { font-size: 1.25rem; font-weight: 600; }
.basket-fine { font-size: .75rem; color: var(--muted); margin-top: -.5rem; }
.basket .fields { grid-template-columns: 1fr; }
.basket .pill[disabled] { opacity: .45; pointer-events: none; }

/* Founder credentials */
.creds-lead { max-width: 38rem; margin: -1rem 0 2rem; }
.creds { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.cred { display: flex; flex-direction: column; gap: .5rem; padding: 1.75rem; border-radius: var(--radius-card-sm); background: var(--surface); }
.cred .sub-icon { width: 3rem; height: 3rem; margin-bottom: 1rem; border-radius: .875rem; }
.cred .sub-icon svg { width: 1.375rem; height: 1.375rem; }
.cred small { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.cred strong { font-size: 1.375rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.2; }
.cred p { font-size: .9375rem; color: rgba(var(--fg-rgb), .62); }
.cred:first-child { background: linear-gradient(145deg, var(--accent-from), var(--accent-to)); color: #fff; }
.cred:first-child .sub-icon { background: rgba(255, 255, 255, .18); color: #fff; }
.cred:first-child small, .cred:first-child p { color: rgba(255, 255, 255, .82); }
.creds-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.creds-row li { display: inline-flex; align-items: center; gap: .5rem; padding: .375rem .875rem .375rem .375rem; border-radius: var(--radius-pill); background: var(--surface); font-size: .8125rem; font-weight: 500; }
.creds-row .sub-icon { width: 1.75rem; height: 1.75rem; border-radius: 50%; }
.creds-row .sub-icon svg { width: .875rem; height: .875rem; }

/* Our Story card: replaces the old globe drawing */
.story { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; min-height: 20rem; padding: 1.5rem; border-radius: var(--radius-card); background: linear-gradient(145deg, var(--accent-from), var(--accent-to)); color: #fff; }
.story .eyebrow { align-self: flex-start; color: rgba(255, 255, 255, .85); }
.story .eyebrow::before { background: #fff; }
.story-rings { position: absolute; z-index: -1; right: -6rem; top: -6rem; width: 24rem; height: 24rem; fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1.5; }
.story-main small { display: block; font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.story-main strong { display: block; font-size: 5rem; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.story-main p { margin-top: .75rem; max-width: 20rem; font-size: 1rem; opacity: .9; }
.story-note { display: flex; align-items: center; gap: .625rem; border-top: 1px solid rgba(255, 255, 255, .25); padding-top: 1rem; font-size: .875rem; }
.story-note svg { flex: none; width: 1.25rem; height: 1.25rem; }

/* Client logo strip: two copies of the list scroll left for a seamless loop; logos are mono until hovered */
.strip { padding-block: 3rem 1rem; }
.strip-label { text-align: center; font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 1.5rem; }
.strip-view { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.strip-track { flex: none; display: flex; align-items: center; gap: 1.5rem; padding-right: 1.5rem; animation: strip 60s linear infinite; }
.strip-view:hover .strip-track, .strip-view:focus-within .strip-track { animation-play-state: paused; }
@keyframes strip { to { transform: translateX(-100%); } }
.strip-item { display: grid; place-items: center; height: 5.5rem; padding: .75rem 1.5rem; border-radius: var(--radius-card-sm); transition: background .35s; }
.strip-item img { height: 2.5rem; width: auto; max-width: 10rem; object-fit: contain; filter: grayscale(1); opacity: .55; transition: filter .35s, opacity .35s; }
.strip-item.tall img { height: 4rem; }
.strip-item.inv img { filter: invert(1) grayscale(1); }
.strip-item:hover img, .strip-item:focus-visible img { filter: none; opacity: 1; }
.strip-item.inv:hover, .strip-item.inv:focus-visible { background: var(--ink); }

/* Stacking service cards: each card pins a little lower than the one before, so the next one slides over it */
.stack { display: grid; gap: 1.25rem; }
.stack-item { position: sticky; top: calc(5.5rem + var(--i) * .75rem); }
.stack-card { display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; min-height: 19rem; border-radius: var(--radius-card); background: var(--surface); padding: 1.5rem; box-shadow: 0 -1.25rem 2.5rem -1.5rem rgba(10, 10, 10, .28); transition: background .35s; }
.stack-card.dark { background: var(--ink); color: #fff; }
.stack-top { display: flex; align-items: center; justify-content: space-between; }
.stack-index { font-size: .8125rem; font-weight: 500; letter-spacing: .025em; color: rgba(var(--fg-rgb), .5); }
.stack-card.dark .stack-index { color: rgba(255, 255, 255, .5); }
.stack-card.dark .row-badge { background: var(--card); color: var(--ink); }
.stack-body { display: grid; gap: 1.5rem; }
.stack-body h3 { font-size: 2rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.05; }
.stack-body p { margin-top: .75rem; max-width: 26rem; font-size: 1rem; color: rgba(var(--fg-rgb), .6); }
.stack-card.dark .stack-body p { color: rgba(255, 255, 255, .6); }
.stack-chips { display: flex; flex-wrap: wrap; gap: .5rem; align-content: flex-end; }
.stack-chips li { border-radius: var(--radius-pill); padding: .375rem .875rem; font-size: .8125rem; background: rgba(var(--fg-rgb), .07); }
.stack-card.dark .stack-chips li { background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .85); }
@media (max-height: 34rem) { .stack-item { position: static; } }
/* Compact grid of the same cards, used under "More services" on each service page */
.stack.mini { grid-template-columns: 1fr; }
.stack.mini .stack-item { position: static; }
.stack.mini .stack-card { min-height: 15rem; padding: 1.5rem; box-shadow: none; }
.stack.mini .stack-body { display: block; }
.stack.mini .stack-body h3 { font-size: 1.75rem; }
.stack.mini .stack-body p { font-size: .9375rem; }
.stack.mini .stack-art { top: 0; right: -4rem; height: 62%; transform: none; opacity: .7; -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent); mask-image: linear-gradient(to bottom, #000 35%, transparent); }

/* Artwork behind each stacking card: faint line drawing on the right, fading out toward the text */
.stack-card { position: relative; overflow: hidden; isolation: isolate; }
.stack-art { position: absolute; z-index: -1; right: -1rem; top: 50%; height: 115%; max-width: none; transform: translateY(-50%); color: rgba(var(--fg-rgb), .26); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 45%); mask-image: linear-gradient(to right, transparent, #000 45%); transition: transform .8s var(--spring); }
.stack-card.dark .stack-art { color: rgba(255, 255, 255, .24); }
@media (max-width: 1023px) { .stack-art { top: 0; right: -3rem; height: 55%; transform: none; opacity: .45; -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent); mask-image: linear-gradient(to bottom, #000 30%, transparent); } }
.stack-art .f { fill: currentColor; stroke: none; }
.stack-art .a { stroke: var(--accent); }
.stack-art .af { fill: var(--accent); stroke: none; }
.stack-art .t, .stack-art .big { stroke: none; fill: currentColor; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; }
.stack-art .t .a { fill: var(--accent); stroke: none; }
.stack-art .big { font-family: inherit; font-size: 88px; font-weight: 600; }
.stack-card.dark .stack-art .a { stroke: var(--accent-from); }
.stack-card.dark .stack-art .af, .stack-card.dark .stack-art .t .a { fill: var(--accent-from); }
/* Blue card: the brand gradient, with white text and artwork */
.stack-card.blue { background: linear-gradient(135deg, var(--accent-from), var(--accent-to)); color: #fff; }
.stack-card.blue .stack-index { color: rgba(255, 255, 255, .75); }
.stack-card.blue .row-badge { background: #fff; color: var(--accent-to); }
.stack-card.blue .stack-body p { color: rgba(255, 255, 255, .85); }
.stack-card.blue .stack-chips li { background: rgba(255, 255, 255, .18); color: #fff; }
.stack-card.blue .stack-art { color: rgba(255, 255, 255, .38); }
.stack-card.blue .stack-art .a { stroke: #fff; }
.stack-card.blue .stack-art .af, .stack-card.blue .stack-art .t .a { fill: #fff; }
.stack-card:not(.dark):not(.blue) .row-badge { background: var(--accent); }

/* Our Work filters */
.filters { display: grid; gap: 1rem; }
.filter-row { display: grid; gap: .625rem; }
.filter-row > span { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.filter-row > div { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter { border-radius: var(--radius-pill); padding: .5rem 1rem; font-size: .875rem; font-weight: 500; background: var(--surface); color: var(--foreground); transition: background .3s, color .3s; }
.filter[aria-pressed="true"] { background: var(--accent); color: #fff; }
.filter-empty { color: var(--muted); }
[data-filter-section] { scroll-margin-top: 6rem; }
.stack-chips li { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* Company profile and motion videos */
.films { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.film { border-radius: var(--radius-card-sm); overflow: hidden; background: var(--ink); }
.film video { display: block; width: 100%; height: auto; max-height: 80vh; object-fit: contain; background: var(--ink); }

/* Dark cards: portfolio, features */
.cards { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.card { position: relative; display: block; min-height: 22rem; overflow: hidden; border-radius: var(--radius-card); background: var(--ink); padding: 1.5rem; color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .05); transition: transform .5s var(--spring); }
.card-meta { display: flex; align-items: center; justify-content: space-between; font-size: .75rem; text-transform: uppercase; letter-spacing: .025em; color: rgba(255, 255, 255, .45); }
.card-badge { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); transition: transform .45s var(--snap); }
.card-badge svg { width: 1.125rem; height: 1.125rem; }
.card-mark { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.card-mark img { max-height: 6rem; max-width: 55%; width: auto; }
.card-mark .logo-plate { display: grid; place-items: center; width: 60%; max-width: 16rem; aspect-ratio: 16 / 9; padding: 1.25rem; border-radius: var(--radius-card-sm); background: #fff; }
.card-mark .logo-plate img { max-height: 100%; max-width: 100%; }
.card-body { position: absolute; inset-inline: 1.5rem; bottom: 1.5rem; }
.card-body h3 { font-size: 1.5rem; font-weight: 500; letter-spacing: -.01em; }
.card-body p { margin-top: .5rem; max-width: 28rem; font-size: .875rem; color: rgba(255, 255, 255, .55); }
.card-tags { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.card.plain { min-height: 0; display: flex; flex-direction: column; gap: 1rem; }
.card.plain h2 { font-size: 1.875rem; font-weight: 500; letter-spacing: -.01em; max-width: 22ch; }
.card.plain p { max-width: 36rem; font-size: 1rem; color: rgba(255, 255, 255, .6); }

/* Client tiles: the logo sits on a soft grey tile (black for white logos) and links to the client's site */
.cards.clients > li { display: flex; }
.tile { flex: 1; display: flex; flex-direction: column; min-height: 20rem; border-radius: var(--radius-card); background: var(--surface); padding: 1.25rem; transition: transform .5s var(--spring), background .35s; }
.tile.dark { background: var(--ink); color: #fff; }
.tile-top { display: flex; align-items: center; justify-content: space-between; min-height: 2.5rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .025em; color: rgba(var(--fg-rgb), .5); }
.tile.dark .tile-top { color: rgba(255, 255, 255, .5); }
.tile-arrow { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; transition: transform .45s var(--snap); }
.tile.dark .tile-arrow { background: #fff; color: var(--ink); }
.tile-arrow svg { width: 1rem; height: 1rem; }
.tile-logo { flex: 1; display: grid; place-items: center; padding: 1.5rem; }
.tile-logo img { max-height: 6.5rem; max-width: 78%; object-fit: contain; transition: transform .5s var(--spring); }
.tile-foot { border-top: 1px solid rgba(var(--fg-rgb), .12); padding-top: 1rem; }
.tile.dark .tile-foot { border-color: rgba(255, 255, 255, .15); }
.tile-foot h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -.01em; }
.tile-foot small { font-size: .8125rem; color: rgba(var(--fg-rgb), .55); }
.tile.dark .tile-foot small { color: rgba(255, 255, 255, .55); }

/* Work in progress tiles: same tile, no link, a "coming soon" chip instead of the arrow */
.tile-soon { display: inline-flex; align-items: center; gap: .5rem; height: 2.5rem; padding-inline: 1rem; border-radius: var(--radius-pill); background: var(--card); color: var(--foreground); }
.tile-soon i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent-to); animation: soon 1.8s ease-in-out infinite; }
@keyframes soon { 50% { opacity: .25; transform: scale(.7); } }
.tile.wip { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.tile.wip .tile-soon { background: var(--surface); }
.tile-logo.tall img { max-height: 9.5rem; }
.tile.wip .tile-logo img { max-width: 84%; }

/* Graphic design gallery: posters keep their own proportions in a masonry of columns */
.gallery { columns: 2; column-gap: 1rem; }
.gallery > li { break-inside: avoid; margin-bottom: 1.25rem; }
.shot { position: relative; display: block; overflow: hidden; border-radius: var(--radius-card-sm); background: var(--surface); cursor: zoom-in; }
.shot img { display: block; width: 100%; height: auto; transition: transform .7s var(--spring); }
.shot-cap { display: flex; flex-direction: column; gap: .125rem; padding: .625rem .25rem 0; }
.shot-cap strong { font-size: .9375rem; font-weight: 500; letter-spacing: -.01em; }
.shot-cap small { font-size: .75rem; color: var(--muted); }
.zoom { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 1.5rem; border: 0; background: rgba(10, 10, 10, .92); }
.zoom[open] { display: grid; place-items: center; }
.zoom::backdrop { background: rgba(10, 10, 10, .6); }
.zoom img { max-width: 100%; max-height: calc(100dvh - 3rem); width: auto; height: auto; border-radius: .75rem; cursor: zoom-out; }
.zoom-close { position: absolute; top: 1rem; right: 1rem; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.5rem; line-height: 1; }

/* Stats */
.panel { border-radius: var(--radius-card); background: var(--ink); padding: 3rem 1.5rem; color: #fff; --rs: .99; --ry: 40px; }
.panel h2 { margin-top: 1rem; max-width: 20ch; font-size: 1.875rem; font-weight: 500; letter-spacing: -.01em; }
.stats { margin-top: 3.5rem; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 2rem; row-gap: 3rem; }
.stats strong { display: block; font-size: 3rem; font-weight: 600; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats p { margin-top: .75rem; font-size: .875rem; color: rgba(255, 255, 255, .55); }

/* Process */
.steps { display: grid; grid-template-columns: 1fr; gap: .75rem; }
.step { text-align: left; display: flex; flex-direction: column; gap: 2.5rem; min-height: 9rem; padding: 1.25rem; border-radius: var(--radius-card-sm); background: var(--surface); transition: background .4s var(--spring), color .4s, transform .4s var(--snap); }
.step small { font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: rgba(var(--fg-rgb), .45); transition: color .4s; }
.step strong { margin-top: auto; font-size: 1.25rem; font-weight: 500; letter-spacing: -.01em; }
.step[aria-selected="true"] { background: var(--ink); color: #fff; }
.step[aria-selected="true"] small { color: var(--accent-soft); }
.step-detail { margin-top: .75rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid var(--line); border-radius: var(--radius-card-sm); padding: 1.25rem 1.5rem; font-size: 1.0625rem; }
.step-detail b { font-weight: 500; color: var(--accent); }
.step-detail i { font-style: normal; font-size: .75rem; font-weight: 500; letter-spacing: .05em; color: rgba(var(--fg-rgb), .45); font-variant-numeric: tabular-nums; }

/* Service detail */
.split { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.checks { display: flex; flex-direction: column; }
.checks li { display: flex; align-items: center; gap: 1rem; padding-block: 1.125rem; border-top: 1px solid var(--line); font-size: 1.125rem; font-weight: 500; letter-spacing: -.01em; }
.checks li:first-child { border-top: 0; }
.checks span { width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; }
.checks svg { width: .875rem; height: .875rem; }
.inc { margin-top: 3rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.inc li { display: flex; flex-direction: column; gap: 2rem; min-height: 8rem; padding: 1.25rem; border-radius: var(--radius-card-sm); background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); transition: background .35s, transform .4s var(--snap); }
.inc small { font-size: .75rem; font-weight: 500; letter-spacing: .05em; color: var(--accent-soft); }
.inc strong { margin-top: auto; font-size: 1.0625rem; font-weight: 500; line-height: 1.25; }
.pager { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.pager a { display: block; padding: 2rem 1.25rem; transition: background .35s; }
.pager a + a { border-top: 1px solid var(--line); }
.pager small { display: block; margin-bottom: .375rem; font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: rgba(var(--fg-rgb), .45); }
.pager strong { font-size: 1.5rem; font-weight: 500; letter-spacing: -.01em; }
.facts { display: grid; grid-template-columns: 1fr; gap: .75rem; }
.fact { display: flex; flex-direction: column; gap: .375rem; padding: 1.5rem; border-radius: var(--radius-card-sm); background: var(--surface); }
.section.tint .fact { background: var(--card); }
.fact small { font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: rgba(var(--fg-rgb), .45); }
.fact strong { font-size: 1.375rem; font-weight: 500; letter-spacing: -.01em; }
.fact span { font-size: .875rem; color: rgba(var(--fg-rgb), .6); }
.prose p { font-size: 1.125rem; color: rgba(var(--fg-rgb), .7); }
.prose p + p { margin-top: 1.25rem; }

/* Forms */
.form-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
.form-side { display: flex; flex-direction: column; gap: .75rem; }
.channel { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.125rem; border-radius: var(--radius-card-sm); background: var(--surface); transition: background .35s, transform .4s var(--snap); }
.channel-icon { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: var(--radius-control); background: var(--ink); color: var(--accent-soft); }
.channel-icon svg { width: 1.25rem; height: 1.25rem; }
.channel-icon b { font-size: .8125rem; font-weight: 500; }
.channel > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.channel strong { font-size: 1.0625rem; font-weight: 500; }
.channel small { font-size: .8125rem; color: rgba(var(--fg-rgb), .55); }
.channel > svg { width: 1.125rem; height: 1.125rem; color: rgba(var(--fg-rgb), .4); }
.wizard { position: relative; border-radius: var(--radius-card); background: var(--card); padding: 1.5rem; box-shadow: 0 1.5rem 3.5rem rgba(17, 17, 17, .12), 0 0 0 1px var(--line); }
.wizard-head { display: flex; align-items: center; justify-content: space-between; }
.wizard-head i { font-style: normal; font-size: .75rem; font-weight: 500; color: rgba(var(--fg-rgb), .45); font-variant-numeric: tabular-nums; }
.wizard-bars { display: flex; gap: .375rem; margin: 1rem 0 1.5rem; }
.wizard-bars i { flex: 1; height: 2px; border-radius: 1px; background: var(--line); transition: background .4s; }
.wizard-bars i.on { background: var(--accent); }
.fstep { border: 0; min-width: 0; margin-bottom: 1.5rem; }
.fstep legend { font-size: 1.5rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.15; margin-bottom: 1.25rem; padding: 0; }
.stepped .fstep { animation: step-in .5s var(--spring) both; }
@keyframes step-in { from { opacity: 0; transform: translateX(1.5rem); } }
.fields { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .375rem; }
.fstep > .field + .field, .fstep > .fields + .field { margin-top: 1rem; }
.field label, .field-label { font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .025em; color: rgba(var(--fg-rgb), .5); }
input, select, textarea { width: 100%; border: 1px solid var(--line); background: rgba(var(--surface-rgb), .5); border-radius: var(--radius-control); padding: .75rem 1rem; font: inherit; font-size: .875rem; color: var(--foreground); outline: none; transition: border-color .25s, background .25s; }
textarea { resize: none; }
input:focus, select:focus, textarea:focus { border-color: rgba(var(--fg-rgb), .3); background: var(--card); }
.chip-set { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; padding: 0; }
.chip span { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .5rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: .875rem; transition: background .25s, color .25s, border-color .25s, transform .35s var(--snap); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.wizard-nav { display: flex; align-items: center; justify-content: flex-end; gap: .75rem; }
.wizard-nav [data-back] { margin-right: auto; }
.hint { margin-top: 1rem; font-size: .75rem; color: rgba(var(--fg-rgb), .45); }
.hint a { color: var(--accent); }
.step-hint { margin: -.75rem 0 1rem; font-size: .875rem; color: rgba(var(--fg-rgb), .5); }
.hp { position: absolute; left: -9999px; }
.notice { margin-bottom: 1.25rem; padding: 1rem 1.125rem; border-radius: var(--radius-control); font-size: .9375rem; font-weight: 500; }
.notice.ok { background: #eaf4fd; box-shadow: 0 0 0 1px var(--accent); }
.notice.bad { background: #fdf0e7; box-shadow: 0 0 0 1px #b4530b; }
.how { margin-top: .5rem; display: flex; flex-direction: column; gap: .75rem; }

/* Legal */
.legal-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.toc { display: none; }
.legal { max-width: 46rem; }
.legal-date { font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: rgba(var(--fg-rgb), .45); margin-bottom: 2rem; }
.legal section { padding-block: 2rem; border-top: 1px solid var(--line); }
.legal h2 { display: flex; align-items: baseline; gap: 1rem; font-size: 1.5rem; font-weight: 500; letter-spacing: -.01em; margin-bottom: 1rem; }
.legal h2 span { font-size: .75rem; font-weight: 500; color: var(--accent); letter-spacing: .05em; }
.legal p, .legal li { font-size: 1rem; color: rgba(var(--fg-rgb), .75); }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: .875rem; }
.legal ul { list-style: disc; padding-left: 1.25rem; }
.legal li + li { margin-top: .5rem; }
.legal a { color: var(--accent); text-decoration: underline; }

/* Footer */
.footer { position: relative; overflow: hidden; border-radius: 2rem 2rem 0 0; background: var(--ink); color: #fff; }
.footer-in { position: relative; z-index: 10; padding-top: 5rem; padding-bottom: 2.5rem; }
.footer-cta { display: flex; flex-direction: column; gap: 2rem; border-bottom: 1px solid rgba(255, 255, 255, .1); padding-bottom: 4rem; }
.footer-cta h2 { max-width: 24ch; font-size: 2.25rem; }
.footer-cols { display: grid; grid-template-columns: 1fr; gap: 3rem; padding-block: 4rem; }
.footer-brand img { height: 5rem; width: auto; }
.footer-brand p { margin-top: 1rem; max-width: 20rem; font-size: .875rem; color: rgba(255, 255, 255, .55); }
.footer-cols h3 { font-size: .75rem; font-weight: 400; text-transform: uppercase; letter-spacing: .025em; color: rgba(255, 255, 255, .4); margin-bottom: 1rem; }
.footer-cols ul { display: flex; flex-direction: column; gap: .75rem; font-size: .875rem; }
.footer-legal { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 2rem; font-size: .75rem; color: rgba(255, 255, 255, .45); }
.footer-legal div { display: flex; gap: 1.5rem; }
.footer .watermark { bottom: -.5rem; z-index: 0; color: rgba(255, 255, 255, .05); }

/* Hover springs: pointer devices only */
@media (hover: hover) {
  .brand:hover { transform: scale(1.04); }
  .pill:hover { transform: scale(1.04); }
  .pill:hover .pill-badge svg { transform: translate(3px, 0); }
  .pill:hover .pill-badge.up svg { transform: translate(2px, -2px); }

  .menu-btn:hover span { transform: scale(1.05); }
  .partners a:hover { transform: translateY(-2px); opacity: 1; }
  .chip-link:hover { transform: scale(1.06); }
  .band-tile:hover { transform: scale(1.03); }
  .row:hover { background: rgba(241, 240, 238, 1); padding-left: 2rem; padding-right: 1.25rem; }
  .section.tint .row:hover { background: var(--card); }
  .row:hover .row-badge { transform: translateX(5px); }
  .stack-card:hover { background: var(--surface-2); }
  .stack-card.dark:hover { background: #161616; }
  .stack-card.blue:hover { background: linear-gradient(135deg, var(--accent-from), var(--accent-to)); filter: brightness(1.06); }
  .filter:hover { background: var(--surface-2); }
  .filter[aria-pressed="true"]:hover { background: var(--accent-to); }
  .tile:hover .tile-arrow, .row:hover .row-badge { background: var(--accent); color: #fff; }
  .stack-card:hover .row-badge { transform: rotate(45deg) scale(1.08); }

  a.tile:hover { transform: translateY(-8px) scale(1.012); background: var(--surface-2); }
  .tile.dark:hover { background: #161616; }
  .tile:hover .tile-arrow { transform: rotate(45deg) scale(1.08); }
  .tile:hover .tile-logo img { transform: scale(1.05); }
  .tile.wip:hover { background: var(--card); }
  .shot:hover img { transform: scale(1.04); }
  .card:hover { transform: translateY(-8px) scale(1.012); }
  .card:hover .card-badge { transform: rotate(45deg) scale(1.08); }
  .card.plain:hover { transform: none; }
  .alink:hover { transform: translateX(4px); opacity: 1; }
  .footer-legal .alink:hover { transform: translateX(3px); }
  .step:hover { transform: translateY(-3px); }
  .inc li:hover { background: rgba(255, 255, 255, .12); transform: translateY(-4px); }
  .pager a:hover { background: var(--surface); }
  a.channel:hover { background: var(--surface-2); transform: translateX(4px); }
  .chip:hover span { transform: translateY(-2px); }
}

/* sm */
@media (min-width: 640px) {
  .shell { padding-inline: 2rem; }
  .header-in { padding-block: 1.5rem; }
  .menu-btn u { display: inline; }
  .head-cta { display: inline-flex; }
  .loader-center img { height: 6.5rem; }
  .watermark { font-size: 9rem; }
  .hero .watermark { bottom: 6rem; }
  .hero h1 { font-size: 3rem; }
  .hero-title { font-size: 3.25rem; }
  .page-hero h1 { font-size: 3.5rem; }
  .page-hero-in { padding-top: 10rem; padding-bottom: 5rem; }
  .page-bulb { height: 22rem; right: 3rem; }
  .statusbar .mid { display: block; }
  .statusbar > span:last-child { display: inline; }
  .head h2 { font-size: 3rem; }
  .statement { font-size: 1.875rem; }
  .about-globe > svg { width: 16rem; height: 16rem; }
  .band { flex-direction: row; gap: 1rem; }
  .band-tile { height: 10rem; font-size: 2.25rem; }
  .band-tile svg { width: 3rem; height: 3rem; }
  .row { gap: 1.5rem; padding-block: 2rem; }
  .row-index { width: 2.5rem; }
  .row h3 { font-size: 1.875rem; }
  .row-badge { width: 3rem; height: 3rem; }
  .card { min-height: 26rem; padding: 2rem; }
  .tile { min-height: 22rem; padding: 1.5rem; }
  .card-body { inset-inline: 2rem; bottom: 2rem; }
  .card-body h3 { font-size: 1.875rem; }
  .panel { padding: 4rem 2rem; }
  .stats strong { font-size: 3.75rem; }
  .steps { grid-template-columns: repeat(5, 1fr); }
  .fields { grid-template-columns: repeat(2, 1fr); }
  .wizard { padding: 2rem; }
  .fstep legend { font-size: 1.875rem; }
  .inc { grid-template-columns: repeat(4, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .pager { grid-template-columns: repeat(2, 1fr); }
  .pager a { padding: 2.5rem 2rem; }
  .pager a + a { border-top: 0; border-left: 1px solid var(--line); text-align: right; }
  .footer-cta h2 { font-size: 3rem; }
  .footer-legal { flex-direction: row; }
  .overlay-top { padding-block: 1.5rem; }
  .overlay-nav > ul a { font-size: 3.75rem; }
  .overlay-bottom { flex-direction: row; justify-content: space-between; }
  .veil { font-size: 3.75rem; }
}
/* md */
@media (min-width: 768px) {
  .films { grid-template-columns: repeat(2, 1fr); align-items: start; }
  .prods { grid-template-columns: repeat(2, 1fr); }
  .basket-btn { right: 2rem; bottom: 2rem; }
  .stack.mini { grid-template-columns: repeat(2, 1fr); }
  .gallery { columns: 3; }
  .clock { display: flex; }
  .hero h1 { font-size: 4.125rem; letter-spacing: -.03em; }
  .hero-title, .hero h1.hero-title { font-size: 4.5rem; }
  .page-hero h1 { font-size: 4.125rem; letter-spacing: -.03em; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .row h3 { font-size: 2.25rem; }
  .panel { padding-inline: 4rem; }
  .panel h2 { font-size: 2.25rem; }
  .stats strong { font-size: 4.5rem; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-cta h2 { font-size: 3.75rem; }
}
/* lg */
@media (min-width: 1024px) {
  .nav { display: block; }
  .head-link { display: inline-flex; }
  .menu-btn u { display: none; }
  .menu-btn span { padding: .6875rem; }
  .watermark { font-size: var(--text-watermark); }
  .liquid { inset: 0; height: auto; -webkit-mask-image: none; mask-image: none; }
  .liquid img { object-position: 50% 50%; }
  .hero .watermark { bottom: 7rem; }
  .hero-grid { display: grid; min-height: calc(100lvh - 3.75rem); grid-template-columns: repeat(12, 1fr); align-content: center; gap: 2.5rem; padding-top: 9rem; padding-bottom: 7rem; }
  .hero-left { grid-column: span 6; gap: 1.75rem; }
  .hero.tech .hero-grid { padding-top: 9rem; }
  .hero.tech::before, .page-hero.tech::before { -webkit-mask-image: radial-gradient(55% 75% at 72% 46%, #000, transparent); mask-image: radial-gradient(55% 75% at 72% 46%, #000, transparent); }
  .hero-right { grid-column: 9 / span 4; align-items: flex-end; align-self: end; }
  .hero-card, .partners { width: 19rem; }
  .partners p { text-align: right; }
  /* Every inner page gets the same hero height, and the bulb hangs on the same line as on the home page so its cord clears the header links */
  .page-hero-in { min-height: 33rem; justify-content: center; padding-top: 8.5rem; padding-bottom: 3.5rem; }
  .page-hero h1 { max-width: 13ch; }
  .page-hero .lead { max-width: 31rem; }
  .page-bulb { height: 27rem; right: auto; left: 55.6%; margin-left: -9rem; }
  .section { padding-block: 7rem; }
  .section.tight { padding-block: 2.5rem; }
  .about { grid-template-columns: 5fr 7fr; gap: 5rem; }
  .story { min-height: 26rem; padding: 2rem; }
  .story-main strong { font-size: 7.5rem; }
  .about-globe { min-height: 20rem; }
  .about-globe > svg { left: -1.5rem; width: 20rem; height: 20rem; }
  .row p { display: block; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .cards.clients { grid-template-columns: repeat(3, 1fr); }
  .prods { grid-template-columns: repeat(3, 1fr); }
  .creds { grid-template-columns: repeat(3, 1fr); }
  .cred { min-height: 19rem; padding: 2rem; }
  .stack.mini { grid-template-columns: repeat(3, 1fr); }
  .stack-item { top: calc(7rem + var(--i) * 1rem); }
  .stack-card { min-height: 24rem; padding: 2.5rem; }
  .stack-body { grid-template-columns: 1fr 1fr; align-items: end; gap: 3rem; }
  .stack-body h3 { font-size: 3.75rem; }
  .stack-body p { font-size: 1.125rem; }
  .stack-chips { justify-content: flex-end; }
  .stack-chips li { font-size: .875rem; padding: .5rem 1rem; }
  .stack-card:hover .stack-art { transform: translateY(-50%) scale(1.04); }
  .filter-row { grid-template-columns: 8rem 1fr; align-items: baseline; }
  .prod-add:hover { background: var(--accent); }
  .prod:not(.custom):hover { background: var(--card); box-shadow: 0 1rem 2.5rem rgba(17, 17, 17, .08); }
  .prod.picked:hover { box-shadow: inset 0 0 0 2px var(--accent), 0 1rem 2.5rem rgba(17, 17, 17, .08); }
  .gallery { columns: 4; column-gap: 1.5rem; }
  .gallery > li { margin-bottom: 1.75rem; }
  .split { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .split .sticky { position: sticky; top: 8rem; align-self: start; }
  .form-layout { grid-template-columns: 5fr 6fr; gap: 5rem; }
  .facts.four { grid-template-columns: repeat(4, 1fr); }
  .legal-layout { grid-template-columns: 16rem 1fr; gap: 5rem; }
  .toc { display: flex; flex-direction: column; position: sticky; top: 8rem; align-self: start; }
  .toc a { display: flex; gap: .875rem; padding: .625rem .875rem; border-left: 2px solid var(--line); font-size: .875rem; color: rgba(var(--fg-rgb), .55); transition: color .25s, border-color .25s, background .25s; }
  .toc a span { font-size: .75rem; padding-top: .125rem; }
  .toc a:hover, .toc a.active { color: var(--foreground); border-color: var(--accent); background: var(--surface); }
  .footer-in { padding-top: 6rem; }
  .footer-cta { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .footer-cols { grid-template-columns: 1.4fr repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .strip-track { animation: none; }
  .strip-view { overflow-x: auto; }
  * { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .lines .line > span, .js .words .w, .js .hero .watermark { opacity: 1; transform: none; }
  .loader, .veil { display: none; }
}

@media (min-width: 1441px) { .clock [data-date], .clock i { display: inline; } }


/* ---------- Dark mode: chosen with the header switch, remembered on this device (html[data-theme="dark"]) ---------- */
html[data-theme="dark"] {
  --background: #0b0e14; --foreground: #eef1f6; --ink: #1c2230;
  --muted: #8e97a8; --subtle: #5d6676; --line: #252b38;
  --surface: #141923; --surface-2: #1c2230; --card: #171c27;
  --fg-rgb: 238, 241, 246; --bg-rgb: 11, 14, 20; --line-rgb: 37, 43, 56; --surface-rgb: 20, 25, 35;
  --accent: #3aa6f5; --hero-glow: #0d2b47; --hero-mid: #0c1622;
  color-scheme: dark;
}
html[data-theme="dark"] .footer, html[data-theme="dark"] .loader, html[data-theme="dark"] .overlay { background: #05070b; }
html[data-theme="dark"] .panel, html[data-theme="dark"] .stack-card.dark, html[data-theme="dark"] .tile.dark { background: #05070b; box-shadow: inset 0 0 0 1px var(--line); }
html[data-theme="dark"] .stack-card { box-shadow: 0 -1.25rem 2.5rem -1.5rem rgba(0, 0, 0, .6); }
html[data-theme="dark"] .sub-panel, html[data-theme="dark"] .wizard { box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .5), 0 0 0 1px var(--line); }
html[data-theme="dark"] .header::before { box-shadow: 0 1px 0 var(--line), 0 .75rem 2rem rgba(0, 0, 0, .4); }
html[data-theme="dark"] .nav-link[aria-current="page"], html[data-theme="dark"] .nav-link[aria-current="page"]:hover { background: var(--foreground); color: var(--background); }
html[data-theme="dark"] .pill.dark, html[data-theme="dark"] .prod-add { background: var(--accent); }
html[data-theme="dark"] .chip input:checked + span { background: var(--accent); border-color: var(--accent); }
html[data-theme="dark"] .shop-note, html[data-theme="dark"] .sub-icon { background: rgba(58, 166, 245, .12); }
html[data-theme="dark"] .shop-preview { background: #2a2210; }
html[data-theme="dark"] .prod-lead { color: var(--accent); }
html[data-theme="dark"] .stack-art { color: rgba(238, 241, 246, .22); }
/* Header logo: the light version on dark */
.brand .logo-dark { display: none; }
html[data-theme="dark"] .brand .logo-light { display: none; }
html[data-theme="dark"] .brand .logo-dark { display: block; }
/* Client logos are made for light backgrounds, so their tiles stay light */
html[data-theme="dark"] .tile:not(.dark):not(.wip) { background: #eceae6; color: #111; }
html[data-theme="dark"] .tile:not(.dark) .tile-top, html[data-theme="dark"] .tile:not(.dark) small { color: rgba(17, 17, 17, .6); }
html[data-theme="dark"] .tile.wip .tile-logo { border-radius: var(--radius-card-sm); background: #eceae6; padding: 1rem; }
/* Logo strip: white outlines on dark, full colour on a light chip when hovered */
html[data-theme="dark"] .strip-item img, html[data-theme="dark"] .strip-item.inv img { filter: grayscale(1) brightness(0) invert(1); opacity: .6; }
html[data-theme="dark"] .strip-item:hover, html[data-theme="dark"] .strip-item:focus-visible { background: #eceae6; }
html[data-theme="dark"] .strip-item.inv:hover, html[data-theme="dark"] .strip-item.inv:focus-visible { background: #05070b; }
html[data-theme="dark"] .strip-item:hover img, html[data-theme="dark"] .strip-item:focus-visible img { filter: none; opacity: 1; }
/* The switch itself */
.theme-btn { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(var(--line-rgb), .9); background: rgba(var(--bg-rgb), .4); color: var(--foreground); transition: background .25s, transform .4s var(--snap); }
.theme-btn svg { width: 1.125rem; height: 1.125rem; }
.theme-btn .moon, html[data-theme="dark"] .theme-btn .sun { display: none; }
html[data-theme="dark"] .theme-btn .moon { display: block; }
.theme-btn:active { transform: rotate(-30deg) scale(.92); }
html.theme-switching, html.theme-switching * { transition: background-color .35s, color .35s, border-color .35s !important; }
