:root {
  color-scheme: dark;
  --page: #020202;
  --ink: #f3f0e9;
  --muted: #aaa69d;
  --faint: #716e67;
  --gold: #b59560;
  --gold-bright: #d0af73;
  --line: rgba(239, 233, 220, 0.18);
  --line-strong: rgba(239, 233, 220, 0.42);
  --panel: rgba(11, 11, 10, 0.86);
  --sans: Inter, "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;
  --type-title: clamp(28px, 2.65vw, 40px);
  --type-orb-title: clamp(23px, 1.9vw, 30px);
  --type-subtitle: 12px;
  --type-caption: var(--type-subtitle);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: grid;
  height: 82px;
  padding: 0 clamp(24px, 4vw, 72px);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0));
  transition: height 240ms ease, background 240ms ease, border-color 240ms ease;
}

.site-header.is-scrolled {
  height: 68px;
  border-bottom: 1px solid rgba(239, 233, 220, 0.1);
  background: rgba(2, 2, 2, 0.82);
  backdrop-filter: blur(16px);
}

.site-brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 12px;
}

.site-brand img {
  display: block;
  width: 55px;
  height: auto;
  object-fit: contain;
}

.site-brand span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-brand b {
  font-size: var(--type-subtitle);
  font-weight: 500;
  letter-spacing: 0.22em;
}

.site-brand small {
  color: rgba(243, 240, 233, 0.46);
  font-size: var(--type-caption);
  letter-spacing: 0.2em;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.header-nav a {
  position: relative;
  color: rgba(243, 240, 233, 0.66);
  font-size: var(--type-subtitle);
  letter-spacing: 0.1em;
  transition: color 180ms ease;
}

.header-nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

.header-nav a:hover {
  color: #fff;
}

.header-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

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

.language-toggle {
  display: inline-flex;
  min-width: 64px;
  min-height: 38px;
  padding: 0 12px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(243, 240, 233, 0.16);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  color: rgba(243, 240, 233, 0.34);
  font-size: var(--type-caption);
  letter-spacing: 0.04em;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.language-toggle:hover {
  border-color: rgba(243, 240, 233, 0.5);
  background: rgba(243, 240, 233, 0.05);
}

.language-toggle i {
  color: rgba(243, 240, 233, 0.2);
  font-style: normal;
}

.language-toggle span {
  transition: color 180ms ease;
}

html[lang="zh-CN"] .language-toggle [data-language-option="zh-CN"],
html[lang="en"] .language-toggle [data-language-option="en"] {
  color: #eee9df;
}

.header-login {
  justify-self: end;
  min-width: 64px;
  min-height: 38px;
  padding: 0 17px;
  border: 1px solid rgba(243, 240, 233, 0.34);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  color: #e8e4dc;
  font-size: var(--type-subtitle);
  letter-spacing: 0.12em;
  transition: border-color 180ms ease, background 180ms ease;
}

.header-login:hover {
  border-color: rgba(243, 240, 233, 0.78);
  background: rgba(243, 240, 233, 0.07);
}

.header-login[data-authenticated="true"] {
  position: relative;
  flex: 0 0 38px;
  width: 38px;
  min-width: 38px;
  max-width: 38px;
  height: 38px;
  min-height: 38px;
  max-height: 38px;
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border-radius: 50%;
  color: transparent;
  font-size: 0;
}

.header-login[data-authenticated="true"]::before {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(243, 240, 233, 0.82);
  border-radius: 50%;
  content: "";
  transform: translateX(-50%);
}

.header-login[data-authenticated="true"]::after {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 17px;
  height: 9px;
  border: 1px solid rgba(243, 240, 233, 0.82);
  border-bottom: 0;
  border-radius: 17px 17px 0 0;
  content: "";
  transform: translateX(-50%);
}

.header-login:focus-visible,
.language-toggle:focus-visible,
.primary-action:focus-visible,
.site-footer button:focus-visible,
dialog button:focus-visible,
dialog input:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.9);
  outline-offset: 4px;
}

.journey-index button:focus-visible {
  outline: 0;
}

.journey-index button:focus-visible::before {
  border-color: rgba(243, 240, 233, 0.82);
  box-shadow: 0 0 0 4px rgba(243, 240, 233, 0.08);
}

.hero-section {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.04) brightness(0.82) saturate(0.78);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, transparent 20%, transparent 38%, rgba(0, 0, 0, 0.42) 52%, rgba(0, 0, 0, 0.78) 72%, #020202 100%),
    radial-gradient(circle at center, transparent 25%, rgba(0, 0, 0, 0.25) 78%, rgba(0, 0, 0, 0.62) 100%);
  pointer-events: none;
}

