:root {
  --obsidian: oklch(10% 0.032 174);
  --night: oklch(14% 0.035 174);
  --deep: oklch(18% 0.04 170);
  --panel: oklch(20% 0.036 170);
  --panel-2: oklch(23% 0.04 170);
  --text: oklch(94% 0.018 92);
  --text-soft: oklch(84% 0.024 92 / 0.78);
  --text-dim: oklch(74% 0.02 92 / 0.64);
  --gold: oklch(77% 0.12 82);
  --gold-soft: oklch(88% 0.07 86);
  --jade: oklch(80% 0.13 166);
  --rose: oklch(67% 0.12 28);
  --line: oklch(87% 0.04 86 / 0.18);
  --line-strong: oklch(84% 0.09 84 / 0.34);
  --black: #030806;
  --max: 1180px;
  --header-h: 76px;
  --radius: 8px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --hero-image-scale: 1.035;
  --hero-image-y: 0px;
  --hero-ring-rotate: 0deg;
  --hero-ring-scale: 1;
  --hero-ring-opacity: 0.9;
  --hero-line-opacity: 0.45;
  --hero-line-scale: 0.56;
  --font-body: "Avenir Next", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-display: "Songti TC", "Songti SC", "STSong", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: linear-gradient(180deg, var(--black) 0%, var(--obsidian) 42%, var(--night) 100%);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.75;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 49.85%, oklch(90% 0.04 86 / 0.045) 49.85% 50.15%, transparent 50.15% 100%),
    linear-gradient(180deg, oklch(90% 0.04 86 / 0.025), transparent 38%, oklch(65% 0.1 164 / 0.04));
  background-size: 100vw 100vh, 100vw 100vh;
}

body.nav-open {
  overflow: hidden;
}

main {
  overflow-x: clip;
}

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

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

button {
  font: inherit;
}

[id] {
  scroll-margin-top: 96px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: -72px;
  z-index: 600;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--black);
  font-size: 14px;
  font-weight: 760;
}

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 700;
  width: 100%;
  height: 2px;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--jade), var(--gold-soft));
}

.lang.en {
  display: none;
}

body[data-lang="en"] .lang.zh {
  display: none;
}

body[data-lang="en"] .lang.en {
  display: inline;
}

.lang.block {
  display: block;
}

body[data-lang="zh"] .lang.en.block,
body[data-lang="en"] .lang.zh.block {
  display: none;
}

body[data-lang="zh"] .lang.zh.block,
body[data-lang="en"] .lang.en.block {
  display: block;
}

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-items: center;
  gap: 18px;
  background: var(--black);
  animation: intro-exit 1350ms var(--ease) 450ms forwards;
}

.intro-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-mark {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.intro-mark img {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.intro-screen p {
  margin: 132px 0 0;
  color: var(--gold-soft);
  font-size: 12px;
  letter-spacing: 0.24em;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 500;
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 14px 5vw;
  border-bottom: 1px solid transparent;
  background: oklch(9% 0.026 174 / 0.54);
  backdrop-filter: blur(18px);
  transition: background 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: oklch(9% 0.026 174 / 0.92);
}

.brand,
.site-nav,
.header-actions {
  display: flex;
  align-items: center;
}

.brand {
  min-width: 232px;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: contain;
  background: oklch(94% 0.02 92 / 0.92);
}

.brand-copy {
  display: grid;
  gap: 3px;
  line-height: 1;
}

.brand-name {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.16em;
}

.brand-sub {
  color: var(--text-dim);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.site-nav {
  justify-content: center;
  gap: 2px;
}

.mobile-nav-panel {
  display: none;
}

.site-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 680;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--gold-soft);
  background: oklch(82% 0.1 82 / 0.08);
}

.header-actions {
  justify-content: end;
  gap: 12px;
}

.language-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: oklch(100% 0 0 / 0.04);
}

.language-switch button {
  min-height: 30px;
  min-width: 42px;
  border: 0;
  border-radius: 999px;
  color: var(--text-dim);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 760;
}

.language-switch button.active {
  color: var(--black);
  background: var(--gold-soft);
}

.header-cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--jade);
  color: var(--black);
  font-size: 13px;
  font-weight: 820;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 16px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

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

.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  padding: 130px 5vw 72px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  top: var(--header-h);
  left: 5vw;
  right: 5vw;
  z-index: -2;
  height: 1px;
  background: linear-gradient(90deg, transparent, oklch(86% 0.08 86 / 0.3), transparent);
  opacity: var(--hero-line-opacity);
}

.hero-image,
.hero-vignette,
.hero-ring {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-image {
  z-index: -5;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(0.72) contrast(1.08) brightness(0.7);
  transform: scale(var(--hero-image-scale)) translate3d(0, var(--hero-image-y), 0);
  transform-origin: center;
  transition: opacity 260ms ease;
  will-change: transform;
}

.hero-vignette {
  z-index: -4;
  background:
    linear-gradient(180deg, oklch(4% 0.02 174 / 0.86) 0%, oklch(8% 0.03 174 / 0.34) 42%, oklch(4% 0.02 174 / 0.92) 100%),
    linear-gradient(90deg, oklch(4% 0.02 174 / 0.84) 0%, transparent 42%, oklch(4% 0.02 174 / 0.78) 100%);
}

.hero-ring {
  z-index: -3;
  inset: 130px 50%;
  width: 560px;
  height: 560px;
  translate: -50% 0;
  border: 1px solid oklch(86% 0.08 86 / 0.18);
  border-radius: 50%;
  opacity: var(--hero-ring-opacity);
  transform: rotate(var(--hero-ring-rotate)) scale(var(--hero-ring-scale));
}

.hero-ring::before,
.hero-ring::after {
  content: "";
  position: absolute;
  inset: 56px;
  border: 1px solid oklch(86% 0.08 86 / 0.12);
  border-radius: 50%;
}

.hero-ring::after {
  inset: 112px;
}

.hero-inner {
  position: relative;
  width: min(860px, 100%);
  margin: 0 auto;
  text-align: center;
}

.hero-inner::before,
.hero-inner::after {
  content: "";
  position: absolute;
  left: 50%;
  width: min(360px, 56vw);
  height: 1px;
  transform: translateX(-50%) scaleX(var(--hero-line-scale));
  background: linear-gradient(90deg, transparent, oklch(86% 0.08 86 / 0.44), transparent);
}

.hero-inner::before {
  top: -34px;
}

.hero-inner::after {
  bottom: -36px;
}

.hero-logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 26px;
  padding: 11px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: oklch(94% 0.02 92 / 0.9);
  object-fit: contain;
  filter: drop-shadow(0 14px 26px oklch(0% 0 0 / 0.36));
  animation: hero-mark-breath 5.8s var(--ease) infinite;
}

.hero-kicker,
.section-kicker {
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.14em;
}

.hero-kicker {
  margin-bottom: 18px;
}

.hero h1 {
  max-width: 760px;
  margin: 0 auto 24px;
  font-family: var(--font-display);
  font-size: 70px;
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 720px;
  margin: 0 auto 34px;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.95;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 840;
  cursor: pointer;
}

.btn.primary {
  border: 0;
  background: var(--jade);
  color: var(--black);
  box-shadow: inset 0 -1px 0 oklch(0% 0 0 / 0.22);
}

.btn.secondary {
  border: 1px solid var(--line-strong);
  background: oklch(100% 0 0 / 0.04);
  color: var(--text);
}

.btn:hover,
.header-cta:hover,
.text-link:hover {
  transform: translateY(-1px);
}

.btn.primary:hover,
.header-cta:hover,
.result-primary:hover {
  background: oklch(84% 0.135 166);
}

.btn.secondary:hover,
.result-secondary:hover {
  border-color: var(--gold-soft);
  background: oklch(86% 0.08 86 / 0.08);
}

.btn.is-pressing,
.header-cta.is-pressing,
.text-link.is-pressing,
.tile-link.is-pressing,
.assessment-form button.is-pressing {
  transform: scale(0.985);
}

.btn,
.header-cta,
.text-link,
.tile-link,
.result-primary,
.result-secondary {
  transition: transform 180ms var(--ease), background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn-mark {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--black);
}

.hero-footnote {
  width: min(980px, calc(100% - 10vw));
  position: absolute;
  left: 50%;
  bottom: 28px;
  translate: -50% 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 13px;
}

.hero-footnote span {
  min-height: 48px;
  display: grid;
  place-items: center;
}

.hero-footnote > span + span {
  border-left: 1px solid var(--line);
}

.section {
  width: min(var(--max), calc(100% - 10vw));
  margin: 0 auto;
  padding: 88px 0;
}

.section-copy {
  max-width: 560px;
}

.section-copy.narrow {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-copy h2,
.assessment-copy h2,
.boundary-content h2,
.final-inner h2 {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: 0;
}

.section-copy p:not(.section-kicker),
.assessment-copy p,
.fit-intro p,
.consult-flow p,
.boundary-content p,
.method-tile p {
  color: var(--text-soft);
  font-size: 16px;
}

.method-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
  gap: 0;
  border-block: 1px solid var(--line);
  overflow: hidden;
}

.method-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, oklch(86% 0.08 86 / 0.08), transparent),
    linear-gradient(180deg, transparent, oklch(75% 0.13 166 / 0.045), transparent);
  opacity: 0.8;
}

.method-tile {
  position: relative;
  min-height: 268px;
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: 30px 26px;
  background: linear-gradient(180deg, oklch(14% 0.034 174 / 0.42), oklch(9% 0.026 174 / 0.18));
  overflow: hidden;
  transition: background 220ms ease, color 220ms ease;
}

.method-tile::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--jade), transparent);
  transition: transform 520ms var(--ease);
}

.method-tile:hover {
  background: linear-gradient(180deg, oklch(20% 0.044 170 / 0.7), oklch(10% 0.03 174 / 0.24));
}

.method-tile:hover::before {
  transform: scaleX(1);
}

.method-tile + .method-tile {
  border-left: 1px solid var(--line);
}

.tile-index {
  width: max-content;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 760;
}

.method-tile h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.28;
  font-weight: 500;
}

.tile-link {
  width: max-content;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-soft);
  font-size: 14px;
  font-weight: 820;
}

.tile-link:hover {
  border-color: var(--gold-soft);
  background: oklch(86% 0.08 86 / 0.08);
  transform: translateY(-1px);
}

.feel-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 54px;
  align-items: center;
}

.feel-section::before {
  content: "";
  position: absolute;
  inset: 54px auto 54px 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, oklch(86% 0.08 86 / 0.22), transparent);
}

.video-stage {
  --visibility: 1;
  --media-inset: 0%;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, oklch(12% 0.032 174), var(--black)),
    var(--black);
  aspect-ratio: 16 / 9;
  transition: border-color 220ms ease, opacity 220ms ease, clip-path 420ms var(--ease);
  clip-path: inset(var(--media-inset) 0 0 0);
}

.video-stage:hover {
  border-color: var(--gold-soft);
}

.video-poster {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: var(--black);
  cursor: pointer;
}

.video-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, oklch(6% 0.02 174 / 0.34), transparent 42%, oklch(5% 0.02 174 / 0.72)),
    linear-gradient(90deg, oklch(6% 0.02 174 / 0.42), transparent 46%);
}

.video-poster img,
.video-stage iframe,
.video-fallback-art {
  width: 100%;
  height: 100%;
  display: block;
}

