/* ==========================================================================
   Xorek Studios theme, Direction D "Kinetic Monolith"
   Silver ground, ink, white surfaces, one green-to-cobalt signal gradient.
   Unbounded (display) + Manrope (body).
   ========================================================================== */

@font-face { font-family: "Unbounded"; src: url(../fonts/unbounded.woff2) format("woff2"), url(../fonts/unbounded.woff) format("woff"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(../fonts/manrope.woff2) format("woff2"), url(../fonts/manrope.woff) format("woff"); font-weight: 200 800; font-display: swap; }

:root {
  --bg: #E4E6E8;
  --white: #FFFFFF;
  --ink: #111314;
  --ink-2: #24282B;
  --ink-3: #34393C;
  --muted: #4B5054;
  --muted-2: #6A7074;
  --muted-dark: #A9AFB3;
  --muted-dark-2: #B9C0C4;
  --line: #CDD1D4;
  --line-dark: #2C3134;
  --g1: #16C79A;
  --g2: #2F6BFF;
  --grad: linear-gradient(135deg, var(--g1), var(--g2));
  --ease: cubic-bezier(.2, .7, .1, 1);
  --wrap: 1360px;
  --pad: 48px;
  --header: 92px;
  --radius: 32px;
  --font-display: "Unbounded", "Futura", sans-serif;
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: calc(17px * var(--tse, 1)); font-weight: clamp(100, calc(400 + var(--tw, 0)), 900); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
a:hover { color: var(--g2); }
button { font: inherit; }
::selection { background: var(--g1); color: var(--ink); }
:focus-visible { outline: 2px solid var(--g2); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 1000; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.ub { font-family: var(--font-display); letter-spacing: -0.03em; font-weight: clamp(100, calc(500 + var(--hw, 0)), 900); }
.grad { background: linear-gradient(90deg, var(--g1), var(--g2), var(--g1), var(--g2)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gshift 6s linear infinite; }
@keyframes gshift { to { background-position: -150% 0; } }
.muted { color: var(--muted); }
.relative { position: relative; }

/* Type scale */
.t-h1 { font-size: calc(clamp(38px, 4.6vw, 66px) * var(--hse, 1)); line-height: 1.06; }
.t-hx { font-size: calc(clamp(40px, 6vw, 92px) * var(--hse, 1)); line-height: 1.02; }
.t-h2 { font-size: calc(clamp(32px, 4.4vw, 68px) * var(--hse, 1)); line-height: 1; }
.t-h2s { font-size: calc(clamp(30px, 3.6vw, 54px) * var(--hse, 1)); line-height: 1.05; }
.t-h3 { font-size: calc(clamp(26px, 2.6vw, 40px) * var(--hse, 1)); line-height: 1.1; }
.lead { font-size: calc(19px * var(--tse, 1)); line-height: 1.55; font-weight: clamp(100, calc(700 + var(--tw, 0)), 900); }
.body-l { font-size: calc(17px * var(--tse, 1)); line-height: 1.65; color: var(--muted); }

/* ---------- Buttons ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 28px; border-radius: 999px; font-weight: clamp(100, calc(700 + var(--tw, 0)), 900); font-size: calc(15px * var(--tse, 1)); text-decoration: none; white-space: nowrap; border: 0; cursor: pointer; transition: background-color .3s, color .3s; will-change: transform; }
.pill-dark { background: var(--ink); color: #fff; }
.pill-dark:hover { background: var(--g2); color: #fff; }
.pill-light { background: #fff; color: var(--ink); }
.pill-light:hover { background: var(--ink); color: #fff; }
.pill-sm { min-height: 48px; padding: 0 24px; font-size: 14px; }
.pill-lg { min-height: 64px; padding: 0 34px; font-size: 16px; }
.pill .ar { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: rgba(255,255,255,.14); transition: transform .35s var(--ease); flex: none; }
.pill-light .ar { background: var(--ink); }
.pill:hover .ar { transform: rotate(-45deg); }
.pill .ar svg { width: 14px; height: 14px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

.tag { display: inline-flex; align-self: flex-start; padding: 8px 16px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; }
.chipx { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; background: var(--bg); font-weight: clamp(100, calc(700 + var(--tw, 0)), 900); font-size: calc(14px * var(--tse, 1)); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chips-out li, .chip-out { padding: 10px 18px; border-radius: 999px; border: 1.5px solid #4A5055; font-weight: clamp(100, calc(600 + var(--tw, 0)), 900); }

/* Lists */
ul.tk { list-style: none; display: grid; gap: 10px; }
ul.tk li { display: flex; gap: 10px; align-items: flex-start; font-size: calc(15px * var(--tse, 1)); line-height: 1.45; }
ul.tk li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 7px; border-radius: 999px; background: currentColor; opacity: .5; }
ul.tk.tk-l li { font-size: calc(16px * var(--tse, 1)); line-height: 1.5; }
ul.tk.cols2 { grid-template-columns: 1fr 1fr; column-gap: 24px; }
ul.chk { list-style: none; display: grid; gap: 12px; }
ul.chk li { display: flex; gap: 12px; align-items: flex-start; font-size: calc(17px * var(--tse, 1)); line-height: 1.45; font-weight: clamp(100, calc(600 + var(--tw, 0)), 900); }
ul.chk li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 999px; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11.5l3.2 3L16 7.5' fill='none' stroke='%2316C79A' stroke-width='2.2'/%3E%3C/svg%3E") center/22px no-repeat; }
.dark ul.chk li::before, ul.chk.on-dark li::before { background-color: #fff; }
ul.chk.grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

/* ---------- Header ---------- */
.xh { position: sticky; top: 0; z-index: 60; background: rgba(228,230,232,.85); background: color-mix(in srgb, var(--bg) 85%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: box-shadow .3s; }
.admin-bar .xh { top: 32px; }
@media (max-width: 782px) { .admin-bar .xh { top: 46px; } }
.xh.is-scrolled { box-shadow: 0 1px 0 rgba(17,19,20,.08); }
.xh-in { height: var(--header); display: flex; align-items: center; gap: 30px; }
.xh-logo img { height: 44px; width: auto; }
.xh-nav { margin-left: 48px; display: flex; gap: 26px; padding: 12px 26px; background: rgba(255,255,255,.72); border-radius: 999px; list-style: none; }
.xh-nav li { position: relative; }
.xh-nav a { display: block; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--ink); padding: 8px 2px; position: relative; }
.xh-nav > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.xh-nav > li > a:hover { color: var(--ink); }
.xh-nav > li > a:hover::after, .xh-nav > li.on > a::after { transform: scaleX(1); transform-origin: left; }
.xh-sub { position: absolute; top: calc(100% + 18px); left: -24px; min-width: 300px; padding: 10px; list-style: none; background: #fff; border-radius: 24px; box-shadow: 0 24px 60px rgba(17,19,20,.12); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
.xh-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.xh-nav li:hover > .xh-sub, .xh-nav li:focus-within > .xh-sub { opacity: 1; visibility: visible; transform: none; }
.xh-sub a { padding: 10px 14px; border-radius: 14px; font-size: 14px; }
.xh-sub a:hover { background: var(--bg); color: var(--ink); }
.xh-cta { margin-left: auto; }
.burger { display: none; margin-left: auto; width: 50px; height: 50px; border-radius: 999px; border: 0; background: var(--ink); align-items: center; justify-content: center; cursor: pointer; }

/* Mobile menu */
.xm { position: fixed; inset: 0; z-index: 100; background: var(--ink); color: #fff; display: flex; flex-direction: column; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.xm.open { opacity: 1; visibility: visible; }
.xm-top { height: 76px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; flex: none; }
.xm-top img { height: 38px; width: auto; }
.xm-close { width: 50px; height: 50px; border-radius: 999px; border: 0; background: #fff; display: grid; place-items: center; cursor: pointer; }
.xm-nav { padding: 18px 22px 0; list-style: none; }
.xm-nav > li { border-bottom: 1px solid var(--line-dark); }
.xm-nav > li > a, .xm-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; text-decoration: none; color: #fff; font-family: var(--font-display); font-size: 23px; font-weight: 500; letter-spacing: -0.03em; }
.xm-row a { color: #fff; text-decoration: none; }
.xm-row button { background: none; border: 0; color: #fff; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }
.xm-row button svg { transition: transform .3s; }
.xm-row button[aria-expanded="true"] svg { transform: rotate(180deg); }
.xm-sub { list-style: none; display: none; gap: 10px; padding: 0 0 16px; }
.xm-sub.open { display: grid; }
.xm-sub a { color: var(--muted-dark); text-decoration: none; font-size: 15px; font-weight: 600; }
.xm-sub a:hover { color: var(--g1); }
.xm-foot { margin-top: auto; padding: 22px; }
.xm-foot .pill { width: 100%; }
.xm .xm-x { position: absolute; width: 420px; right: -170px; bottom: -120px; opacity: .07; pointer-events: none; }
body.menu-open { overflow: hidden; }

/* ---------- Sections & media slots ---------- */
.sec { position: relative; }
.dark { background: var(--ink); color: #fff; }
.white { background: #fff; }
.round-top { border-radius: 48px 48px 0 0; }
.x-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; border-radius: inherit; }
.x-media > img, .x-media > video { width: 100%; height: 100%; object-fit: cover; }
.has-media > *:not(.x-media):not(.deco) { position: relative; z-index: 1; }
.svc-stick.has-media { position: sticky; }
.has-media > .hero-art, .has-media > .wrap { position: relative; }

/* ---------- Reveal (scroll-driven, with JS fallback) ---------- */
.reveal { animation: rv linear both; animation-timeline: view(); animation-range: entry 10% cover 35%; }
@keyframes rv { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
.ink { color: #B4B9BC; animation: inkin linear both; animation-timeline: view(); animation-range: entry 30% cover 50%; }
@keyframes inkin { to { color: var(--fg, var(--ink)); } }
.no-sda .reveal { animation: none; opacity: 0; transform: translateY(50px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.no-sda .reveal.in { opacity: 1; transform: none; }
.no-sda .ink { animation: none; transition: color .8s; }
.no-sda .ink.in { color: var(--ink); }

/* ---------- Marquees ---------- */
.marq { display: flex; width: max-content; animation: marq 38s linear infinite; }
.marq.rev { animation-direction: reverse; }
.marq.slow { animation-duration: 60s; }
@keyframes marq { to { transform: translateX(-50%); } }
.marq-wrap:hover .marq { animation-play-state: paused; }
.marq-row { display: flex; gap: 44px; padding-right: 44px; align-items: center; white-space: nowrap; }
.svc-marq { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: #fff; margin-top: 40px; }
.svc-marq .marq-row { font-size: calc(22px * var(--tse, 1)); }

/* ---------- Home: hero ---------- */
.hero { overflow: hidden; padding: 40px 0 0; }
.ghost { position: absolute; left: 0; top: 50%; transform: translateY(-50%); white-space: nowrap; font-family: var(--font-display); font-weight: 700; font-size: 340px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(17,19,20,.07); animation: drift 60s linear infinite; pointer-events: none; z-index: 0; }
@keyframes drift { to { transform: translate(-50%, -50%); } }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; min-height: 700px; }
.hero-copy { display: flex; flex-direction: column; gap: 32px; padding: 40px 0 60px; }
.hero-copy .lead { max-width: 600px; }
.hero-copy .body-l { max-width: 560px; font-size: calc(16px * var(--tse, 1)); }
.hero-art { position: relative; height: 640px; perspective: 1400px; }
.hero-panel { position: absolute; inset: 40px 10px; border-radius: 40px; background: var(--ink); overflow: hidden; }
.hero-panel .dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px); background-size: 22px 22px; }
.hero-panel .glow { position: absolute; width: 420px; height: 420px; border-radius: 999px; left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(47,107,255,.45), rgba(22,199,154,.12) 55%, transparent 70%); }
.hero-panel .x-media { z-index: 1; }
.hero-x { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; animation: float 7s ease-in-out infinite; pointer-events: none; }
.hero-x .sway { width: 64%; animation: sway 12s ease-in-out infinite; transform-style: preserve-3d; }
.hero-x svg { width: 100%; height: auto; overflow: visible; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-18px) rotate(2deg); } }
@keyframes sway { 0%, 100% { transform: rotateY(-18deg) rotateX(6deg); } 50% { transform: rotateY(18deg) rotateX(-6deg); } }
.draw path.line { stroke-dasharray: 3200; stroke-dashoffset: 3200; animation: draw 3.4s .3s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.draw path.fill { opacity: 0; animation: fadein 1.6s 2.2s ease forwards; }
@keyframes fadein { to { opacity: 1; } }
.chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; white-space: nowrap; box-shadow: 0 10px 30px rgba(17,19,20,.08); text-decoration: none; }
.chip i { width: 8px; height: 8px; border-radius: 999px; background: var(--g1); display: block; }
.chip.b i { background: var(--g2); }
.chip.k i { background: var(--ink); }
.c1 { left: -10px; top: 110px; animation: bob 6s ease-in-out infinite; }
.c2 { right: -14px; top: 160px; animation: bob 7s 1s ease-in-out infinite; }
.c3 { left: 20px; bottom: 170px; animation: bob 5.5s .5s ease-in-out infinite; }
.c4 { right: 30px; bottom: 110px; animation: bob 6.5s 1.5s ease-in-out infinite; }
.c5 { left: 46%; top: 18px; animation: bob 7.5s .8s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Home: about ---------- */
.about { padding: 150px 0 130px; }
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
.split-57 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
.split-66 { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 40px; }
.about-head { display: flex; flex-direction: column; gap: 22px; }
.about-head h2 { font-size: calc(clamp(26px, 2.4vw, 36px) * var(--hse, 1)); line-height: 1.15; }
.statement { font-size: calc(clamp(26px, 3vw, 44px) * var(--hse, 1)); line-height: 1.22; font-weight: clamp(100, calc(400 + var(--hw, 0)), 900); }
.cols-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 28px; }
.stack-40 { display: flex; flex-direction: column; gap: 40px; }

/* ---------- Home: services pinned scroller ---------- */
.svc-sec { height: 420vh; view-timeline-name: --svc; }
.svc-stick { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.svc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; width: 100%; }
.svc-track { display: flex; gap: 24px; width: max-content; padding: 0 var(--pad); animation: slide linear both; animation-timeline: --svc; animation-range: contain 0% contain 100%; }
@keyframes slide { to { transform: translateX(calc(-100% + 100vw)); } }
.svc-card { width: 440px; min-height: min(560px, 64vh); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 18px; text-decoration: none; transition: transform .4s var(--ease); flex: none; }
.svc-card:hover { transform: translateY(-10px) rotate(-1deg); }
.svc-card h3 { font-size: calc(24px * var(--hse, 1)); line-height: 1.15; }
.svc-card p { font-size: calc(15px * var(--tse, 1)); line-height: 1.55; }
.svc-top { display: flex; justify-content: space-between; align-items: center; }
.svc-top .num { font-size: calc(54px * var(--hse, 1)); font-weight: clamp(100, calc(600 + var(--hw, 0)), 900); line-height: 1; }
.go { width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center; flex: none; }
.go svg { width: 18px; height: 18px; }
.ideal { margin-top: auto; padding: 14px 16px; border-radius: 16px; font-size: calc(14px * var(--tse, 1)) !important; line-height: 1.5; }
.c-light { background: #fff; color: var(--ink); }
.c-light p { color: var(--muted); }
.c-light .go { background: var(--ink); color: #fff; }
.c-light .ideal { background: var(--bg); color: var(--ink); }
.c-dark { background: var(--ink-2); color: #fff; }
.c-dark p { color: var(--muted-dark-2); }
.c-dark .go { background: #fff; color: var(--ink); }
.c-dark .ideal { background: var(--ink-3); color: #fff; }
.c-grad { background: linear-gradient(150deg, var(--g1), var(--g2)); color: #fff; }
.c-grad.flip { background: linear-gradient(150deg, var(--g2), var(--g1)); }
.c-grad p { color: #EAF3FF; }
.c-grad .go { background: #fff; color: var(--ink); }
.c-grad .ideal { background: rgba(255,255,255,.16); color: #fff; }
.svc-card.c-light:hover { color: var(--ink); }
.svc-card.c-dark:hover, .svc-card.c-grad:hover { color: #fff; }
.svc-card:hover h3 { color: inherit; }

/* ---------- Portfolio ---------- */
.work-sec { padding: 150px 0 60px; view-timeline-name: --wk; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 64px; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; align-items: start; }
.work-col { display: flex; flex-direction: column; gap: 72px; }
.work-col.lag { padding-top: 120px; animation: lag linear both; animation-timeline: --wk; animation-range: cover 0% cover 100%; }
@keyframes lag { from { transform: translateY(140px); } to { transform: translateY(-140px); } }
.work { display: flex; flex-direction: column; gap: 20px; text-decoration: none; color: var(--ink); }
.work:hover { color: var(--ink); }
.cov { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.1; transition: border-radius .5s var(--ease); background: var(--ink); }
.cov-in { position: absolute; inset: 0; transition: transform .9s var(--ease); }
.cov-in > img, .cov-in > video { width: 100%; height: 100%; object-fit: cover; }
.work:hover .cov-in { transform: scale(1.06); }
.work:hover .cov { border-radius: 56px; }
.cov .go { position: absolute; right: 22px; bottom: 22px; width: 60px; height: 60px; background: #fff; color: var(--ink); transform: scale(0) rotate(-45deg); transition: transform .45s var(--ease); }
.work:hover .cov .go { transform: scale(1) rotate(0); }
.work h3 { font-size: calc(26px * var(--hse, 1)); line-height: 1.15; transition: color .3s; }
.work:hover h3 { color: var(--g2); }
.work-meta { display: flex; flex-direction: column; gap: 8px; }
.work-meta p { font-size: calc(16px * var(--tse, 1)); line-height: 1.55; color: var(--muted); max-width: 52ch; }
.mini-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.mini-tags span { padding: 5px 12px; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 700; }
.mini-tags span + span { background: none; border: 1px solid #C3C8CB; font-weight: 600; }
/* generated covers */
.gc { position: absolute; inset: 0; overflow: hidden; }
.gc-dark { background: var(--ink); color: #fff; }
.gc-ink2 { background: var(--ink-2); color: #fff; }
.gc-light { background: #fff; color: var(--ink); }
.gc-grad { background: linear-gradient(140deg, var(--g1), var(--g2)); color: #fff; }
.gc .dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 20px 20px; }
.gc-light .dots { background-image: radial-gradient(rgba(17,19,20,.07) 1px, transparent 1px); }
.gc-mono { position: absolute; left: 36px; bottom: 30px; font-family: var(--font-display); font-weight: 700; font-size: clamp(80px, 9vw, 150px); line-height: .8; letter-spacing: -0.06em; }
.gc-name { position: absolute; left: 36px; top: 36px; right: 120px; font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.15; letter-spacing: -0.02em; }
.gc-x { position: absolute; width: 46%; right: -8%; top: -10%; opacity: .1; }
.gc-light .gc-x { opacity: .07; }

/* ---------- Why: stacking cards ---------- */
.why { padding: 150px 0 110px; }
.sticky-head { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 26px; }
.sticky-head .xm-mark { width: 150px; opacity: .9; }
.stacks { display: flex; flex-direction: column; gap: 22px; }
.stack { position: sticky; border-radius: var(--radius); padding: 40px; min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; box-shadow: 0 -10px 40px rgba(17,19,20,.08); }
.stack:nth-child(1) { top: 130px; } .stack:nth-child(2) { top: 154px; } .stack:nth-child(3) { top: 178px; }
.stack:nth-child(4) { top: 202px; } .stack:nth-child(5) { top: 226px; } .stack:nth-child(6) { top: 250px; }
.stack .ic { width: 52px; height: 52px; border-radius: 999px; display: grid; place-items: center; }
.stack .ic svg { width: 28px; height: 28px; }
.stack .ub { font-size: calc(clamp(24px, 2.4vw, 36px) * var(--hse, 1)); line-height: 1.1; }
.s-light { background: #fff; } .s-light .ic { background: var(--ink); color: var(--g1); }
.s-dark { background: var(--ink); color: #fff; } .s-dark .ic { background: #fff; color: var(--g2); }
.s-grad { background: var(--grad); color: #fff; } .s-grad .ic { background: #fff; color: var(--ink); }

/* ---------- Industries wall ---------- */
.ind-sec { padding: 40px 0 0; overflow: hidden; }
.ind-stage { height: 640px; display: flex; align-items: center; overflow: hidden; }
.wall { transform: rotate(-7deg) scale(1.15); display: flex; flex-direction: column; gap: 20px; }
.tile { flex: none; width: 340px; height: 200px; border-radius: 28px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; margin-right: 20px; }
.tile svg { width: 34px; height: 34px; }
.tile .ub { font-size: calc(22px * var(--hse, 1)); line-height: 1.15; }
.t-dark { background: var(--ink); color: #fff; } .t-dark svg { color: var(--g1); }
.t-ink2 { background: var(--ink-2); color: #fff; } .t-ink2 svg { color: #fff; }
.t-light { background: #fff; } .t-light svg { color: var(--g2); }
.t-grad { background: var(--grad); color: #fff; } .t-grad svg { color: #fff; }

/* ---------- Process (vertical line) ---------- */
.proc { padding: 140px 0; margin-top: 60px; }
.proc-steps { position: relative; view-timeline-name: --proc; }
.proc-line, .proc-prog { position: absolute; left: 31px; top: 0; bottom: 0; width: 2px; background: var(--bg); }
.proc-prog { background: linear-gradient(var(--g1), var(--g2)); transform-origin: top; animation: grow linear both; animation-timeline: --proc; animation-range: contain 0% contain 90%; }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.proc-list { display: flex; flex-direction: column; gap: 64px; position: relative; list-style: none; }
.proc-list li { display: grid; grid-template-columns: 64px 1fr; gap: 28px; }
.proc-n { width: 64px; height: 64px; border-radius: 999px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: calc(22px * var(--hse, 1)); }
.proc-list li:last-child .proc-n { background: var(--grad); }
.proc-list h3 { font-size: calc(24px * var(--hse, 1)); line-height: 1.2; }
.proc-list .txt { display: flex; flex-direction: column; gap: 10px; padding-top: 12px; }

/* ---------- Final CTA ---------- */
.fcta { padding: 0 0 120px; }
.fcta-box { position: relative; border-radius: 42px; }
.ring { position: absolute; inset: -2px; border-radius: 42px; background: conic-gradient(from var(--a), var(--g1), var(--g2), var(--ink), var(--g1)); animation: spin 8s linear infinite; z-index: 0; }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --a: 360deg; } }
.fcta-in { position: relative; z-index: 1; border-radius: 40px; background: var(--ink); color: #fff; overflow: hidden; padding: clamp(40px, 6vw, 96px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 30px; }
.fcta-in h2 { font-size: calc(clamp(32px, 4.4vw, 66px) * var(--hse, 1)); line-height: 1.04; max-width: 17ch; }
.fcta-in p { font-size: calc(18px * var(--tse, 1)); line-height: 1.6; color: var(--muted-dark-2); max-width: 640px; }
.fcta-in p strong { color: #fff; }
.fcta-in .xa { position: absolute; width: 560px; left: -140px; bottom: -220px; opacity: .06; pointer-events: none; }
.fcta-in .xb { position: absolute; width: 380px; right: -90px; top: -120px; opacity: .06; pointer-events: none; }
.fcta-in .x-media { border-radius: 40px; }

/* ---------- Footer ---------- */
.xf { background: var(--ink); color: #fff; overflow: hidden; }
.xf-top { padding-top: 96px; padding-bottom: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 48px 40px; }
.xf-brand { display: flex; flex-direction: column; gap: 22px; }
.xf-brand img { height: 50px; width: auto; align-self: flex-start; }
.xf-contact { display: grid; gap: 8px; font-size: 15px; color: var(--muted-dark); font-style: normal; }
.xf-contact a { color: var(--muted-dark); text-decoration: none; }
.xf-contact a:hover { color: #fff; }
.xf-col { display: flex; flex-direction: column; gap: 12px; }
.xf-col h2 { font-size: 13px; font-weight: 800; color: #fff; margin-bottom: 6px; font-family: inherit; }
.xf-col ul { list-style: none; display: grid; gap: 12px; }
.xf-col a { text-decoration: none; color: var(--muted-dark); font-size: 15px; }
.xf-col a:hover { color: #fff; }
.xf-social { display: flex; gap: 16px; flex-wrap: wrap; list-style: none; }
.xf-word { overflow: hidden; padding: 20px 0 10px; }
.xf-word .w { font-family: var(--font-display); font-size: 200px; font-weight: 700; line-height: 1; white-space: nowrap; padding-right: 80px; color: transparent; -webkit-text-stroke: 1.5px var(--ink-3); letter-spacing: -0.03em; }
.xf-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 32px; border-top: 1px solid var(--ink-2); font-size: 14px; color: #7D8488; }
.xf-base a { color: var(--muted-dark); text-decoration: none; }

/* ---------- Inner page hero ---------- */
.phero { overflow: hidden; padding: 70px 0 150px; }
.phero .ghost { top: auto; bottom: -40px; transform: none; font-size: 240px; animation-name: drift2; }
@keyframes drift2 { to { transform: translateX(-50%); } }
.phero-in { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 34px; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 600; color: var(--muted-2); flex-wrap: wrap; }
.crumbs a { color: var(--muted-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }
.phero h1 { max-width: 16ch; }
.phero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 40px; align-items: end; }
.phero-copy { display: flex; flex-direction: column; gap: 22px; }
.phero-copy h2 { font-size: calc(22px * var(--hse, 1)); line-height: 1.35; font-weight: clamp(100, calc(800 + var(--hw, 0)), 900); font-family: inherit; letter-spacing: 0; }
.phero-copy p { font-size: calc(17px * var(--tse, 1)); line-height: 1.65; color: var(--muted); max-width: 58ch; }
.dpanel { border-radius: var(--radius); background: var(--ink); color: #fff; padding: 36px; position: relative; overflow: hidden; }
.dpanel p { position: relative; font-size: calc(18px * var(--tse, 1)); line-height: 1.6; color: #C5CBCF; }
.dpanel strong { color: #fff; }
.dpanel .px { position: absolute; width: 260px; right: -60px; top: -50px; opacity: .08; pointer-events: none; }

/* ---------- Service page blocks ---------- */
.big-statement { padding: 130px 0; }
.big-statement p { font-size: calc(clamp(34px, 5.4vw, 84px) * var(--hse, 1)); line-height: 1.04; }
.big-statement p:first-child { color: var(--muted-2); }
.pad-b140 { padding-bottom: 140px; }
.pad-y140 { padding: 140px 0; }
.pad-y120 { padding: 120px 0; }
.bt-dark { border-top: 1px solid var(--line-dark); padding-top: 80px; }
.pills-mix { display: flex; flex-wrap: wrap; gap: 10px; }
.pills-mix span { padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 16px; }
.pm-w { background: #fff; color: var(--ink); } .pm-g { background: var(--grad); color: #fff; } .pm-o { border: 1.5px solid #4A5055; }
.outline-num { font-family: var(--font-display); font-size: calc(88px * var(--hse, 1)); font-weight: clamp(100, calc(600 + var(--hw, 0)), 900); line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--ink); letter-spacing: -0.03em; }
.dark .outline-num { -webkit-text-stroke-color: #fff; }
.sub-grad { font-size: calc(19px * var(--hse, 1)); font-weight: clamp(100, calc(800 + var(--hw, 0)), 900); line-height: 1.4; }
.card { border-radius: var(--radius); padding: 40px; transition: transform .45s var(--ease); }
.card:hover { transform: translateY(-8px); }
.card.c-white { background: #fff; }
.card.c-ink { background: var(--ink); color: #fff; }
.card-kicker { font-size: calc(15px * var(--tse, 1)); font-weight: clamp(100, calc(800 + var(--tw, 0)), 900); text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); }
.c-ink .card-kicker { color: var(--muted-dark); }
.col-22 { display: flex; flex-direction: column; gap: 22px; }
.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cap { border-radius: 28px; padding: 30px; display: flex; flex-direction: column; gap: 14px; background: #fff; transition: background-color .35s, color .35s, transform .45s var(--ease); }
.cap:hover { background: var(--ink); color: #fff; transform: translateY(-6px); }
.cap:hover p { color: var(--muted-dark-2); }
.cap h3, .cap h4 { font-size: calc(21px * var(--hse, 1)); line-height: 1.2; }
.cap p { font-size: calc(16px * var(--tse, 1)); line-height: 1.55; color: var(--muted); }
.cap svg { width: 34px; height: 34px; }
.cap.span2 { grid-column: span 2; }
.gpanel { border-radius: 48px; background: var(--grad); color: #fff; padding: clamp(36px, 6vw, 88px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; position: relative; overflow: hidden; }
.gpanel .gx { position: absolute; width: 520px; right: -120px; bottom: -180px; opacity: .12; pointer-events: none; }
.gpanel .inner { position: relative; display: flex; flex-direction: column; gap: 20px; }
.gpanel .box { position: relative; display: flex; flex-direction: column; gap: 22px; background: rgba(17,19,20,.28); border-radius: var(--radius); padding: 36px; }
.gpanel .box p { color: #E6F0FF; }
.count { font-size: calc(clamp(88px, 11vw, 176px) * var(--hse, 1)); line-height: .85; font-weight: clamp(100, calc(600 + var(--hw, 0)), 900); animation: pop linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
@keyframes pop { from { transform: scale(.6); opacity: .2; } to { transform: none; opacity: 1; } }
.stacks-wide { display: flex; flex-direction: column; gap: 24px; }
.wstack { position: sticky; border-radius: var(--radius); padding: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 40px; box-shadow: 0 -12px 40px rgba(17,19,20,.08); }
.wstack:nth-child(1) { top: 120px; } .wstack:nth-child(2) { top: 148px; } .wstack:nth-child(3) { top: 176px; } .wstack:nth-child(4) { top: 204px; }
.wstack .ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; }
.wstack .ic svg { width: 30px; height: 30px; }
.wstack .end { font-size: calc(19px * var(--hse, 1)); line-height: 1.35; }
.wstack.s-light .ic { border-radius: 20px; }
.ws-col { display: flex; flex-direction: column; gap: 18px; }
.ws-col.between { justify-content: space-between; }
.ws-col .k { font-size: calc(17px * var(--tse, 1)); font-weight: clamp(100, calc(800 + var(--tw, 0)), 900); }
.s-dark .muted-d, .dark .muted-d { color: var(--muted-dark-2); }
.ind-band { padding: 120px 0 0; overflow: hidden; }
.ind-strip { border-top: 1px solid var(--bg); border-bottom: 1px solid var(--bg); padding: 26px 0; overflow: hidden; margin-top: 56px; }
.ind-strip .marq-row { font-size: calc(34px * var(--tse, 1)); gap: 40px; padding-right: 40px; }
.steps5 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.step { border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 16px; background: var(--bg); transition: transform .45s var(--ease); }
.step:hover { transform: translateY(-8px); }
.step .n { font-size: calc(44px * var(--hse, 1)); font-weight: clamp(100, calc(600 + var(--hw, 0)), 900); line-height: 1; }
.step h3 { font-size: calc(19px * var(--hse, 1)); line-height: 1.25; }
.step p { font-size: calc(15px * var(--tse, 1)); color: var(--muted); }
.step .end { margin-top: auto; font-size: calc(14px * var(--hse, 1)); font-weight: clamp(100, calc(700 + var(--hw, 0)), 900); }
.step.dark { background: var(--ink); color: #fff; }
.step.dark p { color: var(--muted-dark-2); }
.step.st-grad { background: var(--grad); color: #fff; }
.step.st-grad p { color: #EAF3FF; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.res-grid span { padding: 18px; border-radius: 20px; background: var(--bg); font-weight: clamp(100, calc(700 + var(--tw, 0)), 900); }
.faq-list { border-top: 1px solid var(--line); }
details.faq { border-bottom: 1px solid var(--line); }
details.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; font-family: var(--font-display); font-size: calc(21px * var(--hse, 1)); font-weight: clamp(100, calc(500 + var(--hw, 0)), 900); letter-spacing: -0.02em; line-height: 1.3; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq .pm { flex: none; width: 44px; height: 44px; border-radius: 999px; background: #fff; color: var(--ink); display: grid; place-items: center; transition: transform .35s, background-color .35s, color .35s; }
details.faq[open] .pm { transform: rotate(45deg); background: var(--ink); color: #fff; }
details.faq p { margin: 0 0 28px; max-width: 62ch; font-size: calc(17px * var(--tse, 1)); line-height: 1.65; color: var(--muted); }

/* Generic service blocks */
.blk { padding: 0 0 120px; }
.blk-head { display: flex; flex-direction: column; gap: 14px; }
.blk-head h2 { font-size: calc(clamp(28px, 3vw, 46px) * var(--hse, 1)); line-height: 1.08; }
.blk-lead { font-size: calc(18px * var(--tse, 1)); line-height: 1.6; }
.blk-after { font-size: calc(17px * var(--tse, 1)); line-height: 1.65; color: var(--muted); }
.dark .blk-after, .dark .blk-lead { color: var(--muted-dark-2); }
.big-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.big-list li { display: flex; gap: 14px; align-items: center; padding: 22px 24px; border-radius: 22px; background: #fff; font-weight: clamp(100, calc(700 + var(--tw, 0)), 900); font-size: calc(17px * var(--tse, 1)); line-height: 1.35; transition: transform .35s var(--ease), background-color .3s, color .3s; }
.big-list li:hover { transform: translateY(-4px); background: var(--ink); color: #fff; }
.big-list li .bn { flex: none; font-family: var(--font-display); font-size: 13px; font-weight: 600; width: 36px; height: 36px; border-radius: 999px; background: var(--bg); color: var(--ink); display: grid; place-items: center; letter-spacing: 0; }
.dark .big-list li { background: var(--ink-2); }
.dark .big-list li .bn { background: var(--ink-3); color: #fff; }
.final-delivers { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; position: relative; }
.final-delivers li { padding: 10px 18px; border-radius: 999px; border: 1.5px solid #4A5055; font-weight: clamp(100, calc(600 + var(--tw, 0)), 900); font-size: calc(15px * var(--tse, 1)); }

/* Listing pages (services hub, industries) */
.hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hub-grid .svc-card { width: auto; min-height: 440px; }
.ind-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ind-list li { border-radius: 28px; padding: 32px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; transition: transform .45s var(--ease); }
.ind-list li:hover { transform: translateY(-8px) rotate(-.6deg); }
.ind-list svg { width: 40px; height: 40px; }
.ind-list .ub { font-size: calc(clamp(22px, 2.2vw, 32px) * var(--hse, 1)); line-height: 1.12; }

/* Portfolio archive & single */
.filters { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-bottom: 56px; }
.filters a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: #fff; font-weight: 700; font-size: 14px; text-decoration: none; color: var(--ink); transition: background-color .25s, color .25s; }
.filters a:hover, .filters a.on { background: var(--ink); color: #fff; }
.filters a span { opacity: .55; font-weight: 600; }
.arch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 40px; }
.arch-grid .work:nth-child(4n+2), .arch-grid .work:nth-child(4n+3) { }
.arch-grid .work:nth-child(even) { margin-top: 90px; }
.proj { padding: 0 0 120px; }
.proj-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px 56px; align-items: start; }
.proj-cover { border-radius: 40px; overflow: hidden; aspect-ratio: 16 / 10.5; position: relative; background: var(--ink); }
.proj-cover > img, .proj-cover > video { width: 100%; height: 100%; object-fit: cover; }
.facts { position: sticky; top: 130px; display: flex; flex-direction: column; gap: 24px; background: #fff; border-radius: var(--radius); padding: 32px; }
.facts dl { display: grid; gap: 0; }
.facts dl div { padding: 14px 0; border-bottom: 1px solid var(--bg); display: grid; gap: 4px; }
.facts dt { font-size: calc(12px * var(--tse, 1)); font-weight: clamp(100, calc(800 + var(--tw, 0)), 900); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.facts dd { font-size: calc(16px * var(--tse, 1)); font-weight: clamp(100, calc(600 + var(--tw, 0)), 900); }
.prose { max-width: 720px; font-size: calc(18px * var(--tse, 1)); line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--font-display); font-weight: clamp(100, calc(500 + var(--hw, 0)), 900); letter-spacing: -0.02em; font-size: calc(clamp(24px, 2.4vw, 34px) * var(--hse, 1)); line-height: 1.15; margin-top: 1.6em; }
.prose h3 { font-family: var(--font-display); font-weight: clamp(100, calc(500 + var(--hw, 0)), 900); font-size: calc(22px * var(--hse, 1)); line-height: 1.2; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose a { text-decoration-color: var(--g2); text-underline-offset: 3px; }
.prose img { border-radius: 24px; height: auto; }
.prose blockquote { border-left: 3px solid var(--g1); padding-left: 24px; font-family: var(--font-display); font-size: calc(22px * var(--hse, 1)); line-height: 1.4; }
.prose .wp-block-table { margin-left: 0; margin-right: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 16px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .86em; line-height: 1.5; min-width: 540px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.prose thead th { font-weight: 600; background: color-mix(in srgb, currentColor 5%, transparent); }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose td:first-child { font-weight: 600; }

/* Insights */
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.post-card { border-radius: var(--radius); background: #fff; padding: 36px; display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: var(--ink); min-height: 300px; transition: transform .45s var(--ease), background-color .3s, color .3s; }
.post-card:hover { transform: translateY(-8px); background: var(--ink); color: #fff; }
.post-card .meta { font-size: calc(13px * var(--tse, 1)); font-weight: clamp(100, calc(800 + var(--tw, 0)), 900); text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); }
.post-card h2 { font-size: calc(26px * var(--hse, 1)); line-height: 1.15; }
.post-card p { color: var(--muted); }
.post-card:hover p, .post-card:hover .meta { color: var(--muted-dark); }
.post-card .more { margin-top: auto; font-weight: clamp(100, calc(800 + var(--tw, 0)), 900); }
.empty { border-radius: var(--radius); background: #fff; padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; gap: 22px; align-items: flex-start; max-width: 860px; }
.empty ul { list-style: none; display: grid; gap: 10px; }
.empty li { font-family: var(--font-display); font-size: 19px; letter-spacing: -0.02em; display: flex; gap: 12px; }
.empty li::before { content: "\2733"; color: var(--g1); }
.pagination { margin-top: 48px; display: flex; gap: 10px; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 48px; height: 48px; border-radius: 999px; background: #fff; text-decoration: none; font-weight: clamp(100, calc(700 + var(--tw, 0)), 900); padding: 0 16px; }
.pagination .current { background: var(--ink); color: #fff; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.contact-aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 130px; }
.c-card { border-radius: var(--radius); padding: 32px; background: #fff; display: flex; flex-direction: column; gap: 14px; }
.c-card.c-ink { background: var(--ink); color: #fff; }
.c-card dl { display: grid; }
.c-card dl div { padding: 14px 0; border-bottom: 1px solid var(--bg); display: grid; gap: 4px; }
.c-card.c-ink dl div { border-color: var(--ink-3); }
.c-card dt { font-size: calc(12px * var(--tse, 1)); font-weight: clamp(100, calc(800 + var(--tw, 0)), 900); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.c-card.c-ink dt { color: var(--muted-dark); }
.c-card dd a { text-decoration: none; }
.form-card { border-radius: 40px; background: #fff; padding: clamp(28px, 4vw, 56px); }
.xform { display: grid; gap: 22px; }
.xform .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fld { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.fld > span, .fld legend { font-size: calc(13px * var(--tse, 1)); font-weight: clamp(100, calc(800 + var(--tw, 0)), 900); color: var(--ink); padding: 0; margin-bottom: 4px; }
.fld input, .fld textarea, .fld select { width: 100%; font: inherit; font-size: calc(16px * var(--tse, 1)); color: var(--ink); background: var(--bg); border: 1.5px solid transparent; border-radius: 18px; padding: 15px 18px; transition: border-color .25s, background-color .25s; }
.fld textarea { min-height: 150px; resize: vertical; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--g2); background: #fff; }
.opt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-chips label { position: relative; cursor: pointer; }
.opt-chips input { position: absolute; opacity: 0; pointer-events: none; }
.opt-chips span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; background: var(--bg); font-size: 14px; font-weight: 700; transition: background-color .2s, color .2s; }
.opt-chips input:checked + span { background: var(--ink); color: #fff; }
.opt-chips input:focus-visible + span { outline: 2px solid var(--g2); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: calc(14px * var(--tse, 1)); color: var(--muted-2); }
.form-ok { border-radius: var(--radius); background: var(--ink); color: #fff; padding: 40px; display: grid; gap: 12px; }
.form-ok h3 { font-size: calc(28px * var(--hse, 1)); }
.form-err { padding: 16px 20px; border-radius: 18px; background: #FFF1EE; color: #8A2A12; font-weight: clamp(100, calc(600 + var(--tw, 0)), 900); margin-bottom: 18px; }
.admin-note { margin-top: 10px; padding: 12px 16px; border-radius: 14px; border: 1.5px dashed var(--g2); font-size: calc(14px * var(--tse, 1)); color: var(--muted); }

/* ---------- Custom cursor & magnetic (desktop, fine pointer) ---------- */
.cur { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 999px; border: 1.5px solid var(--ink); transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background-color .3s, border-color .3s, opacity .3s; opacity: 0; mix-blend-mode: difference; border-color: #fff; }
.cur.on { opacity: 1; }
.cur.big { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: #fff; }
.cur-dot { position: fixed; left: 0; top: 0; z-index: 9999; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 999px; background: #fff; mix-blend-mode: difference; pointer-events: none; opacity: 0; }
.cur-dot.on { opacity: 1; }

/* ---------- Fallbacks ---------- */
.no-sda .svc-track, .no-sda .work-col.lag, .no-sda .proc-prog, .no-sda .count { animation: none; }
/* ---------- Home: portfolio banners ---------- */
/* Moving screen wall */
.hw { height: 680px; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); }
.hw-tilt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; width: 118%; margin: -8% 0 0 -6%; transform: rotate(-7deg); }
.hw-track { animation: hwUp 46s linear infinite; }
.hw-c2 .hw-track { animation-name: hwDown; animation-duration: 54s; }
.hw-c3 .hw-track { animation-duration: 50s; }
.hw-set { display: flex; flex-direction: column; gap: 18px; padding-bottom: 18px; }
@keyframes hwUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes hwDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.hw:hover .hw-track, .hw:focus-within .hw-track { animation-play-state: paused; }
.hw-card { position: relative; display: block; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 18px 40px rgba(17,19,20,.14); text-decoration: none; transition: transform .4s var(--ease); }
.hw-card:hover { transform: scale(1.04); z-index: 2; }
.hw-bar { display: flex; gap: 5px; align-items: center; height: 20px; padding: 0 10px; background: #F2F3F4; }
.hw-bar i { width: 6px; height: 6px; border-radius: 999px; background: #CDD1D4; }
.hw-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.hw-lab { position: absolute; left: 10px; bottom: 10px; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.hw-card:hover .hw-lab, .hw-card:focus-visible .hw-lab { opacity: 1; transform: none; }

/* Device showcase */
.hd { height: auto; display: flex; flex-direction: column; gap: 26px; padding: 30px 0; perspective: none; }
.hd-stage { position: relative; padding-right: 9%; }
.hd-laptop { position: relative; }
.hd-screen { position: relative; aspect-ratio: 16 / 10; border: 12px solid #111314; border-bottom-width: 16px; border-radius: 18px 18px 6px 6px; overflow: hidden; background: #111314; box-shadow: 0 40px 80px rgba(17,19,20,.22); }
.hd-base { height: 14px; width: 112%; margin-left: -6%; border-radius: 2px 2px 14px 14px; background: linear-gradient(#e6e8ea, #b6babe); box-shadow: 0 10px 20px rgba(17,19,20,.15); }
.hd-phone { position: absolute; right: 0; bottom: -6%; width: 25%; aspect-ratio: 9 / 19; border: 7px solid #111314; border-radius: 26px; overflow: hidden; background: #111314; box-shadow: 0 30px 60px rgba(17,19,20,.3); }
.hd-s { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .9s var(--ease), transform 1.4s var(--ease); }
.hd-s.on { opacity: 1; transform: none; }
.hd-s img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hd-phone .hd-s.none { background: #111314; }
.hd-cap { display: flex; flex-direction: column; gap: 14px; padding-right: 9%; }
.hd-caps { position: relative; min-height: 104px; }
.hd-c { position: absolute; inset: 0 auto auto 0; display: flex; flex-direction: column; gap: 6px; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; pointer-events: none; }
.hd-c.on { opacity: 1; transform: none; pointer-events: auto; }
.hd-c b { font-size: 24px; font-weight: 600; }
.hd-c span { font-size: 14px; color: var(--muted); }
.hd-c a { font-size: 14px; font-weight: 700; color: var(--ink); }
.hd-nav { display: flex; align-items: center; gap: 18px; }
.hd-bar { flex: 1; height: 3px; border-radius: 9px; background: rgba(17,19,20,.1); overflow: hidden; }
.hd-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--g1), var(--g2)); }
.hd.run .hd-bar i { animation: hdBar var(--hd-t, 5s) linear forwards; }
.hd.paused .hd-bar i { animation-play-state: paused; }
@keyframes hdBar { to { width: 100%; } }
.hd-dots { display: flex; gap: 8px; }
.hd-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(17,19,20,.2); cursor: pointer; }
.hd-dot.on { background: var(--ink); width: 22px; }

/* Scroll zoom-out */
.hero-zoom { padding: 0; height: 260vh; overflow: visible; }
.hz-sticky { position: sticky; top: var(--header); height: calc(100vh - var(--header)); overflow: hidden; display: grid; place-items: center; }
.admin-bar .hz-sticky { top: calc(var(--header) + 32px); height: calc(100vh - var(--header) - 32px); }
.hz-grid { width: min(1100px, 90vw, calc((100vh - var(--header) - 190px) * 1.55)); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; transform: scale(calc(1 + (var(--s) - 1) * (1 - var(--p)))); transform-origin: 50% 50%; will-change: transform; }
.hz-t { position: relative; display: block; border-radius: calc(14px / (1 + (var(--s) - 1) * (1 - var(--p)))); overflow: hidden; background: #fff; box-shadow: 0 14px 34px rgba(17,19,20,.12); }
.hz-t img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.hz-t img[data-hz-ph] { display: none; }
/* Opening view: the first project sits blurred and dimmed behind the headline, then sharpens as you scroll */
.hero-zoom { --f: max(0, 1 - var(--p) * 3); }
.hz-main img { filter: blur(calc(var(--f) * 2.5px)) saturate(calc(1 - var(--f) * .4)); transform: scale(calc(1 + var(--f) * .1)); will-change: filter, transform; }
.hz-copy::after { content: "Scroll to see our work"; position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); padding-bottom: 30px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; color: rgba(255,255,255,.7); background: linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,.7)) 50% 100% / 1.5px 20px no-repeat; animation: hzCue 2s ease-in-out infinite; }
@keyframes hzCue { 0%, 100% { background-position: 50% 100%; } 50% { background-position: 50% 70%; } }
.hz-static .hz-main img { filter: none; transform: none; }
.hz-static .hz-copy::after { display: none; }
.hz-lab { position: absolute; left: 8px; bottom: 8px; padding: 5px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; opacity: calc((var(--p) - .8) * 5); }
.hz-copy { position: absolute; inset: 0; display: flex; align-items: center; color: #fff; background: linear-gradient(90deg, rgba(17,19,20,.9) 0%, rgba(17,19,20,.66) 50%, rgba(17,19,20,.22) 100%); opacity: calc(1 - var(--p) * 3.4); pointer-events: none; }
.hz-copy .wrap { display: flex; flex-direction: column; gap: 28px; width: 100%; }
.hz-copy h1 { max-width: 14ch; color: #fff; }
.hz-copy .lead { max-width: 560px; color: rgba(255,255,255,.85); }
.hz-copy .btns { pointer-events: auto; }
.hero-zoom.hz-past .hz-copy .btns { pointer-events: none; }
.hero-zoom:not(.hz-done) .hz-end { pointer-events: none; }
.hz-copy .pill-light { background: #fff; }
.hz-copy .pill-dark { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.hz-copy .pill-light:hover { background: var(--g2); color: #fff; }
.hz-copy .pill-light:hover .ar { background: #fff; }
.hz-copy .pill-light:hover .ar svg { stroke: var(--ink); }
.hz-end { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; align-items: center; gap: 18px; padding: 8px 8px 8px 22px; border-radius: 999px; background: #fff; box-shadow: 0 14px 34px rgba(17,19,20,.12); opacity: calc((var(--p) - .82) * 6); white-space: nowrap; }
.hz-end span { font-size: 15px; font-weight: 600; }
.hz-end .pill { white-space: nowrap; }
@media (max-width: 1000px) { .hz-copy::after { display: none; } }
.hz-static { height: auto; }
.hz-static .hz-sticky { position: relative; top: 0; height: auto; display: flex; flex-direction: column; gap: 40px; padding: 60px 0; }
.hz-static .hz-copy { order: -1; }
.hz-static .hz-grid { transform: none; }
.hz-static .hz-copy { position: static; opacity: 1; background: none; color: var(--ink); }
.hz-static .hz-copy h1 { color: var(--ink); } .hz-static .hz-copy .lead { color: var(--muted); }
.hz-static .hz-end, .hz-static .hz-lab { opacity: 1; position: static; transform: none; }
.hz-static .hz-lab { position: absolute; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .draw path.line { stroke-dashoffset: 0; } .draw path.fill { opacity: 1; }
  .ink { color: var(--ink); } .reveal { opacity: 1 !important; transform: none !important; }
  .svc-sec { height: auto; } .svc-stick { position: static; height: auto; padding: 100px 0; } .svc-track { overflow-x: auto; width: auto; transform: none !important; padding-bottom: 16px; }
  .work-col.lag { transform: none !important; }
  .cur, .cur-dot { display: none; }
  .hd-s, .hd-c { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .xh-nav { margin-left: 24px; gap: 18px; padding: 12px 20px; }
}
@media (max-width: 1060px) {
  .xh-nav, .xh-cta { display: none; }
  .burger { display: inline-flex; margin-left: 0; }
  .xt { margin-left: auto; }
  :root { --header: 76px; }
}
@media (max-width: 1000px) {
  :root { --pad: 22px; }
  .hero-grid, .split, .split-57, .split-66, .phero-grid, .proj-grid, .contact-grid, .duo { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; }
  .hero-art { height: 420px; }
  .hw { height: 420px; } .hw-tilt { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 112%; } .hw-c3 { display: none; }
  .hd { height: auto; } .hd-c b { font-size: 20px; }
  .hero-zoom { height: 200vh; } .hz-grid { gap: 8px; width: min(94vw, calc((100vh - var(--header) - 150px) * .54)); } .hz-t img { aspect-ratio: 9 / 16; } .hz-t:has([data-hz-ph]) img:not([data-hz-ph]) { display: none; } .hz-lab { display: none; } .hz-t img[data-hz-ph] { display: block; } .hz-copy { align-items: flex-end; padding-bottom: 48px; background: linear-gradient(0deg, rgba(17,19,20,.95) 0%, rgba(17,19,20,.85) 65%, rgba(17,19,20,.5) 100%); } .hz-end { bottom: 14px; padding-left: 16px; } .hz-end span { display: none; }
  .svc-sec { height: auto; }
  .svc-stick { position: static; height: auto; padding: 72px 0; }
  .svc-track { overflow-x: auto; width: auto; animation: none; padding-bottom: 12px; transform: none !important; }
  .svc-card { width: 320px; }
  .ghost { font-size: 180px; }
  .stack, .wstack { position: relative !important; top: auto !important; }
  .sticky-head, .facts, .contact-aside { position: static !important; }
  .work-grid { grid-template-columns: 1fr; }
  .work-col.lag { animation: none; padding-top: 0; transform: none !important; }
  .caps, .hub-grid { grid-template-columns: 1fr 1fr; }
  .cap.span2 { grid-column: auto; }
  .arch-grid .work:nth-child(even) { margin-top: 0; }
  .about { padding: 100px 0; }
  .why, .work-sec { padding-top: 100px; }
  .big-statement { padding: 90px 0; }
}
@media (max-width: 600px) {
  body { font-size: calc(16px * var(--tse, 1)); }
  .xh-logo img { height: 38px; }
  .chip { font-size: 11px; padding: 8px 12px; }
  .hero-art { height: 360px; }
  .c1 { left: 0; top: 60px; } .c2 { right: 0; top: 110px; } .c3 { left: 0; bottom: 110px; } .c4 { right: 0; bottom: 60px; } .c5 { left: 30%; top: 14px; }
  .tile { width: 240px; height: 160px; padding: 20px; }
  .tile .ub { font-size: calc(17px * var(--hse, 1)); }
  .ind-stage { height: 520px; }
  .ghost { font-size: 120px; }
  .stack { padding: 28px; min-height: 170px; }
  .pill { min-height: 52px; padding: 0 22px; white-space: normal; text-align: center; }
  .svc-track { scroll-snap-type: x mandatory; gap: 14px; padding: 0 22px 14px; }
  .svc-card { width: 84vw; max-width: 320px; min-height: 0; padding: 26px; gap: 12px; scroll-snap-align: start; border-radius: 26px; }
  .svc-card ul.tk, .svc-card .ideal { display: none; }
  .svc-top .num { font-size: calc(34px * var(--hse, 1)); }
  .svc-card h3 { font-size: calc(20px * var(--hse, 1)); }
  .svc-card p { font-size: calc(14px * var(--tse, 1)); }
  .caps, .hub-grid, .ind-list, .posts, .arch-grid, .res-grid, .xform .row { grid-template-columns: 1fr; }
  ul.tk.cols2 { grid-template-columns: 1fr; }
  .xf-word .w { font-size: 110px; }
  .phero { padding: 40px 0 90px; }
  .outline-num { font-size: calc(64px * var(--hse, 1)); }
  .card { padding: 28px; }
  .proc-list li { grid-template-columns: 52px 1fr; gap: 18px; }
  .proc-n { width: 52px; height: 52px; font-size: calc(18px * var(--hse, 1)); }
  .proc-line, .proc-prog { left: 25px; }
  details.faq summary { font-size: calc(17px * var(--hse, 1)); }
  .big-statement p { font-size: calc(34px * var(--hse, 1)); }
}

/* Standard WordPress blocks placed directly on a page */
.x-blocks > :where(p, h1, h2, h3, h4, ul, ol, figure, blockquote, .wp-block-image, .wp-block-buttons, .wp-block-columns, .wp-block-group, .wp-block-embed, .wp-block-table) { max-width: 760px; margin: 0 auto 1.2em; padding: 0 var(--pad); }
.x-blocks > :where(h1, h2, h3) { font-family: var(--font-display); font-weight: clamp(100, calc(500 + var(--hw, 0)), 900); letter-spacing: -0.02em; line-height: 1.1; margin-top: 1.4em; }

/* Adjustable type (Appearance > Customize > Xorek design, and each section's Typography panel).
   On phones larger settings are capped so headings never overflow. */
:root, [style*="--hs"], [style*="--ts"] { --hse: var(--hs, 1); --tse: var(--ts, 1); }
@media (max-width: 700px) { :root, [style*="--hs"], [style*="--ts"] { --hse: min(var(--hs, 1), 1.1); --tse: min(var(--ts, 1), 1.1); } }
.ub, h1, h2, h3, h4 { overflow-wrap: break-word; }
/* Two-column card grids stack on phones (their column count is set inline). */
@media (max-width: 600px) { .caps[style*="grid-template-columns"] { grid-template-columns: 1fr !important; } }

/* ==========================================================================
   Portfolio case studies (client colours come in as --cb1, --cb2, --ca)
   ========================================================================== */
.cs-page { --cb1: #111314; --cb1i: #fff; --cb2: #24282B; --cb2i: #fff; --ca: #16C79A; --cai: #111314; }
.cs-hero { position: relative; overflow: hidden; margin: 0 16px; border-radius: 40px; background: var(--cb1); color: var(--cb1i); padding: 64px 0 0; }
.cs-hero .ghost { top: 120px; bottom: auto; transform: none; -webkit-text-stroke-color: color-mix(in srgb, var(--cb1i) 9%, transparent); }
.cs-hero .wrap { position: relative; display: flex; flex-direction: column; gap: 40px; }
.cs-hero .crumbs, .cs-hero .crumbs a { color: color-mix(in srgb, var(--cb1i) 62%, transparent); }
.cs-hero .crumbs [aria-current] { color: var(--cb1i); }
.cs-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; }
.cs-hero-l { display: flex; flex-direction: column; gap: 26px; }
.cs-hero-r { display: flex; flex-direction: column; gap: 24px; padding-bottom: 12px; }
.cs-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cs-tags li { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--cb1i) 30%, transparent); font-size: calc(14px * var(--tse, 1)); font-weight: 700; }
.cs-title { margin: 0; font-size: calc(min(clamp(56px, 9vw, 150px), min(100vw, 1300px) * .52 / (var(--tl, 6) * .8)) * var(--hse, 1)); line-height: .92; font-weight: clamp(100, calc(600 + var(--hw, 0)), 900); }
.cs-summary { margin: 0; font-size: calc(20px * var(--tse, 1)); line-height: 1.5; font-weight: clamp(100, calc(600 + var(--tw, 0)), 900); }
.cs-acc { color: var(--ca); }
.cs-pill { align-self: flex-start; background: var(--ca); color: var(--cai); }
.cs-pill:hover { background: var(--cb1i); color: var(--cb1); }
.cs-pill .ar { background: color-mix(in srgb, var(--cai) 12%, transparent); }
.cs-facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; padding: 28px 0; border-top: 1px solid color-mix(in srgb, var(--cb1i) 16%, transparent); }
.cs-facts dt { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .58; margin-bottom: 8px; }
.cs-facts dd { margin: 0; font-size: calc(17px * var(--tse, 1)); font-weight: 700; line-height: 1.4; }
.cs-hero-shot { margin: 8px auto -1px; width: min(100%, 1100px); border-radius: 22px 22px 0 0 !important; }

.browser { border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px rgba(17,19,20,.12); }
.bbar { height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 18px; background: #F2F3F4; border-bottom: 1px solid #E1E4E6; }
.bbar i { width: 10px; height: 10px; border-radius: 999px; background: #CDD1D4; }
.bbar span { margin-left: 14px; padding: 5px 14px; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 600; color: var(--muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-img { display: block; width: 100%; height: auto; }
.phone { width: 240px; border-radius: 40px; border: 10px solid #111314; overflow: hidden; background: #111314; box-shadow: 0 30px 60px rgba(0,0,0,.25); flex: none; }
.cs-ph { display: grid; place-items: center; min-height: 260px; padding: 24px; text-align: center; background: repeating-linear-gradient(45deg, #F2F3F4, #F2F3F4 12px, #E9EBED 12px, #E9EBED 24px); color: var(--muted); font-weight: 700; font-size: 14px; }
.phone .cs-ph { min-height: 420px; }

.cs-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.cs-split-57 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.cs-label { display: inline-flex; padding: 9px 18px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cs-label-s { display: block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.cs-about { padding: 140px 0 120px; }
.cs-about-r { display: flex; flex-direction: column; gap: 34px; }
.cs-statement { margin: 0; font-size: calc(clamp(30px, 3.4vw, 52px) * var(--hse, 1)); line-height: 1.12; font-weight: clamp(100, calc(500 + var(--hw, 0)), 900); }
.cs-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.cs-cols p { margin: 0; font-size: calc(17px * var(--tse, 1)); line-height: 1.7; color: var(--muted); }

.cs-mosaic { padding: 0 0 140px; }
.cs-mosaic-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
.cs-col { display: flex; flex-direction: column; gap: 24px; }
.cs-col.lagcol { padding-top: 120px; }
.cs-phonecard { border-radius: 32px; background: var(--cb2); padding: 48px 40px; display: flex; justify-content: center; }
.cs-note { border-radius: 32px; background: #fff; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.cs-note p { margin: 0; font-size: calc(17px * var(--tse, 1)); line-height: 1.6; font-weight: clamp(100, calc(600 + var(--tw, 0)), 900); }

.cs-rows { padding: 0 0 140px; }
.cs-row { padding: 56px 0; border-top: 1px solid var(--line); }
.cs-row-h { display: flex; gap: 18px; align-items: baseline; }
.cs-row-h h2 { margin: 0; font-size: calc(34px * var(--hse, 1)); font-weight: clamp(100, calc(500 + var(--hw, 0)), 900); line-height: 1.1; }
.cs-n { font-size: 15px; font-weight: 600; color: var(--muted-2); }
.cs-row-t { display: flex; flex-direction: column; gap: 18px; max-width: 62ch; }
.cs-row-t p { margin: 0; font-size: calc(19px * var(--tse, 1)); line-height: 1.65; }

.cs-showcase { margin: 0 16px; border-radius: 40px; background: var(--cb2); overflow: hidden; padding: 110px 0; }
.cs-showcase-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px; align-items: center; }
.cs-showcase-grid.solo { grid-template-columns: minmax(0, 1fr); max-width: 1100px; }
.cs-showcase .browser { box-shadow: 0 40px 80px rgba(0,0,0,.3); }
.cs-phones { display: flex; gap: 20px; justify-content: center; }
.cs-phones.end { justify-content: flex-end; }
.cs-showcase .phone { width: 200px; }

.cs-delivered { padding: 140px 0; }
.cs-del-h { gap: 28px; }
.cs-built { display: flex; flex-direction: column; gap: 12px; }
.cs-built ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cs-built li { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 700; }
.cs-dl { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cs-dl li { display: flex; gap: 18px; align-items: flex-start; padding: 26px 28px; border-radius: 24px; background: #fff; font-size: calc(18px * var(--tse, 1)); line-height: 1.5; font-weight: clamp(100, calc(600 + var(--tw, 0)), 900); }
.cs-dl .bn { flex: none; width: 36px; height: 36px; border-radius: 999px; background: var(--bg); display: grid; place-items: center; font-family: var(--font-display); font-size: 12px; font-weight: 600; }

.cs-brand { padding: 0 0 140px; }
.cs-kicker { margin: 0 0 32px; font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.cs-brand-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px; }
.cs-type { border-radius: 32px; background: #fff; padding: 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 340px; }
.cs-aa { font-size: 140px; font-weight: 700; line-height: .8; color: var(--cb1); }
.cs-fname { font-size: 26px; font-weight: 700; }
.cs-brand-grid > .cs-swatches:only-child { grid-column: 1 / -1; }
.cs-swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.cs-sw { border-radius: 28px; padding: 24px; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; box-shadow: inset 0 0 0 1px rgba(17,19,20,.08); }
.cs-sw span { font-size: 14px; font-weight: 700; opacity: .8; }
.cs-sw b { font-family: var(--font-display); font-size: 16px; font-weight: 600; }

.cs-hero-apps { display: flex; justify-content: center; align-items: flex-start; gap: 20px; margin: 8px 0 -90px; }
.cs-app { flex: none; width: 230px; border-radius: 26px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px rgba(0,0,0,.28); }
.cs-app .cs-ph { min-height: 420px; }
.cs-hero-apps .cs-app:nth-child(even) { margin-top: 70px; }
.cs-screens { margin: 0 16px 140px; border-radius: 40px; padding: 110px 0; overflow: hidden; }
.cs-screens.bg-brand { background: var(--cb1); color: var(--cb1i); }
.cs-screens.bg-brand2 { background: var(--cb2); color: var(--cb2i); }
.cs-screens.bg-ink { background: var(--ink); color: #fff; }
.cs-screens.bg-none { margin: 0; padding: 0 0 140px; border-radius: 0; }
.cs-screens .cs-label-s { color: inherit; opacity: .62; }
.cs-screens:not(.bg-none) .grad { background: none; -webkit-text-fill-color: currentColor; color: var(--ca); }
.cs-screens-h { display: flex; flex-direction: column; gap: 20px; margin-bottom: 56px; }
.cs-screens-h h2 { margin: 0; }
.cs-screens-h p { margin: 0; max-width: 56ch; font-size: calc(18px * var(--tse, 1)); line-height: 1.65; opacity: .82; }
.cs-strip { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(24px, calc((100vw - 1240px) / 2)) 30px; scrollbar-width: thin; justify-content: safe center; }
.cs-strip .cs-app { width: 250px; scroll-snap-align: center; box-shadow: 0 24px 50px rgba(0,0,0,.22); }
.cs-strip:focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }
.cs-mobile { padding: 0 0 140px; }
.cs-mobile-t { display: flex; flex-direction: column; gap: 24px; }
.cs-mobile-t p { margin: 0; font-size: calc(18px * var(--tse, 1)); line-height: 1.65; color: var(--muted); max-width: 46ch; }
.cs-mobile .phone { width: 230px; }

.cs-outcome { margin: 0 16px; border-radius: 40px; background: var(--ink); color: #fff; padding: 130px 0; }
.cs-outcome .wrap { display: flex; flex-direction: column; gap: 40px; }
.cs-outcome .cs-label-s { color: var(--muted-dark); }
.cs-out-s { margin: 0; font-size: calc(clamp(34px, 4.6vw, 72px) * var(--hse, 1)); line-height: 1.06; font-weight: clamp(100, calc(500 + var(--hw, 0)), 900); max-width: 20ch; }
.cs-out-b { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-top: 32px; border-top: 1px solid var(--line-dark); }
.cs-out-b > span { font-size: 28px; font-weight: 500; }

.cs-next { padding: 120px 0 140px; }
.cs-next-a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; text-decoration: none; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.cs-next-a:hover { color: var(--ink); }
.cs-next-t { display: flex; flex-direction: column; gap: 14px; }
.cs-next-name { font-size: calc(clamp(40px, 6vw, 96px) * var(--hse, 1)); line-height: .95; font-weight: 500; }
.cs-next-s { font-size: 16px; color: var(--muted); }
.go2 { width: 96px; height: 96px; border-radius: 999px; background: var(--ink); display: grid; place-items: center; transition: transform .45s var(--ease), background-color .3s; }
.cs-next-a:hover .go2 { transform: rotate(45deg); background: var(--g2); }

@media (max-width: 1000px) {
  .cs-hero { margin: 0 10px; border-radius: 28px; padding-top: 40px; }
  .cs-hero-grid, .cs-split, .cs-mosaic-grid, .cs-showcase-grid, .cs-brand-grid { grid-template-columns: 1fr; }
  .cs-col.lagcol { padding-top: 0; }
  .cs-showcase, .cs-outcome { margin: 0 10px; border-radius: 28px; padding: 72px 0; }
  .cs-about, .cs-delivered { padding: 90px 0; }
  .cs-mosaic, .cs-rows, .cs-brand, .cs-mobile { padding-bottom: 90px; }
  .cs-phones, .cs-phones.end { justify-content: center; }
  .cs-phones .phone { width: 42vw !important; margin-top: 0 !important; }
  .cs-phones .phone:nth-child(3) { display: none; }
  .cs-title { font-size: calc(min(clamp(48px, 14vw, 96px), (100vw - 60px) / (var(--tl, 6) * .8)) * var(--hse, 1)); }
  .cs-hero-apps { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px -60px; padding: 0 20px; scrollbar-width: none; }
  .cs-hero-apps .cs-app { width: 56vw; scroll-snap-align: center; }
  .cs-hero-apps .cs-app:nth-child(even) { margin-top: 0; }
  .cs-screens { margin: 0 10px 90px; border-radius: 28px; padding: 72px 0; }
  .cs-screens.bg-none { margin: 0; padding: 0 0 90px; }
  .cs-screens-h { margin-bottom: 36px; }
  .cs-strip { padding: 4px 20px 24px; justify-content: flex-start; }
  .cs-strip .cs-app { width: 62vw; }
  .cs-sw { min-height: 150px; }
  .cs-type { min-height: 0; }
  .go2 { width: 64px; height: 64px; }
  .cs-next { padding: 80px 0 90px; }
}

/* ==========================================================================
   Dark mode. html[data-theme="dark"] is set before paint by the inline script in header.php
   (saved choice, otherwise the visitor's system setting) and switched with the header toggle.
   ========================================================================== */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0D0F10;
  --surface: #191C1F;
  --fg: #ECEEEF;
  --panel: #15181A;
  --ink-2: #1F2326;
  --ink-3: #2A2F33;
  --muted: #A7AEB2;
  --muted-2: #8D959A;
  --line: #2A2F33;
}
html[data-theme="dark"] body { color: var(--fg); }
html[data-theme="dark"] ::selection { color: #111314; }
html[data-theme="dark"] .tag,
html[data-theme="dark"] .xh-sub,
html[data-theme="dark"] .white,
html[data-theme="dark"] .svc-marq,
html[data-theme="dark"] .chip,
html[data-theme="dark"] .c-light,
html[data-theme="dark"] .mini-tags span,
html[data-theme="dark"] .gc-light,
html[data-theme="dark"] .s-light,
html[data-theme="dark"] .t-light,
html[data-theme="dark"] .pm-w,
html[data-theme="dark"] .card.c-white,
html[data-theme="dark"] .cap,
html[data-theme="dark"] details.faq .pm,
html[data-theme="dark"] .big-list li,
html[data-theme="dark"] .filters a,
html[data-theme="dark"] .facts,
html[data-theme="dark"] .post-card,
html[data-theme="dark"] .empty,
html[data-theme="dark"] .pagination .page-numbers,
html[data-theme="dark"] .c-card,
html[data-theme="dark"] .form-card,
html[data-theme="dark"] .fld input:focus,
html[data-theme="dark"] .fld textarea:focus,
html[data-theme="dark"] .hw-card,
html[data-theme="dark"] .hz-t,
html[data-theme="dark"] .hz-end,
html[data-theme="dark"] .browser,
html[data-theme="dark"] .bbar span,
html[data-theme="dark"] .cs-label,
html[data-theme="dark"] .cs-note,
html[data-theme="dark"] .cs-built li,
html[data-theme="dark"] .cs-dl li,
html[data-theme="dark"] .cs-type,
html[data-theme="dark"] .cs-app { background: var(--surface); }
html[data-theme="dark"] .xh-nav a,
html[data-theme="dark"] .xh-nav > li > a:hover,
html[data-theme="dark"] .xh-sub a:hover,
html[data-theme="dark"] .no-sda .ink.in,
html[data-theme="dark"] .c-light .ideal,
html[data-theme="dark"] .svc-card.c-light:hover,
html[data-theme="dark"] .work,
html[data-theme="dark"] .work:hover,
html[data-theme="dark"] .crumbs a:hover,
html[data-theme="dark"] .crumbs [aria-current],
html[data-theme="dark"] .big-list li .bn,
html[data-theme="dark"] .fld > span,
html[data-theme="dark"] .fld legend,
html[data-theme="dark"] .fld input,
html[data-theme="dark"] .fld textarea,
html[data-theme="dark"] .fld select,
html[data-theme="dark"] .hd-c a,
html[data-theme="dark"] .hz-static .hz-copy,
html[data-theme="dark"] .hz-static .hz-copy h1,
html[data-theme="dark"] .cs-next-a:hover,
html[data-theme="dark"] .chip,
html[data-theme="dark"] .c-light,
html[data-theme="dark"] .gc-light,
html[data-theme="dark"] .pm-w,
html[data-theme="dark"] .post-card,
html[data-theme="dark"] .filters a,
html[data-theme="dark"] details.faq .pm { color: var(--fg); }
html[data-theme="dark"] .dark,
html[data-theme="dark"] .xm,
html[data-theme="dark"] .hero-panel,
html[data-theme="dark"] .cov,
html[data-theme="dark"] .gc-dark,
html[data-theme="dark"] .s-dark,
html[data-theme="dark"] .t-dark,
html[data-theme="dark"] .fcta-in,
html[data-theme="dark"] .xf,
html[data-theme="dark"] .dpanel,
html[data-theme="dark"] .card.c-ink,
html[data-theme="dark"] .c-card.c-ink,
html[data-theme="dark"] .proj-cover,
html[data-theme="dark"] .cs-outcome,
html[data-theme="dark"] .cs-screens.bg-ink,
html[data-theme="dark"] .form-ok,
html[data-theme="dark"] .step.dark { background: var(--panel); }
html[data-theme="dark"] .cap:hover,
html[data-theme="dark"] .big-list li:hover,
html[data-theme="dark"] .post-card:hover,
html[data-theme="dark"] .filters a:hover,
html[data-theme="dark"] .filters a.on,
html[data-theme="dark"] .pagination .current,
html[data-theme="dark"] .opt-chips input:checked + span,
html[data-theme="dark"] details.faq[open] .pm,
html[data-theme="dark"] .c-light .go,
html[data-theme="dark"] .s-light .ic,
html[data-theme="dark"] .proc-n,
html[data-theme="dark"] .go2,
html[data-theme="dark"] .xm-close { background: #fff; color: #111314; }
html[data-theme="dark"] .c-dark { background: var(--ink-2); }
html[data-theme="dark"] .gc-ink2, html[data-theme="dark"] .t-ink2 { background: var(--ink-2); }
html[data-theme="dark"] .dark .big-list li { background: var(--ink-2); color: #fff; }
html[data-theme="dark"] .dark .big-list li:hover { background: #fff; color: #111314; }
html[data-theme="dark"] .xh { background: rgba(13,15,16,.85); background: color-mix(in srgb, var(--bg) 85%, transparent); }
html[data-theme="dark"] .xh.is-scrolled { box-shadow: 0 1px 0 rgba(255,255,255,.06); }
html[data-theme="dark"] .xh-nav { background: rgba(32,36,39,.72); }
html[data-theme="dark"] .xh-nav > li > a::after, html[data-theme="dark"] .chip.k i, html[data-theme="dark"] .hd-dot.on { background: #fff; }
html[data-theme="dark"] .xh-logo .logo-dark { display: none; }
html[data-theme="dark"] .xh-logo .logo-light { display: block; }
html[data-theme="dark"] .pill-dark { background: var(--g2); color: #fff; }
html[data-theme="dark"] .pill-dark:hover { background: #fff; color: #111314; }
html[data-theme="dark"] .pill-dark:hover .ar svg, html[data-theme="dark"] .pill-dark:hover .ar svg * { stroke: #fff; }
html[data-theme="dark"] .pill-dark:hover .ar { background: #111314; }
html[data-theme="dark"] .burger { background: #fff; }
html[data-theme="dark"] .burger svg { stroke: #111314; }
html[data-theme="dark"] ul.chk li::before { background-color: var(--ink-3); }
html[data-theme="dark"] .c-light .go svg, html[data-theme="dark"] .go2 svg, html[data-theme="dark"] .go2 svg * { stroke: #111314; }
@media (prefers-reduced-motion: no-preference) { html[data-theme="dark"] .ink { color: #4A5155; } }
@media (prefers-reduced-motion: reduce) { html[data-theme="dark"] .ink { color: var(--fg); } }
html[data-theme="dark"] .ghost { -webkit-text-stroke-color: rgba(255,255,255,.07); }
html[data-theme="dark"] .gc-light .dots { background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); }
html[data-theme="dark"] .hw-bar, html[data-theme="dark"] .bbar { background: #24282B; border-color: #2A2F33; }
html[data-theme="dark"] .hw-bar i, html[data-theme="dark"] .bbar i { background: #3A4044; }
html[data-theme="dark"] .cs-ph { background: repeating-linear-gradient(45deg, #1C1F22, #1C1F22 12px, #22262A 12px, #22262A 24px); }
html[data-theme="dark"] .hd-bar { background: rgba(255,255,255,.12); }
html[data-theme="dark"] .hd-dot { background: rgba(255,255,255,.25); }
html[data-theme="dark"] .hd-base { background: linear-gradient(#3A3F43, #24282B); }
html[data-theme="dark"] .hd-screen, html[data-theme="dark"] .hd-phone { border-color: #2A2F33; }
html[data-theme="dark"] .hw-card, html[data-theme="dark"] .hz-t, html[data-theme="dark"] .browser, html[data-theme="dark"] .xh-sub, html[data-theme="dark"] .chip { box-shadow: 0 18px 40px rgba(0,0,0,.45); }
html[data-theme="dark"] .fld input, html[data-theme="dark"] .fld textarea, html[data-theme="dark"] .fld select { background: var(--bg); }
html[data-theme="dark"] .fld input::placeholder, html[data-theme="dark"] .fld textarea::placeholder { color: #6F777C; }
html[data-theme="dark"] .svc-marq { border-color: var(--line); }
html[data-theme="dark"] .svc-card.c-light, html[data-theme="dark"] .svc-card.c-dark { box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }

/* Theme toggle */
.xt { position: relative; width: 44px; height: 44px; flex: none; display: grid; place-items: center; padding: 0; border: 1.5px solid var(--line); border-radius: 999px; background: transparent; color: var(--fg, var(--ink)); cursor: pointer; transition: background-color .3s, border-color .3s, transform .4s var(--ease); }
.xt:hover { border-color: var(--g2); transform: rotate(-20deg); }
.xt svg { width: 20px; height: 20px; }
.xt .xt-sun { display: none; }
html[data-theme="dark"] .xt .xt-sun { display: block; }
html[data-theme="dark"] .xt .xt-moon { display: none; }
.xh-logo .logo-light { display: none; }
