/* ==========================================================================
   BSG - site styles
   Type: Unbounded (display) and Onest (text), both self-hosted with Cyrillic.
   Colour: light and dark themes, neutrals, one metallic blue (blue steel) accent.
   Highlight words (.cond) get a blue steel gradient.
   Dark theme: follows the device, or [data-theme] set by the toggle.
   Signature: "notches", tabs cut into rounded photo frames with concave
   corners on both sides (see the NOTCH block).
   ========================================================================== */

@font-face { font-family: "Unbounded"; src: url("../assets/fonts/unbounded-cyrillic.woff2") format("woff2"); font-weight: 300 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; src: url("../assets/fonts/unbounded-latin.woff2") format("woff2"); font-weight: 300 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; src: url("../assets/fonts/onest-cyrillic.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; src: url("../assets/fonts/onest-latin.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */
:root {
  --page: #fbfaf8;
  --card: #f1efeb;
  --ink: #17171a;
  --ink-2: #45464b;
  --muted: #6c6d72;
  --line: #e2dfda;
  --accent: #2f5d8a;           /* blue steel: focus rings, small solid marks */
  --metal: linear-gradient(105deg, #16304d 0%, #2f5f8f 30%, #7ea6cc 48%, #33648f 62%, #16304d 100%);
  --on-metal: #ffffff;         /* text and icons on --metal */
  --white: #ffffff;            /* raised surface (tags, inputs, cards on cards) */
  --on-ink: #ffffff;           /* text and icons on --ink backgrounds */
  --error: #b42318;

  --sans: "Onest", "Helvetica Neue", Arial, sans-serif;
  --display: "Unbounded", "Arial Black", sans-serif;

  --edge: clamp(8px, 1vw, 12px);          /* page margin around big frames */
  --r-xl: clamp(18px, 2vw, 28px);         /* big frame radius */
  --r-lg: 18px;                           /* card radius */
  --gutter: clamp(20px, 7vw, 120px);
  --max: 1360px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --z-dock: 50;
  --z-menu: 80;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --page: #0e0e0f;
  --card: #18181a;
  --ink: #f1efea;
  --ink-2: #c9c6c0;
  --muted: #8f8c86;
  --line: #2a2a2d;
  --accent: #8db8e0;
  --metal: linear-gradient(105deg, #5d88b3 0%, #a9cbeb 30%, #eef6fd 48%, #86b0d8 64%, #4f7aa5 100%);
  --on-metal: #111112;
  --white: #222225;
  --on-ink: #111112;
  --error: #ff6b5b;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #0e0e0f;
    --card: #18181a;
    --ink: #f1efea;
    --ink-2: #c9c6c0;
    --muted: #8f8c86;
    --line: #2a2a2d;
    --accent: #8db8e0;
    --metal: linear-gradient(105deg, #5d88b3 0%, #a9cbeb 30%, #eef6fd 48%, #86b0d8 64%, #4f7aa5 100%);
    --on-metal: #111112;
    --white: #222225;
    --on-ink: #111112;
    --error: #ff6b5b;
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--page); scroll-padding-top: 90px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, address { margin: 0; padding: 0; font-style: normal; }
ul, ol { list-style: none; }
.ico { width: 1em; height: 1em; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--on-ink); border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.cond { font-style: normal; font-weight: inherit; color: var(--accent); background: var(--metal); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.wrap-wide { margin-inline: var(--edge); }
.page-sec { padding-top: clamp(80px, 10vw, 150px); }

.h-xl { font-size: clamp(54px, 8vw, 116px); font-weight: 400; letter-spacing: -0.05em; line-height: .95; }
.h-xl .cond { letter-spacing: -0.03em; }
.h-lg { font-size: clamp(32px, 4vw, 56px); font-weight: 400; letter-spacing: -0.035em; line-height: 1.05; max-width: 17ch; text-wrap: balance; }
.statement { font-size: clamp(26px, 3.1vw, 44px); line-height: 1.22; letter-spacing: -0.02em; max-width: 26ch; text-wrap: pretty; }
.statement--sm { font-size: clamp(24px, 2.5vw, 36px); line-height: 1.25; max-width: 28ch; }

/* ---------- Small pieces ---------- */
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--metal); flex: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 99px; background: var(--card); font-size: 13px; color: var(--ink-2); white-space: nowrap; justify-self: start; align-self: start; }
.chip--white { background: var(--white); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 4px 10px; border-radius: 99px; background: var(--white); border: 1px solid var(--line); font-size: 12px; color: var(--ink-2); }
.pill { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 6px 0 18px; border-radius: 99px; font-size: 14px; font-weight: 500; white-space: nowrap; transition: background .25s, color .25s; }
.pill:not(:has(.pill-ico)) { padding: 0 18px; }
.pill--lg { height: 48px; padding-left: 24px; font-size: 15px; }
.pill--lg .pill-ico { width: 36px; height: 36px; }
.pill--dark { background: var(--ink); color: var(--on-ink); }
.pill--dark:hover { background: var(--metal); color: var(--on-metal); }
.pill--dark:disabled { opacity: .6; cursor: progress; }
.pill--soft { background: var(--card); }
.pill--soft:hover { background: var(--line); }
.pill-ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--on-ink); font-size: 14px; transition: transform .3s var(--ease); }
.pill--dark .pill-ico { background: var(--on-ink); color: var(--ink); }
.pill:hover .pill-ico { transform: translateX(2px); }
.ico-circle { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--on-ink); font-size: 14px; flex: none; transition: transform .35s var(--ease), background .25s; }
.ico-down .ico { transform: rotate(90deg); }
.avatar { display: grid; place-items: center; width: 22px; height: 22px; margin-left: -6px; border-radius: 50%; background: var(--metal); color: var(--on-metal); font-size: 9px; font-weight: 700; letter-spacing: .02em; flex: none; }

/* ==========================================================================
   NOTCH: a tab cut into a rounded frame, with concave corners on both sides.
   The tab is painted in the colour around the frame (--nb), so it looks
   like the frame has been carved. Put it inside a .frame (overflow hidden).
   ========================================================================== */
.frame { position: relative; overflow: hidden; border-radius: var(--r-xl); isolation: isolate; }
.frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }

