:root {
  color-scheme: dark;
  --ink: #070706;
  --ivory: #f2ead9;
  --ivory-muted: #c9c0ae;
  --gold: #c59b4c;
  --gold-bright: #e3bd6d;
  --gold-dim: rgba(197, 155, 76, 0.28);
  --pointer-x: 0px;
  --pointer-y: 0px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--ink);
}

body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--ivory);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.is-entry-locked {
  overflow: hidden;
}

a {
  color: inherit;
}

button {
  color: inherit;
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.language-control {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.language-control::after {
  position: absolute;
  right: 0.65rem;
  color: rgba(227, 189, 109, 0.72);
  font-size: 0.58rem;
  content: "▾";
  pointer-events: none;
}

.language-control select {
  min-height: 2.35rem;
  padding: 0.5rem 1.8rem 0.5rem 0.72rem;
  border: 1px solid rgba(197, 155, 76, 0.28);
  border-radius: 0;
  appearance: none;
  background: rgba(7, 7, 5, 0.66);
  color: rgba(242, 234, 217, 0.76);
  font: 600 0.65rem/1 "Avenir Next", "Segoe UI", sans-serif;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.language-control select:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.language-control select option {
  background: #0b0906;
  color: var(--ivory);
}

.language-control--gate {
  position: absolute;
  top: clamp(1.35rem, 3vw, 2.75rem);
  right: clamp(1.35rem, 3vw, 2.75rem);
  z-index: 6;
}

.entry-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 43%, rgba(92, 54, 20, 0.32), transparent 34%),
    radial-gradient(circle at 50% 50%, #1a1008 0%, #0c0805 54%, #050504 100%);
  perspective: 1600px;
  transition: visibility 0s linear 1.25s;
}

.entry-gate::before {
  position: absolute;
  z-index: 4;
  inset: clamp(0.7rem, 2vw, 1.6rem);
  border: 1px solid rgba(227, 189, 109, 0.36);
  box-shadow:
    inset 0 0 0 4px rgba(4, 4, 3, 0.52),
    inset 0 0 0 5px rgba(197, 155, 76, 0.14),
    0 0 4rem rgba(152, 92, 28, 0.08);
  content: "";
  pointer-events: none;
}

.entry-gate::after {
  position: absolute;
  z-index: 1;
  inset: -24%;
  background: linear-gradient(
    106deg,
    transparent 39%,
    rgba(227, 189, 109, 0.02) 45%,
    rgba(227, 189, 109, 0.14) 50%,
    rgba(227, 189, 109, 0.025) 55%,
    transparent 61%
  );
  content: "";
  opacity: 0;
  transform: translate3d(-48%, 0, 0);
  pointer-events: none;
  will-change: transform, opacity;
}

.entry-gate[hidden] {
  display: none;
}

.entry-gate__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.2%;
  background:
    radial-gradient(circle, rgba(225, 174, 88, 0.44) 0 1.3px, transparent 1.8px) 17px 14px / 44px 44px,
    repeating-linear-gradient(91deg, rgba(224, 178, 98, 0.05) 0 1px, transparent 1px 12px),
    linear-gradient(115deg, #2a190c 0%, #150d07 54%, #080503 100%);
  box-shadow:
    inset 0 0 0 1px rgba(227, 189, 109, 0.28),
    inset 0 0 90px rgba(0, 0, 0, 0.48);
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transition: transform 1.35s cubic-bezier(0.72, 0, 0.18, 1), opacity 0.55s ease;
  will-change: transform;
}

.entry-gate__panel::after {
  position: absolute;
  inset: clamp(4rem, 9vh, 7rem) clamp(1.5rem, 5vw, 5rem);
  border: 1px solid rgba(227, 189, 109, 0.22);
  background:
    repeating-linear-gradient(90deg, transparent 0 3.8rem, rgba(227, 189, 109, 0.18) 3.85rem 3.92rem),
    repeating-linear-gradient(0deg, transparent 0 3.8rem, rgba(227, 189, 109, 0.14) 3.85rem 3.92rem);
  opacity: 0.76;
  content: "";
}

.entry-gate__panel::before {
  position: absolute;
  top: 13%;
  bottom: 13%;
  z-index: 2;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(227, 189, 109, 0.34) 18%, rgba(227, 189, 109, 0.16) 82%, transparent);
  content: "";
}

.entry-gate__panel--left {
  left: 0;
  border-right: 1px solid rgba(197, 155, 76, 0.13);
  transform-origin: left center;
}

.entry-gate__panel--left::before {
  right: clamp(1.4rem, 4vw, 4.5rem);
}

.entry-gate__panel--right {
  right: 0;
  border-left: 1px solid rgba(197, 155, 76, 0.13);
  transform-origin: right center;
}

.entry-gate__panel--right::before {
  left: clamp(1.4rem, 4vw, 4.5rem);
}

.entry-gate__mist {
  position: absolute;
  top: 4%;
  right: -8%;
  width: 64vw;
  height: 92vh;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 40% 52%, rgba(242, 232, 214, 0.24), transparent 45%),
    radial-gradient(ellipse at 70% 22%, rgba(218, 174, 96, 0.17), transparent 40%);
  filter: blur(27px);
  opacity: 0.9;
  mix-blend-mode: screen;
  pointer-events: none;
  will-change: transform, opacity;
}

.entry-gate__mist::before,
.entry-gate__mist::after {
  position: absolute;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 70%, rgba(247, 240, 226, 0.3), transparent 36%),
    radial-gradient(ellipse at 35% 52%, rgba(216, 177, 108, 0.17), transparent 42%);
  content: "";
  opacity: 0.66;
  will-change: transform, opacity;
}

