/* ============ fonts ============ */
@font-face { font-family: 'Unbounded'; src: url(/fonts/unbounded-cyrillic-wght-normal.woff2) format('woff2'); font-weight: 200 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; src: url(/fonts/unbounded-latin-wght-normal.woff2) format('woff2'); font-weight: 200 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; src: url(/fonts/manrope-cyrillic-wght-normal.woff2) format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; src: url(/fonts/manrope-latin-wght-normal.woff2) format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; src: url(/fonts/jetbrains-mono-cyrillic-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; src: url(/fonts/jetbrains-mono-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }

/* ============ tokens ============ */
:root {
  --paper: #f4f4f0;
  --white: #ffffff;
  --ink: #131417;
  --ink-2: #1c1e22;
  --ink-3: #26292e;
  --night: #0c0d0f;
  --muted: #62666d;
  --muted-dark: #9aa0a8;
  --line: rgba(19, 20, 23, 0.1);
  --line-dark: rgba(255, 255, 255, 0.1);
  --accent: #00a9b7;
  --accent-bright: #22d3df;
  --accent-deep: #007f8a;
  --accent-soft: #dcf1f2;

  --f-display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --nav-h: 76px;
}

/* ============ base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ============ buttons ============ */
.btn {
  --bg: var(--ink); --fg: #fff; --fill: var(--accent);
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  height: 56px; padding: 0 10px 0 26px;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 650; font-size: 15px; letter-spacing: 0.01em;
  overflow: hidden; isolation: isolate;
  transition: color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--fill);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:active { transform: scale(0.97); }
.btn-icon {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
  transition: background 0.4s var(--ease), transform 0.5s var(--ease);
}
.btn-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.5s var(--ease); }
.btn:hover .btn-icon svg { animation: arrow-loop 0.6s var(--ease); }
.btn:hover .btn-icon { transform: rotate(-45deg); }
.btn--ghost .btn-icon svg, .btn--ghost:hover .btn-icon { transform: none; }
.btn--ghost:hover .btn-icon svg { animation: arrow-drop 0.6s var(--ease); }
@keyframes arrow-loop { 0% { transform: translateX(0); } 45% { transform: translateX(140%); } 46% { transform: translateX(-140%); } 100% { transform: translateX(0); } }
@keyframes arrow-drop { 0% { transform: translateY(0); } 45% { transform: translateY(140%); } 46% { transform: translateY(-140%); } 100% { transform: translateY(0); } }

.btn--accent { --bg: var(--accent); --fill: #fff; --fg: #fff; box-shadow: 0 10px 30px -10px rgba(0, 169, 183, 0.6); }
.btn--accent:hover { color: var(--ink); box-shadow: 0 16px 40px -12px rgba(0, 169, 183, 0.8); }
.btn--accent:hover .btn-icon { background: var(--accent); color: #fff; }
.btn--ghost { --bg: rgba(255, 255, 255, 0.06); --fill: #fff; border: 1px solid rgba(255, 255, 255, 0.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { color: var(--ink); }
.btn--ghost:hover .btn-icon { background: var(--ink); color: #fff; }
.btn--small { height: 44px; padding: 0 20px; font-size: 14px; }

.round-btn {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.round-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.round-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: scale(1.06); }
.round-btn:active { transform: scale(0.94); }
.round-btn:disabled { opacity: 0.35; pointer-events: none; }
.round-btn--light { background: transparent; border-color: var(--line-dark); color: #fff; }
.round-btn--light:hover { background: var(--accent); border-color: var(--accent); }
.round-btn--light:hover svg { animation: arrow-up 0.6s var(--ease); }
@keyframes arrow-up { 45% { transform: translateY(-160%); } 46% { transform: translateY(160%); } 100% { transform: translateY(0); } }

/* ============ nav ============ */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  color: #fff;
  transition: background 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.nav.is-scrolled {
  background: rgba(12, 13, 15, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.nav.is-hidden { transform: translateY(-100%); }
/* backdrop-filter would become the containing block of the fixed mobile menu */
.nav.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--night); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { width: auto; object-fit: contain; }
.logo-img--white { filter: brightness(0) invert(1); }

.wm { display: inline-flex; align-items: center; gap: 12px; line-height: 1; }
.wm-name { font-family: var(--f-display); font-weight: 800; font-size: 24px; letter-spacing: 0.02em; }
.wm-sub { display: flex; flex-direction: column; gap: 4px; padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, 0.3); }
.wm-sub span { font-size: 9px; letter-spacing: 0.32em; font-weight: 600; text-transform: uppercase; white-space: nowrap; }
.wm-sub .wm-by { letter-spacing: 0.2em; opacity: 0.6; text-transform: none; }

.nav-links { display: flex; gap: 4px; }
.nav-links a { position: relative; padding: 8px 14px; font-size: 14px; font-weight: 550; opacity: 0.78; transition: opacity 0.3s; }
.nav-links a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px; background: var(--accent-bright); transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease); }
.nav-links a:hover, .nav-links a.is-active { opacity: 1; }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: 14px; }

.lang { position: relative; display: flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); }
.lang a { position: relative; z-index: 1; width: 40px; height: 32px; display: grid; place-items: center; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; opacity: 0.7; transition: opacity 0.3s, color 0.3s; }
.lang a[aria-current] { opacity: 1; color: var(--ink); }
.lang-thumb { position: absolute; top: 4px; left: 4px; width: 40px; height: 32px; border-radius: 999px; background: #fff; transform: translateX(calc(var(--x) * 100%)); transition: transform 0.5s var(--ease); }
.lang:hover .lang-thumb { box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08); }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform 0.45s var(--ease), top 0.45s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded='true'] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded='true'] span:last-child { top: 21px; transform: rotate(-45deg); }

