:root {
  color-scheme: dark;
  --page: #111a17;
  --surface: #18231e;
  --ink: #f1eadb;
  --muted: #bdc7bc;
  --gold: #debd80;
  --line: #3b483b;
  --heading: Georgia, 'Times New Roman', serif;
  font: 100%/1.6 system-ui, sans-serif;
  color: var(--ink);
  background: var(--page);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; }
button { font: inherit; }
a:focus-visible, button:focus-visible, figure:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
.wrap { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.skip-link { position: absolute; z-index: 3; inset: 1rem auto auto 1rem; padding: .6rem 1rem; transform: translateY(-200%); background: var(--page); }
.skip-link:focus { transform: none; }

.header { background: #131e19; border-bottom: 1px solid #3b483b; }
.header-inner { display: grid; min-height: 4.6rem; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.header nav, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }
.header nav { gap: 2rem; }
.header nav a, .footer a { text-decoration: none; }
.header nav a:hover, .footer a:hover { color: var(--gold); }
.header-cta { justify-self: end; }
.wordmark { display: inline-flex; align-items: center; gap: .7rem; width: fit-content; color: var(--ink); text-decoration: none; font: 700 1.55rem/1 var(--heading); letter-spacing: .04em; }
.crest, .feature-mark {
  display: grid;
  place-items: center;
  border: 1px solid #736444;
  color: var(--gold);
  background: #252a21;
}
.crest { width: 2rem; height: 2rem; font: 1.2rem/1 Georgia, serif; transform: rotate(-5deg); border-radius: .15rem .15rem .6rem .6rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 2.85rem; border: 1px solid transparent; border-radius: .2rem; padding: .65rem 1.25rem; text-decoration: none; line-height: 1.2; font-size: .94rem; font-weight: 700; text-align: center; transition: background .18s, border-color .18s; }
.button-gold { color: #20190e; background: var(--gold); }
.button-gold:hover { background: #efca86; }
.button-outline { color: var(--ink); border-color: #8b7a59; background: #161e17b8; }
.button-outline:hover { background: #36372a; border-color: var(--gold); }

.hero { position: relative; display: grid; min-height: 37rem; align-items: center; isolation: isolate; border-bottom: 1px solid var(--line); overflow: hidden; background: #202b24; }
.hero::before, .hero::after { content: ''; position: absolute; z-index: -1; inset: 0; }
.hero::before { background: #252c23 url('/media/keep.jpg') 63% 51% / cover no-repeat; }
.hero::after { background: linear-gradient(90deg, #111b17 1%, #111a16ed 23%, #111a1699 43%, #0b171218 69%), linear-gradient(0deg, #111a17d8, transparent 34%); }
.hero-content { position: relative; padding-block: 6.5rem 7rem; }
.hero h1 { margin: .65rem 0 1.2rem; font: 500 clamp(3.2rem, 6.9vw, 6.4rem)/.98 var(--heading); letter-spacing: -.045em; text-wrap: balance; }
.hero-intro { max-width: 30rem; color: #e2e2d2; font-size: clamp(1.04rem, 1.9vw, 1.2rem); }
.eyebrow { color: var(--gold); font-size: .81rem; font-weight: 750; letter-spacing: .15em; line-height: 1.5; text-transform: uppercase; }
.actions { margin-top: 1.8rem; }
.hero-credit { position: absolute; inset: auto 0 .9rem; text-align: right; color: #d9d5c6; font-size: .8rem; }

h2 { font: 500 clamp(2rem, 4.25vw, 3.55rem)/1.08 var(--heading); letter-spacing: -.028em; text-wrap: balance; }
h3 { font: 500 clamp(1.3rem, 2.8vw, 1.66rem)/1.2 var(--heading); }
.features { padding-block: 4.35rem 4.9rem; }
.features h2, .section-top h2, .play h2 { margin-top: .45rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2.2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-grid article { padding: 1.6rem min(2.5vw, 1.7rem) 1.65rem; }
.feature-grid article:first-child { padding-left: 0; }
.feature-grid article + article { border-left: 1px solid var(--line); }
.feature-mark { width: 2.1rem; aspect-ratio: 1; border-radius: .18rem; margin-bottom: .95rem; font-size: 1.2rem; }
.feature-grid p { margin-top: .55rem; color: var(--muted); }

.gallery { padding-block: 4.1rem 4.6rem; background: #17231e; border-block: 1px solid var(--line); }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; flex-wrap: wrap; }
.section-note { color: var(--muted); }
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.75rem 0 1rem; }
.tabs button { cursor: pointer; min-height: 2.75rem; padding: .45rem 1.15rem; border: 1px solid #556051; border-radius: .2rem; background: #131e1a; color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: #20190e; font-weight: 700; }
.tabs button:hover { border-color: var(--gold); }
.shot { overflow: hidden; margin-top: 1rem; border: 1px solid #515d4b; border-radius: .28rem; background: #111d1a; }
.shot img { width: 100%; height: auto; }
.shot figcaption { padding: .6rem .9rem; border-top: 1px solid #515d4b; color: var(--muted); font-size: .875rem; }
.shot-phone img { margin-inline: auto; width: min(100%, 20rem); }

.play { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; padding-block: 4.5rem; }
.play .section-note { margin-top: 1rem; max-width: 33rem; }
.play ol { display: grid; gap: .85rem; margin: 0; padding: 1.45rem 1.6rem 1.45rem 2.8rem; border: 1px solid var(--line); background: var(--surface); }
.play li { padding-left: .28rem; }
.play li::marker { color: var(--gold); font-weight: 750; }
code { color: var(--gold); white-space: normal; overflow-wrap: anywhere; }
.status { display: flex; align-items: baseline; gap: .55rem; margin-top: 1rem; color: var(--muted); font-size: .9rem; }
.status span:first-child { width: .55rem; height: .55rem; border-radius: 50%; background: #d0a369; flex-shrink: 0; }
.status[data-ready="true"] span:first-child { background: #91c6a6; }
.footer { border-top: 1px solid var(--line); background: #101814; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; min-height: 5rem; gap: 1rem 2rem; padding-block: .85rem; }
.footer .wordmark { font-size: 1.2rem; }
.footer .crest { font-size: 1rem; width: 1.65rem; height: 1.65rem; }

@media (max-width: 42rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { min-height: 4.3rem; grid-template-columns: 1fr auto; }
  .header nav { display: none; }
  .header-cta { padding-inline: .85rem; }
  .wordmark { font-size: 1.3rem; }
  .hero { min-height: 0; align-items: end; }
  .hero::before { background-position: 84% 50%; }
  .hero::after { background: linear-gradient(0deg, #111a17 6%, #111a17f0 27%, #111a1760 65%, #111a170a 92%); }
  .hero-content { padding-block: 14.2rem 3.4rem; }
  .hero h1 { font-size: clamp(2.75rem, 11vw, 4.5rem); }
  .hero-credit { text-align: left; }
  .actions { gap: .55rem; }
  .actions .button { padding-inline: .8rem; }
  .features, .gallery, .play { padding-block: 2.8rem; }
  .feature-grid { grid-template-columns: 1fr; margin-top: 1.6rem; }
  .feature-grid article { padding: 1.2rem 0; }
  .feature-grid article + article { border-top: 1px solid var(--line); border-left: 0; }
  .feature-mark { float: left; margin: .12rem .9rem 1rem 0; }
  .play { grid-template-columns: 1fr; gap: 1.2rem; }
  .footer-inner { justify-content: space-between; }
  .footer-inner > span { order: 3; flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
