/* NAHC Membertou 2027. Transparent approved logo on white, full-bleed hockey photo and clean white editorial content.
   Brand orange: #FF6720. Brand ice blue: #B9D9EB.
   Ice blue is used against dark surfaces, never for small text on white. */
:root {
  color-scheme: light;
  --orange: #ff6720;
  --ice: #b9d9eb;
  --white: #fff;
  --ink: #102c37;
  --ink-soft: #35515b;
  --deep: #102a34;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font: 400 16px/1.55 "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
.skip-link { position: absolute; z-index: 100; top: -100px; left: 20px; background: var(--orange); color: var(--ink); padding: 10px 16px; font-weight: 800; }
.skip-link:focus { top: 12px; }
.page-shell { min-height: 100svh; display: flex; flex-direction: column; }
.masthead { position: relative; z-index: 5; background: #fff; box-shadow: 0 2px 16px rgba(13, 38, 47, .07); }
.masthead-inner {
  width: min(100%, 1520px); margin-inline: auto;
  padding: 14px clamp(18px, 4.2vw, 72px);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.brand {
  display: block; width: min(58vw, 580px); line-height: 0;
  padding: 0; background: transparent;
}
.brand img { display: block; width: 100%; height: auto; }
.header-date {
  font-size: .83rem; letter-spacing: .16em; font-weight: 850; white-space: nowrap;
  padding: 11px 0 11px 18px; border-left: 4px solid var(--orange);
}
main { display: flex; flex: 1; flex-direction: column; }
.hero {
  position: relative; isolation: isolate; overflow: hidden; flex: 1;
  min-height: min(835px, calc(100svh - 115px));
  display: flex; align-items: center; background: var(--deep);
}
/* A single huge, edge-to-edge archival hockey photograph. No angle, split,
   diagonal or clipped image: the photo fills the entire hero canvas. */
.hero-visual { position: absolute; inset: 0; z-index: -2; }
.hero-visual picture, .hero-visual img { display: block; width: 100%; height: 100%; }
.hero-visual img {
  object-fit: cover; object-position: 53% 43%;
  filter: saturate(1.1) contrast(1.025);
}
.hero-shade {
  position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(90deg, rgba(11,32,42,.10) 0%, rgba(11,32,42,0) 55%),
              linear-gradient(0deg, rgba(11,32,42,.27) 0%, transparent 28%);
  pointer-events: none;
}
.hero-inner {
  width: min(100%, 1520px); margin-inline: auto;
  padding: clamp(34px, 4vw, 70px) clamp(18px, 4.2vw, 72px) clamp(42px, 5vw, 80px);
}
.hero-content {
  width: min(62%, 710px);
  background: rgba(255,255,255,.97);
  border-left: 6px solid var(--orange);
  padding: clamp(28px, 3vw, 48px);
  box-shadow: 0 16px 65px rgba(6,21,27,.22);
}
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  color: var(--ink); text-transform: uppercase;
  font-size: .78rem; font-weight: 850; letter-spacing: .11em;
  margin: 0 0 16px; line-height: 1.55;
}
.eyebrow-line { display: inline-block; flex: 0 0 25px; height: 4px; background: var(--orange); }
h1 {
  margin: 0 0 21px;
  max-width: 720px;
  font-size: clamp(3.1rem, 5.3vw, 6rem);
  line-height: 1.015; letter-spacing: -.057em; font-weight: 850;
}
h1 em { font-style: normal; color: var(--orange); display: block; }
.event-when {
  margin: 0 0 3px;
  font-size: clamp(1.75rem, 2.65vw, 2.55rem); font-weight: 850;
  letter-spacing: -.045em; line-height: 1.2;
}
.event-where { color: var(--ink-soft); font-size: clamp(1.03rem, 1.4vw, 1.2rem); font-weight: 700; margin: 0; }
.welcome { max-width: 530px; color: var(--ink-soft); font-size: clamp(1.06rem, 1.22vw, 1.15rem); line-height: 1.6; margin: 20px 0 27px; }
.countdown-wrap { max-width: 570px; }
.countdown-heading {
  margin: 0 0 11px; color: var(--ink);
  font-size: .81rem; text-transform: uppercase; letter-spacing: .135em; font-weight: 850;
}
.countdown { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.countdown-unit {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 103px; padding: 13px 6px 11px;
  background: var(--deep); border-top: 4px solid var(--orange);
}
.countdown-number {
  color: var(--ice); font-weight: 850; font-size: clamp(1.85rem,2.9vw,3rem);
  line-height: 1; letter-spacing: -.047em; font-variant-numeric: tabular-nums;
}
.countdown-label { margin-top: 8px; color: #fff; text-transform: uppercase; letter-spacing: .08em; font-size: .67rem; font-weight: 800; }
.countdown-ended { font-weight: 800; }
.photo-credit {
  position: absolute; bottom: 18px; right: clamp(18px,4.2vw,72px); margin: 0;
  font-size: .71rem; padding: 5px 9px; color: #fff;
  background: rgba(12,37,47,.82); line-height: 1.4;
}
.bottom-strip {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 18px clamp(18px, 4.2vw, 72px);
  background: #fff; border-top: 4px solid var(--orange);
}
.bottom-strip > p { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; margin: 0; font-size: .89rem; }
.bottom-strip strong { font-size: .98rem; letter-spacing: .06em; }
.bottom-strip strong.current { color: var(--orange); }
.divider { display: inline-block; height: 4px; width: 4px; border-radius: 50%; background: var(--ink); }
.strip-caption { margin-left: 9px; color: var(--ink-soft); }
.preview-link {
  font-size: .88rem; font-weight: 800; white-space: nowrap; text-underline-offset: 5px;
  text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px;
}
.preview-link:hover { color: var(--orange); }
.site-footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 9px 20px;
  padding: 14px clamp(18px, 4.2vw, 72px);
  background: #f8fafb; color: var(--ink-soft); font-size: .8rem;
}
.site-footer p { margin: 0; }
.preview-hint strong { color: var(--ink); }
.screen-reader-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (min-width: 1700px) {
  .hero { min-height: 830px; }
  .hero-visual img { object-position: 50% 46%; }
}
@media (max-width: 1100px) {
  .hero { min-height: 710px; }
  .hero-content { width: min(69%, 645px); }
  h1 { font-size: clamp(3rem, 5.7vw, 5rem); }
  .hero-inner { padding-top: 48px; padding-bottom: 65px; }
}
@media (max-width: 760px) {
  .masthead-inner { padding-top: 12px; padding-bottom: 12px; justify-content: center; }
  .brand { width: min(88vw, 570px); padding: 0; }
  .header-date { display: none; }
  .hero { display: block; min-height: 0; background: #fff; }
  .hero-visual { bottom: auto; height: 395px; }
  .hero-visual img { object-position: 59% 35%; }
  .hero-shade { bottom: auto; height: 395px; background: linear-gradient(0deg, rgba(12,37,47,.12), transparent 50%); }
  .hero-inner { padding: 340px 19px 34px; }
  .hero-content { width: 100%; max-width: 650px; padding: 28px 23px; border-left-width: 5px; box-shadow: 0 12px 34px rgba(10,36,45,.12); }
  h1 { font-size: clamp(3.15rem, 10vw, 5rem); margin-bottom: 20px; }
  .eyebrow { margin-bottom: 17px; letter-spacing: .075em; font-size: .72rem; }
  .eyebrow-line { flex-basis: 20px; }
  .event-when { font-size: clamp(1.85rem, 6vw, 2.4rem); }
  .event-where { font-size: 1.04rem; }
  .welcome { font-size: 1.045rem; margin: 17px 0 23px; }
  .countdown-unit { min-height: 97px; padding: 12px 3px 10px; }
  .countdown-number { font-size: clamp(1.9rem, 7vw, 2.7rem); }
  .countdown-label { font-size: .65rem; }
  .photo-credit { top: 307px; bottom: auto; right: 10px; max-width: calc(100% - 20px); font-size: .67rem; }
  .bottom-strip { flex-direction: column; align-items: flex-start; padding: 17px 23px; gap: 12px; }
  .strip-caption { display: block; width: 100%; margin: 0; }
  .site-footer { padding: 14px 23px; }
}
@media (max-width: 390px) {
  .hero-visual, .hero-shade { height: 305px; }
  .hero-inner { padding: 255px 12px 27px; }
  .hero-content { padding: 25px 19px; }
  h1 { font-size: clamp(2.75rem, 10.5vw, 3.5rem); }
  .countdown { gap: 5px; }
  .countdown-unit { min-height: 91px; }
  .countdown-number { font-size: clamp(1.63rem, 7vw, 2.15rem); }
  .countdown-label { font-size: .59rem; letter-spacing: .04em; }
  .photo-credit { top: 223px; }
  .bottom-strip { padding: 16px; }
  .site-footer { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
