/* Honed to Perfection – one-page site. Navy and gold, after the game's key art and HUD. */

:root {
  --navy-950: #060c18;
  --navy-900: #0b1426;
  --navy-850: #0e1930;
  --navy-800: #13213d;
  --navy-700: #1b2c50;
  --gold-200: #fbecc4;
  --gold-300: #f4d99a;
  --gold-400: #e4bf72;
  --gold-500: #c99b4f;
  --gold-700: #7d5c2b;
  --text: #ece4cf;
  --muted: #b9b09a;
  --fire: #ff8a2a;
  --ice: #5ab9ff;
  --poison: #62d572;
  --thunder: #a78bff;
  --line: linear-gradient(90deg, transparent, var(--gold-500) 18%, var(--gold-300) 50%, var(--gold-500) 82%, transparent);
  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-body: "EB Garamond", Garamond, Georgia, "Times New Roman", serif;
  --header-h: 72px;
  --maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.1875rem;
  line-height: 1.6;
  background:
    radial-gradient(1200px 600px at 85% 20%, rgba(60, 90, 160, 0.16), transparent 60%),
    radial-gradient(900px 500px at 10% 60%, rgba(201, 155, 79, 0.08), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--gold-300); text-decoration: none; }
a:hover { color: var(--gold-200); }
:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 3px; border-radius: 3px; }

.sr-only {
  position: absolute !important; 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; left: 1rem; top: -4rem; z-index: 100; padding: .6rem 1rem;
  background: var(--gold-400); color: var(--navy-950); font-family: var(--font-display); border-radius: 4px;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- buttons ---------- */

.btn {
  --btn-h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: var(--btn-h); padding: 0 1.9rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: .04em;
  border-radius: 6px; border: 1px solid transparent; cursor: pointer;
  position: relative; isolation: isolate; white-space: nowrap;
  transition: transform .2s ease, box-shadow .25s ease, filter .2s ease;
}
.btn svg { width: 1.6em; height: 1.6em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-steam {
  color: #1b1307;
  background: linear-gradient(180deg, #fff1c9 0%, #f0cf86 38%, #d6a552 70%, #b98838 100%);
  border-color: #fff0c4;
  box-shadow: 0 0 0 1px rgba(125, 92, 43, .9), 0 0 0 4px rgba(11, 20, 38, .55), 0 0 0 5px rgba(228, 191, 114, .55),
    0 10px 28px rgba(0, 0, 0, .45), 0 0 34px rgba(244, 217, 154, .25);
}
.btn-steam .steam-icon {
  padding: .22em; border-radius: 50%; background: #16110a; color: #f4d99a;
}
.btn-steam:hover {
  filter: brightness(1.06) saturate(1.05);
  box-shadow: 0 0 0 1px rgba(125, 92, 43, .9), 0 0 0 4px rgba(11, 20, 38, .55), 0 0 0 5px rgba(244, 217, 154, .8),
    0 14px 34px rgba(0, 0, 0, .5), 0 0 48px rgba(244, 217, 154, .45);
}
.btn-steam::after {
  /* a slow glint across the gold */
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 45%, transparent 60%) no-repeat;
  background-size: 250% 100%; background-position: 130% 0;
  animation: glint 6s ease-in-out infinite 2s;
  mix-blend-mode: overlay;
}
@keyframes glint { 0%, 70% { background-position: 130% 0; } 100% { background-position: -60% 0; } }

.btn-ghost {
  color: var(--gold-200);
  background: linear-gradient(180deg, rgba(19, 33, 61, .82), rgba(8, 14, 28, .88));
  border-color: rgba(228, 191, 114, .75);
  box-shadow: 0 0 0 4px rgba(11, 20, 38, .45), 0 10px 28px rgba(0, 0, 0, .45);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--gold-300); box-shadow: 0 0 0 4px rgba(11, 20, 38, .45), 0 0 28px rgba(244, 217, 154, .25); }

.btn-small { --btn-h: 40px; padding: 0 1.1rem; font-size: .92rem; }
.btn-large { --btn-h: 62px; padding: 0 2.6rem; font-size: 1.2rem; }

/* ---------- header ---------- */

/* a dark bar with a gold rule, as in the mockup; the key art starts below it so the logo is never covered */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: linear-gradient(180deg, rgba(6, 12, 24, .96), rgba(11, 20, 38, .9));
  backdrop-filter: blur(12px) saturate(1.2);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); opacity: .75;
}
.site-header.scrolled {
  background: rgba(8, 14, 28, .9);
  box-shadow: 0 6px 30px rgba(0, 0, 0, .35);
}

