@font-face { font-family: Barlow; src: url("/fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Barlow; src: url("/fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Barlow; src: url("/fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Barlow Condensed; src: url("/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #100e0f;
  --ink: #f3eef0;
  --muted: #b4a9ae;
  --line: #332c2f;
  --brand: #8a1c2f;
  --accent: #ee7a8c;
  --font-body: Barlow, system-ui, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.5; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 10px 16px; background: var(--ink); color: var(--bg); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.site-header, .site-footer, .hero, .section, .closing-cta { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }
.site-header { min-height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 18px; }
.brand-mark { width: 30px; height: 30px; color: var(--brand); }
.brand-sub { margin-left: 4px; color: var(--muted); font-weight: 400; }
.header-nav { display: flex; gap: 32px; font-size: 14px; color: var(--muted); }
.header-nav a, .footer-links a { text-decoration: none; }
.header-nav a:hover, .footer-links a:hover { color: var(--ink); }
.text-link { color: var(--ink); font-weight: 600; }
main { overflow: clip; }
.hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 590px; padding-block: 28px 42px; }
.hero-copy { position: relative; z-index: 1; }
h1 { font-size: clamp(80px, 8.5vw, 126px); line-height: .86; letter-spacing: -.015em; }
h1 span { color: var(--accent); }
.hero-lede { max-width: 460px; margin-top: 28px; color: var(--muted); font-size: 20px; line-height: 1.45; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 50px; padding: 0 22px; border-radius: 5px; font-weight: 600; font-size: 15px; text-decoration: none; transition: background-color .2s ease, transform .2s ease; }
.button-primary { background: var(--brand); color: #fff; }
.button-primary:hover { background: #a3223a; transform: translateY(-2px); }
.hero-more { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; text-decoration: none; color: var(--muted); }
.hero-more:hover { color: var(--ink); }
.hero-art { position: relative; margin: -16px -45px -16px -25px; }
.game-pattern { display: block; width: 100%; height: auto; }
.art-grid { opacity: .65; mask-image: radial-gradient(ellipse, #000 15%, transparent 70%); }
.play-current { stroke-dasharray: 24 1100; animation: follow-play 4.8s ease-in-out both; opacity: 0; }
.art-word { position: absolute; left: 20%; bottom: 12%; color: var(--muted); font-size: 15px; transform: rotate(-35deg); transform-origin: left center; }
@keyframes follow-play { 0% { stroke-dashoffset: 1140; opacity: 0; } 10%, 85% { opacity: .8; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.approach { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding-block: 88px 68px; border-top: 1px solid var(--line); scroll-margin-top: 28px; }
h2 { font-size: clamp(46px, 4.8vw, 70px); line-height: .98; letter-spacing: -.005em; }
.approach h2 span { color: var(--muted); }
.approach > p { max-width: 410px; color: var(--muted); font-size: 19px; line-height: 1.5; }
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; padding-bottom: 92px; }
.process-step { padding-top: 26px; border-top: 1px solid var(--line); }
.process-step h3 { font-size: 34px; line-height: 1; margin-bottom: 12px; }
.process-step p { max-width: 270px; color: var(--muted); font-size: 17px; }
.closing-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 48px 52px; margin-bottom: 80px; background: linear-gradient(120deg, #321820, #1a1316); border-left: 3px solid var(--brand); }
.closing-cta h2 { font-size: clamp(44px, 4.5vw, 64px); }
.closing-cta .button { flex-shrink: 0; }
.site-footer { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); }
.site-footer .brand { gap: 0; }
.footer-links { display: flex; gap: 28px; color: var(--muted); font-size: 13px; }

@media (max-width: 1000px) {
  .hero { min-height: 540px; }
  .hero-art { margin-right: -32px; }
  h1 { font-size: 100px; }
  .hero-lede { font-size: 18px; }
  .desktop-break { display: none; }
}
@media (max-width: 760px) {
  .site-header, .site-footer, .hero, .section, .closing-cta { width: calc(100% - 40px); }
  .site-header { min-height: 76px; }
  .header-nav { gap: 20px; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-block: 58px 24px; }
  h1 { font-size: clamp(86px, 16vw, 120px); }
  .hero-lede { max-width: 380px; margin-top: 24px; }
  .hero-actions { margin-top: 24px; }
  .hero-art { width: min(100%, 540px); margin: 10px auto -12px; }
  .art-word { font-size: 14px; }
  .approach { grid-template-columns: 1fr; gap: 24px; padding-block: 56px 40px; }
  .approach > p { font-size: 18px; }
  .process { grid-template-columns: 1fr; gap: 28px; padding-bottom: 56px; }
  .process-step { padding-top: 20px; }
  .process-step p { max-width: none; }
  .closing-cta { align-items: flex-start; flex-direction: column; padding: 32px 28px; margin-bottom: 48px; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 26px; gap: 16px; }
}
@media (max-width: 420px) {
  .header-nav a:not(.text-link) { display: none; }
  .brand { font-size: 17px; gap: 8px; }
  .brand-mark { width: 27px; height: 27px; }
  .hero-actions { gap: 24px; }
  .hero-art { margin-top: 18px; }
  .art-word { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .play-current { animation: none; stroke-dasharray: none; opacity: 0; }
  .button { transition: none; }
  .button-primary:hover { transform: none; }
}