.notch {
  --nr: 16px;
  --nb: var(--page);
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  background: var(--nb);
}
.notch::before, .notch::after { content: ""; position: absolute; width: var(--nr); height: var(--nr); pointer-events: none; }

.notch--tl { top: 0; left: 0; border-bottom-right-radius: var(--nr); }
.notch--tl::before { top: 0; left: 100%; background: radial-gradient(circle at 100% 100%, transparent calc(var(--nr) - .6px), var(--nb) var(--nr)); }
.notch--tl::after  { top: 100%; left: 0;  background: radial-gradient(circle at 100% 100%, transparent calc(var(--nr) - .6px), var(--nb) var(--nr)); }

.notch--tr { top: 0; right: 0; border-bottom-left-radius: var(--nr); }
.notch--tr::before { top: 0; right: 100%; background: radial-gradient(circle at 0 100%, transparent calc(var(--nr) - .6px), var(--nb) var(--nr)); }
.notch--tr::after  { top: 100%; right: 0; background: radial-gradient(circle at 0 100%, transparent calc(var(--nr) - .6px), var(--nb) var(--nr)); }

.notch--tc { top: 0; left: 50%; transform: translateX(-50%); border-radius: 0 0 var(--nr) var(--nr); }
.notch--tc::before { top: 0; right: 100%; background: radial-gradient(circle at 0 100%, transparent calc(var(--nr) - .6px), var(--nb) var(--nr)); }
.notch--tc::after  { top: 0; left: 100%;  background: radial-gradient(circle at 100% 100%, transparent calc(var(--nr) - .6px), var(--nb) var(--nr)); }

.notch--br { bottom: 0; right: 0; border-top-left-radius: var(--nr); }
.notch--br::before { bottom: 0; right: 100%; background: radial-gradient(circle at 0 0, transparent calc(var(--nr) - .6px), var(--nb) var(--nr)); }
.notch--br::after  { bottom: 100%; right: 0; background: radial-gradient(circle at 0 0, transparent calc(var(--nr) - .6px), var(--nb) var(--nr)); }

.notch--bl { bottom: 0; left: 0; border-top-right-radius: var(--nr); }
.notch--bl::before { bottom: 0; left: 100%; background: radial-gradient(circle at 100% 0, transparent calc(var(--nr) - .6px), var(--nb) var(--nr)); }
.notch--bl::after  { bottom: 100%; left: 0; background: radial-gradient(circle at 100% 0, transparent calc(var(--nr) - .6px), var(--nb) var(--nr)); }