.mnav { position: fixed; inset: var(--nav-h) 0 0; background: var(--night); clip-path: inset(0 0 100% 0); transition: clip-path 0.7s var(--ease); pointer-events: none; }
.mnav.is-open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.mnav nav { display: flex; flex-direction: column; padding-top: 32px; padding-bottom: 32px; height: 100%; }
.mnav nav > a { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); font-family: var(--f-display); font-size: clamp(24px, 7vw, 36px); font-weight: 500; opacity: 0; transform: translateY(24px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.mnav nav > a span { font-family: var(--f-mono); font-size: 12px; color: var(--accent-bright); }
.mnav.is-open nav > a { opacity: 1; transform: none; transition-delay: calc(0.15s + var(--i) * 0.06s); }
.mnav-lang { display: flex; gap: 10px; margin-top: auto; }
.mnav-lang a { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-dark); font-weight: 700; font-size: 13px; }
.mnav-lang a[aria-current] { background: #fff; color: var(--ink); }

/* ============ hero ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 60px) 0 clamp(64px, 12vh, 120px);
  color: #fff;
  background: var(--night);
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: -8% 0 0; z-index: -3; }
.hero-img { width: 100%; height: 100%; object-fit: cover; animation: hero-zoom 18s var(--ease) both; }
@keyframes hero-zoom { from { transform: scale(1.18); filter: brightness(0.4) saturate(0.6); } to { transform: scale(1.02); filter: brightness(1) saturate(1); } }
.hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(12, 13, 15, 0.7) 0%, rgba(12, 13, 15, 0.1) 30%, rgba(12, 13, 15, 0.35) 60%, rgba(12, 13, 15, 0.96) 100%),
    linear-gradient(90deg, rgba(12, 13, 15, 0.75) 0%, rgba(12, 13, 15, 0) 70%);
}
.hero-beams { position: absolute; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: screen; }
.hero-beams i {
  position: absolute; top: -20%; width: 34vw; height: 140%;
  background: linear-gradient(180deg, rgba(34, 211, 223, 0.32), rgba(34, 211, 223, 0) 70%);
  filter: blur(26px);
  transform-origin: 50% 0;
  animation: beam 9s var(--ease-in-out) infinite alternate;
  clip-path: polygon(45% 0, 55% 0, 100% 100%, 0 100%);
}
.hero-beams i:nth-child(1) { left: 8%; --r: 18deg; }
.hero-beams i:nth-child(2) { left: 38%; --r: -6deg; animation-delay: -3s; animation-duration: 11s; opacity: 0.7; }
.hero-beams i:nth-child(3) { right: 4%; --r: -22deg; animation-delay: -6s; opacity: 0.8; }
@keyframes beam { from { transform: rotate(var(--r)); opacity: 0.35; } to { transform: rotate(calc(var(--r) * -1)); opacity: 0.9; } }

.hero-inner { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-bright); }
.pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--accent-bright); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { to { transform: scale(3.2); opacity: 0; } }

.hero-title {
  margin-top: 28px;
  max-width: 17ch;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(30px, 6.2vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .w > span { display: inline-block; transform: translateY(105%); animation: word-up 1.1s var(--ease) forwards; animation-delay: calc(0.25s + var(--i) * 0.06s); }
@keyframes word-up { to { transform: none; } }
.hero-title .w:nth-last-child(-n + 3) > span { color: var(--accent-bright); }
.hero-sub { margin-top: 28px; max-width: 58ch; font-size: clamp(16px, 1.4vw, 19px); color: rgba(255, 255, 255, 0.78); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-in { opacity: 0; transform: translateY(24px); animation: fade-up 1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes fade-up { to { opacity: 1; transform: none; } }

.spin-badge { position: absolute; right: var(--gutter); bottom: clamp(64px, 12vh, 120px); width: 150px; height: 150px; display: grid; place-items: center; color: #fff; }
.spin-badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.spin-badge-ring text { fill: currentColor; font-family: var(--f-mono); font-size: 13.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.spin-badge-core { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); box-shadow: 0 0 0 0 rgba(34, 211, 223, 0.5); transition: transform 0.5s var(--ease), background 0.4s; animation: glow-ring 2.6s var(--ease) infinite; }
.spin-badge-core svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.spin-badge:hover .spin-badge-ring { animation-duration: 5s; }
.spin-badge:hover .spin-badge-core { transform: scale(1.12); background: #fff; }
.spin-badge:hover .spin-badge-core svg { stroke: var(--ink); animation: arrow-drop 0.7s var(--ease); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes glow-ring { 70% { box-shadow: 0 0 0 16px rgba(34, 211, 223, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 211, 223, 0); } }

.hero-scroll { position: absolute; left: 50%; bottom: 24px; width: 1px; height: 48px; background: rgba(255, 255, 255, 0.18); overflow: hidden; }
.hero-scroll span { position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--accent-bright); animation: scroll-line 2.2s var(--ease-in-out) infinite; }
@keyframes scroll-line { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* ============ marquee ============ */
.marquee { background: var(--accent); color: #fff; overflow: hidden; padding: 18px 0; border-block: 1px solid rgba(255, 255, 255, 0.15); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex-shrink: 0; }
.mq-item { font-family: var(--f-display); font-size: clamp(18px, 2vw, 26px); font-weight: 500; letter-spacing: -0.01em; padding: 0 28px; white-space: nowrap; }
.mq-sep { font-size: 14px; opacity: 0.7; display: inline-block; animation: spin 6s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ sections ============ */
.section { position: relative; padding: clamp(88px, 12vw, 160px) 0; overflow: hidden; }
.section--light { background: var(--paper); }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark .prose { color: rgba(255, 255, 255, 0.74); }
.section--bgimg { isolation: isolate; }
.section-bg { position: absolute; inset: -10% 0; z-index: -1; opacity: 0.16; }
.section-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.3); }
.section-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(19, 20, 23, 0.4) 40%, rgba(19, 20, 23, 0.4) 60%, var(--ink) 100%); }
.section-bg--strong { opacity: 0.38; }

