/* Ice Time Hockey — game page. Tokens from project-hub design/icetime/tokens.json. */
@font-face { font-family: 'Saira Condensed'; font-weight: 800; font-display: swap; src: url(fonts/SairaCondensed-ExtraBold.ttf) format('truetype'); }
@font-face { font-family: 'Saira Condensed'; font-weight: 700; font-display: swap; src: url(fonts/SairaCondensed-Bold.ttf) format('truetype'); }
@font-face { font-family: 'Saira'; font-weight: 100 900; font-display: swap; src: url(fonts/Saira-VF.ttf) format('truetype'); }

:root {
  --night-deep: #050b14;
  --night: #0a1628;
  --night-lift: #14365a;
  --steel: #1f466f;
  --ice-white: #f4f8ff;
  --ice: #e9f5ff;
  --frost: #cfe3f5;
  --glacier: #9fc4e4;
  --glow: #96d2ff;
  --line-red: #e8433a;
  --circle-blue: #2f6fb3;
  --display: 'Saira Condensed', 'Arial Narrow', Arial, sans-serif;
  --body: 'Saira', Arial, sans-serif;
  --wrap: min(1120px, 100% - 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--body); color: var(--ice-white); background: var(--night-deep); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; padding: 10px 16px; background: var(--ice-white); color: var(--night); border-radius: 8px; }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; }

.eyebrow { font-size: 13px; letter-spacing: .32em; text-transform: uppercase; color: var(--glacier); margin: 0; }
.rule { width: 120px; height: 4px; background: var(--line-red); border: 0; margin: 20px 0 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .95; margin: 0; letter-spacing: .01em; }
h2 { font-size: clamp(40px, 6vw, 64px); }
h3 { font-size: 28px; font-weight: 700; letter-spacing: .03em; }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 30px; border-radius: 999px; font-weight: 600; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--body); }
.btn-primary { background: var(--ice-white); color: var(--night); }
.btn-primary:hover { background: var(--glow); }
.btn-ghost { border-color: rgba(244, 248, 255, .45); color: var(--ice-white); background: transparent; }
.btn-ghost:hover { border-color: var(--ice-white); }

/* Top bar */
.bar { position: absolute; inset: 0 0 auto; z-index: 2; }
.bar .wrap { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; }
.studio { font-size: 13px; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; color: var(--glacier); }
.studio:hover { color: var(--ice-white); }

/* Hero: from the dark into the arena */
.hero { position: relative; min-height: min(100svh, 920px); display: grid; place-items: center; text-align: center; overflow: hidden; background: var(--night-deep); }
.hero::before { content: ''; position: absolute; inset: 0; background: url(img/arena-low-16x9.webp) center 35% / cover no-repeat; opacity: .55; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 11, 20, .55) 0%, rgba(5, 11, 20, .35) 40%, var(--night-deep) 100%); }
.hero .wrap { position: relative; z-index: 1; padding: 120px 0 80px; }
.hero .mark { width: 132px; height: 132px; margin: 0 auto 28px; filter: drop-shadow(0 12px 40px rgba(150, 210, 255, .25)); }
.hero h1 { font-size: clamp(64px, 13vw, 148px); margin-top: 10px; }
.hero .claim { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 3.4vw, 34px); letter-spacing: .08em; text-transform: uppercase; color: var(--glow); margin: 18px 0 0; }
.hero .lead { max-width: 560px; margin: 22px auto 0; font-size: 19px; color: var(--frost); }
.hero .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.working { display: inline-block; margin-top: 14px; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--glacier); border: 1px solid rgba(159, 196, 228, .4); border-radius: 999px; padding: 4px 12px; }

/* Trailer */
.trailer { padding: 40px 0 110px; background: var(--night-deep); }
.trailer .frame { border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(159, 196, 228, .18); background: #000; }
.trailer video { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.trailer .note { margin: 16px 0 0; text-align: center; font-size: 14px; color: var(--glacier); }

/* Ice: the light face of the brand */
.ice { background: var(--ice) url(img/ice-macro-16x9.webp) center / cover; color: var(--night); padding: 110px 0; position: relative; }
.ice::before { content: ''; position: absolute; inset: 0; background: rgba(233, 245, 255, .86); }
.ice .wrap { position: relative; }
.ice .eyebrow { color: var(--steel); }
.ice .intro { max-width: 640px; margin: 22px 0 0; font-size: 19px; color: var(--steel); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 56px; }
.card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 50px rgba(10, 22, 40, .12); }
.card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.card .body { padding: 26px 26px 30px; }
.card h3 { color: var(--night); }
.card p { margin: 10px 0 0; color: var(--steel); font-size: 16px; }

/* Signup */
.signup { padding: 120px 0; background: radial-gradient(ellipse at 50% 0%, var(--night-lift) 0%, var(--night) 45%, var(--night-deep) 100%); }
.signup .wrap { max-width: 720px; }
.signup p.lead { margin: 24px 0 0; font-size: 19px; color: var(--frost); }
form { margin-top: 40px; }
.field { display: flex; gap: 12px; flex-wrap: wrap; }
.field input[type='email'] { flex: 1 1 280px; min-width: 0; padding: 17px 22px; border-radius: 999px; border: 2px solid rgba(159, 196, 228, .45); background: rgba(5, 11, 20, .6); color: var(--ice-white); font: 500 17px var(--body); }
.field input[type='email']::placeholder { color: #7f9ab6; }
.field input[type='email']:focus { border-color: var(--glow); outline: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; font-size: 14px; color: var(--glacier); text-align: left; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--glow); }
.consent a { color: var(--ice-white); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
[data-status] { min-height: 1.6em; margin: 18px 0 0; font-weight: 600; }
[data-status][data-kind='ok'] { color: var(--glow); }
[data-status][data-kind='error'] { color: #ff8f88; }
form.is-done .field, form.is-done .consent { display: none; }
button[disabled] { opacity: .6; cursor: progress; }

/* Footer */
.foot { background: var(--night-deep); color: var(--glacier); font-size: 13px; padding: 40px 0 48px; border-top: 1px solid rgba(159, 196, 228, .14); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
.foot p { margin: 0; }
.foot a { color: var(--frost); }

/* Privacy page */
.doc { background: var(--ice); color: var(--night); padding: 120px 0 90px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(44px, 7vw, 72px); }
.doc h2 { font-size: 30px; margin-top: 44px; }
.doc p, .doc li { color: var(--steel); font-size: 17px; }
.doc a { color: var(--circle-blue); }
.doc-bar { background: var(--night); }
.doc-bar .wrap { padding: 18px 0; display: flex; justify-content: space-between; align-items: center; }
.doc-bar img { width: 44px; height: 44px; }

@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .hero .mark { width: 104px; height: 104px; }
  .ice, .signup { padding: 80px 0; }
}
