/* ==========================================================================
   VISIONFAR — site styles
   Static, single stylesheet. No external requests.
   ========================================================================== */

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #060709;
  --bg-raised: #0a0c10;
  --ink: #f3f4f5;
  --ink-2: #c7ccd4;
  --muted: #8f95a1;
  --faint: #7b838f;
  --accent: #c9f45a;
  --accent-soft: rgba(201, 244, 90, 0.12);
  --accent-line: rgba(201, 244, 90, 0.38);
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.055);
  --panel: rgba(255, 255, 255, 0.028);
  --font-display: "Space Grotesk", "Avenir Next", "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Helvetica Neue", "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", Arial, sans-serif;
  --font-mono: "SF Mono", ui-monospace, "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --container: 1240px;
  --gutter: clamp(20px, 4.6vw, 56px);
  --header-h: 78px;
  --radius: 16px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 620px at 82% -8%, rgba(78, 92, 224, 0.16), transparent 64%),
    radial-gradient(760px 560px at 2% 12%, rgba(40, 190, 165, 0.06), transparent 62%),
    radial-gradient(1000px 800px at 50% 110%, rgba(120, 100, 255, 0.05), transparent 70%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

::selection {
  background: var(--accent);
  color: #0a0d04;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #0a0d04;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

.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;
}

.skip-link:focus {
  top: 14px;
}

main:focus {
  outline: 0;
}

/* ---------- Layout primitives ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(76px, 9.5vw, 132px);
}

.section--tight {
  padding-block: clamp(56px, 7vw, 92px);
}

.rule-top {
  border-top: 1px solid var(--line-soft);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow__dot {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(201, 244, 90, 0.55);
}

.eyebrow--accent {
  color: var(--accent);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 48px;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.section-head__main {
  max-width: 760px;
}

.section-title {
  margin-top: 18px;
  max-width: 19ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.7vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.032em;
  line-height: 1.02;
  text-wrap: balance;
}

.section-intro {
  max-width: 46ch;
  color: var(--ink-2);
  font-size: clamp(0.98rem, 1.1vw, 1.06rem);
  line-height: 1.7;
}

.section-head .section-intro {
  max-width: 38ch;
  padding-bottom: 6px;
}

.mono-label {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.btn svg {
  width: 15px;
  height: 15px;
  flex: none;
  transition: transform 0.25s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0d04;
}

.btn--primary:hover {
  background: #d8ff79;
  border-color: #d8ff79;
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.055);
}

.btn--small {
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.015em;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.text-link svg {
  width: 13px;
  height: 13px;
  transition: transform 0.25s var(--ease);
}

.text-link:hover {
  color: var(--accent);
  border-color: var(--accent-line);
}

.text-link:hover svg {
  transform: translate(2px, -2px);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(6, 7, 9, 0.78);
  border-bottom-color: var(--line-soft);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand__mark {
  width: 30px;
  height: 30px;
  flex: none;
  overflow: visible;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.23em;
}

.brand__sub {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.31em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.7vw, 36px);
}

.nav__link {
  position: relative;
  padding: 8px 0;
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover {
  color: var(--ink);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__link[aria-current="page"] {
  color: var(--ink);
}

.header-end {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.lang-switch a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.lang-switch a:hover {
  color: var(--ink);
}

.lang-switch a[aria-current="true"] {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.menu-toggle__icon {
  width: 18px;
  height: 18px;
  overflow: visible;
}

.menu-toggle__icon .icon-close {
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}

.menu-toggle__icon .icon-open {
  opacity: 1;
  transition: opacity 0.2s var(--ease);
}

.menu-toggle[aria-expanded="true"] .icon-open {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  opacity: 1;
}

/* Mobile menu */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  background:
    radial-gradient(680px 520px at 88% -8%, rgba(91, 102, 255, 0.13), transparent 62%),
    #060709;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-soft);
}

.mobile-menu__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 6vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.mobile-menu__link span {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.mobile-menu__link[aria-current="page"] {
  color: var(--accent);
}

.mobile-menu__cta {
  margin-top: 26px;
}

.mobile-menu__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 32px;
}

.mobile-menu__mail {
  color: var(--ink-2);
  font-size: 13px;
  text-decoration: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: calc(var(--header-h) + 56px) 0 64px;
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse 70% 62% at 58% 38%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 62% at 58% 38%, #000 0%, transparent 78%);
  opacity: 0.75;
}

