/* MEET — overseas site
   Layout: a broadcast grid. Content anchors to the left columns while VI arc fields
   radiate from section corners, the way a voice carries out from the logo's arc.
   Shape motif: one quarter-arc corner (bottom-right), taken from the logo silhouette. */
:root {
  --ink: #0D0B21;
  --ink-2: #16132F;
  --ink-3: #231E46;
  --paper: #EFEFEF;
  --paper-2: #E4E3E9;
  --white: #FAFAFC;
  --violet: #8541F6;
  --violet-2: #975FF4;
  --violet-soft: #C4A9FB;
  --violet-mist: #E2D7FB;
  --signal: #2B81FC;
  --grey: #ABABAB;
  --grey-2: #D3D3D5;

  --f-display: "PP Agrandir", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-sans: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --fs-mega: clamp(4.2rem, 15vw, 15rem);
  --fs-h1: clamp(2.6rem, 6.4vw, 6.6rem);
  --fs-h2: clamp(2rem, 4.4vw, 4.4rem);
  --fs-h3: clamp(1.35rem, 1.9vw, 1.9rem);
  --fs-lead: clamp(1.08rem, 1.35vw, 1.32rem);
  --fs-body: 1.02rem;
  --fs-small: 0.9rem;
  --fs-meta: 0.72rem;

  --gutter: clamp(16px, 4.2vw, 64px);
  --maxw: 1520px;
  --arc: clamp(28px, 4vw, 64px);
  --ease: cubic-bezier(.2, .75, .1, 1);
  --ease-in-out: cubic-bezier(.7, 0, .2, 1);
  color-scheme: dark;
}

/* PP Agrandir Grand Heavy (brand display face) is declared in fonts.css as a data URI. */

/* ---------- section worlds ---------- */
.s-ink { --bg: var(--ink); --fg: var(--paper); --muted: rgba(239, 239, 239, .64); --rule: rgba(239, 239, 239, .14); --raise: var(--ink-2); --accent: var(--violet-2); }
.s-paper { --bg: var(--paper); --fg: var(--ink); --muted: rgba(13, 11, 33, .64); --rule: rgba(13, 11, 33, .14); --raise: var(--white); --accent: var(--violet); }
.s-violet { --bg: var(--violet); --fg: var(--white); --muted: rgba(250, 250, 252, .78); --rule: rgba(250, 250, 252, .26); --raise: var(--violet-2); --accent: var(--ink); }
.s-mist { --bg: var(--paper-2); --fg: var(--ink); --muted: rgba(13, 11, 33, .64); --rule: rgba(13, 11, 33, .14); --raise: var(--white); --accent: var(--violet); }
.s-ink, .s-paper, .s-violet, .s-mist { background: var(--bg); color: var(--fg); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--violet); color: var(--white); }
:focus-visible { outline: 2px solid var(--violet-2); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(88px, 12vw, 180px); overflow: clip; }
.section--tight { padding-block: clamp(64px, 8vw, 120px); }

.h1 { font-size: var(--fs-h1); line-height: .98; letter-spacing: -0.035em; font-variation-settings: "wdth" 104; font-weight: 600; }
.h2 { font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -0.03em; font-variation-settings: "wdth" 104; font-weight: 600; }
.h3 { font-size: var(--fs-h3); line-height: 1.18; letter-spacing: -0.012em; font-variation-settings: "wdth" 102; font-weight: 600; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); max-width: 40em; }
.body { color: var(--muted); max-width: 36em; }
.display { font-family: var(--f-display); font-weight: 800; letter-spacing: -0.01em; }
.accent { color: var(--accent); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--f-mono); font-size: var(--fs-meta); font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: .62em; height: .62em; background: var(--accent); flex: none; }
.meta { font-family: var(--f-mono); font-size: var(--fs-meta); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* text split helpers (JS wraps each word in a mask) */
.word { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .14em; margin: 0 -.04em -.14em; }
.word__in { display: inline-block; will-change: transform; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--violet); --btn-fg: var(--white);
  position: relative; display: inline-flex; align-items: center; gap: .9em;
  padding: 1.05em 1.5em 1.05em 1.6em;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: .98rem; letter-spacing: -.005em;
  border-radius: 0 0 1.6em 0;
  overflow: hidden; isolation: isolate;
  transition: border-radius .5s var(--ease), color .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-hover, var(--ink));
  transform: translateY(101%); transition: transform .55s var(--ease);
  border-radius: 50% 50% 0 0 / 30% 30% 0 0;
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); border-radius: 0; }
.btn:hover { border-radius: 1.6em 0 0 0; color: var(--btn-hover-fg, var(--white)); }
.btn .arrow { width: 1.05em; height: 1.05em; transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(.25em) rotate(-45deg); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--fg); box-shadow: inset 0 0 0 1px var(--rule); --btn-hover: var(--fg); --btn-hover-fg: var(--bg); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-hover: var(--ink); --btn-hover-fg: var(--white); }
.btn--ink { --btn-bg: var(--ink); --btn-fg: var(--white); --btn-hover: var(--violet); }
.s-violet .btn { --btn-bg: var(--ink); --btn-hover: var(--white); --btn-hover-fg: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6em; font-weight: 600;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 3px; transition: background-size .5s var(--ease);
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow svg { width: 1em; height: 1em; transition: transform .45s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  padding-top: env(safe-area-inset-top, 0px);
  --nav-fg: var(--paper); --nav-bg: rgba(13, 11, 33, 0);
  color: var(--nav-fg);
  transition: transform .6s var(--ease), color .4s var(--ease);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--nav-bg);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  opacity: 0; transition: opacity .4s var(--ease), background .4s var(--ease);
}
.nav.is-scrolled::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-110%); }
.nav[data-theme="light"] { --nav-fg: var(--ink); }
.nav.is-scrolled { --nav-bg: rgba(13, 11, 33, .72); }
.nav.is-scrolled[data-theme="light"] { --nav-bg: rgba(239, 239, 239, .78); }
.nav[data-theme="violet"] { --nav-fg: var(--white); }
.nav.is-scrolled[data-theme="violet"] { --nav-bg: rgba(133, 65, 246, .82); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand svg { height: 26px; width: auto; fill: currentColor; }
.brand .brand__mark { height: 30px; }
.brand .brand__mark .sq { fill: var(--violet-2); transition: transform .6s var(--ease); transform-origin: 30% 45%; }
.brand:hover .brand__mark .sq { transform: translate(-3px, 3px); }
.brand__desc { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; opacity: .62; line-height: 1.3; border-left: 1px solid currentColor; padding-left: 12px; display: none; }
@media (min-width: 1180px) { .brand__desc { display: block; } }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav__link { position: relative; font-size: .95rem; font-weight: 500; font-variation-settings: "wdth" 100; transition: font-variation-settings .45s var(--ease); }
.nav__link:hover, .nav__link[aria-current="page"] { font-variation-settings: "wdth" 125; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { padding: .78em 1.1em .78em 1.2em; font-size: .9rem; }
.nav__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav__language { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; border: 1px solid currentColor; border-radius: 0 0 14px 0; font-size: .875rem; font-weight: 600; white-space: nowrap; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.nav__language:hover { background: var(--violet); color: var(--paper); border-color: var(--violet); }
.nav__language:focus-visible { outline: 2px solid var(--violet-2); outline-offset: 4px; }
.nav[data-theme="violet"] .btn { --btn-bg: var(--ink); }
.nav__toggle { display: none; width: 46px; height: 46px; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__toggle span:nth-child(1) { top: 18px; }
.nav__toggle span:nth-child(2) { top: 26px; right: 19px; }
body.menu-open .nav__toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.menu-open .nav__toggle span:nth-child(2) { top: 22px; right: 11px; transform: rotate(-45deg); }
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
  .nav__in { gap: 12px; }
  .nav__actions { gap: 6px; }
  .nav__language { padding: 0 12px; }
}

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 110px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  clip-path: circle(0% at calc(100% - 40px) 38px);
  transition: clip-path .8s var(--ease-in-out);
  visibility: hidden;
}
body.menu-open .menu { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; }
body.menu-open .nav { --nav-fg: var(--paper); }
body.menu-open .nav::before { opacity: 0; }
.menu__links { display: grid; gap: 4px; }
.menu__links a { font-family: var(--f-display); font-size: clamp(2.4rem, 12vw, 4.6rem); line-height: 1.04; display: flex; align-items: baseline; gap: 14px; }
.menu__links a small { font-family: var(--f-mono); font-size: .7rem; color: var(--violet-2); letter-spacing: .1em; }
.menu__foot { margin-top: 40px; display: grid; gap: 6px; color: rgba(239, 239, 239, .6); font-size: .9rem; }
.menu__arcs { position: absolute; right: -20%; top: 10%; width: 90%; opacity: .5; pointer-events: none; }

/* ---------- hero (home) ---------- */
.hero { position: relative; min-height: min(100svh, 980px); display: flex; flex-direction: column; padding-top: 120px; overflow: clip; }
.hero__glow { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 78% 42%, rgba(133, 65, 246, .38), transparent 62%),
    radial-gradient(40% 40% at 92% 90%, rgba(43, 129, 252, .16), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(133, 65, 246, .14), transparent 70%); }
.hero__grid { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(239,239,239,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(239,239,239,.05) 1px, transparent 1px);
  background-size: calc((100% - 2 * var(--gutter)) / 12) 120px; background-position: var(--gutter) 0;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 70%, transparent); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 70%, transparent); }
