/* ==========================================================================
   VEYLORA — site.css
   A dark, editorial system for a game and software studio.
   Self-hosted fonts. No frameworks. No third-party requests.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-latin-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */

:root {
  --bg: #05070b;
  --bg-2: #080b11;
  --panel: #0a0e15;
  --ink: #f1f5f7;
  --body: #a7b2c0;
  --muted: #7b8796;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.17);
  --mint: #9ff3dc;
  --sky: #8ab4ff;
  --violet: #c9a7ff;
  --grad: linear-gradient(100deg, var(--mint) 0%, var(--sky) 54%, var(--violet) 100%);
  --on-accent: #04110d;
  --font-d: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  --font-b: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  --font-serif: "Instrument Serif", "Songti TC", "Noto Serif TC", "Source Han Serif TC",
    "STSong", "PMingLiU", serif;
  --font-mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 44px);
  --header-h: 84px;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 0.7, 0.24, 1);
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */

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

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-height: 100%;
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 720px at 82% -12%, rgba(88, 211, 190, 0.1), transparent 62%),
    radial-gradient(900px 700px at -10% 26%, rgba(92, 124, 255, 0.075), transparent 62%),
    radial-gradient(760px 560px at 58% 102%, rgba(160, 102, 255, 0.055), transparent 66%);
  background-attachment: fixed;
  color: var(--body);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-d);
  font-weight: 500;
  line-height: 1.1;
}

p {
  margin: 0;
}

a {
  color: var(--mint);
  text-decoration: none;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease),
    background-color 0.2s var(--ease), opacity 0.2s var(--ease);
}

a:hover {
  color: #c7f8ea;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
}

::selection {
  background: rgba(159, 243, 220, 0.28);
  color: #fff;
}

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

[tabindex="-1"]:focus {
  outline: none;
}

/* --------------------------------------------------------------------------
   4. Utilities
   -------------------------------------------------------------------------- */

.wrap {
  width: min(100% - (2 * var(--gutter)), var(--max));
  margin-inline: auto;
}

#studio,
#approach,
#global,
#contact {
  scroll-margin-top: calc(var(--header-h) + 28px);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 18px;
  background: var(--mint);
  color: var(--on-accent);
  font-weight: 600;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
  color: var(--on-accent);
}

.nb {
  white-space: nowrap;
}

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

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  flex: none;
  background: var(--mint);
}

.lede {
  max-width: 52ch;
  color: var(--body);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.72;
}

