/* =========================================================
   八比特工作室 · 8BIT STUDIO
   Direction A — Cinematic / Editorial
   ========================================================= */

@font-face {
  font-family: "8bit Serif";
  src: url("../assets/fonts/8bit-serif.woff2?v=2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #08080a;
  --ink-2: #0b0b0d;
  --ink-3: #101013;
  --cream: #f2eee4;
  --paper: #efe9dd;
  --paper-2: #e7dfd1;
  --text-dark: #12120f;
  --muted: #9d998f;
  --muted-2: #6f6c64;
  --gold: #c9a15a;
  --gold-bright: #dcb674;
  --gold-dark: #8d6a31;
  --line: rgba(242, 238, 228, 0.13);
  --line-strong: rgba(242, 238, 228, 0.24);
  --line-paper: rgba(18, 18, 15, 0.16);
  --serif: "8bit Serif", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, p, dl, dd, blockquote, figure {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--cream);
  color: var(--ink);
  font-size: 12px;
  transform: translateY(-200%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: none;
}

.shell {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 72px);
}

section[id] {
  scroll-margin-top: 96px;
}

#works-content,
#wishlist-content,
#community-content,
#studio-content {
  scroll-margin-top: 104px;
}

/* ---------- Shared type ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow > span {
  color: var(--gold);
  letter-spacing: 0.16em;
}

.eyebrow.dark {
  color: var(--gold-dark);
}

.eyebrow.dark > span {
  color: var(--gold-dark);
}

.pixel-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ---------- Buttons / links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: 1px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn-light {
  background: var(--cream);
  color: var(--ink);
}

.btn-light:hover {
  background: #fffdf7;
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--ink);
  color: var(--cream);
}

.btn-dark:hover {
  background: #1d1d18;
  transform: translateY(-2px);
}

.btn[disabled] {
  opacity: 0.5;
  cursor: wait;
  transform: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(242, 238, 228, 0.82);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.link-arrow > span {
  display: inline-block;
  transition: transform 0.4s var(--ease);
}

.link-arrow:hover {
  color: var(--cream);
  border-color: var(--gold);
}

.link-arrow:hover > span {
  transform: translateX(5px);
}

.link-arrow.gold {
  color: var(--gold-bright);
  border-color: rgba(201, 161, 90, 0.42);
}

.link-arrow.gold:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(8, 8, 10, 0.96);
  border-bottom-color: var(--line);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 32px;
}

.brand,
.header-actions {
  position: relative;
  z-index: 3;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}

.brand-word {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.1;
}

.brand-word b {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.brand-word span {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--gold);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 38px;
}

.site-nav a {
  position: relative;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(242, 238, 228, 0.62);
  transition: color 0.3s var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--cream);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.site-nav .nav-cta {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(242, 238, 228, 0.7);
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.header-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.header-link--taptap,
.header-link--taptap:hover {
  padding-bottom: 0;
  border-color: transparent;
  color: #00c4b4;
  opacity: 1;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.header-link--taptap:hover {
  opacity: 0.75;
  transform: translateY(-1px);
}

.site-header .header-link.header-link--taptap,
.theme-warm .site-header .header-link.header-link--taptap {
  color: #00c4b4;
}

.theme-warm .site-header .header-link.header-link--taptap:hover {
  color: #00b0a3;
}

.taptap-mark {
  display: block;
  width: 68px;
  height: 17px;
  background-color: currentColor;
  -webkit-mask-image: url("../assets/brand/taptap-wordmark.svg");
  mask-image: url("../assets/brand/taptap-wordmark.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 1px;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1px;
  background: var(--cream);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}

.nav-toggle span:first-child {
  top: 16px;
}

.nav-toggle span:last-child {
  top: 23px;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  top: 20px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  top: 20px;
  transform: rotate(-45deg);
}

/* Header switches to a paper theme over light sections */
.site-header.is-light {
  background: rgba(239, 233, 221, 0.97);
  border-bottom-color: rgba(18, 18, 15, 0.12);
}

.site-header.is-light .brand-word b {
  color: #12120f;
}

.site-header.is-light .brand-word span {
  color: var(--gold-dark);
}

.site-header.is-light .site-nav a {
  color: rgba(18, 18, 15, 0.62);
}

.site-header.is-light .site-nav a:hover,
.site-header.is-light .site-nav a.is-active {
  color: #12120f;
}

.site-header.is-light .site-nav a::after {
  background: var(--gold-dark);
}

.site-header.is-light .header-link {
  color: rgba(18, 18, 15, 0.64);
}

.site-header.is-light .header-link:hover {
  color: var(--gold-dark);
  border-color: var(--gold-dark);
}

.site-header.is-light .nav-toggle {
  border-color: rgba(18, 18, 15, 0.28);
}

.site-header.is-light .nav-toggle span {
  background: #12120f;
}

/* Keep the header dark while the full-screen menu is open */
body.nav-open .site-header {
  background: var(--ink);
  border-bottom-color: transparent;
}

body.nav-open .site-header .brand-word b {
  color: var(--cream);
}

body.nav-open .site-header .brand-word span {
  color: var(--gold);
}

body.nav-open .site-header .nav-toggle {
  border-color: var(--line-strong);
}

body.nav-open .site-header .nav-toggle span {
  background: var(--cream);
}

body.nav-open .site-header .site-nav a,
body.nav-open .site-header .site-nav a:hover,
body.nav-open .site-header .site-nav a.is-active {
  color: var(--cream);
}

body.nav-open .site-header .site-nav .nav-cta {
  color: var(--gold);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 150px 0 110px;
  overflow: hidden;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(0.82) contrast(1.04) brightness(0.76);
  transform: scale(1.06);
  animation: hero-image 2.2s var(--ease) forwards;
}

.hero-media-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(8, 8, 10, 0.94) 20%, rgba(8, 8, 10, 0.6) 46%, rgba(8, 8, 10, 0.12) 76%, rgba(8, 8, 10, 0.26) 100%),
    linear-gradient(180deg, rgba(8, 8, 10, 0.96) 0%, rgba(8, 8, 10, 0.84) 7%, rgba(8, 8, 10, 0.4) 17%, rgba(8, 8, 10, 0.05) 30%, rgba(8, 8, 10, 0) 62%, rgba(8, 8, 10, 0.94) 100%);
}

.hero-collage {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero-collage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(111, 69, 22, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 69, 22, 0.09) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  pointer-events: none;
}

.promo-streams {
  position: absolute;
  top: 21%;
  bottom: 8%;
  left: 10%;
  z-index: 4;
  display: grid;
  grid-template-columns: 1.75fr 1fr;
  gap: 28px;
  width: 88%;
  pointer-events: auto;
}

.promo-stream {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.promo-stream--images {
  background: var(--warm-bg);
  isolation: isolate;
}

.promo-stream--images::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    var(--warm-bg) 0%,
    var(--warm-bg) 6%,
    rgba(244, 238, 226, 0.75) 10%,
    rgba(244, 238, 226, 0) 16%,
    rgba(244, 238, 226, 0) 84%,
    rgba(244, 238, 226, 0.75) 90%,
    var(--warm-bg) 94%,
    var(--warm-bg) 100%
  );
}

.promo-stream--images .stream-track {
  transform: translate3d(0, -50%, 0);
}

.promo-stream--names {
  padding-left: clamp(24px, 3vw, 46px);
  border-left: 1px solid rgba(26, 22, 17, 0.16);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 2%, #000 92%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 2%, #000 92%, transparent 100%);
}

.promo-stream--names .stream-track {
  transform: translate3d(0, 0, 0);
}