.hero__stage { position: absolute; top: 0; right: 0; bottom: 0; width: min(64vw, 1100px); pointer-events: none; }
.hero__stage canvas { width: 100% !important; height: 100% !important; }
.hero__fallback { position: absolute; inset: 8% 0 8% 8%; display: grid; place-items: center; transition: opacity .8s var(--ease); }
.hero__fallback svg { width: 100%; height: 100%; overflow: visible; }
.hero.has-3d .hero__fallback { opacity: 0; }
.hero__content { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 30px; padding-block: 40px 56px; }
.hero__title { max-width: 11.5em; }
.hero__title .accent-word { color: var(--violet-2); font-style: normal; }
.hero__intro { max-width: 34em; }
.hero__foot { position: relative; z-index: 2; border-top: 1px solid var(--rule); }
.hero__foot-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: center; gap: 24px; padding-block: 22px; }
.hero__fact { display: grid; gap: 2px; }
.hero__fact b { font-family: var(--f-display); font-size: clamp(1.1rem, 1.6vw, 1.5rem); font-weight: 800; letter-spacing: -.01em; }
.hero__fact span { font-size: .82rem; color: var(--muted); }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: var(--fs-meta); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { width: 1px; height: 38px; background: var(--rule); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--violet-2); animation: cue 1.8s var(--ease-in-out) infinite; }
@keyframes cue { to { top: 100%; } }
@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: 96px; }
  .hero__stage { position: relative; width: 100%; height: 58vw; min-height: 260px; max-height: 420px; order: -1; margin-top: 8px; }
  .hero__fallback { inset: 0; }
  .hero__content { padding-top: 8px; }
  .hero__foot-in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .scroll-cue { display: none; }
}
@media (max-width: 520px) {
  .hero__foot-in { grid-template-columns: 1fr; gap: 14px; }
  .hero__fact { grid-template-columns: 7.5em 1fr; align-items: baseline; gap: 12px; }
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding-block: clamp(22px, 3vw, 40px); border-block: 1px solid var(--rule); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; gap: clamp(28px, 4vw, 64px); padding-right: clamp(28px, 4vw, 64px); }
.marquee__item { font-family: var(--f-display); font-size: clamp(2.2rem, 6.4vw, 6.4rem); line-height: 1; white-space: nowrap; letter-spacing: -.01em; }
.marquee__item--outline { color: transparent; -webkit-text-stroke: 1.5px currentColor; }
.s-violet .marquee__item--outline { -webkit-text-stroke-color: var(--white); }
.marquee__sep { width: clamp(30px, 4vw, 60px); height: clamp(30px, 4vw, 60px); flex: none; }
.marquee__sep svg { width: 100%; height: 100%; fill: currentColor; animation: spin 10s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- experience / stats ---------- */
.exp { display: grid; gap: clamp(40px, 5vw, 80px); }
.exp__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.exp__head .h2 { max-width: 11em; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.section-head { display: grid; gap: 22px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.stat { position: relative; padding: 34px 28px 30px 0; display: grid; gap: 20px; align-content: start; border-right: 1px solid var(--rule); }
.stat + .stat { padding-left: 28px; }
.stat:last-child { border-right: 0; }
.stat__gauge { width: 84px; height: 84px; }
.stat__gauge path { fill: none; stroke-linecap: butt; }
.stat__gauge .track { stroke: var(--rule); }
.stat__gauge .fill { stroke: var(--violet); }
.stat__num { font-family: var(--f-display); font-size: clamp(2.4rem, 5.2vw, 5.4rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat__num small { font-size: .42em; letter-spacing: 0; margin-right: .3em; vertical-align: .55em; font-family: var(--f-mono); font-weight: 500; }
.stat__label { color: var(--muted); max-width: 14em; }
.data-note { margin-top: 26px; }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--rule); grid-template-columns: 64px 1fr; align-items: center; column-gap: 20px; }
  .stat__gauge { width: 64px; height: 64px; grid-row: span 2; }
}

/* ---------- overseas globe ---------- */
.overseas { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
@media (max-width: 980px) { .overseas { grid-template-columns: 1fr; } }
.globe { position: relative; aspect-ratio: 1; width: 100%; max-width: 680px; margin-inline: auto; touch-action: pan-y; cursor: grab; }
.globe:active { cursor: grabbing; }
.globe canvas { width: 100%; height: 100%; }
.globe__legend { position: absolute; left: 0; bottom: 0; display: grid; gap: 6px; }
.globe__legend span { display: inline-flex; align-items: center; gap: 8px; }
.globe__legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--violet-2); }
.globe__legend i.hub { background: var(--white); box-shadow: 0 0 0 3px rgba(151, 95, 244, .45); }
.ov-list { border-top: 1px solid var(--rule); margin-top: 36px; }
.ov-row {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) auto; gap: 18px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--rule); cursor: default;
  transition: padding .5s var(--ease), color .4s var(--ease);
}
.ov-row::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 10px; background: var(--violet-2); transform: translate(-22px, -50%) scale(0); transition: transform .5s var(--ease); }
.ov-row.is-active { padding-left: 26px; }
.ov-row.is-active::before { transform: translate(0, -50%) scale(1); }
.ov-row__brand { font-weight: 600; font-size: 1.15rem; font-variation-settings: "wdth" 100; transition: font-variation-settings .5s var(--ease); }
.ov-row.is-active .ov-row__brand { font-variation-settings: "wdth" 120; }
.ov-row__project { color: var(--muted); }
.ov-row__where { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .06em; color: var(--muted); text-align: right; white-space: nowrap; }
.ov-row.is-active .ov-row__where { color: var(--fg); }
@media (max-width: 600px) {
  .ov-row { grid-template-columns: 1fr; gap: 4px; }
  .ov-row__where { text-align: left; }
}