.display {
  max-width: 24ch;
  color: var(--ink);
  font-family: var(--font-d);
  font-size: clamp(2.35rem, 4.5vw, 4.15rem);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.display em {
  color: var(--mint);
  font-family: var(--font-serif);
  font-size: 1.05em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

.display .no-serif {
  font-family: var(--font-d);
  font-style: normal;
  letter-spacing: -0.045em;
}

.section[id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.section {
  position: relative;
  padding: clamp(88px, 10vw, 146px) 0;
}

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

.section-grid {
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 76px);
}

.section-rail {
  position: sticky;
  top: calc(var(--header-h) + 34px);
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rail-num {
  color: transparent;
  font-family: var(--font-d);
  font-size: 40px;
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.26);
}

.rail-label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-main {
  min-width: 0;
}

.section-main > .display {
  margin: 0 0 24px;
}

.section-main > .lede {
  margin: 0 0 48px;
}

.lede,
.hero-lede,
.principle p,
.global-copy > p,
.contact-copy,
.about-copy p,
.legal-body p,
.legal-body li {
  text-wrap: pretty;
}

/* Scroll-linked reveal: pure CSS, progressive enhancement. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal-up linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 28%;
    }
  }
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  html {
    scroll-behavior: auto;
  }
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--mint);
  color: var(--on-accent);
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
    border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.btn:hover {
  background: #b9f8e8;
  color: var(--on-accent);
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: rgba(159, 243, 220, 0.5);
  background: rgba(255, 255, 255, 0.035);
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
}

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

.text-link:hover {
  color: var(--mint);
}

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

/* --------------------------------------------------------------------------
   6. Header & navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(5, 7, 11, 0.72), rgba(5, 7, 11, 0));
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled,
.page-subpage .site-header {
  border-bottom-color: var(--line);
  background: rgba(5, 7, 11, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

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

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

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

.brand-mark {
  width: 25px;
  height: 25px;
  flex: none;
  color: var(--mint);
}

.brand-word {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
  line-height: 1;
  padding-left: 0.1em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  min-width: 0;
}

.site-nav a {
  color: var(--body);
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 17px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink) !important;
  font-size: 12px !important;
}

.nav-cta:hover {
  border-color: rgba(159, 243, 220, 0.55);
  background: rgba(159, 243, 220, 0.06);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-left: 22px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

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

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

.lang-switch [aria-current="true"] {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  flex: none;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.nav-toggle span:nth-child(1) {
  top: 17px;
}

.nav-toggle span:nth-child(2) {
  top: 25px;
}

.nav-open .nav-toggle span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  top: 21px;
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(40px, 5.5vw, 74px)) 0 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(ellipse 90% 75% at 55% 38%, #000 0%, transparent 76%);
  mask-image: radial-gradient(ellipse 90% 75% at 55% 38%, #000 0%, transparent 76%);
  opacity: 0.5;
}

.hero::after {
  content: "";
  position: absolute;
  top: -280px;
  right: -220px;
  z-index: 0;
  width: 880px;
  height: 880px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(122, 166, 255, 0.14), transparent 62%);
  filter: blur(12px);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: 32px;
  min-height: clamp(480px, calc(100svh - var(--header-h) - 250px), 660px);
}

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

.hero-title {
  margin: 26px 0 28px;
  color: var(--ink);
  font-family: var(--font-d);
  font-size: clamp(3.35rem, 7.05vw, 6.85rem);
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.hero-title .line {
  display: block;
}

.hero-title em {
  display: inline-block;
  padding-right: 0.06em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-serif);
  font-size: 1.04em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 0.9;
}

.hero-lede {
  max-width: 46ch;
  color: var(--body);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-meta {
  display: flex;
  align-items: flex-end;
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(40px, 5vw, 64px);
  padding: 22px 0 26px;
  border-top: 1px solid var(--line);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meta-k {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
}

.meta-v {
  color: var(--ink);
  font-size: 12.5px;
  line-height: 1.3;
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-scroll svg {
  width: 14px;
  height: 14px;
  animation: nudge 2.6s var(--ease) infinite;
}

@keyframes nudge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

/* Hero orbital artwork */

.hero-art {
  position: relative;
  width: min(100%, 620px);
  margin-left: auto;
  aspect-ratio: 1;
  z-index: 1;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(105, 232, 205, 0.16), transparent 62%);
  filter: blur(34px);
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 50%;
}

.orbit-map {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.orbit-rot,
.orbit-rot-rev {
  transform-box: view-box;
  transform-origin: 320px 320px;
}

.orbit-rot {
  animation: orbit 96s linear infinite;
}

.orbit-rot-rev {
  animation: orbit-rev 132s linear infinite;
}

.orbit-core {
  transform-box: view-box;
  transform-origin: 320px 320px;
  animation: core-pulse 7s ease-in-out infinite;
}

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

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

@keyframes core-pulse {
  0%,
  100% {
    opacity: 0.82;
  }
  50% {
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   8. Ticker
   -------------------------------------------------------------------------- */

.ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 42s linear infinite;
}

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding: 17px 30px 17px 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-item::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(159, 243, 220, 0.55);
}

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

/* --------------------------------------------------------------------------
   9. Studio
   -------------------------------------------------------------------------- */

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: clamp(38px, 6vw, 82px);
  align-items: start;
}

.studio-copy p {
  max-width: 57ch;
  font-size: 15.5px;
  line-height: 1.78;
}

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

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

.facts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.fact dt {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.fact dd {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  text-align: right;
}

/* --------------------------------------------------------------------------
   11. Approach
   -------------------------------------------------------------------------- */

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 54px;
  border-top: 1px solid var(--line);
}

.principle {
  position: relative;
  padding: 30px 34px 38px 0;
  border-bottom: 1px solid var(--line);
}

.principle:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.principle:nth-child(even) {
  padding-left: 34px;
  padding-right: 0;
}

.principle-num {
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.principle h3 {
  margin: 18px 0 10px;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.principle p {
  max-width: 40ch;
  font-size: 14px;
  line-height: 1.72;
}

/* --------------------------------------------------------------------------
   12. Global
   -------------------------------------------------------------------------- */

.global-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.globe-wrap {
  position: relative;
  width: min(100%, 450px);
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(88, 211, 190, 0.08), transparent 66%);
}

.globe-wrap::before {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.globe {
  display: block;
  width: 100%;
  height: auto;
  animation: float 14s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

.coord {
  position: absolute;
  left: 50%;
  bottom: 4%;
  transform: translateX(-50%);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.global-copy > p {
  max-width: 54ch;
  font-size: 15.5px;
  line-height: 1.78;
}

.global-facts {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.global-facts li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.global-facts span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.global-facts strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 400;
  text-align: right;
}

/* --------------------------------------------------------------------------
   13. Contact
   -------------------------------------------------------------------------- */

.contact {
  padding: clamp(20px, 4vw, 40px) 0 clamp(64px, 8vw, 100px);
}

.contact-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 5.6vw, 76px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(120% 150% at 88% 0%, rgba(88, 211, 190, 0.12), transparent 58%),
    radial-gradient(90% 120% at 8% 100%, rgba(92, 124, 255, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}

.contact-panel::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.contact-panel::after {
  content: "";
  position: absolute;
  top: -70px;
  right: -30px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  pointer-events: none;
}

.contact-inner {
  position: relative;
  z-index: 1;
}

.contact-title {
  max-width: 16ch;
  margin: 22px 0 20px;
  font-size: clamp(2.5rem, 5.6vw, 5rem);
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.contact-title em {
  color: var(--mint);
  font-family: var(--font-serif);
  font-size: 1.05em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.contact-copy {
  max-width: 48ch;
  font-size: 15.5px;
  line-height: 1.75;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(159, 243, 220, 0.4);
  color: var(--ink);
  font-family: var(--font-d);
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.contact-email svg {
  width: 17px;
  height: 17px;
  color: var(--mint);
  transition: transform 0.25s var(--ease);
}

.contact-email:hover {
  color: var(--mint);
  border-bottom-color: var(--mint);
}

.contact-email:hover svg {
  transform: translate(2px, -2px);
}

.contact-note {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  line-height: 1.6;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(4, 6, 10, 0.55);
  padding: clamp(48px, 6vw, 72px) 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) repeat(3, minmax(0, 0.65fr));
  gap: clamp(28px, 4vw, 54px);
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-tagline {
  max-width: 30ch;
  color: var(--body);
  font-size: 13.5px;
  line-height: 1.7;
}

.footer-legal-name {
  max-width: 46ch;
  margin-top: 22px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.13em;
  line-height: 1.7;
  text-transform: uppercase;
}

.footer-col h2 {
  margin-bottom: 17px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
}

.footer-links li + li {
  margin-top: 6px;
}

.footer-links a,
.footer-col address a {
  display: inline-block;
  padding: 3px 0;
  color: var(--body);
  font-size: 13px;
  line-height: 1.4;
}

.footer-links a:hover,
.footer-col address a:hover {
  color: var(--mint);
}

.footer-col address {
  margin: 0;
  font-style: normal;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: clamp(44px, 6vw, 68px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-transform: uppercase;
}

.footer-bottom a {
  color: var(--muted);
}

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

.footer-locale-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  opacity: 0.75;
}

/* --------------------------------------------------------------------------
   15. Interior page hero
   -------------------------------------------------------------------------- */

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

.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(64px, 8vw, 108px)) 0 clamp(54px, 7vw, 88px);
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(ellipse 90% 100% at 70% 0%, #000 0%, transparent 74%);
  mask-image: radial-gradient(ellipse 90% 100% at 70% 0%, #000 0%, transparent 74%);
}

.page-hero::after {
  content: "";
  position: absolute;
  top: -340px;
  right: -180px;
  z-index: 0;
  width: 820px;
  height: 820px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(88, 211, 190, 0.1), transparent 62%);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 30px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

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

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

.breadcrumb span[aria-hidden="true"] {
  color: rgba(255, 255, 255, 0.25);
}

.page-title {
  max-width: 21ch;
  margin: 20px 0 24px;
  font-size: clamp(2.8rem, 6.4vw, 5.5rem);
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.page-title em {
  color: var(--mint);
  font-family: var(--font-serif);
  font-size: 1.04em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.page-lede {
  max-width: 62ch;
  color: var(--body);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.72;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  line-height: 1.6;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   16. About
   -------------------------------------------------------------------------- */

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(38px, 6vw, 86px);
  align-items: start;
}

.about-quote {
  max-width: 16ch;
  color: var(--ink);
  font-family: var(--font-d);
  font-size: clamp(1.75rem, 3.1vw, 2.75rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.14;
}

.about-quote em {
  color: var(--mint);
  font-family: var(--font-serif);
  font-size: 1.06em;
  font-style: italic;
  font-weight: 400;
}

.about-copy p {
  max-width: 60ch;
  font-size: 15.5px;
  line-height: 1.8;
}

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

.discipline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--line);
}

.discipline {
  padding: 28px 30px 32px 0;
  border-bottom: 1px solid var(--line);
}

.discipline + .discipline {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

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

.discipline h3 {
  margin: 16px 0 10px;
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.discipline p {
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.72;
}

.value-list {
  margin-top: 50px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.value-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

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

.value-row h3 {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.value-row p {
  max-width: 54ch;
  font-size: 14px;
  line-height: 1.72;
}

.company-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 4.5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(110% 130% at 100% 0%, rgba(138, 180, 255, 0.09), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.01));
}

.company-panel::before {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -170px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.company-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 80px);
}

.company-block .nb {
  white-space: nowrap;
}

.eyebrow {
  margin-bottom: 22px;
}

.company-name {
  margin-bottom: 26px;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.company-address {
  margin: 0;
  color: var(--ink);
  font-style: normal;
  font-size: 15px;
  letter-spacing: 0.01em;
  line-height: 1.8;
  text-transform: uppercase;
}

.company-address span {
  display: block;
}

.company-note {
  margin-top: 24px;
  max-width: 40ch;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.company-facts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.company-fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 22px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.company-fact dt {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.company-fact dd {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  text-align: right;
}

.company-fact a {
  color: var(--ink);
  border-bottom: 1px solid rgba(159, 243, 220, 0.35);
}

.company-fact a:hover {
  color: var(--mint);
}

/* --------------------------------------------------------------------------
   17. Legal pages
   -------------------------------------------------------------------------- */

.legal-hero {
  padding: calc(var(--header-h) + clamp(54px, 7vw, 90px)) 0 clamp(38px, 5vw, 54px);
  border-bottom: 1px solid var(--line);
}

.legal-hero .page-title {
  max-width: 22ch;
  font-size: clamp(2.3rem, 4.8vw, 4rem);
}

.legal-hero .page-lede {
  max-width: 58ch;
}

.legal-meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

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

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 780px);
  justify-content: space-between;
  gap: clamp(36px, 6vw, 84px);
  padding: clamp(48px, 6vw, 72px) 0 clamp(80px, 9vw, 120px);
  align-items: start;
}

.legal-aside {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

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

.toc {
  border-top: 1px solid var(--line);
  list-style: none;
}

.toc li {
  border-bottom: 1px solid var(--line);
}

.toc a {
  display: block;
  padding: 10px 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
}

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

.legal-body {
  min-width: 0;
}

.legal-body > p,
.legal-body section > p {
  max-width: 66ch;
  color: var(--body);
  font-size: 15px;
  line-height: 1.8;
}

.legal-body > p + p,
.legal-body section > p + p {
  margin-top: 14px;
}

.legal-body > p + section {
  margin-top: 44px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.legal-body section {
  scroll-margin-top: calc(var(--header-h) + 28px);
}

.legal-body section + section {
  margin-top: 44px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.legal-body h2 {
  margin: 0 0 16px;
  font-size: 1.32rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.legal-body h2 .num {
  display: inline-block;
  min-width: 2.2em;
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 0.66em;
  font-weight: 500;
  letter-spacing: 0.08em;
  vertical-align: 0.18em;
}

.legal-body h3 {
  margin: 26px 0 8px;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.legal-body ul,
.legal-body ol {
  margin: 14px 0 0;
  padding-left: 1.25em;
}

.legal-body li {
  max-width: 66ch;
  margin-top: 7px;
  padding-left: 0.2em;
  color: var(--body);
  font-size: 15px;
  line-height: 1.75;
}

.legal-body li::marker {
  color: rgba(159, 243, 220, 0.65);
}

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

.legal-body a {
  color: var(--mint);
  border-bottom: 1px solid rgba(159, 243, 220, 0.28);
}

.legal-body a:hover {
  border-bottom-color: var(--mint);
}

.legal-note {
  margin-top: 20px;
  padding: 16px 20px;
  border-left: 2px solid var(--mint);
  border-radius: 0 6px 6px 0;
  background: rgba(159, 243, 220, 0.045);
  color: var(--body);
  font-size: 13.5px;
  line-height: 1.75;
}

.legal-table:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

.legal-table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  text-align: left;
}

.legal-table th {
  padding: 10px 14px 10px 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-table td {
  padding: 13px 14px 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--body);
  font-size: 13.5px;
  line-height: 1.65;
  vertical-align: top;
}

.legal-table td:first-child {
  color: var(--ink);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 46px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

/* --------------------------------------------------------------------------
   18. 404
   -------------------------------------------------------------------------- */

.error-page {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: calc(var(--header-h) + 70px) 0 90px;
  overflow: hidden;
}

.error-page::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(80vw, 760px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 211, 190, 0.09), transparent 64%);
  pointer-events: none;
}

.error-inner {
  position: relative;
  z-index: 1;
  max-width: 660px;
  text-align: center;
}

.error-code {
  margin: 0;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-d);
  font-size: clamp(7rem, 24vw, 18rem);
  font-weight: 200;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.error-title {
  margin: 28px 0 14px;
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
  font-weight: 300;
  letter-spacing: -0.04em;
}

.error-copy {
  max-width: 44ch;
  margin-inline: auto;
  font-size: 15px;
  line-height: 1.72;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

/* --------------------------------------------------------------------------
   19. Chinese-language refinements
   -------------------------------------------------------------------------- */

.is-zh .hero-title,
.is-zh .display,
.is-zh .page-title,
.is-zh .contact-title,
.is-zh .about-quote {
  letter-spacing: -0.02em;
}

.is-zh .hero-title em,
.is-zh .display em,
.is-zh .page-title em,
.is-zh .contact-title em,
.is-zh .about-quote em {
  font-family: "Songti TC", "Noto Serif TC", "Source Han Serif TC", "STSong",
    "PMingLiU", serif;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
}

.is-zh .hero-title {
  font-size: clamp(3.15rem, 7.4vw, 7.2rem);
  line-height: 1.06;
}

.is-zh .hero-lede {
  max-width: 30em;
  line-height: 1.9;
}

.is-zh .display {
  line-height: 1.28;
}

.is-zh .lede,
.is-zh .studio-copy p,
.is-zh .principle p,
.is-zh .global-copy > p,
.is-zh .contact-copy,
.is-zh .about-copy p {
  line-height: 1.95;
}

.is-zh .eyebrow,
.is-zh .rail-label,
.is-zh .meta-k,
.is-zh .fact dt {
  letter-spacing: 0.12em;
}

/* --------------------------------------------------------------------------
   20. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }

  .hero-art {
    width: min(100%, 480px);
  }
}

@media (max-width: 920px) {
  :root {
    --header-h: 72px;
  }

  body {
    background-attachment: scroll;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 79;
    height: calc(100svh - var(--header-h));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 14px var(--gutter) 48px;
    overflow-y: auto;
    background: #05070b;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
      visibility 0s linear 0.3s;
  }

  .nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-family: var(--font-d);
    font-size: 1.65rem;
    font-weight: 300;
    letter-spacing: -0.03em;
    line-height: 1.2;
  }

  .site-nav .nav-cta {
    height: auto;
    margin-top: 24px;
    padding: 14px 20px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    justify-content: center;
    font-size: 0.95rem !important;
    letter-spacing: 0;
  }

  .site-nav .lang-switch a {
    display: inline;
    width: auto;
    padding: 0;
    border-bottom: 0;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1;
  }

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

  .lang-switch {
    margin-top: 26px;
    padding: 0;
    border-left: 0;
    font-size: 11px;
  }

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

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-art {
    position: absolute;
    top: 2%;
    right: -24%;
    z-index: 0;
    width: 78%;
    max-width: 520px;
    opacity: 0.24;
    margin: 0;
    pointer-events: none;
  }

  .hero-copy {
    padding-bottom: 26px;
  }

  .hero-title {
    font-size: clamp(3.2rem, 10.2vw, 5.6rem);
  }

  .hero-lede {
    max-width: 50ch;
  }

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

  .section-rail {
    position: static;
    flex-direction: row;
    align-items: baseline;
    gap: 16px;
  }

  .rail-num {
    font-size: 30px;
  }

  .studio-grid,
  .global-grid,
  .about-intro,
  .company-grid {
    grid-template-columns: 1fr;
  }

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

  .discipline {
    padding: 24px 0 28px;
  }

  .discipline + .discipline {
    padding-left: 0;
    border-left: 0;
  }

  .value-row {
    grid-template-columns: 40px 1fr;
    gap: 8px 18px;
  }

  .value-row p {
    grid-column: 2;
    margin-top: 4px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 36px;
  }

  .legal-aside {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
    padding-bottom: 10px;
  }
}

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

  .hero-title {
    margin-top: 20px;
    font-size: clamp(2.6rem, 12.2vw, 3.5rem);
  }

  .hero-lede {
    font-size: 15px;
  }

  .hero-actions .btn {
    height: 48px;
    padding: 0 20px;
  }

  .hero-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 24px;
  }

  .hero-scroll {
    display: none;
  }

  .hero-art {
    top: 0;
    right: -48%;
    width: 92%;
    opacity: 0.16;
  }

  .ticker-item {
    padding: 15px 24px 15px 0;
    font-size: 9.5px;
  }

  .display {
    font-size: clamp(2.1rem, 8.8vw, 3rem);
  }

  .section-main > .display {
    margin-bottom: 18px;
  }

  .section-main > .lede {
    margin-bottom: 38px;
  }

  .approach-grid {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .principle,
  .principle:nth-child(even) {
    padding: 24px 0 28px;
    border-right: 0;
  }

  .contact-panel {
    border-radius: 22px;
  }

  .contact-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

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

  .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 22px;
  }

  .page-title {
    font-size: clamp(2.45rem, 10.5vw, 3.7rem);
  }

  .about-quote {
    font-size: clamp(1.6rem, 6.8vw, 2.1rem);
    max-width: 18ch;
  }

  .legal-body h2 {
    font-size: 1.18rem;
  }

  .legal-body > p,
  .legal-body section > p,
  .legal-body li {
    font-size: 14px;
  }

  .legal-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

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

@media (max-width: 420px) {
  .brand-word {
    font-size: 12px;
    letter-spacing: 0.2em;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   21. Print
   -------------------------------------------------------------------------- */

@media print {
  .reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .site-header,
  .site-footer,
  .legal-aside,
  .skip-link {
    display: none !important;
  }

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

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

  .legal-body h2,
  .legal-body h3,
  .legal-body strong,
  .page-title,
  .page-lede,
  .legal-hero .eyebrow,
  .breadcrumb,
  .legal-meta {
    color: #111 !important;
    -webkit-text-fill-color: #111;
  }

  .page-title em {
    color: #111 !important;
    -webkit-text-fill-color: #111;
  }

  .legal-hero::before,
  .legal-hero::after {
    display: none;
  }

  .legal-body p,
  .legal-body li,
  .legal-table td {
    color: #222;
  }

  .legal-body a {
    color: #111;
  }
}