.entry-gate__mist::before {
  right: 46%;
  bottom: -8%;
  width: 58vw;
  height: 42vh;
}

.entry-gate__mist::after {
  right: -18%;
  bottom: 4%;
  width: 46vw;
  height: 36vh;
  opacity: 0.48;
}

.entry-gate__moon {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: min(48vw, 44rem);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(227, 189, 109, 0.32);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 46%, rgba(4, 4, 3, 0.05) 0 22%, rgba(4, 4, 3, 0.42) 68%, rgba(4, 4, 3, 0.76) 100%),
    url("assets/agarwood-hero.png") 71% center / cover no-repeat;
  box-shadow:
    0 0 0 1.1rem rgba(4, 4, 3, 0.42),
    0 0 0 calc(1.1rem + 1px) rgba(227, 189, 109, 0.24),
    0 0 6rem rgba(177, 109, 35, 0.18),
    0 45px 120px rgba(0, 0, 0, 0.58);
  opacity: 0.52;
  transform: translate3d(-50%, -49%, 0) scale(0.96);
  transition: opacity 0.6s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.entry-gate__moon::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 3, 2, 0.58), transparent 34%, transparent 66%, rgba(3, 3, 2, 0.58)),
    linear-gradient(180deg, rgba(3, 3, 2, 0.08), transparent 58%, rgba(3, 3, 2, 0.66));
  content: "";
}

.entry-gate__moon::after,
.entry-gate__moon span {
  position: absolute;
  border: 1px solid rgba(227, 189, 109, 0.2);
  border-radius: 50%;
  content: "";
}

.entry-gate__moon::after {
  inset: 5%;
}

.entry-gate__moon span {
  inset: 11%;
}

.entry-gate__content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: min(100% - 2.5rem, 43rem);
  text-align: center;
  transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.entry-emblem {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(9rem, 15vw, 13rem);
  aspect-ratio: 1;
  margin-bottom: 1.5rem;
}

.entry-emblem img {
  width: 61%;
  height: 61%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 22px 65px rgba(0, 0, 0, 0.52);
}