/* ---------- selected work (horizontal) ---------- */
.work-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: clamp(40px, 5vw, 72px); }
.work-head .lead { max-width: 30em; }
.hscroll { position: relative; }
.hscroll__track { display: flex; gap: clamp(16px, 2vw, 32px); will-change: transform; }
.case-card { position: relative; flex: none; width: min(60vw, 900px, calc((100svh - 330px) * 1.7778)); min-width: 420px; display: grid; gap: 22px; }
.case-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 0 0 var(--arc) 0; background: var(--ink-3); }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.2s var(--ease); will-change: transform; }
.case-card:hover .case-card__media img { transform: scale(1.04); }
.case-card__index { position: absolute; left: 20px; top: 18px; z-index: 2; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; color: var(--white); mix-blend-mode: difference; }
.case-card__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 32px; align-items: start; }
.case-card__title { font-size: clamp(1.4rem, 2.2vw, 2.1rem); line-height: 1.12; letter-spacing: -.02em; font-weight: 600; font-variation-settings: "wdth" 102; transition: font-variation-settings .6s var(--ease); }
.case-card:hover .case-card__title { font-variation-settings: "wdth" 116; }
.case-card__text { color: var(--muted); max-width: 34em; }
.case-card__meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tag { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; padding: .45em .8em; box-shadow: inset 0 0 0 1px var(--rule); color: var(--muted); }
.case-card__cta { align-self: start; }
.hscroll__end { flex: none; width: min(40vw, 440px); display: grid; align-content: center; justify-items: start; gap: 24px; padding-inline: 4vw; }
.hscroll__end .h3 { max-width: 10em; }
.hscroll__progress { margin-top: 40px; height: 1px; background: var(--rule); position: relative; }
.hscroll__progress i { position: absolute; left: 0; top: -1px; height: 3px; width: 100%; background: var(--violet); transform-origin: left; transform: scaleX(0); }
@media (max-width: 1023px) {
  .hscroll__track { flex-direction: column; gap: 56px; transform: none !important; }
  .case-card { width: 100%; min-width: 0; }
  .hscroll__end { width: 100%; padding: 0; }
  .hscroll__progress { display: none; }
}
@media (max-width: 600px) { .case-card__body { grid-template-columns: 1fr; } }

/* ---------- needs ---------- */
.needs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(40px, 5vw, 80px); border-top: 1px solid var(--rule); }
.need { position: relative; padding: 36px 32px 44px 0; display: grid; gap: 18px; align-content: start; border-right: 1px solid var(--rule); }
.need + .need { padding-left: 32px; }
.need:last-child { border-right: 0; }
.need__glyph { width: 112px; height: 112px; margin-bottom: 18px; }
.need__glyph svg { width: 100%; height: 100%; overflow: visible; }
.need .body { max-width: 26em; }
@media (max-width: 900px) {
  .needs { grid-template-columns: 1fr; }
  .need, .need + .need { padding: 32px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
}

/* ---------- glyph animation (VI arcs) ---------- */
.g-arc { transform-box: view-box; }
.g-pulse .g-arc { animation: arcPulse 2.6s var(--ease-in-out) infinite; transform-origin: var(--ox, 0) var(--oy, 0); }
.g-pulse .g-arc:nth-child(2) { animation-delay: .18s; }
.g-pulse .g-arc:nth-child(3) { animation-delay: .36s; }
.g-pulse .g-arc:nth-child(4) { animation-delay: .54s; }
.g-pulse .g-arc:nth-child(5) { animation-delay: .72s; }
@keyframes arcPulse { 0%, 100% { fill-opacity: .3; } 40% { fill-opacity: 1; } }
.g-spin { animation: spin 14s linear infinite; transform-origin: 50% 50%; transform-box: view-box; }
.g-spin-r { animation: spin 20s linear infinite reverse; transform-origin: 50% 50%; transform-box: view-box; }
.g-breathe { animation: breathe 3.4s var(--ease-in-out) infinite; transform-origin: 50% 50%; transform-box: view-box; }
@keyframes breathe { 0%, 100% { transform: scale(.94); } 50% { transform: scale(1.04); } }
.g-swing-a { animation: swingA 3.2s var(--ease-in-out) infinite; transform-box: view-box; transform-origin: 50% 50%; }
.g-swing-b { animation: swingB 3.2s var(--ease-in-out) infinite; transform-box: view-box; transform-origin: 50% 50%; }
@keyframes swingA { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-5px, 0); } }
@keyframes swingB { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(5px, 0); } }

/* glyph fills */
.gp { fill: var(--accent); }
.gs { fill: currentColor; opacity: .22; }
.gs2 { fill: var(--accent); opacity: .45; }
.decision__arc { color: var(--accent); }
.svc-card:nth-child(4) .gp, .svc-card:nth-child(4) .gs2 { fill: var(--white); }