.nav {
  height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2.5rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .65rem; color: var(--gold-300); }
.brand img { filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); }
.brand-text {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase;
  background: linear-gradient(180deg, var(--gold-200), var(--gold-400) 60%, var(--gold-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}
.brand-text small { font-size: .7em; letter-spacing: .2em; }

.nav-links { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(.8rem, 2.4vw, 2.4rem); }
.nav-links a:not(.btn) {
  position: relative; font-family: var(--font-display); font-size: .98rem; letter-spacing: .06em; color: var(--text);
  text-shadow: 0 2px 8px rgba(0, 0, 0, .7); padding: .4rem 0;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1px; background: var(--gold-300);
  transition: left .25s ease, right .25s ease;
}
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--gold-300); }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { left: 0; right: 0; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid rgba(228, 191, 114, .6); border-radius: 6px;
  background: rgba(8, 14, 28, .7); padding: 11px 10px; cursor: pointer; flex-direction: column; justify-content: space-between;
}
.nav-toggle .bar { display: block; height: 2px; background: var(--gold-300); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(10px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-10px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative; width: 100%; margin-top: var(--header-h);
  aspect-ratio: 1672 / 941; max-height: calc(100vh - var(--header-h)); max-height: calc(100svh - var(--header-h)); min-height: 480px;
  overflow: hidden; background: var(--navy-950);
}
.hero-art { position: absolute; inset: 0; }
.hero-art picture, .hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-img {
  object-fit: cover; object-position: 50% 0;
  transform-origin: 30% 55%;
  animation: hero-in 2.4s cubic-bezier(.2, .7, .2, 1) both, hero-drift 28s ease-in-out 2.4s infinite alternate;
  will-change: transform;
}
@keyframes hero-in {
  from { opacity: 0; transform: scale(1.12); filter: brightness(.4) saturate(.8); }
  to { opacity: 1; transform: scale(1.03); filter: none; }
}
@keyframes hero-drift {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to { transform: scale(1.09) translate3d(-1%, -.6%, 0); }
}
.hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-shine {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 240, 200, .55) 48%, transparent 60%) no-repeat;
  background-size: 300% 100%; background-position: 140% 0;
  animation: shine 11s ease-in-out 3s infinite;
}
@keyframes shine { 0%, 60% { background-position: 140% 0; } 100% { background-position: -50% 0; } }
.hero-fade {
  position: absolute; inset: auto 0 0 0; height: 32%; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(11, 20, 38, .55) 55%, var(--navy-900));
}

/* placed on the art itself, not the hero box: the art is always as wide as the screen (56.28vw tall) and only its bottom gets
   cropped on wide, short screens, so the button keeps its spot under the tagline's gold divider (about 41% down the art) */
.hero-content {
  position: absolute; left: 57.5%; width: 33%; top: calc(56.28vw * .44);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero-tagline { /* the key art already carries the tagline under the logo; shown as text on small screens */
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}
.hero-actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.2rem;
  animation: rise 1s cubic-bezier(.2, .7, .2, 1) 1.4s both;
}
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.6rem; width: 30px; height: 48px; margin-left: -15px;
  border: 1px solid rgba(244, 217, 154, .7); border-radius: 16px; opacity: .85;
  animation: rise 1s ease 2.2s both;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: var(--gold-300);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- sections ---------- */

.section { position: relative; max-width: var(--maxw); margin: 0 auto; padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 4vw, 2rem); }

.section-title, .eyebrow {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase; color: var(--gold-200);
}
.section-title {
  display: flex; align-items: center; gap: 1.2rem; justify-content: center;
  margin: 0 0 clamp(2rem, 5vw, 3.4rem); font-size: clamp(1.35rem, 3vw, 1.9rem); letter-spacing: .32em; text-align: center;
}
.section-title::before, .section-title::after {
  content: ""; flex: 0 1 220px; height: 1px; background: var(--line);
  -webkit-mask: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); mask: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
}
.section-title span { position: relative; padding: 0 1.4rem; }
.section-title span::before, .section-title span::after {
  content: ""; position: absolute; top: 50%; width: 9px; height: 9px; margin-top: -5px; transform: rotate(45deg);
  border: 1px solid var(--gold-400); background: var(--navy-900);
}
.section-title span::before { left: -2px; }
.section-title span::after { right: 0; }

