/* 《梅香境》獨立遊戲宣傳頁 */
:root {
  --paper: #eee6d7;
  --paper-muted: #cfc4b2;
  --ink: #111116;
  --gold: #c9a461;
  --gold-bright: #e2c777;
  --plum: #87445f;
  --plum-bright: #b4556d;
  --jade: #183f39;
  --jade-light: #2f6b60;
  --night: #090d0c;
  --night-soft: #101716;
  --panel: #141b19;
  --line: rgba(201, 164, 97, .28);
  --text: #f3ecdf;
  --muted: #bcb7ad;
  --fire: #d77745;
  --shadow: 0 24px 70px rgba(0, 0, 0, .42);
  --serif: "Noto Serif TC", "PMingLiU", serif;
  --sans: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, summary { font: inherit; }
button { color: inherit; }
::selection { background: var(--plum); color: #fff; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  padding: .7rem 1rem;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.wide-shell { width: min(1420px, calc(100% - 48px)); }
.narrow-shell { width: min(900px, calc(100% - 48px)); }
.section-pad { padding: clamp(88px, 10vw, 150px) 0; }

.page-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 1000;
  background: transparent;
}
.page-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--plum-bright), var(--gold-bright));
  box-shadow: 0 0 14px rgba(226, 199, 119, .7);
}

.plum-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
  border-bottom: 1px solid transparent;
}
.plum-nav.scrolled {
  background: rgba(9, 13, 12, .88);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}
.nav-inner {
  width: min(1420px, calc(100% - 40px));
  height: 78px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.game-brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.game-brand > span:last-child { display: grid; line-height: 1.15; }
.game-brand strong { font-family: var(--serif); font-size: 1.12rem; letter-spacing: .12em; }
.game-brand small { color: var(--gold); font-size: .62rem; letter-spacing: .22em; margin-top: .3rem; }
.brand-seal {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold);
  color: var(--paper);
  font-family: var(--serif);
  background: linear-gradient(145deg, var(--plum), #4a2634);
  box-shadow: inset 0 0 0 3px rgba(9, 13, 12, .65), 0 8px 20px rgba(0, 0, 0, .25);
  transform: rotate(-2deg);
}
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a {
  color: #e4ddd0;
  font-size: .9rem;
  text-decoration: none;
  letter-spacing: .08em;
  transition: color .2s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--gold-bright); }
.nav-status {
  padding: .46rem .8rem;
  border: 1px solid rgba(201, 164, 97, .45);
  color: var(--gold-bright);
  font-size: .74rem;
  letter-spacing: .08em;
  white-space: nowrap;
}
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.nav-toggle > span:not(.sr-only) { display: block; height: 1px; margin: 6px 0; background: var(--paper); transition: .2s; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #111;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(.9) contrast(1.03);
  transform: scale(1.015);
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(5, 8, 8, .98) 0%, rgba(5, 8, 8, .86) 29%, rgba(5, 8, 8, .36) 58%, rgba(5, 8, 8, .12) 100%),
    linear-gradient(0deg, var(--night) 0%, transparent 28%, rgba(0, 0, 0, .2) 100%);
}
.hero-petals {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .22;
  background-image:
    radial-gradient(ellipse at center, rgba(233, 161, 179, .95) 0 18%, transparent 20%),
    radial-gradient(ellipse at center, rgba(201, 164, 97, .75) 0 13%, transparent 15%);
  background-size: 140px 180px, 190px 230px;
  background-position: 15% 10%, 70% 40%;
  mask-image: linear-gradient(90deg, #000, transparent 60%);
}
.hero-content { padding-top: 120px; padding-bottom: 100px; }
.hero-kicker, .eyebrow {
  margin: 0 0 1.25rem;
  color: var(--gold-bright);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.hero-kicker span {
  display: inline-block;
  margin-right: .75rem;
  padding: .28rem .65rem;
  color: #fff;
  background: var(--plum);
  letter-spacing: .12em;
}
.hero h1 { margin: 0; font-family: var(--serif); line-height: .95; }
.hero h1 > span {
  display: block;
  font-size: clamp(4.8rem, 10vw, 9.2rem);
  font-weight: 900;
  letter-spacing: .12em;
  text-shadow: 0 6px 40px rgba(0, 0, 0, .62);
}
.hero h1 small {
  display: block;
  margin-top: 1.1rem;
  color: var(--gold);
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .58em;
}
.hero-line {
  margin: 2.3rem 0 1rem;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .05em;
}
.hero-intro { max-width: 660px; margin: 0; color: #d4cec3; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .75rem 1.3rem;
  border: 1px solid var(--gold);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .06em;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--gold-bright); box-shadow: 0 10px 28px rgba(201, 164, 97, .2); }
.button-primary:hover { background: var(--paper); box-shadow: 0 14px 34px rgba(201, 164, 97, .3); }
.button-ghost { background: rgba(9, 13, 12, .42); backdrop-filter: blur(8px); }
.button-ghost:hover { color: var(--ink); background: var(--paper); }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.5rem;
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--paper-muted);
  font-size: .82rem;
}
.hero-facts li::before { content: "✦"; margin-right: .5rem; color: var(--gold); }
.capture-label {
  position: absolute;
  right: 22px;
  bottom: 18px;
  margin: 0;
  padding: .25rem .55rem;
  background: rgba(0, 0, 0, .62);
  color: #d5d0c7;
  font-size: .7rem;
  letter-spacing: .04em;
}

