/* ===========================================================
   Hockey Identity — shared stylesheet
   Design tokens: navy / blue / gold, Oswald + Public Sans
   =========================================================== */

:root {
  --navy: #0B1C2B;
  --navy-soft: #16293c;
  --blue: #087CB8;
  --blue-dark: #066293;
  --gold: #C6A253;
  --pale: #EEF1F4;
  --white: #FFFFFF;
  --line: #D7DDE3;
  --text: var(--navy);
  --radius: 3px;
  --max-width: 1280px;
  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sticky-h: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: var(--blue);
  font-weight: 600;
  margin: 0 0 0.75em;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
}

.bg-pale { background: var(--pale); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy .eyebrow { color: var(--gold); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.btn-link {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.link-arrow {
  font-family: var(--font-head);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}
.link-arrow::after { content: "\2192"; transition: transform 0.15s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ===================== Header ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--sticky-h);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.logo {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy);
  font-size: 1.1rem;
  margin-right: auto;
  text-decoration: none;
}
.site-nav { display: flex; gap: 1.75rem; }
.site-nav a {
  color: var(--navy);
  font-weight: 500;
  font-size: 0.95rem;
}
.site-nav a[aria-current="page"] { color: var(--blue); }
.nav-cta { white-space: nowrap; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

@media (max-width: 860px) {
  .site-nav {
    position: absolute;
    top: var(--sticky-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    gap: 1rem;
    display: none;
  }
  .site-nav.open { display: flex; }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }
}

/* ===================== Hero ===================== */
.hero { background: var(--white); }
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.hero-sub { font-size: 1.1rem; max-width: 46ch; }
.hero-pathways { color: var(--navy-soft); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; margin-top: 1.75rem; }
.hero-media img {
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 2.5rem; }
  .hero-media { order: -1; max-width: 320px; margin: 0 auto; }
}

/* ===================== Stats band ===================== */
.stats-band { background: var(--navy); color: var(--white); }
.stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat { border-left: 2px solid var(--gold); padding-left: 1.25rem; text-align: left; }
.stat-figure {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}
.stat-label { font-size: 0.9rem; color: #C7D2DC; }

@media (max-width: 700px) {
  .stats-inner { grid-template-columns: 1fr; }
}

/* ===================== Value props ===================== */
.value-props-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 700px) {
  .value-props-inner { grid-template-columns: 1fr; }
}
.tagline {
  text-align: center;
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--navy-soft);
  padding-bottom: 3rem;
}

/* ===================== Method steps ===================== */
.method-steps {
  list-style: none;
  margin: 2.5rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
}
.method-steps::before {
  content: "";
  position: absolute;
  top: 1.1rem;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.method-steps li { position: relative; z-index: 1; }
.step-num {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--white);
  background: var(--blue);
  width: 2.2rem;
  height: 2.2rem;
  line-height: 2.2rem;
  text-align: center;
  border-radius: 50%;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}
.method-steps h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.method-steps p { font-size: 0.9rem; color: var(--navy-soft); margin: 0; }

@media (max-width: 860px) {
  .method-steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .method-steps::before { display: none; }
}

/* ===================== Scorecard ===================== */
.scorecard {
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: var(--white);
}
.scorecard-header {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.scorecard-sub { color: var(--navy-soft); font-size: 0.9rem; margin-bottom: 1.25rem; }
.scorecard-rows { margin: 0; }
.scorecard-rows .row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-top: 1px solid var(--line);
}
.scorecard-rows .row:first-child { border-top: none; }
.scorecard-rows dt { color: var(--navy-soft); font-weight: 500; }
.scorecard-rows dd { margin: 0; font-weight: 600; text-align: right; }
.disclaimer { font-size: 0.8rem; color: #6B7684; font-style: italic; margin: 1.25rem 0 0; }

.checklist { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.checklist li {
  padding: 0.55rem 0 0.55rem 1.6rem;
  border-top: 1px solid var(--line);
  position: relative;
}
.checklist li:first-child { border-top: none; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 8px;
  height: 8px;
  background: var(--gold);
}

/* ===================== Audience cards ===================== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}
@media (max-width: 860px) {
  .audience-grid { grid-template-columns: 1fr; }
}
.audience-card {
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--white);
}
.audience-card.accent-gold { border-top-color: var(--gold); }
.audience-card.accent-blue { border-top-color: var(--blue); }
.audience-card.accent-navy { border-top-color: var(--navy); }

/* ===================== Kent + FAQ teaser ===================== */
.kent-card { display: flex; gap: 1.5rem; align-items: flex-start; }
.kent-card img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.kent-card .role { color: var(--blue); font-weight: 600; margin-bottom: 0.5em; }
.faq-teaser { background: var(--pale); padding: 1.75rem; border-radius: var(--radius); }

/* ===================== Final CTA ===================== */
.final-cta { background: var(--navy); color: var(--white); text-align: center; }
.final-cta .section-inner { padding: 4rem 1.5rem; }
.final-cta p { color: #C7D2DC; }

/* ===================== Footer ===================== */
.site-footer { background: var(--navy-soft); color: #C7D2DC; }
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  font-size: 0.9rem;
}
.footer-brand { color: var(--white); font-family: var(--font-head); font-weight: 600; }
.footer-contact { font-family: var(--font-body); font-weight: 400; color: #C7D2DC; margin-left: 0.75em; }
.footer-links a { color: #C7D2DC; }
.footer-links a:hover { color: var(--white); }
.footer-disclaimer { font-size: 0.8rem; color: #8A97A6; margin-bottom: 0; }

/* ===================== Sticky CTA bar ===================== */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.85rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  z-index: 50;
  transform: translateY(100%);
  transition: transform 0.25s ease;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta span { font-size: 0.9rem; color: #C7D2DC; }
@media (max-width: 600px) {
  .sticky-cta span { display: none; }
}

/* ===================== Archetypes / FAQ accordion (details/summary) ===================== */
details.accordion-item {
  border-top: 1px solid var(--line);
  padding: 1.1rem 0;
}
details.accordion-item:last-of-type { border-bottom: 1px solid var(--line); }
details.accordion-item summary {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details.accordion-item summary::-webkit-details-marker { display: none; }
details.accordion-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--blue);
  margin-left: 1rem;
}
details.accordion-item[open] summary::after { content: "\2212"; }
details.accordion-item .accordion-body { padding-top: 0.75rem; color: var(--navy-soft); }

/* ===================== Forms ===================== */
.form-page-header { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.fit-form { max-width: 640px; margin: 0 auto; }
.field { margin-bottom: 1.5rem; }
.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}
.required-mark { color: var(--blue); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  color: var(--text);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:invalid:not(:placeholder-shown),
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #B3261E;
}
.field-error {
  display: none;
  color: #B3261E;
  font-size: 0.85rem;
  margin-top: 0.4rem;
}
.field.has-error .field-error { display: block; }

.optional-toggle {
  background: none;
  border: none;
  color: var(--blue);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.optional-fields { display: none; }
.optional-fields.open { display: block; }

.consent-text { font-size: 0.85rem; color: var(--navy-soft); margin: 1.5rem 0; }

.form-status {
  display: none;
  padding: 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.form-status.show { display: block; }
.form-status.success { background: #E7F4EA; color: #1E4620; border: 1px solid #A9D4B2; }
.form-status.error { background: #FBEAE9; color: #6E2420; border: 1px solid #E6B3AF; }

.next-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
  text-align: left;
}
@media (max-width: 700px) { .next-steps { grid-template-columns: 1fr; } }
.next-steps h4 { font-family: var(--font-head); margin-bottom: 0.35em; }

.direct-contact { text-align: center; color: var(--navy-soft); }
.direct-contact a { font-weight: 600; }

/* ===================== FAQ page ===================== */
.faq-note { background: var(--pale); padding: 1.25rem 1.5rem; border-radius: var(--radius); margin-bottom: 2rem; font-size: 0.95rem; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}
