:root {
  color-scheme: dark;
  --coal: #0b1012;
  --panel: rgba(18, 23, 24, 0.88);
  --panel-edge: #424846;
  --sand: #d6a25c;
  --ember: #df6b2e;
  --core: #53d8ed;
  --bone: #ead9bd;
  --muted: #9eaaac;
  --danger: #f07847;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--coal); }
body { margin: 0; color: var(--bone); background: radial-gradient(circle at 72% 0%, #26302f 0, transparent 36rem), var(--coal); line-height: 1.6; }
a { color: var(--core); text-underline-offset: .2em; }
a:hover { color: #a9f4ff; }
.skip { position: absolute; left: -999rem; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; padding: .7rem 1rem; background: #fff; color: #000; }
.site-header { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: .9rem clamp(1rem, 4vw, 4rem); border-bottom: 1px solid #303736; background: rgba(8, 12, 13, .9); backdrop-filter: blur(16px); }
.brand { color: var(--bone); font-weight: 900; letter-spacing: .22em; text-decoration: none; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.site-header nav a { color: var(--muted); font-size: .86rem; font-weight: 700; text-decoration: none; }
.site-header nav a[aria-current="page"], .site-header nav a:hover { color: var(--bone); }
.hero { position: relative; min-height: min(78vh, 760px); display: grid; align-items: end; overflow: hidden; border-bottom: 1px solid #333a39; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 10, 11, .96) 0%, rgba(7, 10, 11, .58) 42%, rgba(7, 10, 11, .15) 80%), linear-gradient(0deg, var(--coal), transparent 50%), url("storyboard/00-main-menu-master.png") center/cover; filter: saturate(.82); }
.hero-content { position: relative; width: min(760px, 92vw); padding: clamp(4rem, 10vw, 8rem) clamp(1rem, 5vw, 5rem); }
.eyebrow { color: var(--sand); letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; font-weight: 800; }
h1, h2, h3 { line-height: 1.14; text-wrap: balance; }
h1 { margin: .4rem 0 1rem; font-size: clamp(3rem, 8vw, 7rem); letter-spacing: .08em; }
h2 { margin-top: 0; font-size: clamp(1.8rem, 4vw, 3rem); }
.hero p { max-width: 42rem; font-size: clamp(1rem, 2vw, 1.25rem); color: #c5cbc5; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; padding: .65rem 1.15rem; border: 1px solid #b85d2f; background: linear-gradient(#dd793e, #a94522); color: #140b07; font-weight: 900; text-decoration: none; box-shadow: inset 0 1px #f4ad74, 0 8px 24px rgba(0,0,0,.3); }
.button.secondary { border-color: #516060; background: #151c1d; color: var(--bone); box-shadow: none; }
main > section, .page { width: min(1180px, 92vw); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) 0; }
.intro-grid, .cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.panel { padding: 1.3rem; border: 1px solid var(--panel-edge); background: linear-gradient(145deg, rgba(38,45,44,.72), var(--panel)); box-shadow: 0 18px 50px rgba(0,0,0,.2); }
.panel h3 { color: var(--sand); }
.panel p, .lede, .meta { color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.gallery figure { margin: 0; overflow: hidden; border: 1px solid var(--panel-edge); background: #111617; }
.gallery img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .35s ease; }
.gallery figure:hover img { transform: scale(1.015); }
.gallery figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 1rem; color: var(--muted); }
.gallery strong { color: var(--bone); }
.page { max-width: 840px; min-height: calc(100vh - 13rem); }
.page h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: .02em; }
.page h2 { margin-top: 2.5rem; font-size: 1.55rem; }
.notice { padding: 1rem 1.2rem; border-left: 4px solid var(--core); background: rgba(44, 110, 121, .16); }
.danger { border-left-color: var(--danger); background: rgba(173, 66, 35, .14); }
.steps { counter-reset: step; padding: 0; list-style: none; }
.steps li { position: relative; margin: .8rem 0; padding: 1rem 1rem 1rem 3.5rem; border: 1px solid #343b3a; background: #111617; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 1rem; top: 1rem; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border: 1px solid var(--ember); color: var(--sand); font-weight: 900; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 2rem clamp(1rem, 4vw, 4rem); border-top: 1px solid #303736; color: var(--muted); font-size: .85rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 1rem; }

@media (max-width: 760px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: .5rem; }
  .intro-grid, .cards, .gallery { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
  .hero::before { background-position: 64% center; }
}

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