.sec-head { max-width: 900px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-tag { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.section--dark .sec-tag { color: var(--muted-dark); }
.sec-num { color: var(--accent); }
.sec-line { width: 56px; height: 2px; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--ease) 0.2s; }
.sec-tag.is-in .sec-line { transform: none; }
.sec-title { font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 4.6vw, 64px); line-height: 1.06; letter-spacing: -0.035em; text-wrap: balance; }
.sec-lead { margin-top: 24px; max-width: 46ch; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.45; font-weight: 500; color: var(--muted); letter-spacing: -0.01em; }
.section--dark .sec-lead { color: rgba(255, 255, 255, 0.72); }

.prose { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.75; color: #3a3d42; max-width: 62ch; }
.prose--wide { max-width: 78ch; margin-bottom: clamp(40px, 5vw, 64px); }

/* ============ reveal ============ */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--img { clip-path: inset(12% 0 0 0 round var(--radius-lg)); transition: clip-path 1.4s var(--ease), opacity 1s var(--ease), transform 1.2s var(--ease); }
.reveal--img.is-in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.no-js .reveal, .is-edit .reveal { opacity: 1; transform: none; clip-path: none; }

/* ============ about ============ */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; margin-bottom: clamp(56px, 8vw, 104px); }
.since { display: flex; align-items: baseline; gap: 16px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.since-num { font-family: var(--f-display); font-size: clamp(40px, 5vw, 68px); font-weight: 600; letter-spacing: -0.04em; color: var(--accent); line-height: 1; }
.since-label { font-family: var(--f-mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.about-media { position: relative; }
.img-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--ink-3); }
.img-frame img { width: 100%; height: 118%; object-fit: cover; transform: translateY(var(--py, -8%)); transition: scale 1.2s var(--ease); }
.img-frame:hover img { scale: 1.04; }
.img-frame--tall { aspect-ratio: 4 / 5; }
.img-corner { position: absolute; right: -14px; bottom: -14px; width: 120px; height: 120px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); border-radius: 0 0 var(--radius-lg) 0; pointer-events: none; }