.hero::after {
  content: "";
  position: absolute;
  top: -18%;
  right: -8%;
  z-index: 0;
  width: min(58vw, 820px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 104, 255, 0.18) 0%, rgba(60, 70, 180, 0.06) 42%, transparent 68%);
  filter: blur(20px);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  align-items: center;
  gap: clamp(24px, 4vw, 58px);
}

.hero__content {
  max-width: 700px;
}

.hero__title {
  margin-top: clamp(22px, 3vw, 32px);
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.35vw, 4.9rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero__title > span {
  display: block;
}

.hero__title .accent {
  color: var(--accent);
  font-style: normal;
}

.hero__title .dim {
  color: var(--muted);
}

.hero__lede {
  max-width: 50ch;
  margin-top: clamp(24px, 3vw, 32px);
  color: var(--ink-2);
  font-size: clamp(1rem, 1.15vw, 1.075rem);
  line-height: 1.72;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(30px, 4vw, 42px);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: clamp(44px, 6vw, 72px);
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__meta-divider {
  width: 26px;
  height: 1px;
  background: var(--line);
}

.hero__visual {
  position: relative;
  justify-self: end;
  width: min(100%, 600px);
}

.orb {
  width: 100%;
  height: auto;
  overflow: visible;
}

.orbit-slow {
  transform-origin: 300px 300px;
  animation: orbit-spin 140s linear infinite;
}

.orbit-slower {
  transform-origin: 300px 300px;
  animation: orbit-spin 90s linear infinite reverse;
}

.orb-pulse {
  animation: orb-pulse 4.6s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--muted), transparent);
  animation: scroll-line 2.4s var(--ease) infinite;
  transform-origin: top;
}

@keyframes orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes orb-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(1.55);
  }
}

@keyframes scroll-line {
  0% {
    transform: scaleY(0);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: scaleY(1);
    opacity: 0;
  }
}

/* ---------- Ticker ---------- */

.ticker {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-block: 1px solid var(--line-soft);
  padding-block: 17px;
  background: rgba(255, 255, 255, 0.012);
}

.ticker::before,
.ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: clamp(40px, 10vw, 160px);
  pointer-events: none;
}

.ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.ticker::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg), transparent);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 44s linear infinite;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker__group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
}

.ticker__item {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  white-space: nowrap;
  text-transform: uppercase;
}

.ticker__dot {
  width: 4px;
  height: 4px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Pillars ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: clamp(28px, 3.4vw, 46px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.012) 58%),
    rgba(8, 10, 13, 0.6);
  color: var(--ink);
}

.pillar__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.pillar__top::after {
  content: "";
  width: 40px;
  height: 1px;
  flex: none;
  margin-top: 12px;
  background: var(--line);
}