/* ---------- services stack (home) ---------- */
.svc-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.svc-layout__head { position: sticky; top: 120px; display: grid; gap: 26px; }
@media (max-width: 900px) { .svc-layout { grid-template-columns: 1fr; } .svc-layout__head { position: static; } }
.svc-stack { display: grid; gap: 22px; }
.svc-card {
  position: sticky; top: calc(110px + var(--i) * 22px);
  display: grid; grid-template-columns: 1fr auto; gap: 18px 28px;
  padding: clamp(26px, 3vw, 44px);
  background: var(--raise); border-radius: 0 0 var(--arc) 0;
  box-shadow: 0 -1px 0 var(--rule) inset, 0 30px 60px -30px rgba(0, 0, 0, .5);
  transform-origin: 50% 0;
  min-height: 300px;
}
.svc-card:nth-child(2) { background: #1C1839; }
.svc-card:nth-child(3) { background: #241F49; }
.svc-card:nth-child(4) { background: var(--violet); --muted: rgba(250, 250, 252, .8); --rule: rgba(250, 250, 252, .3); }
.svc-card__num { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .12em; color: var(--muted); }
.svc-card__title { grid-column: 1; font-size: clamp(1.6rem, 2.6vw, 2.5rem); line-height: 1.06; letter-spacing: -.025em; font-weight: 600; font-variation-settings: "wdth" 108; }
.svc-card__text { grid-column: 1; color: var(--muted); max-width: 30em; }
.svc-card__glyph { grid-column: 2; grid-row: 1 / span 3; width: clamp(90px, 10vw, 140px); height: clamp(90px, 10vw, 140px); align-self: center; }
.svc-card__glyph svg { width: 100%; height: 100%; overflow: visible; }
@media (max-width: 600px) { .svc-card { position: relative; top: 0; grid-template-columns: 1fr; min-height: 0; } .svc-card__glyph { grid-column: 1; grid-row: auto; order: -1; width: 84px; height: 84px; } }

/* ---------- process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(var(--steps, 3), minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: clamp(48px, 6vw, 96px); }
.process__line { position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: var(--rule); }
.process__line i { position: absolute; inset: 0; background: var(--violet); transform-origin: left; transform: scaleX(0); }
.step { position: relative; display: grid; gap: 16px; align-content: start; padding-top: 52px; }
.step__node { position: absolute; top: 0; left: 0; width: 23px; height: 23px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--rule); transition: background .5s var(--ease), box-shadow .5s var(--ease); }
.step__node::after { content: ""; position: absolute; inset: 6px; background: var(--rule); transition: background .5s var(--ease); }
.step.is-lit .step__node { box-shadow: inset 0 0 0 1px var(--violet); }
.step.is-lit .step__node::after { background: var(--violet); }
.step__num { font-family: var(--f-display); font-size: clamp(2.4rem, 4vw, 3.8rem); line-height: 1; color: var(--accent); }
.step .h3 { max-width: 13em; }
.step .body { max-width: 26em; }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; gap: 40px; padding-left: 44px; }
  .process__line { left: 11px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .process__line i { transform-origin: top; transform: scaleY(0); }
  .step { padding-top: 0; }
  .step__node { left: -44px; }
}

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: clip; padding-block: clamp(110px, 14vw, 220px); }
.cta__arcs { position: absolute; right: -6%; bottom: -30%; width: min(90vw, 1100px); aspect-ratio: 1; pointer-events: none; }
.cta__arcs svg { width: 100%; height: 100%; overflow: visible; }
.cta__in { position: relative; z-index: 2; display: grid; gap: 34px; max-width: 980px; }
.cta__title { font-size: clamp(2.6rem, 7vw, 7.2rem); line-height: .96; letter-spacing: -.04em; font-weight: 600; font-variation-settings: "wdth" 106; }
.cta__round {
  position: absolute; right: var(--gutter); top: 50%; z-index: 3;
  width: clamp(150px, 15vw, 230px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center; padding: 20px;
  background: var(--ink); color: var(--white); font-weight: 600; line-height: 1.2;
  transform: translateY(-50%);
  transition: background .5s var(--ease), color .5s var(--ease);
}
.cta__round:hover { background: var(--white); color: var(--ink); }
.cta__round svg { position: absolute; inset: -14px; width: calc(100% + 28px); height: calc(100% + 28px); animation: spin 18s linear infinite; }
.cta__round svg text { font-family: var(--f-mono); font-size: 7.6px; letter-spacing: 2.4px; fill: currentColor; text-transform: uppercase; }
.s-violet .cta__round svg text { fill: var(--white); }
@media (max-width: 900px) { .cta__round { position: relative; right: auto; top: auto; transform: none; margin-top: 12px; } }

/* ---------- footer ---------- */
.footer { position: relative; padding-top: clamp(80px, 9vw, 140px); overflow: clip; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 40px; padding-bottom: clamp(48px, 6vw, 90px); }
.footer__contact { display: grid; gap: 12px; margin-top: 28px; max-width: 360px; }
.footer__contact a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 0 0 20px 0; font-size: clamp(.88rem, 1.2vw, 1.05rem); font-weight: 600; transition: border-color .3s, background .3s; }
.footer__contact a:first-child { border-color: var(--violet-2); background: var(--ink-3); }
.footer__contact a:hover { border-color: var(--violet-soft); background: var(--ink-2); }
.footer__contact img { flex: none; }
.footer__contact span { min-width: 0; overflow-wrap: anywhere; }
.footer__contact small { display: block; color: var(--violet-soft); font-size: .72rem; font-weight: 500; margin-bottom: 2px; }
.footer__contact svg { width: 16px; height: 16px; flex: none; margin-left: auto; }
.menu__foot a { color: var(--paper); overflow-wrap: anywhere; }
.footer__desc { color: var(--muted); max-width: 26em; margin-top: 18px; }
.footer__col h4 { font-family: var(--f-mono); font-size: var(--fs-meta); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { position: relative; }
.footer__col a:hover { color: var(--violet-2); }
.footer__col p { color: var(--muted); }
.footer__clock { font-family: var(--f-mono); font-size: .9rem; color: var(--fg); font-variant-numeric: tabular-nums; }
.footer__word { position: relative; padding-inline: var(--gutter); }
.footer__word svg { width: 100%; height: auto; fill: var(--paper); }
.footer__word .wm-letter { transform-box: fill-box; transform-origin: 50% 100%; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 26px calc(26px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--rule); margin-top: clamp(24px, 3vw, 48px); color: var(--muted); font-size: .84rem; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; padding-top: clamp(150px, 18vw, 240px); padding-bottom: clamp(64px, 8vw, 120px); overflow: clip; }
.page-hero__in { position: relative; z-index: 2; display: grid; gap: 30px; }
.page-hero .h1 { max-width: 13em; }
.page-hero__arcs { position: absolute; right: -8vw; top: -6vw; width: min(62vw, 900px); aspect-ratio: 1; pointer-events: none; opacity: .9; }
.page-hero__arcs svg { width: 100%; height: 100%; overflow: visible; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-family: var(--f-mono); font-size: var(--fs-meta); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.crumbs a:hover { color: var(--fg); }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- services page ---------- */
.svc-page { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.svc-nav { position: sticky; top: 120px; display: grid; gap: 4px; }
.svc-nav a { display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 12px 0; color: var(--muted); border-bottom: 1px solid var(--rule); font-weight: 500; transition: color .3s var(--ease), padding .5s var(--ease); }
.svc-nav a span { font-family: var(--f-mono); font-size: .72rem; padding-top: .25em; }
.svc-nav a.is-active { color: var(--fg); padding-left: 10px; }
.svc-nav a.is-active span { color: var(--accent); }
@media (max-width: 980px) { .svc-page { grid-template-columns: 1fr; } .svc-nav { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; } }
@media (max-width: 480px) { .svc-nav { grid-template-columns: 1fr; } }
.svc-block { display: grid; grid-template-columns: minmax(0, 1fr) clamp(140px, 16vw, 220px); gap: 24px 48px; padding-block: clamp(56px, 7vw, 110px); border-top: 1px solid var(--rule); scroll-margin-top: 90px; }
.svc-block:first-child { border-top: 0; padding-top: 0; }
.svc-block__glyph { grid-column: 2; grid-row: 1 / span 4; width: 100%; aspect-ratio: 1; }
.svc-block__glyph svg { width: 100%; height: 100%; overflow: visible; }
.svc-block > :not(.svc-block__glyph) { grid-column: 1; }
.svc-block .h2 { font-size: clamp(1.9rem, 3.6vw, 3.4rem); }
.scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 8px; }
.scope-wrap { display: grid; gap: 12px; }
.scope li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--rule); }
.scope li svg { width: 16px; height: 16px; margin-top: .3em; }
.scope li svg path { fill: var(--accent); }
.outputs { padding: 22px 26px; background: var(--raise); border-radius: 0 0 24px 0; display: grid; gap: 8px; }
.outputs p { color: var(--muted); }
@media (max-width: 700px) {
  .svc-block { grid-template-columns: 1fr; }
  .svc-block__glyph { grid-column: 1; grid-row: auto; width: 110px; order: -1; }
  .scope { grid-template-columns: 1fr; }
}

/* FAQ */
.faq { border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__q { width: 100%; display: grid; grid-template-columns: 1fr 40px; align-items: center; gap: 24px; padding: 26px 0; text-align: left; font-size: clamp(1.1rem, 1.6vw, 1.45rem); font-weight: 600; letter-spacing: -.01em; }
.faq__icon { width: 40px; height: 40px; position: relative; border-radius: 0 0 14px 0; box-shadow: inset 0 0 0 1px var(--rule); transition: background .4s var(--ease), border-radius .5s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .5s var(--ease); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon { background: var(--violet); color: var(--white); border-radius: 14px 0 0 0; box-shadow: none; }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { overflow: hidden; height: 0; }
.faq__a-in { padding-bottom: 28px; color: var(--muted); max-width: 46em; }
.no-js .faq__a, .faq__item.is-open .faq__a { height: auto; }

/* related list */
.related { display: grid; border-top: 1px solid var(--rule); }
.related a { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr) 40px; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--rule); transition: padding .5s var(--ease); }
.related a:hover { padding-left: 16px; }
.related a b { font-weight: 600; font-size: 1.1rem; }
.related a span { color: var(--muted); }
.related a svg { width: 22px; height: 22px; justify-self: end; transition: transform .5s var(--ease); }
.related a:hover svg { transform: rotate(-45deg); }
@media (max-width: 700px) { .related a { grid-template-columns: 1fr 30px; } .related a span { grid-column: 1; } .related a svg { grid-row: 1; grid-column: 2; } }

/* ---------- work list ---------- */
.work-list { border-top: 1px solid var(--rule); }
.work-row { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1.6fr) minmax(0, 1.4fr) 48px; gap: 24px; align-items: center; padding: clamp(28px, 3.4vw, 48px) 0; border-bottom: 1px solid var(--rule); }
.work-row__idx { font-family: var(--f-mono); font-size: .76rem; color: var(--muted); letter-spacing: .1em; }
.work-row__title { font-size: clamp(1.7rem, 3.6vw, 3.4rem); line-height: 1.02; letter-spacing: -.03em; font-weight: 600; font-variation-settings: "wdth" 100; transition: font-variation-settings .6s var(--ease), color .4s var(--ease); }
.work-row__title small { display: block; font-size: .36em; letter-spacing: 0; color: var(--muted); font-weight: 500; margin-top: .45em; font-variation-settings: "wdth" 100; }
.work-row:hover .work-row__title { font-variation-settings: "wdth" 120; color: var(--accent); }
.work-row__text { color: var(--muted); display: grid; gap: 14px; }
.work-row__arrow { width: 48px; height: 48px; border-radius: 0 0 16px 0; box-shadow: inset 0 0 0 1px var(--rule); display: grid; place-items: center; transition: background .4s var(--ease), border-radius .5s var(--ease), color .4s; }
.work-row__arrow svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.work-row:hover .work-row__arrow { background: var(--violet); color: var(--white); border-radius: 16px 0 0 0; box-shadow: none; }
.work-row:hover .work-row__arrow svg { transform: rotate(-45deg); }
.work-row__thumb { display: none; }
@media (max-width: 900px) {
  .work-row { grid-template-columns: 1fr; gap: 16px; }
  .work-row__idx { order: -2; }
  .work-row__thumb { display: block; order: -1; aspect-ratio: 16/9; overflow: hidden; border-radius: 0 0 var(--arc) 0; }
  .work-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .work-row__arrow { display: none; }
}
.hover-reveal { position: fixed; left: 0; top: 0; z-index: 40; width: clamp(280px, 26vw, 440px); aspect-ratio: 16 / 10; pointer-events: none; overflow: hidden; border-radius: 0 0 32px 0; opacity: 0; transform: translate(-50%, -50%) scale(.8); }
.hover-reveal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s var(--ease); }
.hover-reveal img.is-on { opacity: 1; }