.cards { display: grid; gap: 20px; margin-bottom: clamp(24px, 3vw, 32px); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  position: relative; overflow: hidden;
  padding: clamp(28px, 3vw, 40px);
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.4s, opacity 1s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(19, 20, 23, 0.28); border-color: transparent; }
.card-num, .card-letter { display: block; font-family: var(--f-mono); font-size: 13px; color: var(--accent); margin-bottom: 48px; }
.card-letter { font-family: var(--f-display); font-size: 40px; font-weight: 600; line-height: 1; margin-bottom: 32px; }
.card-title { font-family: var(--f-display); font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; }
.card-text { color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.card-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); transform: scaleY(0.25); transform-origin: top; transition: transform 0.7s var(--ease); }
.card:hover .card-bar { transform: scaleY(1); }

.callout { border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 64px); margin-top: clamp(24px, 3vw, 32px); position: relative; overflow: hidden; }
.callout--accent { background: var(--accent-soft); }
.callout--dark { background: var(--ink); color: #fff; }
.callout--glass { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.callout--accent::after { content: ''; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; border: 36px solid rgba(0, 169, 183, 0.1); animation: float 8s var(--ease-in-out) infinite alternate; }
@keyframes float { to { transform: translate(-30px, 30px) scale(1.1); } }
.callout-label { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent-deep); margin-bottom: 20px; }
.callout-text { position: relative; font-family: var(--f-display); font-size: clamp(20px, 2.4vw, 32px); font-weight: 500; line-height: 1.3; letter-spacing: -0.025em; max-width: 36ch; text-wrap: balance; }
.callout-text--regular { font-family: var(--f-body); font-weight: 600; font-size: clamp(18px, 1.9vw, 25px); letter-spacing: -0.01em; max-width: 52ch; }

/* ============ model / timeline ============ */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 clamp(48px, 6vw, 80px); }
.timeline-line { position: absolute; left: 0; right: 0; top: 44px; height: 1px; background: var(--line-dark); }
.timeline-progress { position: absolute; inset: 0; background: linear-gradient(90deg, var(--accent), var(--accent-bright)); transform-origin: left; transform: scaleX(var(--p, 0)); box-shadow: 0 0 12px var(--accent-bright); }
.timeline-step { position: relative; padding-right: 20px; }
.timeline-num { display: block; font-family: var(--f-mono); font-size: 12px; color: var(--accent-bright); margin-bottom: 18px; }
.timeline-dot { position: relative; display: block; width: 18px; height: 18px; margin-bottom: 22px; border-radius: 50%; background: var(--ink); border: 2px solid rgba(255, 255, 255, 0.25); transition: border-color 0.5s, background 0.5s, transform 0.5s var(--ease); }
.timeline-dot::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid var(--accent-bright); opacity: 0; transform: scale(0.6); }
.timeline-step.is-on .timeline-dot { background: var(--accent); border-color: var(--accent-bright); transform: scale(1.1); }
.timeline-step.is-on .timeline-dot::after { animation: ping 2.4s var(--ease) infinite; animation-delay: calc(var(--i) * 0.3s); }
@keyframes ping { 0% { opacity: 0.9; transform: scale(0.6); } 100% { opacity: 0; transform: scale(1.8); } }
.timeline-label { display: block; font-family: var(--f-display); font-size: clamp(15px, 1.5vw, 20px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; opacity: 0.5; transition: opacity 0.6s; }
.timeline-step.is-on .timeline-label { opacity: 1; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: clamp(40px, 5vw, 64px); }
.stat { padding: 32px 0 0; border-top: 1px solid var(--line-dark); }
.stat-value { font-family: var(--f-display); font-size: clamp(40px, 5.2vw, 72px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; color: var(--accent-bright); margin-bottom: 20px; white-space: nowrap; }
.stat-text { color: rgba(255, 255, 255, 0.66); font-size: 15.5px; max-width: 30ch; }
.quote { position: relative; padding: clamp(28px, 4vw, 48px) 0 0 clamp(28px, 4vw, 56px); border-left: 2px solid var(--accent); }
.quote p { font-family: var(--f-display); font-size: clamp(20px, 2.4vw, 32px); font-weight: 500; line-height: 1.3; letter-spacing: -0.025em; max-width: 34ch; text-wrap: balance; }

/* ============ experience ============ */
.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: clamp(64px, 8vw, 112px); }
.figure { padding: clamp(28px, 3vw, 40px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), opacity 1s var(--ease); }
.figure:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(19, 20, 23, 0.28); }
.figure-value { font-family: var(--f-display); font-size: clamp(44px, 5.6vw, 80px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; color: var(--ink); margin-bottom: 28px; white-space: nowrap; }
.figure-title { font-weight: 700; font-size: 17px; margin-bottom: 8px; }
.figure-text { color: var(--muted); font-size: 15px; }

.slider { margin-bottom: clamp(72px, 9vw, 120px); }
.slider-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.slider-title { font-family: var(--f-display); font-size: clamp(24px, 2.6vw, 36px); font-weight: 600; letter-spacing: -0.03em; }
.slider-nav { display: flex; align-items: center; gap: 10px; }
.slider-count { font-family: var(--f-mono); font-size: 13px; color: var(--muted); margin-right: 10px; }
.slider-count b { color: var(--ink); font-weight: 400; }
.slider-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2)); scroll-padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2)); }
.slider-viewport::-webkit-scrollbar { display: none; }
.slider-viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.slider-viewport.is-dragging * { pointer-events: none; }
.slider-track { display: flex; gap: 20px; width: max-content; padding-right: var(--gutter); }
.slide { width: clamp(280px, 38vw, 540px); scroll-snap-align: start; }
.slide-img { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); }
.slide-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 0.8s; filter: saturate(0.85); }
.slide:hover .slide-img img { transform: scale(1.06); filter: saturate(1.1); }
.slide figcaption { display: flex; gap: 14px; align-items: baseline; margin-top: 16px; font-weight: 600; }
.slide-num { font-family: var(--f-mono); font-size: 12px; color: var(--accent); font-weight: 400; }
.slider-progress { margin-top: 32px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.slider-progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0.1)); transition: transform 0.3s var(--ease); }

