:root {
  --ink: #070708;
  --ink-soft: #0c0b0b;
  --paper: #f2ead8;
  --paper-muted: #a69b87;
  --gold: #d6a32c;
  --gold-bright: #f2cb62;
  --line: rgba(218, 178, 76, 0.22);
  --header-height: 92px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family:
    "Avenir Next", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  text-rendering: optimizeLegibility;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

a {
  text-decoration: none;
}

.site-shell {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-rows: var(--header-height) 1fr auto;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 69% 45%, rgba(186, 123, 25, 0.09), transparent 26%),
    radial-gradient(circle at 12% 5%, rgba(116, 82, 34, 0.08), transparent 35%),
    linear-gradient(120deg, #09090a 0%, #070708 56%, #0b0907 100%);
}

.site-shell::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, transparent 49.95%, rgba(255, 255, 255, 0.025) 50%, transparent 50.05%),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 100% 100%, 100% 80px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.site-shell::after {
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
  content: "";
  box-shadow: inset 0 0 130px rgba(0, 0, 0, 0.78);
}

.ambient {
  position: absolute;
  z-index: -1;
  width: 42vw;
  height: 42vw;
  border: 1px solid rgba(226, 180, 64, 0.06);
  border-radius: 50%;
  filter: blur(0.2px);
  opacity: 0.65;
}

.ambient::before,
.ambient::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(226, 180, 64, 0.045);
  border-radius: inherit;
}

.ambient::before {
  inset: 11%;
}

.ambient::after {
  inset: 24%;
}

.ambient-left {
  top: -31vw;
  left: -19vw;
}

.ambient-right {
  right: -24vw;
  bottom: -29vw;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  width: min(100% - 72px, 1500px);
  height: var(--header-height);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #dfd5c2;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.24em;
}

.wordmark-glyph {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(224, 178, 60, 0.58);
  color: var(--gold-bright);
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #5e584d;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.language-switcher button {
  position: relative;
  padding: 10px 2px;
  cursor: pointer;
  background: transparent;
  color: #6f6759;
  transition: color 180ms ease;
}

.language-switcher button::after {
  position: absolute;
  right: 2px;
  bottom: 5px;
  left: 2px;
  height: 1px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.language-switcher button:hover,
.language-switcher button.is-active {
  color: var(--paper);
}

.language-switcher button.is-active::after {
  transform: scaleX(1);
}

.language-switcher button:focus-visible,
.wordmark:focus-visible {
  outline: 1px solid var(--gold-bright);
  outline-offset: 5px;
}

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(100% - 72px, 1500px);
  min-height: calc(100svh - var(--header-height) - 98px);
  margin: 0 auto;
  grid-template-columns: minmax(0, 0.94fr) minmax(430px, 0.78fr);
  align-items: center;
  gap: clamp(48px, 8vw, 142px);
  padding: clamp(46px, 7vh, 90px) 0;
}