/* Notch contents used across pages */
.tab { height: 30px; padding: 0 4px 0 14px; font-size: 12px; color: var(--ink-2); gap: 7px; white-space: nowrap; }
.tab .dot { width: 6px; height: 6px; }
.explore { height: 48px; padding: 0 22px 0 12px; font-size: 14px; font-weight: 500; color: var(--ink); }
.explore:hover .ico-circle, a:hover > .explore .ico-circle { background: var(--metal); color: var(--on-metal); }
.explore:hover .ico-circle:not(.ico-down):not(.ico-back) { transform: rotate(45deg); }
.gname { flex-direction: column; align-items: flex-start; gap: 0; padding: 14px 26px 12px 18px; font-size: 13px; color: var(--muted); }
.gname strong { font-size: 18px; font-weight: 500; color: var(--ink); letter-spacing: -0.02em; }
.garrow { padding: 8px; }
.caption { max-width: min(440px, 80%); padding: 12px 22px 10px 16px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.caption strong { display: block; font-weight: 500; color: var(--ink); }

/* ==========================================================================
   TOP NAV (lives inside the first frame of every page)
   ========================================================================== */
.brand { padding: 0 22px 0 18px; height: 46px; font-size: 22px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.brand sup, .foot-brand sup, .dock-brand sup { font-size: .45em; font-weight: 400; margin-left: 2px; vertical-align: super; }
.nav { height: 46px; padding: 0 10px; gap: 4px; }
.nav a { padding: 7px 14px; border-radius: 99px; font-size: 14px; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:hover { background: var(--card); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--card); color: var(--ink); }
.top-actions { height: 46px; padding: 0 6px 0 14px; }
.menu-btn { display: none; width: 36px; height: 36px; border-radius: 50%; background: var(--card); color: var(--ink); place-items: center; font-size: 20px; }

/* ---------- Dock: compact nav that appears after the first frame ---------- */
.dock {
  position: fixed; top: 12px; left: 50%; z-index: var(--z-dock);
  display: flex; align-items: center; gap: 6px; padding: 5px 5px 5px 18px;
  background: color-mix(in srgb, var(--page) 86%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--line); border-radius: 99px; box-shadow: 0 8px 30px rgba(0,0,0,.08);
  transform: translate(-50%, -140%); opacity: 0; visibility: hidden;
  transition: transform .5s var(--ease), opacity .3s, visibility 0s .5s;
}
.dock.is-shown { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .5s var(--ease), opacity .3s, visibility 0s; }
.dock-brand { font-size: 19px; font-weight: 600; letter-spacing: -0.03em; margin-right: 10px; }
.dock-nav { display: flex; gap: 2px; }
.dock-nav a { padding: 7px 13px; border-radius: 99px; font-size: 14px; color: var(--ink-2); transition: background .2s; }
.dock-nav a:hover, .dock-nav a[aria-current="page"] { background: var(--card); color: var(--ink); }
.dock-cta { margin-left: 6px; }
.dock .menu-btn { width: 34px; height: 34px; }

/* ==========================================================================
   HOME HERO
   ========================================================================== */
.hero { margin: var(--edge); height: calc(100svh - 2 * var(--edge)); min-height: 640px; max-height: 1040px; color: #fff; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(20,16,14,.28) 0%, rgba(20,16,14,0) 26%),
  linear-gradient(0deg, rgba(20,16,14,.55) 0%, rgba(20,16,14,0) 48%),
  linear-gradient(270deg, rgba(20,16,14,.35) 0%, rgba(20,16,14,0) 45%); }
.hero-note { position: absolute; top: clamp(88px, 13vh, 140px); right: clamp(24px, 5vw, 72px); max-width: 300px; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.92); text-wrap: pretty; }
.hero-word { position: absolute; right: clamp(24px, 5vw, 72px); bottom: clamp(150px, 24vh, 230px); text-align: right; }
.hero-word h1 { display: flex; flex-direction: column; align-items: flex-end; font-weight: inherit; }
.word { font-size: clamp(96px, 16vw, 248px); font-weight: 600; line-height: .86; }
.hero-word .cond { font-size: clamp(34px, 4.6vw, 72px); line-height: 1; margin-top: .25em; margin-right: .1em; }

.hero-cards { position: absolute; left: 18px; right: 18px; bottom: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: end; color: var(--ink); }
.hcard { background: var(--white); border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.hcard-head { width: 100%; display: flex; align-items: center; gap: 10px; padding: 14px 16px; font-size: 14px; font-weight: 500; text-align: left; }
.pm { margin-left: auto; position: relative; width: 12px; height: 12px; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; top: 5.5px; width: 12px; height: 1.4px; background: currentColor; border-radius: 1px; transition: transform .35s var(--ease); }
.pm::after { transform: rotate(90deg); }
.is-open .pm::after { transform: rotate(0); }
.hcard-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.hcard-body > div { overflow: hidden; padding: 0 16px; }
.is-open .hcard-body { grid-template-rows: 1fr; }
.is-open .hcard-body > div { padding-bottom: 16px; }
.hcard-body p { font-size: 13px; color: var(--muted); margin-bottom: 12px; }

/* ==========================================================================
   INNER PAGE TOP FRAME
   ========================================================================== */
.top { margin: var(--edge); height: clamp(560px, 78svh, 860px); color: #fff; }
.top--short { height: clamp(460px, 58svh, 620px); }
.top--case { height: calc(100svh - 2 * var(--edge)); min-height: 620px; max-height: 1000px; }
.top-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(20,16,14,.3) 0%, rgba(20,16,14,0) 28%),
  linear-gradient(0deg, rgba(20,16,14,.62) 0%, rgba(20,16,14,.1) 55%, rgba(20,16,14,0) 75%); }
.top-copy { position: absolute; left: clamp(24px, 4vw, 56px); right: clamp(24px, 4vw, 56px); bottom: clamp(28px, 4vw, 56px); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; }
.top-title { display: flex; flex-direction: column; font-size: clamp(64px, 10.5vw, 168px); font-weight: 600; line-height: .88; }
.top-title .cond { font-size: .34em; letter-spacing: -0.01em; line-height: 1; margin-top: .35em; padding-left: .05em; }
.top-lede { max-width: 340px; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.92); text-wrap: pretty; padding-bottom: 6px; }
.top .explore { z-index: 4; }
.top:has(.explore) .top-copy { bottom: clamp(70px, 6vw, 88px); }