.hero-copy {
  position: absolute;
  right: 22px;
  bottom: clamp(76px, 8.8vh, 106px);
  left: 22px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-shadow: 0 4px 34px rgba(0, 0, 0, 0.92);
}

.hero-copy::before {
  position: absolute;
  right: -22px;
  bottom: -106px;
  left: -22px;
  z-index: -1;
  height: min(68vh, 680px);
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.18) 18%,
    rgba(0, 0, 0, 0.58) 48%,
    rgba(0, 0, 0, 0.92) 78%,
    #020202 100%
  );
  content: "";
  pointer-events: none;
}

.hero-kicker {
  margin: 0 0 14px;
  color: rgba(210, 177, 117, 0.78);
  font-size: var(--type-caption);
  font-weight: 500;
  letter-spacing: 0.34em;
}

.hero-copy h1 {
  max-width: 1100px;
  margin: 0;
  color: #f5f2eb;
  font-size: var(--type-title);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: 0.025em;
}

.primary-action {
  position: relative;
  display: inline-flex;
  width: 208px;
  height: 50px;
  margin-top: clamp(22px, 3.1vh, 34px);
  padding: 0 23px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border: 1px solid rgba(243, 240, 233, 0.62);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  color: #f4f1eb;
  font-size: var(--type-subtitle);
  letter-spacing: 0.18em;
  backdrop-filter: blur(8px);
  transition: color 200ms ease, background 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.primary-action i {
  position: relative;
  width: 27px;
  height: 1px;
  background: currentColor;
  transition: transform 200ms ease;
}

.primary-action i::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.primary-action:hover {
  border-color: #f0e7d7;
  background: #eee7da;
  color: #0a0908;
  transform: translateY(-2px);
}

.primary-action:hover i {
  transform: translateX(4px);
}

.primary-action:disabled {
  cursor: wait;
  opacity: 0.64;
}

.conversation-cooldown {
  display: grid;
  min-width: 330px;
  margin-top: 25px;
  justify-items: center;
  gap: 6px;
}

.conversation-cooldown > span {
  color: rgba(243, 240, 233, 0.52);
  font-size: var(--type-caption);
  letter-spacing: 0.24em;
}

.conversation-cooldown time {
  color: #f4f1eb;
  font-size: clamp(28px, 2.2vw, 38px);
  font-variant-numeric: tabular-nums;
  font-weight: 300;
  letter-spacing: 0.14em;
}

.conversation-cooldown p {
  margin: 0;
  color: rgba(243, 240, 233, 0.42);
  font-size: var(--type-caption);
}

.scroll-cue {
  position: absolute;
  bottom: 21px;
  left: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
}

.scroll-cue small {
  color: rgba(243, 240, 233, 0.4);
  font-size: var(--type-caption);
  letter-spacing: 0.18em;
}

.scroll-cue span {
  display: block;
  width: 10px;
  height: 10px;
  border-right: 1px solid rgba(243, 240, 233, 0.64);
  border-bottom: 1px solid rgba(243, 240, 233, 0.64);
  animation: scroll-cue 2.2s ease-in-out infinite;
  transform: rotate(45deg);
}

.journey-section {
  position: relative;
  height: 360svh;
  border-top: 0;
  background: #000;
}

.journey-sticky {
  position: sticky;
  top: 0;
  display: flex;
  height: 100svh;
  min-height: 700px;
  padding: 90px clamp(24px, 5vw, 84px) 34px;
  flex-direction: column;
  overflow: hidden;
  background: #000;
}

.section-heading {
  position: relative;
  z-index: 5;
}

.section-heading > p {
  margin: 0 0 12px;
  color: rgba(197, 164, 107, 0.72);
  font-size: var(--type-caption);
  font-weight: 500;
  letter-spacing: 0.32em;
}

.section-heading h2 {
  margin: 0;
  color: #f1eee7;
  font-size: var(--type-title);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.section-heading > span {
  display: block;
  margin-top: 11px;
  color: rgba(243, 240, 233, 0.48);
  font-size: var(--type-subtitle);
  line-height: 1.65;
  letter-spacing: 0.03em;
}

.journey-heading {
  flex: 0 0 auto;
  text-align: center;
}

.journey-experience {
  --journey-orb-size: clamp(320px, 25.76vw, 499px);
  position: relative;
  display: grid;
  width: min(1260px, 100%);
  min-height: 0;
  margin: 23px auto 0;
  flex: 1 1 auto;
  grid-template-columns: clamp(160px, 14vw, 210px) minmax(0, 1fr) clamp(160px, 14vw, 210px);
  align-items: center;
}

.journey-index {
  position: relative;
  z-index: 8;
  display: grid;
  width: 100%;
  gap: 22px;
}

.journey-index::before {
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 14px;
  width: 1px;
  background: rgba(239, 233, 220, 0.12);
  content: "";
}

.journey-index button {
  position: relative;
  display: grid;
  min-height: 32px;
  padding: 0 0 0 40px;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: rgba(243, 240, 233, 0.34);
  text-align: left;
  transition: color 260ms ease;
}

.journey-index button::before {
  position: absolute;
  top: 50%;
  left: 10px;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(243, 240, 233, 0.26);
  border-radius: 50%;
  background: #000;
  content: "";
  transform: translateY(-50%);
  transition: border-color 260ms ease, background 260ms ease, box-shadow 260ms ease;
}

.journey-index button b {
  font-size: var(--type-caption);
  font-variant-numeric: tabular-nums;
  font-weight: 400;
}

.journey-index button span {
  display: block;
  overflow: hidden;
  color: rgba(243, 240, 233, 0.42);
  font-size: var(--type-subtitle);
  letter-spacing: 0.06em;
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
  white-space: nowrap;
  transition: color 300ms ease, opacity 300ms ease;
}

.journey-index button.is-active {
  color: rgba(243, 240, 233, 0.92);
}

.journey-index button.is-active::before {
  border-color: var(--gold-bright);
  background: var(--gold);
  box-shadow: 0 0 18px rgba(181, 149, 96, 0.56);
}

.journey-index button.is-active span {
  color: rgba(243, 240, 233, 0.94);
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}

.journey-stage {
  position: relative;
  width: 100%;
  height: min(59vh, 620px);
  min-height: 420px;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}

.journey-stage::before,
.journey-stage::after {
  display: none;
}

.temporal-particle-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 1;
  transition: opacity 620ms ease, transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.journey-experience[data-step="2"] .temporal-particle-canvas {
  z-index: 6;
  opacity: 0.92;
  transform: scale(1);
}

.orb-state-content {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  padding: 14%;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 500ms ease, transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.orb-state-content.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.contact-panel {
  flex-direction: column;
}

.journey-orb {
  --orb-title-size: var(--type-orb-title);
  --orb-subtitle-size: var(--type-subtitle);
  position: relative;
  z-index: 3;
  display: flex;
  width: var(--journey-orb-size);
  height: var(--journey-orb-size);
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.journey-orb-shared {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.orb-signal {
  display: flex;
  min-height: 12px;
  margin-bottom: clamp(17px, 2.1vh, 22px);
  align-items: center;
  gap: 7px;
  color: rgba(243, 240, 233, 0.52);
  font-size: var(--orb-subtitle-size);
  letter-spacing: 0.18em;
  white-space: nowrap;
}

[data-type-copy].is-typing::after {
  display: inline-block;
  width: 1px;
  height: 0.95em;
  margin-left: 4px;
  background: currentColor;
  content: "";
  vertical-align: -0.08em;
  animation: typing-caret 720ms step-end infinite;
}

.orb-signal i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 12px rgba(208, 175, 115, 0.9);
}

.contact-question {
  position: relative;
  z-index: 4;
  max-width: none;
  min-height: 1.55em;
  margin: 0;
  color: #f5f2eb;
  font-size: var(--orb-title-size);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 24px #000;
  white-space: nowrap;
}

.anchor-panel {
  flex-direction: column;
  text-align: center;
}

.anchor-status {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 12px;
  margin: 0 0 clamp(17px, 2.1vh, 22px);
  align-items: center;
  gap: 9px;
  color: var(--gold-bright);
  font-size: var(--orb-subtitle-size);
  white-space: nowrap;
}

.anchor-status strong {
  font-size: inherit;
  font-weight: 400;
  letter-spacing: 0.22em;
}

.anchor-panel.is-active .anchor-status strong {
  animation: searching-now 1.45s ease-in-out infinite;
}

.anchor-search-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.anchor-search-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(208, 175, 115, 0.76);
  opacity: 0.22;
}

.anchor-panel.is-active .anchor-search-dots i {
  animation: searching-dot 1.2s ease-in-out infinite;
}

.anchor-panel.is-active .anchor-search-dots i:nth-child(2) {
  animation-delay: 0.18s;
}

.anchor-panel.is-active .anchor-search-dots i:nth-child(3) {
  animation-delay: 0.36s;
}

.anchor-panel h3 {
  position: relative;
  z-index: 3;
  margin: 0;
  color: #f3efe7;
  font-size: var(--orb-title-size);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.future-panel {
  padding: 0;
}

.journey-experience[data-step="2"] .journey-orb-shared {
  background: #000;
  box-shadow: none;
}

.future-video-frame {
  position: absolute;
  inset: 6.25%;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: #000;
  box-shadow: none;
  opacity: 0;
  filter: blur(12px) brightness(0.28);
  transform: scale(0.94);
}

.future-video-frame::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 2;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    transparent 82%,
    rgba(0, 0, 0, 0.18) 90%,
    #000 100%
  );
  pointer-events: none;
}

.future-panel.is-connecting .future-video-frame {
  animation: future-connect-reveal 2.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.future-panel.is-connected .future-video-frame {
  opacity: 1;
  filter: none;
  transform: scale(1);
}

.future-video-frame video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  opacity: 1;
  filter: brightness(0.94) saturate(0.82);
  transform: scale(1.9);
  transform-origin: center;
}

.future-connect-overlay {
  position: absolute;
  inset: 0;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
}

.future-panel.is-connecting .future-connect-overlay {
  animation: future-connection-status 2.4s ease both;
}

.future-connect-subtitle {
  margin: 0 0 clamp(17px, 2.1vh, 22px);
  color: rgba(208, 175, 115, 0.76);
  font-size: var(--orb-subtitle-size);
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.future-connect-title {
  position: relative;
  width: 100%;
  min-height: 1.55em;
  font-size: var(--orb-title-size);
}

.future-connect-pending,
.future-connect-ready {
  position: absolute;
  inset: 0;
  display: flex;
  margin: 0;
  align-items: center;
  justify-content: center;
  opacity: 0;
  font-size: inherit;
  font-weight: 300;
  line-height: 1.2;
  white-space: nowrap;
}

.future-connect-pending b,
.future-connect-ready b {
  font: inherit;
}

.future-connect-pending {
  color: rgba(243, 240, 233, 0.92);
  letter-spacing: 0.14em;
}

.future-connect-pending span {
  display: flex;
  margin-left: 10px;
  gap: 5px;
}

.future-connect-ready {
  gap: 10px;
  color: rgba(243, 240, 233, 0.94);
  letter-spacing: 0.14em;
}

.future-panel.is-connecting .future-connect-pending {
  animation: future-connect-pending 2.4s ease both;
}

.future-panel.is-connecting .future-connect-ready {
  animation: future-connect-ready 2.4s ease both;
}

.future-connect-pending i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-bright);
  animation: searching-dot 1.1s ease-in-out infinite;
}

.future-connect-pending i:nth-child(2) {
  animation-delay: 0.16s;
}

.future-connect-pending i:nth-child(3) {
  animation-delay: 0.32s;
}

.future-connect-ready > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 16px rgba(208, 175, 115, 0.82);
}