/* ---------- case page ---------- */
.case-hero { position: relative; padding-top: clamp(140px, 16vw, 210px); }
.case-hero__head { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 28px 64px; align-items: end; padding-bottom: clamp(40px, 5vw, 72px); }
.case-hero__summary { color: var(--muted); font-size: var(--fs-lead); line-height: 1.55; }
@media (max-width: 900px) { .case-hero__head { grid-template-columns: 1fr; } }
.case-hero__media { position: relative; aspect-ratio: 16 / 8; overflow: hidden; border-radius: 0 0 clamp(40px, 7vw, 120px) 0; background: var(--ink-3); }
.case-hero__media img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
@media (max-width: 700px) { .case-hero__media { aspect-ratio: 4 / 3; } }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); border-top: 1px solid var(--rule); }
.fact { padding: 24px 24px 26px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 8px; align-content: start; }
.fact dt { font-family: var(--f-mono); font-size: var(--fs-meta); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fact dd { font-weight: 500; }
.prose-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 96px); }
.prose-2 > div { display: grid; gap: 18px; align-content: start; }
@media (max-width: 800px) { .prose-2 { grid-template-columns: 1fr; } }
.decisions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(36px, 4vw, 64px); }
.decision { position: relative; padding: clamp(26px, 2.6vw, 40px); background: var(--raise); border-radius: 0 0 var(--arc) 0; display: grid; gap: 16px; align-content: start; overflow: hidden; min-height: 280px; }
.decision__n { font-family: var(--f-display); font-size: 3.4rem; line-height: 1; color: var(--accent); opacity: .9; }
.decision p { color: var(--muted); }
.decision__arc { position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; opacity: .25; transition: transform .8s var(--ease), opacity .5s; }
.decision:hover .decision__arc { transform: rotate(-90deg) scale(1.1); opacity: .6; }
@media (max-width: 900px) { .decisions { grid-template-columns: 1fr; } .decision { min-height: 0; } }