.crumb { position: absolute; top: 70px; left: 20px; display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 5px; border-radius: 99px; background: color-mix(in srgb, var(--page) 90%, transparent); color: var(--ink); font-size: 14px; font-weight: 500; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.crumb:hover .ico-circle { background: var(--metal); color: var(--on-metal); }
.case-title { font-size: clamp(96px, 16vw, 250px); font-weight: 600; line-height: .86; }
.case-card { width: min(340px, 40%); padding: 18px; background: var(--white); color: var(--ink); border-radius: 14px; flex: none; }
.case-card p { font-size: 14px; color: var(--ink-2); margin-bottom: 14px; }

/* ==========================================================================
   HOME SECTIONS
   ========================================================================== */
.clients { margin: 0 var(--edge); background: var(--card); border-radius: var(--r-xl); padding: clamp(26px, 3vw, 38px) clamp(20px, 4vw, 64px); }
.clients ul { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 36px; color: var(--ink-2); }
.clients li { font-size: 21px; white-space: nowrap; }
.c1 { font-weight: 600; letter-spacing: -0.03em; }
.c2 { font-weight: 800; letter-spacing: .18em; font-size: 17px !important; }
.c3 { font-family: var(--display); font-weight: 500; font-size: 23px !important; text-transform: uppercase; }
.c4 { font-weight: 300; letter-spacing: .02em; }
.c5 { font-weight: 700; letter-spacing: -0.04em; }
.c6 { font-weight: 500; text-transform: uppercase; letter-spacing: .06em; font-size: 16px !important; }

.about, .split { display: grid; grid-template-columns: minmax(150px, 1fr) 3fr; gap: 32px; align-items: start; }
.about { padding-block: clamp(96px, 12vw, 168px) clamp(56px, 7vw, 96px); }
.about .chip, .split > .chip { margin-top: .5em; }
.split--head { margin-bottom: clamp(36px, 4vw, 56px); }
.split--head .chip { margin-top: .6em; }

.services { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.scard { position: relative; overflow: hidden; display: grid; grid-template-columns: clamp(110px, 12vw, 150px) 1fr; gap: clamp(18px, 2vw, 28px); padding: clamp(16px, 1.6vw, 22px); padding-right: clamp(20px, 2.4vw, 36px); background: var(--card); border-radius: var(--r-lg); }
.scard > div { padding-top: 26px; }
.scard-img { aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; }
.scard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.scard:hover .scard-img img { transform: scale(1.05); }
.scard h3 { font-size: clamp(20px, 1.7vw, 25px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 10px; }
.scard p { font-size: 14px; color: var(--muted); margin-bottom: 16px; max-width: 46ch; }

.work { padding-top: clamp(110px, 13vw, 190px); }
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 3.5vw, 48px); }
.case { margin: 0 var(--edge); aspect-ratio: 16 / 8.2; min-height: 520px; color: #fff; }
.case-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(18,14,12,.5) 0%, rgba(18,14,12,0) 50%), linear-gradient(180deg, rgba(18,14,12,.25), rgba(18,14,12,0) 25%); }
.case-name { height: 44px; padding: 0 22px 0 18px; font-size: 14px; font-weight: 500; color: var(--ink); }
.case-mark { position: absolute; top: 24px; right: 28px; font-size: 13px; font-weight: 700; letter-spacing: .32em; }
.case-word { position: absolute; left: clamp(24px, 4vw, 56px); bottom: clamp(18px, 3vw, 40px); font-size: clamp(80px, 13vw, 200px); font-weight: 400; letter-spacing: -0.06em; line-height: .8; }
.case .case-card { position: absolute; right: clamp(20px, 3vw, 40px); bottom: 84px; width: min(330px, 40%); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 12px var(--edge) 0; }
.fact { background: var(--card); border-radius: var(--r-lg); padding: 18px 20px 26px; }
.fact p { margin-top: 20px; font-size: 14px; color: var(--muted); max-width: 44ch; }

.quote { display: grid; grid-template-columns: minmax(150px, 1fr) 3fr; gap: 32px; padding-block: clamp(80px, 10vw, 140px); align-items: start; }
.quote .chip { margin-top: .4em; }
.quote blockquote p { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.28; letter-spacing: -0.02em; max-width: 30ch; text-wrap: pretty; }