.stream-track {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.stream-group {
  display: flex;
  flex-direction: column;
}

.stream-item {
  position: relative;
  margin: 0 0 22px;
  cursor: pointer;
  user-select: none;
  padding: 13px 22px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(180deg, #11151c 0%, #07090d 100%);
  box-shadow: 0 0 0 1px rgba(26, 22, 17, 0.5);
  transition: box-shadow 0.35s var(--ease);
}

.stream-item::before,
.stream-item::after {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  width: 7px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='24' viewBox='0 0 7 24'%3E%3Crect x='1' y='4' width='5' height='12' rx='1.5' fill='%23f2ead9'/%3E%3C/svg%3E");
  background-repeat: repeat-y;
  background-size: 7px 24px;
  opacity: 0.8;
  pointer-events: none;
}

.stream-item::before {
  left: 6px;
}

.stream-item::after {
  right: 6px;
}

.stream-item img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  transition: border-color 0.35s var(--ease), filter 0.35s var(--ease);
}

.stream-item:hover {
  box-shadow: 0 0 0 1px rgba(26, 22, 17, 0.6), 0 6px 14px rgba(74, 48, 12, 0.1);
}

.stream-item:hover img {
  border-color: rgba(242, 234, 217, 0.28);
  filter: brightness(1.04);
}

.name-item {
  display: grid;
  cursor: pointer;
  user-select: none;
  grid-template-columns: 2.1em minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  min-height: clamp(144px, 15vh, 210px);
  padding: 20px 0;
  border-bottom: 1px solid rgba(26, 22, 17, 0.14);
}

.name-no {
  grid-row: 1 / 3;
  padding-top: 7px;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--gold-dark);
}

.name-cn {
  overflow: hidden;
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 29px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--warm-text);
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}

.name-item:hover .name-cn {
  color: var(--gold-dark);
}

.name-en {
  margin-top: 7px;
  overflow: hidden;
  font-family: var(--sans);
  font-size: 7px;
  letter-spacing: 0.2em;
  color: rgba(26, 22, 17, 0.42);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-copy {
  max-width: 700px;
  transform: translateY(-48px);
  pointer-events: auto;
}

.hero-title {
  margin-top: 0;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4.5vw, 4.25rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.005em;
  color: var(--cream);
  white-space: nowrap;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.04em;
}

.hero-title .line > span {
  display: block;
  transform: translateY(108%);
  animation: line-rise 1.15s var(--ease) forwards;
}

.hero-title .line:nth-child(1) > span {
  animation-delay: 0.12s;
}

.hero-title .line:nth-child(2) > span {
  animation-delay: 0.24s;
}

.hero-title .line:nth-child(3) > span {
  animation-delay: 0.36s;
}

.hero-title em {
  font-style: normal;
  color: var(--gold);
}

.hero-title .pixel-ink {
  position: relative;
  display: inline-block;
}

.hero-title .pixel-blue {
  color: #4a9cf0;
  background: linear-gradient(100deg, #9be4ff 0%, #64c1ff 30%, #3187e7 66%, #1c51ad 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}



.hero-lede {
  max-width: 30em;
  margin-top: 34px;
  font-size: 14px;
  line-height: 2.2;
  color: rgba(242, 238, 228, 0.62);
}

.hero-points {
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}

.hero-points li {
  position: relative;
  padding-left: 1.15em;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0.08em;
  top: 0.96em;
  width: 0.28em;
  height: 0.28em;
  border-radius: 50%;
  background: #b87a24;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 42px;
}

.hero-actions .btn {
  width: 150px;
  height: 46px;
  padding: 0 22px;
  font-size: 13.5px;
}

.action-or {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: rgba(242, 238, 228, 0.42);
}

.hero-stats {
  display: flex;
  align-items: stretch;
  margin-top: 68px;
}

.hero-stats li {
  padding: 0 34px;
  border-left: 1px solid var(--line);
}

.hero-stats li:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--cream);
}

.hero-stats strong sup {
  font-size: 13px;
  color: var(--gold);
  vertical-align: super;
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(242, 238, 228, 0.42);
}

.scroll-cue {
  position: absolute;
  left: clamp(20px, 5vw, 72px);
  bottom: 44px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 8px;
  letter-spacing: 0.3em;
  color: rgba(242, 238, 228, 0.4);
  transition: color 0.3s var(--ease);
}

.scroll-cue > span {
  display: block;
  width: 1px;
  height: 36px;
  background: rgba(242, 238, 228, 0.24);
  animation: scroll-line 2.4s var(--ease) infinite;
}

.scroll-cue:hover {
  color: var(--gold);
}

@keyframes hero-image {
  from { transform: scale(1.1); }
  to { transform: scale(1.02); }
}

@keyframes line-rise {
  from { transform: translateY(108%); }
  to { transform: translateY(0); }
}

@keyframes scroll-line {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding: clamp(110px, 12vw, 180px) 0;
}

.works {
  padding-top: clamp(110px, 10vw, 160px);
  background: linear-gradient(180deg, #15120f 0%, #100e0c 100%);
  border-top: 1px solid rgba(201, 161, 90, 0.12);
}

.section-head {
  margin-bottom: clamp(56px, 7vw, 92px);
}

.section-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: clamp(30px, 5vw, 70px);
  margin-top: 28px;
}

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.4vw, 4rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: 0.005em;
}

.section-note {
  max-width: 360px;
  justify-self: end;
  font-size: 12.5px;
  line-height: 2;
  color: rgba(242, 238, 228, 0.5);
}

/* ---------- Works ---------- */

.work {
  display: grid;
  scroll-margin-top: 100px;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: stretch;
  gap: clamp(44px, 6vw, 90px);
  margin-bottom: clamp(100px, 10vw, 150px);
}

.work:last-of-type {
  margin-bottom: 0;
}

.work-reverse .work-media {
  order: 2;
}

.work-media {
  position: relative;
  height: auto;
  min-height: clamp(320px, 28vw, 420px);
  overflow: hidden;
  border: 1px solid rgba(201, 161, 90, 0.1);
  border-radius: clamp(16px, 1.5vw, 22px);
  background:
    radial-gradient(120% 90% at 18% 0%, #1d1914 0%, #14110d 52%, #0c0a08 100%);
  isolation: isolate;
}

.work-index {
  position: absolute;
  top: 18px;
  right: 26px;
  z-index: 3;
  font-family: var(--serif);
  font-size: clamp(64px, 7vw, 98px);
  font-weight: 500;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 238, 228, 0.18);
  user-select: none;
}

.work-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 7, 6, 0.62) 0%, transparent 22%, transparent 78%, rgba(8, 7, 6, 0.62) 100%),
    radial-gradient(120% 120% at 50% 50%, transparent 52%, rgba(5, 4, 3, 0.46) 100%);
}

.media-reel {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

.media-track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  animation: media-reel-scroll var(--reel-duration, 48s) linear infinite;
  will-change: transform;
}

.work-reverse .media-track {
  animation-direction: reverse;
}

.media-reel:hover .media-track,
.media-reel:focus-within .media-track {
  animation-play-state: paused;
}