.numbered { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(24px, 5vw, 80px); }
.numbered-title { font-family: var(--f-display); font-size: clamp(24px, 2.6vw, 36px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.numbered-row { position: relative; display: flex; gap: clamp(20px, 3vw, 48px); padding: 26px 0; border-top: 1px solid var(--line); font-size: clamp(16px, 1.4vw, 19px); font-weight: 550; transition: padding 0.5s var(--ease), color 0.4s, opacity 1s var(--ease), transform 1.1s var(--ease); }
.numbered-row:last-child { border-bottom: 1px solid var(--line); }
.numbered-row::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease); }
.numbered-row:hover { padding-left: 16px; color: var(--accent-deep); }
.numbered-row:hover::before { transform: scaleX(1); }
.numbered-num { font-family: var(--f-mono); font-size: 13px; color: var(--accent); padding-top: 4px; flex-shrink: 0; }

/* ============ china ============ */
.china-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.china-media { position: sticky; top: calc(var(--nav-h) + 32px); padding-bottom: 60px; }
.img-frame--float { position: absolute; width: 48%; aspect-ratio: 1; right: -24px; bottom: 0; border: 6px solid var(--white); box-shadow: 0 30px 60px -20px rgba(19, 20, 23, 0.4); animation: bob 7s var(--ease-in-out) infinite alternate; }
.img-frame--float img { height: 100%; transform: none; }
@keyframes bob { to { transform: translateY(-18px) rotate(-2deg); } }
.china-body .prose { margin-bottom: 40px; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tile { position: relative; padding: 28px; background: var(--white); transition: background 0.5s var(--ease), opacity 1s var(--ease), transform 1.1s var(--ease); }
.tile::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.tile:hover { background: #f8fbfb; }
.tile:hover::after { transform: scaleX(1); }
.tile-num { display: block; font-family: var(--f-mono); font-size: 12px; color: var(--accent); margin-bottom: 28px; }
.tile-title { font-weight: 750; font-size: 17px; margin-bottom: 8px; }
.tile-text { color: var(--muted); font-size: 15px; line-height: 1.6; }
.tiles--dark { background: var(--line-dark); border-color: var(--line-dark); }
.tiles--dark .tile { background: var(--ink-2); }
.tiles--dark .tile:hover { background: var(--ink-3); }
.tiles--dark .tile-text { color: rgba(255, 255, 255, 0.6); }
.tiles--dark .tile-num { color: var(--accent-bright); }

/* ============ adaptation ============ */
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: clamp(40px, 5vw, 64px); }
.chip { padding: 12px 22px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-family: var(--f-mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-deep); transition: background 0.35s, color 0.35s, transform 0.5s var(--ease), border-color 0.35s, opacity 1s var(--ease); }
.chip:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-3px) rotate(-1.5deg); }