.video-poster img {
  object-fit: cover;
  opacity: 0.78;
  filter: saturate(0.72) contrast(1.05) brightness(0.82);
  transition: opacity 220ms ease, transform 600ms var(--ease), filter 220ms ease;
}

.video-poster:hover img {
  opacity: 0.92;
  filter: saturate(0.82) contrast(1.08) brightness(0.9);
  transform: scale(1.018);
}

.video-stage iframe {
  position: absolute;
  inset: 0;
  border: 0;
  opacity: 0;
  transition: opacity 420ms var(--ease);
}

.video-stage.is-loaded iframe {
  opacity: 1;
}

.video-fallback-art {
  position: absolute;
  inset: 0;
  object-fit: cover;
  opacity: 0.78;
  filter: grayscale(0.18) sepia(0.18) saturate(0.72) contrast(0.96) brightness(0.95);
}

.video-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, oklch(96% 0.012 104 / 0.06), transparent 35%, oklch(18% 0.024 122 / 0.18)),
    radial-gradient(circle at 50% 50%, transparent, oklch(18% 0.024 122 / 0.12));
  opacity: 1;
  transition: opacity 420ms var(--ease);
}

.video-stage.is-loaded::after {
  opacity: 0;
}

.play-button {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 3;
  translate: -50% -50%;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: oklch(9% 0.028 174 / 0.72);
  backdrop-filter: blur(8px);
  transition: transform 240ms var(--ease), border-color 240ms ease, background 240ms ease;
}

.video-poster:hover .play-button {
  transform: scale(1.04);
  border-color: var(--gold-soft);
  background: oklch(11% 0.03 174 / 0.82);
}

.play-button::before {
  content: "";
  width: 20px;
  height: 28px;
  margin-left: 6px;
  background: var(--gold-soft);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.video-caption {
  position: absolute;
  inset: auto 22px 20px;
  z-index: 2;
  display: grid;
  gap: 3px;
  text-align: left;
  color: var(--text);
}

.video-caption span {
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 760;
}

.video-caption strong {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.25;
  font-weight: 500;
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--gold-soft);
  font-weight: 800;
}

.assessment-section {
  padding: 78px 5vw;
  background:
    linear-gradient(180deg, oklch(10% 0.03 174), oklch(16% 0.036 174)),
    var(--night);
}

.assessment-shell {
  --visibility: 1;
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 44px;
  align-items: start;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 36px;
  opacity: var(--media-opacity, 1);
}

.assessment-form {
  display: grid;
  gap: 12px;
}