.reel-item {
  flex: 0 0 auto;
  height: 84%;
  margin-right: clamp(14px, 1.5vw, 22px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid rgba(242, 238, 228, 0.17);
  border-radius: 12px;
  background: #050506;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.55);
  cursor: zoom-in;
  transition: transform 0.6s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.reel-item:hover,
.reel-item:focus-visible {
  transform: scale(1.025);
  border-color: rgba(201, 161, 90, 0.5);
  box-shadow: 0 30px 68px rgba(0, 0, 0, 0.7);
  outline: none;
}

.reel-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-reel-label {
  position: absolute;
  top: 18px;
  left: 22px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 5px;
  border: 1px solid rgba(201, 161, 90, 0.34);
  background: rgba(10, 9, 8, 0.5);
  color: rgba(242, 238, 228, 0.82);
  font-size: 8px;
  letter-spacing: 0.2em;
  line-height: 1;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.media-reel-label i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c9a15a;
  box-shadow: 0 0 9px rgba(201, 161, 90, 0.8);
  animation: media-reel-pulse 2.4s ease-in-out infinite;
}

@keyframes media-reel-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes media-reel-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

.work-body {
  align-self: center;
  max-width: 520px;
}

.work-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.work-date {
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: rgba(242, 238, 228, 0.36);
}

.work h3 {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.work h3 em {
  display: block;
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 8.5px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: rgba(242, 238, 228, 0.38);
}

.work-desc {
  max-width: 460px;
  margin-top: 26px;
  font-size: 14px;
  line-height: 2;
  color: rgba(242, 238, 228, 0.6);
}

.work-tags {
  margin-top: 24px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(242, 238, 228, 0.38);
}

.work-tags span {
  margin: 0 10px;
  color: var(--gold);
  opacity: 0.7;
}

.work-facts {
  display: flex;
  margin-top: 34px;
  padding: 19px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.work-facts div {
  padding-right: 30px;
  margin-right: 30px;
  border-right: 1px solid var(--line);
}

.work-facts div:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: 0;
}

.work-facts dt {
  font-size: 8.5px;
  letter-spacing: 0.2em;
  color: rgba(242, 238, 228, 0.32);
}

.work-facts dd {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(242, 238, 228, 0.86);
}

.work-body > .link-arrow {
  margin-top: 36px;
}

/* ---------- In development ---------- */

.dev-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-top: clamp(100px, 11vw, 150px);
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.dev-head .section-note {
  max-width: 320px;
}

.dev-list {
  margin-top: 34px;
}

.dev-row {
  position: relative;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 100px 120px 100px;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  transition: background-color 0.4s var(--ease);
}

.dev-row:last-child {
  border-bottom: 1px solid var(--line);
}

.dev-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 0;
  background: var(--gold);
  transition: height 0.5s var(--ease);
}

.dev-row:hover {
  background: rgba(242, 238, 228, 0.025);
}

.dev-row:hover::before {
  height: 100%;
}

.dev-no {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.dev-name h3 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.25;
  transition: transform 0.5s var(--ease);
}

.dev-row:hover .dev-name h3 {
  transform: translateX(6px);
}

.dev-name em {
  display: block;
  margin-top: 6px;
  font-family: var(--sans);
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.26em;
  color: rgba(242, 238, 228, 0.34);
}

.dev-genre {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(242, 238, 228, 0.5);
}

.dev-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(242, 238, 228, 0.38);
}

.dev-status::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.dev-status.is-review {
  color: var(--gold);
}

.dev-status.is-open {
  color: var(--gold);
  letter-spacing: 0.12em;
}

.dev-thumb {
  width: 88px;
  aspect-ratio: 4 / 5;
  justify-self: end;
  overflow: hidden;
  opacity: 0.5;
  filter: grayscale(0.4) brightness(0.72);
  transition: opacity 0.5s var(--ease), filter 0.5s var(--ease), transform 0.6s var(--ease);
}

.dev-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dev-row:hover .dev-thumb {
  opacity: 1;
  filter: none;
  transform: scale(1.05);
}

.dev-row-next {
  cursor: pointer;
}

.dev-row-next .dev-name h3 {
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
}

.dev-row-next .dev-name em {
  color: rgba(242, 238, 228, 0.28);
}

.dev-row-next .dev-status.is-open {
  font-size: 9.5px;
}

/* ---------- Wishlist / paper ---------- */

.on-paper {
  background: var(--paper);
  color: var(--text-dark);
}

.on-paper .eyebrow,
.on-paper .eyebrow > span {
  color: var(--gold-dark);
}

.on-paper .section-head h2 {
  color: var(--text-dark);
}

.on-paper .section-note {
  color: rgba(18, 18, 15, 0.6);
}

.wishlist {
  position: relative;
  padding: clamp(110px, 12vw, 170px) 0;
}

.wish-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: start;
  gap: clamp(50px, 7vw, 100px);
  margin-top: clamp(56px, 7vw, 88px);
}

.wish-side {
  padding-right: clamp(30px, 4vw, 60px);
  border-right: 1px solid var(--line-paper);
}

.steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--line-paper);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line-paper);
}

.step-no {
  padding-top: 2px;
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
}

.steps h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-dark);
}

.steps p {
  margin-top: 7px;
  font-size: 12.5px;
  line-height: 1.9;
  color: rgba(18, 18, 15, 0.58);
}

.wish-note {
  margin-top: 34px;
  font-size: 11.5px;
  line-height: 1.9;
  color: rgba(18, 18, 15, 0.55);
}

.wish-note strong {
  font-weight: 600;
  color: var(--text-dark);
}

.wish-form {
  position: relative;
}

.form-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-dark);
}

.form-title span {
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.26em;
  color: var(--gold-dark);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 26px;
}

.field label {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(18, 18, 15, 0.7);
}

.req {
  color: #a33b2e;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 9px 0 11px;
  border: 0;
  border-bottom: 1px solid rgba(18, 18, 15, 0.3);
  border-radius: 0;
  background: transparent;
  color: var(--text-dark);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  transition: border-color 0.3s var(--ease);
}

.field textarea {
  min-height: 92px;
  resize: vertical;
  line-height: 1.75;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(18, 18, 15, 0.32);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold-dark);
}

.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid {
  border-bottom-color: #a33b2e;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 4px;
  width: 6px;
  height: 6px;
  border-right: 1px solid rgba(18, 18, 15, 0.5);
  border-bottom: 1px solid rgba(18, 18, 15, 0.5);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 22px;
  cursor: pointer;
}

.field select option {
  background: var(--paper);
  color: var(--text-dark);
}

.field-hint {
  align-self: flex-end;
  margin-top: -2px;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(18, 18, 15, 0.38);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 4px 0 26px;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.check input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.check-box {
  flex-shrink: 0;
  position: relative;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border: 1px solid rgba(18, 18, 15, 0.38);
  background: transparent;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.check input:checked + .check-box {
  background: var(--text-dark);
  border-color: var(--text-dark);
}

.check input:checked + .check-box::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border-right: 1.5px solid var(--cream);
  border-bottom: 1.5px solid var(--cream);
  transform: rotate(42deg);
}

.check input:focus-visible + .check-box {
  outline: 1px solid var(--gold-dark);
  outline-offset: 3px;
}

.check-text {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(18, 18, 15, 0.68);
}

.check-text small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  color: rgba(18, 18, 15, 0.42);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.form-privacy {
  max-width: 280px;
  font-size: 9.5px;
  line-height: 1.7;
  color: rgba(18, 18, 15, 0.42);
}

.btn-submit {
  min-width: 156px;
}

.form-status {
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.7;
}

.form-status.is-success,
.form-status.is-error {
  padding: 12px 16px;
  border-left: 2px solid;
}

.form-status.is-success {
  border-color: #3e6b4f;
  background: rgba(62, 107, 79, 0.08);
  color: #2f5a41;
}

.form-status.is-error {
  border-color: #a33b2e;
  background: rgba(163, 59, 46, 0.07);
  color: #8f2f24;
}

/* ---------- Wish wall ---------- */

.wall {
  margin-top: clamp(80px, 9vw, 120px);
  padding-top: 42px;
  border-top: 1px solid var(--line-paper);
}

.wall-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.wall-head h3 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  color: var(--text-dark);
}

.wall-head h3 span {
  margin-left: 12px;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.26em;
  color: var(--gold-dark);
}

.wall-head p {
  font-size: 10px;
  color: rgba(18, 18, 15, 0.45);
}

.wish-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}

.wish-card {
  display: flex;
  flex-direction: column;
  padding-top: 22px;
  border-top: 1px solid var(--line-paper);
}

.quote-mark {
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1;
  color: var(--gold-dark);
  opacity: 0.55;
}

.wish-card h4 {
  margin-top: 8px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text-dark);
}