.hero-copy {
  align-self: center;
  animation: copy-in 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow {
  display: flex;
  margin: 0 0 31px;
  align-items: center;
  gap: 15px;
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
}

.eyebrow-line {
  display: block;
  width: 42px;
  height: 1px;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(224, 169, 43, 0.7);
}

.hero-title {
  max-width: 820px;
  margin: 0;
  color: var(--paper);
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  font-size: clamp(56px, 5.8vw, 102px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.12;
  text-wrap: balance;
}

.hero-title span {
  display: block;
}

[data-language="en"] .hero-title {
  max-width: 810px;
  font-family: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  font-size: clamp(48px, 5vw, 88px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.hero-description {
  max-width: 540px;
  margin: 40px 0 0;
  padding-left: 18px;
  border-left: 1px solid rgba(227, 180, 61, 0.46);
  color: var(--paper-muted);
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 400;
  letter-spacing: 0.07em;
  line-height: 1.8;
}

[data-language="en"] .hero-description {
  letter-spacing: 0.035em;
}

.about-link {
  display: inline-flex;
  margin-top: 46px;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(221, 171, 49, 0.38);
  color: #bbae96;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 3;
  transition:
    border-color 180ms ease,
    color 180ms ease;
}

.about-link span {
  color: var(--gold-bright);
  font-size: 13px;
  transition: transform 180ms ease;
}

.about-link:hover {
  border-color: var(--gold-bright);
  color: var(--paper);
}

.about-link:hover span {
  transform: translateY(3px);
}

.about-link:focus-visible {
  outline: 1px solid var(--gold-bright);
  outline-offset: 5px;
}

.brand-stage {
  position: relative;
  display: grid;
  width: min(100%, 580px);
  aspect-ratio: 1;
  justify-self: end;
  place-items: center;
  border: 1px solid rgba(215, 165, 47, 0.17);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.018), transparent 42%),
    rgba(3, 3, 4, 0.54);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.42),
    inset 0 0 80px rgba(203, 132, 24, 0.025);
  animation: stage-in 900ms 100ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand-stage::before {
  position: absolute;
  inset: 6.5%;
  content: "";
  border: 1px solid rgba(234, 189, 76, 0.09);
}

.stage-corner {
  position: absolute;
  z-index: 3;
  left: -1px;
  width: 70px;
  height: 70px;
  pointer-events: none;
}

.stage-corner-top {
  top: -1px;
  border-top: 1px solid var(--gold-bright);
  border-left: 1px solid var(--gold-bright);
}

.stage-corner-bottom {
  right: -1px;
  bottom: -1px;
  left: auto;
  border-right: 1px solid var(--gold-bright);
  border-bottom: 1px solid var(--gold-bright);
}

.logo-halo {
  position: absolute;
  z-index: 0;
  width: 56%;
  height: 56%;
  border-radius: 50%;
  background: rgba(213, 151, 41, 0.17);
  filter: blur(80px);
  animation: breathe 5s ease-in-out infinite;
}

.studio-logo {
  position: relative;
  z-index: 2;
  display: block;
  width: 78%;
  height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(226, 177, 55, 0.08));
}

.stage-index,
.stage-caption {
  position: absolute;
  z-index: 3;
  color: rgba(210, 192, 155, 0.44);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.22em;
  writing-mode: vertical-rl;
}

.stage-index {
  top: 9%;
  right: 3%;
}

.stage-caption {
  bottom: 9%;
  left: 3%;
  transform: rotate(180deg);
}

.about-section {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(100% - 72px, 1500px);
  margin: 0 auto;
  grid-template-columns: minmax(280px, 0.58fr) minmax(0, 1fr);
  gap: clamp(72px, 10vw, 170px);
  padding: clamp(112px, 13vw, 200px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 32px;
}

.about-section::before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  content: "";
  background:
    linear-gradient(90deg, rgba(188, 126, 27, 0.025), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 42%);
  transform: translateX(-50%);
}

.about-heading {
  position: relative;
  align-self: start;
}

.section-index {
  display: block;
  margin-bottom: 42px;
  color: rgba(224, 176, 56, 0.3);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
}

.section-eyebrow {
  margin: 0 0 22px;
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
}

.about-title {
  margin: 0;
  color: #e5dbc8;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  font-size: clamp(38px, 3.5vw, 60px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.28;
}

.about-title span {
  display: block;
}

[data-language="en"] .about-title {
  font-family: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  font-size: clamp(36px, 3.2vw, 56px);
  font-weight: 400;
  line-height: 1.08;
}

.about-signature {
  max-width: 220px;
  margin: 44px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(216, 164, 42, 0.24);
  color: #5e574b;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.18em;
  line-height: 1.8;
}

.about-copy {
  max-width: 860px;
  padding-left: clamp(26px, 4vw, 62px);
  border-left: 1px solid rgba(218, 178, 76, 0.18);
  animation: copy-in 650ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.about-copy p {
  margin: 0;
  color: #a79e8e;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 400;
  letter-spacing: 0.045em;
  line-height: 2.15;
  text-align: justify;
}

.about-copy p:first-child {
  color: #c9bdac;
  font-size: clamp(18px, 1.48vw, 22px);
}

.about-copy p + p {
  margin-top: 2.15em;
}

[data-language="en"] .about-copy p {
  color: #9f9789;
  font-family: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  font-size: clamp(17px, 1.2vw, 19px);
  letter-spacing: 0.012em;
  line-height: 1.85;
  text-align: left;
}

[data-language="en"] .about-copy p:first-child {
  color: #c6baa7;
  font-size: clamp(19px, 1.4vw, 22px);
}

.site-footer {
  position: relative;
  z-index: 10;
  display: grid;
  width: min(100% - 72px, 1500px);
  min-height: 98px;
  margin: 0 auto;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 1px solid var(--line);
  color: #70695d;
  font-size: 10px;
  letter-spacing: 0.2em;
}

.project {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.project span {
  color: #625c51;
}

.project strong {
  color: #b6a98f;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.site-footer > p {
  margin: 0;
}

.copyright {
  justify-self: end;
}

@keyframes copy-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes stage-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.94);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.08);
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 78px;
  }

  .site-shell {
    min-height: 100svh;
    overflow: auto;
  }

  .site-header,
  .hero,
  .about-section,
  .site-footer {
    width: min(100% - 40px, 680px);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 58px 0 54px;
  }

  .hero-copy {
    text-align: center;
  }

  .eyebrow {
    justify-content: center;
  }

  .hero-title,
  [data-language="en"] .hero-title {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-description {
    max-width: none;
    margin-top: 28px;
    padding-left: 0;
    border-left: 0;
  }

  .about-link {
    margin-top: 32px;
  }

  .brand-stage {
    width: min(100%, 540px);
    justify-self: center;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 52px;
    padding: 92px 0 100px;
  }

  .about-heading {
    max-width: 520px;
  }

  .section-index {
    margin-bottom: 28px;
  }

  .about-copy {
    max-width: none;
    padding-left: 28px;
  }

  .site-footer {
    min-height: 120px;
    grid-template-columns: 1fr auto;
    gap: 18px;
  }

  .site-footer > p:not(.copyright) {
    display: none;
  }
}

