/* Blade Zero Guide — ink, steel and ember. Shared shell + cinematic homepage. */
:root {
  --gold: #d6bd8e;
  --gold-bright: #eedab4;
  --void: #090b0b;
  --surface: #111414;
  --surface-2: #181b1a;
  --muted: #b2afa6;
  --rule-dark: #303533;
  --display: "Iowan Old Style", "Noto Serif CJK SC", "Songti SC", Baskerville, Georgia, serif;
}

body { background: var(--void); }
::selection { color: #090b0b; background: var(--gold); }
:is(h2, h3, [id], .home-video-section) { scroll-margin-top: 110px; }
.page-width { width: min(1320px, calc(100% - 6rem)); }
.site-header { border-bottom-color: #e6d9bd22; background: #090b0bf2; }
.site-nav { min-height: 82px; }
.brand-lockup { font-size: 1.4rem; }
.brand-disclosure { font-size: 0.625rem; font-weight: 500; letter-spacing: 0.15em; }
.nav-links { gap: 1.1rem; }
.nav-links a { padding-inline: 0; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; }
.nav-links a:hover { color: var(--gold-bright); }
.nav-links a[aria-current="page"] { border-color: var(--gold); }
.nav-actions { gap: 2rem; }
.language-switcher summary { min-width: 8rem; border-color: #e6d9bd33; }
.language-switcher summary > span { font-size: 0.6rem; font-weight: 500; }
.language-switcher summary > strong { font-size: 0.85rem; font-weight: 500; }
.language-switcher summary::after { color: var(--gold); }
.language-switcher ul { background: #111414; border-color: var(--rule-dark); }
.section-label, .eyebrow { font-weight: 600; letter-spacing: 0.17em; }
.section-label { color: var(--gold); }
.button { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; transition: background 180ms, color 180ms, border-color 180ms; }
.button.primary { background: var(--gold); border-color: var(--gold); color: #151710; }
.button.primary:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: #090b0b; }
.button.secondary { border-color: #e6d9bd55; }
.button.secondary:hover { background: #e6d9bd12; border-color: var(--gold); color: var(--gold-bright); }
.text-link { color: var(--gold); text-decoration-color: #d6bd8e66; font-weight: 500; }
.text-link:hover { color: var(--gold-bright); }
.content-section h2 { font-weight: 500; letter-spacing: -0.035em; }
.hero h1 { max-width: 18ch; font-size: clamp(2.8rem, 5.5vw, 5rem); line-height: 1.08; }
.faq-list summary { font-weight: 500; }
.faq-list details { transition: background 200ms; }
.faq-list details[open] { background: #d6bd8e05; }
.faq-list summary::after { color: var(--gold); }
.requirements-shared-note { background: var(--surface); color: var(--cream); border-color: var(--gold); }
.source-table thead th { background: var(--surface-2); color: var(--muted); }
.footer-nav a, .footer-languages a { font-weight: 500; }
.site-footer { padding-block: 3.5rem; }

/* A single uninterrupted scene; the copy leaves the swordsman visible. */
.home-hero { min-height: clamp(620px, calc(100svh - 82px), 840px); isolation: isolate; }
.home-hero-art { inset: -16px; }
.home-hero-art img { object-position: 66% 48%; filter: brightness(1.17) saturate(0.8); }
.home-hero::after {
  pointer-events: none;
  background:
    linear-gradient(90deg, #090b0bf0 0%, #090b0ba6 32%, #090b0b12 68%),
    linear-gradient(0deg, #090b0bf5 0%, #090b0b1a 38%, #090b0b0d 78%, #090b0b77);
}
.home-hero::before {
  position: absolute; z-index: 1; inset: 0; content: ""; pointer-events: none;
  background: linear-gradient(114deg, transparent 40%, #ddba8021 61%, transparent 76%);
  opacity: 0.35;
}
.home-hero-inner {
  min-height: inherit;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.45fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  column-gap: 4rem;
  row-gap: 2rem;
  padding-top: 3.5rem;
  padding-bottom: 1.25rem;
}
.home-hero-copy { max-width: 650px; padding-bottom: 0.5rem; }
.home-status-line { justify-content: flex-start; flex-wrap: wrap; gap: 1rem; padding: 0; border: 0; }
.home-status-line .eyebrow { margin: 0; color: var(--gold); font-size: 0.65rem; letter-spacing: 0.23em; }
.status-pill { background: #b73d3020; border: 1px solid #db715347; color: #efb19b; font-size: 0.625rem; font-weight: 500; padding: 0.25rem 0.55rem; }
.home-title { margin-top: 1.5rem; font-family: var(--display); font-size: clamp(3.9rem, 7.3vw, 7.6rem); line-height: 0.94; font-weight: 400; letter-spacing: -0.045em; color: #f6f0df; text-shadow: 0 4px 32px #0006; }
.home-title > span { display: block; white-space: nowrap; }
.home-title > span:first-child { font-size: 0.77em; letter-spacing: 0.055em; margin-bottom: 0.08em; }
.home-title em { color: var(--gold); font-weight: 400; }
.home-hero h1 { max-width: none; margin: 1.5rem 0 0.6rem; font-family: var(--body); font-size: 1rem; font-weight: 500; line-height: 1.5; letter-spacing: 0.01em; color: var(--cream); text-shadow: none; }
.home-summary { max-width: 45ch; font-size: 1rem; line-height: 1.75; color: #cccbbf; margin-bottom: 1.7rem; }
.home-hero .action-row { gap: 1.25rem; }
.home-hero .button { min-height: 50px; padding: 0.8rem 1.4rem; }
.home-hero .button.primary { gap: 1.4rem; }
.home-hero .hero-trailer-link { padding-inline: 0; border-color: transparent; background: transparent; font-size: 0.75rem; text-transform: none; letter-spacing: 0.015em; gap: 0.6rem; }
.hero-trailer-link > span { font-size: 1.5rem; color: var(--gold); line-height: 1; }
.home-evidence { justify-self: end; align-self: end; width: 100%; max-width: 265px; border: 0; border-top: 1px solid #d6bd8e77; background: transparent; padding: 1.1rem 0 0; backdrop-filter: none; text-shadow: 0 2px 16px #000; }
.home-evidence .section-label { color: var(--gold); font-size: 0.65rem; font-weight: 500; margin: 0; }
.hero-date { display: flex; align-items: baseline; gap: 0.65rem; margin-top: 0.55rem; font-family: var(--display); line-height: 1; white-space: nowrap; }
.hero-date > span { font-size: clamp(3.5rem, 5vw, 5rem); letter-spacing: -0.04em; }
.hero-date i { color: var(--gold); font-size: 0.8em; font-weight: 400; padding-inline: 0.1em; }
.hero-date small { font-family: var(--body); font-size: 0.75rem; color: var(--muted); }
.hero-date-scope { font-size: 0.75rem; letter-spacing: 0.12em; margin-block: 0.8rem; color: #dfdfd3; }
.hero-source-link { display: inline-flex; min-height: 36px; align-items: center; gap: 1rem; color: var(--gold); font-size: 0.75rem; text-decoration: none; }
.hero-source-link:hover { color: var(--gold-bright); }
.hero-bottom { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid #d6bd8e26; padding-top: 1rem; }
.home-hero .art-credit { margin: 0; padding: 0; color: #b3b3a8; font-size: 0.6rem; font-weight: 400; line-height: 1.6; letter-spacing: 0.08em; }
.motion-toggle { flex-shrink: 0; display: inline-flex; align-items: center; gap: 0.6rem; min-height: 36px; padding: 0.25rem 0; border: 0; background: transparent; color: #c4c5b9; font-family: var(--body); font-size: 0.7rem; cursor: pointer; }
.motion-toggle[hidden] { display: none; }
.motion-indicator { display: inline-block; width: 1.4rem; height: 0.8rem; border: 1px solid #8d9787; border-radius: 1rem; }
.motion-indicator::after { display: block; width: 0.4rem; height: 0.4rem; margin: 0.13rem; border-radius: 50%; background: #8d9787; content: ""; }
.motion-toggle[aria-pressed="true"] .motion-indicator { border-color: var(--gold); }
.motion-toggle[aria-pressed="true"] .motion-indicator::after { background: var(--gold); transform: translateX(0.55rem); }
.motion-toggle:disabled { opacity: 0.65; cursor: default; }

/* Measured editorial spacing and image-led chapter entrances. */
.home-fact-strip { background: transparent; border-inline: 0; padding-block: 1rem; }
.home-fact-strip article { padding: 0.7rem 1.6rem; }
.home-fact-strip article:first-child { padding-left: 0; }
.home-fact-strip p { font-weight: 500; font-size: 0.6rem; letter-spacing: 0.14em; }
.home-fact-strip strong { font-family: var(--body); font-size: 0.9rem; font-weight: 500; }
.home-stack > .content-section { padding-block: clamp(3rem, 6vw, 6rem); }
.home-stack > .ad-slot { margin-top: 2rem; background: transparent; border-color: #30353388; }
.home-tasks { counter-reset: chapter; }
.home-tasks h2 { font-size: clamp(2.5rem, 4.5vw, 4rem); margin-bottom: 0.65rem; }
.home-tasks > .section-intro { font-size: 1rem; }
.home-task-grid { gap: 1.3rem; margin-top: 2.5rem; }
.home-task-card { display: flex; align-items: flex-end; min-height: 430px; background: #111514; border: 1px solid #d6bd8e30; counter-increment: chapter; isolation: isolate; }
.home-task-card::before { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(180deg, #090b0b08 0%, #090b0b50 25%, #090b0be0 64%, #090b0b 100%); }
.home-task-card > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; filter: brightness(0.95) saturate(0.7); transition: transform 600ms cubic-bezier(.2,.65,.3,1), filter 600ms; }
.home-task-card:hover > img, .home-task-card:focus-within > img { transform: scale(1.055); filter: brightness(1.1) saturate(0.9); }
.home-task-card-copy { position: static; padding: 1.7rem; border-top: 0; width: 100%; }
.home-task-card-copy::before { content: "0" counter(chapter); position: absolute; top: 1.4rem; left: 1.7rem; width: auto; height: auto; color: #f0dfbe; font-family: var(--display); font-size: 2rem; line-height: 1; background: none; }
.home-task-card-copy .section-label { font-size: 0.6rem; color: var(--gold); }
.home-task-card-copy h3 { font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.12; letter-spacing: -0.035em; }
.home-task-card-copy p:not(.section-label) { color: #c3c4b9; font-size: 0.85rem; line-height: 1.65; margin-block: 0.85rem 1.3rem; }
.home-task-card-copy .text-link { font-size: 0.75rem; line-height: 1.6; }
.home-task-card-copy .text-link::after { position: absolute; inset: 0; content: ""; }
.home-task-card:focus-within { outline: 2px solid var(--gold); outline-offset: 4px; }
.home-release-evidence h2 { max-width: 21ch; }
.home-release-evidence .section-intro, .release-answer { max-width: 80ch; font-size: 1rem; color: var(--muted); }
.release-answer { border-left: 2px solid var(--gold); padding-left: 1.2rem; color: var(--cream); margin-block: 1.5rem; }
.source-table th, .source-table td { font-size: 0.9rem; }
.source-table tbody th a { color: var(--gold); font-weight: 500; }
.source-table tbody tr:hover { background: #d6bd8e05; }
.home-stack .date-stamp { border: 1px solid #d6bd8e55; background: var(--surface); color: var(--cream); }
.home-stack .date-stamp strong { color: var(--gold); }
.home-stack .date-stamp span, .home-stack .date-stamp b { color: var(--muted); }
.home-video-section { margin-block: 1rem 0; border-block: 1px solid #d6bd8e55; }
.home-video-facade { aspect-ratio: 21 / 9; }
.home-video-player { aspect-ratio: 21 / 9; }
.home-video-poster img { object-position: center 50%; filter: brightness(0.9) saturate(0.7); }
.home-video-play { width: 5rem; border-color: var(--gold); background: #090b0b66; color: var(--gold); box-shadow: 0 0 0 12px #d6bd8e08; }
.home-video-facade:hover .home-video-play { background: var(--gold); color: #090b0b; border-color: var(--gold); }
.home-about > div { display: grid; grid-template-columns: 1fr 1fr; gap: 0 4rem; max-width: none; }
.home-about .section-label { grid-column: 1 / -1; }
.home-about h2 { margin: 0; max-width: 15ch; font-size: clamp(2.5rem, 4.5vw, 4rem); }
.home-about .section-intro { margin: 0; font-size: 1rem; }
.home-boundary h2 { max-width: 23ch; }
.home-faq h2 { font-size: 3rem; }
.home-final-cta { position: relative; overflow: hidden; padding: clamp(2rem, 5vw, 4rem); border: 1px solid #d6bd8e44; background: linear-gradient(90deg, #090b0bea 15%, #090b0b99), url('/assets/images/price-hero-editorial.webp') center / cover; }
.home-final-cta h2 { font-size: clamp(2.4rem, 4.5vw, 4rem); font-weight: 400; line-height: 1.05; max-width: 20ch; }

@keyframes chapter-arrive { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes title-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
  body[data-motion="on"] .home-title { animation: title-arrive 800ms cubic-bezier(.2,.65,.3,1) both; }
  body[data-motion="on"] .chapter-arriving { animation: chapter-arrive 650ms cubic-bezier(.2,.65,.3,1) both; }
  body[data-motion="on"] .home-hero-art { transform: translate3d(var(--scene-x, 0px), var(--scene-y, 0px), 0); }
}
body[data-motion="off"] *, body[data-motion="off"] *::before, body[data-motion="off"] *::after { animation: none !important; transition: none !important; }
html:has(body[data-motion="off"]) { scroll-behavior: auto; }

@media (max-width: 1050px) {
  .page-width { width: calc(100% - 3rem); }
  .nav-actions { gap: 1.1rem; }
  .nav-links { gap: 0.75rem; }
  .nav-links a { font-size: 0.68rem; letter-spacing: 0.03em; }
  .home-hero-inner { column-gap: 2rem; }
  .home-task-grid { gap: 0.8rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-task-card-requirements { grid-column: auto; }
  .home-task-card-copy { padding: 1.2rem; }
  .home-task-card-copy::before { left: 1.2rem; }
}
@media (max-width: 760px) {
  .page-width { width: calc(100% - 2rem); }
  .site-nav { display: grid; grid-template-columns: 1fr; gap: 0.25rem; padding-block: 0.65rem 0; }
  .brand { min-height: 40px; }
  .brand-lockup { font-size: 1.2rem; }
  .brand-lockup i { height: 1.7rem; }
  .brand-disclosure { font-size: 0.6rem; margin-top: 0.55rem; }
  .nav-actions { display: contents; }
  .nav-links { grid-column: 1; justify-content: space-between; gap: 0.75rem; }
  .nav-links a { flex: 0 1 auto; font-size: 0.65rem; padding: 0.5rem 0; min-height: 44px; }
  .language-switcher { position: absolute; right: 1rem; top: 0.45rem; width: auto; }
  .language-switcher summary { min-width: 6.5rem; max-width: 8rem; min-height: 40px; padding-block: 0.2rem; }
  .language-switcher summary > span { display: none; }
  .language-switcher summary > strong { font-size: 0.75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .language-switcher ul { min-width: 200px; }
  .home-hero { min-height: 710px; }
  .hero h1 { max-width: none; font-size: clamp(2.1rem, 8.5vw, 2.8rem); }
  .home-hero-inner { grid-template-columns: 1fr; padding-top: 10rem; padding-bottom: 1rem; row-gap: 1.8rem; }
  .home-hero-art { height: 32rem; }
  .home-hero-art img { object-position: 66% top; }
  .home-hero::after { background: linear-gradient(0deg, #090b0b 0%, #090b0beb 32%, #090b0b80 65%, #090b0b05 100%); }
  .home-status-line { gap: 0.65rem; }
  .home-status-line .eyebrow { font-size: 0.6rem; letter-spacing: 0.14em; }
  .home-title { margin-top: 1.2rem; font-size: clamp(3.3rem, 12vw, 5.5rem); }
  .home-hero h1 { font-size: 0.95rem; margin-top: 1.1rem; }
  .home-summary { font-size: 0.95rem; max-width: 38ch; margin-bottom: 1.3rem; }
  .home-hero .action-row { flex-direction: row; flex-wrap: wrap; gap: 0.5rem 1rem; }
  .home-hero .button { width: auto; padding-inline: 1rem; font-size: 0.7rem; }
  .home-hero .button.primary { gap: 0.75rem; padding-inline: 0.9rem; }
  .home-hero .hero-trailer-link { padding-inline: 0; }
  .home-evidence { display: grid; grid-template-columns: 1fr auto; max-width: none; align-items: center; gap: 0.4rem 1rem; padding-top: 1rem; }
  .home-evidence > .section-label { grid-column: 1; font-size: 0.6rem; }
  .hero-date { grid-column: 2; grid-row: 1 / 3; margin-top: 0; }
  .hero-date > span { font-size: 3rem; }
  .hero-date-scope { grid-column: 1; margin: 0; font-size: 0.65rem; }
  .hero-source-link { grid-column: 1 / -1; font-size: 0.7rem; }
  .hero-bottom { gap: 0.6rem; padding-top: 0.75rem; }
  .home-hero .art-credit { max-width: 25ch; font-size: 0.55rem; }
  .motion-toggle { font-size: 0.65rem; }
  .home-fact-strip { padding-block: 0.5rem; }
  .home-fact-strip article { padding: 1rem; }
  .home-fact-strip article:nth-child(odd) { padding-left: 0; }
  .home-fact-strip strong { font-size: 0.8rem; }
  .home-fact-strip p { font-size: 0.6rem; }
  .home-task-grid { grid-template-columns: 1fr; gap: 1rem; }
  .home-task-card { min-height: 360px; }
  .home-task-card-copy { padding: 1.5rem; }
  .home-task-card-copy::before { left: 1.5rem; }
  .home-task-card-copy h3 { max-width: 20ch; font-size: 2rem; }
  .home-task-card-copy p:not(.section-label) { max-width: 42ch; }
  .home-task-card > img { object-position: 70% 40%; }
  .home-about > div { grid-template-columns: 1fr; gap: 1rem; }
  .home-video-facade, .home-video-player { aspect-ratio: 16 / 9; }
  .home-video-play { width: 3.8rem; }
  .home-final-cta .button { width: 100%; }
  :is(h2, h3, [id], .home-video-section) { scroll-margin-top: 130px; }
}
@media (max-width: 360px) {
  .home-title { font-size: 3.2rem; }
  .brand-lockup { font-size: 1rem; }
  .language-switcher summary { min-width: 6rem; }
  .hero-date { gap: 0.3rem; }
  .hero-date > span { font-size: 2.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home-hero-art, .home-task-card:hover > img, .home-task-card:focus-within > img { transform: none; }
}

/* Keep supporting information legible, including long translated labels. */
.brand-disclosure, .language-switcher summary > span, .section-label,
.home-status-line .eyebrow, .status-pill, .home-evidence .section-label,
.home-fact-strip p, .home-task-card-copy .section-label,
.home-hero .art-credit, .motion-toggle, .ad-slot-label, .ad-slot-placeholder {
  font-size: 0.75rem;
}
.home-hero .art-credit { text-transform: none; letter-spacing: 0.015em; }
.home-hero .button, .nav-links a { font-size: 0.75rem; }
@media print {
  .home-title, .home-hero-art, .hero-bottom, .home-video-section { display: none; }
  .home-hero, .home-hero-inner { min-height: 0; padding-block: 1rem; }
  .home-hero::before, .home-hero::after { display: none; }
  .home-task-card { min-height: 0; color: black; }
}