.consult-flow {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.consult-flow li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.consult-time {
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 820;
  white-space: nowrap;
}

.consult-flow h3 {
  margin-bottom: 5px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 500;
}

.consult-flow p {
  margin-bottom: 0;
  line-height: 1.72;
}

.fit-intro {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.fit-intro h3 {
  margin-bottom: 9px;
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.22;
  font-weight: 500;
}

.fit-intro p {
  margin-bottom: 0;
  line-height: 1.72;
}

.assessment-form button {
  min-height: 58px;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(100% 0 0 / 0.035);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font-weight: 740;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms var(--ease);
}

.assessment-form button:hover,
.assessment-form button.is-selected {
  border-color: var(--jade);
  background: oklch(75% 0.13 166 / 0.12);
}

.assessment-result {
  min-height: 150px;
  margin-top: 8px;
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: oklch(8% 0.028 174 / 0.5);
}

.assessment-result.is-updated {
  animation: result-enter 360ms var(--ease);
}

.result-label {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 800;
}

.assessment-result p {
  margin-bottom: 0;
  color: var(--text-soft);
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.result-primary,
.result-secondary {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 820;
}

.result-primary {
  background: var(--jade);
  color: var(--black);
}

.result-secondary {
  border: 1px solid var(--line);
  color: var(--gold-soft);
}

.boundary-section {
  padding: 84px 5vw;
  background: oklch(7% 0.024 174);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.boundary-rule {
  width: min(var(--max), 100%);
  height: 1px;
  margin: 0 auto 36px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.boundary-content {
  width: min(900px, 100%);
  margin: 0 auto;
  text-align: center;
}

.boundary-content h2 {
  font-size: 36px;
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 112px 5vw 122px;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/images/hero-space.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  filter: saturate(0.7) brightness(0.7);
}

.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, oklch(7% 0.024 174 / 0.92), oklch(7% 0.024 174 / 0.78));
}

.final-inner {
  width: min(780px, 100%);
  margin: 0 auto;
  text-align: center;
}

.final-mark {
  width: 76px;
  height: 76px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: oklch(94% 0.02 92 / 0.9);
}

.final-inner h2 {
  font-size: 42px;
}

.site-footer {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 5vw;
  border-top: 1px solid var(--line);
  color: var(--text-dim);
  background: var(--black);
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 14px;
}

.site-footer a:hover {
  color: var(--gold-soft);
}

[data-scrub-text] {
  --scrub-opacity: 1;
  --scrub-blur: 0px;
  --scrub-y: 0px;
}

.motion-ready [data-scrub-text] {
  opacity: var(--scrub-opacity);
  filter: none;
  transform: translateY(var(--scrub-y));
  transition: opacity 120ms linear, transform 120ms linear;
}

.motion-ready .video-stage,
.motion-ready .assessment-shell {
  opacity: var(--media-opacity, 1);
}

.js-enabled .reveal {
  opacity: 0.96;
  transform: translateY(18px);
  filter: none;
  transition: opacity 720ms var(--ease), transform 720ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

.motion-ready .video-stage.is-visible,
.motion-ready .assessment-shell.is-visible {
  opacity: var(--media-opacity, 1);
}

.js-enabled .reveal.is-visible.is-pressing {
  transform: scale(0.985);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--jade);
  outline-offset: 4px;
}

@keyframes intro-exit {
  0% {
    opacity: 1;
    visibility: visible;
  }

  70% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@keyframes hero-mark-breath {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-4px) scale(1.018);
  }
}

@keyframes result-enter {
  from {
    opacity: 0.72;
    transform: translateY(8px);
    filter: blur(2px);
  }

  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .menu-toggle {
    display: block;
    order: 2;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 510;
    height: calc(100svh - var(--header-h));
    overflow-y: auto;
    display: grid;
    align-content: start;
    justify-items: center;
    gap: 10px;
    padding: 44px 22px 30px;
    border-top: 1px solid var(--line);
    background:
      linear-gradient(180deg, oklch(8% 0.026 174), oklch(10% 0.03 174)),
      var(--black);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms var(--ease);
  }

  .site-nav a {
    justify-content: center;
    width: min(340px, 100%);
    min-height: 48px;
    font-size: 15px;
  }

  .nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .header-actions {
    order: 3;
  }

  .mobile-nav-panel {
    width: min(340px, 100%);
    display: grid;
    gap: 10px;
    margin-top: 18px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }

  .site-nav .mobile-nav-cta,
  .site-nav .mobile-nav-secondary {
    width: 100%;
    min-height: 48px;
    border-radius: 999px;
    font-weight: 840;
  }

  .site-nav .mobile-nav-cta {
    background: var(--jade);
    color: var(--black);
  }

  .site-nav .mobile-nav-secondary {
    border: 1px solid var(--line-strong);
    color: var(--gold-soft);
    background: oklch(100% 0 0 / 0.035);
  }

  .mobile-language-switch {
    display: inline-flex;
    justify-self: center;
    margin-top: 6px;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: oklch(100% 0 0 / 0.04);
  }

  .mobile-language-switch button {
    min-height: 34px;
    min-width: 56px;
    border: 0;
    border-radius: 999px;
    color: var(--text-dim);
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 760;
  }

  .mobile-language-switch button.active {
    color: var(--black);
    background: var(--gold-soft);
  }

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

  .method-tile + .method-tile,
  .method-tile:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

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

  .site-header {
    padding: 12px 18px;
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand-sub {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 88svh;
    padding: 112px 22px 92px;
  }

  .hero-ring {
    top: 150px;
    width: 360px;
    height: 360px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-lede {
    font-size: 16px;
    line-height: 1.85;
  }

  .hero-footnote {
    grid-template-columns: 1fr;
    bottom: 18px;
    font-size: 12px;
  }

  .hero-footnote > span {
    min-height: 34px;
  }

  .hero-footnote > span + span {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .section {
    width: calc(100% - 36px);
    padding: 78px 0;
  }

  .section-copy.narrow {
    text-align: left;
  }

  .section-copy h2,
  .assessment-copy h2,
  .fit-intro h3,
  .final-inner h2 {
    font-size: 34px;
  }

  .boundary-content h2 {
    font-size: 29px;
  }

  .feel-section,
  .assessment-shell {
    grid-template-columns: 1fr;
  }

  .feel-section::before {
    display: none;
  }

  .assessment-section {
    padding: 66px 18px;
  }

  .assessment-shell {
    padding: 24px;
  }

  .consult-flow li {
    grid-template-columns: 84px 1fr;
    gap: 16px;
  }

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

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .brand-name {
    font-size: 16px;
    letter-spacing: 0.1em;
  }

  .language-switch {
    display: none;
  }

  .hero-logo {
    width: 82px;
    height: 82px;
    padding: 9px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-kicker,
  .section-kicker {
    font-size: 12px;
    letter-spacing: 0.08em;
  }

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

  .btn {
    width: 100%;
  }

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

  .method-tile + .method-tile,
  .method-tile:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .method-tile {
    min-height: 250px;
  }

  .tile-link {
    width: 100%;
    justify-content: center;
  }

  .assessment-section {
    padding: 58px 18px;
  }

  .assessment-shell {
    padding: 20px;
  }

  .assessment-form button {
    min-height: 52px;
    padding: 13px 14px;
  }

  .assessment-result {
    min-height: 126px;
    padding: 18px;
  }

  .consult-flow {
    margin-top: 22px;
  }

  .consult-flow li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0;
  }

  .consult-flow p {
    display: none;
  }

  .play-button {
    width: 68px;
    height: 68px;
  }

  .video-caption {
    inset: auto 16px 15px;
  }

  .video-caption strong {
    font-size: 19px;
  }

  .result-actions {
    flex-direction: column;
  }

  .result-primary,
  .result-secondary {
    width: 100%;
  }

}

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

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

  .js-enabled .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .motion-ready [data-scrub-text] {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .hero-logo {
    animation: none;
  }
}

/* Ancient court theme override */
:root {
  --moon: oklch(95% 0.009 102);
  --silk: oklch(91% 0.018 112);
  --mist: oklch(87% 0.025 154);
  --celadon: oklch(83% 0.047 162);
  --ink: oklch(19% 0.024 122);
  --ink-soft: oklch(31% 0.026 122 / 0.78);
  --ink-dim: oklch(41% 0.024 122 / 0.64);
  --seal: oklch(50% 0.16 35);
  --obsidian: var(--moon);
  --night: var(--silk);
  --deep: var(--mist);
  --panel: oklch(96% 0.012 104 / 0.86);
  --panel-2: oklch(90% 0.025 154 / 0.76);
  --text: var(--ink);
  --text-soft: var(--ink-soft);
  --text-dim: var(--ink-dim);
  --gold: oklch(58% 0.09 86);
  --gold-soft: oklch(63% 0.085 86);
  --jade: oklch(54% 0.085 166);
  --rose: var(--seal);
  --line: oklch(24% 0.024 122 / 0.14);
  --line-strong: oklch(25% 0.035 122 / 0.26);
  --black: var(--ink);
}

html {
  background: var(--moon);
}

body {
  background:
    radial-gradient(circle at 50% -10%, oklch(100% 0 0 / 0.9), transparent 34rem),
    linear-gradient(180deg, var(--moon) 0%, oklch(93% 0.015 112) 46%, oklch(88% 0.028 154) 100%);
  color: var(--text);
}

body::before {
  background:
    radial-gradient(circle at 50% 5%, oklch(75% 0.07 86 / 0.18), transparent 20rem),
    linear-gradient(90deg, transparent 0 49.92%, oklch(24% 0.024 122 / 0.09) 49.92% 50.08%, transparent 50.08% 100%),
    linear-gradient(180deg, oklch(25% 0.03 122 / 0.035), transparent 34%, oklch(54% 0.085 166 / 0.08));
}

body.intro-locked {
  overflow: hidden;
}

.skip-link {
  background: var(--ink);
  color: var(--moon);
}

.intro-screen {
  z-index: 900;
  display: grid;
  place-items: center;
  padding: 26px;
  background:
    radial-gradient(circle at 50% 50%, oklch(98% 0.01 104), oklch(88% 0.023 108) 58%, oklch(28% 0.034 120) 160%);
  color: var(--ink);
  overflow: hidden;
  animation: none;
  transition: opacity 860ms var(--ease-quint), visibility 860ms var(--ease-quint);
}

.intro-wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 49.9%, oklch(22% 0.024 122 / 0.12) 49.9% 50.1%, transparent 50.1% 100%),
    radial-gradient(circle at 50% 50%, transparent 0 18rem, oklch(20% 0.026 122 / 0.08) 18.1rem 18.25rem, transparent 18.35rem);
}

.intro-gate {
  position: relative;
  width: min(420px, 76vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 34px;
  border: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 44% 34%, oklch(99% 0.004 100), var(--moon) 58%, oklch(89% 0.02 100) 100%);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 18px 42px oklch(18% 0.024 122 / 0.18);
  transition: transform 760ms var(--ease-quint), opacity 520ms ease, box-shadow 280ms ease;
}

.intro-gate::before,
.intro-gate::after,
.intro-orbit {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.intro-gate::before {
  inset: -18px;
  border: 1px solid oklch(25% 0.03 122 / 0.18);
}

.intro-gate::after {
  inset: 18px;
  border: 1px solid oklch(58% 0.09 86 / 0.2);
}

.intro-orbit {
  inset: -42px;
  border: 1px solid oklch(54% 0.085 166 / 0.24);
  transform: rotate(8deg);
  animation: intro-orbit 9s linear infinite;
}

.intro-gate img {
  width: 126px;
  height: 126px;
  object-fit: contain;
  border-radius: 50%;
}

.intro-title {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0.16em;
}

.intro-subtitle {
  color: var(--ink-soft);
  font-size: 14px;
  letter-spacing: 0.2em;
}

.intro-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--moon);
  font-weight: 820;
  letter-spacing: 0.14em;
}

.intro-gate:hover {
  transform: translateY(-3px) scale(1.018);
  box-shadow: 0 24px 50px oklch(18% 0.024 122 / 0.2);
}

.intro-screen.is-entering {
  opacity: 0;
  visibility: hidden;
}

.intro-screen.is-entering .intro-gate {
  transform: scale(5.2);
  opacity: 0;
}

.intro-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-header {
  background: oklch(96% 0.01 102 / 0.82);
  border-bottom-color: oklch(24% 0.024 122 / 0.1);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: oklch(96% 0.01 102 / 0.94);
}

.brand-mark,
.hero-logo,
.final-mark {
  background: var(--moon);
  border: 1px solid oklch(25% 0.03 122 / 0.16);
}

.brand-name,
.site-footer strong {
  color: var(--ink);
}

.brand-sub,
.site-nav a,
.site-footer,
.site-footer span {
  color: var(--ink-dim);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
  background: oklch(54% 0.085 166 / 0.11);
}

.language-switch {
  border-color: var(--line);
  background: oklch(100% 0 0 / 0.46);
}

.language-switch button {
  color: var(--ink-dim);
}

.language-switch button.active {
  color: var(--moon);
  background: var(--ink);
}

.header-cta,
.btn.primary,
.result-primary {
  background: var(--ink);
  color: var(--moon);
}

.header-cta:hover,
.btn.primary:hover,
.result-primary:hover {
  background: oklch(25% 0.032 122);
}

.btn.secondary,
.result-secondary,
.tile-link {
  border-color: var(--line-strong);
  background: oklch(100% 0 0 / 0.44);
  color: var(--ink);
}

.btn.secondary:hover,
.result-secondary:hover,
.tile-link:hover {
  border-color: var(--jade);
  background: oklch(54% 0.085 166 / 0.1);
}

.btn-mark {
  background: var(--moon);
}

.hero {
  min-height: 92svh;
  background:
    radial-gradient(circle at 50% 36%, oklch(100% 0 0 / 0.34), transparent 20rem),
    linear-gradient(180deg, oklch(95% 0.01 102 / 0.95), oklch(91% 0.02 112 / 0.82));
}

.hero::before {
  background: linear-gradient(90deg, transparent, oklch(25% 0.024 122 / 0.18), transparent);
}

.hero-image img {
  opacity: 0.3;
  filter: saturate(0.82) contrast(0.96) brightness(1.08);
}

.hero-vignette {
  background:
    linear-gradient(180deg, oklch(96% 0.008 102 / 0.78), oklch(96% 0.008 102 / 0.32) 45%, oklch(92% 0.018 112 / 0.88)),
    linear-gradient(90deg, oklch(96% 0.008 102 / 0.86), transparent 48%, oklch(96% 0.008 102 / 0.8));
}

.hero-ring,
.hero-ring::before,
.hero-ring::after {
  border-color: oklch(25% 0.03 122 / 0.12);
}

.hero-inner::before,
.hero-inner::after,
.hero-footnote,
.method-grid,
.consult-flow,
.consult-flow li {
  border-color: var(--line);
}

.hero-inner::before,
.hero-inner::after,
.boundary-rule {
  background: linear-gradient(90deg, transparent, oklch(58% 0.09 86 / 0.5), transparent);
}

.hero-logo {
  filter: none;
}

.hero-kicker,
.section-kicker,
.tile-index,
.consult-time,
.result-label,
.text-link {
  color: var(--gold);
}

.hero h1,
.section-copy h2,
.assessment-copy h2,
.boundary-content h2,
.final-inner h2,
.method-tile h3,
.consult-flow h3,
.fit-intro h3 {
  color: var(--ink);
}

.hero h1 {
  font-size: clamp(3.1rem, 6vw, 5.6rem);
}

.hero-lede,
.section-copy p:not(.section-kicker),
.assessment-copy p,
.fit-intro p,
.consult-flow p,
.boundary-content p,
.method-tile p,
.assessment-result p {
  color: var(--ink-soft);
}

.hero-footnote {
  background: oklch(96% 0.01 102 / 0.48);
  color: var(--ink-soft);
}

.section {
  padding: 94px 0;
}

.feel-section::before {
  background: linear-gradient(180deg, transparent, oklch(24% 0.024 122 / 0.16), transparent);
}

.video-stage {
  border-color: var(--line-strong);
  background: var(--ink);
}

.video-stage:hover {
  border-color: var(--jade);
}

.method-grid {
  background: oklch(96% 0.012 104 / 0.56);
}

.method-grid::before {
  background:
    radial-gradient(circle at 50% 50%, oklch(54% 0.085 166 / 0.11), transparent 38rem),
    linear-gradient(90deg, transparent, oklch(58% 0.09 86 / 0.1), transparent);
}

.method-tile {
  background: oklch(96% 0.012 104 / 0.62);
}

.method-tile:hover {
  background: oklch(89% 0.03 152 / 0.7);
}

.method-tile::before {
  background: linear-gradient(90deg, var(--seal), transparent);
}

.tile-index {
  border-color: oklch(58% 0.09 86 / 0.32);
  background: oklch(100% 0 0 / 0.42);
}

.assessment-section {
  background:
    radial-gradient(circle at 50% 0%, oklch(97% 0.01 104 / 0.7), transparent 28rem),
    linear-gradient(180deg, oklch(88% 0.028 154), oklch(82% 0.042 166));
}

.assessment-shell,
.assessment-result {
  border-color: var(--line-strong);
  background: oklch(96% 0.011 104 / 0.72);
}

.assessment-form button {
  border-color: var(--line);
  background: oklch(100% 0 0 / 0.5);
  color: var(--ink);
}

.assessment-form button:hover,
.assessment-form button.is-selected {
  border-color: var(--jade);
  background: oklch(54% 0.085 166 / 0.12);
}

.fit-intro {
  border-bottom-color: var(--line);
}

.boundary-section {
  color: var(--ink);
  background:
    linear-gradient(180deg, oklch(92% 0.016 108), oklch(86% 0.026 152)),
    var(--mist);
  border-color: var(--line);
}

.final-cta {
  color: var(--ink);
  background: oklch(91% 0.02 112);
}

.final-cta::before {
  opacity: 0.24;
  filter: saturate(0.72) contrast(0.96) brightness(1.14);
}

.final-cta::after {
  background:
    radial-gradient(circle at 50% 40%, oklch(98% 0.008 102 / 0.72), transparent 22rem),
    linear-gradient(180deg, oklch(96% 0.01 102 / 0.92), oklch(88% 0.025 154 / 0.86));
}

.site-footer {
  background: oklch(86% 0.026 152);
  border-top-color: var(--line);
}

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

.scroll-progress {
  background: linear-gradient(90deg, var(--seal), var(--jade), var(--gold));
}

@keyframes intro-orbit {
  to {
    transform: rotate(368deg);
  }
}

@media (max-width: 1120px) {
  .site-nav {
    border-top-color: var(--line);
    background:
      radial-gradient(circle at 50% 0%, oklch(100% 0 0 / 0.58), transparent 18rem),
      linear-gradient(180deg, var(--moon), var(--mist));
  }

  .site-nav .mobile-nav-cta {
    background: var(--ink);
    color: var(--moon);
  }

  .site-nav .mobile-nav-secondary {
    border-color: var(--line-strong);
    color: var(--ink);
    background: oklch(100% 0 0 / 0.42);
  }

  .mobile-language-switch {
    border-color: var(--line);
    background: oklch(100% 0 0 / 0.42);
  }

  .mobile-language-switch button {
    color: var(--ink-dim);
  }

  .mobile-language-switch button.active {
    color: var(--moon);
    background: var(--ink);
  }
}

@media (max-width: 900px) {
  .hero {
    background:
      radial-gradient(circle at 50% 30%, oklch(100% 0 0 / 0.28), transparent 14rem),
      linear-gradient(180deg, oklch(95% 0.01 102), oklch(91% 0.022 132));
  }

  .hero h1 {
    font-size: clamp(2.6rem, 12vw, 4.1rem);
  }

  .intro-gate {
    width: min(330px, 76vw);
  }

  .intro-gate img {
    width: 106px;
    height: 106px;
  }
}

@media (max-width: 620px) {
  .intro-title {
    font-size: 22px;
  }

  .intro-subtitle {
    font-size: 12px;
    letter-spacing: 0.16em;
  }

  .hero {
    min-height: 88svh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-orbit {
    animation: none;
  }

  .intro-screen,
  .intro-gate {
    transition-duration: 1ms !important;
  }
}

/* Calligraphy court refinement */
:root {
  --font-calligraphy: "Noto Serif CJK TC", "Noto Serif CJK SC", "Source Han Serif TC", "Source Han Serif SC", "Songti TC", "Songti SC", "STSong", "SimSun", serif;
  --font-body: "Noto Serif CJK TC", "Noto Serif CJK SC", "Source Han Serif TC", "Source Han Serif SC", "Songti TC", "Songti SC", "STSong", "SimSun", serif;
  --font-ui: "Avenir Next", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --paper-edge: oklch(75% 0.03 92 / 0.18);
  --ink-faint: oklch(18% 0.024 122 / 0.055);
}

body {
  font-family: var(--font-body);
  letter-spacing: 0.015em;
}

body::after {
  content: "雲行遠堂";
  position: fixed;
  right: min(6vw, 78px);
  top: 16vh;
  z-index: -1;
  pointer-events: none;
  writing-mode: vertical-rl;
  color: var(--ink);
  font-family: var(--font-calligraphy);
  font-size: clamp(6rem, 10vw, 12rem);
  line-height: 0.92;
  opacity: 0.035;
}

.site-header,
.btn,
.header-cta,
.site-nav,
.language-switch,
.mobile-language-switch,
.tile-link,
.assessment-form button,
.result-primary,
.result-secondary {
  font-family: var(--font-ui);
  letter-spacing: 0.04em;
}

.brand-name,
.intro-title,
.hero h1,
.section-copy h2,
.assessment-copy h2,
.boundary-content h2,
.final-inner h2,
.method-tile h3,
.consult-flow h3,
.fit-intro h3 {
  font-family: var(--font-calligraphy);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.brand-name {
  font-size: 21px;
  letter-spacing: 0.12em;
}

.brand-sub {
  font-family: var(--font-ui);
}

.hero {
  background:
    radial-gradient(circle at 50% 38%, oklch(100% 0 0 / 0.42), transparent 19rem),
    linear-gradient(180deg, oklch(95% 0.01 102 / 0.95), oklch(90% 0.022 112 / 0.86));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 82px 8vw auto;
  z-index: -2;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--paper-edge), transparent);
}

.hero-image img {
  opacity: 0.2;
  filter: grayscale(0.58) sepia(0.18) saturate(0.6) contrast(0.92) brightness(1.14);
  mix-blend-mode: multiply;
}

.hero-vignette {
  background:
    radial-gradient(circle at 50% 38%, transparent 0 12rem, oklch(94% 0.012 102 / 0.46) 20rem, transparent 42rem),
    linear-gradient(180deg, oklch(96% 0.008 102 / 0.76), oklch(96% 0.008 102 / 0.28) 45%, oklch(92% 0.018 112 / 0.9)),
    linear-gradient(90deg, oklch(96% 0.008 102 / 0.9), transparent 48%, oklch(96% 0.008 102 / 0.86));
}

.hero-calligraphy {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  color: var(--ink);
  font-family: var(--font-calligraphy);
}

.hero-calligraphy span {
  position: absolute;
  writing-mode: vertical-rl;
  line-height: 0.9;
  opacity: 0.16;
  text-shadow: 0 0 1px oklch(18% 0.024 122 / 0.08);
}

.hero-calligraphy span:first-child {
  left: clamp(28px, 8vw, 132px);
  top: 22vh;
  font-size: clamp(4.6rem, 8vw, 8.5rem);
}

.hero-calligraphy span:last-child {
  right: clamp(26px, 7vw, 118px);
  top: 18vh;
  font-size: clamp(3.8rem, 6vw, 7rem);
  opacity: 0.11;
}

.hero-logo {
  width: 116px;
  height: 116px;
  margin-bottom: 20px;
}

.hero-kicker,
.section-kicker,
.tile-index,
.consult-time,
.result-label {
  font-family: var(--font-body);
  letter-spacing: 0.12em;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(4.2rem, 7.4vw, 7rem);
  line-height: 1.02;
}

.hero-lede,
.section-copy p:not(.section-kicker),
.assessment-copy p,
.fit-intro p,
.consult-flow p,
.boundary-content p,
.method-tile p,
.assessment-result p {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.9;
}

.section-copy h2,
.assessment-copy h2,
.boundary-content h2,
.final-inner h2 {
  font-size: clamp(3.1rem, 5.2vw, 5.1rem);
  line-height: 1.06;
}

.method-tile h3,
.fit-intro h3 {
  font-size: clamp(1.8rem, 2.6vw, 2.55rem);
  line-height: 1.14;
}

.consult-flow h3 {
  font-size: 1.7rem;
}

.section,
.assessment-section,
.boundary-section,
.final-cta {
  position: relative;
}

.assessment-section::before,
.boundary-section::before,
.final-cta::before {
  content: "";
  position: absolute;
  pointer-events: none;
}

.method-section::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 28px 5vw auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--paper-edge), transparent);
}

