/* Hallmark v2.0.0 · theme: custom · idea: "the page is the rink seen from above: a real scratched sheet of ice, laid out by its own markings (goal line, blue lines, centre red), framed by dasher boards, and the visitor's cursor skates on it" · vibe: "used ice, arena signage, cold morning practice" · posture light/grotesk-condensed/chromatic-cyan · paper: a photographed ice sheet over oklch(0.975 0.006 230) · accent: RynkIQ cyan for the one action role, rink red and blue for structure, kick-plate yellow on the boards · faces: Archivo condensed caps (signage, display) + Inter (body) · hero: the 30 s 3D film, no labels baked in · signature: the visitor's own skate grooves and pucks on the sheet */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V5 · weakest: E, the inner pages still carry older markup; cards became ruled items with a blue-line cap rather than boxes, checked page by page */

@font-face { font-family: 'Archivo'; src: url('/fonts/archivo-var.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-var.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: light;
  --void: oklch(0.15 0.012 240);
  --on-void: oklch(0.97 0.005 230);
  --on-void-soft: oklch(0.8 0.015 230);
  --ice: oklch(0.975 0.006 230);
  --ice-deep: oklch(0.9 0.014 228);
  --ink: oklch(0.2 0.025 245);
  --ink-soft: oklch(0.42 0.022 240);
  --action: oklch(0.8 0.13 225);
  --action-hover: oklch(0.86 0.11 222);
  --action-ink: oklch(0.45 0.12 232);
  --blue-line: oklch(0.52 0.15 258);
  --red-line: oklch(0.57 0.19 25);
  --board: oklch(0.985 0.004 230);
  --rail: oklch(0.22 0.01 240);
  --kick: oklch(0.86 0.16 95);
  --seam: oklch(0.86 0.008 230);
  --groove: oklch(0.6 0.035 235);
  --groove-light: oklch(0.995 0.004 230);
  --puck: oklch(0.17 0.01 240);
  --scrim: oklch(0.15 0.012 240 / 0.86);
  --crease: oklch(0.86 0.06 235 / 0.45);
  --focus: oklch(0.52 0.15 258);
  --font-display: 'Archivo', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --width: 1240px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --col-gap: 48px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font: 400 17px/1.65 var(--font-body);
  background: var(--ice) url('/img/ice-sheet.jpg') center top / cover fixed;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--font-display); font-stretch: 72%; font-weight: 800; text-transform: uppercase; letter-spacing: -0.005em; line-height: 1; margin: 0; overflow-wrap: break-word; min-width: 0; text-wrap: balance; color: var(--ink); }
main h1, main h2 { mix-blend-mode: multiply; }
h2 { font-size: clamp(44px, 6vw, 96px); max-width: 14ch; }
h3 { font-size: clamp(24px, 2vw, 30px); line-height: 1; }
.outline, .accent, .muted { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; transition: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 12px 16px; background: var(--ink); color: var(--ice); }
.skip:focus-visible { top: 12px; }

#ice-marks { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .footer { position: relative; z-index: 1; }

/* ---------- the boards (header and footer) ---------- */
.boards { background: var(--board); border-top: 8px solid var(--rail); border-bottom: 6px solid var(--kick); }
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 30; }
.header-inner { max-width: var(--width); margin: 0 auto; height: 64px; display: flex; align-items: stretch; }
.header-inner > * { display: flex; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 12px; padding: 0 var(--gutter) 0 0; text-decoration: none; font-family: var(--font-display); font-stretch: 72%; font-weight: 800; font-size: 28px; text-transform: uppercase; color: var(--ink); }
.header .brand { padding-left: 20px; border-left: 1px solid var(--seam); border-right: 1px solid var(--seam); }
.brand-symbol img { width: 32px; height: 32px; object-fit: cover; }
.desktop-nav { margin-left: auto; align-items: stretch; }
.desktop-nav a { display: flex; align-items: center; padding: 0 20px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-soft); border-right: 1px solid var(--seam); transition: background-color .2s, color .2s; }
.desktop-nav a:hover { color: var(--ink); background: var(--ice); }
.desktop-nav a[aria-current] { color: var(--ink); box-shadow: inset 0 -4px 0 var(--blue-line); }
.header-inner > .button { min-height: 0; height: auto; border-radius: 0; padding: 0 24px; border-right: 1px solid var(--seam); }
.menu-button { display: none; }
#mobile-nav { background: var(--board); border-top: 1px solid var(--seam); padding: 8px var(--gutter) 16px; }
#mobile-nav a { display: block; padding: 12px 0; text-decoration: none; font-size: 18px; border-bottom: 1px solid var(--seam); }
#mobile-nav a:hover { color: var(--action-ink); }

