/* ------------------------------------------------------------------
   noxri.dev — core styles
   A quiet, atmospheric system for an independent AI exploration.
------------------------------------------------------------------- */

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-latin-ext.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Noto Sans TC";
  src: url("/assets/fonts/noto-sans-tc-subset.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+21B3, U+2E80-303F, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FF00-FFEF;
}


:root {
  --bg: #0b0b0a;
  --bg-soft: #10100e;
  --bg-deep: #070706;
  --ink: #f2f0e9;
  --ink-soft: #b9b5ab;
  --muted: #8d887d;
  --faint: #7e796f;
  --line: rgba(242, 240, 233, 0.12);
  --line-strong: rgba(242, 240, 233, 0.23);
  --accent: #d4c1a0;
  --accent-soft: rgba(212, 193, 160, 0.13);
  --cream: #eae6dc;
  --cream-ink: #0b0b09;
  --cream-soft: #48453e;
  --cream-muted: #625e56;
  --cream-line: rgba(11, 11, 9, 0.15);
  --cream-line-strong: rgba(11, 11, 9, 0.28);
  --font-sans: "Geist", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Helvetica Neue", sans-serif;
  --font-mono: var(--font-sans);
  --gutter: clamp(1.25rem, 4.2vw, 4.5rem);
  --header-h: 82px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 2rem);
  background: var(--bg);
  color-scheme: dark;
}