.method-section::after,
.assessment-section::after,
.boundary-section::after {
  content: "雲";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  color: var(--ink);
  font-family: var(--font-calligraphy);
  font-size: clamp(10rem, 17vw, 18rem);
  line-height: 1;
  opacity: 0.035;
}

.method-section::after {
  right: 7vw;
  bottom: -1rem;
}

.assessment-section::after {
  content: "遠";
  left: 5vw;
  top: 5rem;
}

.boundary-section::after {
  content: "堂";
  right: 7vw;
  top: 2rem;
}

.video-stage,
.method-grid,
.assessment-shell,
.assessment-result {
  border-color: oklch(27% 0.03 112 / 0.2);
}

.video-stage {
  box-shadow: 0 0 0 10px oklch(97% 0.011 104 / 0.38);
}

.method-grid {
  overflow: visible;
  box-shadow: inset 0 0 0 1px oklch(100% 0 0 / 0.34);
}

.method-tile {
  overflow: hidden;
}

.method-tile::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border: 1px solid oklch(50% 0.16 35 / 0.28);
  border-radius: 50%;
  opacity: 0.45;
}

.tile-index {
  border-color: oklch(50% 0.16 35 / 0.32);
  color: var(--seal);
}

.assessment-shell {
  position: relative;
  z-index: 1;
  background:
    linear-gradient(90deg, oklch(24% 0.024 122 / 0.055), transparent 18%, transparent 82%, oklch(24% 0.024 122 / 0.055)),
    oklch(96% 0.011 104 / 0.76);
}

.assessment-shell::before,
.assessment-shell::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, oklch(24% 0.024 122 / 0.2), transparent);
}

.assessment-shell::before {
  top: 18px;
}

.assessment-shell::after {
  bottom: 18px;
}

.boundary-content,
.final-inner {
  position: relative;
  z-index: 1;
}

.boundary-content::before,
.final-inner::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -42px;
  width: 54px;
  height: 54px;
  transform: translateX(-50%) rotate(-8deg);
  border: 1px solid oklch(50% 0.16 35 / 0.34);
  border-radius: 50%;
  opacity: 0.65;
}

@media (max-width: 900px) {
  .hero-calligraphy span:first-child {
    left: 14px;
    top: 20vh;
    font-size: 4.8rem;
    opacity: 0.08;
  }

  .hero-calligraphy span:last-child {
    right: 10px;
    top: 25vh;
    font-size: 4.2rem;
    opacity: 0.07;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 15vw, 5rem);
  }

  .section-copy h2,
  .assessment-copy h2,
  .boundary-content h2,
  .final-inner h2 {
    font-size: clamp(2.55rem, 11vw, 4rem);
  }
}

@media (max-width: 620px) {
  body::after {
    display: none;
  }

  .hero-logo {
    width: 94px;
    height: 94px;
  }

  .method-section::after,
  .assessment-section::after,
  .boundary-section::after {
    font-size: 9rem;
  }

  .hero-lede,
  .section-copy p:not(.section-kicker),
  .assessment-copy p,
  .fit-intro p,
  .consult-flow p,
  .boundary-content p,
  .method-tile p,
  .assessment-result p {
    font-size: 1rem;
  }

  .video-stage {
    box-shadow: 0 0 0 6px oklch(97% 0.011 104 / 0.34);
  }
}

/* Readability pass: keep calligraphy as atmosphere, use clearer Song/Ming for content */
:root {
  --font-clear-title: "Noto Serif CJK TC", "Noto Serif CJK SC", "Source Han Serif TC", "Source Han Serif SC", "Songti TC", "Songti SC", "STSong", "SimSun", serif;
}

body::after {
  opacity: 0.018;
}

.brand-name,
.hero h1,
.section-copy h2,
.assessment-copy h2,
.boundary-content h2,
.final-inner h2,
.method-tile h3,
.consult-flow h3,
.fit-intro h3 {
  font-family: var(--font-clear-title);
  font-weight: 500;
  letter-spacing: 0.015em;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(3.45rem, 6.1vw, 5.75rem);
  line-height: 1.12;
}

.section-copy h2,
.assessment-copy h2,
.boundary-content h2,
.final-inner h2 {
  font-size: clamp(2.65rem, 4.25vw, 4.35rem);
  line-height: 1.16;
}

.method-tile h3,
.fit-intro h3 {
  font-size: clamp(1.55rem, 2.15vw, 2.1rem);
  line-height: 1.24;
}

.consult-flow h3 {
  font-size: 1.45rem;
  line-height: 1.28;
}

.hero-calligraphy span {
  opacity: 0.07;
}

.hero-calligraphy span:last-child {
  opacity: 0.055;
}

.method-section::after,
.assessment-section::after,
.boundary-section::after {
  opacity: 0.018;
}

.hero-lede,
.section-copy p:not(.section-kicker),
.assessment-copy p,
.fit-intro p,
.consult-flow p,
.boundary-content p,
.method-tile p,
.assessment-result p {
  font-size: 1rem;
  line-height: 1.86;
  letter-spacing: 0.01em;
}

.hero-kicker,
.section-kicker,
.tile-index,
.consult-time,
.result-label {
  font-family: var(--font-ui);
  letter-spacing: 0.08em;
}

@media (max-width: 900px) {
  .hero h1 {
    font-size: clamp(2.85rem, 12vw, 4.25rem);
    line-height: 1.12;
  }

  .section-copy h2,
  .assessment-copy h2,
  .boundary-content h2,
  .final-inner h2 {
    font-size: clamp(2.05rem, 8.5vw, 3.1rem);
    line-height: 1.18;
  }

  .hero-calligraphy span:first-child,
  .hero-calligraphy span:last-child {
    opacity: 0.04;
  }
}

@media (max-width: 620px) {
  .hero h1 {
    font-size: clamp(2.65rem, 13vw, 3.75rem);
  }

  .section-copy h2,
  .assessment-copy h2,
  .boundary-content h2,
  .final-inner h2 {
    font-size: clamp(2rem, 9vw, 2.85rem);
  }
}

/* Anti-SaaS ritual surface pass */
:root {
  --ritual-radius: 3px;
  --brush-line: oklch(24% 0.024 122 / 0.2);
  --paper-wash: oklch(96% 0.011 104 / 0.72);
  --paper-wash-soft: oklch(99% 0.006 100 / 0.48);
}

body {
  background:
    radial-gradient(circle at 50% -8%, oklch(100% 0 0 / 0.74), transparent 34rem),
    radial-gradient(circle at 16% 22%, oklch(58% 0.09 86 / 0.12), transparent 22rem),
    linear-gradient(180deg, var(--moon) 0%, oklch(94% 0.012 108) 44%, oklch(88% 0.026 152) 100%);
}