.pillar__index {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pillar__title {
  margin-top: clamp(44px, 6vw, 74px);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.pillar__desc {
  max-width: 42ch;
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.7;
}

.pillar__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 34px;
}

.tag {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

/* ---------- Approach ---------- */

.approach {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.approach__aside {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.approach__aside .section-title {
  max-width: 13ch;
}

.approach__aside .section-intro {
  margin-top: 24px;
  max-width: 38ch;
}

.approach__aside .text-link {
  margin-top: 30px;
}

.steps {
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 22px;
  padding: clamp(26px, 3vw, 36px) 0;
  border-bottom: 1px solid var(--line);
}

.step__num {
  padding-top: 7px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.step__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.9vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.step__body {
  max-width: 52ch;
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.72;
}

/* ---------- Manifesto ---------- */

.manifesto {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  padding-block: clamp(88px, 11vw, 152px);
}

.manifesto::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 58%;
  width: min(64vw, 900px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 244, 90, 0.07), transparent 62%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.manifesto__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: end;
}

.manifesto__quote {
  margin-top: 26px;
  max-width: 21ch;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.8vw, 4.3rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
  text-wrap: balance;
}

.manifesto__quote .accent {
  color: var(--accent);
}

.manifesto__body {
  padding-bottom: 6px;
}

.manifesto__body p {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.75;
}

.manifesto__body .text-link {
  margin-top: 26px;
}

/* ---------- Facts strip ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line-soft);
}

.fact {
  padding: 26px 30px 28px 0;
  border-right: 1px solid var(--line-soft);
}

.fact + .fact {
  padding-left: clamp(24px, 3vw, 40px);
}

.fact:last-child {
  border-right: 0;
  padding-right: 0;
}

.fact__label {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.fact__value {
  margin-top: 10px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}

/* ---------- CTA panel ---------- */

.cta-wrap {
  padding-block: clamp(64px, 8vw, 110px);
}

.cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 36px;
  align-items: end;
  overflow: hidden;
  padding: clamp(36px, 5.6vw, 76px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(700px 380px at 88% 8%, rgba(201, 244, 90, 0.09), transparent 60%),
    radial-gradient(600px 400px at 0% 110%, rgba(80, 92, 255, 0.09), transparent 62%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01) 62%);
}

.cta::before {
  content: "";
  position: absolute;
  top: -34%;
  right: -6%;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

.cta::after {
  content: "";
  position: absolute;
  top: -20%;
  right: 2%;
  width: 300px;
  height: 300px;
  border: 1px dashed rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.cta__title {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.cta__body {
  position: relative;
  z-index: 1;
  max-width: 40ch;
  margin-top: 20px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.7;
}

.cta__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  justify-self: end;
}

.cta__mail {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
}

/* ---------- Footer ---------- */

.site-footer {
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 42%);
  padding-top: clamp(56px, 7vw, 86px);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: clamp(40px, 7vw, 100px);
  padding-bottom: clamp(48px, 6vw, 72px);
}

.footer-brand .brand {
  align-items: flex-start;
}

.footer-brand__tagline {
  max-width: 26ch;
  margin-top: 24px;
  color: var(--ink-2);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.footer-brand__company {
  max-width: 34ch;
  margin-top: 28px;
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.8;
  text-transform: uppercase;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer-col__title {
  margin-bottom: 16px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  width: fit-content;
  padding-block: 5px;
  color: var(--ink-2);
  font-size: 13.5px;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-col__note {
  margin-top: 12px;
  color: var(--faint);
  font-size: 11.5px;
  line-height: 1.6;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  padding-block: 22px;
  border-top: 1px solid var(--line-soft);
  color: var(--faint);
  font-size: 10.5px;
  letter-spacing: 0.02em;
}

.footer-legal__name {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal a {
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer-legal a:hover {
  color: var(--ink);
}

.footer-wordmark {
  margin-top: clamp(12px, 2vw, 26px);
  margin-bottom: -0.12em;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 14.8vw, 13rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.76;
  text-align: center;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  user-select: none;
  pointer-events: none;
}

/* ---------- Page hero ---------- */

.page-hero {
  position: relative;
  overflow: clip;
  padding: calc(var(--header-h) + clamp(64px, 8.5vw, 116px)) 0 clamp(52px, 6.5vw, 82px);
  border-bottom: 1px solid var(--line-soft);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 72% 10%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 80% at 72% 10%, #000, transparent 75%);
  opacity: 0.6;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -6%;
  width: min(50vw, 680px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 104, 255, 0.14), transparent 65%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
}

.page-hero__title {
  margin-top: 22px;
  max-width: 15ch;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

.page-hero__title .accent {
  color: var(--accent);
}

.page-hero__lede {
  max-width: 58ch;
  margin-top: 26px;
  color: var(--ink-2);
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  line-height: 1.7;
}

.page-hero__aside {
  align-self: end;
  padding-bottom: 10px;
  text-align: right;
}

.page-hero__index {
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 7.5rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.8;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.13);
}

.page-hero__aside p {
  margin-top: 14px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb span {
  opacity: 0.5;
}

/* ---------- Detail grid ---------- */

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.detail {
  position: relative;
  min-height: 280px;
  padding: clamp(28px, 3.4vw, 44px);
  background: #080a0d;
  transition: background-color 0.35s var(--ease);
}

.detail:hover {
  background: #0b0e12;
}

.detail__num {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.detail__title {
  margin-top: clamp(38px, 5vw, 60px);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.detail__body {
  max-width: 44ch;
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.72;
}

/* ---------- Split section ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}

.split__aside {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.split__body {
  max-width: 64ch;
}

.split__body p {
  color: var(--ink-2);
  font-size: clamp(0.98rem, 1.1vw, 1.05rem);
  line-height: 1.8;
}

.split__body p + p {
  margin-top: 20px;
}

.split__body strong {
  color: var(--ink);
  font-weight: 500;
}

/* ---------- Company card ---------- */

.studio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.studio-copy p {
  color: var(--ink-2);
  font-size: clamp(0.98rem, 1.08vw, 1.04rem);
  line-height: 1.8;
}

.studio-copy p + p {
  margin-top: 20px;
}

.studio-copy .mono-label {
  display: block;
  margin-bottom: 20px;
}

.studio-copy .section-title {
  margin-top: 0;
  margin-bottom: 26px;
}

.company-card {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  padding: clamp(26px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012) 62%),
    #080a0d;
}

.company-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}

.company-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border: 1px solid rgba(201, 244, 90, 0.25);
  border-radius: 999px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-pill::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.dl {
  display: grid;
  gap: 0;
}

.dl > div {
  padding-block: 17px;
  border-bottom: 1px solid var(--line-soft);
}

.dl > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.dl dt {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dl dd {
  margin-top: 7px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.65;
}

.dl dd a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.dl dd a:hover {
  color: var(--accent);
  border-color: var(--accent-line);
}

.company-card address {
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.75;
}

.company-card__foot {
  margin-top: 18px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  line-height: 1.7;
  text-transform: uppercase;
}

/* ---------- Principles ---------- */

.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.principle {
  padding: clamp(26px, 3vw, 38px);
  background: #080a0d;
}

.principle__num {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.principle__title {
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.principle__body {
  max-width: 40ch;
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.7;
}

/* ---------- Process ---------- */

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 34px);
}

.process__step {
  position: relative;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.process__step::before {
  content: "";
  position: absolute;
  top: -3.5px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(201, 244, 90, 0.55);
}

.process__num {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.process__title {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.process__body {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.68;
}

/* ---------- Pipeline ---------- */

.pipeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #080a0d;
}

.pipeline__flow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  overflow: hidden;
}

.pipeline__flow::after {
  content: "";
  position: absolute;
  top: 0;
  left: -20%;
  width: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: pipeline-flow 5.5s linear infinite;
}

.pipeline__stage {
  min-height: 190px;
  padding: 26px 22px 28px;
  border-right: 1px solid var(--line-soft);
}

.pipeline__stage:last-child {
  border-right: 0;
}

.pipeline__stage-num {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.pipeline__stage-name {
  margin-top: 32px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pipeline__stage-body {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

@keyframes pipeline-flow {
  to {
    left: 120%;
  }
}

/* ---------- Legal pages ---------- */

.legal-hero {
  padding-bottom: clamp(40px, 5vw, 64px);
}

.legal-hero .page-hero__title {
  max-width: 22ch;
  font-size: clamp(2.35rem, 4.6vw, 4rem);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-top: 26px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
  padding-block: clamp(52px, 6.5vw, 86px);
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + 36px);
}

.toc__title {
  margin-bottom: 14px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.toc a {
  display: block;
  padding: 6px 0 6px 14px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.toc a:hover {
  color: var(--ink);
  border-color: var(--accent);
}

.prose {
  max-width: 72ch;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.78;
}

.prose > :first-child {
  margin-top: 0;
}

.prose h2 {
  margin: 54px 0 16px;
  scroll-margin-top: calc(var(--header-h) + 28px);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 32px 0 10px;
  scroll-margin-top: calc(var(--header-h) + 28px);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0;
}

.prose p {
  margin-bottom: 16px;
}

.prose ul,
.prose ol {
  margin: 0 0 20px;
  padding-left: 20px;
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin: 8px 0;
  padding-left: 4px;
}

.prose li::marker {
  color: var(--faint);
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(201, 244, 90, 0.35);
  text-underline-offset: 3px;
}

.prose a:hover {
  text-decoration-color: var(--accent);
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

.prose .notice {
  margin: 0 0 30px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: 0 8px 8px 0;
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.7;
}

.prose table {
  width: 100%;
  margin: 0 0 24px;
  border-collapse: collapse;
  font-size: 13px;
}

.prose th,
.prose td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: rgba(255, 255, 255, 0.025);
  color: var(--ink);
  font-weight: 500;
}

.table-wrap {
  overflow-x: auto;
  margin-bottom: 24px;
}

.table-wrap table {
  margin-bottom: 0;
}

.legal-foot {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  line-height: 1.8;
  text-transform: uppercase;
}

/* ---------- Contact ---------- */

.contact-block {
  padding-block: clamp(20px, 3vw, 34px);
  border-block: 1px solid var(--line);
}

.contact-block__label {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.email-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  margin-top: 20px;
}

.email-link {
  position: relative;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4.4vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.25s var(--ease);
}

.email-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--line);
  transition: background-color 0.25s var(--ease);
}

.email-link:hover {
  color: var(--accent);
}

.email-link:hover::after {
  background: var(--accent);
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.copy-btn:hover {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.26);
}

.copy-btn.is-copied {
  color: var(--accent);
  border-color: var(--accent-line);
}

.copy-btn svg {
  width: 12px;
  height: 12px;
}

.contact-grid {
  margin-top: clamp(44px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.contact-grid .enquiry-list {
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.enquiry {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.enquiry__num {
  padding-top: 2px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.enquiry__title {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
}

.enquiry__body {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.contact-note {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01) 60%);
}

.contact-note h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}

.contact-note p {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.7;
}

.contact-note__mail {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.contact-note__mail:hover {
  color: var(--accent);
  border-color: var(--accent-line);
}

.contact-note .mono-label {
  display: block;
  margin-top: 22px;
}

.contact-note .mono-label + p {
  margin-top: 6px;
}

/* ---------- Careers / split CTA ---------- */

.careers {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012) 60%);
}

.careers__title {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.careers__body {
  max-width: 52ch;
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.72;
}

/* ---------- Error page ---------- */

.error-page {
  display: flex;
  align-items: center;
  min-height: 82svh;
  padding: calc(var(--header-h) + 60px) 0 80px;
}

.error-page__code {
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 15rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.8;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.16);
}

.error-page__title {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.error-page__body {
  max-width: 48ch;
  margin-top: 16px;
  color: var(--ink-2);
  line-height: 1.7;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* ---------- Reveal ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.delay-70 { --delay: 70ms; }
.delay-80 { --delay: 80ms; }
.delay-90 { --delay: 90ms; }
.delay-100 { --delay: 100ms; }
.delay-140 { --delay: 140ms; }
.delay-160 { --delay: 160ms; }
.delay-210 { --delay: 210ms; }

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  }

  .hero__title {
    font-size: clamp(2.3rem, 5.3vw, 4.3rem);
  }

  .nav {
    gap: 20px;
  }

  .brand__sub {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .footer-brand__tagline {
    max-width: 34ch;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 68px;
  }

  .nav,
  .header-end .btn,
  .header-end .lang-switch {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-end {
    gap: 0;
  }

  .site-header {
    background: rgba(6, 7, 9, 0.6);
    border-bottom-color: var(--line-soft);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .hero {
    min-height: 0;
    padding-top: calc(var(--header-h) + 64px);
    padding-bottom: 56px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero__content {
    max-width: 660px;
  }

  .hero__title {
    font-size: clamp(2.55rem, 7.6vw, 4.6rem);
    max-width: 13ch;
  }

  .hero__visual {
    justify-self: center;
    width: min(82vw, 520px);
  }

  .hero__scroll {
    display: none;
  }

  .approach,
  .manifesto__grid,
  .split,
  .studio-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .approach__aside,
  .split__aside,
  .company-card {
    position: static;
  }

  .approach__aside .section-title {
    max-width: 17ch;
  }

  .manifesto__body {
    max-width: 52ch;
  }

  .page-hero__grid {
    grid-template-columns: 1fr;
  }

  .page-hero__aside {
    display: none;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line-soft);
  }

  .toc__title {
    width: 100%;
    margin-bottom: 4px;
  }

  .toc a {
    padding: 4px 0;
    border-left: 0;
    font-size: 11.5px;
  }

  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }

  .pipeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pipeline__stage {
    border-bottom: 1px solid var(--line-soft);
  }

  .pipeline__stage:nth-child(2n) {
    border-right: 0;
  }

  .pipeline__stage:last-child {
    border-bottom: 0;
  }

  .careers {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

@media (max-width: 760px) {
  .section-head {
    display: block;
  }

  .section-head .section-intro {
    margin-top: 18px;
    max-width: 46ch;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .pillar {
    min-height: 340px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail {
    min-height: 0;
  }

  .detail__title {
    margin-top: 28px;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .fact {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .fact + .fact {
    padding-left: 0;
  }

  .fact:last-child {
    border-bottom: 0;
  }

  .cta {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .cta__actions {
    justify-self: start;
    margin-top: 8px;
  }

  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }

  .footer-legal {
    align-items: flex-start;
    flex-direction: column;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .contact-note {
    order: -1;
  }

  .toc {
    display: none;
  }

  .legal-layout {
    padding-block: 48px 64px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: calc(var(--header-h) + 42px);
  }

  .hero__title {
    font-size: clamp(2.15rem, 9.6vw, 3rem);
    letter-spacing: -0.04em;
  }

  .hero__lede {
    font-size: 0.98rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__visual {
    width: min(100%, 430px);
  }

  .hero__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    margin-top: 38px;
    font-size: 8px;
  }

  .hero__meta-divider {
    display: none;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 0.16em;
  }

  .section-title {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .page-hero__title {
    font-size: clamp(2.15rem, 10.6vw, 3.2rem);
    max-width: 18ch;
  }

  .process {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .pipeline {
    grid-template-columns: 1fr;
  }

  .pipeline__stage {
    min-height: 0;
    padding: 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .pipeline__stage:nth-child(2n) {
    border-right: 0;
  }

  .pipeline__stage-name {
    margin-top: 18px;
  }

  .step {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-wordmark {
    font-size: 19vw;
  }

  .email-link {
    font-size: clamp(1.25rem, 6.6vw, 1.8rem);
  }

  .copy-btn {
    padding: 8px 12px;
  }

  .page-hero {
    padding-top: calc(var(--header-h) + 54px);
  }

  .legal-meta {
    gap: 6px 18px;
  }

  .prose {
    font-size: 14.5px;
  }

  .prose table {
    font-size: 12px;
  }
}

/* ---------- Chinese typography ---------- */

html[lang="zh-Hant"] .hero__title,
html[lang="zh-Hant"] .section-title,
html[lang="zh-Hant"] .page-hero__title,
html[lang="zh-Hant"] .manifesto__quote,
html[lang="zh-Hant"] .cta__title {
  letter-spacing: 0;
  line-height: 1.14;
  font-weight: 500;
  font-feature-settings: "palt" 1;
}

html[lang="zh-Hant"] .hero__title {
  font-size: clamp(2.35rem, 4.9vw, 4.4rem);
  line-height: 1.18;
}

html[lang="zh-Hant"] .hero__title > span {
  display: block;
}

html[lang="zh-Hant"] .hero__lede {
  line-height: 1.85;
}

html[lang="zh-Hant"] .section-title {
  max-width: 22ch;
}

html[lang="zh-Hant"] .footer-brand__tagline {
  font-size: 1.05rem;
  letter-spacing: 0;
}

html[lang="zh-Hant"] .nav__link {
  letter-spacing: 0.08em;
}

html[lang="zh-Hant"] .eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.12em;
}

html[lang="zh-Hant"] .tag {
  font-size: 10px;
  letter-spacing: 0.05em;
}

html[lang="zh-Hant"] .ticker__item {
  font-size: 11px;
  letter-spacing: 0.1em;
}

html[lang="zh-Hant"] .pillar__index,
html[lang="zh-Hant"] .fact__label,
html[lang="zh-Hant"] .footer-col__title,
html[lang="zh-Hant"] .mono-label {
  font-size: 9.5px;
  letter-spacing: 0.1em;
}

html[lang="zh-Hant"] .hero__meta {
  font-size: 9.5px;
  letter-spacing: 0.12em;
}

html[lang="zh-Hant"] .btn--small {
  font-size: 11px;
  letter-spacing: 0.08em;
}

/* ---------- Motion / print preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  body::before,
  body::after,
  .site-header,
  .site-footer,
  .toc,
  .skip-link {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
  }

  .legal-layout {
    display: block;
    padding: 0;
  }

  .prose {
    max-width: none;
    color: #222;
    font-size: 11pt;
  }

  .prose h2,
  .prose h3,
  .prose strong {
    color: #000;
  }

  .page-hero {
    padding-top: 0;
  }

  .prose a {
    color: #000;
  }
}