/* ---------- buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 4px; text-decoration: none; white-space: nowrap;
  font: 700 15px/1 var(--font-body); color: var(--ink); background: var(--action); border: 0; cursor: pointer;
  transition: background-color .2s, transform .3s var(--ease);
}
.button:hover { background: var(--action-hover); }
.button:active { transform: translateY(1px); }
.button:disabled { opacity: .55; cursor: not-allowed; }
.button.ghost, .button.secondary { background: transparent; color: var(--on-void); box-shadow: inset 0 0 0 2px var(--on-void-soft); }
.button.ghost:hover, .button.secondary:hover { box-shadow: inset 0 0 0 2px var(--on-void); }
main .button.secondary { color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.text-link { color: var(--action-ink); font-weight: 600; text-underline-offset: 4px; }
.text-link:hover { color: var(--ink); }
.motion-toggle { font: 500 14px var(--font-body); color: var(--ink-soft); background: transparent; border: 1px solid var(--seam); border-radius: 4px; padding: 8px 16px; cursor: pointer; }
.motion-toggle:hover { color: var(--ink); border-color: var(--ink-soft); }

/* ---------- hero (dark arena) ---------- */
.hero { position: relative; z-index: 2; min-height: 640px; height: 100svh; max-height: 1000px; background: var(--void) url('/img/hero-v2-poster.jpg') center / cover no-repeat; color: var(--on-void); overflow: hidden; }
.hero-loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--scrim) 0%, transparent 60%), linear-gradient(0deg, var(--void) 0%, transparent 20%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; max-width: var(--width); margin: 0 auto; padding: 72px var(--gutter) 0; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.hero h1 { color: var(--on-void); font-size: clamp(64px, 8.8vw, 144px); line-height: 1; max-width: 10.5ch; }
.hero-lede { margin: 28px 0 0; font-size: clamp(17px, 1.4vw, 20px); color: var(--on-void-soft); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { position: absolute; z-index: 2; right: var(--gutter); bottom: 24px; margin: 0; font-size: 13px; color: var(--on-void-soft); }

/* the resurface: arena dark melts into the ice sheet */
.resurface { position: relative; z-index: 2; height: clamp(120px, 22vh, 240px); background: linear-gradient(180deg, var(--void), transparent); overflow: hidden; }
.resurface-sheen { position: absolute; left: -10%; right: -10%; height: 40%; top: 0; background: linear-gradient(180deg, transparent, var(--groove-light), transparent); opacity: 0; }
@supports (animation-timeline: view()) {
  .resurface-sheen { animation: sheen linear both; animation-timeline: view(); }
  @keyframes sheen { from { transform: translateY(-60%); opacity: 0; } 50% { opacity: .7; } to { transform: translateY(260%); opacity: 0; } }
}

/* ---------- rink markings as the page's structure ---------- */
.rink-line { border: 0; margin: 0; position: relative; z-index: 1; }
.rink-line.goal { height: 3px; background: var(--red-line); opacity: .85; }
.rink-line.blue { height: 22px; background: var(--blue-line); opacity: .85; }
.rink-line.red { height: 22px; background: var(--red-line); opacity: .85; }

/* ---------- sections ---------- */
.section { max-width: var(--width); margin: 0 auto; padding: clamp(80px, 11vw, 152px) var(--gutter); position: relative; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px var(--col-gap); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.section-heading p { margin: 0; color: var(--ink-soft); max-width: 46ch; }
.lede { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-soft); max-width: 52ch; }

.opener { padding-top: clamp(32px, 5vw, 72px); }
.opener::before { content: ''; position: absolute; z-index: -1; width: clamp(320px, 42vw, 560px); aspect-ratio: 1; right: calc(var(--gutter) * -1); top: 8%; border-radius: 50%; border: 3px solid var(--red-line); opacity: .4; }
.opener::after { content: ''; position: absolute; z-index: -1; width: 28px; height: 28px; border-radius: 50%; background: var(--red-line); opacity: .7; right: calc(var(--gutter) * -1 + clamp(320px, 42vw, 560px) / 2 - 14px); top: calc(8% + clamp(320px, 42vw, 560px) / 2 - 14px); }
.opener h2 { font-size: clamp(56px, 8.4vw, 136px); max-width: 11ch; }
.opener p { font-size: clamp(18px, 1.5vw, 22px); color: var(--ink-soft); max-width: 46ch; margin: 32px 0 0; }
.opener .try-hint { font-size: 15px; color: var(--action-ink); margin-top: 20px; }

.app { max-width: none; padding-left: 0; padding-right: 0; }
.app .section-heading { max-width: var(--width); margin-left: auto; margin-right: auto; padding: 0 var(--gutter); }
.app-film { margin: 0; background: var(--board); }
.app-film video { width: 100%; max-height: 86vh; aspect-ratio: 16 / 9; object-fit: contain; margin: 0 auto; background: var(--board); }

/* switcher: the blue line slides under the chosen tab */
.switch-tabs { display: flex; flex-wrap: wrap; position: relative; gap: 8px 36px; margin-bottom: 32px; border-bottom: 1px solid var(--ice-deep); }
.switch-tabs button { position: relative; z-index: 1; font: 800 26px/1 var(--font-display); font-stretch: 72%; text-transform: uppercase; color: var(--ink-soft); background: none; border: 0; padding: 12px 0 16px; min-height: 44px; cursor: pointer; transition: color .2s; }
.switch-tabs button[aria-selected='true'], .switch-tabs button:hover { color: var(--ink); }
.switch-pill { position: absolute; top: 0; left: 0; height: 6px; background: var(--blue-line); transform-origin: left; transition: transform .45s var(--ease); }
.switch-panel { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); gap: var(--col-gap); align-items: end; }
.switch-panel[hidden] { display: none; }
.switch-panel p { margin: 0; font-size: 19px; color: var(--ink-soft); }
.shot { margin: 0; }
.shot img { width: 100%; height: auto; box-shadow: 0 30px 60px -36px var(--ink); }

/* who it's for: three ends of the rink, set as signage */
.zone-list { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; }
.zone-list li { border-top: 3px solid var(--ink); }
.zone-list li:last-child { border-bottom: 3px solid var(--ink); }
.zone-list a { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--col-gap); align-items: center; padding: 28px 0; text-decoration: none; }
.zone-name { font: 800 clamp(36px, 4.6vw, 72px)/1 var(--font-display); font-stretch: 72%; text-transform: uppercase; transition: color .2s; }
.zone-line { color: var(--ink-soft); font-size: 18px; }
.zone-list a:hover .zone-name { color: var(--blue-line); }