.wish-card p {
  flex: 1;
  margin: 10px 0 18px;
  font-size: 12.5px;
  line-height: 1.85;
  color: rgba(18, 18, 15, 0.6);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wish-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wish-genre {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
}

.wish-author {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: rgba(18, 18, 15, 0.42);
}

.sample-chip {
  padding: 1px 5px;
  border: 1px solid var(--line-paper);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.wall-empty,
.wall-loading {
  grid-column: 1 / -1;
  padding: 28px 0;
  border-top: 1px solid var(--line-paper);
  font-size: 12px;
  color: rgba(18, 18, 15, 0.45);
}

/* ---------- Community ---------- */

.community {
  position: relative;
  padding: clamp(120px, 13vw, 180px) 0;
  overflow: hidden;
  background:
    radial-gradient(700px 520px at 86% 12%, rgba(201, 161, 90, 0.08), transparent 66%),
    radial-gradient(700px 560px at 100% 92%, rgba(96, 128, 200, 0.08), transparent 70%),
    #0a0e17;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.community-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
}

.community-copy h2 {
  margin-top: 28px;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 4.6vw, 4.6rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.005em;
}

.community-copy h2 em {
  font-style: normal;
  color: var(--gold);
}

.community-lede {
  max-width: 400px;
  margin-top: 28px;
  font-size: 14px;
  line-height: 2;
  color: rgba(242, 238, 228, 0.58);
}

.soon-label {
  display: inline-block;
  margin-top: 36px;
  padding: 9px 0;
  border-top: 1px solid rgba(201, 161, 90, 0.55);
  border-bottom: 1px solid rgba(201, 161, 90, 0.55);
  font-size: 8.5px;
  letter-spacing: 0.3em;
  color: var(--gold);
}

.community-list {
  border-top: 1px solid var(--line);
}

.module {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 70px;
  align-items: start;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.module > span {
  padding-top: 3px;
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.module h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.module p {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.9;
  color: rgba(242, 238, 228, 0.52);
}

.module em {
  padding-top: 4px;
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.16em;
  color: rgba(242, 238, 228, 0.32);
  text-align: right;
}

.community-link {
  margin-top: 36px;
}

/* ---------- Studio ---------- */

.studio {
  padding-top: clamp(130px, 14vw, 190px);
  padding-bottom: clamp(120px, 12vw, 170px);
}

.studio-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: start;
  gap: clamp(50px, 7vw, 100px);
  margin-top: 68px;
}

.studio-quote p {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.2vw, 3.9rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0.005em;
}

.studio-quote em {
  font-style: normal;
  color: var(--gold);
}

.studio-quote cite {
  display: block;
  margin-top: 26px;
  font-family: var(--sans);
  font-size: 8.5px;
  font-style: normal;
  letter-spacing: 0.28em;
  color: rgba(242, 238, 228, 0.34);
}

.studio-body > p {
  font-size: 14px;
  line-height: 2.05;
  color: rgba(242, 238, 228, 0.6);
}

.studio-body > p + p {
  margin-top: 20px;
}

.studio-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 28px;
  margin-top: 42px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.studio-facts dt {
  font-size: 8.5px;
  letter-spacing: 0.2em;
  color: rgba(242, 238, 228, 0.32);
}

.studio-facts dd {
  margin-top: 6px;
  font-size: 12.5px;
  color: rgba(242, 238, 228, 0.86);
}

.principles {
  margin-top: clamp(90px, 10vw, 120px);
  border-top: 1px solid var(--line);
}

.principle {
  display: grid;
  grid-template-columns: 70px 220px minmax(0, 1fr);
  align-items: baseline;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.4s var(--ease);
}

.principle:hover {
  background: rgba(242, 238, 228, 0.02);
}

.principle > span {
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.principle h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.principle p {
  font-size: 12.5px;
  line-height: 1.9;
  color: rgba(242, 238, 228, 0.52);
}

/* Sand block: studio */
.on-sand {
  background: #e4d9c6;
  color: #16140f;
}

.on-sand .eyebrow,
.on-sand .eyebrow > span {
  color: #7c5724;
}

.on-sand .studio-quote em {
  color: #8a5e2a;
}

.on-sand .studio-quote cite {
  color: rgba(22, 20, 15, 0.46);
}

.on-sand .studio-body > p {
  color: rgba(22, 20, 15, 0.64);
}

.on-sand .studio-facts {
  border-top-color: rgba(22, 20, 15, 0.18);
}

.on-sand .studio-facts dt {
  color: rgba(22, 20, 15, 0.44);
}

.on-sand .studio-facts dd {
  color: rgba(22, 20, 15, 0.9);
}

.on-sand .principles {
  border-top-color: rgba(22, 20, 15, 0.18);
}

.on-sand .principle {
  border-bottom-color: rgba(22, 20, 15, 0.18);
}

.on-sand .principle:hover {
  background: rgba(22, 20, 15, 0.035);
}

.on-sand .principle > span {
  color: #7c5724;
}

.on-sand .principle p {
  color: rgba(22, 20, 15, 0.6);
}

/* Studio — expanded layout */

.studio-lead {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

@media (min-width: 901px) {
  .studio-lead {
    position: sticky;
    top: 132px;
    align-self: start;
  }
}

.studio-stamp {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 8.5px;
  letter-spacing: 0.24em;
  color: rgba(22, 20, 15, 0.42);
}

.studio-stamp::before {
  content: "";
  width: 36px;
  height: 1px;
  background: rgba(22, 20, 15, 0.3);
}

.studio-kicker {
  margin-bottom: 22px;
  font-size: 9px;
  letter-spacing: 0.24em;
  color: #7c5724;
}

.studio-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(64px, 7vw, 92px);
  border-top: 1px solid rgba(22, 20, 15, 0.18);
  border-bottom: 1px solid rgba(22, 20, 15, 0.18);
}

.studio-metrics li {
  padding: 28px 0 30px 30px;
  border-left: 1px solid rgba(22, 20, 15, 0.14);
}

.studio-metrics li:first-child {
  padding-left: 0;
  border-left: 0;
}

.studio-metrics strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
}

.studio-metrics strong em {
  margin-left: 3px;
  font-family: var(--sans);
  font-size: 0.32em;
  font-style: normal;
  letter-spacing: 0.12em;
  color: #8a5e2a;
}

.studio-metrics span {
  display: block;
  margin-top: 12px;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(22, 20, 15, 0.5);
}

.studio-block {
  margin-top: clamp(80px, 9vw, 116px);
}

.studio-block-head {
  display: grid;
  grid-template-columns: 70px 260px minmax(0, 1fr);
  align-items: baseline;
  gap: 24px;
  margin-bottom: 28px;
}

.studio-block-head > span {
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #7c5724;
}

.studio-block-head h3 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.1vw, 1.75rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.studio-block-head p {
  justify-self: end;
  max-width: 360px;
  font-size: 12px;
  line-height: 1.9;
  text-align: right;
  color: rgba(22, 20, 15, 0.55);
}

.milestones {
  border-top: 1px solid rgba(22, 20, 15, 0.18);
}

.milestone {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  align-items: start;
  gap: 30px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(22, 20, 15, 0.14);
  transition: background-color 0.4s var(--ease);
}

.milestone:hover {
  background: rgba(22, 20, 15, 0.035);
}

.milestone time {
  padding-top: 5px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(22, 20, 15, 0.42);
  transition: color 0.4s var(--ease);
}

.milestone:hover time {
  color: #7c5724;
}

.milestone h4 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.milestone h4 em {
  margin-left: 10px;
  font-family: var(--sans);
  font-size: 8.5px;
  font-style: normal;
  letter-spacing: 0.2em;
  color: #8a5e2a;
}

.milestone p {
  margin-top: 7px;
  font-size: 12.5px;
  line-height: 1.95;
  color: rgba(22, 20, 15, 0.6);
}

.milestone-tag {
  align-self: center;
  padding: 6px 13px;
  border: 1px solid rgba(22, 20, 15, 0.22);
  border-radius: 999px;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  white-space: nowrap;
  color: rgba(22, 20, 15, 0.55);
}

.studio-block .principles {
  margin-top: 0;
}

.studio-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: clamp(64px, 7vw, 92px);
  padding-top: 30px;
  border-top: 1px solid rgba(22, 20, 15, 0.18);
}

.studio-note p {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(22, 20, 15, 0.78);
}

.studio-note-links {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 80px 0 30px;
  background: #050506;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-nav {
  display: flex;
  gap: 28px;
}

.footer-nav a {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: rgba(242, 238, 228, 0.55);
  transition: color 0.3s var(--ease);
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(242, 238, 228, 0.42);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-wordmark {
  margin: 80px 0 40px;
  font-family: var(--serif);
  font-size: clamp(7rem, 23vw, 20rem);
  font-weight: 500;
  line-height: 0.78;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 238, 228, 0.22);
  user-select: none;
  white-space: nowrap;
}

.footer-wordmark span {
  color: var(--gold);
  -webkit-text-stroke: 0;
  opacity: 0.92;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: rgba(242, 238, 228, 0.32);
}

/* ---------- Lightbox ---------- */

.lightbox {
  max-width: 100vw;
  max-height: 100vh;
  padding: 0;
  border: 0;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(4, 4, 5, 0.95);
  backdrop-filter: blur(8px);
}

.lightbox-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 30px;
}

.lightbox img {
  max-width: min(92vw, 560px);
  max-height: 86vh;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #050506;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  background: rgba(8, 8, 10, 0.6);
  color: var(--cream);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.lightbox-close:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.lightbox-nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: rgba(242, 238, 228, 0.7);
  font-size: 16px;
  cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.lightbox-nav:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.lightbox-count {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(242, 238, 228, 0.45);
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.noscript {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  padding: 12px 20px;
  background: var(--gold);
  color: var(--ink);
  font-size: 12px;
  text-align: center;
}

::-webkit-scrollbar {
  width: 16px;
  height: 16px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
}

::-webkit-scrollbar-thumb {
  border: 4px solid transparent;
  border-radius: 999px;
  background: rgba(201, 161, 90, 0.6);
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(220, 182, 116, 0.9);
  background-clip: content-box;
}

::-webkit-scrollbar-corner {
  background: transparent;
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .hero-media {
    width: 68%;
  }

  .hero-copy {
    max-width: 640px;
  }

  .section-title-row {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .work {
    gap: clamp(40px, 5vw, 64px);
  }

  .community-inner {
    gap: 70px;
  }
}

@media (max-width: 1024px) {
  .header-inner {
    height: 80px;
  }

  .site-nav {
    gap: 26px;
  }

  .hero-media {
    width: 72%;
  }

  .work-media {
    height: auto;
    min-height: 320px;
  }

  .work-index {
    font-size: 70px;
  }

  .work h3 {
    font-size: 2.2rem;
  }

  .work-facts div {
    padding-right: 22px;
    margin-right: 22px;
  }

  .dev-row {
    grid-template-columns: 70px minmax(0, 1fr) 90px 110px 82px;
    gap: 18px;
  }

  .dev-thumb {
    width: 78px;
  }

  .wish-grid {
    gap: 50px;
  }

  .wish-side {
    padding-right: 34px;
  }

  .studio-grid {
    gap: 50px;
  }
}

@media (max-width: 900px) {
  .header-inner {
    height: 76px;
  }

  .header-link {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 108px clamp(24px, 6vw, 48px) 40px;
    overflow-y: auto;
    background: var(--ink);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.6s var(--ease), opacity 0.5s var(--ease), visibility 0.6s;
  }

  .site-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  body.nav-open {
    overflow: hidden;
  }

  .site-nav a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--cream);
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav .nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    padding: 14px 18px;
    border: 1px solid rgba(201, 161, 90, 0.5);
    font-family: var(--sans);
    font-size: 10px;
    letter-spacing: 0.18em;
    color: var(--gold);
  }

  .hero {
    padding: 130px 0 96px;
  }

  .hero-media {
    width: 100%;
  }

  .hero-media img {
    object-position: 50% 45%;
    filter: blur(2px) saturate(0.72) contrast(1.04) brightness(0.52);
  }

  .hero-media-shade {
    background:
      linear-gradient(180deg, rgba(8, 8, 10, 0.9) 0%, rgba(8, 8, 10, 0.68) 30%, rgba(8, 8, 10, 0.8) 60%, rgba(8, 8, 10, 0.99) 100%),
      linear-gradient(90deg, rgba(8, 8, 10, 0.94) 0%, rgba(8, 8, 10, 0.48) 62%, rgba(8, 8, 10, 0.7) 100%);
  }

  .hero-copy {
    max-width: 640px;
    transform: translateY(-36px);
  }

  .hero-caption,
  .scroll-cue {
    display: none;
  }

  .section-title-row {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

  .section-note {
    justify-self: start;
    max-width: 440px;
  }

  .work {
    grid-template-columns: 1fr;
    gap: 38px;
    margin-bottom: 100px;
  }

  .work-reverse .work-media {
    order: 0;
  }

  .work-media {
    height: clamp(440px, 68vw, 560px);
  }

  .work-body {
    max-width: 620px;
  }

  .dev-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .dev-row {
    grid-template-columns: 60px minmax(0, 1fr) 90px 110px 84px;
  }

  .wish-grid {
    grid-template-columns: 1fr;
  }

  .wish-side {
    padding-right: 0;
    border-right: 0;
  }

  .wish-wall {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }

  .community-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .community-lede {
    max-width: 520px;
  }

  .studio-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .studio-body {
    max-width: 640px;
  }

  .studio-block-head {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .studio-block-head p {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }

  .milestone {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 12px 24px;
  }

  .milestone-tag {
    grid-column: 2;
    justify-self: start;
  }

  .principle {
    grid-template-columns: 50px 180px minmax(0, 1fr);
  }

  .footer-wordmark {
    margin: 60px 0 30px;
  }
}

@media (max-width: 680px) {
  .shell {
    padding: 0 20px;
  }

  .header-inner {
    height: 68px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-word b {
    font-size: 12px;
  }

  .brand-word span {
    font-size: 7.5px;
  }

  .site-nav {
    padding-top: 96px;
  }

  .hero {
    padding: 108px 0 78px;
  }

  .hero-copy {
    transform: translateY(-28px);
  }

  .hero-title {
    margin-top: 0;
    font-size: clamp(1.95rem, 8.8vw, 2.3rem);
    line-height: 1.4;
  }

  .hero-lede {
    margin-top: 24px;
    font-size: 12.5px;
    line-height: 2.1;
  }

  .hero-actions {
    gap: 12px;
    margin-top: 30px;
  }

  .hero-actions .btn {
    flex: 0 0 auto;
    width: 120px;
    height: 44px;
    padding: 0 17px;
    font-size: 12.5px;
  }

  .btn {
    height: 48px;
    padding: 0 22px;
    font-size: 11px;
  }

  .link-arrow {
    font-size: 11px;
    gap: 10px;
  }

  .hero-stats {
    margin-top: 46px;
  }

  .hero-stats li {
    padding: 0 16px;
  }

  .hero-stats strong {
    font-size: 24px;
  }

  .hero-stats span {
    font-size: 7.5px;
    letter-spacing: 0.12em;
  }

  .section {
    padding: 90px 0;
  }

  .works {
    padding-top: 90px;
  }

  .section-head {
    margin-bottom: 46px;
  }

  .section-head h2 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .section-title-row {
    margin-top: 20px;
  }

  .section-note {
    font-size: 12px;
    line-height: 1.9;
  }

  .work {
    margin-bottom: 84px;
    gap: 30px;
  }

  .work-media {
    height: 420px;
  }

  .work-index {
    top: 14px;
    right: 16px;
    font-size: 60px;
  }

  .work h3 {
    font-size: 2rem;
  }

  .work-desc {
    margin-top: 20px;
    font-size: 13px;
  }

  .work-tags {
    font-size: 9px;
  }

  .work-facts {
    flex-wrap: wrap;
    gap: 18px;
    padding: 16px 0;
  }

  .work-facts div {
    padding-right: 0;
    margin-right: 0;
    border-right: 0;
  }

  .work-facts dd {
    font-size: 11.5px;
  }

  .work-body > .link-arrow {
    margin-top: 28px;
  }

  .dev-head {
    margin-top: 90px;
    padding-top: 30px;
  }

  .dev-list {
    margin-top: 26px;
  }

  .dev-row {
    grid-template-columns: 36px minmax(0, 1fr) 64px;
    grid-template-areas:
      "no name thumb"
      "no status thumb";
    align-items: start;
    gap: 12px 14px;
    padding: 20px 0;
  }

  .dev-no {
    grid-area: no;
    padding-top: 5px;
  }

  .dev-name {
    grid-area: name;
  }

  .dev-name h3 {
    font-size: 1.35rem;
  }

  .dev-name em {
    margin-top: 5px;
    font-size: 7.5px;
  }

  .dev-genre {
    display: none;
  }

  .dev-status {
    grid-area: status;
    justify-self: start;
    margin-top: 2px;
  }

  .dev-thumb {
    grid-area: thumb;
    width: 60px;
    align-self: center;
  }

  .dev-row-next .dev-name h3 {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .dev-row-next .dev-status {
    font-size: 8.5px;
  }

  .wish-grid {
    margin-top: 48px;
    gap: 44px;
  }

  .steps li {
    padding: 20px 0;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-footer {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 18px;
  }

  .btn-submit {
    width: 100%;
  }

  .form-privacy {
    max-width: none;
    text-align: center;
  }

  .wall {
    margin-top: 72px;
    padding-top: 32px;
  }

  .wall-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .wall-head h3 {
    font-size: 22px;
  }

  .wish-wall {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .community {
    padding: 100px 0;
  }

  .community-copy h2 {
    font-size: 2.6rem;
  }

  .module {
    grid-template-columns: 28px minmax(0, 1fr) 58px;
    gap: 14px;
    padding: 22px 0;
  }

  .community-link {
    margin-top: 28px;
  }

  .studio {
    padding: 100px 0 90px;
  }

  .studio-grid {
    margin-top: 44px;
  }

  .studio-quote p {
    font-size: 2.1rem;
  }

  .studio-facts {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .studio-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .studio-metrics li {
    padding: 22px 0 24px 22px;
  }

  .studio-metrics li:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .studio-metrics li:nth-child(n + 3) {
    border-top: 1px solid rgba(22, 20, 15, 0.14);
  }

  .studio-block-head {
    display: block;
    margin-bottom: 20px;
  }

  .studio-block-head > span {
    display: inline-block;
    margin-bottom: 10px;
  }

  .studio-block-head h3 {
    margin-bottom: 8px;
  }

  .studio-block-head p {
    text-align: left;
  }

  .milestone {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px 0;
  }

  .milestone time {
    padding-top: 0;
  }

  .milestone-tag {
    grid-column: 1;
    justify-self: start;
  }

  .studio-note {
    flex-direction: column;
    align-items: flex-start;
  }

  .principle {
    display: block;
    padding: 24px 0;
  }

  .principle > span {
    display: inline-block;
    margin-bottom: 8px;
  }

  .principle h3 {
    margin-bottom: 6px;
    font-size: 19px;
  }

  .principle p {
    font-size: 12px;
  }

  .site-footer {
    padding: 60px 0 24px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .footer-nav {
    gap: 20px;
    flex-wrap: wrap;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer-wordmark {
    margin: 50px 0 26px;
    font-size: 32vw;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .lightbox-inner {
    padding: 12px;
  }

  .lightbox img {
    max-width: 92vw;
    max-height: 76vh;
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
  }

  .lightbox-nav {
    position: fixed;
    bottom: 20px;
    z-index: 3;
    background: rgba(8, 8, 10, 0.85);
  }

  .lightbox-prev {
    left: 20px;
  }

  .lightbox-next {
    right: 20px;
  }

  .lightbox-count {
    bottom: 28px;
  }

  .noscript {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .media-track {
    animation: none;
  }


  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hero-title .line > span {
    transform: none;
  }

  .hero-media img {
    transform: scale(1.02);
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   Warm theme — toggled by <html class="theme-warm">
   ========================================================= */

.theme-warm {
  --gold: #82551f;
  --gold-bright: #96652a;
  --gold-dark: #6f4516;
  --line: rgba(26, 22, 17, 0.14);
  --line-strong: rgba(26, 22, 17, 0.26);
  --warm-bg: #f4eee2;
  --warm-sand: #e9dfce;
  --warm-paper: #f8f3e9;
  --warm-clay: #d8c4a8;
  --warm-deep: #cbb89e;
  --warm-text: #1a1611;
}

.theme-warm body {
  background: var(--warm-bg);
  color: var(--warm-text);
}

.theme-warm body::after {
  opacity: 0.035;
  mix-blend-mode: multiply;
}

/* Header */

.theme-warm .site-header,
.theme-warm .site-header.is-scrolled,
.theme-warm .site-header.is-light {
  background: var(--warm-bg);
  border-bottom-color: rgba(26, 22, 17, 0.12);
  backdrop-filter: none;
}

.theme-warm .site-header .brand-word b {
  color: var(--warm-text);
}

.theme-warm .site-header .brand-word span {
  color: var(--gold-dark);
}

.theme-warm .site-header .site-nav a {
  color: rgba(26, 22, 17, 0.62);
}

.theme-warm .site-header .site-nav a:hover,
.theme-warm .site-header .site-nav a.is-active {
  color: var(--warm-text);
}

.theme-warm .site-header .site-nav a::after {
  background: var(--gold-dark);
}

.theme-warm .site-header .header-link {
  color: rgba(26, 22, 17, 0.64);
}

.theme-warm .site-header .header-link:hover {
  color: var(--gold-dark);
  border-color: var(--gold-dark);
}

.theme-warm .site-header .nav-toggle {
  border-color: rgba(26, 22, 17, 0.28);
}

.theme-warm .site-header .nav-toggle span {
  background: var(--warm-text);
}

/* Hero */

.theme-warm .hero {
  background: var(--warm-bg);
}

.theme-warm .hero-media img {
  filter: saturate(0.9) contrast(1.02) brightness(0.9) sepia(0.06);
}

.theme-warm .hero-media-shade {
  display: none;
  background:
    linear-gradient(90deg, var(--warm-bg) 0%, rgba(244, 238, 226, 0.99) 18%, rgba(244, 238, 226, 0.95) 38%, rgba(244, 238, 226, 0.88) 46%, rgba(244, 238, 226, 0.44) 56%, rgba(244, 238, 226, 0.08) 68%, rgba(244, 238, 226, 0.12) 100%),
    linear-gradient(180deg, rgba(244, 238, 226, 0.98) 0%, rgba(244, 238, 226, 0.6) 9%, rgba(244, 238, 226, 0) 30%, rgba(244, 238, 226, 0) 66%, var(--warm-bg) 100%);
}

.theme-warm .hero-title {
  color: var(--warm-text);
}

.theme-warm .hero-title em {
  color: var(--gold-dark);
}

.theme-warm .hero-lede {
  color: rgba(26, 22, 17, 0.66);
}

.theme-warm .hero-stats strong {
  color: var(--warm-text);
}

.theme-warm .hero-stats li {
  border-left-color: rgba(26, 22, 17, 0.16);
}

.theme-warm .hero-stats span {
  color: rgba(26, 22, 17, 0.5);
}

.theme-warm .hero-caption span {
  color: var(--gold-dark);
}

.theme-warm .hero-caption strong {
  color: var(--warm-text);
}

.theme-warm .hero-caption em {
  color: rgba(26, 22, 17, 0.55);
}

.theme-warm .scroll-cue {
  color: rgba(26, 22, 17, 0.48);
}

.theme-warm .scroll-cue > span {
  background: rgba(26, 22, 17, 0.28);
}

.theme-warm .btn-light {
  background: var(--warm-text);
  color: var(--warm-bg);
}

.theme-warm .btn-light:hover {
  background: #2a2119;
}

.theme-warm .action-or {
  color: rgba(26, 22, 17, 0.42);
}

.theme-warm .link-arrow {
  color: rgba(26, 22, 17, 0.78);
  border-bottom-color: rgba(26, 22, 17, 0.28);
}

.theme-warm .link-arrow:hover {
  color: var(--warm-text);
  border-color: var(--gold-dark);
}

.theme-warm .link-arrow.gold {
  color: var(--gold-dark);
  border-bottom-color: rgba(111, 69, 22, 0.45);
}

.theme-warm .link-arrow.gold:hover {
  color: var(--gold-dark);
}

/* Works */

.theme-warm .works {
  background: linear-gradient(180deg, #eae0cf 0%, #e5dac7 100%);
  border-top-color: rgba(111, 69, 22, 0.25);
}

.theme-warm .section-note {
  color: rgba(26, 22, 17, 0.6);
}

.theme-warm .work h3 {
  color: var(--warm-text);
}

.theme-warm .work h3 em {
  color: rgba(26, 22, 17, 0.45);
}

.theme-warm .work-desc {
  color: rgba(26, 22, 17, 0.65);
}

.theme-warm .work-tags {
  color: rgba(26, 22, 17, 0.55);
}

.theme-warm .work-tags span {
  color: var(--gold-dark);
}

.theme-warm .work-date {
  color: rgba(26, 22, 17, 0.45);
}

.theme-warm .work-facts {
  border-color: rgba(26, 22, 17, 0.16);
}

.theme-warm .work-facts div {
  border-color: rgba(26, 22, 17, 0.16);
}

.theme-warm .work-facts dt {
  color: rgba(26, 22, 17, 0.45);
}

.theme-warm .work-facts dd {
  color: rgba(26, 22, 17, 0.88);
}

.theme-warm .work-media {
  border-color: rgba(26, 22, 17, 0.22);
}

.theme-warm .status {
  color: var(--gold-dark);
}

.theme-warm .dev-head {
  border-top-color: rgba(26, 22, 17, 0.16);
}

.theme-warm .dev-list {
  border-top-color: rgba(26, 22, 17, 0.16);
}

.theme-warm .dev-row {
  border-top-color: rgba(26, 22, 17, 0.16);
}

.theme-warm .dev-row:last-child {
  border-bottom-color: rgba(26, 22, 17, 0.16);
}

.theme-warm .dev-row:hover {
  background: rgba(26, 22, 17, 0.035);
}

.theme-warm .dev-name h3 {
  color: var(--warm-text);
}

.theme-warm .dev-name em {
  color: rgba(26, 22, 17, 0.42);
}

.theme-warm .dev-genre {
  color: rgba(26, 22, 17, 0.58);
}

.theme-warm .dev-status {
  color: rgba(26, 22, 17, 0.42);
}

.theme-warm .dev-status.is-review,
.theme-warm .dev-status.is-open {
  color: var(--gold-dark);
}

.theme-warm .dev-thumb {
  opacity: 0.8;
  filter: grayscale(0.15) brightness(0.95);
}

/* Wishlist */

.theme-warm .on-paper {
  background: var(--warm-paper);
}

/* Community */

.theme-warm .community {
  background:
    radial-gradient(700px 520px at 86% 12%, rgba(111, 69, 22, 0.1), transparent 66%),
    radial-gradient(700px 560px at 100% 92%, rgba(111, 69, 22, 0.06), transparent 70%),
    var(--warm-clay);
  border-color: rgba(26, 22, 17, 0.14);
}

.theme-warm .community-copy h2 {
  color: var(--warm-text);
}

.theme-warm .community-copy h2 em {
  color: var(--gold-dark);
}

.theme-warm .community-lede {
  color: rgba(26, 22, 17, 0.66);
}

.theme-warm .soon-label {
  color: var(--gold-dark);
  border-color: rgba(111, 69, 22, 0.45);
}

.theme-warm .community-list {
  border-top-color: rgba(26, 22, 17, 0.18);
}

.theme-warm .module {
  border-bottom-color: rgba(26, 22, 17, 0.18);
}

.theme-warm .module > span {
  color: var(--gold-dark);
}

.theme-warm .module h3 {
  color: var(--warm-text);
}

.theme-warm .module p {
  color: rgba(26, 22, 17, 0.62);
}

.theme-warm .module em {
  color: rgba(26, 22, 17, 0.45);
}

/* Studio */

.theme-warm .on-sand {
  background: #e3d6c1;
}

/* Footer */

.theme-warm .site-footer {
  background: var(--warm-deep);
  border-top-color: rgba(26, 22, 17, 0.18);
  color: var(--warm-text);
}

.theme-warm .site-footer .brand-word b {
  color: var(--warm-text);
}

.theme-warm .site-footer .brand-word span {
  color: var(--gold-dark);
}

.theme-warm .footer-nav a {
  color: rgba(26, 22, 17, 0.65);
}

.theme-warm .footer-nav a:hover {
  color: var(--gold-dark);
}

.theme-warm .footer-links {
  color: rgba(26, 22, 17, 0.6);
}

.theme-warm .footer-links a:hover {
  color: var(--gold-dark);
}

.theme-warm .footer-wordmark {
  color: transparent;
  -webkit-text-stroke: 1px rgba(26, 22, 17, 0.26);
}

.theme-warm .footer-wordmark span {
  color: var(--gold-dark);
  -webkit-text-stroke: 0;
}

.theme-warm .footer-bottom {
  border-top-color: rgba(26, 22, 17, 0.18);
}

.theme-warm .footer-bottom p {
  color: rgba(26, 22, 17, 0.58);
}

/* Lightbox on a light page */

.theme-warm .lightbox img {
  border-color: rgba(244, 238, 226, 0.28);
}

.theme-warm .lightbox-close,
.theme-warm .lightbox-nav {
  border-color: rgba(244, 238, 226, 0.3);
  color: var(--warm-bg);
}

.theme-warm .lightbox-close:hover,
.theme-warm .lightbox-nav:hover {
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}

/* Warm mobile menu */

@media (max-width: 900px) {
  .theme-warm .site-nav {
    background: var(--warm-bg);
    box-shadow: 0 30px 70px rgba(26, 22, 17, 0.18);
  }

  .theme-warm .site-nav a {
    color: var(--warm-text);
    border-bottom-color: rgba(26, 22, 17, 0.14);
  }

  .theme-warm .site-nav .nav-cta {
    color: var(--gold-dark);
    border-color: rgba(111, 69, 22, 0.45);
  }

  .theme-warm body.nav-open .site-header {
    background: var(--warm-bg);
    border-bottom-color: transparent;
  }

  .theme-warm body.nav-open .site-header .brand-word b {
    color: var(--warm-text);
  }

  .theme-warm body.nav-open .site-header .brand-word span {
    color: var(--gold-dark);
  }

  .theme-warm body.nav-open .site-header .nav-toggle {
    border-color: rgba(26, 22, 17, 0.28);
  }

  .theme-warm body.nav-open .site-header .nav-toggle span {
    background: var(--warm-text);
  }

  .theme-warm body.nav-open .site-header .site-nav a {
    color: var(--warm-text);
  }

  .theme-warm body.nav-open .site-header .site-nav .nav-cta {
    color: var(--gold-dark);
  }

  .theme-warm .hero-media {
    width: 100%;
  }

  .theme-warm .hero-media img {
    object-position: 50% 42%;
    filter: blur(10px) saturate(0.7) sepia(0.14) brightness(1.08);
    opacity: 0.34;
  }

  .theme-warm .hero-media-shade {
    background:
      linear-gradient(180deg, var(--warm-bg) 0%, rgba(244, 238, 226, 0.97) 28%, rgba(244, 238, 226, 0.92) 52%, rgba(244, 238, 226, 0.78) 74%, rgba(244, 238, 226, 0.5) 100%),
      radial-gradient(110% 70% at 25% 55%, rgba(244, 238, 226, 0.98) 0%, rgba(244, 238, 226, 0.9) 58%, rgba(244, 238, 226, 0.35) 88%);
  }
}

/* Warm tablet hero: let the blurred art fill the right side */
@media (min-width: 681px) and (max-width: 900px) {
  .theme-warm .hero-title {
    font-size: clamp(2.5rem, 5.6vw, 3rem);
  }

  .theme-warm .hero-media img {
    object-position: 58% 42%;
    filter: blur(4px) saturate(0.8) sepia(0.1) brightness(1.01);
    opacity: 0.5;
  }

  .theme-warm .hero-media-shade {
    background:
      linear-gradient(90deg, var(--warm-bg) 0%, rgba(244, 238, 226, 0.98) 38%, rgba(244, 238, 226, 0.9) 52%, rgba(244, 238, 226, 0.55) 68%, rgba(244, 238, 226, 0.25) 100%),
      linear-gradient(180deg, rgba(244, 238, 226, 0.95) 0%, rgba(244, 238, 226, 0.4) 18%, rgba(244, 238, 226, 0.1) 40%, rgba(244, 238, 226, 0.1) 70%, rgba(244, 238, 226, 0.9) 100%);
  }
}

/* Promo streams on tablets, hidden where the copy needs the full width */
@media (min-width: 901px) and (max-width: 1180px) {
  .promo-streams {
    top: 22%;
    right: 4%;
    bottom: 8%;
    left: 26%;
    width: 70%;
    gap: 20px;
  }

  .promo-stream--names {
    padding-left: 14px;
  }

  .name-item {
    grid-template-columns: 1.5em minmax(0, 1fr);
    column-gap: 7px;
    padding: 16px 0;
  }

  .name-cn {
    font-size: clamp(16px, 1.8vw, 21px);
  }
}

@media (max-width: 900px) {
  .promo-streams {
    display: none;
  }
}

/* =========================================================
Legal / privacy + report page
   ========================================================= */

.legal {
  padding: clamp(120px, 13vw, 172px) 0 clamp(80px, 9vw, 120px);
}

.legal-title {
  margin: 20px 0 0;
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: 0.01em;
  color: var(--warm-text);
}

.legal-title em {
  font-style: normal;
  color: var(--gold-dark);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 24px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(26, 22, 17, 0.45);
}

.legal-body {
  max-width: 780px;
  margin-top: clamp(40px, 5vw, 64px);
}

.legal-body section {
  padding: 26px 0;
  border-top: 1px solid rgba(26, 22, 17, 0.14);
}

.legal-body h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: clamp(19px, 1.9vw, 23px);
  font-weight: 500;
  color: var(--warm-text);
}

.legal-body h2 span {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gold-dark);
}

.legal-body p {
  font-size: 15px;
  line-height: 1.95;
  color: rgba(26, 22, 17, 0.72);
}

.legal-body p + p {
  margin-top: 10px;
}

.legal-body ul {
  margin: 8px 0 12px;
  padding-left: 0;
  list-style: none;
}

.legal-body li {
  position: relative;
  padding-left: 16px;
  font-size: 15px;
  line-height: 1.95;
  color: rgba(26, 22, 17, 0.72);
}

.legal-body li + li {
  margin-top: 6px;
}

.legal-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.88em;
  width: 5px;
  height: 1px;
  background: var(--gold-dark);
}

.legal-body strong {
  font-weight: 600;
  color: var(--warm-text);
}

.legal-body a {
  color: var(--gold-dark);
}

.report-form {
  margin-top: 28px;
  padding-top: 8px;
}

.legal-alt {
  margin-top: 18px;
  font-size: 12.5px !important;
  color: rgba(26, 22, 17, 0.5) !important;
}

@media (max-width: 900px) {
  .legal {
    padding-top: 104px;
  }

  .legal-body p,
  .legal-body li {
    font-size: 14.5px;
    line-height: 1.9;
  }

  .report-form .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

.footer-legal {
  display: flex;
  gap: 10px;
}

.footer-legal a {
  color: rgba(242, 238, 228, 0.5);
  transition: color 0.3s var(--ease);
}

.footer-legal a:hover {
  color: var(--gold-bright);
}

.footer-legal span {
  color: rgba(242, 238, 228, 0.24);
}

.theme-warm .footer-legal a {
  color: rgba(26, 22, 17, 0.5);
}

.theme-warm .footer-legal a:hover {
  color: var(--gold-dark);
}

.theme-warm .footer-legal span {
  color: rgba(26, 22, 17, 0.24);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26, 22, 17, 0.45);
  transition: color 0.3s var(--ease);
}

.legal-back:hover {
  color: var(--gold-dark);
}

/* =========================================================
Scrollbar
   ========================================================= */

/* Firefox uses the standard properties; Chromium keeps the ::-webkit-* rules
   above, so the two paths are kept apart on purpose. */
@supports (-moz-appearance: none) {
  html {
    scrollbar-width: auto;
    scrollbar-color: #a9824f #e6d9c5;
  }
}

.theme-warm {
  color-scheme: light;
}

.theme-warm ::-webkit-scrollbar-track {
  background: #e6d9c5;
  border-left: 1px solid rgba(26, 22, 17, 0.08);
}

.theme-warm ::-webkit-scrollbar-thumb {
  border-width: 3px;
  background: #a9824f;
  background-clip: content-box;
}

.theme-warm ::-webkit-scrollbar-thumb:hover {
  background: #7d5a26;
  background-clip: content-box;
}

.theme-warm ::-webkit-scrollbar-button:single-button {
  display: block;
  height: 18px;
  background-color: #e6d9c5;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

.theme-warm ::-webkit-scrollbar-button:single-button:hover {
  background-color: #d8c7ac;
}

.theme-warm ::-webkit-scrollbar-button:vertical:decrement {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 2.4 8.4 6.8H1.6z' fill='%234a300c'/%3E%3C/svg%3E");
}

.theme-warm ::-webkit-scrollbar-button:vertical:increment {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 7.6 1.6 3.2h6.8z' fill='%234a300c'/%3E%3C/svg%3E");
}

/* ---------- End scrollbar ---------- */
/* Wishlist placeholder */

.wish-soon {
  position: relative;
  padding: clamp(30px, 4.6vw, 54px);
  border: 1px dashed rgba(26, 22, 17, 0.26);
  background: rgba(255, 255, 255, 0.34);
}

.wish-soon-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.wish-soon-label i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-dark);
}

.wish-soon h3 {
  margin: 18px 0 14px;
  font-family: var(--serif);
  font-size: clamp(26px, 3.1vw, 40px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--warm-text);
}

.wish-soon-copy {
  max-width: 620px;
  font-size: 15px;
  line-height: 1.95;
  color: rgba(26, 22, 17, 0.66);
}

.wish-soon-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 34px);
  margin: 30px 0 28px;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(26, 22, 17, 0.14);
}

.wish-soon-points li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 16px;
  font-size: 15px;
  color: var(--warm-text);
}

.wish-soon-points li > span:first-child {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--gold-dark);
}

.wish-soon-note {
  margin-left: auto;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(26, 22, 17, 0.38);
}

@media (max-width: 760px) {
  .wish-soon-points {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .wish-soon-points li {
    padding: 12px 0;
  }

  .wish-soon-points li + li {
    border-top: 1px solid rgba(26, 22, 17, 0.1);
  }
}

/* =========================================================
Buttons — flat pill style (warm theme)
   ========================================================= */

.theme-warm .btn {
  height: 48px;
  padding: 0 30px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #6f4516;
  background: transparent;
  box-shadow: none;
  text-shadow: none;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.theme-warm .btn-primary,
.theme-warm .btn-dark,
.theme-warm .btn-light {
  color: #fdf7ec;
  border-color: #6f4516;
  background: #6f4516;
  box-shadow: 0 6px 16px rgba(74, 48, 12, 0.18);
}

.theme-warm .btn-primary:hover,
.theme-warm .btn-dark:hover,
.theme-warm .btn-light:hover {
  background: #855224;
  border-color: #855224;
  box-shadow: 0 8px 20px rgba(74, 48, 12, 0.22);
  transform: translateY(-1px);
}

.theme-warm .btn-ghost {
  color: #fdf7ec;
  border-color: #6f4516;
  background: #6f4516;
  box-shadow: 0 6px 16px rgba(74, 48, 12, 0.18);
}

.theme-warm .btn-ghost:hover {
  color: #fdf7ec;
  border-color: #855224;
  background: #855224;
  box-shadow: 0 8px 20px rgba(74, 48, 12, 0.22);
  transform: translateY(-1px);
}

.theme-warm .btn:active {
  transform: translateY(1px);
  box-shadow: none;
}

.theme-warm .btn:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 4px;
}

.theme-warm .btn[disabled],
.theme-warm .btn[disabled]:hover {
  opacity: 0.45;
  transform: none;
  box-shadow: none;
}

/* Hero pair — filled + outline, no separator */

.theme-warm .hero-actions {
  gap: 12px;
}

.theme-warm .hero-actions .btn {
  width: auto;
  min-width: 138px;
  height: 48px;
  padding: 0 30px;
  font-size: 13.5px;
}

.theme-warm .hero-actions .action-or {
  display: none;
}
/* =========================================================
TapTap CTA links - wordmark style
   ========================================================= */

.theme-warm .link-arrow.gold.link-arrow--taptap {
  gap: 6px;
  padding-bottom: 2px;
  border-bottom: 0;
  color: #00a99c;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  transition: color 0.3s var(--ease), opacity 0.3s var(--ease), transform 0.35s var(--ease);
}

.theme-warm .link-arrow.gold.link-arrow--taptap:hover {
  color: #008f85;
  border-color: transparent;
  opacity: 0.82;
  transform: translateX(4px);
}

.link-arrow--taptap:hover > span {
  transform: none;
}

.link-arrow--taptap .taptap-mark--inline {
  width: 48px;
  height: 12px;
}

.link-arrow--taptap > span {
  margin-left: 2px;
}
/* =========================================================
Beian footer
   ========================================================= */

.footer-beian {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #1f5fa9;
}

.footer-beian a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: inherit;
  transition: color 0.3s var(--ease);
}

.footer-beian a:hover {
  color: #164a86;
}

.footer-beian img {
  display: block;
  width: 12px;
  height: 12px;
}

.theme-warm .footer-beian {
  color: #1f5fa9;
}

.theme-warm .footer-beian a:hover {
  color: #164a86;
}