.ba { position: relative; aspect-ratio: var(--ratio, 16 / 9); overflow: hidden; border-radius: 0 0 var(--arc) 0; background: var(--ink-3); user-select: none; touch-action: pan-y; --pos: 50%; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--white); transform: translateX(-1px); pointer-events: none; }
.ba__handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; transform: translate(-50%, -50%); background: var(--violet); border-radius: 0 0 18px 0; box-shadow: 0 10px 30px rgba(0,0,0,.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 24px; }
.ba__label { position: absolute; top: 16px; z-index: 2; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; padding: .5em .8em; background: rgba(13, 11, 33, .7); color: var(--white); pointer-events: none; }
.ba__label--l { left: 16px; }
.ba__label--r { right: 16px; background: var(--violet); }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba:focus-within .ba__handle::after { outline: 2px solid var(--white); outline-offset: 3px; }

.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.gallery figure { margin: 0; position: relative; overflow: hidden; background: var(--ink-3); }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g-wide { grid-column: span 12; aspect-ratio: 16 / 9; }
.gallery .g-half { grid-column: span 6; aspect-ratio: 16 / 9; }
.gallery .g-7 { grid-column: span 7; aspect-ratio: 4 / 3; }
.gallery .g-5 { grid-column: span 5; aspect-ratio: 4 / 3; }
.gallery figure:last-child { border-radius: 0 0 var(--arc) 0; }
.gallery figcaption { position: absolute; left: 14px; bottom: 12px; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--white); background: rgba(13, 11, 33, .6); padding: .4em .7em; }
@media (max-width: 700px) { .gallery .g-half, .gallery .g-7, .gallery .g-5 { grid-column: span 12; } }

.ledwall { position: relative; overflow: hidden; padding-block: 8px; }
.ledwall__track { display: flex; width: max-content; will-change: transform; }
.ledwall__group { display: flex; gap: 14px; padding-right: 14px; }
.ledwall__group img { height: clamp(120px, 15vw, 230px); width: auto; aspect-ratio: 1920 / 400; object-fit: cover; flex: none; }
.ledwall::before, .ledwall::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12vw; z-index: 2; pointer-events: none; }
.ledwall::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.ledwall::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

.delivered { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; padding: clamp(32px, 4vw, 60px); background: var(--violet); color: var(--white); border-radius: 0 0 var(--arc) 0; }
.delivered .eyebrow { color: rgba(250, 250, 252, .8); }
.delivered .eyebrow::before { background: var(--white); }
.delivered__text { font-size: clamp(1.4rem, 2.6vw, 2.4rem); line-height: 1.15; letter-spacing: -.02em; font-weight: 600; max-width: 22em; margin-top: 14px; }
.delivered__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.delivered__chips a { padding: .6em 1em; background: rgba(13, 11, 33, .22); font-weight: 500; font-size: .92rem; transition: background .4s; }
.delivered__chips a:hover { background: var(--ink); }
@media (max-width: 800px) { .delivered { grid-template-columns: 1fr; } }

.next-case { position: relative; display: block; overflow: hidden; padding-block: clamp(80px, 10vw, 160px); }
.next-case__bg { position: absolute; inset: 0; opacity: .0; transition: opacity .8s var(--ease); }
.next-case__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1.4s var(--ease); }
.next-case__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,11,33,.92), rgba(13,11,33,.5)); }
.next-case:hover .next-case__bg { opacity: 1; }
.next-case:hover .next-case__bg img { transform: scale(1); }
.next-case__in { position: relative; display: grid; gap: 20px; }
.next-case__title { font-size: clamp(2.4rem, 7vw, 7rem); line-height: .96; letter-spacing: -.04em; font-weight: 600; font-variation-settings: "wdth" 100; transition: font-variation-settings .8s var(--ease); }
.next-case:hover .next-case__title { font-variation-settings: "wdth" 122; }