.journey-scroll-hint {
  position: relative;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.journey-scroll-hint span {
  position: relative;
  width: 23px;
  height: 41px;
  border: 1px solid rgba(243, 240, 233, 0.2);
  border-radius: 999px;
}

.journey-scroll-hint span::after {
  position: absolute;
  top: 8px;
  left: 10px;
  width: 2px;
  height: 7px;
  border-radius: 3px;
  background: rgba(208, 175, 115, 0.8);
  content: "";
  animation: mouse-scroll 1.8s ease-in-out infinite;
}

.journey-scroll-hint p {
  max-width: 60px;
  margin: 0;
  color: rgba(243, 240, 233, 0.3);
  font-size: var(--type-caption);
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-align: center;
}

.journey-experience[data-step="2"] .journey-scroll-hint {
  opacity: 0;
}

.stories-section {
  position: relative;
  min-height: 100svh;
  padding: clamp(110px, 13vh, 150px) clamp(24px, 5vw, 84px) 120px;
  border-top: 1px solid rgba(239, 233, 220, 0.1);
  background: #000;
}

.stories-heading {
  width: min(1440px, 100%);
  margin: 0 auto 52px;
  text-align: center;
}

.story-grid {
  display: grid;
  width: min(1440px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 24px);
}

.story-card {
  display: flex;
  min-width: 0;
  min-height: 400px;
  overflow: hidden;
  border: 1px solid rgba(239, 233, 220, 0.16);
  border-radius: 18px;
  flex-direction: column;
  background:
    linear-gradient(155deg, rgba(181, 149, 96, 0.045), transparent 36%),
    rgba(9, 9, 8, 0.88);
  transition: border-color 260ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 320ms ease;
}

.story-card:hover {
  border-color: rgba(208, 175, 115, 0.38);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  transform: translateY(-5px);
}

.story-card-copy {
  display: flex;
  min-height: 0;
  padding: 28px 25px 23px;
  flex: 1 1 auto;
  flex-direction: column;
}

.story-person {
  display: flex;
  align-items: center;
  gap: 13px;
}

.story-avatar {
  display: block;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  border: 1px solid rgba(239, 233, 220, 0.2);
  border-radius: 50%;
  background-image: url("/assets/testimonial-portraits-v1.jpg");
  background-repeat: no-repeat;
  background-size: 300% 200%;
  filter: saturate(0.48) sepia(0.09) brightness(0.76) contrast(1.06);
}

.portrait-01 { background-position: 0 0; }
.portrait-02 { background-position: 50% 0; }
.portrait-04 { background-position: 0 100%; }
.portrait-05 { background-position: 50% 100%; }

.portrait-west-01,
.portrait-west-02 {
  background-image: url("/assets/testimonial-portraits-diverse-v1.png");
  background-size: 200% 100%;
  filter: saturate(0.58) sepia(0.05) brightness(0.8) contrast(1.04);
}

.portrait-west-01 { background-position: 0 50%; }
.portrait-west-02 { background-position: 100% 50%; }

.story-person span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.story-person b {
  color: #e9e5dd;
  font-size: var(--type-subtitle);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.story-person small {
  color: rgba(243, 240, 233, 0.38);
  font-size: var(--type-caption);
  letter-spacing: 0.05em;
}

.story-card q {
  display: block;
  margin: 31px 0 0;
  color: rgba(243, 240, 233, 0.76);
  font-size: var(--type-subtitle);
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.025em;
  quotes: none;
}

.story-card-copy > p {
  margin: auto 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(239, 233, 220, 0.1);
  color: rgba(243, 240, 233, 0.4);
  font-size: var(--type-caption);
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.story-card-copy > p span {
  margin-right: 8px;
  color: rgba(208, 175, 115, 0.78);
}

.story-card-copy > p .story-outcome {
  margin-right: 0;
  color: inherit;
}

.site-footer {
  padding: 72px clamp(24px, 5vw, 84px) 25px;
  border-top: 1px solid rgba(239, 233, 220, 0.13);
  background: #000;
}

.footer-main {
  display: grid;
  width: min(1440px, 100%);
  margin: 0 auto;
  padding-bottom: 62px;
  grid-template-columns: 1fr 1.4fr 1fr;
  align-items: start;
  gap: 70px;
}

.footer-brand {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 64px;
  height: auto;
}

.footer-brand span {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-brand b {
  font-size: var(--type-subtitle);
  font-weight: 400;
  letter-spacing: 0.2em;
}

.footer-brand small {
  color: rgba(243, 240, 233, 0.34);
  font-size: var(--type-caption);
  letter-spacing: 0.08em;
}

.footer-main > p {
  max-width: 480px;
  margin: 3px 0 0;
  color: rgba(243, 240, 233, 0.5);
  font-size: var(--type-subtitle);
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.footer-main nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
}

.footer-main nav a,
.footer-main nav button {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(243, 240, 233, 0.5);
  font-size: var(--type-caption);
  letter-spacing: 0.07em;
  transition: color 160ms ease;
}

.footer-main nav button {
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid rgba(239, 233, 220, 0.24);
  border-radius: 999px;
}

.footer-main nav a:hover,
.footer-main nav button:hover {
  color: #fff;
}

.footer-legal {
  display: grid;
  width: min(1440px, 100%);
  margin: 0 auto;
  padding-top: 20px;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 30px;
  border-top: 1px solid rgba(239, 233, 220, 0.09);
  color: rgba(243, 240, 233, 0.27);
  font-size: var(--type-caption);
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.footer-legal p {
  margin: 0;
  text-align: center;
}

.footer-legal span:last-child {
  text-align: right;
}

dialog {
  color: var(--ink);
}

.auth-dialog,
.account-dialog {
  width: min(438px, calc(100vw - 32px));
  padding: 0;
  border: 1px solid rgba(239, 233, 220, 0.28);
  border-radius: 14px;
  background:
    radial-gradient(circle at 78% 4%, rgba(181, 149, 96, 0.09), transparent 32%),
    rgba(5, 5, 4, 0.99);
  box-shadow: 0 32px 140px rgba(0, 0, 0, 0.9);
}

.auth-dialog::backdrop,
.account-dialog::backdrop,
.purchase-dialog::backdrop {
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(7px);
}

.dialog-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 4;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
}

.dialog-close span::before,
.dialog-close span::after,
.purchase-close span::before,
.purchase-close span::after {
  position: absolute;
  top: 16px;
  left: 8px;
  width: 18px;
  height: 1px;
  background: #a7a39b;
  content: "";
}

.dialog-close span::before,
.purchase-close span::before {
  transform: rotate(45deg);
}

.dialog-close span::after,
.purchase-close span::after {
  transform: rotate(-45deg);
}

.auth-panel,
.account-panel {
  padding: 46px 40px 34px;
}

.dialog-eyebrow {
  margin: 0;
  color: rgba(181, 149, 96, 0.72);
  font-size: 9px;
  letter-spacing: 0.22em;
}

.auth-panel h2,
.account-panel h2 {
  margin: 21px 0 11px;
  font-size: 29px;
  font-weight: 350;
  letter-spacing: -0.02em;
}

.auth-intro {
  min-height: 48px;
  margin: 0 0 29px;
  color: #8b8881;
  font-size: 12px;
  line-height: 1.8;
}

.auth-panel label {
  display: block;
  margin-bottom: 9px;
  color: #aaa79f;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.auth-invite-field {
  margin-top: 17px;
}

.auth-invite-field label {
  display: flex;
  justify-content: space-between;
}

.auth-invite-field label span {
  color: #615e58;
  font-size: 8px;
}

.auth-invite-field label b {
  font: inherit;
}

html[lang="en"] .hero-copy h1,
html[lang="en"] .section-heading h2,
html[lang="en"] .journey-index button,
html[lang="en"] .orb-state-content,
html[lang="en"] .site-footer {
  letter-spacing: 0.015em;
}

html[lang="en"] .hero-copy h1 {
  max-width: min(900px, 92vw);
}

html[lang="en"] .primary-action {
  width: 220px;
  gap: 16px;
  letter-spacing: 0.1em;
}

html[lang="en"] .primary-action span {
  white-space: nowrap;
}

html[lang="en"] .journey-index button span {
  line-height: 1.35;
  white-space: nowrap;
}

.auth-panel input {
  width: 100%;
  height: 50px;
  padding: 0 15px;
  border: 1px solid #3b3935;
  border-radius: 7px;
  outline: 0;
  background: #080807;
  color: #f2eee7;
  font-size: 14px;
  transition: border-color 160ms ease;
}

.auth-panel input:focus {
  border-color: #9d907a;
}

.auth-invite-field input {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dialog-action,
.account-primary {
  width: 100%;
  height: 48px;
  margin-top: 15px;
  border: 1px solid #8d816d;
  border-radius: 999px;
  background: #eee7da;
  color: #0b0a09;
  font-size: 11px;
  letter-spacing: 0.1em;
  transition: background 160ms ease, opacity 160ms ease;
}

.dialog-action:hover,
.account-primary:hover {
  background: #fff;
}

.dialog-action:disabled,
.auth-resend:disabled {
  cursor: wait;
  opacity: 0.42;
}

.auth-account {
  display: flex;
  margin: -3px 0 24px;
  padding: 12px 0;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid #282622;
  border-bottom: 1px solid #282622;
  color: #c3beb5;
  font-size: 11px;
}

.auth-account span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-account button,
.auth-resend,
.account-logout {
  padding: 0;
  border: 0;
  background: transparent;
  color: #7c7870;
  font-size: 10px;
}

.auth-code-input {
  font-size: 24px !important;
  letter-spacing: 0.34em;
  text-align: center;
  text-indent: 0.34em;
}

.auth-resend {
  display: block;
  min-height: 34px;
  margin: 12px auto 0;
}

.auth-note,
.account-note {
  min-height: 35px;
  margin: 17px 0 0;
  color: #77736c;
  font-size: 10px;
  line-height: 1.65;
  text-align: center;
}

.auth-note[data-type="error"],
.account-note {
  color: #c58d82;
}

.auth-note[data-type="success"] {
  color: #98a58b;
}

.auth-note[data-type="warning"] {
  color: #b9a071;
}

.auth-privacy {
  margin: 12px 0 0;
  padding-top: 16px;
  border-top: 1px solid #25231f;
  color: #5f5b54;
  font-size: 9px;
  line-height: 1.65;
  text-align: center;
}

.auth-dialog.is-busy .dialog-close {
  pointer-events: none;
  opacity: 0.35;
}

.account-email {
  min-height: 20px;
  margin: 0;
  overflow: hidden;
  color: #858179;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-entitlement {
  display: grid;
  margin: 29px 0 21px;
  padding: 22px 0;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 8px;
  border-top: 1px solid rgba(239, 233, 220, 0.13);
  border-bottom: 1px solid rgba(239, 233, 220, 0.13);
}

.account-entitlement small,
.account-entitlement b {
  display: block;
  font-weight: 400;
}

.account-entitlement small {
  margin-bottom: 7px;
  color: #77736b;
  font-size: 9px;
}

.account-entitlement b {
  color: #b8b3aa;
  font-size: 11px;
}

.account-entitlement strong {
  font-size: 40px;
  font-weight: 300;
  line-height: 0.9;
}

.account-entitlement i {
  color: #77736b;
  font-size: 10px;
  font-style: normal;
}

.account-logout {
  display: block;
  margin: 19px auto 0;
}

.purchase-dialog {
  width: min(1240px, calc(100vw - 36px));
  height: min(900px, calc(100svh - 36px));
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(239, 233, 220, 0.26);
  border-radius: 16px;
  background: #030303;
  box-shadow: 0 36px 160px rgba(0, 0, 0, 0.94);
}

.purchase-dialog iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #030303;
}

.purchase-close {
  position: absolute;
  top: 17px;
  right: 18px;
  z-index: 8;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(3, 3, 3, 0.84);
}

.purchase-close span::before,
.purchase-close span::after {
  top: 18px;
  left: 10px;
}

@keyframes scroll-cue {
  0%, 100% { opacity: 0.28; transform: translateY(0) rotate(45deg); }
  50% { opacity: 0.92; transform: translateY(6px) rotate(45deg); }
}

@keyframes typing-caret {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

@keyframes searching-now {
  0%, 100% { opacity: 0.46; text-shadow: 0 0 0 rgba(208, 175, 115, 0); }
  50% { opacity: 1; text-shadow: 0 0 18px rgba(208, 175, 115, 0.62); }
}

@keyframes searching-dot {
  0%, 70%, 100% { opacity: 0.2; transform: translateY(0) scale(0.78); }
  35% { opacity: 1; transform: translateY(-2px) scale(1); }
}

@keyframes future-connect-reveal {
  0% { opacity: 0; filter: blur(14px) brightness(0.2); transform: scale(0.91); }
  34% { opacity: 0.18; filter: blur(10px) brightness(0.32); transform: scale(0.95); }
  72% { opacity: 0.72; filter: blur(3px) brightness(0.7); transform: scale(0.99); }
  100% { opacity: 1; filter: none; transform: scale(1); }
}

@keyframes future-connection-status {
  0% { opacity: 0; transform: translateY(8px); }
  10%, 88% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-6px); }
}

@keyframes future-connect-pending {
  0%, 8% { opacity: 0; transform: translateY(5px); }
  15%, 36% { opacity: 1; transform: translateY(0); }
  47%, 100% { opacity: 0; transform: translateY(-4px); }
}

@keyframes future-connect-ready {
  0%, 42% { opacity: 0; transform: scale(0.96); }
  52%, 88% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.02); }
}

@keyframes mouse-scroll {
  0% { opacity: 0; transform: translateY(-2px); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translateY(12px); }
}

@media (max-height: 800px) and (min-width: 801px) {
  .journey-sticky {
    min-height: 680px;
    padding-top: 75px;
  }

  .journey-heading > span {
    margin-top: 7px;
    font-size: var(--type-subtitle);
    line-height: 1.45;
  }

  .journey-stage {
    height: min(58vh, 505px);
    min-height: 390px;
  }

  .story-card {
    min-height: 390px;
  }
}

@media (max-width: 1180px) {
  .journey-experience {
    grid-template-columns: 150px minmax(0, 1fr) 150px;
  }

  .journey-index button {
    padding-left: 32px;
  }

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

  .story-card {
    min-height: 370px;
  }

  .story-card-copy {
    min-height: 0;
  }

  .footer-main,
  .footer-legal {
    grid-template-columns: 1fr 1.3fr;
  }

  .footer-main nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .footer-legal span:last-child {
    display: none;
  }
}

@media (max-width: 760px) {
  :root {
    --type-title: 26px;
    --type-orb-title: 22px;
    --type-subtitle: 11px;
  }

  .site-header {
    height: 66px;
    padding: 0 17px;
    grid-template-columns: 1fr auto;
  }

  .site-brand {
    gap: 8px;
  }

  .site-brand img {
    width: 48px;
  }

  .site-brand b {
    font-size: var(--type-subtitle);
  }

  .site-brand small,
  .header-nav {
    display: none;
  }

  .header-login {
    min-width: 54px;
    min-height: 34px;
    padding: 0 13px;
    font-size: var(--type-subtitle);
  }

  .header-actions {
    gap: 7px;
  }

  .language-toggle {
    min-width: 54px;
    min-height: 34px;
    padding: 0 9px;
    gap: 4px;
    font-size: var(--type-caption);
  }

  html[lang="en"] .header-login:not([data-authenticated="true"]) {
    min-width: 60px;
    padding: 0 11px;
    letter-spacing: 0.04em;
  }

  .hero-video {
    object-position: 50% 45%;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.48), transparent 20%, rgba(0, 0, 0, 0.12) 37%, rgba(0, 0, 0, 0.56) 53%, rgba(0, 0, 0, 0.84) 72%, #020202 100%),
      radial-gradient(circle at center, transparent, rgba(0, 0, 0, 0.42) 88%);
  }

  .hero-copy {
    right: 18px;
    bottom: 92px;
    left: 18px;
  }

  .hero-copy::before {
    right: -18px;
    bottom: -92px;
    left: -18px;
    height: 66vh;
  }

  .hero-kicker {
    margin-bottom: 12px;
    font-size: var(--type-caption);
    line-height: 1.7;
  }

  .hero-copy h1 {
    max-width: 520px;
    font-size: var(--type-title);
    line-height: 1.18;
  }

  .hero-copy h1 br {
    display: initial;
  }

  .primary-action {
    width: 188px;
    height: 47px;
    margin-top: 24px;
  }

  html[lang="en"] .primary-action {
    width: 220px;
  }

  .scroll-cue small {
    display: none;
  }

  .journey-sticky {
    min-height: 680px;
    padding: 82px 14px 24px;
  }

  .section-heading > p {
    margin-bottom: 9px;
    font-size: var(--type-caption);
  }

  .section-heading h2 {
    font-size: var(--type-title);
  }

  .section-heading > span {
    width: min(360px, 100%);
    margin: 9px auto 0;
    font-size: var(--type-subtitle);
  }

  .journey-experience {
    --journey-orb-size: min(78vw, 360px);
    display: flex;
    margin-top: 19px;
    flex-direction: column;
  }

  .journey-index {
    display: grid;
    width: min(390px, calc(100% - 20px));
    margin-bottom: 34px;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .journey-index::before {
    top: 8px;
    right: 16.6%;
    bottom: auto;
    left: 16.6%;
    width: auto;
    height: 1px;
  }

  .journey-index button {
    display: flex;
    min-height: 29px;
    padding: 17px 0 0;
    justify-content: center;
    gap: 4px;
    text-align: center;
  }

  .journey-index button::before {
    top: 8px;
    left: 50%;
    width: 8px;
    height: 8px;
    transform: translate(-50%, -50%);
  }

  .journey-index button span {
    position: absolute;
    top: 31px;
    left: 50%;
    display: block;
    width: max-content;
    max-width: 118px;
    overflow: visible;
    font-size: var(--type-subtitle);
    line-height: 1.35;
    text-align: center;
    white-space: nowrap;
    transform: translate(-50%, 0);
  }

  .journey-index button.is-active span {
    transform: translate(-50%, 0);
  }

  .journey-stage {
    width: 100%;
    height: min(62vh, 560px);
    min-height: 430px;
    border-radius: 20px;
  }

  .orb-state-content {
    padding: 12%;
  }

  .journey-orb {
    --orb-title-size: var(--type-orb-title);
    --orb-subtitle-size: var(--type-subtitle);
  }

  .future-panel {
    padding: 0;
  }

  .future-video-frame {
    border-radius: 50%;
  }

  .journey-scroll-hint {
    display: none;
  }

  .stories-section {
    padding: 94px 17px 80px;
  }

  .stories-heading {
    margin-bottom: 35px;
  }

  .stories-heading h2 {
    max-width: 340px;
    margin-right: auto;
    margin-left: auto;
    line-height: 1.4;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .story-card {
    min-height: 0;
  }

  .story-card-copy {
    min-height: 300px;
  }

  .site-footer {
    padding: 58px 20px 22px;
  }

  .footer-main,
  .footer-legal {
    display: flex;
    flex-direction: column;
    gap: 26px;
  }

  .footer-main {
    padding-bottom: 42px;
  }

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

  .footer-legal {
    gap: 8px;
  }

  .footer-legal p {
    text-align: left;
  }

  .auth-panel,
  .account-panel {
    padding: 43px 26px 28px;
  }

  .purchase-dialog {
    width: 100vw;
    height: 100svh;
    max-width: none;
    max-height: none;
    border: 0;
    border-radius: 0;
  }
}

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

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

  .temporal-particle-canvas {
    opacity: 0.35;
  }
}