body::before {
  background:
    linear-gradient(90deg, transparent 0 49.93%, oklch(24% 0.024 122 / 0.065) 49.93% 50.07%, transparent 50.07% 100%),
    radial-gradient(circle at 78% 16%, oklch(50% 0.16 35 / 0.07), transparent 14rem),
    linear-gradient(180deg, oklch(24% 0.024 122 / 0.03), transparent 42%, oklch(54% 0.085 166 / 0.075));
}

.site-header {
  border-bottom: 1px solid oklch(24% 0.024 122 / 0.11);
  background: oklch(96% 0.01 102 / 0.88);
}

.site-nav {
  gap: clamp(12px, 1.7vw, 26px);
}

.site-nav a {
  position: relative;
  min-height: 34px;
  padding: 0 2px;
  border-radius: 0;
  background: transparent;
  color: var(--ink-dim);
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--seal);
  opacity: 0;
  transform: scaleX(0.3);
  transform-origin: center;
  transition: opacity 180ms ease, transform 220ms var(--ease);
}

.site-nav a:hover,
.site-nav a.is-active {
  background: transparent;
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  opacity: 0.78;
  transform: scaleX(1);
}

.language-switch,
.mobile-language-switch {
  overflow: hidden;
  padding: 0;
  border-radius: var(--ritual-radius);
  background: oklch(98% 0.006 100 / 0.52);
}

.language-switch button,
.mobile-language-switch button {
  border-radius: 0;
  font-family: var(--font-ui);
  font-weight: 620;
}

.language-switch button + button,
.mobile-language-switch button + button {
  border-left: 1px solid var(--line);
}

.language-switch button.active,
.mobile-language-switch button.active {
  background: var(--ink);
  color: var(--moon);
}

.menu-toggle,
.header-cta,
.btn,
.result-primary,
.result-secondary,
.tile-link,
.site-nav .mobile-nav-cta,
.site-nav .mobile-nav-secondary {
  border-radius: var(--ritual-radius);
  box-shadow: none;
}

.header-cta,
.btn.primary,
.result-primary,
.site-nav .mobile-nav-cta {
  position: relative;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--moon);
  box-shadow: none;
  letter-spacing: 0.1em;
}

.header-cta::after,
.btn.primary::after,
.result-primary::after,
.site-nav .mobile-nav-cta::after {
  content: "";
  position: static;
  display: inline-block;
  width: 5px;
  height: 5px;
  right: auto;
  bottom: auto;
  left: auto;
  margin-left: 10px;
  background: var(--seal);
  opacity: 1;
  transform: none;
}

.btn.secondary,
.result-secondary,
.tile-link,
.site-nav .mobile-nav-secondary {
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.btn.secondary:hover,
.result-secondary:hover,
.tile-link:hover,
.site-nav .mobile-nav-secondary:hover {
  border-color: var(--seal);
  background: transparent;
  color: var(--seal);
}

.btn:hover,
.header-cta:hover,
.tile-link:hover,
.result-primary:hover,
.result-secondary:hover {
  transform: none;
}

.btn-mark {
  width: 12px;
  height: 1px;
  border-radius: 0;
  background: currentColor;
}

.hero {
  background:
    linear-gradient(180deg, oklch(96% 0.008 102 / 0.72), oklch(93% 0.014 112 / 0.68)),
    url("assets/images/hero-ink-study.png");
  background-position: center;
  background-size: cover;
}

.hero::after {
  opacity: 0.68;
}

.hero-image img {
  opacity: 0.03;
  filter: sepia(0.16) saturate(0.68) contrast(0.94) brightness(1.08);
}

.hero-vignette {
  background:
    radial-gradient(circle at 50% 42%, transparent 0 14rem, oklch(96% 0.008 102 / 0.34) 24rem, transparent 45rem),
    linear-gradient(180deg, oklch(97% 0.006 100 / 0.72), oklch(95% 0.01 104 / 0.32) 48%, oklch(92% 0.018 112 / 0.88)),
    linear-gradient(90deg, oklch(97% 0.006 100 / 0.82), transparent 52%, oklch(97% 0.006 100 / 0.74));
}

.hero-footnote {
  border-color: var(--brush-line);
  background: oklch(98% 0.006 100 / 0.34);
}

.video-stage {
  border-radius: var(--ritual-radius);
  box-shadow:
    0 0 0 9px oklch(98% 0.006 100 / 0.36),
    0 18px 44px oklch(24% 0.024 122 / 0.09);
}

.method-grid {
  overflow: visible;
  gap: 0;
  border-top: 1px solid var(--brush-line);
  border-bottom: 1px solid var(--brush-line);
  background: transparent;
  box-shadow: none;
}

.method-grid::before {
  inset: -20px 0;
  background:
    linear-gradient(90deg, transparent, oklch(50% 0.16 35 / 0.06), transparent),
    linear-gradient(180deg, transparent, oklch(99% 0.006 100 / 0.32), transparent);
}

.method-tile {
  min-height: 292px;
  padding: 38px 30px 32px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.method-tile:hover {
  background: oklch(100% 0 0 / 0.18);
}

.method-tile::before {
  inset: 25px auto auto 30px;
  width: 28px;
  height: 3px;
  background: var(--seal);
  transform: none;
  opacity: 0.72;
}

.method-tile:hover::before {
  transform: none;
}

.method-tile::after {
  top: 24px;
  right: 24px;
  bottom: auto;
  width: 54px;
  height: 54px;
  border-color: oklch(50% 0.16 35 / 0.22);
  opacity: 0.34;
}

.method-tile + .method-tile {
  border-left: 1px solid var(--brush-line);
}

.tile-index {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--seal);
  font-family: var(--font-ui);
}

.tile-link {
  width: max-content;
  min-height: 32px;
  padding: 0;
  font-weight: 620;
}

.assessment-section {
  background:
    radial-gradient(circle at 50% 0%, oklch(99% 0.006 100 / 0.62), transparent 27rem),
    linear-gradient(180deg, oklch(91% 0.018 112), oklch(87% 0.027 152));
}

.assessment-shell {
  gap: clamp(34px, 5vw, 72px);
  padding: 48px 0;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, oklch(24% 0.024 122 / 0.04), transparent 16%, transparent 84%, oklch(24% 0.024 122 / 0.04)),
    transparent;
  box-shadow: none;
}

.assessment-shell::before,
.assessment-shell::after {
  right: 0;
  left: 0;
}

.assessment-form {
  gap: 0;
  padding-left: clamp(20px, 3vw, 36px);
  border-left: 1px solid var(--brush-line);
}

.assessment-form button {
  position: relative;
  min-height: 66px;
  padding: 17px 10px 17px 32px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.assessment-form button::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 50%;
  width: 9px;
  height: 9px;
  border: 1px solid oklch(50% 0.16 35 / 0.56);
  transform: translateY(-50%) rotate(45deg);
}

.assessment-form button:hover,
.assessment-form button.is-selected {
  background: oklch(100% 0 0 / 0.18);
  border-color: oklch(50% 0.16 35 / 0.26);
  color: var(--seal);
}

.assessment-form button.is-selected::before {
  background: var(--seal);
}

.fit-intro {
  padding-bottom: 22px;
  border-bottom-color: var(--brush-line);
}

.assessment-result {
  position: relative;
  min-height: 142px;
  margin-top: 20px;
  padding: 22px 0 22px 24px;
  border: 0;
  border-top: 1px solid var(--brush-line);
  border-bottom: 1px solid var(--brush-line);
  border-radius: 0;
  background:
    linear-gradient(90deg, oklch(50% 0.16 35 / 0.06), transparent 42%),
    transparent;
}

.assessment-result::before {
  content: "";
  position: absolute;
  left: 0;
  top: 25px;
  width: 3px;
  height: 44px;
  background: var(--seal);
}

.result-actions {
  gap: 14px;
}

.boundary-section {
  background:
    linear-gradient(180deg, oklch(92% 0.016 108), oklch(88% 0.026 152)),
    var(--mist);
}

.boundary-content {
  max-width: 840px;
}

.final-cta {
  background: oklch(91% 0.02 112);
}

.final-cta::before {
  background-image: url("assets/images/hero-ink-study.png");
  opacity: 0.18;
  filter: saturate(0.72) contrast(0.94) brightness(1.08);
}

.final-cta::after {
  background:
    radial-gradient(circle at 50% 38%, oklch(98% 0.008 102 / 0.7), transparent 24rem),
    linear-gradient(180deg, oklch(96% 0.01 102 / 0.92), oklch(89% 0.024 154 / 0.86));
}

.site-footer {
  background: oklch(87% 0.026 152);
}

@media (max-width: 1120px) {
  .site-nav {
    gap: 12px;
  }

  .site-nav a {
    min-height: 48px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav .mobile-nav-cta,
  .site-nav .mobile-nav-secondary {
    width: 100%;
    border-radius: var(--ritual-radius);
  }
}

@media (max-width: 900px) {
  .hero {
    background:
      linear-gradient(180deg, oklch(96% 0.008 102 / 0.78), oklch(92% 0.016 122 / 0.74)),
      url("assets/images/hero-ink-study.png");
    background-position: center top;
    background-size: cover;
  }

  .hero-image img {
    opacity: 0.02;
  }

  .assessment-shell {
    padding: 34px 0;
  }

  .assessment-form {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--brush-line);
  }

  .method-tile + .method-tile,
  .method-tile:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--brush-line);
  }
}

@media (max-width: 620px) {
  .hero-footnote {
    background: oklch(98% 0.006 100 / 0.46);
  }

  .btn,
  .tile-link,
  .result-primary,
  .result-secondary {
    width: 100%;
  }

  .method-tile {
    min-height: 238px;
    padding: 34px 18px 28px;
  }

  .method-tile::before {
    left: 18px;
  }

  .assessment-form button {
    min-height: 62px;
    padding-right: 0;
  }
}

/* Song/Ming typography pass: remove handwritten fallbacks from readable page text */
:root {
  --font-body: "Noto Serif CJK TC", "Noto Serif CJK SC", "Source Han Serif TC", "Source Han Serif SC", "Songti TC", "Songti SC", "STSong", "SimSun", serif;
  --font-display: "Noto Serif CJK TC", "Noto Serif CJK SC", "Source Han Serif TC", "Source Han Serif SC", "Songti TC", "Songti SC", "STSong", "SimSun", serif;
  --font-clear-title: "Noto Serif CJK TC", "Noto Serif CJK SC", "Source Han Serif TC", "Source Han Serif SC", "Songti TC", "Songti SC", "STSong", "SimSun", serif;
  --font-calligraphy: "Noto Serif CJK TC", "Noto Serif CJK SC", "Source Han Serif TC", "Source Han Serif SC", "Songti TC", "Songti SC", "STSong", "SimSun", serif;
  --font-ui: "Avenir Next", "PingFang TC", "PingFang SC", "Microsoft JhengHei", "Microsoft YaHei", sans-serif;
}

body {
  font-family: var(--font-body);
  font-kerning: normal;
  font-weight: 400;
  letter-spacing: 0.012em;
}

.brand-name,
.intro-title,
.hero h1,
.section-copy h2,
.assessment-copy h2,
.boundary-content h2,
.final-inner h2,
.method-tile h3,
.consult-flow h3,
.fit-intro h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.035em;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 5.6vw, 5.35rem);
  line-height: 1.18;
}