/* ---------- about ---------- */
.facts-table { border-top: 1px solid var(--rule); }
.facts-table__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.facts-table__row dt { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: .2em; }
.facts-table__row dd { font-size: 1.12rem; font-weight: 500; }
@media (max-width: 600px) { .facts-table__row { grid-template-columns: 1fr; gap: 6px; } }
.statement { font-size: clamp(1.8rem, 3.8vw, 3.6rem); line-height: 1.12; letter-spacing: -.03em; font-weight: 500; font-variation-settings: "wdth" 104; max-width: 22em; }
.statement .w { opacity: .18; transition: opacity .2s; }
.big-numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(40px, 5vw, 80px); }
.big-number { display: grid; gap: 10px; padding-top: 22px; border-top: 1px solid var(--rule); }
.big-number b { font-family: var(--f-display); font-size: clamp(2.6rem, 6vw, 6rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.big-number span { color: var(--muted); max-width: 16em; }
@media (max-width: 760px) { .big-numbers { grid-template-columns: 1fr; } }
.office-places { display: grid; gap: clamp(32px, 4vw, 64px); margin-top: clamp(48px, 6vw, 96px); }
.office-card { container-type: inline-size; min-width: 0; overflow: hidden; border-radius: 0 0 var(--arc) 0; background: var(--raise); scroll-margin-top: 110px; }
.office-card__visual { position: relative; isolation: isolate; }
.office-card__photo { width: 100%; height: auto; }
.office-card__map { position: absolute; right: 0; top: 0; width: 49.2%; height: auto; pointer-events: none; }
.office-card__title { position: absolute; left: 4.4%; top: 7%; width: 42%; color: var(--paper); }
.office-card__role { display: block; font-family: var(--f-mono); font-size: clamp(.63rem, .88cqw, .8rem); letter-spacing: .13em; text-transform: uppercase; margin-bottom: 1.2cqw; }
.office-card__title h3 { font-family: var(--f-sans); font-size: 5.4cqw; font-variation-settings: "wdth" 80; font-weight: 700; line-height: 1; letter-spacing: .015em; text-transform: uppercase; text-wrap: nowrap; }
.office-card__city { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6cqw; margin-top: 3.2cqw; }
.office-card__city [lang] { font-size: 1.75cqw; letter-spacing: .12em; font-weight: 300; }
.office-card--shenzhen .office-card__city [lang] { color: var(--ink-3); }
.office-card__city > :last-child { font-family: var(--f-mono); font-size: clamp(.6rem, .85cqw, .8rem); letter-spacing: .08em; text-transform: uppercase; }
.office-card__caption { padding: clamp(24px, 3vw, 42px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px 48px; align-items: start; }
.office-card__caption address { font-style: normal; display: grid; gap: 10px; font-size: 1rem; line-height: 1.65; }
.office-card__caption address strong { font-weight: 600; }
.office-card__caption address > span { color: var(--muted); max-width: 45em; }
.office-card__access { display: grid; gap: 12px; justify-items: start; }
.office-card__time { font-family: var(--f-mono); font-size: .85rem; font-variant-numeric: tabular-nums; color: var(--muted); }
.office-card__access p { font-size: .9rem; color: var(--muted); }
.office-card__access a { display: inline-flex; align-items: center; gap: .6em; font-size: .92rem; border-bottom: 1px solid var(--rule); padding-block: 3px; transition: color .2s; }
.office-card__access a:hover { color: var(--accent); }
.office-card__access a svg { width: 16px; height: 16px; flex: none; }
.office-card__note { grid-column: 1 / -1; font-size: .72rem; color: var(--muted); }
.office-card__note a { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 760px) {
  .office-card__caption { grid-template-columns: 1fr; gap: 20px; }
  .office-card__title { top: 8%; width: 43%; }
  .office-card__title h3 { font-size: 6.9cqw; }
  .office-card__role { font-size: .56rem; letter-spacing: .06em; margin-bottom: 2cqw; }
  .office-card__city { margin-top: 3cqw; gap: 0; }
  .office-card__city [lang] { font-size: max(15px, 3cqw); font-weight: 500; }
  .office-card__city > :last-child { display: none; }
  .office-card__caption address { font-size: .92rem; }
}

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 120px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; }
.field { position: relative; display: grid; gap: 8px; padding-top: 22px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; gap: 8px; }
.field label em { font-style: normal; color: var(--accent); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1.1rem; color: var(--fg); background: transparent;
  border: 0; border-bottom: 1px solid var(--rule); padding: 10px 0 14px; border-radius: 0; outline: none; resize: vertical;
  transition: border-color .3s;
}
.field textarea { min-height: 140px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .6; }
.field__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--violet); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.field:focus-within .field__bar { transform: scaleX(1); }
.field__error { font-size: .84rem; color: #E35D7A; min-height: 1.3em; }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: #E35D7A; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 26px; }
.form__note { font-size: .84rem; color: var(--muted); max-width: 30em; }
.form__status { grid-column: 1 / -1; font-weight: 500; min-height: 1.4em; }
.form-done { display: grid; gap: 18px; padding: clamp(28px, 4vw, 56px); background: var(--violet); color: var(--white); border-radius: 0 0 var(--arc) 0; }
.form-done[hidden] { display: none; }
.form-done .h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
[hidden] { display: none !important; }
.motion-picture { display: contents; }
.form-noscript { margin-bottom: 24px; }
.js .form-noscript, .no-js #enquiry { display: none; }
.form__note a, .privacy-copy a:not(.btn) { text-decoration: underline; text-underline-offset: .18em; }
.form__status { grid-column: 1 / -1; color: var(--ink); font-weight: 600; }
.enquiry-preview { white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--f-sans); font-size: 1rem; line-height: 1.6; padding: 20px; background: var(--ink-2); color: var(--paper); border: 1px solid var(--rule); }
.enquiry-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.privacy-copy { max-width: 900px; display: grid; gap: 20px; }
.privacy-copy h2:not(:first-child) { margin-top: 24px; }
.privacy-copy p { color: var(--muted); max-width: 65ch; }
.privacy-copy .btn { justify-self: start; margin-top: 16px; }
.contact-side { display: grid; gap: 22px; }
.contact-card { padding: 26px 28px; background: var(--raise); border-radius: 0 0 24px 0; display: grid; gap: 10px; }
.contact-card .big { font-size: 1.35rem; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; user-select: all; }
.contact-card--direct { gap: 14px; transition: transform .3s var(--ease), box-shadow .3s; }
.contact-card--direct:hover { transform: translateY(-3px); box-shadow: 0 12px 32px color-mix(in srgb, var(--ink) 12%, transparent); }
.contact-card--direct .big { overflow-wrap: anywhere; user-select: auto; }
.contact-card--direct > :last-child { font-size: .85rem; opacity: .8; }
.contact-card__label { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.contact-card__label svg { width: 19px; height: 19px; margin-left: auto; }
.contact-card--email { border: 1px solid var(--violet); }
.contact-card--email .contact-card__label { color: var(--violet); }
.contact-card--email .contact-card__label img { filter: brightness(0) saturate(100%); }
.contact-card--email .big { font-size: clamp(1rem, 1.4vw, 1.2rem); }
@media (max-width: 900px) { .contact-side { order: -1; } }
.copy-btn { justify-self: start; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: .55em .9em; box-shadow: inset 0 0 0 1px var(--rule); transition: background .3s, color .3s; }
.copy-btn:hover { background: var(--fg); color: var(--bg); }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor__dot { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--violet-2); border-radius: 50%; }
.cursor__ring { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 1px solid rgba(151, 95, 244, .7); border-radius: 50%; display: grid; place-items: center; transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background .4s var(--ease), border-color .4s; }
.cursor__label { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--white); opacity: 0; transition: opacity .3s; white-space: nowrap; }
.cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--violet-2); }
.cursor.is-view .cursor__ring { width: 110px; height: 110px; margin: -55px 0 0 -55px; background: var(--violet); border-color: var(--violet); }
.cursor.is-view .cursor__label { opacity: 1; }
.cursor.is-view .cursor__dot { opacity: 0; }
.cursor.is-drag .cursor__ring { width: 90px; height: 90px; margin: -45px 0 0 -45px; background: rgba(133, 65, 246, .85); border-color: transparent; }
.cursor.is-drag .cursor__label { opacity: 1; }

/* ---------- page transition + preloader ---------- */
.curtain { position: fixed; inset: 0; z-index: 90; pointer-events: none; visibility: hidden; }
.curtain__panel { position: absolute; inset: -2px; background: var(--violet); }
.curtain__panel--ink { background: var(--ink); }
.curtain__mark { position: absolute; left: 50%; top: 50%; width: 68px; transform: translate(-50%, -50%); fill: var(--white); opacity: 0; }
.preloader { position: fixed; inset: 0; z-index: 95; background: var(--ink); color: var(--paper); display: grid; place-items: center; }
.preloader__mark { width: clamp(90px, 12vw, 150px); overflow: visible; }
.preloader__mark .sq { fill: var(--violet-2); }
.preloader__mark .seven { fill: var(--paper); }
.preloader__count { position: absolute; right: var(--gutter); bottom: calc(var(--gutter) + env(safe-area-inset-bottom, 0px)); font-family: var(--f-display); font-size: clamp(3rem, 10vw, 9rem); line-height: .8; font-variant-numeric: tabular-nums; }
.preloader__tag { position: absolute; left: var(--gutter); bottom: calc(var(--gutter) + env(safe-area-inset-bottom, 0px)); }

