@font-face { font-family: Outfit; src: url(/assets/Outfit.ttf) format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #000005;            /* the logo animation's own black */
  --bg2: #06070f;
  --panel: #0b0e18;
  --line: #1a2030;
  --ice: #e8f0f2;           /* the mark's white */
  --muted: #9aa6b2;
  --ember: #e2456d;         /* the glow in the mark's flame */
  --ember-hi: #f0698c;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ice); font: 350 18px/1.65 Outfit, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--ice); }
a:focus-visible, .btn:focus-visible, .card:focus-visible { outline: 2px solid var(--ember-hi); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--ice); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 10; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.eyebrow { color: var(--ember-hi); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; margin: 0 0 14px; }
h2 { font-weight: 600; font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 22px; text-wrap: balance; }
h3 { font-weight: 600; font-size: 1.2rem; margin: 0 0 10px; }

/* the top bar */
.top { position: absolute; inset: 0 0 auto 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; }
.brand img { width: 28px; height: auto; opacity: .85; transition: opacity .2s; }
.brand:hover img { opacity: 1; }
.top nav { display: flex; gap: 26px; }
.top nav a { text-decoration: none; color: var(--muted); font-size: .95rem; letter-spacing: .02em; transition: color .2s; }
.top nav a:hover { color: var(--ice); }

/* the hero: the logo animation, then the line under it */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 90px 20px 70px; overflow: hidden; isolation: isolate; }
.hero-logo { position: relative; width: min(1100px, 100%); }
.hero-logo::before { content: ""; position: absolute; left: 6%; top: 8%; width: 50%; height: 84%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(226, 69, 109, .34), rgba(226, 69, 109, .1) 55%, rgba(226, 69, 109, 0)); opacity: 0; transition: opacity 2.4s ease; }
.lit .hero-logo::before, .still .hero-logo::before { opacity: 1; }
.lit .hero-logo::before { animation: breathe 8s ease-in-out 2.4s infinite; }
@keyframes breathe { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .6; transform: scale(.94); } }
.hero-logo video { width: 100%; aspect-ratio: 16 / 9; mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }
.lede { font-size: clamp(1.25rem, 2.8vw, 1.75rem); font-weight: 400; margin: -2vw 0 6px; max-width: 30ch; text-wrap: balance; opacity: 0; transform: translateY(8px); transition: opacity 1.2s ease .2s, transform 1.2s ease .2s; }
.sub { color: var(--muted); margin: 0 0 36px; max-width: 42ch; opacity: 0; transition: opacity 1.2s ease .6s; }
.lit .lede, .lit .sub, .still .lede, .still .sub { opacity: 1; transform: none; }
.cue { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-size: .9rem; letter-spacing: .06em; transition: color .2s; }
.cue:hover { color: var(--ice); }
.cue svg { animation: nudge 2.6s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* the first game */
.games { background: linear-gradient(var(--bg), var(--bg2) 30%); padding: 90px 0 100px; }
.feature { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 520px; display: flex; align-items: center; isolation: isolate; }
.feature-art { position: absolute; inset: 0; z-index: -1; background: url(/assets/wbr_keyart.jpg) 70% 40% / cover no-repeat; }
.feature-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 5, 3, .96) 0%, rgba(8, 5, 3, .92) 38%, rgba(8, 5, 3, .55) 52%, rgba(8, 5, 3, .12) 72%, rgba(8, 5, 3, 0) 100%); }
.feature-body { padding: 48px clamp(22px, 5vw, 56px); max-width: 560px; }
.wbr-logo { width: min(420px, 100%); margin: 0 0 18px -6px; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .6)); }
.tagline { font-size: 1.3rem; font-weight: 500; margin: 0 0 12px; text-wrap: balance; }
.feature-body p { color: #d9d2c6; }
.facts { list-style: none; padding: 0; margin: 18px 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { font-size: .85rem; letter-spacing: .03em; color: #efe6d6; border: 1px solid rgba(255, 217, 115, .35); background: rgba(20, 14, 10, .55); padding: 5px 12px; border-radius: 999px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.more { margin: 16px 0 0; font-size: .95rem; }
.more a { color: #efe6d6; text-decoration: none; border-bottom: 1px solid rgba(239, 230, 214, .35); }
.more a:hover { border-color: #efe6d6; }
.btn { display: inline-block; text-decoration: none; font-weight: 500; padding: 12px 20px; border-radius: 10px; background: var(--ember); color: #fff; border: 1px solid var(--ember); transition: background .2s, border-color .2s, transform .15s; }
.btn:hover { background: var(--ember-hi); border-color: var(--ember-hi); transform: translateY(-1px); }
.btn.ghost { background: rgba(10, 10, 16, .5); border-color: rgba(232, 240, 242, .35); }
.btn.ghost:hover { border-color: var(--ice); background: rgba(30, 30, 44, .6); }
.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-top: 12px; }
.gallery > * { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: #000; }
.gallery video { grid-row: span 2; }
.gallery img { aspect-ratio: 16 / 9; }

/* the studio */
.studio { background: var(--bg2); padding: 100px 0 90px; border-top: 1px solid var(--line); }
.two { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.studio p { color: #c9d2da; }
.note { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--ember); border-radius: var(--radius); padding: 26px 28px; }
.note p { font-size: .97rem; }
.next { margin-top: 80px; padding-top: 44px; border-top: 1px solid var(--line); }
.big { font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 400; max-width: 32ch; margin: 0; text-wrap: balance; }

/* contact */
.contact { background: radial-gradient(60% 80% at 50% 0%, rgba(226, 69, 109, .08), transparent 70%), var(--bg); padding: 100px 0 110px; border-top: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.card { display: flex; flex-direction: column; gap: 4px; text-decoration: none; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; transition: border-color .2s, transform .15s, background .2s; }
.card:hover { border-color: var(--ember); transform: translateY(-2px); background: #0f1320; }
.label { color: var(--muted); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.addr { font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 500; color: var(--ice); overflow-wrap: anywhere; }
.hint { color: var(--muted); font-size: .95rem; }

/* footer */
.foot { text-align: center; padding: 50px 20px 60px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.foot img { width: 150px; margin: 0 auto 16px; opacity: .8; }
.foot p { margin: 4px 0; }
.foot .quiet { font-size: .82rem; opacity: .8; }
.foot a { color: var(--muted); }

@media (max-width: 820px) {
  body { font-size: 17px; }
  .top { padding: 14px 16px; }
  .top nav { gap: 18px; }
  .hero { min-height: 88svh; padding-top: 70px; }
  .lede { margin-top: 0; }
  .feature { min-height: 0; align-items: flex-end; }
  .feature-art { background-position: 60% 20%; }
  .feature-art::after { background: linear-gradient(0deg, rgba(8, 5, 3, .96) 0%, rgba(8, 5, 3, .9) 55%, rgba(8, 5, 3, .35) 100%); }
  .feature-body { padding-top: 180px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery video { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; }
  .feature-body { max-width: none; }
  .two, .cards { grid-template-columns: 1fr; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