.section-copy h2,
.assessment-copy h2,
.boundary-content h2,
.final-inner h2 {
  font-size: clamp(2.45rem, 4vw, 4.1rem);
  line-height: 1.2;
}

.method-tile h3,
.fit-intro h3 {
  font-size: clamp(1.48rem, 2vw, 1.95rem);
  line-height: 1.32;
}

.consult-flow h3 {
  font-size: 1.32rem;
  line-height: 1.34;
}

.hero-lede,
.section-copy p:not(.section-kicker),
.assessment-copy p,
.fit-intro p,
.consult-flow p,
.boundary-content p,
.method-tile p,
.assessment-result p {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.92;
  letter-spacing: 0.018em;
}

.hero-kicker,
.section-kicker,
.tile-index,
.consult-time,
.result-label,
.site-nav a,
.btn,
.header-cta,
.tile-link,
.result-primary,
.result-secondary,
.language-switch,
.mobile-language-switch {
  font-family: var(--font-ui);
}

.hero-calligraphy,
body::after,
.method-section::after,
.assessment-section::after,
.boundary-section::after {
  font-family: var(--font-calligraphy);
}

.hero-calligraphy span {
  opacity: 0.045;
}

body::after {
  opacity: 0.012;
}

@media (max-width: 900px) {
  .hero h1 {
    font-size: clamp(2.6rem, 11vw, 3.95rem);
    line-height: 1.2;
  }

  .section-copy h2,
  .assessment-copy h2,
  .boundary-content h2,
  .final-inner h2 {
    font-size: clamp(1.95rem, 8vw, 2.85rem);
    line-height: 1.22;
  }
}

@media (max-width: 620px) {
  .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.3rem);
  }

  .method-tile h3,
  .fit-intro h3 {
    font-size: 1.42rem;
  }
}

/* Homepage distillation pass: four clear movements, details on demand */
.hero {
  min-height: 88svh;
}

.section {
  padding-top: clamp(68px, 8vw, 104px);
  padding-bottom: clamp(68px, 8vw, 104px);
}

.feel-section {
  gap: clamp(34px, 5vw, 66px);
}

.method-section .section-copy.narrow {
  margin-bottom: 30px;
}

.method-grid {
  border-top-color: oklch(24% 0.024 122 / 0.16);
  border-bottom-color: oklch(24% 0.024 122 / 0.16);
}

.method-tile {
  min-height: 238px;
  padding-top: 34px;
  padding-bottom: 28px;
}

.final-cta {
  padding-top: clamp(86px, 9vw, 128px);
  padding-bottom: clamp(78px, 8vw, 116px);
}

.final-inner {
  width: min(900px, 100%);
}

.final-note {
  max-width: 68ch;
  margin: -4px auto 28px;
  color: var(--ink-soft);
  font-family: var(--font-body);
  line-height: 1.9;
}

.reserve-disclosures {
  width: min(760px, 100%);
  display: grid;
  gap: 0;
  margin: 42px auto 0;
  border-top: 1px solid var(--brush-line);
  border-bottom: 1px solid var(--brush-line);
  text-align: left;
}

.ritual-detail {
  color: var(--ink);
}

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

.ritual-detail summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 720;
  letter-spacing: 0.1em;
}

.ritual-detail summary::-webkit-details-marker {
  display: none;
}

.ritual-detail summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 1px solid var(--seal);
  border-bottom: 1px solid var(--seal);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms var(--ease);
}

.ritual-detail[open] summary::after {
  transform: rotate(225deg) translateY(-1px);
}

.ritual-detail > p {
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-family: var(--font-body);
  line-height: 1.9;
}

.compact-flow {
  margin: 0 0 26px;
  border-top-color: oklch(24% 0.024 122 / 0.12);
}

.compact-flow li {
  grid-template-columns: 76px 1fr;
  gap: 18px;
  padding: 13px 0;
}

.compact-flow p {
  margin: 0;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .hero {
    min-height: 84svh;
  }

  .feel-section {
    gap: 28px;
  }

  .method-tile {
    min-height: 210px;
  }

  .reserve-disclosures {
    margin-top: 34px;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 78svh;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .method-section .section-copy.narrow {
    margin-bottom: 22px;
  }

  .method-tile {
    min-height: 196px;
  }

  .final-note {
    margin-bottom: 22px;
  }

  .ritual-detail summary {
    min-height: 54px;
    font-size: 0.86rem;
  }

  .compact-flow li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* Hero copy and final seal refinement */
.hero-lede .desktop-break {
  display: block;
}

.final-inner::before {
  display: none;
}

.final-mark {
  width: 78px;
  height: 78px;
  margin-bottom: 24px;
  padding: 0;
  border: 1px solid oklch(24% 0.024 122 / 0.12);
  background: oklch(98% 0.006 100 / 0.86);
  box-shadow: 0 0 0 8px oklch(100% 0 0 / 0.22);
  object-fit: contain;
}

@media (max-width: 620px) {
  .hero-lede .desktop-break {
    display: none;
  }

  .final-mark {
    width: 72px;
    height: 72px;
    margin-bottom: 22px;
  }
}

/* Six-point refinement pass */
.site-nav {
  gap: clamp(18px, 2.1vw, 34px);
}

.brand-mark {
  width: 38px;
  height: 38px;
}

.hero-logo {
  width: 108px;
  height: 108px;
}

.hero-position {
  max-width: 58ch;
  margin: 0 auto 14px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.06rem;
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: 0.025em;
}

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

.video-stage {
  background: oklch(91% 0.018 112);
}

.video-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  overflow: hidden;
}

.video-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.012);
  transition: transform 520ms var(--ease), filter 240ms ease;
}

.video-cover-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 44%, oklch(98% 0.006 100 / 0.1), transparent 16rem),
    linear-gradient(180deg, oklch(18% 0.024 122 / 0.08), transparent 48%, oklch(18% 0.024 122 / 0.16));
}

.video-cover:hover img {
  transform: scale(1.03);
  filter: saturate(1.04) contrast(1.02);
}

.video-play-seal {
  position: relative;
  z-index: 2;
  width: clamp(74px, 8vw, 104px);
  height: clamp(74px, 8vw, 104px);
  display: grid;
  place-items: center;
  border: 1px solid oklch(24% 0.024 122 / 0.24);
  border-radius: 50%;
  background: oklch(97% 0.008 102 / 0.8);
  box-shadow: 0 0 0 9px oklch(100% 0 0 / 0.16);
  backdrop-filter: blur(3px);
}

.video-play-seal span {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  font-weight: 600;
  line-height: 1;
}

.video-cover-copy {
  position: absolute;
  left: clamp(20px, 4vw, 42px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 2;
  display: grid;
  gap: 5px;
  color: var(--ink);
  text-align: left;
}

.video-cover-copy > span {
  color: var(--seal);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.1em;
}

.video-cover-copy strong {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 2.25rem);
  font-weight: 600;
  letter-spacing: 0.025em;
}

.video-stage.is-loaded .video-cover,
.video-stage.is-loaded .video-fallback-art {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 360ms var(--ease), visibility 360ms var(--ease);
}

.video-stage.is-loaded::after {
  opacity: 0;
}

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

.method-tile {
  min-height: 214px;
  padding: 31px 28px 25px;
  gap: 14px;
}

.method-tile h3 {
  margin-bottom: 7px;
}

.method-tile p {
  margin-bottom: 0;
}

.final-mark {
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  box-shadow: 0 0 0 6px oklch(100% 0 0 / 0.18);
}

.fit-lines {
  width: min(720px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0 auto 30px;
  border-top: 1px solid var(--brush-line);
  border-bottom: 1px solid var(--brush-line);
}

.fit-lines p {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 18px 22px;
  color: var(--ink-soft);
  text-align: left;
  line-height: 1.78;
}

.fit-lines p + p {
  border-left: 1px solid var(--line);
}

.fit-lines strong {
  color: var(--seal);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

@media (max-width: 900px) {
  .brand-mark {
    width: 36px;
    height: 36px;
  }

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

  .method-tile {
    min-height: 0;
    padding: 27px 24px 23px;
  }
}

@media (max-width: 620px) {
  .hero-logo {
    width: 92px;
    height: 92px;
  }

  .hero-position {
    font-size: 0.98rem;
    line-height: 1.74;
  }

  .video-cover-copy {
    left: 18px;
    right: 18px;
    bottom: 16px;
  }

  .video-cover-copy strong {
    font-size: 1.26rem;
  }

  .video-play-seal {
    width: 70px;
    height: 70px;
  }

  .method-tile {
    padding: 24px 18px 21px;
  }

  .method-tile p {
    line-height: 1.72;
  }

  .final-mark {
    width: 54px;
    height: 54px;
  }

  .fit-lines {
    grid-template-columns: 1fr;
    margin-bottom: 24px;
  }

  .fit-lines p {
    padding: 16px 0;
    text-align: center;
  }

  .fit-lines p + p {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* Ambient audio replacing the visible listening block */
.ambient-player {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 30px);
  z-index: 640;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 10px, 0);
  transition: opacity 260ms var(--ease), transform 260ms var(--ease), visibility 260ms var(--ease);
}

.ambient-player.is-ready {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
}

.ambient-frame,
.ambient-audio {
  position: absolute;
  width: 1px;
  height: 1px;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.ambient-toggle {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px 0 13px;
  border: 1px solid oklch(32% 0.05 78 / 0.26);
  border-radius: 999px;
  background:
    linear-gradient(180deg, oklch(98% 0.006 100 / 0.9), oklch(92% 0.018 96 / 0.82));
  color: var(--ink);
  box-shadow: 0 10px 26px oklch(24% 0.024 122 / 0.1);
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 720;
  letter-spacing: 0.06em;
  white-space: nowrap;
  backdrop-filter: blur(12px);
  transition: transform 180ms var(--ease), border-color 180ms ease, background 180ms ease;
}

.ambient-toggle:hover {
  border-color: oklch(44% 0.086 34 / 0.42);
  transform: translateY(-1px);
}

.ambient-toggle.is-pressing {
  transform: scale(0.985);
}

.ambient-pulse {
  position: relative;
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border: 1px solid var(--seal);
  border-radius: 50%;
  background: transparent;
}

.ambient-pulse::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid oklch(44% 0.086 34 / 0.28);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.74);
}

.ambient-player.is-playing .ambient-pulse {
  background: var(--seal);
}

.ambient-player.is-playing .ambient-pulse::after {
  animation: ambient-breath 1.8s var(--ease) infinite;
}

button.tile-link {
  background: transparent;
  cursor: pointer;
  font-family: var(--font-ui);
}

.method-section {
  padding-top: clamp(72px, 9vw, 118px);
}

@keyframes ambient-breath {
  0% {
    opacity: 0;
    transform: scale(0.72);
  }

  42% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scale(1.28);
  }
}