.eyebrow { display: flex; align-items: center; gap: .9rem; margin: 0 0 1.2rem; font-size: 1rem; letter-spacing: .38em; }
.eyebrow::before, .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--gold-400); }

/* journey */
.journey { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.journey-art { position: relative; }
.journey-art img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px;
  -webkit-mask: linear-gradient(90deg, #000 70%, transparent); mask: linear-gradient(90deg, #000 70%, transparent);
}
.journey-text .lead { font-size: clamp(1.25rem, 2.2vw, 1.5rem); font-style: italic; line-height: 1.5; color: var(--gold-200); margin: 0 0 1.2rem; }
.journey-text p { margin: 0 0 1rem; color: var(--text); }

/* features */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.feature-card {
  position: relative; display: flex; flex-direction: column; text-align: center;
  background: linear-gradient(180deg, rgba(27, 44, 80, .78), rgba(11, 20, 38, .92));
  border: 1px solid rgba(201, 155, 79, .55); border-radius: 6px; overflow: hidden;
  box-shadow: inset 0 0 0 4px rgba(6, 12, 24, .55), inset 0 0 0 5px rgba(201, 155, 79, .25), 0 18px 40px rgba(0, 0, 0, .35);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.feature-card:hover {
  transform: translateY(-6px); border-color: var(--gold-400);
  box-shadow: inset 0 0 0 4px rgba(6, 12, 24, .55), inset 0 0 0 5px rgba(244, 217, 154, .4), 0 24px 50px rgba(0, 0, 0, .45), 0 0 40px rgba(201, 155, 79, .18);
}
.feature-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.feature-card:hover .feature-media img { transform: scale(1.06); }
.feature-media::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11, 20, 38, .95));
}
.feature-card h3 {
  position: relative; margin: 1.6rem 1rem .55rem; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-200);
}
.feature-card h3::before { /* the diamond on the seam, as in the mockup */
  content: ""; position: absolute; left: 50%; top: -2.15rem; width: 26px; height: 26px; margin-left: -13px; transform: rotate(45deg);
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); border: 1px solid var(--gold-400);
  box-shadow: 0 0 0 3px rgba(11, 20, 38, .9), 0 0 16px rgba(244, 217, 154, .35);
}
.feature-card p { margin: 0 1.3rem 1.6rem; font-style: italic; font-size: 1.06rem; line-height: 1.45; color: var(--muted); }
.element-chips {
  position: absolute; z-index: 1; left: 0; right: 0; top: .9rem; margin: 0; padding: 0; list-style: none;
  display: flex; justify-content: center; gap: .55rem;
}
.element-chips li {
  width: 40px; height: 40px; display: grid; place-items: center; transform: rotate(45deg);
  background: rgba(8, 14, 28, .85); border: 1px solid rgba(228, 191, 114, .7);
}
.element-chips img { width: 26px; height: 26px; transform: rotate(-45deg); }

/* gallery */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.8rem, 1.8vw, 1.4rem); }
.gallery a {
  position: relative; display: block; border-radius: 4px; overflow: hidden;
  border: 1px solid rgba(201, 155, 79, .55);
  box-shadow: 0 0 0 4px rgba(6, 12, 24, .6), 0 0 0 5px rgba(201, 155, 79, .22), 0 16px 34px rgba(0, 0, 0, .4);
  transition: transform .3s ease, box-shadow .3s ease;
}
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s ease, filter .4s; }
.gallery a::after {
  content: attr(data-caption); position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1rem .8rem;
  font-style: italic; font-size: 1.02rem; color: var(--gold-200);
  background: linear-gradient(180deg, transparent, rgba(6, 12, 24, .92)); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s;
}
.gallery a:hover, .gallery a:focus-visible { transform: translateY(-4px); box-shadow: 0 0 0 4px rgba(6, 12, 24, .6), 0 0 0 5px rgba(244, 217, 154, .5), 0 22px 44px rgba(0, 0, 0, .5); }
.gallery a:hover img { transform: scale(1.05); filter: saturate(1.1); }
.gallery a:hover::after, .gallery a:focus-visible::after { opacity: 1; transform: none; }