@media (max-width: 520px) {
  .site-header,
  .hero,
  .about-section,
  .site-footer {
    width: calc(100% - 32px);
  }

  .wordmark {
    gap: 9px;
    font-size: 9px;
    letter-spacing: 0.18em;
  }

  .wordmark-glyph {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .language-switcher {
    gap: 8px;
  }

  .hero {
    gap: 38px;
    padding: 48px 0 40px;
  }

  .eyebrow {
    margin-bottom: 22px;
    font-size: 9px;
  }

  .hero-title {
    font-size: clamp(43px, 13.8vw, 64px);
    line-height: 1.12;
  }

  [data-language="en"] .hero-title {
    font-size: clamp(39px, 11.8vw, 57px);
  }

  .hero-description {
    font-size: 13px;
    line-height: 1.7;
  }

  .about-link {
    margin-top: 26px;
  }

  .brand-stage {
    max-width: 440px;
  }

  .stage-corner {
    width: 44px;
    height: 44px;
  }

  .about-section {
    gap: 38px;
    padding: 76px 0 80px;
  }

  .about-title {
    font-size: 38px;
  }

  [data-language="en"] .about-title {
    font-size: 36px;
  }

  .about-signature {
    margin-top: 30px;
  }

  .about-copy {
    padding-left: 18px;
  }

  .about-copy p,
  .about-copy p:first-child,
  [data-language="en"] .about-copy p,
  [data-language="en"] .about-copy p:first-child {
    font-size: 15px;
  }

  .about-copy p {
    line-height: 2;
  }

  .site-footer {
    min-height: 92px;
  }

  .project {
    display: grid;
    gap: 6px;
  }
}

@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;
  }
}