@media (max-width: 620px) {
  .ambient-player {
    right: 14px;
    bottom: 14px;
  }

  .ambient-toggle {
    min-height: 40px;
    padding-inline: 12px 13px;
    font-size: 0.76rem;
    letter-spacing: 0.04em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-player,
  .ambient-toggle,
  .ambient-pulse::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Current simplified homepage: hero + entry paths only */
.hero {
  min-height: 84svh;
  padding-bottom: clamp(78px, 9vw, 126px);
}

.hero-inner::after {
  bottom: -30px;
}

.method-section {
  padding-top: clamp(72px, 8vw, 108px);
  padding-bottom: clamp(88px, 9vw, 132px);
}

.site-footer {
  margin-top: 0;
}

@media (max-width: 620px) {
  .hero {
    min-height: 76svh;
    padding-bottom: 64px;
  }

  .method-section {
    padding-top: 54px;
    padding-bottom: 78px;
  }
}

/* Hero typography refinement */
.hero-inner {
  width: min(1020px, 100%);
}

.hero-logo {
  margin-bottom: clamp(28px, 3vw, 38px);
}

.hero-kicker {
  margin-bottom: clamp(24px, 3vw, 34px);
  color: oklch(48% 0.075 82);
  font-size: clamp(0.88rem, 1vw, 1rem);
  letter-spacing: 0.08em;
}

.hero h1 {
  max-width: min(1010px, 100%);
  margin-bottom: clamp(38px, 4.4vw, 58px);
  font-size: clamp(4.35rem, 6.5vw, 5.95rem);
  line-height: 1.08;
  letter-spacing: 0.04em;
}

.hero-lede {
  max-width: 34em;
  margin: 0 auto clamp(34px, 4vw, 48px);
  color: oklch(28% 0.024 122 / 0.8);
  font-size: clamp(1.06rem, 1.35vw, 1.24rem);
  line-height: 2.05;
  letter-spacing: 0.05em;
}

.hero-position {
  display: none;
}

@media (max-width: 900px) {
  .hero h1 {
    max-width: 8.4em;
    font-size: clamp(3.08rem, 12vw, 4.18rem);
    line-height: 1.18;
    letter-spacing: 0.03em;
  }

  .hero-lede {
    max-width: 24em;
    font-size: 1.02rem;
    line-height: 2;
  }
}

@media (max-width: 620px) {
  .hero-kicker {
    margin-bottom: 22px;
    font-size: 0.82rem;
  }

  .hero h1 {
    margin-bottom: 30px;
    font-size: clamp(2.68rem, 12.2vw, 3.24rem);
  }

  .hero-lede {
    max-width: 20em;
    margin-bottom: 30px;
    font-size: 0.98rem;
    line-height: 1.92;
    letter-spacing: 0.035em;
  }

  .ambient-toggle {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    justify-content: center;
    padding: 0;
  }

  .ambient-toggle .lang {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .ambient-pulse {
    width: 13px;
    height: 13px;
  }
}

/* Booking CTA refinement */
.btn.booking-cta {
  position: relative;
  min-height: 52px;
  padding: 0 28px 0 22px;
  border: 1px solid oklch(34% 0.052 78 / 0.32);
  border-radius: var(--ritual-radius);
  background:
    linear-gradient(180deg, oklch(99% 0.006 100 / 0.74), oklch(92% 0.018 96 / 0.52));
  color: var(--ink);
  box-shadow:
    inset 0 0 0 1px oklch(100% 0 0 / 0.32),
    0 10px 24px oklch(24% 0.024 122 / 0.055);
  font-family: var(--font-ui);
  font-weight: 760;
  letter-spacing: 0.12em;
}

.btn.booking-cta::before,
.btn.booking-cta::after {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
}

.btn.booking-cta::before {
  width: 15px;
  height: 15px;
  margin-right: 1px;
  border: 1px solid oklch(44% 0.086 34 / 0.42);
  border-radius: 50%;
  background: radial-gradient(circle, oklch(44% 0.086 34 / 0.22) 0 30%, transparent 34%);
}

.btn.booking-cta::after {
  width: 5px;
  height: 5px;
  margin-left: 8px;
  background: var(--seal);
  transform: rotate(45deg);
}

.btn.booking-cta:hover {
  border-color: oklch(44% 0.086 34 / 0.5);
  background:
    linear-gradient(180deg, oklch(100% 0 0 / 0.84), oklch(94% 0.019 94 / 0.62));
  color: var(--seal);
}

.btn.booking-cta.is-pressing {
  transform: scale(0.985);
}

@media (max-width: 620px) {
  .btn.booking-cta {
    min-height: 48px;
    padding: 0 22px 0 18px;
    letter-spacing: 0.08em;
  }
}

.header-cta,
.site-nav .mobile-nav-cta {
  border: 1px solid oklch(34% 0.052 78 / 0.32);
  background:
    linear-gradient(180deg, oklch(99% 0.006 100 / 0.74), oklch(93% 0.016 96 / 0.58));
  color: var(--ink);
  box-shadow: inset 0 0 0 1px oklch(100% 0 0 / 0.28);
}

.header-cta::after,
.site-nav .mobile-nav-cta::after {
  width: 5px;
  height: 5px;
  margin-left: 9px;
  background: var(--seal);
  transform: rotate(45deg);
}

.header-cta:hover,
.site-nav .mobile-nav-cta:hover {
  border-color: oklch(44% 0.086 34 / 0.48);
  background:
    linear-gradient(180deg, oklch(100% 0 0 / 0.84), oklch(94% 0.019 94 / 0.64));
  color: var(--seal);
}

/* External access links */
.method-section {
  padding-top: clamp(58px, 7vw, 92px);
}

.access-grid {
  width: min(1040px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 auto;
  border-top: 1px solid var(--brush-line);
  border-bottom: 1px solid var(--brush-line);
}

.access-link {
  position: relative;
  min-height: 174px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 28px 26px 29px;
  color: var(--ink);
  text-align: center;
  overflow: hidden;
}

.access-link + .access-link {
  border-left: 1px solid var(--line);
}

.access-link::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid oklch(44% 0.086 34 / 0);
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 220ms var(--ease), transform 220ms var(--ease), border-color 220ms ease;
}

.access-link:hover::before {
  border-color: oklch(44% 0.086 34 / 0.26);
  opacity: 1;
  transform: scale(1);
}

.access-mark {
  color: var(--seal);
  font-family: var(--font-ui);
  font-size: 0.84rem;
  font-weight: 760;
  letter-spacing: 0.1em;
}

.access-link strong {
  font-family: var(--font-display);
  font-size: clamp(1.58rem, 2.05vw, 2.15rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.035em;
}

.access-link > span:last-child {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.8;
}

.hero-lede {
  margin-bottom: 0;
}

.quiz-section {
  position: relative;
  width: min(1060px, calc(100% - 10vw));
  padding-top: clamp(34px, 5vw, 72px);
  padding-bottom: clamp(92px, 10vw, 142px);
}

.quiz-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(620px, 82vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--brush-line), transparent);
}

.quiz-heading {
  width: min(760px, 100%);
  margin: 0 auto clamp(36px, 5vw, 58px);
  text-align: center;
}

.quiz-heading h2 {
  margin: 0 auto 20px;
  color: var(--ink);
  font-family: var(--font-calligraphy);
  font-size: clamp(2.8rem, 5.4vw, 5.1rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.035em;
}

.quiz-heading p:not(.section-kicker) {
  max-width: 42em;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.22vw, 1.12rem);
  line-height: 1.96;
  letter-spacing: 0.025em;
}

.quiz-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--brush-line);
  border-bottom: 1px solid var(--brush-line);
}

.quiz-field {
  min-width: 0;
  margin: 0;
  padding: clamp(24px, 3vw, 34px);
  border: 0;
  border-bottom: 1px solid var(--line);
}

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

.quiz-field:nth-last-child(2),
.quiz-field:nth-last-child(3) {
  border-bottom: 0;
}

.quiz-field legend {
  display: table;
  max-width: 100%;
  margin-bottom: 18px;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.98rem;
  font-weight: 760;
  letter-spacing: 0.07em;
}

.quiz-options {
  display: grid;
  gap: 10px;
}

.quiz-options label {
  position: relative;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px 9px 0;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.98rem;
  line-height: 1.62;
  transition: color 180ms ease, transform 180ms var(--ease);
}

.quiz-options label:hover {
  color: var(--ink);
  transform: translateX(2px);
}

.quiz-options input {
  width: 16px;
  height: 16px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--seal);
}

.quiz-options label:has(input:checked) {
  color: var(--ink);
}

.quiz-submit {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: clamp(26px, 4vw, 42px);
}

.quiz-result {
  position: relative;
  width: min(780px, 100%);
  margin: clamp(34px, 5vw, 56px) auto 0;
  padding: clamp(26px, 4vw, 40px) clamp(24px, 4vw, 46px);
  border-top: 1px solid var(--brush-line);
  border-bottom: 1px solid var(--brush-line);
  color: var(--ink);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, oklch(100% 0 0 / 0.52), transparent 18rem),
    linear-gradient(180deg, oklch(98% 0.006 100 / 0.42), oklch(92% 0.018 118 / 0.26));
}

.quiz-result[hidden] {
  display: none;
}

.quiz-result.is-visible {
  animation: result-enter 560ms var(--ease) both;
}

.quiz-seal {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid oklch(44% 0.086 34 / 0.38);
  border-radius: 50%;
  color: var(--seal);
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.12em;
}