/* facts */
.facts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.4rem; align-items: start; }
.fact {
  border: 1px solid rgba(201, 155, 79, .4); border-radius: 6px; background: rgba(14, 25, 48, .7);
  padding: .2rem 1.3rem; transition: border-color .3s, background .3s;
}
.fact[open] { border-color: rgba(228, 191, 114, .75); background: rgba(19, 33, 61, .8); }
.fact summary {
  list-style: none; cursor: pointer; padding: 1rem 0; font-family: var(--font-display); font-size: 1.02rem; letter-spacing: .05em; color: var(--gold-200);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.fact summary::-webkit-details-marker { display: none; }
.fact summary::after { content: "+"; font-size: 1.4rem; color: var(--gold-400); transition: transform .3s; }
.fact[open] summary::after { transform: rotate(45deg); }
.fact p { margin: 0 0 1.2rem; color: var(--muted); }

/* newsletter */
.newsletter { padding-top: 2rem; }
.newsletter-card {
  position: relative; max-width: 780px; margin: 0 auto; padding: clamp(2rem, 5vw, 3.2rem) clamp(1.2rem, 5vw, 3.4rem); text-align: center;
  background: radial-gradient(500px 220px at 50% 0, rgba(201, 155, 79, .16), transparent 70%), linear-gradient(180deg, rgba(27, 44, 80, .85), rgba(11, 20, 38, .95));
  border: 1px solid rgba(228, 191, 114, .6); border-radius: 8px;
  box-shadow: inset 0 0 0 5px rgba(6, 12, 24, .5), inset 0 0 0 6px rgba(201, 155, 79, .25), 0 24px 60px rgba(0, 0, 0, .45);
}
.newsletter-card h2 {
  margin: 0 0 .6rem; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 3.4vw, 2.1rem); letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-200);
}
.newsletter-card > p { margin: 0 auto 1.8rem; max-width: 34em; font-style: italic; color: var(--muted); }
.field-row { display: flex; gap: .8rem; }
.field-row input {
  flex: 1 1 auto; min-width: 0; height: 54px; padding: 0 1.1rem; font: inherit; font-size: 1.1rem; color: var(--text);
  background: rgba(6, 12, 24, .75); border: 1px solid rgba(201, 155, 79, .6); border-radius: 6px;
}
.field-row input::placeholder { color: #8b8574; }
.field-row input:focus { outline: none; border-color: var(--gold-300); box-shadow: 0 0 0 3px rgba(244, 217, 154, .2); }
.consent { display: flex; gap: .7rem; align-items: flex-start; margin: 1.1rem auto 0; max-width: 34em; text-align: left; font-size: .98rem; color: var(--muted); cursor: pointer; }
.consent input { margin-top: .32rem; width: 18px; height: 18px; accent-color: var(--gold-400); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.6em; margin: 1rem 0 0; font-style: italic; }
.form-status.ok { color: #9fe0a8; }
.form-status.error { color: #ffab8f; }

/* final call to action */
.final-cta {
  position: relative; margin-top: clamp(3rem, 7vw, 5rem); padding: clamp(5rem, 12vw, 9rem) 1rem; text-align: center; overflow: hidden;
  background:
    linear-gradient(180deg, var(--navy-900), rgba(11, 20, 38, .55) 30%, rgba(11, 20, 38, .7) 70%, var(--navy-950)),
    url("../img/key-art-1280.webp") center 94% / cover no-repeat; /* the portals and ground, below the art's own tagline */
}
.final-cta::before, .final-cta::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--line); opacity: .7; }
.final-cta::before { top: 0; }
.final-cta::after { bottom: 0; }
.final-cta h2 {
  margin: 0 0 .4rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 5vw, 3.2rem); letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold-200); text-shadow: 0 4px 24px rgba(0, 0, 0, .8);
}
.final-cta p { margin: 0 0 2rem; font-style: italic; font-size: 1.25rem; color: var(--text); text-shadow: 0 2px 12px rgba(0, 0, 0, .9); }

/* footer */
.site-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
  max-width: 1440px; margin: 0 auto; padding: 2rem clamp(1rem, 3vw, 2.5rem) 2.6rem; color: var(--muted); font-size: .98rem;
}
.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 1.6rem; font-family: var(--font-display); font-size: .9rem; letter-spacing: .06em; }