.ledger-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); }
.ledger-col { border-top: 6px solid var(--blue-line); padding-top: 20px; }
.ledger-col:last-child { border-top-color: var(--red-line); }
.ledger-col ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.ledger-col li { padding-left: 20px; position: relative; color: var(--ink-soft); }
.ledger-col li::before { content: ''; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--red-line); }

.closing { display: grid; gap: 24px; justify-items: start; overflow: hidden; }
.crease { position: absolute; z-index: -1; left: 50%; top: 0; width: min(720px, 90%); aspect-ratio: 2 / 1; transform: translateX(-50%); border-radius: 0 0 999px 999px; background: var(--crease); border: 3px solid var(--red-line); border-top: 0; opacity: .8; }
.closing h2 { font-size: clamp(48px, 6.6vw, 104px); max-width: 13ch; }
.closing p { margin: 0; color: var(--ink-soft); max-width: 48ch; font-size: 19px; }

/* ---------- inner pages (older markup, as rink signage) ---------- */
.page-hero { padding-top: clamp(152px, 16vw, 208px); padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 3px solid var(--red-line); }
.page-hero h1 { font-size: clamp(60px, 9vw, 148px); line-height: 1; max-width: 11ch; }
.page-hero .lede { margin-top: 28px; }
.feature-grid, .platform-grid, .audience-grid, .principles, .process { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 40px var(--col-gap); }
.feature, .platform-card, .audience-card, .principles > article, .process > article { border-top: 6px solid var(--blue-line); padding-top: 20px; }
.quinn-demo, .status-table, .evidence-demo, .card-wide { background: var(--board); padding: 28px; border-top: 6px solid var(--blue-line); }
.feature-number, .process-number { display: none; }
.card-top, .badge, .film-tag { font-size: 14px; color: var(--ink-soft); }
.feature h3, .platform-card h3, .audience-card h3 { margin: 0 0 12px; }
.feature p, .platform-card p, .audience-card p, .principles p, .process p { color: var(--ink-soft); margin: 0; }
.audience-card, .platform-card { text-decoration: none; display: grid; gap: 8px; }
.audience-card:hover h3, .platform-card:hover h3 { color: var(--blue-line); }
.split-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--col-gap); align-items: start; }
.split-feature p, .editorial p, .large-copy { color: var(--ink-soft); }
.large-copy { font-size: clamp(19px, 1.6vw, 23px); }
.split-feature h2 { margin-bottom: 20px; }
.rink, .mini-rink, .waveform, .system-glyph { max-width: 100%; height: auto; }
.legal { max-width: 70ch; }
.legal h2 { font-size: clamp(30px, 3vw, 44px); margin: 40px 0 12px; }
.status-table table { width: 100%; border-collapse: collapse; }
.status-table th, .status-table td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--seam); font-size: 16px; }
.status-table th { font-weight: 600; }
.credit, .diagram-caption, .form-note, .status-note, .micro { font-size: 14px; color: var(--ink-soft); }