/* back-to-top progress */
.to-top { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 50; width: 52px; height: 52px; border-radius: 50%; background: rgba(13, 11, 33, .78); color: var(--paper); display: grid; place-items: center; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .5s var(--ease); }
.to-top.is-on { opacity: 1; transform: none; }
.to-top svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top svg.ring circle { fill: none; stroke-width: 2; }
.to-top .ring .bg { stroke: rgba(239, 239, 239, .16); }
.to-top .ring .fg { stroke: var(--violet-2); stroke-dasharray: 151; stroke-dashoffset: 151; }
.to-top .up { width: 18px; height: 18px; }

/* Contact rail: direct channels, international profiles, then Chinese platforms. */
.social-rail { --rail-size: 42px; --rail-gap: 5px; position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 50; }
.social-rail__links { display: flex; flex-direction: column; gap: var(--rail-gap); }
.social-rail__toggle { display: none; }
.profile-item { position: relative; display: flex; align-items: center; justify-content: center; flex: none; width: var(--rail-size); height: var(--rail-size); padding: 0; border: 1px solid color-mix(in srgb, var(--paper) 8%, transparent); border-radius: 0 0 13px 0; color: var(--paper); background: var(--ink-2); box-shadow: 0 3px 12px color-mix(in srgb, var(--ink) 16%, transparent); transition: background .25s, border-color .25s; }
.profile-item::before { content: ""; position: absolute; inset: 0; background: url('../social/side_bg.png') center / 100% 100%; opacity: 0; transition: opacity .3s; pointer-events: none; border-radius: inherit; }
.profile-icon { position: relative; width: 24px; height: 24px; object-fit: contain; opacity: .7; }
.profile-item:hover, .profile-item:focus-visible, .social-qr[open] .profile-item { background: var(--ink-3); border-color: var(--violet-2); }
.profile-item:hover::before, .profile-item:focus-visible::before, .social-qr[open] .profile-item::before { opacity: 1; }
.profile-item:hover .profile-icon, .profile-item:focus-visible .profile-icon, .social-qr[open] .profile-icon { opacity: 1; }
.profile-item--primary { background: var(--violet); border-color: var(--violet-2); }
.profile-item--primary .profile-icon { opacity: 1; }
.profile-label { position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%); display: block; width: max-content; max-width: 280px; padding: 9px 13px; border: 1px solid var(--ink-3); border-radius: 0 0 12px 0; color: var(--paper); background: var(--ink); font-size: .76rem; line-height: 1.4; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, visibility .2s; }
.profile-item:hover .profile-label, .profile-item:focus-visible .profile-label { opacity: 1; visibility: visible; }
.profile-pending { cursor: default; }
.profile-pending .profile-icon { opacity: .38; }
.profile-pending:hover::before { opacity: 0; }
.social-rail__divider { height: 1px; background: var(--ink-3); margin-block: 3px; }
.social-qr { position: relative; }
.social-qr summary { list-style: none; cursor: pointer; }
.social-qr summary::-webkit-details-marker { display: none; }
.qr-panel { position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%); width: 180px; padding: 16px; background: var(--white); color: var(--ink); box-shadow: 0 8px 30px color-mix(in srgb, var(--ink) 20%, transparent); border-radius: 0 0 18px 0; text-align: center; }
.qr-panel img { width: 148px; height: auto; }
.qr-panel span { display: block; font-size: .73rem; margin-top: 9px; }
@media (hover: hover) and (pointer: fine) {
  .qr-panel::after { content: ""; position: absolute; left: 100%; top: 0; width: 12px; height: 100%; }
}
.social-qr[open] .profile-label { display: none; }
.social-rail .to-top { position: relative; inset: auto; width: var(--rail-size); height: var(--rail-size); border-radius: 0 0 13px 0; transform: none; opacity: 1; backdrop-filter: none; -webkit-backdrop-filter: none; }
.social-rail .to-top .ring { opacity: 0; }
.social-rail .to-top.is-on .ring { opacity: 1; }
body.menu-open .social-rail { visibility: hidden; }
@media (max-width: 900px), (max-height: 700px) {
  .social-rail { top: auto; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); right: 16px; transform: none; }
  .social-rail__toggle { position: relative; display: flex; align-items: center; gap: 9px; min-height: 48px; padding: 12px 18px; border-radius: 0 0 18px 0; background: var(--violet); color: var(--white); font-weight: 600; box-shadow: 0 5px 20px color-mix(in srgb, var(--ink) 25%, transparent); }
  .social-rail__close { display: none; font-size: 1.5rem; line-height: 1; }
  .social-rail.is-open .social-rail__close { display: block; }
  .social-rail__links { display: none; position: absolute; bottom: calc(100% + 12px); right: 0; width: min(326px, calc(100vw - 32px)); padding: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; background: var(--ink); border: 1px solid var(--ink-3); border-radius: 0 0 24px 0; box-shadow: 0 8px 40px color-mix(in srgb, var(--ink) 30%, transparent); }
  .social-rail.is-open .social-rail__links { display: grid; }
  .social-rail .profile-item { width: 100%; height: 64px; flex-direction: column; gap: 5px; }
  .social-rail .profile-label { position: static; width: 100%; max-width: none; transform: none; padding: 0 3px; border: 0; background: none; text-align: center; font-size: .59rem; opacity: 1; visibility: visible; overflow-wrap: anywhere; }
  .social-rail .profile-item--primary .profile-label { font-size: 0; }
  .social-rail .profile-item--primary .profile-label::after { font-size: .66rem; content: 'WhatsApp'; }
  .social-rail .profile-item--primary[href^='mailto:'] .profile-label::after { content: 'Email'; }
  .social-rail .profile-pending .profile-label { font-size: .52rem; color: var(--grey); }
  .social-rail__divider { grid-column: 1 / -1; margin: 0; }
  .social-qr { position: static; }
  .qr-panel { top: auto; bottom: calc(100% + 12px); right: 0; transform: none; }
  .social-qr[open] .profile-label { display: block; }
  .footer__base { padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
  body[data-page="contact"] .social-rail { display: none; }
  .social-rail__toggle { width: 48px; height: 48px; padding: 12px; justify-content: center; }
  .social-rail__toggle > span:not(.social-rail__close) { display: none; }
  .social-rail.is-open .social-rail__toggle > img { display: none; }
  html { scroll-padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}

/* reveal images */
.reveal-img { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .preloader { display: none; }
}