/* ============ loop / cycle ============ */
.loop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.cycle { --size: min(520px, 100%); position: relative; width: var(--size); aspect-ratio: 1; margin: 0 auto; }
.cycle-ring { position: absolute; inset: 0; }
.cycle-ring svg { width: 100%; height: 100%; overflow: visible; }
.cycle-ring circle { fill: none; stroke: var(--line-dark); stroke-width: 1; }
.cycle-ring .cycle-dash { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 3 11; transform-origin: center; animation: spin 40s linear infinite reverse; opacity: 0.7; }
.cycle-orbit { position: absolute; inset: 0; animation: spin 60s linear infinite; }
.cycle:hover .cycle-orbit, .cycle:hover .cycle-node-inner { animation-play-state: paused; }
.cycle-node {
  --a: calc(var(--i) * (360deg / var(--n)) - 90deg);
  position: absolute;
  left: calc(50% + var(--orbit, 42.5%) * cos(var(--a)));
  top: calc(50% + var(--orbit, 42.5%) * sin(var(--a)));
  width: 0; height: 0;
}
.cycle-node-inner {
  position: absolute; left: 0; top: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  width: 116px; height: 116px; margin: -58px 0 0 -58px;
  border-radius: 50%;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  font-size: 12.5px; font-weight: 700; text-align: center; line-height: 1.2; padding: 10px;
  animation: spin 60s linear infinite reverse;
  transition: background 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s, scale 0.5s var(--ease);
}
.cycle-node-inner b { font-family: var(--f-mono); font-weight: 400; font-size: 11px; color: var(--accent-bright); }
.cycle-node:hover .cycle-node-inner { scale: 1.08; border-color: var(--accent); }
.cycle-node.is-active .cycle-node-inner { background: var(--accent); border-color: var(--accent-bright); box-shadow: 0 0 0 8px rgba(0, 169, 183, 0.15), 0 20px 50px -10px rgba(0, 169, 183, 0.6); scale: 1.1; }
.cycle-node.is-active .cycle-node-inner b { color: #fff; }
.cycle-center { position: absolute; inset: 29%; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: radial-gradient(circle at 50% 35%, rgba(0, 169, 183, 0.22), rgba(0, 169, 183, 0) 70%); }
.cycle-center-num { font-family: var(--f-display); font-size: clamp(36px, 5vw, 60px); font-weight: 600; letter-spacing: -0.04em; color: var(--accent-bright); line-height: 1; }
.cycle-center-label { margin-top: 10px; font-weight: 700; font-size: 15px; padding: 0 12px; }
.cycle-center-num, .cycle-center-label { transition: opacity 0.35s, transform 0.5s var(--ease); }
.cycle-center.is-swapping .cycle-center-num, .cycle-center.is-swapping .cycle-center-label { opacity: 0; transform: translateY(8px); }
.cycle-spinner { position: absolute; inset: -4px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--accent-bright); border-right-color: rgba(34, 211, 223, 0.3); animation: spin 3.2s linear infinite; }
.loop-body .prose { margin-bottom: 40px; }
.eyebrow-title { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent-bright); font-weight: 400; margin-bottom: 20px; }