.quiz-result h3 {
  margin: 0 0 14px;
  font-family: var(--font-calligraphy);
  font-size: clamp(2.35rem, 4.2vw, 4.2rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.035em;
}

.quiz-result p {
  max-width: 44em;
  margin: 0 auto 26px;
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.92;
  letter-spacing: 0.025em;
}

.quiz-result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.quiz-result-actions .btn.secondary {
  border-radius: var(--ritual-radius);
}

@media (max-width: 620px) {
  .access-grid {
    grid-template-columns: 1fr;
  }

  .access-link {
    min-height: 148px;
    padding: 25px 20px;
  }

  .access-link + .access-link {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .quiz-section {
    width: calc(100% - 36px);
    padding-top: 24px;
    padding-bottom: 78px;
  }

  .quiz-heading {
    text-align: left;
  }

  .quiz-heading h2 {
    font-size: clamp(2.35rem, 12vw, 3.15rem);
  }

  .quiz-panel {
    grid-template-columns: 1fr;
  }

  .quiz-field,
  .quiz-field:nth-child(odd),
  .quiz-field:nth-last-child(2),
  .quiz-field:nth-last-child(3) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quiz-submit {
    width: 100%;
    margin-top: 24px;
  }

  .quiz-result {
    text-align: left;
  }

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

@media (min-width: 621px) and (max-width: 860px) {
  .access-grid {
    width: min(620px, 100%);
    grid-template-columns: 1fr;
  }

  .access-link + .access-link {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .quiz-panel {
    grid-template-columns: 1fr;
  }

  .quiz-field,
  .quiz-field:nth-child(odd),
  .quiz-field:nth-last-child(2),
  .quiz-field:nth-last-child(3) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

/* Quiz selected direction: scroll-question layout */
.quiz-scroll-panel {
  width: min(1040px, 100%);
  grid-template-columns: 174px minmax(0, 1fr);
  align-items: stretch;
  margin: 0 auto;
  border-top: 1px solid var(--brush-line);
  border-bottom: 1px solid var(--brush-line);
}

.quiz-step-nav {
  display: grid;
  align-content: stretch;
  border-right: 1px solid var(--line);
}

.quiz-step-tab {
  min-height: 88px;
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 16px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-family: var(--font-ui);
  transition: background 180ms ease, color 180ms ease;
}

.quiz-step-tab:last-child {
  border-bottom: 0;
}

.quiz-step-tab strong {
  font-family: var(--font-calligraphy);
  font-size: clamp(1.44rem, 2vw, 1.72rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
}

.quiz-step-tab span:last-child {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.quiz-step-tab.is-active,
.quiz-step-tab:hover {
  color: var(--seal);
  background: oklch(100% 0 0 / 0.22);
}

.quiz-step-tab.is-complete:not(.is-active) {
  color: var(--ink);
}

.quiz-scroll-paper {
  position: relative;
  min-height: 438px;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: clamp(30px, 5vw, 56px);
  background:
    radial-gradient(circle at 76% 46%, oklch(100% 0 0 / 0.62), transparent 18rem),
    linear-gradient(180deg, oklch(98% 0.006 102 / 0.42), transparent);
}

.quiz-scroll-paper::before {
  content: "";
  position: absolute;
  top: clamp(24px, 3vw, 38px);
  right: clamp(28px, 4vw, 58px);
  left: clamp(28px, 4vw, 58px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brush-line), transparent);
}

.quiz-scroll-panel .quiz-field {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(280px, 1fr);
  gap: clamp(28px, 4.6vw, 58px);
  align-content: center;
  align-items: center;
  padding: 0;
  border: 0;
}

.quiz-scroll-panel .quiz-field[hidden] {
  display: none;
}

.quiz-scroll-panel .quiz-field legend {
  display: block;
  max-width: 8em;
  margin: 0 0 18px;
  color: var(--ink);
  font-family: var(--font-calligraphy);
  font-size: clamp(2.72rem, 5.1vw, 5rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: 0.04em;
}

.quiz-step-note {
  max-width: 29em;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.92;
  letter-spacing: 0.02em;
}

.quiz-scroll-panel .quiz-options {
  gap: 0;
  border-top: 1px solid var(--line);
}

.quiz-scroll-panel .quiz-options label {
  min-height: 58px;
  padding: 12px 10px 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}

.quiz-scroll-panel .quiz-options label:hover {
  transform: translateX(4px);
}

.quiz-scroll-panel .quiz-options input {
  width: 15px;
  height: 15px;
}

.quiz-scroll-panel .quiz-field.needs-answer legend {
  color: var(--seal);
}

.quiz-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding-top: clamp(26px, 4vw, 42px);
}

.quiz-controls .btn {
  min-width: 132px;
}

.quiz-controls .btn[hidden] {
  display: none;
}

.quiz-controls .quiz-next,
.quiz-controls .quiz-submit {
  justify-self: end;
  margin-top: 0;
}

.quiz-controls .quiz-prev {
  justify-self: start;
}

.quiz-progress {
  color: var(--ink-soft);
  font-family: var(--font-ui);
  font-size: 0.84rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.quiz-result {
  margin-top: clamp(42px, 6vw, 64px);
}

@media (max-width: 900px) {
  .quiz-scroll-panel {
    grid-template-columns: 1fr;
  }

  .quiz-step-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quiz-step-tab {
    min-height: 68px;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .quiz-step-tab:last-child {
    border-right: 0;
  }

  .quiz-step-tab span:last-child {
    display: none;
  }

  .quiz-scroll-panel .quiz-field {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .quiz-scroll-panel .quiz-field legend {
    max-width: 9em;
  }
}

@media (max-width: 620px) {
  .quiz-scroll-paper {
    min-height: 0;
    padding: 28px 18px 22px;
  }

  .quiz-scroll-paper::before {
    display: none;
  }

  .quiz-step-tab {
    min-height: 56px;
    padding: 12px 6px;
  }

  .quiz-step-tab strong {
    font-size: 1.22rem;
  }

  .quiz-scroll-panel .quiz-field legend {
    font-size: clamp(2.26rem, 11.2vw, 3.12rem);
  }

  .quiz-controls {
    grid-template-columns: 1fr 1fr;
  }

  .quiz-progress {
    grid-column: 1 / -1;
    grid-row: 1;
    text-align: center;
  }

  .quiz-controls .btn {
    width: 100%;
    min-width: 0;
  }

  .quiz-controls .quiz-next,
  .quiz-controls .quiz-submit {
    grid-column: 2;
    justify-self: stretch;
  }

  .quiz-controls .quiz-prev {
    grid-column: 1;
    justify-self: stretch;
  }
}

/* Chosen entry placement: version one, attached to the first viewport */
.hero {
  min-height: 76svh;
  padding-bottom: clamp(92px, 8vw, 126px);
}

.hero-inner {
  transform: translateY(clamp(-18px, -1.6vw, -8px));
}

.method-section {
  position: relative;
  z-index: 4;
  width: min(1040px, calc(100% - 10vw));
  margin-top: clamp(-132px, -8.4vw, -84px);
  padding-top: 0;
  padding-bottom: clamp(74px, 7vw, 112px);
}

.method-section .access-grid {
  background:
    radial-gradient(circle at 50% 0%, oklch(100% 0 0 / 0.52), transparent 18rem),
    linear-gradient(180deg, oklch(98% 0.006 102 / 0.44), oklch(90% 0.022 132 / 0.22));
}

.method-section .access-link {
  min-height: clamp(142px, 11vw, 164px);
  padding-block: clamp(22px, 2.2vw, 28px);
}

.quiz-section {
  padding-top: clamp(44px, 6vw, 86px);
}

@media (max-width: 900px) {
  .hero {
    min-height: 70svh;
    padding-bottom: 92px;
  }

  .method-section {
    width: min(620px, calc(100% - 36px));
    margin-top: -58px;
    padding-bottom: 68px;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 68svh;
    padding-bottom: 76px;
  }

  .hero-inner {
    transform: translateY(-8px);
  }

  .method-section {
    margin-top: -44px;
    padding-bottom: 56px;
  }

  .method-section .access-link {
    min-height: 132px;
  }

  .quiz-section {
    padding-top: 34px;
  }
}

/* Quiz typography and result modal refinement */
body.modal-open {
  overflow: hidden;
}

.quiz-heading {
  width: min(1040px, 100%);
  margin-bottom: clamp(32px, 4.2vw, 50px);
}

.quiz-heading h2 {
  max-width: none;
  font-size: clamp(2.35rem, 3.9vw, 3.85rem);
  line-height: 1.1;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.quiz-heading h2 .quiz-title-part {
  white-space: nowrap;
}

.quiz-heading p:not(.section-kicker) {
  max-width: 56em;
}

.quiz-scroll-panel {
  width: min(1080px, 100%);
}

.quiz-scroll-paper {
  min-height: 400px;
  padding: clamp(28px, 4.2vw, 48px);
}

.quiz-scroll-panel .quiz-field {
  grid-template-columns: minmax(430px, 1.08fr) minmax(300px, 1fr);
  gap: clamp(28px, 3.2vw, 42px);
}

.quiz-scroll-panel .quiz-field legend {
  max-width: none;
  font-size: clamp(2rem, 2.5vw, 2.48rem);
  line-height: 1.16;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.quiz-step-note {
  max-width: 38em;
}

.quiz-step-note .note-line {
  white-space: nowrap;
}

.quiz-result-modal {
  position: fixed;
  inset: 0;
  z-index: 860;
  display: grid;
  place-items: center;
  padding: clamp(20px, 5vw, 64px);
}

.quiz-result-modal[hidden] {
  display: none;
}

.quiz-result-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 50% 35%, oklch(96% 0.012 104 / 0.34), transparent 28rem),
    oklch(16% 0.02 124 / 0.42);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.quiz-result {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(78vh, 720px);
  margin: 0;
  overflow: auto;
  padding: clamp(30px, 4.8vw, 52px);
  border: 1px solid var(--brush-line);
  color: var(--ink);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, oklch(100% 0 0 / 0.62), transparent 18rem),
    linear-gradient(180deg, oklch(98% 0.006 100 / 0.94), oklch(92% 0.018 118 / 0.9));
  opacity: 0;
  transform: translateY(12px) scale(0.985);
}

.quiz-result.is-visible {
  animation: result-modal-enter 420ms var(--ease) both;
}

.quiz-result-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: oklch(100% 0 0 / 0.2);
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.quiz-result-close:hover {
  border-color: var(--seal);
  color: var(--seal);
  background: oklch(100% 0 0 / 0.38);
}

@keyframes result-modal-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 900px) {
  .quiz-heading h2 {
    font-size: clamp(2.3rem, 6.2vw, 3.25rem);
  }

  .quiz-scroll-panel .quiz-field {
    grid-template-columns: 1fr;
  }

  .quiz-scroll-panel .quiz-field legend {
    font-size: clamp(2.15rem, 5.8vw, 3rem);
  }
}

@media (max-width: 760px) {
  .quiz-heading h2 {
    white-space: normal;
  }

  .quiz-heading h2 .quiz-title-part {
    display: block;
  }
}

@media (max-width: 620px) {
  .quiz-heading {
    text-align: center;
  }

  .quiz-heading h2 {
    font-size: clamp(2.08rem, 8.8vw, 2.84rem);
    line-height: 1.18;
  }

  .quiz-scroll-panel .quiz-field legend {
    font-size: clamp(1.95rem, 8.2vw, 2.55rem);
    white-space: normal;
  }

  .quiz-step-note .note-line {
    display: block;
  }

  .quiz-result {
    text-align: center;
  }

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

/* Mobile header, quiz entry, and quiz controls refinement */
.method-section .access-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quiz-progress {
  display: none !important;
}

.quiz-controls .btn {
  white-space: nowrap;
}

@media (max-width: 1120px) and (min-width: 861px) {
  .method-section .access-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .access-link {
    padding-inline: 18px;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 10px 18px;
  }

  .brand {
    min-width: 0;
    max-width: 100%;
  }

  .menu-toggle {
    order: initial;
    justify-self: end;
  }

  .header-actions {
    display: none;
  }

  .site-nav {
    top: var(--header-h);
  }
}

@media (max-width: 860px) {
  .method-section .access-grid {
    grid-template-columns: 1fr;
  }

  .access-link + .access-link {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  :root {
    --header-h: 66px;
  }

  .site-header {
    min-height: var(--header-h);
    padding: 10px 16px;
    gap: 10px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: clamp(1.25rem, 6vw, 1.55rem);
    letter-spacing: 0.08em;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    color: var(--ink);
    background: oklch(100% 0 0 / 0.16);
  }

  .quiz-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-top: 26px;
  }

  .quiz-controls:has(.quiz-prev[hidden]) {
    grid-template-columns: 1fr;
  }

  .quiz-controls .btn {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    padding: 0 18px;
    font-size: 1rem;
    letter-spacing: 0.04em;
    line-height: 1;
    white-space: nowrap;
  }

  .quiz-controls .quiz-next,
  .quiz-controls .quiz-submit {
    grid-column: 2;
    justify-self: stretch;
  }

  .quiz-controls .quiz-prev {
    grid-column: 1;
    justify-self: stretch;
  }

  .quiz-controls:has(.quiz-prev[hidden]) .quiz-next {
    grid-column: 1;
    width: min(260px, 100%);
    justify-self: center;
  }
}

/* Final header and deferred quiz behavior */
.site-header {
  grid-template-columns: minmax(0, 1fr) auto;
}

.header-actions {
  display: flex !important;
  justify-self: end;
}

.language-switch {
  display: inline-flex !important;
}

.header-cta,
.menu-toggle,
.site-nav {
  display: none !important;
}

.quiz-section:not(.is-open) {
  display: none;
}

.quiz-section.is-open {
  display: block;
}

@media (max-width: 620px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 66px;
  }

  .header-actions {
    min-width: max-content;
  }

  .language-switch button {
    min-width: 44px;
  }
}