body {
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(120% 70% at 76% 0%, rgba(154, 137, 113, 0.07), transparent 62%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: soft-light;
  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='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

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

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

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

em {
  font-style: normal;
}

[hidden] {
  display: none !important;
}

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

.shell {
  width: min(calc(100% - (var(--gutter) * 2)), 1520px);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 0.8rem;
  left: 50%;
  z-index: 1000;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  transform: translate(-50%, -180%);
  transition: transform 0.25s var(--ease-out);
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

/* ------------------------------------------------------------------
   Type helpers
------------------------------------------------------------------- */

.section-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-label::before {
  content: "";
  flex: 0 0 auto;
  width: 2.4rem;
  height: 1px;
  background: var(--line-strong);
}

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

.nowrap {
  white-space: nowrap;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 450;
  letter-spacing: -0.01em;
}

.arrow-link .circle {
  display: grid;
  flex: 0 0 auto;
  width: 2.85rem;
  height: 2.85rem;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition:
    background-color 0.45s var(--ease-out),
    border-color 0.45s var(--ease-out),
    color 0.45s var(--ease-out),
    transform 0.45s var(--ease-out);
}

.arrow-link svg {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform 0.45s var(--ease-out);
}

.arrow-link:hover .circle {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
  transform: rotate(45deg);
}

.arrow-link:hover svg {
  transform: rotate(-45deg);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background-color 0.45s var(--ease-out);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  border-bottom: 1px solid transparent;
  background: rgba(11, 11, 10, 0.1);
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  transition:
    background-color 0.45s var(--ease-out),
    border-color 0.45s var(--ease-out),
    backdrop-filter 0.45s var(--ease-out);
}

.site-header.is-scrolled::before {
  border-bottom-color: var(--line);
  background: rgba(11, 11, 10, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
}

.header-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.65rem;
  width: fit-content;
}

.brand-mark {
  width: 1.65rem;
  height: 1.65rem;
  overflow: visible;
  color: var(--ink);
  transition: transform 0.8s var(--ease-out);
}

.brand:hover .brand-mark {
  transform: rotate(110deg);
}

.brand-word {
  color: var(--ink);
  font-size: 0.91rem;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.brand-dot {
  color: var(--accent);
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 2.15rem;
}

.primary-nav a {
  position: relative;
  padding: 0.45rem 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  letter-spacing: 0.005em;
  transition: color 0.3s ease;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.1rem;
  left: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}

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

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.9rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.02em;
}

.lang-switch a,
.lang-switch .lang-static {
  display: block;
  padding: 0.36rem 0.64rem;
  border-radius: 999px;
  color: var(--muted);
  line-height: 1;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

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

.lang-switch a[aria-current="page"],
.lang-switch .lang-static {
  background: var(--ink);
  color: var(--bg);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.menu-toggle:hover {
  border-color: var(--line-strong);
  background: rgba(241, 240, 234, 0.05);
}

.menu-icon {
  position: relative;
  display: block;
  width: 0.95rem;
  height: 0.55rem;
}

.menu-icon span {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transition:
    top 0.35s var(--ease-out),
    transform 0.35s var(--ease-out);
}

.menu-icon span:first-child {
  top: 0;
}

.menu-icon span:last-child {
  top: 100%;
}

.menu-toggle[aria-expanded="true"] .menu-icon span:first-child {
  top: 50%;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon span:last-child {
  top: 50%;
  transform: rotate(-45deg);
}

/* Mobile drawer */

.menu-scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(2, 4, 4, 0.6);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.45s var(--ease-out),
    visibility 0.45s;
}

.menu-scrim.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  width: min(100%, 29rem);
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 3rem) var(--gutter) 2.2rem;
  border-left: 1px solid var(--line);
  background:
    radial-gradient(100% 55% at 100% 0%, rgba(154, 137, 113, 0.10), transparent 70%),
    var(--bg-soft);
  visibility: hidden;
  transform: translateX(102%);
  transition:
    transform 0.55s var(--ease-out),
    visibility 0.55s;
}

.mobile-menu.is-open {
  visibility: visible;
  transform: translateX(0);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
}

.mobile-nav a {
  display: flex;
  align-items: baseline;
  gap: 1.15rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(1.8rem, 8vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.mobile-nav a span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
}

.mobile-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.menu-open {
  overflow: hidden;
}

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

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  padding-top: var(--header-h);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(56% 60% at 73% 43%, rgba(54, 123, 101, 0.17), transparent 66%),
    radial-gradient(42% 42% at 88% 12%, rgba(40, 61, 118, 0.12), transparent 72%),
    linear-gradient(180deg, #050708 0%, #06090a 58%, #050708 100%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(241, 240, 234, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 240, 234, 0.028) 1px, transparent 1px);
  background-size: 100% 90px, 90px 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 26%, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 26%, #000 70%, transparent 100%);
  opacity: 0.55;
}

.hero-inner {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  padding-block: clamp(3rem, 7vh, 6.5rem) clamp(2rem, 5vh, 4rem);
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(100%, 58rem);
  padding-top: 1.5vh;
}

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: clamp(1.8rem, 4vh, 3rem);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-dot {
  position: relative;
  display: block;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(212, 193, 160, 0.34);
  animation: signal 3.4s ease-out infinite;
}

.eyebrow-sep {
  color: var(--faint);
}

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

.display {
  max-width: 11ch;
  color: var(--ink);
  font-size: clamp(3.7rem, 8.4vw, 8.7rem);
  font-weight: 430;
  letter-spacing: -0.073em;
  line-height: 0.91;
}

.display .line {
  display: block;
  animation: line-in 1.05s var(--ease-out) both;
}

.display .line:nth-child(2) {
  animation-delay: 0.1s;
}

.display .line--soft {
  background: linear-gradient(97deg, #f1f0ea 8%, #aeb4ad 52%, #e6e8df 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.display .line--soft .accent-dot {
  -webkit-text-fill-color: var(--accent);
}

.lede {
  max-width: 32rem;
  margin-top: clamp(1.8rem, 3.5vh, 2.7rem);
  color: var(--ink-soft);
  font-size: clamp(0.98rem, 1.16vw, 1.09rem);
  font-weight: 350;
  line-height: 1.65;
  animation: fade-up 1s 0.35s var(--ease-out) both;
}

.hero-copy .arrow-link {
  margin-top: clamp(2rem, 4vh, 2.9rem);
  animation: fade-up 1s 0.52s var(--ease-out) both;
}

.hero-art {
  position: absolute;
  top: 49.5%;
  right: clamp(-8rem, -4.5vw, -2rem);
  z-index: 1;
  width: min(54vw, 48rem);
  aspect-ratio: 1;
  pointer-events: none;
  transform: translateY(-50%);
  animation: art-in 1.7s 0.15s var(--ease-out) both;
}

.art-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform: translate3d(calc(var(--px, 0) * 13px), calc(var(--py, 0) * 13px), 0);
  transition: transform 1.2s var(--ease-out);
  will-change: transform;
}

.art-grid {
  position: absolute;
  inset: 8%;
  background-image:
    linear-gradient(rgba(212, 193, 160, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 193, 160, 0.055) 1px, transparent 1px);
  background-size: 8.333% 8.333%;
  border: 1px solid rgba(212, 193, 160, 0.055);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 5%, transparent 69%);
  mask-image: radial-gradient(circle at 50% 50%, #000 5%, transparent 69%);
  opacity: 0.8;
}

.art-haze {
  position: absolute;
  inset: 17%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(106, 255, 201, 0.17) 0%, rgba(44, 127, 109, 0.1) 34%, transparent 69%);
  filter: blur(42px);
  animation: haze 9s ease-in-out infinite alternate;
}

.orbital-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.orbital-svg .orbit-group {
  transform-origin: 500px 500px;
  transform-box: view-box;
}

.orbit--slow {
  animation: orbit-spin 100s linear infinite;
}

.orbit--slower {
  animation: orbit-spin 150s linear infinite reverse;
}

.orbit--slowest {
  animation: orbit-spin 210s linear infinite;
}

.art-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 27%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 27%, #f4fff0 0%, #d4ffdc 2.5%, #84efc3 8%, #238f79 22%, #0a3d36 40%, #051918 58%, #020505 78%, #010202 100%);
  box-shadow:
    inset -1.4rem -1.7rem 3.8rem rgba(0, 0, 0, 0.92),
    inset 0.65rem 0.5rem 1.8rem rgba(222, 255, 226, 0.23),
    inset 0 0 0 1px rgba(220, 255, 229, 0.18),
    0 0 5.5rem rgba(88, 239, 181, 0.13);
  transform: translate(-50%, -50%);
  animation: core-breathe 8s ease-in-out infinite alternate;
}

.art-core::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: conic-gradient(from 209deg at 50% 50%, transparent 0deg, transparent 253deg, rgba(213, 255, 221, 0.2) 278deg, transparent 300deg);
  mix-blend-mode: screen;
}

.art-core::after {
  content: "";
  position: absolute;
  top: 14%;
  left: 17%;
  width: 28%;
  height: 17%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(238, 255, 236, 0.28), transparent 70%);
  filter: blur(5px);
  transform: rotate(-26deg);
}

.art-label {
  position: absolute;
  z-index: 4;
  color: rgba(241, 240, 234, 0.42);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.art-label b {
  display: block;
  margin-top: 0.3rem;
  color: rgba(212, 193, 160, 0.65);
  font-weight: 400;
}

.art-label--a {
  top: 15%;
  left: 7%;
}

.art-label--b {
  right: 5%;
  bottom: 18%;
  text-align: right;
}

.art-label--c {
  bottom: 10%;
  left: 11%;
}

.art-label--c::before {
  content: "";
  display: inline-block;
  width: 1.4rem;
  height: 1px;
  margin-right: 0.55rem;
  background: rgba(212, 193, 160, 0.45);
  vertical-align: middle;
}

.hero-foot {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding-block: 1.35rem 1.65rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.07em;
  line-height: 1.4;
  text-transform: uppercase;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.85rem;
  color: var(--muted);
  transition: color 0.3s ease;
}

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

.scroll-line {
  position: relative;
  display: block;
  width: 2.4rem;
  height: 1px;
  overflow: hidden;
  background: var(--line-strong);
}

.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
  animation: scan 3.2s ease-in-out infinite;
}