.section-heading { max-width: 790px; margin-bottom: clamp(42px, 6vw, 72px); }
.section-heading h2, .story-copy h2, .affinity-copy h2, .boss-copy h2, .accessibility h2, .final-content h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.25;
  letter-spacing: .025em;
}
.section-heading > p:last-child, .story-copy .lead { color: var(--paper-muted); font-size: 1.05rem; }

.promise {
  position: relative;
  background:
    linear-gradient(135deg, rgba(135, 68, 95, .08), transparent 35%),
    var(--night);
}
.promise::before, .world::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1180px, calc(100% - 48px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.promise-card { min-height: 300px; padding: 2.1rem; background: var(--night-soft); }
.promise-card > span { color: var(--plum-bright); font-family: var(--serif); font-size: 1.7rem; font-weight: 800; }
.promise-card h3 { margin: 3.2rem 0 .7rem; font-family: var(--serif); font-size: 1.35rem; }
.promise-card p { margin: 0; color: var(--muted); font-size: .92rem; }

.story {
  background:
    radial-gradient(circle at 75% 30%, rgba(215, 119, 69, .12), transparent 28%),
    linear-gradient(180deg, #101716, #0c1110);
}
.story-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .78fr); gap: clamp(50px, 8vw, 110px); align-items: center; }
.story-copy > p:not(.eyebrow) { color: var(--paper-muted); }
.story-copy blockquote {
  position: relative;
  margin: 2.5rem 0 0;
  padding: 1.6rem 0 1.6rem 2rem;
  border-left: 2px solid var(--plum-bright);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.2rem;
}
.story-copy cite { display: block; margin-top: .8rem; color: var(--gold); font-family: var(--sans); font-size: .78rem; font-style: normal; }
.story-objective {
  position: relative;
  padding: clamp(28px, 4vw, 50px);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.story-objective::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(135, 68, 95, .35);
  pointer-events: none;
}
.chapter-mark { position: relative; display: grid; margin-bottom: 1.5rem; }
.chapter-mark small { color: var(--plum); font-weight: 800; letter-spacing: .18em; }
.chapter-mark strong { font-family: var(--serif); font-size: 2.3rem; letter-spacing: .08em; }
.story-objective > p { position: relative; color: #35322e; }
.objective-list { position: relative; display: grid; gap: 1px; margin: 1.6rem 0; background: rgba(17, 17, 22, .14); }
.objective-list div { display: grid; grid-template-columns: 72px 1fr; align-items: center; padding: 1rem; background: #e5dccb; }
.objective-list b { color: var(--plum); font-family: var(--serif); font-size: 1.1rem; }
.objective-list span { color: #3b3834; font-size: .87rem; }
.warning-note { padding-top: 1rem; border-top: 1px solid rgba(17, 17, 22, .16); font-size: .82rem; }

.gameplay { background: #090d0c; }
.gameplay-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(290px, .62fr);
  gap: 1.2rem;
  align-items: stretch;
  margin-bottom: 1.2rem;
}
.gameplay-focus, .gameplay-overview { margin: 0; }
.gameplay-focus { min-width: 0; }
.gameplay-focus .image-button, .gameplay-overview .image-button { height: auto; }
.gameplay-focus picture { display: block; width: 100%; }
.gameplay-focus .image-button img, .gameplay-overview .image-button img { width: 100%; height: auto; object-fit: contain; }
.image-button, .gallery-card, .runtime-shot {
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #060807;
  cursor: zoom-in;
}
.image-button::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 2;
  border: 1px solid rgba(226, 199, 119, .42);
  pointer-events: none;
}
.image-button img { width: 100%; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .3s; }
.image-button:hover img { transform: scale(1.012); filter: brightness(1.05); }
.zoom-hint {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 3;
  padding: .45rem .7rem;
  background: rgba(9, 13, 12, .8);
  border: 1px solid var(--line);
  color: var(--gold-bright);
  font-size: .72rem;
}
.gameplay-focus figcaption, .gameplay-overview figcaption { display: flex; gap: .8rem; margin-top: .8rem; color: var(--muted); font-size: .78rem; }
.gameplay-focus figcaption span, .gameplay-overview figcaption span { flex: 0 0 auto; color: var(--gold); letter-spacing: .15em; }
.grid-readout {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 3.5vw, 46px);
  border: 1px solid rgba(201, 164, 97, .28);
  background: linear-gradient(155deg, rgba(135, 68, 95, .2), rgba(16, 23, 22, .96) 54%);
}
.grid-readout h3 { margin: 0 0 1.7rem; font-family: var(--serif); font-size: clamp(1.55rem, 2.3vw, 2.35rem); line-height: 1.42; }
.grid-readout ol { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; background: rgba(201, 164, 97, .2); }
.grid-readout li { display: grid; gap: .2rem; padding: 1rem; background: rgba(9, 13, 12, .9); }
.grid-readout b { color: var(--gold-bright); font-size: .84rem; letter-spacing: .08em; }
.grid-readout span { color: var(--muted); font-size: .78rem; line-height: 1.65; }
.gameplay-overview { margin-bottom: 4rem; padding: 1.2rem; border: 1px solid rgba(201, 164, 97, .2); background: #0e1413; }
.mechanic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.mechanic { min-height: 220px; padding: 2rem; border: 1px solid rgba(201, 164, 97, .18); background: linear-gradient(145deg, #121918, #0e1413); transition: border-color .25s, transform .25s; }
.mechanic:hover { transform: translateY(-4px); border-color: rgba(201, 164, 97, .55); }
.mechanic-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--gold); color: var(--gold-bright); font-family: var(--serif); transform: rotate(45deg); }
.mechanic-icon::first-letter { transform: rotate(-45deg); }
.mechanic h3 { margin: 2rem 0 .55rem; font-family: var(--serif); font-size: 1.25rem; }
.mechanic p { margin: 0; color: var(--muted); font-size: .9rem; }

.choice {
  background:
    linear-gradient(90deg, rgba(135, 68, 95, .16), transparent 35%, rgba(24, 63, 57, .18)),
    #0f1514;
}
.outcome-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.outcome { position: relative; min-height: 330px; padding: 2rem; border-top: 2px solid #68635b; background: rgba(9, 13, 12, .72); }
.outcome > span { color: #827b70; font-family: var(--serif); font-size: 3.4rem; font-weight: 900; line-height: 1; }
.outcome h3 { margin: 3.7rem 0 .8rem; font-family: var(--serif); font-size: 1.3rem; }
.outcome p { margin: 0; color: var(--muted); font-size: .88rem; }
.outcome.featured { border-color: var(--gold-bright); box-shadow: 0 12px 40px rgba(201, 164, 97, .08); }
.outcome.featured > span { color: var(--gold); }

.affinity { background: var(--paper); color: var(--ink); }
.affinity .eyebrow { color: var(--plum); }
.affinity-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(45px, 8vw, 110px); align-items: center; }
.affinity-copy > p:not(.eyebrow) { color: #45413c; }
.rank-list { display: grid; gap: 1px; margin: 2.2rem 0 0; padding: 0; background: rgba(17,17,22,.15); list-style: none; }
.rank-list li { display: grid; grid-template-columns: 58px 1fr; align-items: center; background: #e4dac8; }
.rank-list b { display: grid; place-items: center; align-self: stretch; min-height: 64px; color: var(--paper); background: var(--plum); font-family: var(--serif); font-size: 1.35rem; }
.rank-list span { padding: .8rem 1rem; font-size: .88rem; }
.affinity-scenes { display: grid; gap: 1.2rem; }
.affinity-scenes article { padding: 2.1rem; color: var(--paper); background: var(--ink); box-shadow: 12px 12px 0 rgba(135, 68, 95, .14); }
.affinity-scenes small { color: var(--gold); font-weight: 700; letter-spacing: .1em; }
.affinity-scenes h3 { margin: .7rem 0; font-family: var(--serif); font-size: 1.35rem; }
.affinity-scenes p { margin: 0; color: #beb8ae; font-size: .9rem; }

.cast { overflow: hidden; background: #090d0c; }
.cast .section-heading { max-width: 920px; margin-inline: auto; text-align: center; }
.cast-index {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-bottom: clamp(64px, 8vw, 110px);
  border: 1px solid var(--line);
  background: var(--line);
}
.cast-index a { display: flex; align-items: center; justify-content: center; gap: .7rem; min-height: 70px; padding: .8rem; background: #101615; color: var(--paper); text-decoration: none; font-family: var(--serif); font-weight: 700; transition: color .2s, background .2s; }
.cast-index a:hover, .cast-index a:focus-visible { color: var(--ink); background: var(--gold-bright); }
.cast-index span { color: var(--plum-bright); font-family: var(--sans); font-size: .7rem; letter-spacing: .12em; }
.cast-index a:hover span, .cast-index a:focus-visible span { color: var(--plum); }
.character-stories { display: grid; gap: clamp(88px, 12vw, 170px); }
.character-profile {
  --accent: var(--plum-bright);
  position: relative;
  display: grid;
  grid-template-columns: minmax(380px, .88fr) minmax(0, 1.12fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: center;
  scroll-margin-top: 105px;
  padding: clamp(20px, 3vw, 38px);
  border: 1px solid rgba(201, 164, 97, .2);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, #101615), #0b100f 44%);
}
.character-profile::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--accent), transparent 70%); }
.character-profile:nth-child(even) .character-portrait { grid-column: 2; grid-row: 1; }
.character-profile:nth-child(even) .character-detail { grid-column: 1; grid-row: 1; }
.character-portrait {
  position: relative;
  align-self: start;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #090d0c;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .38);
  cursor: zoom-in;
}
.character-portrait::after { content: ""; position: absolute; inset: auto 0 0; height: 22%; background: linear-gradient(0deg, rgba(5, 8, 7, .88), transparent); pointer-events: none; }
.character-portrait img { width: 100%; height: auto; object-fit: contain; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .3s; }
.character-portrait:hover img { transform: scale(1.015); filter: saturate(1.07); }
.character-portrait > span { position: absolute; right: 18px; bottom: 14px; z-index: 2; padding: .35rem .6rem; border: 1px solid rgba(226, 199, 119, .45); background: rgba(9, 13, 12, .78); color: var(--gold-bright); font-size: .68rem; letter-spacing: .06em; }
.character-detail { min-width: 0; padding-block: 1rem; }
.character-number { display: flex; align-items: baseline; gap: 1rem; }
.character-number > span { color: var(--accent); font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 5.4rem); font-weight: 900; line-height: 1; }
.character-number small { color: var(--gold); font-size: .76rem; font-weight: 700; letter-spacing: .14em; }
.character-detail > h3 { margin: .45rem 0 .8rem; font-family: var(--serif); font-size: clamp(3rem, 6vw, 6.4rem); line-height: 1.08; letter-spacing: .07em; }
.character-hook { max-width: 760px; margin: 0; color: var(--paper); font-family: var(--serif); font-size: clamp(1.12rem, 1.8vw, 1.45rem); line-height: 1.8; }
.character-tags { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.character-tags li { padding: .4rem .7rem; border: 1px solid color-mix(in srgb, var(--accent) 58%, transparent); color: var(--paper-muted); background: color-mix(in srgb, var(--accent) 9%, transparent); font-size: .74rem; letter-spacing: .04em; }
.character-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 2rem; }
.character-notes section { padding-top: 1.1rem; border-top: 1px solid var(--line); }
.character-notes h4 { margin: 0 0 .55rem; color: var(--gold-bright); font-family: var(--serif); font-size: 1rem; }
.character-notes p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.85; }
.character-detail blockquote { position: relative; margin: 2rem 0; padding: 1.25rem 1.5rem 1.25rem 2rem; border-left: 3px solid var(--accent); background: rgba(238, 230, 215, .045); color: var(--paper); font-family: var(--serif); font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.character-stills { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.character-stills button { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 0; padding: 0; border: 1px solid rgba(201, 164, 97, .24); overflow: hidden; background: #080b0a; color: var(--paper); cursor: zoom-in; }
.character-stills img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s; }
.character-stills button:hover img { transform: scale(1.025); filter: brightness(.8); }
.character-stills span { position: absolute; inset: auto 0 0; padding: 2rem .8rem .6rem; background: linear-gradient(0deg, rgba(3, 5, 4, .95), transparent); font-size: .72rem; font-weight: 700; text-align: left; }
.character-pan { --accent: #a52e59; }
.character-li { --accent: #9dbfc6; }
.character-wu { --accent: #a48645; }
.character-chunmei { --accent: #7f3c54; }
.character-huilian { --accent: #be623c; }
.cast-disclosure { max-width: 980px; margin: clamp(54px, 7vw, 90px) auto 0; padding: 1.1rem 1.3rem; border-left: 2px solid var(--gold); background: rgba(201, 164, 97, .07); color: var(--muted); font-size: .82rem; }
.cast-disclosure strong { color: var(--gold-bright); }

.cinematic { background: linear-gradient(145deg, #1b1017, #0d1211 58%, #13211e); }
.cinematic-layout { display: grid; grid-template-columns: minmax(330px, .72fr) minmax(0, 1.28fr); gap: clamp(44px, 7vw, 100px); align-items: center; }
.cinematic-copy h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: 1.3; }
.cinematic-copy > p:not(.eyebrow):not(.youtube-note) { color: var(--paper-muted); }
.cinematic-facts { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.7rem 0; }
.cinematic-facts span { padding: .38rem .68rem; border: 1px solid rgba(201, 164, 97, .35); color: var(--gold-bright); font-size: .7rem; letter-spacing: .06em; }
.youtube-note { padding: 1rem 1.1rem; border-left: 2px solid var(--plum-bright); background: rgba(135, 68, 95, .12); color: var(--muted); font-size: .82rem; }
.youtube-note strong { color: var(--paper); }
.cinematic-player { position: relative; padding: 10px; border: 1px solid rgba(201, 164, 97, .34); background: #050706; box-shadow: var(--shadow); }
.cinematic-player video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.cinematic-label { position: absolute; top: 24px; left: 24px; z-index: 2; display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; max-width: calc(100% - 48px); padding: .45rem .65rem; background: rgba(5, 7, 6, .82); backdrop-filter: blur(6px); pointer-events: none; }
.cinematic-label span { color: var(--gold-bright); font-size: .64rem; font-weight: 700; letter-spacing: .12em; }
.cinematic-label small { color: var(--paper-muted); font-size: .64rem; }

.world { position: relative; background: #0e1413; }
.faction-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.faction-grid article { padding: 2rem; border: 1px solid rgba(201,164,97,.18); background: rgba(9,13,12,.55); }
.faction-grid span { color: var(--gold); font-size: .76rem; font-weight: 800; letter-spacing: .15em; }
.faction-grid h3 { margin: .45rem 0 .7rem; font-family: var(--serif); font-size: 1.35rem; }
.faction-grid p { margin: 0; color: var(--muted); font-size: .9rem; }

.gallery { background: #080b0a; }
.gallery .section-heading { max-width: 880px; }
.disclosure { padding: 1rem 1.2rem; border-left: 2px solid var(--gold); background: rgba(201,164,97,.08); font-size: .83rem !important; }
.concept-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .85rem; }
.gallery-card { aspect-ratio: 16 / 9; border: 1px solid rgba(201,164,97,.16); }
.gallery-wide { grid-column: span 2; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease, filter .25s; }
.gallery-card:hover img { transform: scale(1.035); filter: brightness(.78); }
.gallery-card > span { position: absolute; inset: auto 0 0; display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding: 2.7rem 1.2rem 1rem; background: linear-gradient(0deg, rgba(4,6,5,.94), transparent); text-align: left; }
.gallery-card b { font-family: var(--serif); font-size: 1.05rem; }
.gallery-card small { color: var(--gold); font-size: .66rem; letter-spacing: .12em; }

.boss { background: linear-gradient(145deg, #1b0f0e, #0d1110 55%, #101716); }
.boss-layout { display: grid; grid-template-columns: .6fr 1.4fr; gap: clamp(45px, 9vw, 130px); align-items: center; }
.boss-mark { position: relative; display: flex; justify-content: center; gap: .8rem; }
.boss-mark::before { content: ""; position: absolute; inset: 50% 10% auto; height: 1px; background: linear-gradient(90deg, transparent, var(--fire), transparent); }
.boss-mark span { position: relative; display: grid; place-items: center; width: clamp(100px, 13vw, 170px); aspect-ratio: 1; border: 1px solid var(--fire); color: var(--paper); background: rgba(31, 14, 12, .85); font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 5rem); box-shadow: 0 0 60px rgba(215,119,69,.12); transform: rotate(45deg); }
.boss-mark span:first-child { transform: translateY(-32%) rotate(45deg); }
.boss-mark span:last-child { transform: translateY(32%) rotate(45deg); }
.boss-copy > p:not(.eyebrow) { color: var(--paper-muted); }
.boss-phases { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 2.2rem 0; background: rgba(215,119,69,.25); }
.boss-phases > div { padding: 1.5rem; background: rgba(9,13,12,.72); }
.boss-phases small { color: var(--fire); letter-spacing: .12em; }
.boss-phases h3 { margin: .35rem 0 .7rem; font-family: var(--serif); }
.boss-phases p { margin: 0; color: var(--muted); font-size: .86rem; }
.boss-condition { padding: 1.2rem; border: 1px solid rgba(215,119,69,.35); background: rgba(215,119,69,.06); font-size: .9rem; }
.boss-condition strong { color: #efaa82; }

.development { background: var(--paper); color: var(--ink); }
.development .eyebrow { color: var(--plum); }
.development .section-heading > p:last-child { color: #4a4640; }
.status-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.status-timeline { position: relative; display: grid; gap: 1.2rem; padding-left: 2rem; }
.status-timeline::before { content: ""; position: absolute; inset: 10px auto 10px 7px; width: 1px; background: rgba(17,17,22,.25); }
.status-timeline article { position: relative; padding: .4rem 0 1.2rem 1.5rem; }
.status-timeline article::before { content: ""; position: absolute; top: .75rem; left: -2rem; width: 15px; height: 15px; border: 3px solid var(--paper); border-radius: 50%; background: #78736b; box-shadow: 0 0 0 1px rgba(17,17,22,.3); }
.status-timeline .status-done::before { background: var(--jade-light); }
.status-timeline .status-now::before { background: var(--plum); box-shadow: 0 0 0 1px var(--plum), 0 0 0 7px rgba(135,68,95,.13); }
.status-timeline article > span { color: var(--plum); font-size: .72rem; font-weight: 800; letter-spacing: .15em; }
.status-timeline h3 { margin: .2rem 0 .4rem; font-family: var(--serif); font-size: 1.35rem; }
.status-timeline p { margin: 0; color: #4a4640; font-size: .9rem; }
.build-card { position: sticky; top: 110px; padding: 2rem; color: var(--paper); background: var(--ink); box-shadow: 16px 16px 0 rgba(135,68,95,.13); }
.build-badge { color: var(--gold); font-size: .72rem; letter-spacing: .14em; }
.build-card h3 { margin: .35rem 0 1.2rem; font-family: var(--serif); font-size: 1.7rem; }
.build-card ul { margin: 0; padding: 0; list-style: none; }
.build-card li { display: grid; grid-template-columns: 90px 1fr; gap: .8rem; padding: .75rem 0; border-top: 1px solid rgba(238,230,215,.13); }
.build-card li b { color: var(--gold); font-size: .8rem; }
.build-card li span { color: #ccc5ba; font-size: .82rem; }
.build-card > p { margin: 1.2rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(238,230,215,.13); color: #a9a39a; font-size: .74rem; }
.runtime-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 4rem; }
.runtime-shot { aspect-ratio: 16/9; border: 1px solid rgba(17,17,22,.2); }
.runtime-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.runtime-shot:hover img { transform: scale(1.025); }
.runtime-shot span { position: absolute; inset: auto 0 0; padding: 1.8rem .9rem .7rem; color: var(--paper); background: linear-gradient(0deg, rgba(0,0,0,.88), transparent); font-size: .76rem; font-weight: 700; text-align: left; }

.accessibility { background: #0e1513; }
.accessibility-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(45px, 9vw, 130px); align-items: start; }
.accessibility-list { padding: 2rem; border: 1px solid var(--line); background: rgba(9,13,12,.5); }
.accessibility-list > p { margin-top: 0; color: var(--gold); font-weight: 700; }
.accessibility-list ul { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.3rem; margin: 0; padding: 0; list-style: none; }
.accessibility-list li { position: relative; padding-left: 1.3rem; color: var(--paper-muted); font-size: .9rem; }
.accessibility-list li::before { content: "◆"; position: absolute; left: 0; top: .05rem; color: var(--plum-bright); font-size: .62rem; }

.faq { background: #090d0c; }
.faq .section-heading { margin-inline: auto; text-align: center; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 1.45rem 3rem 1.45rem 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.05rem; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; top: 1.2rem; right: .25rem; color: var(--gold); font-family: var(--sans); font-size: 1.7rem; font-weight: 300; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -.3rem 0 1.5rem; padding-right: 3rem; color: var(--muted); font-size: .92rem; }

.final-cta { position: relative; min-height: 720px; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.final-cta > img { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; filter: saturate(.75); }
.final-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(5,8,8,.97) 0%, rgba(5,8,8,.82) 42%, rgba(5,8,8,.25) 100%), linear-gradient(0deg, #070908, transparent 30%); }
.final-content { padding-block: 100px; }
.final-content h2 { max-width: 800px; }
.final-content > p:not(.eyebrow) { max-width: 660px; color: var(--paper-muted); }

.game-footer { padding: 3rem 0; border-top: 1px solid var(--line); background: #070908; }
.game-footer .shell { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1rem 2rem; }
.game-footer p { margin: 0; color: var(--muted); font-size: .78rem; text-align: right; }
.game-footer .footer-note { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid rgba(201,164,97,.12); color: #76736d; font-size: .68rem; }

.lightbox {
  width: min(94vw, 1500px);
  max-width: none;
  padding: 0;
  border: 1px solid rgba(201,164,97,.55);
  background: #060807;
  color: var(--paper);
  box-shadow: 0 25px 90px rgba(0,0,0,.7);
}
.lightbox::backdrop { background: rgba(3,5,4,.9); backdrop-filter: blur(8px); }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; }
.lightbox p { margin: 0; padding: .75rem 1rem; color: var(--paper-muted); font-size: .78rem; }
.lightbox-close { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(238,230,215,.5); border-radius: 50%; background: rgba(9,13,12,.8); color: #fff; font-size: 1.6rem; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) {
  .promise-grid, .outcome-track { grid-template-columns: repeat(2, 1fr); }
  .character-profile { grid-template-columns: minmax(330px, .85fr) minmax(0, 1.15fr); gap: 42px; }
  .character-notes { grid-template-columns: 1fr; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: .82rem; }
}

@media (max-width: 900px) {
  .shell, .wide-shell, .narrow-shell { width: min(100% - 32px, 720px); }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 78px 0 0;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 1.4rem;
    padding: 2rem;
    background: rgba(9,13,12,.98);
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .nav-open .nav-links { transform: translateX(0); }
  .nav-links a { font-size: 1.15rem; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-backdrop { object-position: 65% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(5,8,8,.96), rgba(5,8,8,.55)), linear-gradient(0deg, var(--night), transparent 38%); }
  .hero h1 > span { font-size: clamp(4.2rem, 16vw, 7rem); }
  .story-layout, .affinity-layout, .boss-layout, .status-layout, .accessibility-layout, .gameplay-showcase, .cinematic-layout { grid-template-columns: 1fr; }
  .mechanic-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-readout { min-height: 0; }
  .cast-index { grid-template-columns: repeat(3, 1fr); }
  .character-profile, .character-profile:nth-child(even) { grid-template-columns: 1fr; }
  .character-profile .character-portrait, .character-profile:nth-child(even) .character-portrait { grid-column: 1; grid-row: 1; width: min(100%, 610px); margin-inline: auto; }
  .character-profile .character-detail, .character-profile:nth-child(even) .character-detail { grid-column: 1; grid-row: 2; }
  .character-notes { grid-template-columns: 1fr 1fr; }
  .concept-gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-wide { grid-column: span 2; }
  .boss-mark { min-height: 300px; }
  .build-card { position: static; }
  .runtime-gallery { grid-template-columns: 1fr; }
  .game-footer .shell { grid-template-columns: 1fr; }
  .game-footer p { text-align: left; }
  .game-footer .footer-note { grid-column: auto; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .section-pad { padding: 78px 0; }
  .nav-inner { width: calc(100% - 24px); height: 68px; }
  .nav-links { top: 68px; }
  .game-brand strong { font-size: 1rem; }
  .brand-seal { width: 38px; height: 38px; }
  .hero { min-height: 860px; }
  .hero-content { padding-top: 100px; padding-bottom: 120px; }
  .hero h1 > span { font-size: clamp(3.8rem, 21vw, 6rem); letter-spacing: .05em; }
  .hero h1 small { letter-spacing: .36em; }
  .hero-line { font-size: 1.45rem; }
  .hero-intro { width: 100%; max-width: 100%; overflow-wrap: anywhere; font-size: .96rem; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-facts { display: grid; gap: .35rem; }
  .capture-label { right: 12px; bottom: 10px; left: 12px; text-align: center; }
  .promise-grid, .outcome-track, .mechanic-grid, .faction-grid, .boss-phases { grid-template-columns: 1fr; }
  .promise-card { min-height: auto; }
  .promise-card h3 { margin-top: 1.8rem; }
  .story-objective { padding: 28px 22px; }
  .objective-list div { grid-template-columns: 58px 1fr; padding: .8rem; }
  .gameplay-focus figcaption, .gameplay-overview figcaption { display: block; }
  .zoom-hint { right: 18px; bottom: 18px; }
  .cast-index { grid-template-columns: repeat(2, 1fr); margin-bottom: 60px; }
  .cast-index a:last-child { grid-column: 1 / -1; }
  .character-stories { gap: 76px; }
  .character-profile { gap: 28px; padding: 14px; }
  .character-detail { padding: .4rem .4rem 1rem; }
  .character-detail > h3 { font-size: clamp(2.8rem, 16vw, 4.5rem); }
  .character-notes, .character-stills { grid-template-columns: 1fr; }
  .character-portrait > span { right: 10px; bottom: 10px; }
  .cinematic-label { top: 18px; left: 18px; max-width: calc(100% - 36px); }
  .concept-gallery { grid-template-columns: 1fr; }
  .gallery-wide { grid-column: auto; }
  .boss-mark { min-height: 230px; }
  .boss-mark span { width: 110px; }
  .accessibility-list ul { grid-template-columns: 1fr; }
  .faq details p { padding-right: 0; }
  .final-cta { min-height: 760px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (prefers-contrast: more) {
  :root { --muted: #ddd7cc; --line: rgba(226,199,119,.6); }
  .mechanic, .character, .faction-grid article { border-color: var(--gold); }
}