/* forms */
#contact-form, .intake-form { background: var(--board); padding: clamp(24px, 3vw, 40px); border-top: 8px solid var(--rail); border-bottom: 6px solid var(--kick); }
form label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
form label span { font-weight: 400; color: var(--ink-soft); }
input, select, textarea {
  width: 100%; font: 400 16px var(--font-body); color: var(--ink); padding: 12px 16px; min-height: 48px; border-radius: 4px;
  background: var(--ice); border: 1px solid var(--seam); transition: border-color .2s, background-color .2s;
}
input:hover, select:hover, textarea:hover { border-color: var(--ink-soft); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
input:disabled, select:disabled, textarea:disabled { opacity: .55; cursor: not-allowed; }
input[aria-invalid='true'], textarea[aria-invalid='true'] { border-color: var(--red-line); }
input[type='checkbox'], input[type='radio'] { width: 20px; min-height: 20px; height: 20px; accent-color: var(--blue-line); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; margin-bottom: 20px; }
.hp { position: absolute; left: -10000px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--col-gap); align-items: start; }
fieldset { border: 0; padding: 0; margin: 0 0 20px; }

/* ---------- footer: the far boards ---------- */
.footer { background: var(--board); border-top: 8px solid var(--rail); border-bottom: 6px solid var(--kick); }
.footer-top, .footer-bottom { max-width: var(--width); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.footer-top h2 { font: 600 15px var(--font-body); text-transform: none; color: var(--ink); margin-bottom: 12px; }
.footer-top a:not(.brand) { display: block; text-decoration: none; color: var(--ink-soft); padding: 4px 0; font-size: 15px; }
.footer-top a:not(.brand):hover { color: var(--ink); }
.footer-brand p { color: var(--ink-soft); font-size: 15px; max-width: 32ch; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; font-size: 14px; color: var(--ink-soft); padding-top: 20px; padding-bottom: 24px; border-top: 1px solid var(--seam); }
.footer-bottom a { color: var(--ink-soft); }

/* ---------- motion ---------- */
.motion-paused .hero-loop { visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .resurface-sheen { animation: none; }
  .button, .switch-pill, .zone-name { transition: none; }
  .hero-loop { visibility: hidden; }
  #ice-marks { display: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .menu-button { display: flex; align-items: center; gap: 8px; margin-left: auto; padding: 0 20px; border: 0; border-left: 1px solid var(--seam); background: transparent; font: 600 15px var(--font-body); color: var(--ink); cursor: pointer; }
  .menu-button:hover { background: var(--ice); }
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .hero { height: auto; max-height: none; min-height: 0; background: var(--void); color: var(--on-void); display: flex; flex-direction: column; }
  .hero::after { display: none; }
  .hero-content { height: auto; padding-top: 128px; padding-bottom: 28px; }
  .hero-loop { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 5; order: 2; }
  .hero-note { position: static; order: 3; padding: 12px var(--gutter) 0; }
  .section-heading, .switch-panel, .split-feature, .contact-layout, .zone-list a { grid-template-columns: minmax(0, 1fr); }
  .zone-list a { gap: 8px; }
  .ledger-grid { grid-template-columns: minmax(0, 1fr); }
  .rink-line.blue, .rink-line.red { height: 14px; }
}
@media (max-width: 600px) {
  .header-inner { height: 56px; }
  .header-inner > .button { display: none; }
  .header .brand { font-size: 24px; border-left: 0; }
  .switch-tabs { gap: 20px; }
  .switch-tabs button { font-size: 20px; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
}