/* ============ international ============ */
.duo { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo-card { position: relative; padding: clamp(32px, 4vw, 52px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.duo-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) 0.3s; }
.duo-card.is-in::before { transform: none; }
.duo-card--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.duo-label { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent-deep); margin-bottom: 16px; }
.duo-card--dark .duo-label { color: var(--accent-bright); }
.duo-title { font-family: var(--f-display); font-size: clamp(24px, 2.6vw, 36px); font-weight: 600; letter-spacing: -0.03em; margin-bottom: 32px; }
.duo-list li { display: flex; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); font-weight: 550; transition: transform 0.4s var(--ease); }
.duo-list li:hover { transform: translateX(6px); }
.duo-card--dark .duo-list li { border-color: var(--line-dark); }
.duo-list li > span:first-child { font-family: var(--f-mono); font-size: 12px; color: var(--accent); padding-top: 4px; }
.duo-plus { position: absolute; left: 50%; top: 50%; z-index: 2; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 0 0 10px var(--paper); animation: spin 12s linear infinite; }
.duo-plus svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

/* ============ scaling ============ */
.scale-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.scale-media { position: sticky; top: calc(var(--nav-h) + 32px); }
.step { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 3vw, 40px); align-items: start; padding: 32px 24px; border-radius: var(--radius); border-top: 1px solid var(--line); transition: background 0.5s var(--ease), border-color 0.4s, opacity 1s var(--ease), transform 1.1s var(--ease); }
.step:hover { background: var(--accent-soft); border-color: transparent; }
.step-num { font-family: var(--f-display); font-size: clamp(32px, 3.4vw, 48px); font-weight: 600; letter-spacing: -0.04em; color: var(--accent); line-height: 1; transition: transform 0.5s var(--ease); }
.step:hover .step-num { transform: scale(1.1) rotate(-4deg); }
.step-title { font-family: var(--f-display); font-size: clamp(18px, 1.7vw, 23px); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.step-text { color: var(--muted); font-size: 15.5px; }
.step-arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); opacity: 0; transform: translateX(-12px) rotate(-45deg); transition: opacity 0.4s, transform 0.5s var(--ease), background 0.4s; }
.step-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step:hover .step-arrow { opacity: 1; transform: none; background: var(--accent); color: #fff; border-color: var(--accent); }

/* ============ principle ============ */
.section--principle { padding-bottom: clamp(100px, 14vw, 180px); }
.principle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); margin-bottom: clamp(56px, 8vw, 104px); }
.statement { font-family: var(--f-display); font-size: clamp(28px, 4.4vw, 62px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; max-width: 22ch; margin-bottom: clamp(40px, 6vw, 72px); background: linear-gradient(100deg, #fff 30%, var(--accent-bright) 50%, #fff 70%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 7s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.is-edit .statement { color: #fff; background: none; animation: none; }

/* ============ contact ============ */
.section--contact { background: var(--night); isolation: isolate; }
.glow { position: absolute; z-index: -1; width: 60vw; height: 60vw; right: -20vw; top: -20vw; border-radius: 50%; background: radial-gradient(circle, rgba(0, 169, 183, 0.35), rgba(0, 169, 183, 0) 65%); filter: blur(20px); animation: float 14s var(--ease-in-out) infinite alternate; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
.contact-info .sec-head { margin-bottom: 40px; }
.points li { display: flex; align-items: center; gap: 14px; padding: 12px 0; font-size: 17px; font-weight: 600; }
.points-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--accent-bright); flex-shrink: 0; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 0; }
.section--contact .sec-title { font-size: clamp(30px, 3.6vw, 52px); }
.contact-card {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 28px; min-height: 200px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  overflow: hidden;
  transition: background 0.5s var(--ease), border-color 0.5s, transform 0.6s var(--ease), opacity 1s var(--ease);
}
.contact-card:hover { background: rgba(0, 169, 183, 0.12); border-color: rgba(34, 211, 223, 0.5); transform: translateY(-4px); }
.contact-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(0, 169, 183, 0.16); color: var(--accent-bright); margin-bottom: auto; transition: transform 0.6s var(--ease), background 0.4s, color 0.4s; }
.contact-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-card:hover .contact-icon { transform: rotate(-12deg) scale(1.08); background: var(--accent); color: #fff; }
.contact-label { margin-top: 28px; font-family: var(--f-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted-dark); }
.contact-value { font-size: clamp(17px, 1.5vw, 20px); font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.contact-value a { border-bottom: 1px solid rgba(255, 255, 255, 0.25); transition: border-color 0.3s, color 0.3s; }
.contact-value a:hover { color: var(--accent-bright); border-color: var(--accent-bright); }
.contact-value .sep { margin: 0 8px; opacity: 0.4; }
.contact-action { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13.5px; font-weight: 700; color: var(--accent-bright); }
.contact-action svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.45s var(--ease); }
.contact-action:hover svg { transform: translateX(5px); }

/* ============ footer ============ */
.footer { background: var(--night); color: #fff; padding: 0 0 32px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 56px 0 40px; border-top: 1px solid var(--line-dark); }
.footer-logo .wm-name { font-size: clamp(40px, 7vw, 88px); letter-spacing: -0.01em; }
.footer-logo .wm-sub span { font-size: 11px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13.5px; color: var(--muted-dark); }
.footer-lang { display: flex; gap: 14px; }
.footer-lang a { font-weight: 700; opacity: 0.6; transition: opacity 0.3s, color 0.3s; }
.footer-lang a[aria-current], .footer-lang a:hover { opacity: 1; color: #fff; }

/* ============ cursor glow ============ */
.cursor-glow { position: fixed; left: 0; top: 0; z-index: 60; width: 340px; height: 340px; margin: -170px 0 0 -170px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(34, 211, 223, 0.12), rgba(34, 211, 223, 0) 65%); mix-blend-mode: screen; opacity: 0; transition: opacity 0.6s; will-change: transform; }
.cursor-glow.is-on { opacity: 1; }
@media (hover: none) { .cursor-glow { display: none; } }

/* ============ responsive ============ */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .about-grid, .china-grid, .scale-grid, .loop-grid, .contact-grid, .numbered { grid-template-columns: 1fr; }
  .china-media, .scale-media { position: relative; top: 0; }
  .img-frame--tall { aspect-ratio: 16 / 10; }
  .cycle { max-width: 480px; }
  .contact-grid { align-items: start; }
}
@media (max-width: 820px) {
  :root { --nav-h: 66px; }
  body { font-size: 16px; }
  .nav-cta { display: none; }
  .cards--3, .cards--2, .figures, .stats, .duo, .principle-grid, .tiles { grid-template-columns: 1fr; }
  .duo-plus { position: relative; left: auto; top: auto; margin: -30px auto; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .timeline-line { display: none; }
  .hero { padding-bottom: 150px; }
  .spin-badge { width: 104px; height: 104px; bottom: 28px; }
  .spin-badge-ring text { font-size: 15px; }
  .spin-badge-core { width: 44px; height: 44px; }
  .cycle { --orbit: 39%; }
  .hero-scroll { display: none; }
  .wm-sub { display: none; }
  .card-num { margin-bottom: 28px; }
  .step { grid-template-columns: auto 1fr; padding: 24px 8px; }
  .step-arrow { display: none; }
  .slider-count { display: none; }
  .img-frame--float { right: 8px; width: 40%; }
  .cycle-node-inner { width: 88px; height: 88px; margin: -44px 0 0 -44px; font-size: 10.5px; }
}
@media (max-width: 520px) {
  .contact-cards { grid-template-columns: 1fr; }
  .contact-card { min-height: 0; }
  .contact-label { margin-top: 20px; }
  .hero-actions .btn { width: 100%; justify-content: space-between; }
  .hero-title { font-size: 8.4vw; }
  .lang a { width: 36px; }
  .lang-thumb { width: 36px; }
  .cycle-node-inner { width: 72px; height: 72px; margin: -36px 0 0 -36px; font-size: 9px; padding: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; clip-path: none; }
}