/* lightbox and trailer */
.lightbox, .trailer {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 4vh 4vw;
  background: rgba(3, 6, 12, .94); backdrop-filter: blur(6px);
  animation: fade .25s ease both;
}
.lightbox[hidden], .trailer[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox figure { margin: 0; max-width: 92vw; }
.lightbox img { max-width: 92vw; max-height: 82vh; width: auto; border: 1px solid rgba(228, 191, 114, .6); border-radius: 4px; box-shadow: 0 30px 80px rgba(0, 0, 0, .7); }
.lightbox figcaption { margin-top: .9rem; text-align: center; font-style: italic; color: var(--gold-200); font-size: 1.1rem; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px; font-size: 2.2rem; line-height: 1;
  color: var(--gold-200); background: rgba(14, 25, 48, .85); border: 1px solid rgba(228, 191, 114, .6); border-radius: 50%; cursor: pointer;
  transition: background .2s, transform .2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(27, 44, 80, .95); transform: scale(1.06); }
.lb-close { top: 1.2rem; right: 1.2rem; font-size: 1.9rem; }
.lb-prev { left: 1.2rem; top: 50%; margin-top: -26px; }
.lb-next { right: 1.2rem; top: 50%; margin-top: -26px; }
.trailer-frame { width: min(1200px, 92vw); aspect-ratio: 16 / 9; }
.trailer-frame iframe { width: 100%; height: 100%; border: 1px solid rgba(228, 191, 114, .6); border-radius: 4px; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.feature-grid .reveal:nth-child(2), .gallery .reveal:nth-child(3n+2) { transition-delay: .12s; }
.feature-grid .reveal:nth-child(3), .gallery .reveal:nth-child(3n) { transition-delay: .24s; }
.feature-grid .reveal:nth-child(4) { transition-delay: .36s; }

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content { left: 54%; width: 40%; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: .6rem 1.2rem 1.4rem; background: rgba(8, 14, 28, .97); border-bottom: 1px solid rgba(201, 155, 79, .5);
    transform: translateY(-120%); visibility: hidden; transition: transform .3s ease, visibility 0s .3s;
  }
  .nav-links.open { transform: none; visibility: visible; transition: transform .3s ease; }
  .nav-links li { border-bottom: 1px solid rgba(201, 155, 79, .18); }
  .nav-links a:not(.btn) { display: block; padding: .95rem .2rem; font-size: 1.05rem; }
  .nav-cta-item { border: 0 !important; padding-top: 1rem; }
  .nav-cta-item .btn { width: 100%; --btn-h: 50px; }
  .site-header { background: rgba(8, 14, 28, .8); backdrop-filter: blur(10px); }
  .brand-text { font-size: .92rem; }

  .hero { aspect-ratio: auto; max-height: none; min-height: 0; overflow: visible; }
  .hero-art { position: relative; aspect-ratio: 1672 / 941; overflow: hidden; }
  .hero-fade { height: 22%; }
  .hero-content { position: relative; left: auto; top: auto; width: auto; padding: 1.6rem 1rem 2.2rem; }
  .hero-tagline {
    position: static !important; width: auto; height: auto; clip: auto; overflow: visible;
    margin: 0 0 1.4rem; font-style: italic; font-size: 1.2rem; color: var(--gold-200);
  }
  .scroll-cue { display: none; }

  .journey { grid-template-columns: 1fr; }
  .journey-art img { -webkit-mask: none; mask: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .facts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 1.09rem; }
  .feature-grid, .gallery { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 360px; }
  .hero-actions .btn { width: 100%; }
  .field-row { flex-direction: column; }
  .final-cta { /* the logo-free crop of the hero and his blade */
    background-image: linear-gradient(180deg, var(--navy-900), rgba(11, 20, 38, .55) 30%, rgba(11, 20, 38, .7) 70%, var(--navy-950)), url("../img/hero-sword-960.webp");
    background-position: center, 40% 50%;
  }
  .field-row .btn { width: 100%; }
  .section-title { letter-spacing: .2em; }
  .section-title::before, .section-title::after { flex-basis: 40px; }
  .site-footer { justify-content: center; text-align: center; }
  .lb-prev, .lb-next { top: auto; bottom: 1.2rem; margin-top: 0; }
}

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