.hero-tags {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 1.3rem;
}

.hero-tags li {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.hero-tags li + li::before {
  content: "";
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--faint);
}

.hero-coord {
  justify-self: end;
  color: var(--faint);
}

/* ------------------------------------------------------------------
   Statement
------------------------------------------------------------------- */

.section {
  position: relative;
  padding-block: clamp(6rem, 11vw, 10.5rem);
}

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

.statement-grid {
  display: grid;
  grid-template-columns: minmax(9rem, 2.3fr) 9.7fr;
  gap: 2rem;
}

.statement .section-label {
  padding-top: 0.9rem;
}

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

.statement h2 {
  max-width: 19ch;
  color: var(--ink);
  font-size: clamp(2.35rem, 4.8vw, 4.9rem);
  font-weight: 420;
  letter-spacing: -0.058em;
  line-height: 1.03;
  text-wrap: balance;
}

.statement h2 span {
  color: var(--muted);
}

.statement-foot {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(2rem, 7vw, 7rem);
  max-width: 69rem;
  margin-top: clamp(3rem, 6vw, 5.5rem);
}

.statement-foot > p {
  max-width: 36rem;
  color: var(--ink-soft);
  font-size: clamp(0.97rem, 1.1vw, 1.05rem);
  line-height: 1.7;
}

.statement-note {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.02em;
  line-height: 1.75;
}

.statement-note .note-mark {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 0.9rem;
}

/* ------------------------------------------------------------------
   Focus
------------------------------------------------------------------- */

.focus {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg) 0%, #0e0e0c 46%, var(--bg) 100%);
}

.focus-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(15rem, 0.65fr);
  align-items: end;
  gap: 3rem;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}

.focus-head h2 {
  max-width: 9ch;
  margin-top: 1.5rem;
  color: var(--ink);
  font-size: clamp(2.7rem, 5.2vw, 5.2rem);
  font-weight: 420;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.focus-intro {
  max-width: 25rem;
  justify-self: end;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

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

.focus-row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1.05fr) minmax(0, 1.28fr) 2.75rem;
  align-items: start;
  gap: clamp(1.5rem, 3vw, 3.5rem);
  padding-block: clamp(1.7rem, 2.9vw, 2.7rem);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(212, 193, 160, 0), rgba(212, 193, 160, 0));
  transition:
    background-color 0.5s var(--ease-out),
    border-color 0.5s ease;
}

.focus-row:hover {
  border-bottom-color: var(--line-strong);
  background: linear-gradient(90deg, rgba(212, 193, 160, 0.045), transparent 66%);
}

.focus-num {
  padding-top: 0.35rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.focus-row h3 {
  color: var(--ink);
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  font-weight: 420;
  letter-spacing: -0.045em;
  line-height: 1.1;
  transition: transform 0.55s var(--ease-out);
}

.focus-row:hover h3 {
  transform: translateX(0.5rem);
}

.focus-row p {
  max-width: 37rem;
  color: var(--ink-soft);
  font-size: clamp(0.92rem, 1.05vw, 1rem);
  line-height: 1.68;
}

.focus-glyph {
  position: relative;
  justify-self: end;
  width: 2.15rem;
  height: 2.15rem;
  margin-top: 0.15rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition:
    border-color 0.55s var(--ease-out),
    transform 0.75s var(--ease-out);
}

.focus-glyph::before {
  content: "";
  position: absolute;
  inset: 0.55rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: border-color 0.55s ease;
}

.focus-glyph::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.24rem;
  height: 0.24rem;
  border-radius: 50%;
  background: var(--muted);
  transform: translate(-50%, -50%);
  transition: background-color 0.45s ease;
}

.focus-row:hover .focus-glyph {
  border-color: rgba(212, 193, 160, 0.46);
  transform: rotate(105deg);
}

.focus-row:hover .focus-glyph::before {
  border-color: rgba(212, 193, 160, 0.3);
}

.focus-row:hover .focus-glyph::after {
  background: var(--accent);
}

/* ------------------------------------------------------------------
   Approach (light interlude)
------------------------------------------------------------------- */

.approach {
  --ink: var(--cream-ink);
  --ink-soft: var(--cream-soft);
  --muted: var(--cream-muted);
  --line: var(--cream-line);
  --line-strong: var(--cream-line-strong);
  --accent: #6b573b;
  overflow: hidden;
  background: var(--cream);
  color: var(--ink);
}

.approach::before {
  content: "";
  position: absolute;
  top: -28rem;
  right: -18rem;
  width: 52rem;
  height: 52rem;
  border: 1px solid rgba(10, 12, 11, 0.075);
  border-radius: 50%;
  pointer-events: none;
}

