/* =====================================================================
   Occupy Innovations — public website
   ===================================================================== */
/* Colours come from the admin (Site content → Colours) as --l-* (light) and --d-* (dark). */
:root {
  --bg: var(--l-bg, #ffffff);
  --ink: var(--l-ink, #0a0a0a);
  --accent: var(--l-accent, #FF8400);
  --dark: var(--l-dark, #1a1a1a);
  --muted: color-mix(in srgb, var(--ink) 54%, var(--bg));
  --mark: #333333;
  --on-accent: #ffffff;
  color-scheme: light;
  --line: color-mix(in srgb, var(--ink) 12%, transparent);
  --brand-font: "Montserrat", "Inter Tight", sans-serif;
  --gutter: clamp(16px, 2.2vw, 32px);
  --nav-h: 72px;
  --ease: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --fs-display: clamp(36px, 14.2vw, 290px);
  --fs-h1: clamp(38px, 11vw, 200px);
  --fs-h2: clamp(34px, 6vw, 104px);
  --fs-lead: clamp(22px, 3vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root[data-theme="dark"] {
  --bg: var(--d-bg, #0C0C0C);
  --ink: var(--d-ink, #F2F0EB);
  --accent: var(--d-accent, #FF8A1F);
  --dark: var(--d-dark, #1B1B1B);
  --muted: color-mix(in srgb, var(--ink) 56%, var(--bg));
  --line: color-mix(in srgb, var(--ink) 14%, transparent);
  --mark: var(--ink);
  --on-accent: #111111;
  color-scheme: dark;
}
html { -webkit-text-size-adjust: 100%; background: var(--bg); overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip; /* no sideways wiggle on phones, keeps sticky headers working */
  -webkit-tap-highlight-color: transparent;
  font-variant-emoji: text; /* ask phones to draw symbols as text, not emoji */
  text-rendering: optimizeLegibility;
}
a, button, summary, label { touch-action: manipulation; }

/* Inline SVG icons (used instead of arrow/star characters) */
.ic { display: inline-block; width: .85em; height: .85em; vertical-align: -.08em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; overflow: visible; }
.ic--thin { stroke-width: 1.15; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--on-accent); }
[hidden] { display: none !important; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.label { font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); }

/* ---------- Loader (first visit on home) ---------- */
.loader {
  position: fixed; inset: 0; z-index: 120; display: none;
  background: var(--dark); color: #fff;
  flex-direction: column; justify-content: flex-end;
  padding: var(--gutter); padding-bottom: max(var(--gutter), env(safe-area-inset-bottom));
  transition: transform 1s var(--ease);
}
.show-loader .loader { display: flex; }
.show-loader body { overflow: hidden; }
.loader__mark { position: absolute; top: var(--gutter); left: var(--gutter); width: 44px; height: auto; }
.loader__count { font-size: clamp(80px, 18vw, 260px); font-weight: 500; line-height: 0.8; letter-spacing: -0.05em; }
.loader__count::after { content: "%"; font-size: 0.3em; vertical-align: top; margin-left: 0.1em; }
.loader__bar { margin-top: 24px; height: 1px; background: rgba(255,255,255,.2); }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--accent); }
.loader.is-done { transform: translateY(-100%); }

/* ---------- Page transition curtain ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 110; pointer-events: none;
  background: var(--dark); display: grid; place-items: center;
  transform: translateY(100%);
}
.curtain__mark { width: 56px; opacity: 0; transition: opacity .3s; }
.curtain.is-in { transform: translateY(0); transition: transform .6s var(--ease); pointer-events: auto; }
.curtain.is-in .curtain__mark { opacity: 1; transition-delay: .25s; }
.t-in .curtain { transform: translateY(0); }
.t-in .curtain .curtain__mark { opacity: 1; }
.curtain.is-out { transform: translateY(-100%); transition: transform .8s var(--ease); }
.curtain.is-out .curtain__mark { opacity: 0; }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 130; pointer-events: none;
  width: 12px; height: 12px; border-radius: 50%;
  display: none; place-items: center;
  background: #fff; mix-blend-mode: difference;
  transition: width .4s var(--ease-out), height .4s var(--ease-out), background .3s;
}
.has-cursor .cursor { display: grid; }
.cursor__label { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; color: #fff; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-hover { width: 48px; height: 48px; }
.cursor.is-view { width: 96px; height: 96px; mix-blend-mode: normal; background: var(--accent); }
.cursor.is-view .cursor__label { opacity: 1; color: var(--on-accent); }
.has-cursor [data-cursor] { cursor: none; }

/* ---------- Announcement ---------- */
.announce {
  position: relative; z-index: 60; background: var(--accent); color: var(--on-accent);
  text-align: center; font-size: 14px; font-weight: 500; padding: 10px var(--gutter);
  padding-top: max(10px, env(safe-area-inset-top));
}
.announce a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 20px var(--gutter); padding-top: max(20px, env(safe-area-inset-top));
  color: var(--ink); font-size: 14px;
  transition: background .4s, padding .4s var(--ease-out), box-shadow .4s, transform .5s var(--ease), color .3s, top .3s;
}
.has-announce .nav { top: var(--announce-h, 0px); }
.nav.is-scrolled { background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: max(12px, env(safe-area-inset-top)); padding-bottom: 12px; box-shadow: 0 1px 0 var(--line); top: 0; }
.nav.is-hidden { transform: translateY(-110%); }
.menu-open .nav { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }

.logo { display: inline-flex; align-items: center; gap: 8px; line-height: 1; justify-self: start; }
.logo__text { display: flex; flex-direction: column; align-items: flex-start; }
.logo__word { font-family: var(--brand-font); font-weight: 800; font-size: 24px; letter-spacing: 0.02em; color: var(--accent); }
.logo__sub { font-family: var(--brand-font); font-weight: 500; font-size: 7.2px; letter-spacing: 0.52em; text-transform: uppercase; margin-top: 3px; opacity: .7; }
.logo__mark { width: 26px; height: auto; color: var(--mark); }
.menu-open .logo__mark { color: #fff; }

.nav__links { display: flex; gap: 30px; }
.nav__links a, .footer a, .cta__email { position: relative; }
.nav__links a::after, .footer a::after, .cta__email::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-active::after, .footer a:hover::after, .cta__email:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__end { justify-self: end; display: flex; align-items: center; gap: 14px; }
.nav__meta { display: flex; align-items: center; gap: 20px; font-variant-numeric: tabular-nums; }

/* Sun / moon switch */
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: inherit; transition: background .3s; flex: none; }
.theme-toggle:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.theme-toggle svg { width: 20px; height: 20px; overflow: visible; }
.theme-toggle__core { fill: currentColor; transition: r .5s var(--ease-out); }
.theme-toggle__cut { transition: cx .5s var(--ease-out), cy .5s var(--ease-out); }
.theme-toggle__rays { stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; transform-origin: 12px 12px; transition: transform .5s var(--ease-out), opacity .3s; }
[data-theme="dark"] .theme-toggle__core { r: 9px; }
[data-theme="dark"] .theme-toggle__cut { cx: 17px; cy: 7px; }
[data-theme="dark"] .theme-toggle__rays { transform: rotate(90deg) scale(.4); opacity: 0; }
.menu-open .theme-toggle { color: #fff; }

/* Circular reveal when switching modes (browsers with View Transitions) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: theme-reveal .7s var(--ease) both; }
@keyframes theme-reveal { from { clip-path: circle(0 at var(--tx, 50%) var(--ty, 0%)); } to { clip-path: circle(150% at var(--tx, 50%) var(--ty, 0%)); } }
html.theme-fade, html.theme-fade * { transition: background-color .5s, color .5s, border-color .5s !important; }
.nav__time { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.nav__login { border: 1px solid currentColor; border-radius: 99px; padding: 7px 14px; transition: background .3s, color .3s, border-color .3s; }
.nav__login:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .3; } }

.nav__menu { display: none; width: 44px; height: 44px; position: relative; justify-self: end; margin-right: -10px; }
.nav__menu span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.nav__menu span:first-child { top: 18px; }
.nav__menu span:last-child { bottom: 18px; }
.nav__menu[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__menu[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 65; background: var(--dark); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 40px) var(--gutter) max(28px, env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease), visibility 0s .8s; visibility: hidden;
  overflow-y: auto; overscroll-behavior: contain;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease); }
.mobile-menu__links { display: flex; flex-direction: column; }
.mobile-menu__links a {
  font-size: clamp(44px, 13vw, 96px); font-weight: 500; letter-spacing: -0.05em; line-height: 1.05;
  display: flex; align-items: baseline; gap: 12px; overflow: hidden; padding: 2px 0;
}
.mobile-menu__links a span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease-out); }
.mobile-menu__links a sup { font-size: 13px; letter-spacing: 0; color: var(--accent); font-weight: 500; opacity: 0; transition: opacity .6s .4s; }
.mobile-menu.is-open a span { transform: none; }
.mobile-menu.is-open a sup { opacity: 1; }
.mobile-menu__links a.is-active span { color: var(--accent); }
.mobile-menu__foot { display: grid; gap: 16px; font-size: 16px; color: #aaa; margin-top: 40px; }
.mobile-menu__foot .row { display: flex; gap: 18px; flex-wrap: wrap; }
.mobile-menu__foot a:hover { color: #fff; }
.mobile-menu__login { display: inline-flex; justify-self: start; color: var(--on-accent); background: var(--accent); border-radius: 99px; padding: 12px 20px; font-weight: 500; }
body.menu-open { overflow: hidden; }

/* ---------- Split text / reveals ---------- */
.split { display: inline-block; white-space: nowrap; }
.split .char { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease-out); }
.split-wrap { display: block; overflow: hidden; padding-bottom: .04em; }
.is-ready .split .char, .split.in .char { transform: translateY(0); }

.words .wd { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.words .wd > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease-out); }
.words.in .wd > span { transform: none; }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.clip { clip-path: inset(10% 6% 10% 6%); transition: clip-path 1.4s var(--ease); overflow: hidden; }
.clip > * { transform: scale(1.15); transition: transform 1.6s var(--ease); }
.clip.in { clip-path: inset(0 0 0 0); }
.clip.in > * { transform: scale(1); }

/* ---------- Media + generated artwork ---------- */
.frame { position: relative; overflow: hidden; background: var(--pbg, color-mix(in srgb, var(--ink) 8%, var(--bg))); color: var(--fg, #111); }
.frame > img, .frame > video, .frame > div > img, .frame > div > video { width: 100%; height: 100%; object-fit: cover; }
.frame .plx { position: absolute; left: 0; right: 0; top: -8%; height: 116%; will-change: transform; }
.frame .plx > img, .frame .plx > video { width: 100%; height: 100%; object-fit: cover; }
.art { position: absolute; inset: 0; display: grid; place-items: center; }
.art b { position: relative; z-index: 2; font-weight: 500; letter-spacing: -0.04em; font-size: clamp(22px, 3vw, 48px); }
.art--rings span { position: absolute; border: 1.5px solid var(--fg); border-radius: 50%; animation: spin 18s linear infinite; }
.art--rings span:nth-child(1) { width: 30%; aspect-ratio: 1; }
.art--rings span:nth-child(2) { width: 50%; aspect-ratio: 1; border-style: dashed; animation-duration: 30s; }
.art--rings span:nth-child(3) { width: 72%; aspect-ratio: 1; opacity: .4; }
.art--rings b { color: var(--fg); text-transform: lowercase; }
@keyframes spin { to { transform: rotate(360deg); } }
.art--grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 6%; padding: 14%; place-items: stretch; }
.art--grid i { background: var(--fg); border-radius: 50% 50% 0 0; }
.art--grid i:nth-child(odd) { border-radius: 0 0 50% 50%; }
.art--grid i:nth-child(3n) { border-radius: 50%; }
.art--grid b { position: absolute; bottom: 5%; left: 7%; font-size: clamp(13px, 1.2vw, 18px); font-family: Georgia, serif; font-style: italic; letter-spacing: 0; }
.art--type { place-items: start; align-content: space-between; padding: 6%; }
.art--type b { font-size: clamp(56px, 12vw, 220px); letter-spacing: -0.08em; line-height: .8; }
.art--type em { font-style: normal; font-size: clamp(13px, 1.3vw, 20px); opacity: .8; }
.art--circle span { position: absolute; width: min(50%, 60vh); aspect-ratio: 1; border-radius: 50%; background: var(--fg); }
.art--circle span::after { content: ""; position: absolute; inset: 30% 42%; background: var(--pbg); border-radius: 50%; transform: rotate(20deg); }
.art--circle b { position: absolute; bottom: 5%; font-size: clamp(14px, 1.4vw, 22px); text-transform: uppercase; letter-spacing: .1em; }
.art--lines { align-content: center; gap: 10px; padding: 0 10%; place-items: stretch; }
.art--lines i { height: 2px; background: var(--fg); transform-origin: left; animation: grow 3s var(--ease) infinite alternate; }
.art--lines i:nth-child(2) { animation-delay: .2s; width: 70%; }
.art--lines i:nth-child(3) { animation-delay: .4s; width: 85%; }
.art--lines i:nth-child(4) { animation-delay: .6s; width: 55%; }
.art--lines i:nth-child(5) { animation-delay: .8s; width: 40%; }
.art--lines b { margin-top: 24px; color: var(--fg); }
@keyframes grow { from { transform: scaleX(.2); } }
.art--blob span { position: absolute; width: min(50%, 60vh); aspect-ratio: 1; background: var(--fg); border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; animation: morph 8s ease-in-out infinite; opacity: .92; }
.art--blob b { color: var(--pbg); font-family: Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
@keyframes morph { 50% { border-radius: 60% 40% 35% 65% / 55% 60% 40% 45%; transform: rotate(40deg); } }
.art--mark { background: linear-gradient(135deg, #202020, #121212); }
.art--mark svg { width: 16%; max-width: 110px; }

/* ---------- Home hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 24px) var(--gutter) var(--gutter);
}
.hero__top { display: flex; justify-content: space-between; gap: 16px; }
.hero__kicker { font-size: 14px; color: var(--muted); }
.wordmark {
  font-weight: 500; font-size: var(--fs-display); line-height: 0.86; letter-spacing: -0.065em;
  text-transform: uppercase; display: flex; flex-direction: column; margin: 6vh 0;
}
.wordmark__line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.wordmark__line--right { align-self: flex-end; }
.wordmark__dot { display: inline-block; width: 0.16em; height: 0.16em; background: var(--accent); border-radius: 50%; margin-left: 0.06em; transform: scale(0); transition: transform .8s var(--ease-out) .9s; }
.is-ready .wordmark__dot { transform: scale(1); }
.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.hero__lede { font-size: clamp(20px, 2.2vw, 32px); line-height: 1.15; letter-spacing: -0.02em; max-width: 520px; white-space: pre-line; }
.hero__scroll { font-size: 14px; display: flex; gap: 8px; align-items: center; }
.arrow { display: inline-block; animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }
.hero .reveal { transition-delay: calc(var(--i, 0) * .12s + .5s); }

/* ---------- Statement ---------- */
.statement { padding: 20vh var(--gutter); display: grid; grid-template-columns: 1fr 3fr; gap: var(--gutter); }
.statement__text { font-size: clamp(26px, 3.3vw, 54px); line-height: 1.12; letter-spacing: -0.03em; text-indent: 12%; }
.statement__text .w { color: color-mix(in srgb, var(--ink) 18%, var(--bg)); transition: color .4s; }
.statement__text .w.on { color: var(--ink); }

/* ---------- Section head ---------- */
.section-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 0 var(--gutter) 20px; border-bottom: 1px solid var(--line); margin-bottom: var(--gutter);
}
.counter { font-size: 13px; font-variant-numeric: tabular-nums; }

/* ---------- Project cards (shared) ---------- */
.pcard { display: block; position: relative; }
.pcard__media { position: relative; aspect-ratio: 4 / 3; }
.pcard__media > .clip { position: absolute; inset: 0; }
.pcard__media .frame { position: absolute; inset: 0; }
.pcard__media .frame > img, .pcard__media .art { transition: transform 1.2s var(--ease-out); }
.pcard:hover .pcard__media .frame > img, .pcard:hover .pcard__media .art { transform: scale(1.05); }
.pcard__video { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; z-index: 2; }
.pcard__video video { width: 100%; height: 100%; object-fit: cover; }
.pcard.is-playing .pcard__video { opacity: 1; }
.pcard__info { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 14px; }
.pcard__title { font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; letter-spacing: -0.02em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.pcard__title .arr { display: inline-block; color: var(--accent); transform: translateX(-8px); opacity: 0; transition: transform .5s var(--ease-out), opacity .3s; }
.pcard:hover .pcard__title .arr { transform: none; opacity: 1; }
.pcard__sum { font-size: 14px; color: var(--muted); margin-top: 4px; max-width: 46ch; line-height: 1.4; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.tags li { font-size: 12px; border: 1px solid var(--line); border-radius: 99px; padding: 4px 10px; color: color-mix(in srgb, var(--ink) 65%, var(--bg)); white-space: nowrap; }

/* Home: staggered editorial grid */
.work { padding-bottom: 12vh; }
.projects {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 12vh var(--gutter); padding: 0 var(--gutter);
}
.projects .pcard:nth-child(6n+1) { grid-column: 1 / span 7; }
.projects .pcard:nth-child(6n+2) { grid-column: 9 / span 4; margin-top: 24vh; }
.projects .pcard:nth-child(6n+3) { grid-column: 3 / span 8; }
.projects .pcard:nth-child(6n+4) { grid-column: 1 / span 5; }
.projects .pcard:nth-child(6n+5) { grid-column: 7 / span 6; margin-top: 16vh; }
.projects .pcard:nth-child(6n+6) { grid-column: 2 / span 7; }
.projects .pcard:nth-child(6n+2) .pcard__media, .projects .pcard:nth-child(6n+4) .pcard__media { aspect-ratio: 3 / 4; }
.all-work {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin: 14vh var(--gutter) 0; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: var(--fs-h2); font-weight: 500; letter-spacing: -0.05em; line-height: 1; text-transform: uppercase;
}
.all-work .arr { color: var(--accent); transition: transform .6s var(--ease-out); }
.all-work:hover .arr { transform: translateX(12px) rotate(-45deg); }
.all-work sup { font-size: .25em; letter-spacing: 0; vertical-align: top; color: var(--muted); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 3vh 0; }
.marquee__track {
  display: flex; gap: 4vw; width: max-content; align-items: center;
  font-size: clamp(40px, 7vw, 120px); font-weight: 500; letter-spacing: -0.05em; text-transform: uppercase;
  animation: marquee 30s linear infinite;
}
.marquee .star { display: inline-flex; font-size: .5em; color: var(--accent); }
.marquee .star .ic { width: 1em; height: 1em; animation: spin 12s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Accordion (services, FAQ) ---------- */
.services { padding: 18vh 0 12vh; }
.accordion { padding: 0 var(--gutter); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 80px 1fr auto; align-items: center; padding: 3vh 0; gap: 12px; }
.acc summary::-webkit-details-marker { display: none; }
.acc__num { font-size: 13px; color: var(--accent); font-weight: 500; }
.acc__name { font-size: clamp(32px, 6.5vw, 110px); font-weight: 500; letter-spacing: -0.055em; line-height: 1; transition: transform .6s var(--ease-out); }
.acc summary:hover .acc__name { transform: translateX(20px); }
.acc__plus { width: 28px; height: 28px; position: relative; flex: none; }
.acc__plus::before, .acc__plus::after { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease); }
.acc__plus::after { transform: rotate(90deg); }
.acc[open] .acc__plus::after { transform: rotate(0); }
.acc__body { display: grid; grid-template-columns: 80px 1.3fr 1fr; gap: var(--gutter); padding: 0 0 5vh; animation: fadeIn .7s var(--ease-out); }
.acc__body p { grid-column: 2; font-size: clamp(17px, 1.4vw, 22px); line-height: 1.4; max-width: 620px; letter-spacing: -0.01em; white-space: pre-line; }
.acc__body ul { grid-column: 3; font-size: 15px; line-height: 1.9; color: color-mix(in srgb, var(--ink) 65%, var(--bg)); }
.acc__body li { position: relative; padding-left: 22px; }
.acc__body li::before { content: ""; position: absolute; left: 0; top: .9em; width: 12px; height: 1px; background: var(--accent); }
.acc--faq .acc__name { font-size: clamp(22px, 2.6vw, 40px); letter-spacing: -0.03em; line-height: 1.15; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } }

/* ---------- Process ---------- */
.process { padding: 6vh 0 18vh; }
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); padding: 0 var(--gutter); }
.step { border-top: 1px solid var(--ink); padding-top: 18px; }
.step__num { font-size: 13px; color: var(--accent); font-weight: 500; }
.step h4 { font-size: clamp(26px, 2.6vw, 40px); font-weight: 500; letter-spacing: -0.04em; margin: 40px 0 12px; }
.step p { font-size: 15px; line-height: 1.5; color: color-mix(in srgb, var(--ink) 72%, var(--bg)); max-width: 300px; white-space: pre-line; }

/* ---------- Page header (archive) ---------- */
.phead { padding: calc(var(--nav-h) + 12vh) var(--gutter) 6vh; }
.phead__title { font-size: var(--fs-h1); font-weight: 500; letter-spacing: -0.065em; line-height: .86; text-transform: uppercase; }
.phead__title sup { font-size: .16em; letter-spacing: 0; vertical-align: top; color: var(--accent); margin-left: .2em; font-weight: 500; }
.phead__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 5vh; flex-wrap: wrap; }
.phead__intro { font-size: clamp(18px, 1.8vw, 26px); letter-spacing: -0.02em; line-height: 1.25; max-width: 560px; }

/* ---------- Work archive ---------- */
.archive-bar {
  position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px var(--gutter); margin-bottom: 5vh; border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: top .4s var(--ease-out);
}
.scrolled-up .archive-bar { top: 64px; }
.filters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: -4px; padding: 4px; min-width: 0; }
.filters::-webkit-scrollbar { display: none; }
.pill {
  flex: none; font-size: 13px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 99px;
  transition: background .3s, color .3s, border-color .3s; white-space: nowrap;
}
.pill sup { font-size: 10px; margin-left: 3px; color: var(--muted); }
.pill:hover { border-color: var(--ink); }
.pill.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pill.is-active sup { color: var(--accent); }
.viewtoggle { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 99px; padding: 3px; flex: none; }
.viewtoggle button { font-size: 13px; padding: 6px 12px; border-radius: 99px; color: var(--muted); }
.viewtoggle button.is-active { background: var(--ink); color: var(--bg); }

.agrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10vh var(--gutter); padding: 0 var(--gutter) 16vh; align-items: start; }
.agrid .pcard:nth-child(4n+1) .pcard__media, .agrid .pcard:nth-child(4n+4) .pcard__media { aspect-ratio: 4 / 5; }
.agrid .pcard:nth-child(2n) { margin-top: 16vh; }
.agrid .pcard.is-out, .alist .lrow.is-out { display: none; }
.agrid.is-filtered .pcard { margin-top: 0 !important; }

.alist { padding: 0 var(--gutter) 16vh; }
.lrow {
  display: grid; grid-template-columns: 60px 1fr 220px 80px 40px; align-items: center; gap: 16px;
  padding: 3vh 0; border-bottom: 1px solid var(--line); position: relative;
}
.lrow:first-child { border-top: 1px solid var(--line); }
.lrow__num { font-size: 13px; color: var(--accent); font-weight: 500; font-variant-numeric: tabular-nums; }
.lrow__title { font-size: clamp(30px, 5vw, 84px); font-weight: 500; letter-spacing: -0.055em; line-height: 1; text-transform: uppercase; transition: transform .6s var(--ease-out), color .3s; }
.lrow__meta { display: none; }
.lrow__cat, .lrow__year { font-size: 14px; color: var(--muted); }
.lrow__arr { font-size: 24px; color: var(--accent); opacity: 0; transform: translateX(-10px); transition: .5s var(--ease-out); justify-self: end; }
.lrow__thumb { display: none; }
@media (hover: hover) {
  .alist:hover .lrow .lrow__title { color: color-mix(in srgb, var(--ink) 22%, var(--bg)); }
  .alist .lrow:hover .lrow__title { color: var(--ink); transform: translateX(24px); }
  .lrow:hover .lrow__arr { opacity: 1; transform: none; }
}

.preview-float {
  position: fixed; top: 0; left: 0; z-index: 50; pointer-events: none;
  width: clamp(240px, 26vw, 420px); aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px;
  opacity: 0; transition: opacity .35s;
}
.preview-float.is-on { opacity: 1; }
.preview-float .slide { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path .7s var(--ease); }
.preview-float .slide.is-on { clip-path: inset(0 0 0 0); }
.preview-float .frame { position: absolute; inset: 0; }

.empty-state { padding: 10vh var(--gutter); text-align: center; color: var(--muted); font-size: 18px; }

/* ---------- Case study ---------- */
.case__head { padding: calc(var(--nav-h) + 10vh) var(--gutter) 6vh; }
.case__crumb { font-size: 13px; text-transform: uppercase; letter-spacing: .02em; color: var(--muted); margin-bottom: 3vh; display: flex; gap: 8px; flex-wrap: wrap; }
.case__crumb a:hover { color: var(--ink); }
.case__title { font-size: var(--fs-h1); font-weight: 500; letter-spacing: -0.065em; line-height: .86; text-transform: uppercase; overflow-wrap: anywhere; }
.case__title .split { white-space: normal; }
.case__meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px var(--gutter); margin-top: 7vh; padding-top: 20px; border-top: 1px solid var(--line); }
.case__meta dt { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 8px; }
.case__meta dd { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.4; }
.case__summary { font-size: clamp(18px, 1.8vw, 26px); letter-spacing: -0.02em; line-height: 1.3; max-width: 760px; margin-top: 6vh; }
.case__cover { padding: 0; }
.case__cover .frame { aspect-ratio: 16 / 9; }
.case__intro { display: grid; grid-template-columns: 1fr 3fr; gap: var(--gutter); padding: 16vh var(--gutter) 10vh; }
.case__intro .lead { font-size: var(--fs-lead); line-height: 1.12; letter-spacing: -0.035em; white-space: pre-line; }
.btn-live {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 5vh; font-size: 16px; font-weight: 500;
  border: 1px solid var(--ink); border-radius: 99px; padding: 14px 22px; transition: background .3s, color .3s, border-color .3s;
}
.btn-live:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.credits { display: grid; grid-template-columns: 1fr 3fr; gap: var(--gutter); padding: 12vh var(--gutter); border-top: 1px solid var(--line); margin-top: 8vh; }
.credits__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px var(--gutter); }
.credits dt { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 8px; }
.credits dd { font-size: 17px; line-height: 1.4; }

.next {
  display: block; position: relative; overflow: hidden; background: var(--dark); color: #fff;
  padding: 14vh var(--gutter) 8vh; min-height: 90vh; min-height: 90svh;
}
.next__bg { position: absolute; inset: 0; opacity: .3; transition: opacity .8s, transform 1.6s var(--ease-out); transform: scale(1.08); }
.next__bg .frame { position: absolute; inset: 0; }
.next:hover .next__bg { opacity: .55; transform: scale(1); }
.next__inner { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 6vh; min-height: calc(90svh - 22vh); }
.next .label { color: #ccc; }
.next__title { font-size: var(--fs-h1); font-weight: 500; letter-spacing: -0.065em; line-height: .86; text-transform: uppercase; overflow-wrap: anywhere; }
.next__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; font-size: 15px; color: #ddd; }
.next__foot .arr { font-size: clamp(40px, 6vw, 90px); color: var(--accent); line-height: 1; transition: transform .6s var(--ease-out); }
.next:hover .next__foot .arr { transform: translate(10px, -10px); }

/* ---------- Content blocks ---------- */
.blk { padding: 6vh var(--gutter); }
.b-hero { padding: calc(var(--nav-h) + 12vh) var(--gutter) 8vh; }
.b-hero .label { margin-bottom: 3vh; }
.b-hero__title { font-size: clamp(36px, 8vw, 150px); font-weight: 500; letter-spacing: -0.06em; line-height: .95; max-width: 16ch; overflow-wrap: anywhere; }
.b-hero__sub { font-size: clamp(18px, 1.8vw, 26px); line-height: 1.3; letter-spacing: -0.02em; max-width: 600px; margin-top: 5vh; color: color-mix(in srgb, var(--ink) 75%, var(--bg)); white-space: pre-line; }

.b-text { display: grid; grid-template-columns: 1fr 3fr; gap: var(--gutter); padding-top: 10vh; padding-bottom: 10vh; }
.b-text__h { font-size: clamp(26px, 3vw, 48px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 3vh; }
.b-text__body { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.45; letter-spacing: -0.01em; max-width: 780px; color: color-mix(in srgb, var(--ink) 82%, var(--bg)); }
.b-text__body p + p { margin-top: 1em; }
.b-text--wide { grid-template-columns: 1fr; }
.b-text--wide .b-text__body { font-size: var(--fs-lead); line-height: 1.12; letter-spacing: -0.035em; max-width: none; color: var(--ink); }
.b-text--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }

.b-media { padding-top: 2vh; padding-bottom: 2vh; }
.b-media--full { padding-left: 0; padding-right: 0; }
.b-media--contained { padding-left: 16%; padding-right: 16%; }
.b-media figcaption, .b-duo figcaption { font-size: 13px; color: var(--muted); margin-top: 12px; }
.b-media--full figcaption { padding: 0 var(--gutter); }
.b-duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); padding-top: 2vh; padding-bottom: 2vh; }
.b-duo figcaption { grid-column: 1 / -1; margin-top: 0; }
.b-duo .frame { aspect-ratio: 4 / 5; }

.b-quote { padding: 16vh var(--gutter); text-align: center; }
.b-quote blockquote { font-size: clamp(28px, 4.4vw, 72px); font-weight: 500; letter-spacing: -0.045em; line-height: 1.05; max-width: 20ch; margin: 0 auto; }
.b-quote blockquote::before { content: "\201C"; display: block; color: var(--accent); font-size: 1.6em; line-height: .6; margin-bottom: .2em; }
.b-quote cite { display: block; font-style: normal; margin-top: 5vh; color: var(--muted); font-size: 15px; }

.b-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--gutter); padding-top: 10vh; padding-bottom: 10vh; }
.stat { border-top: 1px solid var(--ink); padding-top: 18px; }
.stat__v { font-size: clamp(56px, 8vw, 140px); font-weight: 500; letter-spacing: -0.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__l { font-size: 15px; color: var(--muted); margin-top: 10px; }

.b-palette { display: flex; padding-top: 4vh; padding-bottom: 4vh; }
.swatch { flex: 1; display: flex; align-items: flex-end; padding: 18px; font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; min-height: 44vh; transition: flex .8s var(--ease-out); }
@media (hover: hover) { .swatch:hover { flex: 1.7; } }

.b-team__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 5vh var(--gutter); margin-top: 5vh; }
.member .frame { aspect-ratio: 4 / 5; margin-bottom: 14px; }
.member__initials { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(48px, 6vw, 90px); font-weight: 500; letter-spacing: -0.05em; color: var(--accent); background: color-mix(in srgb, var(--ink) 6%, var(--bg)); }
.member b { display: block; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.member span { font-size: 14px; color: var(--muted); }
.b-title { font-size: clamp(26px, 3vw, 48px); font-weight: 500; letter-spacing: -0.04em; }
.b-faq .b-title, .b-projects .b-title { padding: 0 var(--gutter); margin-bottom: 4vh; }
.b-projects { padding-top: 10vh; padding-bottom: 10vh; }

.b-spacer--s { height: 4vh; } .b-spacer--m { height: 10vh; } .b-spacer--l { height: 20vh; }

.b-cta { display: block; padding: 14vh var(--gutter); font-size: var(--fs-h2); font-weight: 500; letter-spacing: -0.055em; line-height: .95; text-transform: uppercase; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.b-cta .arr { color: var(--accent); display: inline-block; transition: transform .6s var(--ease-out); }
.b-cta:hover .arr { transform: translate(.1em, -.1em); }

/* ---------- Contact form ---------- */
.b-contact { display: grid; grid-template-columns: 1fr 2fr; gap: 6vh var(--gutter); padding-top: 4vh; padding-bottom: 14vh; }
.b-contact__info { display: grid; gap: 28px; align-content: start; font-size: 17px; }
.b-contact__info dt { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 6px; }
.b-contact__info a:hover { color: var(--accent); }
.enquiry__title { font-size: clamp(22px, 2.2vw, 34px); font-weight: 500; letter-spacing: -0.03em; margin-bottom: 28px; }
.enquiry__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px var(--gutter); }
.enquiry label { display: flex; flex-direction: column; gap: 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.enquiry label.full { grid-column: 1 / -1; }
.enquiry input, .enquiry select, .enquiry textarea {
  font: inherit; font-size: 18px; text-transform: none; letter-spacing: -0.01em; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 25%, transparent);
  padding: 10px 0; outline: none; border-radius: 0; resize: vertical; transition: border-color .3s; width: 100%;
  -webkit-appearance: none; appearance: none;
}
.enquiry select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.enquiry select option { color: CanvasText; background: Canvas; }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { border-color: var(--accent); }
.hp, .enquiry .hp { position: absolute; top: 0; inset-inline-start: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.enquiry__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.enquiry__status { font-size: 15px; color: var(--muted); }
.enquiry__status.is-ok { color: var(--accent); }
.enquiry__status.is-error { color: #e04848; }
.btn-accent {
  font-size: 16px; font-weight: 500; border-radius: 99px; background: var(--accent); color: var(--on-accent); padding: 16px 28px;
  display: inline-flex; gap: 10px; align-items: center; justify-content: center; transition: transform .4s var(--ease-out), background .3s;
}
.btn-accent:hover { transform: translateY(-2px); background: var(--ink); color: var(--bg); }
.btn-accent:disabled { opacity: .5; }
.home-form { padding: 0 var(--gutter) 16vh; }
.home-form .enquiry { max-width: 1100px; }

/* ---------- Global CTA + footer ---------- */
.cta { background: var(--dark); color: #fff; padding: 16vh var(--gutter) max(var(--gutter), env(safe-area-inset-bottom)); }
.cta__big { display: flex; flex-direction: column; font-size: clamp(34px, 10.5vw, 200px); font-weight: 500; line-height: 0.88; letter-spacing: -0.065em; text-transform: uppercase; }
.cta__line { display: block; overflow: hidden; padding-bottom: .04em; }
.cta__line--indent { padding-left: 10vw; }
.cta__arrow { display: inline-block; margin-left: .15em; color: var(--accent); transition: transform .6s var(--ease-out); }
.cta__big:hover .cta__arrow { transform: translate(.1em, -.1em) rotate(45deg); }
.cta__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-top: 14vh; padding-bottom: 6vh; border-bottom: 1px solid rgba(255,255,255,.15); }
.cta__copy { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.25; letter-spacing: -0.02em; color: #bbb; white-space: pre-line; }
.cta__email { font-size: clamp(22px, 3.8vw, 64px); font-weight: 500; letter-spacing: -0.045em; overflow-wrap: anywhere; }
.cta__email:hover { color: var(--accent); }
.footer { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; font-size: 13px; color: #999; text-transform: uppercase; gap: 16px 24px; flex-wrap: wrap; }
.footer__links, .footer__social { display: flex; gap: 20px; flex-wrap: wrap; }
.footer a { padding: 4px 0; }
.footer a:hover { color: var(--accent); }

/* ---------- Staff pill ---------- */
.staff-pill {
  position: fixed; left: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 80;
  display: flex; gap: 4px; align-items: center; background: #151515; color: #fff; border-radius: 99px; padding: 5px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); font-size: 13px; font-weight: 500;
}
.staff-pill a { padding: 8px 14px; border-radius: 99px; }
.staff-pill a:first-child { background: var(--accent); }
.staff-pill a:hover { background: #333; }
.staff-pill a:first-child:hover { background: var(--accent); filter: brightness(1.08); }
.staff-pill span { padding: 0 10px 0 4px; color: #ffb45c; }

/* ---------- 404 ---------- */
.nf { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 6vh) var(--gutter) 8vh; }
.nf h1 { font-size: clamp(120px, 30vw, 460px); font-weight: 500; letter-spacing: -0.08em; line-height: .8; }
.nf h1 span { color: var(--accent); }
.nf p { font-size: clamp(18px, 2vw, 28px); margin-top: 4vh; }
.nf a { color: var(--accent); }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1100px) {
  .case__meta { grid-template-columns: repeat(2, 1fr); }
  .credits__grid { grid-template-columns: repeat(2, 1fr); }
  .lrow { grid-template-columns: 48px 1fr 160px 40px; }
  .lrow__year { display: none; }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav { grid-template-columns: 1fr auto; padding-top: max(10px, env(safe-area-inset-top)); padding-bottom: 10px; }
  .nav.is-scrolled { padding-top: max(10px, env(safe-area-inset-top)); padding-bottom: 10px; }
  .nav__links, .nav__meta { display: none; }
  .nav__menu { display: block; }
  .nav__end { gap: 4px; }
  .scrolled-up .archive-bar { top: 64px; }

  .statement, .case__intro, .credits, .b-text, .b-contact { grid-template-columns: 1fr; }
  .statement { padding: 14vh var(--gutter); }
  .statement__text { text-indent: 0; }
  .case__intro, .credits { gap: 3vh; }
  .case__intro { padding: 10vh var(--gutter) 6vh; }

  .projects { grid-template-columns: 1fr; gap: 8vh; }
  .projects .pcard:nth-child(n) { grid-column: auto; margin-top: 0; }
  .projects .pcard:nth-child(n) .pcard__media { aspect-ratio: 4 / 3; }
  .pcard__info { flex-direction: column; gap: 10px; }
  .tags { justify-content: flex-start; }

  .agrid { grid-template-columns: 1fr; gap: 7vh; }
  .agrid .pcard:nth-child(n) { margin-top: 0; }
  .agrid .pcard:nth-child(n) .pcard__media { aspect-ratio: 4 / 3; }

  .lrow { grid-template-columns: 76px 1fr 24px; gap: 14px; padding: 14px 0; }
  .lrow__num, .lrow__cat { display: none; }
  .lrow__thumb { display: block; position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 4px; }
  .lrow__thumb .frame { position: absolute; inset: 0; }
  .lrow__thumb .art b, .lrow__thumb .art em { display: none; }
  .lrow__title { font-size: clamp(22px, 6.4vw, 44px); }
  .lrow__meta { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }
  .lrow__arr { opacity: 1; transform: none; font-size: 20px; }

  .acc summary { grid-template-columns: 34px 1fr auto; }
  .acc__body { grid-template-columns: 1fr; padding-left: 46px; gap: 16px; }
  .acc__body p, .acc__body ul { grid-column: auto; }
  .process__grid { grid-template-columns: 1fr 1fr; row-gap: 6vh; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .b-media--contained { padding-left: var(--gutter); padding-right: var(--gutter); }
  .b-palette { flex-direction: column; }
  .swatch { min-height: 88px; }
  .archive-bar { padding-top: 10px; padding-bottom: 10px; }
  .next { min-height: 72vh; min-height: 72svh; }
  .next__inner { min-height: calc(72svh - 22vh); }
}

/* ---------- Phones ---------- */
@media (max-width: 900px) {
  .theme-toggle { width: 44px; height: 44px; }
  .pill { padding: 11px 16px; font-size: 14px; }
  .viewtoggle button { padding: 8px 14px; }
  .footer { font-size: 14px; }
  .footer a { padding: 10px 0; }
  .footer__links, .footer__social { gap: 6px 22px; }
  .mobile-menu__foot a { padding: 6px 0; }
  .mobile-menu__foot .row a { padding: 10px 0; }
  .section-head { padding-bottom: 14px; }
  .marquee__track { animation-duration: 18s; }
  .statement { padding: 12vh var(--gutter); }
  .services { padding: 12vh 0 8vh; }
  .process { padding: 4vh 0 12vh; }
  .work { padding-bottom: 8vh; }
  .all-work { margin-top: 10vh; }
  .cta { padding-top: 12vh; }
  .cta__row { margin-top: 10vh; }
  .phead { padding-top: calc(var(--nav-h) + 8vh); }
  .case__head { padding-top: calc(var(--nav-h) + 6vh); }
  .b-hero { padding-top: calc(var(--nav-h) + 8vh); padding-bottom: 5vh; }
  .b-text { padding-top: 6vh; padding-bottom: 6vh; }
  .b-stats { padding-top: 6vh; padding-bottom: 6vh; }
  .credits { padding: 8vh var(--gutter); margin-top: 4vh; }
  .stat__v { font-size: clamp(48px, 16vw, 90px); }
  /* Parallax is disabled on phones (smoother scrolling, less battery). */
  .frame .plx { top: 0; height: 100%; transform: none !important; }
  /* Tap feedback instead of hover effects */
  .pcard:active .pcard__media, .lrow:active, .all-work:active, .b-cta:active { opacity: .75; transition: opacity .1s; }
  .btn-accent:active, .btn-live:active, .pill:active { transform: scale(.97); }
}
@media (max-width: 600px) {
  .case__meta, .credits__grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .process__grid { grid-template-columns: 1fr; }
  .enquiry__grid { grid-template-columns: 1fr; }
  .cta__line--indent { padding-left: 0; }
  .wordmark__line--right { align-self: flex-start; }
  .b-duo { grid-template-columns: 1fr; }
  .hero__top { flex-direction: column; gap: 4px; }
  .all-work { font-size: clamp(30px, 9vw, 60px); }
  .footer { flex-direction: column; align-items: flex-start; }
  .btn-accent { width: 100%; }
  .enquiry__foot { flex-direction: column-reverse; align-items: stretch; }
  .case__cover { padding: 0; }
  .acc__body { padding-left: 0; }
  .b-quote { padding: 10vh var(--gutter); }
  .staff-pill { left: 50%; transform: translateX(-50%); }
}

@media (hover: none) {
  .pcard__title .arr { opacity: 1; transform: none; }
  .acc summary:hover .acc__name { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .split .char, .words .wd > span { transform: none !important; }
  .reveal, .clip { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* =====================================================================
   Case study â€” story layout
   Pinned side text + media column, big title intro, animated "Next".
   ===================================================================== */
:root { --st-ease: cubic-bezier(0.55, 0, 0.1, 1); --st-body: max(16px, 1.25vw); }

/* Smooth scroll (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Intro: title + arrow, then the hero image */
.st-intro { padding: calc(var(--nav-h) + 88px) var(--gutter) 0; }
.st-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; overflow: hidden; }
.st-title__h {
  font-size: 5.56vw; line-height: 6.11vw; letter-spacing: .03vw; font-weight: 400; text-transform: uppercase;
  transform: translateY(125%); transition: transform .9s var(--st-ease);
  overflow-wrap: anywhere;
}
.st-arrow { flex: none; width: 3.96vw; display: flex; animation: st-bob 3s var(--st-ease) infinite both; padding-bottom: .6vw; }
.st-arrow > span { display: flex; width: 100%; transform: translateY(165%); transition: transform .9s var(--st-ease); }
.st-arrow .ic { width: 100%; height: auto; stroke-width: 1.1; }
.story.is-ready .st-title__h { transform: none; }
.story.is-ready .st-arrow > span { transform: none; }
@keyframes st-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.st-hero { margin-top: 0; }
.st-hero .frame { width: 100%; clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--st-ease) .25s; }
.st-hero .frame > * { transform: scale(1.12); transition: transform 1.8s var(--st-ease) .25s; }
.story.is-ready .st-hero .frame { clip-path: inset(0 0 0 0); }
.story.is-ready .st-hero .frame > * { transform: none; }

/* Body: pinned text (1/3) + media column (2/3) */
.st-body {
  display: grid; grid-template-columns: 1fr 2fr; gap: 0; padding: 0 var(--gutter);
  opacity: 0; transition: opacity .6s var(--st-ease) .6s;
}
.story.is-ready .st-body { opacity: 1; }
.st-aside { position: relative; }
.st-pin { position: sticky; top: 0; height: 100vh; height: 100svh; }
.st-slide {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + 16px) 44px 16px 0;
  font-size: var(--st-body); line-height: 1.336; color: var(--ink);
  opacity: 0; transform-origin: center bottom; pointer-events: none;
  transition: opacity .6s var(--st-ease);
}
.st-slide.is-active { opacity: 1; transform-origin: center top; pointer-events: auto; transition: opacity .6s var(--st-ease) .45s; }
.st-slide p, .st-mtext p, .st-mintro p { max-width: 36em; }
.st-gap { margin-top: 24px; }
.st-desc p + p { margin-top: 24px; }
.st-h { font-weight: 500; }
.st-team { margin-top: auto; padding-top: 24px; }
.st-member + .st-member { margin-top: 24px; }
.st-member__role { opacity: .6; }

/* "View site" link: arrow slides in on hover */
.st-link { position: relative; overflow: hidden; display: inline-flex; align-self: flex-start; margin-top: 24px; color: var(--ink); }
.st-link__text { font-size: 2.92vw; line-height: 1; letter-spacing: -.01em; transition: padding .6s var(--st-ease); }
.st-link__arrow { position: absolute; left: 0; top: 50%; width: 2.36vw; display: flex; transform: translate(-100%, -50%); transition: transform .6s var(--st-ease); color: var(--accent); }
.st-link__arrow .ic { width: 100%; height: auto; }
.st-link:hover .st-link__arrow { transform: translate(0, -50%); }
.st-link:hover .st-link__text { padding-left: 2.78vw; }

.st-mintro, .st-mtext { display: none; }

/* Media column */
.st-media { display: flex; flex-direction: column; gap: 16px; padding-top: 16px; min-width: 0; }
.st-item { margin: 0; }
.st-item .frame { width: 100%; }
.st-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.st-palette { display: flex; width: 100%; overflow: hidden; }
.st-palette > div { flex: 1; display: flex; align-items: flex-end; padding: 16px; font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; transition: flex .8s var(--st-ease); }
@media (hover: hover) { .st-palette > div:hover { flex: 1.8; } }

/* Next project */
.st-next-wrap { padding: 120px var(--gutter) 8px; overflow: hidden; }
.st-next {
  display: inline-flex; flex-direction: column; color: var(--ink);
  font-size: 5.56vw; line-height: 5.56vw; letter-spacing: .5px; text-transform: uppercase;
}
.st-next .ic { width: 100%; height: auto; stroke-width: 1.1; }
.st-next__top { position: relative; display: flex; align-items: center; justify-content: space-between; height: 5.56vw; overflow: hidden; }
.st-next__word { visibility: hidden; }
.st-next__abs { position: absolute; top: 0; right: 100%; transform: translateX(100%); transition: right .9s var(--st-ease), transform .9s var(--st-ease); }
.st-next__arrow { margin-left: auto; width: 4.44vw; display: flex; transition: transform .6s var(--st-ease); }
.st-next__arrow-abs { position: absolute; left: .42vw; bottom: 0; width: 4.44vw; display: flex; transform: translateY(-100%); transition: transform .6s var(--st-ease); color: var(--accent); }
.st-next__bottom { position: relative; display: flex; align-items: center; overflow: hidden; }
.st-next__barrow { width: 4.44vw; display: flex; overflow: hidden; flex: none; color: var(--accent); }
.st-next__barrow .ic { transition: transform .6s var(--st-ease); }
.st-next__fake { position: absolute; left: 0; top: 0; white-space: nowrap; transform: translateY(120%); transition: transform .6s var(--st-ease); color: var(--accent); }
.st-next__name { margin-left: 7.78vw; display: flex; overflow: hidden; }
.st-next__real { display: inline-block; white-space: nowrap; transition: transform .6s var(--st-ease); }
.st-next:hover .st-next__abs { right: 0; transform: translateX(0); }
.st-next:hover .st-next__arrow { transform: translateX(100%); }
.st-next:hover .st-next__arrow-abs { transform: translateY(0); }
.st-next:hover .st-next__barrow .ic { transform: translateX(100%); }
.st-next:hover .st-next__fake { transform: translateY(0); transition-delay: .4s; }
.st-next:hover .st-next__real { transform: translateY(100%); }

@media (min-width: 2160px) {
  .st-title__h { font-size: 120px; line-height: 132px; }
  .st-next { font-size: 120px; line-height: 120px; }
  .st-next__top { height: 120px; }
  .st-next__arrow, .st-next__arrow-abs, .st-next__barrow { width: 96px; }
  .st-next__name { margin-left: 240px; }
}
@media (max-width: 1440px) { .st-next__name { margin-left: 112px; } }
@media (max-width: 1280px) { .st-next__fake { display: none; } }

/* Tablets & phones: texts flow inline under their media */
@media (max-width: 1024px) {
  .st-body { grid-template-columns: minmax(0, 1fr); }
  .st-aside { display: none; }
  .st-mintro { display: block; padding-top: 16px; font-size: 16px; line-height: 1.4; }
  .st-mintro .st-team { margin-top: 24px; }
  .st-mtext { display: block; margin-top: 16px; font-size: 16px; line-height: 1.4; }
  .st-mtext .st-team { margin-top: 24px; }
  .st-link__text { font-size: 24px; }
  .st-link__arrow { width: 20px; }
  .st-link:hover .st-link__text { padding-left: 30px; }
  .st-intro { padding-top: calc(var(--nav-h) + 40px); }
}
@media (max-width: 768px) {
  .st-media { gap: 8px; padding-top: 8px; }
  .st-duo { gap: 8px; }
  .st-mtext { margin-top: 8px; margin-bottom: 16px; }
  .st-next-wrap { padding-top: 80px; }
}
@media (max-width: 720px) {
  .st-title__h { font-size: 40px; line-height: 40px; }
  .st-arrow { width: 32px; padding-bottom: 4px; }
  .st-next { font-size: 40px; line-height: 40px; }
  .st-next__top { height: 40px; }
  .st-next__arrow, .st-next__arrow-abs, .st-next__barrow { width: 32px; }
  .st-next__name { margin-left: 24px; }
  .st-next__real { white-space: normal; }
}
@media (max-width: 420px) { .st-duo { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .st-title__h, .st-arrow > span, .st-hero .frame, .st-hero .frame > * { transform: none !important; clip-path: none !important; }
  .st-body { opacity: 1; }
}

/* ---------- Case-study entrance animations ---------- */
.st-anim { position: relative; overflow: hidden; transition-delay: var(--d, 0s); }
.st-anim > .frame, .st-anim > .st-palette { transition: transform 1.6s var(--st-ease) var(--d, 0s), opacity 1s var(--st-ease) var(--d, 0s); }
.st-anim--reveal { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--st-ease) var(--d, 0s); }
.st-anim--reveal > * { transform: scale(1.15); }
.st-anim--reveal.in { clip-path: inset(0 0 0 0); }
.st-anim--reveal.in > * { transform: none; }
.st-anim--curtain::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: top; transition: transform 1s var(--st-ease) calc(var(--d, 0s) + .1s); z-index: 2; }
.st-anim--curtain > * { transform: scale(1.1); }
.st-anim--curtain.in::after { transform: scaleY(0); }
.st-anim--curtain.in > * { transform: none; }
.st-anim--zoom > * { transform: scale(1.35); opacity: 0; }
.st-anim--zoom.in > * { transform: none; opacity: 1; }
.st-anim--fade { opacity: 0; transform: translateY(60px); transition: opacity 1s var(--st-ease) var(--d, 0s), transform 1.1s var(--st-ease) var(--d, 0s); overflow: visible; }
.st-anim--fade.in { opacity: 1; transform: none; }
.st-anim--slide { opacity: 0; transform: translateX(10%); transition: opacity 1s var(--st-ease) var(--d, 0s), transform 1.2s var(--st-ease) var(--d, 0s); }
.st-anim--slide.in { opacity: 1; transform: none; }

/* Gallery grid */
.st-gallery { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 16px; }
.st-gallery--masonry { display: block; columns: var(--cols, 2); column-gap: 16px; }
.st-gallery--masonry .st-anim { break-inside: avoid; margin-bottom: 16px; }
@media (max-width: 768px) { .st-gallery { gap: 8px; } .st-gallery--masonry { column-gap: 8px; } .st-gallery--masonry .st-anim { margin-bottom: 8px; } }
@media (max-width: 480px) { .st-gallery { grid-template-columns: repeat(min(var(--cols, 2), 2), minmax(0, 1fr)); } .st-gallery--masonry { columns: 2; } }

.st-clogo { display: block; max-width: 140px; max-height: 56px; object-fit: contain; object-position: left; margin-bottom: 20px; }
.lb-target { cursor: zoom-in; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 140; background: rgba(8, 8, 8, .96); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .4s var(--st-ease), visibility 0s .4s; }
.lb.is-open { opacity: 1; visibility: visible; transition: opacity .4s var(--st-ease); }
.lb__stage { position: absolute; inset: 64px 72px; display: grid; place-items: center; }
.lb__media { max-width: 100%; max-height: 100%; object-fit: contain; opacity: 0; transition: opacity .5s var(--st-ease), transform .7s var(--st-ease); }
.lb__media.from-zoom { transform: scale(.92); }
.lb__media.from-right { transform: translateX(6%); }
.lb__media.from-left { transform: translateX(-6%); }
.lb__media.is-in { opacity: 1; transform: none; }
.lb__close, .lb__nav { position: absolute; color: #fff; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; transition: background .3s; }
.lb__close:hover, .lb__nav:hover { background: rgba(255, 255, 255, .12); }
.lb__close { top: 12px; right: 12px; }
.lb__nav { top: 50%; transform: translateY(-50%); }
.lb__nav--prev { left: 12px; }
.lb__nav--prev .ic { transform: rotate(180deg); }
.lb__nav--next { right: 12px; }
.lb .ic { width: 22px; height: 22px; }
.lb__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #bbb; font-size: 14px; font-variant-numeric: tabular-nums; }
body.lb-open { overflow: hidden; }
@media (max-width: 720px) { .lb__stage { inset: 56px 8px; } .lb__nav { top: auto; bottom: 8px; transform: none; } }

/* ---------- Brand logo wall ---------- */
.logos { padding: 5vh 0; }
.logos .section-head { margin-bottom: 0; }
.logos__grid { display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin: 0 var(--gutter); }
.logos__grid > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-cell { display: grid; place-items: center; aspect-ratio: 3 / 1; padding: 7% 29%; transition: background .4s; }
.logo-cell img { max-width: 100%; max-height: 100%; object-fit: contain; transition: opacity .4s, filter .4s, transform .6s var(--st-ease); }
a.logo-cell:hover img { transform: scale(1.06); }
.logos--s .logo-cell { padding: 9% 35%; } .logos--l .logo-cell { padding: 5% 20%; }
.logos--mono .logo-cell img { filter: brightness(0); opacity: .7; }
[data-theme="dark"] .logos--mono .logo-cell img { filter: brightness(0) invert(1); }
.logos--mono .logo-cell:hover img { opacity: 1; }
.logos--marquee { overflow: hidden; }
.logos__track { display: flex; width: max-content; animation: marquee calc(var(--n, 6) * 4s) linear infinite; }
.logos__track .logo-cell { width: clamp(100px, 10vw, 160px); aspect-ratio: auto; height: clamp(40px, 3.8vw, 60px); padding: clamp(8px, .9vw, 14px) clamp(18px, 2vw, 30px); flex: none; }
.logos--marquee.logos--s .logo-cell { padding: clamp(11px, 1.2vw, 18px) clamp(24px, 2.6vw, 38px); }
.logos--marquee.logos--l .logo-cell { padding: clamp(5px, .6vw, 10px) clamp(12px, 1.4vw, 20px); }
.logos--marquee:hover .logos__track { animation-play-state: paused; }
@media (max-width: 900px) { .logos { padding: 5vh 0; } .logos__grid { grid-template-columns: repeat(min(var(--cols, 5), 4), minmax(0, 1fr)); } }
@media (max-width: 520px) { .logos__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .logo-cell { aspect-ratio: 5 / 2; padding: 10% 24%; } }
@media (prefers-reduced-motion: reduce) { .st-anim, .st-anim > * { clip-path: none !important; transform: none !important; opacity: 1 !important; } .st-anim::after { display: none; } }

/* ---------- Logo showcase (case studies) ---------- */
.st-logos { display: grid; grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); gap: 16px; }
.st-logo { display: grid; place-items: center; padding: 12%; overflow: hidden; }
.st-logo img { width: 100%; height: 100%; max-width: 70%; max-height: 60%; object-fit: contain; transition: transform 1.2s var(--st-ease); }
.st-logo b { font-size: clamp(22px, 3vw, 48px); font-weight: 500; letter-spacing: -.04em; }
@media (hover: hover) { .st-logo:hover img { transform: scale(1.06); } }
@media (max-width: 768px) { .st-logos { gap: 8px; } }
@media (max-width: 480px) { .st-logos { grid-template-columns: repeat(min(var(--cols, 1), 2), minmax(0, 1fr)); } }

/* ---------- Client logo over project cards on hover ---------- */
.pcard__logo { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; padding: 18%; background: rgba(10, 10, 10, .45); opacity: 0; transition: opacity .6s var(--st-ease); pointer-events: none; }
.pcard__logo img { max-width: 60%; max-height: 40%; object-fit: contain; filter: brightness(0) invert(1); transform: translateY(14px); transition: transform .8s var(--st-ease); }
@media (hover: hover) {
  .pcard:hover .pcard__logo { opacity: 1; }
  .pcard:hover .pcard__logo img { transform: none; }
}

/* ---------- Social icons ---------- */
.soc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.soc { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: inherit; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 22%, transparent); transition: color .3s, border-color .3s, background .3s, transform .4s var(--ease-out); }
.soc::after { display: none !important; }
.soc-ic { width: 18px; height: 18px; }
.soc:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.soc--text { width: auto; height: auto; border: 0; border-radius: 0; padding: 4px 0; }
.soc--text:hover { transform: none; }
.footer__social.soc-row, .footer__social { gap: 6px; }
.footer__social .soc { width: 38px; height: 38px; color: #ddd; }
.footer__social .soc:hover { color: var(--accent); }
.mobile-menu__foot .soc-row { gap: 8px; }
.mobile-menu__foot .soc { width: 44px; height: 44px; color: #ddd; }
.mobile-menu__foot .soc-ic { width: 20px; height: 20px; }
.b-contact__info .soc-row { margin-top: 4px; }

/* ---------- Brand logos: smaller on phones ---------- */
@media (max-width: 900px) {
  .logos { padding: 4vh 0; }
  .logos__grid { grid-template-columns: repeat(min(var(--cols, 5), 5), minmax(0, 1fr)); }
  .logos__track .logo-cell { width: 96px; height: 40px; padding: 8px 16px; }
}
@media (max-width: 520px) {
  .logos__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 var(--gutter); }
  .logo-cell { aspect-ratio: 2 / 1; padding: 11% 22%; }
  .logos--s .logo-cell { padding: 14% 28%; }
  .logos--l .logo-cell { padding: 7% 14%; }
  .logos__track .logo-cell { width: 84px; height: 34px; padding: 7px 13px; }
}

/* =====================================================================
   Print shop
   ===================================================================== */
.art--product { background: var(--pbg); }
.art--product svg { width: 78%; height: auto; max-height: 80%; transition: transform 1.2s var(--ease-out); }

.shop-turn { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 10px 16px; }

/* Catalogue grid */
.sgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6vh var(--gutter); padding: 0 var(--gutter) 10vh; }
.scard { display: block; }
.scard.is-out { display: none; }
.scard__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.scard__media > .clip, .scard__media .frame { position: absolute; inset: 0; }
.scard__media .frame > img, .scard__media .art svg { transition: transform 1.2s var(--ease-out); }
.scard:hover .scard__media .frame > img, .scard:hover .art--product svg { transform: scale(1.05); }
.scard__alt { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease-out); z-index: 2; }
.scard__alt img, .scard__alt video { width: 100%; height: 100%; object-fit: cover; }
.scard:hover .scard__alt { opacity: 1; }
.scard__info { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; }
.scard__price { align-self: flex-start; }
.scard__name { font-size: clamp(15px, 1.15vw, 18px); font-weight: 500; letter-spacing: -.02em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.scard__name .arr { display: inline-flex; color: var(--accent); transform: translateX(-8px); opacity: 0; transition: transform .5s var(--ease-out), opacity .3s; }
.scard:hover .scard__name .arr { transform: none; opacity: 1; }
.scard__tag { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.4; max-width: 34ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.scard__price { font-size: 12.5px; white-space: nowrap; border: 1px solid var(--line); border-radius: 99px; padding: 5px 12px; }
.shop-how { padding: 4vh 0 16vh; }

/* Product page */
.prod { padding-top: calc(var(--nav-h) + 4vh); }
.prod__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); padding: 0 var(--gutter); align-items: start; max-width: 1480px; margin: 0 auto; }
.prod__media .frame { aspect-ratio: 1 / 1 !important; }
.prod__media { display: grid; gap: 16px; }
.prod__media .frame { width: 100%; }
.prod__panel { position: relative; align-self: stretch; }
.prod__pin { position: sticky; top: calc(var(--nav-h) + 8px); padding: 2vh 0 6vh clamp(0px, 2vw, 32px); }
.prod__name { font-size: clamp(30px, 3.6vw, 60px); font-weight: 500; letter-spacing: -0.06em; line-height: .9; text-transform: uppercase; margin-top: 2vh; overflow-wrap: anywhere; }
.prod__tag { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.35; color: color-mix(in srgb, var(--ink) 75%, var(--bg)); margin-top: 18px; max-width: 34ch; }
.prod__form { margin-top: 4vh; display: grid; gap: 22px; }
.opt { border: 0; padding: 0; margin: 0; min-width: 0; }
.opt legend { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 10px; }
.opt__row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt__row--qty { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.opt__pill { position: relative; cursor: pointer; }
.opt__pill input { position: absolute; opacity: 0; pointer-events: none; }
.opt__pill span { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; font-size: 14px; line-height: 1.25; transition: border-color .3s, background .3s, color .3s, transform .3s var(--ease-out); }
.opt__pill small { font-size: 11.5px; color: var(--muted); transition: color .3s; }
.opt__pill:hover span { border-color: var(--ink); }
.opt__pill input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.opt__pill input:checked + span small { color: color-mix(in srgb, var(--bg) 70%, var(--ink)); }
.opt__pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt__pill--qty span { align-items: flex-start; }
.opt__pill--qty b { font-size: 17px; font-weight: 500; letter-spacing: -.02em; }
.opt__pill--wide span { flex-direction: row; justify-content: space-between; align-items: center; padding: 14px 16px; }
.opt__pill--wide small { font-size: 13px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.qty button { width: 46px; height: 46px; font-size: 20px; transition: background .2s; }
.qty button:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.qty input { width: 72px; height: 46px; border: 0; background: none; color: var(--ink); text-align: center; font: inherit; font-size: 17px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.opt__check { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; transition: border-color .3s, background .3s; }
.opt__check:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.opt__check input { accent-color: var(--accent); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.opt__check span { display: grid; gap: 2px; font-size: 15px; }
.opt__check small { color: var(--muted); font-size: 13px; }
.prod__total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 18px; }
.prod__total b { font-size: clamp(28px, 2.6vw, 42px); font-weight: 500; letter-spacing: -.05em; line-height: 1; display: inline-block; }
.prod__total b.bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 0% { transform: translateY(8px); opacity: .3; } 100% { transform: none; opacity: 1; } }
.prod__add { width: 100%; font-size: 16px; padding: 16px 26px; }
.prod__add.is-added { background: var(--ink); color: var(--bg); }
.prod__hint { font-size: 13px; color: var(--muted); }
.prod__specs { display: grid; gap: 12px; margin-top: 5vh; padding-top: 18px; border-top: 1px solid var(--line); }
.prod__specs div { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.prod__specs dt { color: var(--muted); }
.prod__specs dd { text-align: right; }
.prod__desc { margin-top: 4vh; font-size: 16px; line-height: 1.55; color: color-mix(in srgb, var(--ink) 80%, var(--bg)); max-width: 46ch; }
.prod__desc p + p { margin-top: 1em; }
.prod__more { padding-top: 12vh; }

/* Cart button + drawer */
.cart-btn { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: inherit; transition: background .3s; flex: none; }
.cart-btn:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.cart-btn .ic { width: 20px; height: 20px; stroke-width: 1.6; }
.cart-btn__n { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; border-radius: 99px; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 600; display: grid; place-items: center; padding: 0 5px; }
.menu-open .cart-btn { color: #fff; }
.drawer { position: fixed; inset: 0; z-index: 125; pointer-events: none; overflow: hidden; }
.drawer__shade { position: absolute; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .5s var(--ease); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); background: var(--dark); color: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .7s var(--ease); padding-bottom: env(safe-area-inset-bottom); }
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__shade { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
body.drawer-open { overflow: hidden; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: max(20px, env(safe-area-inset-top)) 24px 20px; border-bottom: 1px solid rgba(255,255,255,.12); }
.drawer__head h2 { font-size: 30px; font-weight: 500; letter-spacing: -.04em; text-transform: uppercase; }
.drawer__x { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.drawer__x:hover { background: rgba(255,255,255,.1); }
.drawer__x .ic { width: 22px; height: 22px; }
.drawer__body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.drawer__items { flex: 1; overflow-y: auto; padding: 8px 24px; overscroll-behavior: contain; }
.citem { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.citem__img { display: block; border-radius: 6px; overflow: hidden; }
.citem__info b { display: block; font-weight: 500; }
.citem__info small { display: block; color: #aaa; font-size: 12.5px; margin-top: 3px; line-height: 1.4; }
.citem__right { text-align: right; display: grid; gap: 6px; justify-items: end; }
.citem__right button { color: #999; font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; }
.citem__right button:hover { color: var(--accent); }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 12px; }
.drawer__foot small { color: #999; }
.drawer__sub { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; }
.drawer__sub b { font-size: 30px; font-weight: 500; letter-spacing: -.04em; }
.drawer__foot .btn-accent { width: 100%; }
.drawer__cont { color: #bbb; font-size: 14px; padding: 8px; }
.drawer__cont:hover { color: #fff; }
.drawer__empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: 20px; padding: 24px; text-align: center; color: #bbb; font-size: 18px; }
.drawer__empty .btn-live { color: #fff; border-color: #fff; }

/* Checkout */
.phead--sm { padding-bottom: 2vh; }
.co { padding: 0 var(--gutter) 14vh; }
.co__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 5vw; align-items: start; }
.co__sec { border-top: 1px solid var(--line); padding: 4vh 0; display: grid; gap: 18px; }
.co__sec h2 { font-size: clamp(22px, 2.2vw, 34px); font-weight: 500; letter-spacing: -.03em; display: flex; gap: 14px; align-items: baseline; }
.co__sec h2 span { font-size: 13px; color: var(--accent); font-weight: 500; letter-spacing: 0; }
.co__hint { font-size: 14px; color: var(--muted); line-height: 1.5; }
.co__choices { display: grid; gap: 8px; }
.co__art { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; }
.co__art-head b { display: block; font-weight: 500; }
.co__art-head small { color: var(--muted); font-size: 13px; }
.co__drop { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; border: 1.5px dashed color-mix(in srgb, var(--ink) 25%, transparent); border-radius: 12px; padding: 14px 16px; cursor: pointer; transition: border-color .3s, background .3s; }
.co__drop span { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.co__drop small { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.co__drop:hover, .co__drop.is-drag { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, transparent); }
.co__drop.has-files { border-style: solid; border-color: var(--accent); }
.co__drop.has-files small { color: var(--ink); }
.co__sum { position: relative; align-self: stretch; }
.co__pin { position: sticky; top: calc(var(--nav-h) + 16px); background: var(--dark); color: #fff; border-radius: 4px; padding: 28px; display: grid; gap: 14px; }
.co__pin h2 { font-size: 28px; font-weight: 500; letter-spacing: -.04em; text-transform: uppercase; margin-bottom: 6px; }
.co__line { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.co__line small { color: #999; }
.co__line--muted { color: #bbb; }
.co__total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid rgba(255,255,255,.15); padding-top: 16px; margin-top: 4px; font-size: 18px; }
.co__total b { font-size: clamp(32px, 3vw, 46px); font-weight: 500; letter-spacing: -.05em; }
.co__pin .btn-accent { width: 100%; }
.co__pin .co__hint { color: #999; }
.co__pin .enquiry__status { color: #ccc; }
.co__empty, .co__done { padding: 6vh 0 10vh; display: grid; gap: 22px; justify-items: start; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; max-width: 760px; }
.co__thanks { font-size: clamp(56px, 11vw, 180px); font-weight: 500; letter-spacing: -.065em; line-height: .88; text-transform: uppercase; }
.co__num b { color: var(--accent); }
.hstack-site { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hstack-site .btn-live { margin-top: 0; }

@media (max-width: 1200px) { .sgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1024px) {
  .sgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5vh var(--gutter); }
  .prod__grid, .co__grid { grid-template-columns: minmax(0, 1fr); }
  .prod__pin, .co__pin { position: static; }
  .prod__pin { padding-left: 0; }
  .prod__media { grid-auto-flow: column; grid-auto-columns: 64%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none; }
  .prod__media::-webkit-scrollbar { display: none; }
  .prod__media > * { scroll-snap-align: start; }
  .prod__media:has(> :only-child) { grid-auto-columns: 100%; }
}
@media (max-width: 600px) {
  .sgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4vh 10px; padding-bottom: 8vh; }
  .prod__name { font-size: 30px; }
  .prod__media .frame { max-height: 52vh; }
  .scard__info { flex-direction: column; gap: 8px; }
  .scard__tag { display: none; }
  .scard__name { font-size: 13.5px; }
  .scard__price { font-size: 12.5px; padding: 4px 10px; }
  .opt__row--qty { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .co__pin { padding: 22px 18px; }
  .citem { grid-template-columns: 60px 1fr auto; }
  .drawer__head, .drawer__items, .drawer__foot { padding-left: 18px; padding-right: 18px; }
  .cart-btn { width: 44px; height: 44px; }
}
@media (hover: none) { .scard__name .arr { opacity: 1; transform: none; } }

/* Online payment option */
.opt__pill--pay span { flex-wrap: wrap; gap: 8px; }
.pay-marks { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-marks i { font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; border: 1px solid currentColor; border-radius: 4px; padding: 2px 6px; opacity: .8; }
.co__warn { border-left: 3px solid var(--accent); padding: 8px 14px; background: color-mix(in srgb, var(--accent) 8%, transparent); }
.co__retry { width: 100%; max-width: 620px; }

/* =====================================================================
   Language switch + Arabic (right-to-left)
   ===================================================================== */
.lang-switch { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 14px; font-weight: 600; line-height: 1; color: inherit; transition: background .3s; }
.lang-switch:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.lang-switch:lang(ar) { font-family: var(--ar-body, "Readex Pro"), "Readex Pro", sans-serif; font-size: 19px; padding-bottom: 3px; }
.lang-switch--menu { width: auto; height: auto; display: inline-flex; justify-self: start; border: 1px solid #444; border-radius: 99px; padding: 10px 18px; font-size: 15px; font-weight: 500; }
.lang-switch--menu:lang(ar) { font-size: 16px; padding: 8px 18px 10px; }

/* Latin text keeps Inter Tight (so English names look exactly as in English);
   Arabic letters fall through to the Arabic fonts picked in Site settings. */
html[dir="rtl"] body,
html[dir="rtl"] :is(input, textarea, select, button) { font-family: "Inter Tight", var(--ar-body, "Readex Pro"), "Helvetica Neue", Arial, sans-serif; }
html[dir="rtl"] body .ar-t { font-weight: var(--ar-body-w, 400); }
html[dir="rtl"] :is(.phead__title, .case__title, .next__title, .st-title__h, .st-h, .b-hero__title, .b-title, .co__thanks, .co__sec h2, .prod__name, .acc__name, .lrow__title, .pcard__title, .scard__name, .cta__big, .b-cta, .b-quote blockquote, .b-text__h, .stat__v, .marquee__track, .wordmark, .enquiry__title, .step h4, .nf h1, .mobile-menu__links, .st-next, .st-link__text) { font-family: "Inter Tight", var(--ar-head, "Alexandria"), "Helvetica Neue", Arial, sans-serif; }
html[dir="rtl"] :is(.phead__title, .case__title, .next__title, .st-title__h, .st-h, .b-hero__title, .b-title, .co__thanks, .co__sec h2, .prod__name, .acc__name, .lrow__title, .pcard__title, .scard__name, .cta__big, .b-cta, .b-quote blockquote, .b-text__h, .stat__v, .marquee__track, .wordmark, .enquiry__title, .step h4, .nf h1, .mobile-menu__links, .st-next, .st-link__text) :is(.ar-t), html[dir="rtl"] :is(.phead__title, .case__title, .next__title, .st-title__h, .st-h, .b-hero__title, .b-title, .co__thanks, .co__sec h2, .prod__name, .acc__name, .lrow__title, .pcard__title, .scard__name, .cta__big, .b-cta, .b-quote blockquote, .b-text__h, .stat__v, .marquee__track, .wordmark, .enquiry__title, .step h4, .nf h1, .mobile-menu__links, .st-next, .st-link__text).ar-t { font-weight: var(--ar-head-w, 500); }
/* Arabic letters join, so no letter-spacing on Arabic text. */
html[dir="rtl"] .ar-t, html[dir="rtl"] .ar-t * { letter-spacing: 0 !important; }
/* Arabic needs taller lines than tight Latin display type. */
html[dir="rtl"] :is(.phead__title, .case__title, .next__title, .st-title__h, .st-h, .b-hero__title, .b-title, .co__thanks, .co__sec h2, .prod__name, .acc__name, .lrow__title, .pcard__title, .scard__name, .cta__big, .b-cta, .b-quote blockquote, .b-text__h, .stat__v, .marquee__track, .wordmark, .enquiry__title, .step h4, .nf h1, .mobile-menu__links, .st-next, .st-link__text):is(.ar-t, :has(.ar-t)) { line-height: var(--ar-head-lh, 1.25); }
html[dir="rtl"] :is(.split-wrap, .wordmark__line, .cta__line):has(.ar-t) { padding-bottom: .16em; }
html[dir="rtl"] .wd:has(.ar-t) { padding-bottom: .22em; margin-bottom: -.22em; }
html[dir="rtl"] :is(.hero__lede, .statement__text, .case__summary, .case__intro .lead, .phead__intro, .b-text__body, .b-hero__sub, .st-slide, .st-mtext, .st-mintro, .prod__desc, .prod__tag, .acc__body p, .step p, .cta__copy, .pcard__sum, .scard__tag):is(.ar-t, :has(.ar-t)) { line-height: 1.75; }

/* Logo stays as designed. */
html[dir="rtl"] .logo, html[dir="rtl"] .wordmark:not(:has(.ar-t)) { direction: ltr; }
/* Arabic wordmark mirrors the English one: first line at the start, second at the end, dot after the word. */
html[dir="rtl"] .wordmark:has(.ar-t) .wordmark__dot { margin-left: 0; margin-right: .06em; }
html[dir="rtl"] body .wordmark:has(.ar-t) { line-height: 1.12; }
html[dir="rtl"] .wordmark:has(.ar-t) .wordmark__line { padding-bottom: .24em; margin-bottom: -.16em; }
/* Arrows point the reading way. */
html[dir="rtl"] .ic { scale: -1 1; }
html[dir="rtl"] .lb__nav--prev .ic { transform: none; }
html[dir="rtl"] .lb__nav--next .ic { transform: rotate(180deg); }
html[dir="rtl"] .lb__nav--prev { left: auto; right: 12px; }
html[dir="rtl"] .lb__nav--next { right: auto; left: 12px; }
/* Moving strips scroll the other way. */
html[dir="rtl"] :is(.marquee__track, .logos__track) { direction: ltr; animation-direction: reverse; }
html[dir="rtl"] .marquee__track > * { direction: rtl; }
/* Hover nudges move the reading way. */
html[dir="rtl"] .acc summary:hover .acc__name { transform: translateX(-20px); }
html[dir="rtl"] .alist .lrow:hover .lrow__title { transform: translateX(-24px); }
html[dir="rtl"] :is(.pcard__title, .scard__name) .arr { transform: translateX(8px); }
html[dir="rtl"] .lrow__arr { transform: translateX(10px); }
html[dir="rtl"] .all-work:hover .arr { transform: translateX(-12px) rotate(45deg); }
/* Spacing that sat on the left. */
html[dir="rtl"] .cta__line--indent { padding-left: 0; padding-right: 10vw; }
html[dir="rtl"] .acc__body li { padding-left: 0; padding-right: 22px; }
html[dir="rtl"] .b-media--contained { padding-left: 16%; padding-right: 16%; }
html[dir="rtl"] .st-slide { padding-right: 0; padding-left: 44px; }
html[dir="rtl"] .st-link__arrow { left: auto; right: 0; transform: translate(100%, -50%); }
html[dir="rtl"] .st-link:hover .st-link__arrow { transform: translate(0, -50%); }
html[dir="rtl"] .st-link:hover .st-link__text { padding-left: 0; padding-right: 2.78vw; }
html[dir="rtl"] .st-next { direction: ltr; }
html[dir="rtl"] .st-next .ic { scale: none; }
html[dir="rtl"] .st-next__name, html[dir="rtl"] .st-next__fake { direction: rtl; }
html[dir="rtl"] .nav__menu { margin-right: 0; margin-left: -10px; }
html[dir="rtl"] .enquiry select { background-position: 12px 55%, 17px 55%; }
html[dir="rtl"] :is(.prod__specs dd, .citem__right) { text-align: left; }
html[dir="rtl"] .citem__right { justify-items: start; }
/* Cart slides in from the left. */
html[dir="rtl"] .drawer__panel { right: auto; left: 0; transform: translateX(-100%); }
html[dir="rtl"] .drawer.is-open .drawer__panel { transform: none; }
/* Numbers, emails and phone numbers read left to right. */
html[dir="rtl"] :is(input[type="email"], input[type="tel"], input[type="number"], .nav__time) { direction: ltr; }
html[dir="rtl"] input[type="email"], html[dir="rtl"] input[type="tel"] { text-align: right; }
@media (max-width: 900px) {
  html[dir="rtl"] .cta__line--indent { padding-right: 0; }
  html[dir="rtl"] .acc__body { padding-left: 0; padding-right: 46px; }
  html[dir="rtl"] .st-link:hover .st-link__text { padding-right: 30px; }

}
html[dir="rtl"] .prod__pin { padding: 2vh clamp(0px, 2vw, 32px) 6vh 0; }
html[dir="rtl"] .acc__body li::before { left: auto; right: 0; }
html[dir="rtl"] .logos__grid { border-left: 0; border-right: 1px solid var(--line); }
html[dir="rtl"] .logos__grid > div { border-right: 0; border-left: 1px solid var(--line); }
html[dir="rtl"] .co__warn { border-left: 0; border-right: 3px solid var(--accent); }
html[dir="rtl"] .skip { left: auto; right: 16px; }
@media (max-width: 600px) { html[dir="rtl"] .acc__body { padding-right: 0; } }
@media (max-width: 1024px) { html[dir="rtl"] .prod__pin { padding-right: 0; } }

/* =====================================================================
   Phones: feel like an app
   ===================================================================== */
/* The page itself only moves up and down: no sideways drift or rubber-banding.
   Sliders (product photos, filters) scroll inside themselves, so they still swipe. */
html, body { overscroll-behavior-x: none; }
body { touch-action: pan-y pinch-zoom; }
/* Older iPhones (before iOS 16) don't know overflow: clip. */
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }
/* Taps react instantly (no double-tap-to-zoom delay). */
a, button, label, summary, select, input, textarea, [role="button"] { touch-action: manipulation; }
/* No grey flash or text selection when tapping buttons and menus. */
button, .nav, .mobile-menu, .btn-accent, .cart-btn, .lang-switch, .theme-toggle, .chip, .opt__pill { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
/* Installed on the home screen: keep clear of the notch and home bar. */
@media (display-mode: standalone) {
  body { padding-bottom: env(safe-area-inset-bottom); }
}