.entry-emblem__ring {
  position: absolute;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0 16%,
    rgba(227, 189, 109, 0.72) 16.3% 17%,
    transparent 17.3% 58%,
    rgba(197, 155, 76, 0.28) 58.3% 59%,
    transparent 59.3% 100%
  );
  -webkit-mask: radial-gradient(circle, transparent 71%, #000 72%, #000 73%, transparent 74%);
  mask: radial-gradient(circle, transparent 71%, #000 72%, #000 73%, transparent 74%);
}

.entry-emblem__ring--outer {
  inset: 0;
}

.entry-emblem__ring--inner {
  inset: 10%;
  opacity: 0.55;
}

.entry-gate__eyebrow {
  margin: 0 0 0.7rem;
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.entry-gate h2 {
  margin: 0;
  font-family: "Noto Serif CJK SC", "Noto Serif SC", "Songti SC", STSong, serif;
  font-size: clamp(2.7rem, 5.2vw, 4.45rem);
  font-weight: 500;
  letter-spacing: 0.14em;
}

.entry-gate__description {
  margin: 0.85rem 0 1.8rem;
  color: rgba(242, 234, 217, 0.62);
  font-family: "Noto Serif CJK SC", "Noto Serif SC", "Songti SC", STSong, serif;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
}

.entry-gate__loading {
  position: relative;
  width: min(17rem, 68vw);
  height: 1px;
  overflow: hidden;
  background: rgba(197, 155, 76, 0.14);
}

.entry-gate__loading span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  transform: translate3d(-100%, 0, 0);
  will-change: transform;
}

.entry-gate__status {
  min-height: 1rem;
  margin: 0.75rem 0 0;
  color: rgba(242, 234, 217, 0.46);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
}

.entry-gate__actions {
  display: grid;
  justify-items: center;
  margin-top: 1.45rem;
  opacity: 0;
  transform: translate3d(0, 0.65rem, 0);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.entry-gate.is-ready .entry-gate__actions {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.entry-button {
  display: grid;
  min-width: 17rem;
  padding: 1rem 1.75rem 0.92rem;
  border: 1px solid rgba(227, 189, 109, 0.52);
  border-radius: 0;
  background: rgba(16, 13, 8, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: color 220ms ease, background-color 220ms ease, transform 140ms ease;
}

.entry-button:hover {
  background: rgba(197, 155, 76, 0.16);
  color: #fff5df;
}

.entry-button:focus-visible,
.entry-gate__muted:focus-visible,
.sound-toggle:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

.entry-button:active {
  transform: scale(0.98);
}

.entry-button:disabled,
.entry-gate__muted:disabled {
  cursor: wait;
}

.entry-button__main {
  font-family: "Noto Serif CJK SC", "Noto Serif SC", "Songti SC", STSong, serif;
  font-size: 1rem;
  letter-spacing: 0.16em;
}

.entry-button__sub {
  margin-top: 0.28rem;
  color: rgba(242, 234, 217, 0.45);
  font-size: 0.58rem;
  letter-spacing: 0.07em;
}

.entry-gate__muted {
  margin-top: 0.9rem;
  padding: 0.35rem 0.45rem;
  border: 0;
  background: transparent;
  color: rgba(242, 234, 217, 0.48);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  cursor: pointer;
  transition: color 180ms ease;
}

.entry-gate__muted:hover {
  color: var(--ivory);
}

.entry-gate.is-entering .entry-gate__panel--left {
  transform: translate3d(-4%, 0, -2rem) rotateY(-98deg);
}

.entry-gate.is-entering .entry-gate__panel--right {
  transform: translate3d(4%, 0, -2rem) rotateY(98deg);
}

.entry-gate.is-entering .entry-gate__content,
.entry-gate.is-entering .entry-gate__mist {
  opacity: 0;
  transform: scale(0.96);
}

.entry-gate.is-entering .entry-gate__moon {
  animation: none;
  opacity: 0;
  transform: translate3d(-50%, -49%, 0) scale(1.22);
}

.entry-ripples {
  position: relative;
  width: min(30rem, 84vw);
  height: 4.5rem;
  margin-top: 0.5rem;
  overflow: hidden;
  opacity: 0.7;
}

.entry-ripples span {
  position: absolute;
  bottom: 0.45rem;
  left: 50%;
  width: 28%;
  height: 1.15rem;
  border: 1px solid rgba(227, 189, 109, 0.34);
  border-radius: 50%;
  opacity: 0;
  transform: translate3d(-50%, 0, 0) scale(0.45);
  will-change: transform, opacity;
}

.scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--ink);
  pointer-events: none;
}

.scene__image,
.scene__ambient,
.scene__light,
.scene__veil,
.scene__grain,
.scene__particles {
  position: absolute;
  inset: 0;
}

.scene__image {
  inset: -3%;
  background-image: url("assets/agarwood-hero.png");
  background-position: 58% center;
  background-size: cover;
  filter: brightness(1.08) saturate(1.08);
  transform: translate3d(calc(var(--pointer-x) * -0.12), calc(var(--pointer-y) * -0.08), 0)
    scale(1.045);
  transform-origin: 66% 54%;
  will-change: transform;
}

.scene__ambient {
  inset: -12%;
  background:
    radial-gradient(circle at 76% 28%, rgba(207, 139, 47, 0.3), transparent 27%),
    radial-gradient(circle at 56% 74%, rgba(149, 91, 26, 0.2), transparent 29%),
    radial-gradient(circle at 18% 18%, rgba(70, 85, 62, 0.08), transparent 24%);
  opacity: 0.82;
  transform: translate3d(calc(var(--pointer-x) * 0.08), calc(var(--pointer-y) * 0.06), 0);
  will-change: transform, opacity;
}

.scene__light {
  top: -42%;
  right: -14%;
  bottom: auto;
  left: auto;
  width: 72vw;
  height: 48vh;
  background: linear-gradient(
    104deg,
    transparent 17%,
    rgba(227, 189, 109, 0.02) 36%,
    rgba(227, 189, 109, 0.2) 49%,
    rgba(227, 189, 109, 0.035) 59%,
    transparent 76%
  );
  opacity: 0;
  transform: rotate(16deg) translate3d(-40%, 0, 0);
  will-change: transform, opacity;
}

.scene__veil {
  background:
    linear-gradient(90deg, rgba(4, 4, 3, 0.94) 0%, rgba(4, 4, 3, 0.76) 24%, rgba(4, 4, 3, 0.27) 48%, transparent 68%),
    linear-gradient(180deg, rgba(3, 3, 2, 0.35) 0%, transparent 28%, transparent 68%, rgba(3, 3, 2, 0.78) 100%);
}

.scene__grain {
  z-index: 3;
  opacity: 0.13;
  background-image:
    repeating-radial-gradient(circle at 17% 23%, rgba(255, 255, 255, 0.2) 0 0.55px, transparent 0.75px 3px),
    repeating-radial-gradient(circle at 71% 61%, rgba(0, 0, 0, 0.32) 0 0.6px, transparent 0.8px 4px);
  background-size: 5px 7px, 7px 5px;
  mix-blend-mode: soft-light;
}

.scene__particles {
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0.72;
}

.scene__smoke {
  position: absolute;
  z-index: 2;
  background: none;
  mix-blend-mode: screen;
  opacity: 0;
  isolation: isolate;
  will-change: transform, opacity;
}

.scene__smoke::before,
.scene__smoke::after {
  position: absolute;
  inset: 0;
  border-radius: 48%;
  background:
    radial-gradient(ellipse 29% 15% at 58% 92%, rgba(255, 249, 237, 0.72) 0 16%, rgba(231, 219, 198, 0.3) 44%, transparent 74%),
    radial-gradient(ellipse 33% 17% at 38% 74%, rgba(250, 242, 226, 0.64) 0 14%, rgba(226, 213, 192, 0.26) 46%, transparent 75%),
    radial-gradient(ellipse 27% 16% at 61% 56%, rgba(252, 243, 226, 0.58) 0 13%, rgba(223, 208, 184, 0.22) 48%, transparent 76%),
    radial-gradient(ellipse 24% 15% at 42% 38%, rgba(247, 238, 220, 0.5) 0 12%, rgba(221, 207, 184, 0.19) 48%, transparent 76%),
    radial-gradient(ellipse 20% 13% at 56% 20%, rgba(246, 238, 222, 0.42) 0 10%, rgba(218, 205, 183, 0.16) 50%, transparent 78%);
  filter: blur(9px);
  content: "";
  transform-origin: center bottom;
  will-change: transform, opacity;
}

.scene__smoke::after {
  inset: 4% 12% -4% 8%;
  filter: blur(18px);
  opacity: 0.58;
  transform: scaleX(0.8) rotate(7deg);
}

.scene__smoke--one {
  top: 16%;
  right: 7%;
  width: 24vw;
  height: 72vh;
}

.scene__smoke--two {
  top: 31%;
  right: 29%;
  width: 18vw;
  height: 61vh;
}

.scene__smoke--three {
  top: 5%;
  right: -1%;
  width: 21vw;
  height: 62vh;
}

.scene__orbit {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  background: conic-gradient(
    from 18deg,
    transparent 0 18%,
    rgba(197, 155, 76, 0.4) 18.4% 20%,
    transparent 20.4% 62%,
    rgba(197, 155, 76, 0.22) 62.4% 64%,
    transparent 64.4% 100%
  );
  -webkit-mask: radial-gradient(circle, transparent 69%, #000 70%, #000 70.7%, transparent 71.5%);
  mask: radial-gradient(circle, transparent 69%, #000 70%, #000 70.7%, transparent 71.5%);
  opacity: 0.45;
  will-change: transform;
}

.scene__orbit--outer {
  right: -13vw;
  bottom: -39vw;
  width: 76vw;
  aspect-ratio: 1;
}

.scene__orbit--inner {
  right: 8vw;
  bottom: -21vw;
  width: 46vw;
  aspect-ratio: 1;
  opacity: 0.28;
}

.site-shell {
  position: relative;
  z-index: 10;
  min-height: 100dvh;
  isolation: isolate;
}

.site-header,
.site-footer,
.hero,
.agarwood-intro {
  width: min(100%, 1440px);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 5.5rem);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: clamp(5.5rem, 11vh, 7.5rem);
  padding-top: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  max-width: max-content;
  text-decoration: none;
}

.brand__logo {
  width: clamp(3.75rem, 5.6vw, 5.25rem);
  height: clamp(3.75rem, 5.6vw, 5.25rem);
  flex: 0 0 auto;
  border: 1px solid rgba(227, 189, 109, 0.34);
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 5px rgba(7, 7, 6, 0.42),
    0 18px 45px rgba(0, 0, 0, 0.38);
}

.brand__copy {
  display: grid;
  gap: 0.25rem;
}

.brand__english {
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.brand__name {
  font-family: "Noto Serif CJK SC", "Noto Serif SC", "Songti SC", STSong, serif;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  letter-spacing: 0.08em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 4.8rem;
  padding: 0.62rem 0.72rem;
  border: 1px solid rgba(197, 155, 76, 0.28);
  border-radius: 0;
  background: rgba(6, 6, 5, 0.34);
  color: rgba(242, 234, 217, 0.66);
  cursor: pointer;
  opacity: 0;
  transform: translate3d(0, -0.65rem, 0);
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

body.is-entered .sound-toggle {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.sound-toggle:hover {
  background: rgba(197, 155, 76, 0.11);
  color: var(--ivory);
}

.sound-toggle:active {
  transform: scale(0.97);
}

.sound-toggle__bars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 0.8rem;
}

.sound-toggle__bars i {
  display: block;
  width: 2px;
  height: 35%;
  background: var(--gold-bright);
  transform-origin: center;
}

.sound-toggle__bars i:nth-child(2) {
  height: 78%;
}

.sound-toggle__bars i:nth-child(3) {
  height: 54%;
}

.sound-toggle__label {
  font-family: "Noto Serif CJK SC", "Noto Serif SC", "Songti SC", STSong, serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.page-main {
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  min-height: calc(100dvh - clamp(5.5rem, 11vh, 7.5rem));
  padding-top: clamp(1rem, 5vh, 3.75rem);
  padding-bottom: clamp(2rem, 6vh, 4.5rem);
}

.hero__copy {
  max-width: 38rem;
}

.upgrade-label {
  display: flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin-bottom: clamp(1.5rem, 3vh, 2.25rem);
  color: var(--gold-bright);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.upgrade-label::before {
  width: 2.75rem;
  height: 1px;
  margin-right: 0.9rem;
  background: linear-gradient(90deg, transparent, var(--gold));
  content: "";
}

.upgrade-label__english {
  display: inline-flex;
  align-items: center;
  margin-left: 0.9rem;
  color: var(--ivory-muted);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0.16em;
}

.upgrade-label__english::before {
  width: 1px;
  height: 0.9rem;
  margin-right: 0.9rem;
  background: var(--gold-dim);
  content: "";
}

h1 {
  margin: 0;
  font-family: "Noto Serif CJK SC", "Noto Serif SC", "Songti SC", STSong, Georgia, serif;
  font-size: clamp(3.1rem, 6.2vw, 6rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.08;
  text-wrap: balance;
  text-shadow: 0 5px 26px rgba(0, 0, 0, 0.45);
}

h1:focus {
  outline: none;
}

h1 span {
  display: block;
}

h1 span:last-child {
  color: #dfc998;
}

.hero__lead {
  margin: clamp(1.5rem, 3.4vh, 2.4rem) 0 0;
  color: var(--ivory-muted);
  font-family: "Noto Serif CJK SC", "Noto Serif SC", "Songti SC", STSong, serif;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  letter-spacing: 0.09em;
  line-height: 2;
}

.hero__lead span {
  display: block;
}

html[lang="en"] .entry-gate h2,
html[lang="en"] h1,
html[lang="en"] .agarwood-intro h2,
html[lang="ms"] .entry-gate h2,
html[lang="ms"] h1,
html[lang="ms"] .agarwood-intro h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.01em;
}

html[lang="en"] h1,
html[lang="ms"] h1 {
  font-size: clamp(3rem, 5.5vw, 5.25rem);
  line-height: 1.03;
}

html[lang="en"] .entry-gate h2,
html[lang="ms"] .entry-gate h2 {
  font-size: clamp(2rem, 4.4vw, 3.25rem);
}

html[lang="en"] .agarwood-intro h2,
html[lang="ms"] .agarwood-intro h2 {
  font-size: clamp(2.35rem, 4.1vw, 4.3rem);
}

.hero__english {
  margin: 1.2rem 0 0;
  color: rgba(242, 234, 217, 0.48);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.88rem;
  font-style: italic;
  letter-spacing: 0.08em;
}

.agarwood-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(18rem, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8.5rem);
  min-height: 100dvh;
  padding-top: clamp(5.5rem, 12vh, 9rem);
  padding-bottom: clamp(5.5rem, 12vh, 9rem);
}

.agarwood-intro::before {
  position: absolute;
  z-index: -1;
  inset: 0 clamp(0rem, 2vw, 2.4rem);
  border-top: 1px solid rgba(197, 155, 76, 0.22);
  background:
    radial-gradient(circle at 18% 42%, rgba(119, 75, 28, 0.14), transparent 35%),
    linear-gradient(110deg, rgba(4, 4, 3, 0.93), rgba(8, 7, 5, 0.82));
  content: "";
}

.agarwood-intro__media {
  position: relative;
  min-height: min(68vh, 46rem);
  overflow: hidden;
  border: 1px solid rgba(197, 155, 76, 0.42);
  border-radius: 48% 48% 0 0;
  background-image:
    linear-gradient(180deg, transparent 46%, rgba(4, 4, 3, 0.54)),
    url("assets/agarwood-hero.png");
  background-position: 74% center;
  background-size: auto 108%;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.36);
}

.agarwood-intro__media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(227, 189, 109, 0.1), transparent 30%),
    linear-gradient(180deg, transparent 65%, rgba(3, 3, 2, 0.74));
  content: "";
}

.agarwood-intro__halo {
  position: absolute;
  top: 8%;
  left: 50%;
  width: 78%;
  aspect-ratio: 1;
  border: 1px solid rgba(227, 189, 109, 0.19);
  border-radius: 50%;
  transform: translateX(-50%);
}

.agarwood-intro__content {
  max-width: 41rem;
}

.agarwood-intro h2 {
  margin: 0;
  font-family: "Noto Serif CJK SC", "Noto Serif SC", "Songti SC", STSong, serif;
  font-size: clamp(2.5rem, 4.6vw, 4.8rem);
  font-weight: 500;
  letter-spacing: 0.035em;
  line-height: 1.22;
  text-wrap: balance;
}

.agarwood-intro__lead {
  margin: clamp(1.5rem, 3vh, 2.25rem) 0 0;
  color: rgba(242, 234, 217, 0.72);
  font-family: "Noto Serif CJK SC", "Noto Serif SC", "Songti SC", STSong, serif;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  letter-spacing: 0.045em;
  line-height: 2;
}

.agarwood-intro__notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: clamp(2rem, 5vh, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(197, 155, 76, 0.24);
}

.agarwood-intro__notes h3 {
  margin: 0 0 0.65rem;
  color: var(--gold-bright);
  font-family: "Noto Serif CJK SC", "Noto Serif SC", "Songti SC", STSong, serif;
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.agarwood-intro__notes p {
  margin: 0;
  color: rgba(242, 234, 217, 0.55);
  font-size: 0.86rem;
  letter-spacing: 0.035em;
  line-height: 1.9;
}

.site-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  padding-bottom: 0.5rem;
  color: rgba(242, 234, 217, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer::before {
  position: absolute;
  top: 0;
  right: clamp(1.25rem, 5vw, 5.5rem);
  left: clamp(1.25rem, 5vw, 5.5rem);
  height: 1px;
  background: linear-gradient(90deg, rgba(197, 155, 76, 0.58), rgba(197, 155, 76, 0.08) 58%, transparent);
  content: "";
}

body:not(.is-entered) .brand,
body:not(.is-entered) .upgrade-label,
body:not(.is-entered) h1,
body:not(.is-entered) .hero__lead,
body:not(.is-entered) .hero__english {
  opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .entry-gate__moon {
    animation: entry-moon-breathe 10s ease-in-out infinite alternate;
  }

  .entry-ripples span {
    animation: entry-water-ripple 5.4s ease-out infinite;
  }

  .entry-ripples span:nth-child(2) {
    animation-delay: 1.8s;
  }

  .entry-ripples span:nth-child(3) {
    animation-delay: 3.6s;
  }

  .entry-gate::after {
    animation: entry-light-sweep 7.5s ease-in-out 0.8s infinite;
  }

  .entry-gate__panel::after {
    animation: door-surface-breathe 4.8s ease-in-out infinite alternate;
  }

  .entry-emblem__ring--outer {
    animation: entry-ring-clockwise 12s linear infinite;
  }

  .entry-emblem__ring--inner {
    animation: entry-ring-counter 16s linear infinite;
  }

  .entry-gate__mist {
    animation: entry-mist 7s ease-in-out infinite alternate;
  }

  .entry-gate__mist::before {
    animation: entry-low-smoke-left 8s ease-in-out infinite alternate;
  }

  .entry-gate__mist::after {
    animation: entry-low-smoke-right 9.5s ease-in-out -3s infinite alternate;
  }

  .entry-gate__loading span {
    animation: entry-loading 1.65s ease-in-out infinite;
  }

  .entry-gate.is-ready .entry-gate__loading span {
    animation: none;
    transform: translate3d(0, 0, 0);
  }

  .scene__image {
    animation: image-breathe 16s ease-in-out infinite alternate;
  }

  .scene__ambient {
    animation: ambient-drift 10s ease-in-out infinite alternate;
  }

  .scene__light {
    animation: light-pass 11s cubic-bezier(0.45, 0, 0.22, 1) 1.5s infinite;
  }

  .scene__smoke--one {
    animation: smoke-one 11s cubic-bezier(0.45, 0, 0.2, 1) infinite;
  }

  .scene__smoke--two {
    animation: smoke-two 14s cubic-bezier(0.45, 0, 0.2, 1) -5s infinite;
  }

  .scene__smoke--three {
    animation: smoke-three 17s cubic-bezier(0.45, 0, 0.2, 1) -9s infinite;
  }

  .scene__smoke::before {
    animation: smoke-fold 5.8s ease-in-out infinite alternate;
  }

  .scene__smoke::after {
    animation: smoke-fold-reverse 7.2s ease-in-out -2.4s infinite alternate;
  }

  .scene__orbit--outer {
    animation: orbit-clockwise 38s linear infinite;
  }

  .scene__orbit--inner {
    animation: orbit-counter 46s linear infinite;
  }

  body.is-entered .brand {
    animation: reveal-down 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  body.is-entered .upgrade-label {
    animation: reveal-up 0.8s 0.16s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  body.is-entered h1 {
    animation: reveal-up 1s 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  body.is-entered .hero__lead,
  body.is-entered .hero__english {
    animation: reveal-up 0.9s 0.46s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .sound-toggle[aria-pressed="true"] .sound-toggle__bars i:nth-child(1) {
    animation: sound-bar 0.9s ease-in-out infinite alternate;
  }

  .sound-toggle[aria-pressed="true"] .sound-toggle__bars i:nth-child(2) {
    animation: sound-bar 0.72s 0.15s ease-in-out infinite alternate;
  }

  .sound-toggle[aria-pressed="true"] .sound-toggle__bars i:nth-child(3) {
    animation: sound-bar 1.05s 0.3s ease-in-out infinite alternate;
  }

  body.motion-ready .agarwood-intro__media,
  body.motion-ready .agarwood-intro__content {
    opacity: 0;
    transform: translate3d(0, 2.4rem, 0);
    transition: opacity 0.9s ease, transform 1.05s cubic-bezier(0.16, 1, 0.3, 1);
  }

  body.motion-ready .agarwood-intro__content {
    transition-delay: 0.12s;
  }

  body.motion-ready .agarwood-intro.is-visible .agarwood-intro__media,
  body.motion-ready .agarwood-intro.is-visible .agarwood-intro__content {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes entry-moon-breathe {
  from {
    opacity: 0.26;
    transform: translate3d(-50%, -49%, 0) scale(0.95);
  }
  to {
    opacity: 0.4;
    transform: translate3d(-50%, -50.5%, 0) scale(1.025);
  }
}

@keyframes entry-water-ripple {
  0% {
    opacity: 0;
    transform: translate3d(-50%, 0, 0) scale(0.42);
  }
  18% {
    opacity: 0.56;
  }
  100% {
    opacity: 0;
    transform: translate3d(-50%, 0, 0) scale(2.8);
  }
}

@keyframes entry-light-sweep {
  0%,
  36% {
    opacity: 0;
    transform: translate3d(-48%, 0, 0);
  }
  49% {
    opacity: 0.55;
  }
  64%,
  100% {
    opacity: 0;
    transform: translate3d(48%, 0, 0);
  }
}

@keyframes door-surface-breathe {
  from {
    opacity: 0.48;
    transform: translate3d(-0.3%, 0, 0);
  }
  to {
    opacity: 0.92;
    transform: translate3d(0.3%, 0, 0);
  }
}

@keyframes entry-low-smoke-left {
  from {
    opacity: 0.35;
    transform: translate3d(6%, 5%, 0) scale(0.92);
  }
  to {
    opacity: 0.7;
    transform: translate3d(-5%, -3%, 0) scale(1.08);
  }
}

@keyframes entry-low-smoke-right {
  from {
    opacity: 0.28;
    transform: translate3d(-4%, 4%, 0) scale(0.94);
  }
  to {
    opacity: 0.58;
    transform: translate3d(6%, -5%, 0) scale(1.06);
  }
}

@keyframes entry-ring-clockwise {
  to {
    transform: rotate(360deg);
  }
}

@keyframes entry-ring-counter {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes entry-mist {
  from {
    opacity: 0.38;
    transform: translate3d(3%, 3%, 0) scale(0.94) rotate(-2deg);
  }
  to {
    opacity: 0.76;
    transform: translate3d(-4%, -3%, 0) scale(1.06) rotate(3deg);
  }
}

@keyframes entry-loading {
  from {
    transform: translate3d(-100%, 0, 0);
  }
  to {
    transform: translate3d(100%, 0, 0);
  }
}

@keyframes sound-bar {
  from {
    transform: scaleY(0.42);
  }
  to {
    transform: scaleY(1.08);
  }
}

@keyframes image-breathe {
  from {
    transform: translate3d(calc(var(--pointer-x) * -0.12), calc(var(--pointer-y) * -0.08), 0)
      scale(1.045);
  }
  to {
    transform: translate3d(calc(-0.7% + var(--pointer-x) * -0.12), calc(-0.45% + var(--pointer-y) * -0.08), 0)
      scale(1.075);
  }
}

@keyframes ambient-drift {
  from {
    opacity: 0.63;
    transform: translate3d(calc(-1% + var(--pointer-x) * 0.08), calc(var(--pointer-y) * 0.06), 0) scale(1);
  }
  to {
    opacity: 0.9;
    transform: translate3d(calc(1% + var(--pointer-x) * 0.08), calc(-1.3% + var(--pointer-y) * 0.06), 0)
      scale(1.04);
  }
}

@keyframes light-pass {
  0%,
  48% {
    opacity: 0;
    transform: rotate(16deg) translate3d(-52%, 0, 0);
  }
  60% {
    opacity: 0.4;
  }
  76% {
    opacity: 0;
    transform: rotate(16deg) translate3d(40%, 0, 0);
  }
  100% {
    opacity: 0;
    transform: rotate(16deg) translate3d(40%, 0, 0);
  }
}

@keyframes smoke-one {
  0% {
    opacity: 0;
    transform: translate3d(4%, 20%, 0) rotate(-5deg) scale(0.88);
  }
  24% {
    opacity: 0.7;
  }
  62% {
    opacity: 0.58;
    transform: translate3d(-10%, -13%, 0) rotate(8deg) scale(1.08);
  }
  100% {
    opacity: 0;
    transform: translate3d(-20%, -46%, 0) rotate(15deg) scale(1.2);
  }
}

@keyframes smoke-two {
  0% {
    opacity: 0;
    transform: translate3d(7%, 19%, 0) rotate(8deg) scale(0.86);
  }
  28% {
    opacity: 0.52;
  }
  66% {
    opacity: 0.42;
    transform: translate3d(-12%, -16%, 0) rotate(-9deg) scale(1.1);
  }
  100% {
    opacity: 0;
    transform: translate3d(-22%, -50%, 0) rotate(-15deg) scale(1.23);
  }
}

@keyframes smoke-three {
  0% {
    opacity: 0;
    transform: translate3d(3%, 17%, 0) rotate(-8deg) scale(0.9);
  }
  25% {
    opacity: 0.58;
  }
  64% {
    opacity: 0.46;
    transform: translate3d(-11%, -18%, 0) rotate(9deg) scale(1.11);
  }
  100% {
    opacity: 0;
    transform: translate3d(-24%, -54%, 0) rotate(16deg) scale(1.25);
  }
}

@keyframes smoke-fold {
  from {
    opacity: 0.72;
    transform: scaleX(0.88) rotate(-4deg);
  }
  to {
    opacity: 1;
    transform: translate3d(6%, -2%, 0) scaleX(1.05) rotate(5deg);
  }
}

@keyframes smoke-fold-reverse {
  from {
    opacity: 0.44;
    transform: translate3d(3%, 2%, 0) scaleX(0.74) rotate(8deg);
  }
  to {
    opacity: 0.7;
    transform: translate3d(-5%, -3%, 0) scaleX(0.92) rotate(-6deg);
  }
}

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

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

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translate3d(0, 1.5rem, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes reveal-down {
  from {
    opacity: 0;
    transform: translate3d(0, -1rem, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Tablet layout: 641px–1023px. Desktop styles apply from 1024px upward. */
@media (min-width: 641px) and (max-width: 1023px) {
  .entry-gate__panel::after {
    inset: 5.5rem 1.5rem;
  }

  .entry-gate__moon {
    width: min(68vw, 39rem);
    opacity: 0.48;
  }

  .entry-gate__content {
    width: min(100% - 3rem, 38rem);
  }

  .entry-emblem {
    width: clamp(8.5rem, 17vw, 10.75rem);
    margin-bottom: 1rem;
  }

  .entry-gate h2 {
    font-size: clamp(2.65rem, 7vw, 3.75rem);
  }

  .entry-gate__description {
    margin-bottom: 1.4rem;
  }

  .entry-button {
    min-width: 15rem;
  }

  .entry-ripples {
    width: min(31rem, 66vw);
  }

  .scene__image {
    inset: -4%;
    background-position: 65% center;
  }

  .scene__veil {
    background:
      linear-gradient(90deg, rgba(4, 4, 3, 0.96) 0%, rgba(4, 4, 3, 0.74) 50%, rgba(4, 4, 3, 0.12) 100%),
      linear-gradient(180deg, rgba(3, 3, 2, 0.52) 0%, transparent 26%, transparent 62%, rgba(3, 3, 2, 0.9) 100%);
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.22fr);
  }

  .agarwood-intro {
    grid-template-columns: minmax(15rem, 0.78fr) minmax(0, 1.22fr);
    gap: 2.75rem;
  }

  .agarwood-intro h2 {
    font-size: clamp(2.5rem, 5.4vw, 3.8rem);
  }

  h1 {
    font-size: clamp(3.5rem, 8vw, 5.15rem);
  }
}

/* Mobile layout: 640px and below. */
@media (max-width: 640px) {
  .entry-gate__panel::after {
    inset: 4.5rem 0.85rem;
    background:
      repeating-linear-gradient(90deg, transparent 0 2.5rem, rgba(227, 189, 109, 0.17) 2.55rem 2.62rem),
      repeating-linear-gradient(0deg, transparent 0 2.5rem, rgba(227, 189, 109, 0.13) 2.55rem 2.62rem);
  }

  .entry-gate__moon {
    width: min(118vw, 34rem);
    opacity: 0.46;
  }

  .entry-gate__content {
    width: min(100% - 2rem, 28rem);
  }

  .entry-emblem {
    width: 8.5rem;
    margin-bottom: 1rem;
  }

  .entry-gate h2 {
    font-size: clamp(2.25rem, 11vw, 3rem);
  }

  .entry-gate__description {
    max-width: 21rem;
    font-size: 0.84rem;
  }

  .entry-button {
    min-width: min(16rem, 78vw);
  }

  .entry-ripples {
    width: min(23rem, 88vw);
    height: 3.6rem;
  }

  .site-header,
  .site-footer,
  .hero,
  .agarwood-intro {
    padding-inline: 1.25rem;
  }

  .site-header {
    min-height: 5.3rem;
    padding-top: 0.4rem;
  }

  .brand {
    gap: 0.75rem;
  }

  .brand__logo {
    width: 3.5rem;
    height: 3.5rem;
  }

  .brand__english {
    font-size: 0.57rem;
  }

  .brand__name {
    font-size: 0.95rem;
  }

  .sound-toggle {
    min-width: auto;
    padding: 0.55rem 0.62rem;
  }

  .scene__image {
    inset: -5%;
    background-position: 69% center;
  }

  .scene__veil {
    background:
      linear-gradient(90deg, rgba(4, 4, 3, 0.88) 0%, rgba(4, 4, 3, 0.58) 62%, rgba(4, 4, 3, 0.13) 100%),
      linear-gradient(180deg, rgba(3, 3, 2, 0.48) 0%, rgba(3, 3, 2, 0.08) 32%, rgba(3, 3, 2, 0.3) 70%, rgba(3, 3, 2, 0.85) 100%);
  }

  .scene__smoke--one {
    right: -8%;
    width: 58vw;
  }

  .scene__smoke--two {
    right: 16%;
    width: 36vw;
  }

  .scene__smoke--three {
    width: 40vw;
  }

  .scene__orbit--outer {
    right: -44vw;
    bottom: -42vw;
    width: 116vw;
  }

  .scene__orbit--inner {
    right: -3vw;
    bottom: -13vw;
    width: 72vw;
  }

  .hero {
    grid-template-columns: 1fr;
    align-items: center;
    min-height: calc(100dvh - 5.3rem);
    padding-top: 3rem;
    padding-bottom: 4rem;
  }

  .hero__copy {
    max-width: 25rem;
  }

  .upgrade-label {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
  }

  .upgrade-label::before {
    width: 1.75rem;
  }

  .upgrade-label__english {
    margin-left: 0.7rem;
  }

  .upgrade-label__english::before {
    margin-right: 0.7rem;
  }

  h1 {
    font-size: clamp(2.8rem, 14.6vw, 4.35rem);
    letter-spacing: 0.02em;
  }

  .hero__lead {
    font-size: 0.94rem;
    line-height: 1.9;
  }

  .agarwood-intro {
    grid-template-columns: 1fr;
    gap: 3rem;
    min-height: auto;
    padding-top: 5rem;
    padding-bottom: 5.5rem;
  }

  .agarwood-intro::before {
    right: 0;
    left: 0;
  }

  .agarwood-intro__media {
    width: min(86%, 24rem);
    min-height: min(58vh, 31rem);
    margin-inline: auto;
  }

  .agarwood-intro h2 {
    font-size: clamp(2.35rem, 10.8vw, 3.35rem);
  }

  .agarwood-intro__lead {
    font-size: 0.94rem;
    line-height: 1.9;
  }

  .site-footer {
    align-items: flex-start;
    min-height: 5.25rem;
    padding-top: 0.8rem;
    font-size: 0.58rem;
    letter-spacing: 0.07em;
  }

  .site-footer p:last-child {
    text-align: right;
  }

  .site-footer::before {
    right: 1.25rem;
    bottom: auto;
    left: 1.25rem;
  }
}

@media (max-width: 390px) {
  .brand__copy {
    gap: 0.18rem;
  }

  .brand__english {
    display: none;
  }

  .brand__name {
    font-size: 0.85rem;
  }

  .sound-toggle__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .language-control--header select {
    min-height: 2.1rem;
    padding: 0.42rem 1.5rem 0.42rem 0.58rem;
  }

  .language-control--header::after {
    right: 0.5rem;
  }

  .upgrade-label__english {
    letter-spacing: 0.1em;
  }

  h1 {
    font-size: clamp(2.6rem, 14.2vw, 3.45rem);
  }

  .agarwood-intro__notes {
    grid-template-columns: 1fr;
  }
}

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

  .scene__image,
  .scene__ambient {
    transform: none;
  }

  .scene__light {
    display: none;
  }

  .scene__smoke {
    display: block;
    opacity: 0.2;
    transform: translate3d(-4%, -8%, 0) scale(1.02);
  }

  .entry-gate.is-entering .entry-gate__panel--left,
  .entry-gate.is-entering .entry-gate__panel--right {
    opacity: 0;
    transform: none;
  }
}

@media (prefers-contrast: more) {
  .scene__veil {
    background:
      linear-gradient(90deg, rgba(3, 3, 2, 1) 0%, rgba(3, 3, 2, 0.94) 45%, rgba(3, 3, 2, 0.35) 78%),
      linear-gradient(180deg, rgba(3, 3, 2, 0.55), transparent 42%, rgba(3, 3, 2, 0.94));
  }

  .hero__lead,
  .hero__english,
  .site-footer {
    color: var(--ivory);
  }
}