.approach::after {
  content: "";
  position: absolute;
  top: -16rem;
  right: -6rem;
  width: 31rem;
  height: 31rem;
  border: 1px solid rgba(10, 12, 11, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.approach-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(14rem, 0.8fr);
  align-items: end;
  gap: 3rem;
}

.approach-head h2 {
  grid-column: 1;
  max-width: 10ch;
  margin-top: 1.4rem;
  font-size: clamp(2.8rem, 5.6vw, 5.8rem);
  font-weight: 420;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.approach-head > p:last-child {
  max-width: 24rem;
  justify-self: end;
  padding-bottom: 0.4rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

.principles {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--line);
}

.principle {
  padding: 2rem clamp(1.3rem, 3vw, 3.2rem) 0 0;
}

.principle + .principle {
  padding-left: clamp(1.3rem, 3vw, 3.2rem);
  border-left: 1px solid var(--line);
}

.principle-num {
  display: block;
  margin-bottom: clamp(3.5rem, 6vw, 5.5rem);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.09em;
}

.principle h3 {
  max-width: 12ch;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 450;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.principle p {
  max-width: 22rem;
  margin-top: 1.15rem;
  color: var(--ink-soft);
  font-size: 0.93rem;
  line-height: 1.7;
}

.approach-quote {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(8rem, 2.2fr) 9.8fr;
  gap: 2rem;
  margin-top: clamp(5rem, 9vw, 8rem);
  padding-top: clamp(2.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
}

.approach-quote blockquote {
  max-width: 20ch;
  color: var(--ink);
  font-size: clamp(2.15rem, 4.35vw, 4.6rem);
  font-weight: 420;
  letter-spacing: -0.06em;
  line-height: 1.02;
}

.approach-quote blockquote em {
  color: var(--accent);
}

/* ------------------------------------------------------------------
   Teaser
------------------------------------------------------------------- */

.teaser {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(46% 72% at 83% 48%, rgba(154, 137, 113, 0.07), transparent 70%),
    var(--bg);
}

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

.teaser-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.55fr);
  align-items: end;
  gap: 3rem;
  margin-top: 1.8rem;
}

.teaser h2 {
  max-width: 9ch;
  font-size: clamp(3rem, 6.5vw, 6.9rem);
  font-weight: 420;
  letter-spacing: -0.07em;
  line-height: 0.94;
}

.teaser-side {
  max-width: 22rem;
  justify-self: end;
  padding-bottom: 0.35rem;
}

.teaser-side p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.7;
}

.teaser-side .arrow-link {
  margin-top: 2rem;
}

.teaser-orbit {
  position: absolute;
  top: 50%;
  right: -8rem;
  width: min(42vw, 34rem);
  aspect-ratio: 1;
  border: 1px solid rgba(212, 193, 160, 0.08);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.teaser-orbit::before {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(212, 193, 160, 0.11);
  border-radius: 50%;
}

.teaser-orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -4%;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 1.5rem rgba(212, 193, 160, 0.7);
}

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

.site-footer {
  position: relative;
  padding-block: clamp(3rem, 5vw, 4.5rem) 2rem;
  border-top: 1px solid var(--line);
  background: #070706;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 3rem;
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.footer-brand .brand {
  margin-bottom: 1.35rem;
}

.footer-brand .brand-mark {
  width: 1.45rem;
  height: 1.45rem;
}

.footer-brand .brand-word {
  font-size: 0.85rem;
}

.footer-tagline {
  max-width: 22rem;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 1.4rem clamp(1.6rem, 3.6vw, 3.5rem);
}

.footer-nav a {
  color: var(--ink-soft);
  font-size: 0.8rem;
  transition: color 0.3s ease;
}

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

.footer-nav a span {
  display: block;
  margin-top: 0.45rem;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.57rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.07em;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer-bottom p {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
}

.footer-bottom .status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-bottom .status::before {
  content: "";
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--accent);
}

/* ------------------------------------------------------------------
   Inner pages
------------------------------------------------------------------- */

.page-main {
  padding-top: var(--header-h);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 10vw, 9rem) clamp(3.5rem, 6vw, 5.5rem);
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: min(50vw, 44rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(154, 137, 113, 0.07), transparent 67%);
  pointer-events: none;
  filter: blur(20px);
}

.page-title {
  position: relative;
  z-index: 1;
  max-width: 11ch;
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  font-size: clamp(3.2rem, 7.4vw, 7.5rem);
  font-weight: 420;
  letter-spacing: -0.072em;
  line-height: 0.94;
}

.page-intro {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(12rem, 0.85fr);
  align-items: end;
  gap: 3rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.page-intro .lead {
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: clamp(1.06rem, 1.45vw, 1.25rem);
  font-weight: 350;
  line-height: 1.65;
}

.page-meta {
  justify-self: end;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  line-height: 1.7;
  text-align: right;
  text-transform: uppercase;
}

.about-body {
  padding-block: clamp(4rem, 8vw, 7rem) clamp(5rem, 10vw, 9rem);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(9rem, 2.3fr) 9.7fr;
  gap: 2rem;
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
  border-bottom: 1px solid var(--line);
}

.about-section:first-child {
  padding-top: 0;
}

.about-section:last-child {
  border-bottom: 0;
}

.about-aside {
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.about-content {
  min-width: 0;
}

.about-content h2 {
  max-width: 14ch;
  color: var(--ink);
  font-size: clamp(2.1rem, 3.9vw, 3.9rem);
  font-weight: 420;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.about-prose {
  max-width: 48rem;
  margin-top: 2rem;
}

.about-prose p {
  color: var(--ink-soft);
  font-size: clamp(0.98rem, 1.1vw, 1.07rem);
  line-height: 1.75;
}

.about-prose p + p {
  margin-top: 1.3rem;
}

.work-list {
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.work-list li {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 1.5rem;
  padding-block: 1.8rem;
  border-bottom: 1px solid var(--line);
}

.work-num {
  padding-top: 0.35rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.work-list h3 {
  color: var(--ink);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 430;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.work-list p {
  max-width: 38rem;
  margin-top: 0.65rem;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.7;
}

.about-quote {
  max-width: 55rem;
  margin-top: 2.8rem;
  color: var(--ink);
  font-size: clamp(1.8rem, 3.3vw, 3.35rem);
  font-weight: 420;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.about-quote em {
  color: var(--accent);
}

.contact-block {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
  align-items: end;
  gap: 3rem;
  margin-top: clamp(2rem, 5vw, 4rem);
  padding: clamp(2rem, 4.5vw, 4.2rem);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(110% 140% at 100% 0%, rgba(154, 137, 113, 0.09), transparent 62%),
    #0e0e0c;
}

.contact-block::after {
  content: "";
  position: absolute;
  top: -9rem;
  right: -7rem;
  width: 23rem;
  height: 23rem;
  border: 1px solid rgba(212, 193, 160, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.contact-block h2 {
  max-width: 8ch;
  margin-top: 1.3rem;
  font-size: clamp(2.4rem, 4.8vw, 4.8rem);
  font-weight: 420;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.contact-copy {
  position: relative;
  z-index: 1;
  max-width: 23rem;
  justify-self: end;
}

.contact-copy p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.email-link {
  display: inline-block;
  max-width: 100%;
  margin-top: 1.15rem;
  border-bottom: 1px solid rgba(212, 193, 160, 0.5);
  color: var(--ink);
  font-size: clamp(1.18rem, 1.8vw, 1.65rem);
  letter-spacing: -0.035em;
  line-height: 1.35;
  overflow-wrap: anywhere;
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}

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

.email-link span {
  display: inline-block;
  margin-left: 0.2rem;
  color: var(--accent);
  font-size: 0.75em;
  transition: transform 0.35s var(--ease-out);
}

.email-link:hover span {
  transform: translate(0.15rem, -0.15rem);
}

.about-back {
  display: flex;
  justify-content: flex-end;
  padding-top: 3rem;
}

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

.legal-hero {
  padding-block: clamp(4.5rem, 9vw, 8rem) clamp(3rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.5rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.legal-badge::before {
  content: "";
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--accent);
}

.legal-hero h1 {
  max-width: 12ch;
  margin-top: 1.4rem;
  font-size: clamp(2.9rem, 6.4vw, 6.4rem);
  font-weight: 420;
  letter-spacing: -0.07em;
  line-height: 0.96;
}

.legal-hero .lead {
  max-width: 44rem;
  margin-top: 1.8rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.7;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  margin-top: 2rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 2.2fr) 8.8fr;
  align-items: start;
  gap: clamp(2.5rem, 7vw, 7rem);
  padding-block: clamp(3.5rem, 6vw, 5.5rem) clamp(5rem, 9vw, 8rem);
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  padding-top: 0.5rem;
}

.legal-toc p {
  margin-bottom: 1.1rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.legal-toc ol {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.legal-toc a {
  display: block;
  padding: 0.42rem 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
  transition: color 0.25s ease;
}

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

.legal-body {
  min-width: 0;
  max-width: 42rem;
}

.legal-section {
  padding-block: clamp(2.2rem, 4vw, 3.4rem);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 2rem);
}

.legal-section:first-child {
  padding-top: 0;
}

.legal-section:last-of-type {
  border-bottom: 0;
}

.legal-section h2 {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin-bottom: 1.3rem;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.3vw, 2.15rem);
  font-weight: 430;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.legal-section h2 span {
  flex: 0 0 auto;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.legal-section h3 {
  margin-top: 1.8rem;
  margin-bottom: 0.55rem;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.legal-section p,
.legal-section li {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.78;
}

.legal-section p + p {
  margin-top: 0.9rem;
}

.legal-section ul {
  margin-top: 1rem;
  padding-left: 1.15rem;
  list-style: disc;
}

.legal-section li + li {
  margin-top: 0.45rem;
}

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

.legal-section a:not(.email-link) {
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  transition: border-color 0.3s ease;
}

.legal-section a:not(.email-link):hover {
  border-bottom-color: var(--accent);
}

.legal-contact {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  background: #0e0e0c;
}

.legal-contact p {
  max-width: 38rem;
}

.legal-contact .email-link {
  margin-top: 1.1rem;
}

/* ------------------------------------------------------------------
   404
------------------------------------------------------------------- */

.error-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: calc(var(--header-h) + 3rem) 0 3rem;
}

.error-inner {
  position: relative;
  max-width: 52rem;
  text-align: center;
}

.error-inner::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: min(70vw, 38rem);
  aspect-ratio: 1;
  border: 1px solid rgba(212, 193, 160, 0.09);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.error-code {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.error-inner h1 {
  margin-top: 1.5rem;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  font-weight: 420;
  letter-spacing: -0.07em;
  line-height: 0.94;
}

.error-inner p {
  max-width: 30rem;
  margin: 1.8rem auto 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.4rem 2.2rem;
  margin-top: 2.5rem;
}

.error-links a {
  color: var(--ink);
  font-size: 0.88rem;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.3s ease, color 0.3s ease;
}

.error-links a:hover {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

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

html[lang="zh-Hant"] body {
  letter-spacing: 0;
}

html[lang="zh-Hant"] .display {
  max-width: 12ch;
  font-size: clamp(3.3rem, 7.8vw, 8.1rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.03;
}

html[lang="zh-Hant"] .lede,
html[lang="zh-Hant"] .statement-foot > p,
html[lang="zh-Hant"] .about-prose p {
  font-weight: 350;
  letter-spacing: 0.015em;
}

html[lang="zh-Hant"] .focus-row h3,
html[lang="zh-Hant"] .principle h3,
html[lang="zh-Hant"] .work-list h3 {
  font-weight: 450;
  letter-spacing: -0.025em;
}

html[lang="zh-Hant"] .focus-row p,
html[lang="zh-Hant"] .principle p,
html[lang="zh-Hant"] .work-list p {
  letter-spacing: 0.015em;
  line-height: 1.8;
}

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

html[lang="zh-Hant"] .brand-word,
html[lang="zh-Hant"] .primary-nav a,
html[lang="zh-Hant"] .footer-nav a {
  letter-spacing: 0;
}

html[lang="zh-Hant"] .page-title,
html[lang="zh-Hant"] .approach-head h2,
html[lang="zh-Hant"] .approach-quote blockquote,
html[lang="zh-Hant"] .teaser h2,
html[lang="zh-Hant"] .contact-block h2,
html[lang="zh-Hant"] .about-quote {
  letter-spacing: -0.04em;
}

html[lang="zh-Hant"] .focus-head h2,
html[lang="zh-Hant"] .approach-head h2,
html[lang="zh-Hant"] .teaser h2,
html[lang="zh-Hant"] .page-title,
html[lang="zh-Hant"] .contact-block h2 {
  max-width: none;
}

html[lang="zh-Hant"] .statement h2 {
  max-width: 18em;
}

/* ------------------------------------------------------------------
   Reveal + motion
------------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(1.4rem);
  transition:
    opacity 0.85s var(--ease-out),
    transform 0.95s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes signal {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 193, 160, 0.34);
  }
  55% {
    box-shadow: 0 0 0 0.4rem rgba(212, 193, 160, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 193, 160, 0);
  }
}

@keyframes line-in {
  from {
    opacity: 0;
    transform: translateY(0.55em);
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 -20% 0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes art-in {
  from {
    opacity: 0;
    transform: translateY(-48%) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

@keyframes haze {
  from {
    opacity: 0.75;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes core-breathe {
  from {
    box-shadow:
      inset -1.4rem -1.7rem 3.8rem rgba(0, 0, 0, 0.92),
      inset 0.65rem 0.5rem 1.8rem rgba(222, 255, 226, 0.23),
      inset 0 0 0 1px rgba(220, 255, 229, 0.18),
      0 0 5rem rgba(88, 239, 181, 0.1);
  }
  to {
    box-shadow:
      inset -1.4rem -1.7rem 3.8rem rgba(0, 0, 0, 0.92),
      inset 0.65rem 0.5rem 1.8rem rgba(222, 255, 226, 0.23),
      inset 0 0 0 1px rgba(220, 255, 229, 0.18),
      0 0 7rem rgba(88, 239, 181, 0.17);
  }
}

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

@keyframes scan {
  0% {
    transform: translateX(-100%);
  }
  45%,
  100% {
    transform: translateX(100%);
  }
}

@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;
    scroll-behavior: auto !important;
  }

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

  .hero-art {
    opacity: 1;
  }
}

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

@media (max-width: 1399px) {
  .art-label {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero-foot {
    grid-template-columns: 1fr auto;
  }

  .hero-tags {
    display: none;
  }
}

@media (max-width: 1100px) {
  .hero-copy {
    width: min(100%, 48rem);
  }

  .hero-art {
    right: -12vw;
    width: min(64vw, 44rem);
    opacity: 0.9;
  }

  .primary-nav {
    gap: 1.5rem;
  }

  .focus-row {
    grid-template-columns: 3.5rem minmax(0, 1fr) minmax(0, 1.1fr) 2.4rem;
    gap: 1.6rem;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 74px;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .primary-nav {
    display: none;
  }

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

  .hero-art {
    top: 45%;
    right: -16vw;
    width: min(78vw, 46rem);
    opacity: 0.7;
  }

  .statement-grid,
  .about-section {
    grid-template-columns: minmax(7rem, 1.8fr) 10.2fr;
  }

  .approach-head {
    grid-template-columns: 1fr;
  }

  .approach-head > p:last-child {
    justify-self: start;
    margin-top: 1.5rem;
    padding-bottom: 0;
  }

  .teaser-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .teaser-side {
    justify-self: start;
  }

  .contact-block {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    justify-self: start;
    margin-top: 0.5rem;
  }

  .legal-layout {
    grid-template-columns: minmax(10rem, 2fr) 8fr;
    gap: 3rem;
  }
}

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

  .header-actions {
    gap: 0.6rem;
  }

  .lang-switch a,
  .lang-switch .lang-static {
    padding: 0.34rem 0.52rem;
  }

  .hero {
    min-height: max(46rem, 100svh);
  }

  .hero-inner {
    align-items: flex-end;
    padding-top: 12rem;
    padding-bottom: 2.4rem;
  }

  .hero-art {
    top: 30%;
    right: -32vw;
    width: min(132vw, 40rem);
    opacity: 0.53;
  }

  .hero-copy {
    width: 100%;
    padding-top: 0;
  }

  .eyebrow {
    margin-bottom: 1.5rem;
    font-size: 0.58rem;
    gap: 0.55rem;
  }

  .display {
    max-width: 10ch;
    font-size: clamp(3.25rem, 14.5vw, 5.2rem);
    line-height: 0.93;
  }

  html[lang="zh-Hant"] .display {
    max-width: 11ch;
    font-size: clamp(3rem, 13.2vw, 4.8rem);
    line-height: 1.08;
  }

  .lede {
    max-width: 30rem;
    margin-top: 1.5rem;
    font-size: 0.96rem;
  }

  .hero-foot {
    grid-template-columns: 1fr auto;
    gap: 1rem;
    padding-block: 1.15rem 1.4rem;
    font-size: 0.55rem;
  }

  .hero-tags {
    display: none;
  }

  .hero-coord {
    font-size: 0.55rem;
  }

  .statement-grid,
  .about-section {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .statement .section-label {
    padding-top: 0;
  }

  .statement h2 {
    font-size: clamp(2.1rem, 9vw, 3.4rem);
  }

  html[lang="zh-Hant"] .statement h2 {
    max-width: none;
  }

  .statement-foot {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    margin-top: 2.5rem;
  }

  .focus-head {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.8rem;
  }

  .focus-head h2 {
    margin-top: 1.1rem;
    font-size: clamp(2.35rem, 10.5vw, 3.8rem);
  }

  .focus-intro {
    justify-self: start;
    font-size: 0.93rem;
  }

  .focus-row {
    grid-template-columns: 2.1rem minmax(0, 1fr);
    gap: 0.35rem 1rem;
    padding-block: 1.55rem;
  }

  .focus-num {
    grid-row: 1 / span 2;
    padding-top: 0.25rem;
  }

  .focus-row h3 {
    font-size: 1.5rem;
  }

  .focus-row p {
    grid-column: 2;
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .focus-glyph {
    display: none;
  }

  .focus-row:hover h3 {
    transform: none;
  }

  .principles {
    grid-template-columns: 1fr;
    margin-top: 3.5rem;
  }

  .principle,
  .principle + .principle {
    padding: 1.7rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .principle:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .principle + .principle {
    margin-top: 1.7rem;
  }

  .principle-num {
    margin-bottom: 1.4rem;
  }

  .principle p {
    max-width: 32rem;
  }

  .approach-head h2 {
    font-size: clamp(2.55rem, 11vw, 4rem);
  }

  .approach-quote {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3.8rem;
  }

  .approach-quote blockquote {
    font-size: clamp(1.9rem, 8vw, 3rem);
  }

  .teaser h2 {
    font-size: clamp(2.6rem, 11.5vw, 4.2rem);
  }

  .teaser-orbit {
    right: -14rem;
    width: 28rem;
    opacity: 0.7;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-bottom: 4rem;
  }

  .footer-nav {
    justify-content: flex-start;
    gap: 2.2rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.9rem;
  }

  .page-hero {
    padding-block: 4.2rem 3rem;
  }

  .page-title {
    font-size: clamp(2.7rem, 12vw, 4.8rem);
  }

  .page-intro {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    margin-top: 2rem;
  }

  .page-meta {
    justify-self: start;
    text-align: left;
  }

  .about-aside {
    position: static;
  }

  .about-section {
    padding-block: 2.8rem;
  }

  .about-content h2 {
    font-size: clamp(1.9rem, 7.6vw, 2.7rem);
  }

  .work-list li {
    grid-template-columns: 2.2rem minmax(0, 1fr);
    gap: 0.8rem;
  }

  .contact-block {
    padding: 1.7rem;
  }

  .contact-block h2 {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .about-back {
    justify-content: flex-start;
    padding-top: 2rem;
  }

  .legal-hero h1 {
    font-size: clamp(2.6rem, 11vw, 4.2rem);
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-block: 3rem 5rem;
  }

  .legal-toc {
    position: static;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
  }

  .legal-toc ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1rem;
  }

  .legal-toc a {
    font-size: 0.74rem;
  }

  .legal-section {
    padding-block: 2rem;
  }

  .legal-section h2 {
    font-size: 1.55rem;
  }
}

@media (max-width: 430px) {
  .brand-word {
    font-size: 0.85rem;
  }

  .brand-mark {
    width: 1.45rem;
    height: 1.45rem;
  }

  .lang-switch {
    font-size: 0.58rem;
  }

  .lang-switch a,
  .lang-switch .lang-static {
    padding: 0.33rem 0.46rem;
  }

  .menu-toggle {
    width: 2.45rem;
    height: 2.45rem;
  }

  .display {
    font-size: clamp(2.95rem, 14.2vw, 4.3rem);
  }

  html[lang="zh-Hant"] .display {
    font-size: clamp(2.75rem, 12.8vw, 4.1rem);
  }

  .hero-foot {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .hero-coord {
    display: none;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
  }

  .mobile-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
}

/* ------------------------------------------------------------------
   Print — clean legal copy
------------------------------------------------------------------- */

@media print {
  html,
  body {
    background: #fff !important;
    color: #111 !important;
  }

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

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

  .legal-hero,
  .legal-layout {
    padding: 0;
  }

  .legal-layout {
    display: block;
  }

  .legal-hero h1,
  .legal-hero .lead,
  .legal-meta,
  .legal-badge,
  .section-label,
  .legal-section,
  .legal-section h2,
  .legal-section h2 span,
  .legal-section h3,
  .legal-section p,
  .legal-section li,
  .legal-section a,
  .email-link {
    color: #111 !important;
    border-color: #999 !important;
  }

  .legal-badge,
  .legal-contact {
    border-color: #bbb !important;
    background: #fff !important;
  }

  .legal-section {
    break-inside: avoid;
  }
}

/* ------------------------------------------------------------------
   Brand mark
------------------------------------------------------------------- */

.brand-mark .mark-ring {
  stroke: currentColor;
  stroke-width: 1.1;
  stroke-opacity: 0.82;
}

.brand-mark .mark-orbit {
  stroke: var(--accent);
  stroke-width: 1;
  stroke-opacity: 0.82;
}

.brand-mark .mark-orbit--faint {
  stroke: currentColor;
  stroke-opacity: 0.22;
  stroke-width: 0.85;
}

.brand-mark .mark-core {
  fill: var(--accent);
}

/* ------------------------------------------------------------------
   Restrained visual pass
   A quieter, editorial treatment: no orbital artwork, no neon,
   no terminal-style annotations. Typography and light do the work.
------------------------------------------------------------------- */

.brand-mark {
  width: 1.55rem;
  height: 1.55rem;
}

.brand-mark .mark-n {
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linejoin: miter;
  stroke-linecap: square;
}

.brand:hover .brand-mark {
  transform: translateY(-1px);
}

.lang-switch {
  gap: 0.8rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}

.lang-switch a,
.lang-switch .lang-static {
  padding: 0.18rem 0;
  border-radius: 0;
  background: none;
  color: var(--muted);
  box-shadow: inset 0 -1px 0 transparent;
}

.lang-switch a:hover,
.lang-switch a[aria-current="page"],
.lang-switch .lang-static {
  border-radius: 0;
  background: none;
  color: var(--ink);
}

.lang-switch a[aria-current="page"],
.lang-switch .lang-static {
  box-shadow: inset 0 -1px 0 var(--accent);
}

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

.hero-bg {
  background:
    radial-gradient(48% 58% at 78% 39%, rgba(231, 218, 195, 0.095), transparent 70%),
    radial-gradient(38% 52% at 98% 76%, rgba(151, 132, 105, 0.07), transparent 72%),
    linear-gradient(180deg, #0b0b0a 0%, #0d0d0b 55%, #0b0b0a 100%);
}

.hero-bg::before {
  content: "";
  position: absolute;
  top: -22%;
  right: 7%;
  width: 36%;
  height: 145%;
  background: linear-gradient(90deg, transparent, rgba(236, 226, 208, 0.055), transparent);
  filter: blur(44px);
  transform: rotate(11deg);
  pointer-events: none;
}

.hero-bg::after {
  content: "";
  position: absolute;
  top: 18%;
  bottom: 18%;
  left: 68%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(242, 240, 233, 0.13) 28%, rgba(242, 240, 233, 0.13) 72%, transparent);
  opacity: 1;
  pointer-events: none;
}

.hero {
  padding-top: var(--header-h);
}

.hero-inner {
  display: flex;
  align-items: center;
  padding-block: clamp(5rem, 10vh, 8rem) clamp(2.5rem, 5vh, 4rem);
}

.hero-copy {
  width: 100%;
  max-width: none;
  padding-top: 0;
}

.eyebrow {
  margin-bottom: clamp(2rem, 4.5vh, 3.2rem);
}

.eyebrow-dot {
  width: 2rem;
  height: 1px;
  border-radius: 0;
  background: var(--accent);
  box-shadow: none;
  animation: none;
}

.display {
  max-width: none;
  font-size: clamp(4.2rem, 10.5vw, 10.8rem);
  letter-spacing: -0.072em;
  line-height: 0.9;
}

.display .line--soft {
  background: none;
  color: var(--ink-soft);
  -webkit-text-fill-color: currentColor;
}

.display .line--soft .accent-dot {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  width: 100%;
  max-width: 68rem;
  margin-top: clamp(2.6rem, 5.5vh, 4.5rem);
}

.lede {
  max-width: 33rem;
  margin-top: 0;
}

.hero-copy .arrow-link {
  margin-top: 0;
  flex: 0 0 auto;
}

.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-coord {
  margin-left: auto;
  justify-self: auto;
}

/* Arrow links ----------------------------------------------------- */

.arrow-link {
  width: fit-content;
  gap: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line-strong);
  font-size: 0.84rem;
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}

.arrow-link .circle {
  display: inline-flex;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: none;
  color: currentColor;
  transform: none;
}

.arrow-link svg {
  width: 0.82rem;
  height: 0.82rem;
}

.arrow-link:hover {
  border-color: var(--accent);
  color: var(--ink);
}

.arrow-link:hover .circle {
  border-color: transparent;
  background: none;
  color: var(--accent);
  transform: none;
}

.arrow-link:hover svg {
  transform: translate(0.12rem, -0.12rem);
}

/* Focus ----------------------------------------------------------- */

.focus-row {
  grid-template-columns: 4.5rem minmax(0, 1.08fr) minmax(0, 1.32fr);
  background: none;
}

.focus-row:hover {
  border-bottom-color: var(--line-strong);
  background: rgba(242, 240, 233, 0.018);
}

.focus-row:hover h3 {
  color: var(--accent);
  transform: none;
}

.focus-row h3 {
  transition: color 0.4s ease;
}

/* Remove the old orbital decorations from the light section. */

.approach::before,
.approach::after,
.contact-block::after,
.error-inner::before {
  display: none;
}

.approach {
  --accent: #6b573b;
}

.teaser {
  background:
    radial-gradient(52% 78% at 84% 46%, rgba(212, 193, 160, 0.055), transparent 70%),
    var(--bg);
}

.contact-block {
  background:
    radial-gradient(110% 140% at 100% 0%, rgba(154, 137, 113, 0.1), transparent 62%),
    #0e0e0c;
}

/* Chinese display tuning for the quieter hero. */

html[lang="zh-Hant"] .display {
  max-width: none;
  font-size: clamp(3.7rem, 9.2vw, 9.6rem);
  line-height: 1.01;
}

/* Responsive adjustments for the simplified hero. */

@media (max-width: 1100px) {
  .hero-copy {
    width: 100%;
    max-width: none;
  }

  .focus-row {
    grid-template-columns: 3.5rem minmax(0, 1fr) minmax(0, 1.2fr);
  }
}

@media (max-width: 760px) {
  .hero-inner {
    align-items: center;
    padding-top: clamp(6rem, 16vh, 9rem);
    padding-bottom: 2.8rem;
  }

  .hero-bg::before {
    right: -6%;
    width: 72%;
    opacity: 0.8;
  }

  .hero-bg::after {
    display: none;
  }

  .hero-copy {
    width: 100%;
  }

  .display {
    font-size: clamp(2.9rem, 12.6vw, 4.8rem);
    line-height: 0.92;
  }

  html[lang="zh-Hant"] .display {
    font-size: clamp(2.8rem, 12vw, 4.6rem);
    line-height: 1.06;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.9rem;
    margin-top: 2.2rem;
  }

  .lede {
    max-width: 32rem;
    margin-top: 0;
  }

  .hero-foot {
    display: flex;
    padding-block: 1.15rem 1.4rem;
  }

  .hero-coord {
    display: block;
    margin-left: auto;
  }

  .focus-row {
    grid-template-columns: 2.1rem minmax(0, 1fr);
  }
}

@media (max-width: 430px) {
  .display {
    font-size: clamp(2.75rem, 12.4vw, 4rem);
  }

  html[lang="zh-Hant"] .display {
    font-size: clamp(2.6rem, 11.8vw, 3.8rem);
  }

  .hero-coord {
    display: none;
  }

  .lang-switch {
    font-size: 0.62rem;
  }
}

html[lang="zh-Hant"] .display .line--soft .accent-dot {
  color: inherit;
  -webkit-text-fill-color: currentColor;
}