.gallery { margin-inline: var(--edge); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gcard { aspect-ratio: 4 / 4.4; display: block; }
.gcard--wide { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
.gcard > img, .wcard-img > img, .sector-img > img { transition: transform 1.1s var(--ease); }
.gcard:hover > img, .wcard:hover .wcard-img > img, .sector-img:hover > img { transform: scale(1.04); }
.gcard:hover .garrow .ico-circle, .wcard:hover .garrow .ico-circle { transform: rotate(45deg); background: var(--metal); color: var(--on-metal); }

.process { padding-block: clamp(110px, 13vw, 190px) clamp(80px, 9vw, 130px); }
.process-head { display: grid; grid-template-columns: minmax(150px, 1fr) 3fr; gap: 32px; margin-bottom: clamp(36px, 4vw, 56px); }
.process-head .chip { margin-top: .6em; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.step, .disc, .principle, .result { position: relative; overflow: hidden; background: var(--card); border-radius: var(--r-lg); }
.step { padding: 64px 22px 26px; min-height: 230px; }
.step h3 { font-size: 24px; font-weight: 400; letter-spacing: -0.02em; margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--muted); }
.step .tab, .disc .tab, .principle .tab, .result .tab { padding-right: 14px; }

/* ==========================================================================
   CTA (shared, from {{cta:...}})
   ========================================================================== */
.cta { margin: clamp(80px, 9vw, 130px) var(--edge) 0; min-height: clamp(460px, 62vh, 640px); color: #fff; display: grid; place-items: center; text-align: center; padding: 90px 24px 110px; }
.process + .cta, .contact + .cta { margin-top: 0; }
.cta > img { object-position: 50% 40%; }
.cta-shade { position: absolute; inset: 0; z-index: -1; background: rgba(18,14,12,.5); }
.cta-tab { height: 40px; padding: 0 22px; font-size: 13px; color: var(--ink-2); gap: 8px; }
.cta-copy { display: grid; justify-items: center; gap: 22px; }
.cta-title { font-size: clamp(38px, 5.6vw, 84px); font-weight: 400; letter-spacing: -0.045em; line-height: 1.02; max-width: 14ch; text-wrap: balance; }
.cta-note { max-width: 42ch; font-size: 16px; color: rgba(255,255,255,.88); }
.cta-go { padding: 10px 10px 8px 14px; }

/* ==========================================================================
   WORK PAGE
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px 0 16px; border-radius: 99px; background: var(--card); font-size: 14px; color: var(--ink-2); transition: background .2s, color .2s; }
.filter:hover { background: var(--line); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.count { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 99px; background: var(--white); color: var(--ink-2); font-size: 12px; }
.filter[aria-pressed="true"] .count { background: color-mix(in srgb, var(--on-ink) 16%, transparent); color: var(--on-ink); }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 12px; }
.wcard { display: block; }
.wcard--wide { grid-column: 1 / -1; }
.wcard[hidden] { display: none; }
.wcard-img { aspect-ratio: 4 / 4.2; }
.wcard--wide .wcard-img { aspect-ratio: 16 / 7; }
.wcard-line { margin: 12px 8px 0; font-size: 15px; color: var(--ink-2); }
.work-empty { padding: 40px 8px; font-size: 18px; }
.work-empty a { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   PROJECT PAGE
   ========================================================================== */
.meta-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.meta-row--stats { grid-template-columns: repeat(4, 1fr); }
.meta { background: var(--card); border-radius: var(--r-lg); padding: 18px 20px 20px; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; }
.meta dt { font-size: 13px; color: var(--muted); }
.meta dd { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.meta-row--stats .meta { flex-direction: column-reverse; justify-content: flex-start; }
.meta-row--stats dd { font-size: clamp(34px, 3.6vw, 52px); font-weight: 400; letter-spacing: -0.04em; line-height: 1; }
.prose { display: grid; gap: 22px; }
.prose > p:not(.statement) { font-size: 17px; color: var(--ink-2); max-width: 62ch; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: clamp(64px, 8vw, 110px); }
.pair--alt { grid-template-columns: 1.6fr 1fr; }
.pair-img { aspect-ratio: 4 / 4.6; }
.pair--alt .pair-img { aspect-ratio: auto; min-height: clamp(380px, 46vw, 680px); }
.band-img { margin: clamp(64px, 8vw, 110px) var(--edge) 0; aspect-ratio: 21 / 9; min-height: 360px; }
.band-img--tall { aspect-ratio: 16 / 8; }
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.result { padding: 60px 22px 24px; }
.result strong { display: block; font-size: clamp(56px, 6vw, 92px); font-weight: 400; letter-spacing: -0.05em; line-height: 1; margin-bottom: 14px; }
.result p { font-size: 14px; color: var(--muted); max-width: 30ch; }
.next { display: block; margin: 0 var(--edge); height: clamp(420px, 60vh, 640px); color: #fff; }
.next-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(18,14,12,.55), rgba(18,14,12,.05) 60%); }
.next-tab { height: 44px; padding: 0 22px 0 18px; font-size: 14px; color: var(--ink-2); gap: 8px; }
.next-word { position: absolute; left: clamp(24px, 4vw, 56px); bottom: clamp(90px, 9vw, 130px); font-size: clamp(80px, 13vw, 200px); letter-spacing: -0.06em; line-height: .8; }
.next-line { position: absolute; left: clamp(26px, 4vw, 60px); bottom: clamp(26px, 3vw, 36px); font-size: 15px; color: rgba(255,255,255,.9); max-width: calc(100% - 260px); }
.next:hover > img { transform: scale(1.03); }
.next > img { transition: transform 1.2s var(--ease); }
.next:hover .explore .ico-circle { transform: rotate(45deg); background: var(--metal); color: var(--on-metal); }

/* ==========================================================================
   EXPERTISE PAGE
   ========================================================================== */
.disc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.disc { padding: 64px 24px 28px; }
.disc h3, .principle h3 { font-size: clamp(24px, 2vw, 30px); font-weight: 400; letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 14px; }
.disc p, .principle p { font-size: 15px; color: var(--muted); }
.sectors-sec { padding-top: clamp(110px, 13vw, 190px); }
.sectors-layout { display: grid; grid-template-columns: minmax(200px, 1fr) 3fr; gap: 32px; align-items: start; margin-top: clamp(36px, 4vw, 56px); }
.sector-index { position: sticky; top: 90px; display: grid; gap: 4px; padding: 10px; background: var(--card); border-radius: var(--r-lg); }
.sector-index a { padding: 9px 14px; border-radius: 12px; font-size: 14px; color: var(--ink-2); transition: background .2s, color .2s; }
.sector-index a:hover { background: var(--white); }
.sector-index a.is-current { background: var(--ink); color: var(--on-ink); }
.sector-blocks { display: grid; gap: clamp(56px, 7vw, 96px); }
.sector-img { aspect-ratio: 16 / 10; margin-bottom: 22px; }
.sector h3 { font-size: clamp(30px, 3.2vw, 46px); font-weight: 400; letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 12px; }
.sector p { font-size: 16px; color: var(--ink-2); max-width: 60ch; }

/* ==========================================================================
   STUDIO PAGE
   ========================================================================== */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.principles--4 { grid-template-columns: repeat(4, 1fr); }

/* Full list of sites on the work page */
.olist-group { margin-top: clamp(28px, 3.5vw, 48px); }
.olist-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 400; letter-spacing: -0.02em; margin-bottom: 14px; }
.olist-title span { font-size: 14px; letter-spacing: 0; color: var(--muted); }
.olist { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(20px, 3vw, 40px); border-top: 1px solid var(--line); }
.olist li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.olist strong { font-size: 16px; font-weight: 500; }
.olist span { font-size: 13px; color: var(--muted); text-align: right; }
.principle { padding: 64px 24px 28px; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.team li { display: grid; gap: 2px; padding: 18px 20px 20px; background: var(--card); border-radius: var(--r-lg); }
.avatar--lg { width: 48px; height: 48px; margin: 0 0 22px; font-size: 14px; }
.team li:nth-child(3n+2) .avatar--lg { background: var(--ink); color: var(--on-ink); }
.team li:nth-child(3n) .avatar--lg { background: var(--muted); }
.team strong { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.team span:last-child { font-size: 13px; color: var(--muted); }
.careers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: stretch; }
.careers-img { min-height: clamp(420px, 50vw, 720px); }
.careers-copy { display: flex; flex-direction: column; gap: 22px; padding: clamp(28px, 4vw, 64px); background: var(--card); border-radius: var(--r-xl); }
.careers-copy > p { font-size: 16px; color: var(--ink-2); max-width: 52ch; }
.jobs { display: grid; gap: 8px; margin-top: auto; }
.jobs a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 16px 16px 20px; background: var(--white); border-radius: 14px; font-size: 13px; color: var(--muted); transition: transform .3s var(--ease); }
.jobs a strong { display: block; font-size: 16px; font-weight: 500; color: var(--ink); }
.jobs a:hover { transform: translateX(4px); }
.jobs a:hover .ico-circle { background: var(--metal); color: var(--on-metal); transform: rotate(45deg); }

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact { display: grid; grid-template-columns: 1.7fr 1fr; gap: 12px; align-items: start; padding-top: 0; }
.contact-card { position: relative; overflow: hidden; background: var(--card); border-radius: var(--r-xl); padding: clamp(56px, 5vw, 72px) clamp(22px, 4vw, 56px) clamp(28px, 4vw, 52px); }
.contact-h { font-size: clamp(30px, 3.2vw, 46px); font-weight: 400; letter-spacing: -0.035em; line-height: 1.05; margin-bottom: clamp(28px, 3vw, 40px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
.field { display: grid; gap: 7px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; }
.field .opt { font-weight: 400; color: var(--muted); }
.input, .select, .textarea { width: 100%; min-height: 50px; padding: 12px 16px; font: inherit; font-size: 16px; color: var(--ink); background: var(--white); border: 1px solid transparent; border-radius: 14px; appearance: none; transition: border-color .2s, box-shadow .2s; }
.textarea { min-height: 150px; resize: vertical; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--line); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.select-wrap { position: relative; }
.select-wrap .ico { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.select { padding-right: 44px; cursor: pointer; }
.hint { font-size: 13px; color: var(--muted); }
.error-msg { font-size: 13px; font-weight: 500; color: var(--error); }
.error-msg:empty { display: none; }
[aria-invalid="true"] { border-color: var(--error); }
[aria-invalid="true"]:focus { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px !important; font-weight: 400 !important; color: var(--ink-2); }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 26px; }
.form-status { font-size: 14px; color: var(--error); }
.form-success { padding: 24px 0 8px; outline: none; }
.form-success h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 400; letter-spacing: -0.03em; margin-bottom: 10px; }
.form-success p { color: var(--ink-2); max-width: 46ch; }
.contact-aside { display: grid; gap: 12px; }
.cinfo { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; padding: 18px 16px 18px 20px; background: var(--card); border-radius: var(--r-lg); }
.cinfo .foot-label { grid-column: 1; margin: 0; }
.cinfo strong { grid-column: 1; font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.cinfo .ico-circle { grid-column: 2; grid-row: 1 / 3; }
.cinfo:hover .ico-circle { background: var(--metal); color: var(--on-metal); transform: rotate(45deg); }
.contact-img { aspect-ratio: 4 / 4.6; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.foot { padding-block: clamp(64px, 8vw, 110px) 28px; }
.foot-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px 32px; }
.foot-lead p { margin-top: 18px; max-width: 30ch; font-size: 14px; color: var(--muted); }
.foot-brand { display: inline-block; font-size: clamp(64px, 9vw, 130px); font-weight: 500; letter-spacing: -0.065em; line-height: .8; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; font-size: 15px; }
.foot-cols a, .foot-cols address { display: block; color: var(--ink-2); padding-block: 3px; }
.foot-cols a:hover { color: var(--accent); }
.foot-label { font-size: 13px; font-weight: 400; color: var(--muted); margin-bottom: 10px; }
.foot-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot-bottom a { margin-left: 18px; }
.foot-bottom a:hover { color: var(--ink); }

/* ==========================================================================
   MENU (full-screen panel, all screen sizes below 861px)
   ========================================================================== */
.menu { position: fixed; inset: 0; z-index: var(--z-menu); padding: var(--edge); background: rgba(23,23,26,.35); }
.menu[hidden] { display: none; }
.menu-panel { position: relative; height: 100%; background: var(--card); display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr auto; gap: 12px; padding: 76px 12px 12px 12px; }
.menu-panel .notch { --nb: var(--page); }
.menu-close-tab { height: 46px; padding: 0 6px 0 14px; }
.menu-close { display: grid; }
.menu-nav { display: flex; flex-direction: column; justify-content: center; padding: 0 clamp(8px, 3vw, 40px); }
.menu-nav a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.menu-nav a span { font-size: clamp(40px, 6vw, 76px); font-weight: 400; letter-spacing: -0.045em; line-height: 1.02; transition: transform .4s var(--ease), color .2s; }
.menu-nav a em { font-size: clamp(15px, 1.4vw, 20px); color: var(--muted); white-space: nowrap; }
.menu-nav a:hover span, .menu-nav a:focus-visible span { transform: translateX(8px); color: var(--accent); }
.menu-nav a[aria-current="page"] span::after { content: ""; display: inline-block; width: 10px; height: 10px; margin-left: 12px; border-radius: 50%; background: var(--metal); vertical-align: middle; }
.menu-visual { grid-row: 1 / 3; grid-column: 2; }
.menu-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--ease), transform 1.2s var(--ease); transform: scale(1.06); }
.menu-visual img.is-active { opacity: 1; transform: none; }
.menu-foot { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 14px clamp(8px, 3vw, 40px); font-size: 14px; color: var(--ink-2); }
.menu-foot a:hover { color: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .menu:not([hidden]) .menu-panel { animation: panel-in .55s var(--ease) both; }
  .menu:not([hidden]) .menu-nav a { animation: rise .7s var(--ease) both; }
  .menu-nav a:nth-child(2) { animation-delay: .04s !important; }
  .menu-nav a:nth-child(3) { animation-delay: .08s !important; }
  .menu-nav a:nth-child(4) { animation-delay: .12s !important; }
  .menu-nav a:nth-child(5) { animation-delay: .16s !important; }
  @keyframes panel-in { from { opacity: 0; transform: translateY(-14px) scale(.985); } }
}

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  .hero > img, .top > img { animation: settle 1.8s var(--ease) both; }
  .hero-word, .hero-note, .top-copy { animation: rise 1.2s .25s var(--ease) both; }
  .hero-cards { animation: rise 1.2s .45s var(--ease) both; }
  @keyframes settle { from { transform: scale(1.08); } }
  @keyframes rise { from { opacity: 0; transform: translateY(26px); } }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .meta-row { grid-template-columns: repeat(3, 1fr); }
  .dock-nav a { padding: 7px 10px; }
}
@media (max-width: 1080px) {
  .hero-cards { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .disc-grid, .principles { grid-template-columns: 1fr 1fr; }
  .olist { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(3, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .contact-aside { grid-template-columns: 1fr 1fr; }
  .contact-img { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}
@media (max-width: 860px) {
  .nav, .start, .dock-nav, .dock-cta { display: none; }
  .menu-btn { display: grid; }
  .dock { left: auto; right: 12px; transform: translateY(-140%); padding-left: 16px; gap: 10px; }
  .dock.is-shown { transform: none; }
  .top-actions { padding: 0 6px 0 10px; }
  .about, .quote, .process-head, .split, .foot-grid, .sectors-layout { grid-template-columns: 1fr; gap: 20px; }
  .facts, .results { grid-template-columns: 1fr; }
  .case { aspect-ratio: auto; min-height: 640px; }
  .case .case-card { left: 20px; right: 20px; width: auto; bottom: auto; top: 76px; }
  .case-word { bottom: 74px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .top-copy { flex-direction: column; align-items: flex-start; }
  .top-lede { max-width: 46ch; }
  .top--case .top-copy { gap: 20px; }
  .case-card { width: 100%; max-width: 420px; }
  .sector-index { position: static; display: flex; flex-wrap: wrap; background: none; padding: 0; gap: 6px; }
  .sector-index a { background: var(--card); border-radius: 99px; }
  .pair, .pair--alt, .careers { grid-template-columns: 1fr; }
  .pair--alt .pair-img { min-height: 0; aspect-ratio: 4 / 3; }
  .menu-panel { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; }
  .menu-visual { grid-row: 1; grid-column: 1; height: 26svh; min-height: 150px; }
  .menu-nav { justify-content: flex-start; }
  .next-line { max-width: none; right: 24px; bottom: 76px; }
  .next-word { bottom: 120px; }
}
@media (max-width: 600px) {
  :root { --gutter: 20px; }
  .hero { min-height: 740px; }
  .hero-shade { background: linear-gradient(180deg, rgba(20,16,14,.6) 0%, rgba(20,16,14,0) 30%), linear-gradient(0deg, rgba(20,16,14,.6) 0%, rgba(20,16,14,0) 60%); }
  .hero-note { left: 22px; right: 22px; top: 74px; max-width: none; font-size: 14px; }
  .hero-word { right: 22px; bottom: 340px; }
  .hero-cards { left: 10px; right: 10px; bottom: 10px; grid-template-columns: 1fr; gap: 6px; }
  .hcard-head { padding: 12px 14px; }
  .top { height: auto; min-height: 600px; }
  .top--short { min-height: 520px; }
  .top--case { min-height: 700px; }
  .top-copy { left: 20px; right: 20px; bottom: 24px; }
  .top:has(.explore) .top-copy { bottom: 72px; }
  .top-title { font-size: clamp(56px, 17vw, 84px); }
  .top-title .cond { font-size: .42em; }
  .crumb { top: 64px; left: 12px; }
  .scard { grid-template-columns: 1fr; padding-top: 42px; }
  .scard-img { aspect-ratio: 16 / 10; }
  .scard > div { padding-top: 0; }
  .gallery, .work-grid { grid-template-columns: 1fr; }
  .gcard, .gcard--wide, .wcard-img, .wcard--wide .wcard-img { aspect-ratio: 4 / 4.4; }
  .steps, .disc-grid, .principles, .meta-row, .meta-row--stats { grid-template-columns: 1fr 1fr; }
  .disc-grid, .principles, .steps { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team strong { font-size: 15px; overflow-wrap: anywhere; hyphens: auto; }
  .step { min-height: 0; }
  .work-head { flex-direction: column; align-items: flex-start; }
  .clients ul { justify-content: center; gap: 14px 26px; }
  .clients li { font-size: 18px; }
  .case-word { font-size: 84px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-aside { grid-template-columns: 1fr; }
  .contact-img { aspect-ratio: 4 / 4; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--edge)); padding-inline: var(--edge); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .band-img, .band-img--tall { aspect-ratio: 4 / 3; min-height: 0; }
  .caption { max-width: 88%; font-size: 12px; }
  .meta dd { font-size: 15px; }
  .foot-bottom a { margin: 0 18px 0 0; }
  .next-word { font-size: 76px; }
  .menu-nav a span { font-size: 40px; }
  .menu-nav a em { display: none; }
}

/* First section right after a page's top frame sits closer to it. */
.top + .page-sec { padding-top: clamp(40px, 5vw, 72px); }

/* ==========================================================================
   TYPE: Unbounded for display text (wide, so sizes are smaller than a
   condensed face would need), sentence case; only the BSG wordmark is caps.
   ========================================================================== */
.h-xl, .h-lg, .statement, .word, .top-title, .case-title, .case-word, .cta-title, .next-word,
.result strong, .meta-row--stats dd, .scard h3, .step h3, .disc h3, .principle h3, .sector h3,
.contact-h, .form-success h2, .foot-brand, .brand, .dock-brand, .menu-nav a span, .olist-title,
.gname strong, .clients li, .hcard-head, .case-name, .next-tab, .hero-word h1 { font-family: var(--display); letter-spacing: -0.01em; text-transform: none; font-feature-settings: "locl" 0; }
.word, .foot-brand, .brand, .dock-brand, .case-mark { text-transform: uppercase; }
.h-xl { font-size: clamp(36px, 5.4vw, 80px); font-weight: 600; line-height: 1; }
.h-lg { font-size: clamp(25px, 2.8vw, 40px); font-weight: 600; line-height: 1.12; max-width: 22ch; }
.statement { font-size: clamp(21px, 2.3vw, 33px); font-weight: 400; line-height: 1.3; max-width: 30ch; }
.statement--sm { font-size: clamp(19px, 1.9vw, 27px); max-width: 32ch; }
.statement .cond { font-weight: 600; }
.word { font-size: clamp(76px, 12vw, 190px); font-weight: 700; letter-spacing: -0.02em; line-height: .9; }
.top-title { font-size: clamp(40px, 7vw, 110px); font-weight: 700; line-height: .95; }
.case-title { font-size: clamp(40px, 10vw, 160px); font-weight: 700; line-height: .95; }
.case-word, .next-word { font-size: clamp(34px, 7vw, 116px); font-weight: 700; letter-spacing: -0.02em; line-height: .95; }
.cta-title { font-size: clamp(27px, 3.8vw, 56px); font-weight: 600; line-height: 1.08; max-width: 18ch; }
.result strong { font-size: clamp(34px, 3.8vw, 60px); font-weight: 600; }
.meta-row--stats dd { font-size: clamp(25px, 2.6vw, 38px); font-weight: 600; }
.sector h3, .contact-h { font-size: clamp(23px, 2.3vw, 33px); font-weight: 600; }
.form-success h2 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; }
.disc h3, .principle h3 { font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; }
.scard h3, .step h3 { font-size: clamp(16px, 1.3vw, 19px); font-weight: 600; }
.olist-title { font-size: clamp(17px, 1.6vw, 22px); font-weight: 600; }
.menu-nav a span { font-size: clamp(28px, 4.4vw, 56px); font-weight: 600; }
.hcard-head, .case-name, .next-tab { text-transform: uppercase; letter-spacing: .04em; font-size: 11.5px; font-weight: 500; }
.gname strong { font-weight: 600; font-size: .92em; }
.brand { font-size: 19px; font-weight: 700; }
.dock-brand { font-size: 16px; font-weight: 700; }
.foot-brand { font-size: clamp(48px, 6.5vw, 96px); font-weight: 700; letter-spacing: -0.02em; line-height: .9; }
.top-title .cond { font-size: .26em; font-weight: 400; letter-spacing: .02em; }
.menu-nav a em { font-family: var(--sans); color: var(--muted); }
@media (max-width: 640px) { .top-title { font-size: clamp(36px, 11vw, 56px); } }

.chip, .tab, .tags li, .filter { letter-spacing: .01em; }

/* ---------- Theme toggle ---------- */
.theme-btn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--card); color: var(--ink); font-size: 18px; flex: none; transition: background .2s, color .2s; }
.theme-btn:hover { color: var(--accent); }
.dock .theme-btn { width: 34px; height: 34px; }
.theme-btn .ico:last-child { display: none; }
:root[data-theme="dark"] .theme-btn .ico:first-child { display: none; }
:root[data-theme="dark"] .theme-btn .ico:last-child { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .ico:first-child { display: none; }
  :root:not([data-theme="light"]) .theme-btn .ico:last-child { display: block; }
}
.top-actions { gap: 8px; }
.menu-foot .theme-btn { margin-left: auto; }
.hero-word h1 { font-family: var(--display); }
.hero-word .cond { text-transform: uppercase; font-size: clamp(12px, 1.05vw, 16px) !important; }

/* On photos the highlight words stay white. */
.hero .cond, .top .cond, .case .cond, .cta .cond, .next .cond { background: none; -webkit-text-fill-color: currentColor; color: rgba(255,255,255,.88); }
/* Hero tagline: a small spaced line under the wordmark, not a second headline. */
.hero-word .cond { font-size: clamp(15px, 1.35vw, 21px); font-weight: 400; line-height: 1.35; letter-spacing: .08em; margin-top: 1.1em; margin-right: .2em; text-align: right; }

/* Hero art direction: the wide photo on landscape screens, the tall original on portrait phones. */
.hero > img + img { display: none; }
@media (orientation: portrait) and (max-width: 860px) {
  .hero > img:first-of-type { display: none; }
  .hero > img + img { display: block; }
}

