/* =========================================================
   6688体育看台 · 共享站点资产 /assets/site.css
   夜场看台体系：深蓝基底 · 信号橙状态 · 记分牌等宽数字
   ========================================================= */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 7.5rem;
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

table {
  width: 100%;
  border-collapse: collapse;
}

/* ---------- 2. Tokens ---------- */
:root {
  --stand-deep: #061326;
  --night-blue: #0B2447;
  --signal-orange: #FF6A1A;
  --board-yellow: #FFD447;
  --turf-green: #33C27F;
  --ice-white: #EAF2FF;
  --mist-blue: #8FA6C4;
  --sand-white: #F3F6FA;
  --line-blue: #1E4272;
  --alert-red: #FF5A5F;

  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB",
    "Source Han Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "Roboto Mono", ui-monospace, SFMono-Regular,
    "SF Mono", Menlo, Consolas, monospace;

  --ease: cubic-bezier(.22, .68, .24, 1);
  --shell-max: 1280px;
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --radius: 2px;
}

/* ---------- 3. Base ---------- */
body {
  min-height: 100vh;
  background-color: var(--stand-deep);
  background-image:
    radial-gradient(120% 70% at 12% -10%, rgba(255, 106, 26, .10), transparent 62%),
    radial-gradient(100% 60% at 92% 4%, rgba(51, 194, 127, .07), transparent 60%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--ice-white);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .01em;
}

p { max-width: 68ch; }

strong,
b { font-weight: 800; }

::selection {
  background: var(--signal-orange);
  color: #0a1220;
}

:focus-visible {
  outline: 2px solid var(--board-yellow);
  outline-offset: 3px;
  border-radius: 1px;
}

#main-content {
  display: block;
  min-height: 40vh;
}

/* ---------- 4. Layout utilities ---------- */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--space, 1rem);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space, .75rem);
}

.reading {
  max-width: 68ch;
  font-size: 1rem;
  line-height: 1.85;
  color: #c9d8ee;
}

.reading > * + * { margin-top: 1.1em; }

.grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.75rem);
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

/* ---------- 5. Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mist-blue);
}

.eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 26px;
  height: 1px;
  background: var(--signal-orange);
}

.score {
  display: inline-block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.03em;
  color: var(--board-yellow);
}

/* ---------- 6. Sections ---------- */
.section {
  padding-block: clamp(2.75rem, 6.5vw, 5.5rem);
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(30, 66, 114, .7);
}

.section__index {
  display: block;
  margin-bottom: .45rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  color: var(--signal-orange);
}

.section__title {
  font-size: clamp(1.65rem, 3.6vw, 3rem);
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: .01em;
  color: var(--ice-white);
}

.section__title strong {
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--ice-white);
}

.section__lead {
  max-width: 56ch;
  font-size: .9375rem;
  line-height: 1.8;
  color: var(--mist-blue);
}

/* ---------- 7. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: .85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.3;
  text-align: center;
  transition: background-color .25s var(--ease), color .25s var(--ease),
    border-color .25s var(--ease), transform .25s var(--ease),
    box-shadow .25s var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--signal-orange);
  color: #0a1220;
  box-shadow: 0 10px 26px rgba(255, 106, 26, .26);
}

.btn--primary:hover {
  background: #ff7d38;
  box-shadow: 0 14px 32px rgba(255, 106, 26, .34);
}

.btn--ghost {
  background: rgba(11, 36, 71, .45);
  border-color: var(--line-blue);
  color: var(--ice-white);
}

.btn--ghost:hover {
  border-color: var(--signal-orange);
  background: rgba(255, 106, 26, .12);
}

.btn--quiet {
  padding: .55rem .9rem;
  background: transparent;
  border-color: rgba(30, 66, 114, .8);
  color: var(--mist-blue);
  font-weight: 500;
  letter-spacing: .12em;
}

.btn--quiet:hover {
  color: var(--ice-white);
  border-color: var(--mist-blue);
}

/* ---------- 8. Tags / chips / notices ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: .2rem .55rem;
  border: 1px solid var(--line-blue);
  border-radius: 1px;
  background: rgba(11, 36, 71, .55);
  font-family: var(--font-mono);
  font-size: .625rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mist-blue);
  white-space: nowrap;
}

.tag--orange {
  border-color: rgba(255, 106, 26, .55);
  background: rgba(255, 106, 26, .12);
  color: var(--signal-orange);
}

.tag--green {
  border-color: rgba(51, 194, 127, .48);
  background: rgba(51, 194, 127, .12);
  color: var(--turf-green);
}

.tag--yellow {
  border-color: rgba(255, 212, 71, .48);
  background: rgba(255, 212, 71, .12);
  color: var(--board-yellow);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: .4rem .85rem;
  border: 1px solid rgba(30, 66, 114, .9);
  border-radius: 999px;
  background: transparent;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--mist-blue);
  transition: color .22s var(--ease), border-color .22s var(--ease),
    background-color .22s var(--ease);
}

.chip:hover {
  color: var(--ice-white);
  border-color: var(--mist-blue);
}

.chip[aria-pressed="true"] {
  border-color: var(--signal-orange);
  background: rgba(255, 106, 26, .16);
  color: var(--ice-white);
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .9rem 1.1rem;
  border-left: 3px solid var(--board-yellow);
  background: rgba(255, 212, 71, .08);
  font-size: .875rem;
  line-height: 1.7;
  color: #d8e4f6;
}

.notice__mark {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .16em;
  color: var(--board-yellow);
}

.notice--alert {
  border-left-color: var(--alert-red);
  background: rgba(255, 90, 95, .1);
}

.notice--alert .notice__mark { color: var(--alert-red); }

/* ---------- 9. Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  font-size: .75rem;
  letter-spacing: .1em;
  color: var(--mist-blue);
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.breadcrumb__link {
  color: var(--mist-blue);
  transition: color .2s var(--ease);
}

.breadcrumb__link:hover { color: var(--signal-orange); }

.breadcrumb__sep {
  color: rgba(143, 166, 196, .5);
  font-family: var(--font-mono);
}

.breadcrumb__current { color: var(--ice-white); }

/* ---------- 10. Media frames ---------- */
.frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line-blue);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(30, 66, 114, .22) 0 1px, transparent 1px 16px),
    linear-gradient(155deg, #0d2a4e, #04101f);
}

.frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}

.frame:hover .frame__img { transform: scale(1.03); }

.frame__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .2em;
  text-align: center;
  color: rgba(143, 166, 196, .65);
}

.frame__stamp {
  position: absolute;
  inset: auto auto 0 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .32rem .6rem;
  background: rgba(6, 19, 38, .86);
  border-top: 1px solid rgba(30, 66, 114, .8);
  border-right: 1px solid rgba(30, 66, 114, .8);
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .12em;
  color: var(--board-yellow);
}

.frame--wide { aspect-ratio: 21 / 9; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--square { aspect-ratio: 1 / 1; }

/* ---------- 11. Skip link ---------- */
.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 999;
  padding: .7rem 1.1rem;
  border-radius: var(--radius);
  background: var(--board-yellow);
  color: #061326;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  transform: translateY(-220%);
  transition: transform .22s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--signal-orange);
  outline-offset: 3px;
}

/* =========================================================
   12. Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
}

/* --- 12.1 上层广播条 --- */
.header-utility {
  background: #04101f;
  border-bottom: 1px solid rgba(30, 66, 114, .65);
}

.header-utility__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 38px;
  padding-block: .3rem;
}

.header-utility__brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  max-width: none;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--ice-white);
  white-space: nowrap;
}

.header-utility__brand::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--signal-orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 26, .22);
}

.header-utility__list {
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 2vw, 1.75rem);
  min-width: 0;
}

.header-utility__item {
  display: inline-flex;
  align-items: baseline;
  gap: .45rem;
  min-width: 0;
  white-space: nowrap;
}

.header-utility__key {
  font-family: var(--font-mono);
  font-size: .5625rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--board-yellow);
  opacity: .9;
}

.header-utility__val {
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .02em;
  color: var(--mist-blue);
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-utility__item--mail .header-utility__val { color: #a9bdd8; }

/* --- 12.2 下层主栏 --- */
.header-main {
  position: relative;
  background: rgba(6, 19, 38, .93);
  border-bottom: 1px solid var(--line-blue);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}

.site-header[data-scrolled] .header-main {
  background: rgba(4, 16, 31, .97);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
}

.header-main__inner {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 2vw, 2rem);
  min-height: 76px;
  padding-block: .65rem;
}

/* --- 12.3 品牌 --- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  flex: 0 0 auto;
}

.brand__mark {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  overflow: hidden;
  border: 1px solid rgba(255, 106, 26, .5);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(120deg, transparent 0 7px, rgba(255, 106, 26, .16) 7px 8px),
    linear-gradient(160deg, #0d2a4e, #04101f);
  box-shadow: inset 0 0 20px rgba(255, 106, 26, .16), 0 0 22px rgba(255, 106, 26, .1);
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--signal-orange);
  clip-path: polygon(0 100%, 0 66%, 33% 66%, 33% 33%, 66% 33%, 66% 0, 100% 0, 100% 100%);
  opacity: .92;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.15;
}

.brand__name {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--ice-white);
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: .5625rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mist-blue);
}

/* --- 12.4 主目录 --- */
.site-nav {
  margin-inline-start: auto;
  min-width: 0;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: .1rem;
}

.site-nav__item { display: block; }

.site-nav__link {
  position: relative;
  display: inline-block;
  padding: .6rem .78rem;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--mist-blue);
  white-space: nowrap;
  transition: color .22s var(--ease);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: .78rem;
  right: .78rem;
  bottom: .28rem;
  height: 2px;
  background: var(--signal-orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s var(--ease);
}

.site-nav__link:hover,
.site-nav__link:focus-visible { color: var(--ice-white); }

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after { transform: scaleX(1); }

.site-nav__link[aria-current="page"] {
  color: var(--ice-white);
  font-weight: 700;
}

.site-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--signal-orange), var(--board-yellow));
}

/* --- 12.5 快捷入口 + 菜单按钮 --- */
.header-actions {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex: 0 0 auto;
}

.header-cta {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: .5rem .95rem .55rem;
  border: 1px solid rgba(255, 106, 26, .55);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 106, 26, .18), rgba(255, 106, 26, .05));
  line-height: 1.15;
  color: var(--ice-white);
  transition: background-color .25s var(--ease), border-color .25s var(--ease),
    transform .25s var(--ease), box-shadow .25s var(--ease);
}

.header-cta:hover,
.header-cta:focus-visible {
  background: rgba(255, 106, 26, .3);
  border-color: var(--signal-orange);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(255, 106, 26, .22);
}

.header-cta__kicker {
  font-family: var(--font-mono);
  font-size: .5625rem;
  letter-spacing: .18em;
  color: var(--signal-orange);
}

.header-cta__label {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .18em;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  padding: .5rem .7rem;
  border: 1px solid var(--line-blue);
  border-radius: var(--radius);
  color: var(--ice-white);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--signal-orange);
  background: rgba(255, 106, 26, .12);
}

.nav-toggle__bars {
  display: grid;
  gap: 4px;
  width: 18px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}

.nav-toggle__label {
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .2em;
}

.site-header[data-open] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header[data-open] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.site-header[data-open] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* --- 12.6 阅读进度灯带 --- */
.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  background: rgba(30, 66, 114, .45);
  pointer-events: none;
}

.scroll-meter__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--signal-orange), var(--board-yellow));
  transition: width .12s linear;
}

/* =========================================================
   13. Footer
   ========================================================= */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(3.5rem, 9vw, 8rem);
  border-top: 1px solid var(--line-blue);
  background: linear-gradient(180deg, #04101f 0%, #061326 45%, #08182e 100%);
  color: var(--mist-blue);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 160px;
  background:
    radial-gradient(58% 130% at 12% 0%, rgba(255, 106, 26, .2), transparent 68%),
    radial-gradient(50% 110% at 88% 0%, rgba(51, 194, 127, .13), transparent 68%);
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg,
    var(--signal-orange) 0 18%,
    var(--board-yellow) 18% 26%,
    transparent 26% 100%);
  opacity: .95;
}

.footer__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(2.25rem, 5.5vw, 4rem) 1.5rem;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(1.75rem, 4vw, 2.75rem);
  border-bottom: 1px solid rgba(30, 66, 114, .7);
}

.footer__brand { min-width: 0; }

.footer__brandname {
  max-width: none;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--ice-white);
}

.footer__brandline {
  max-width: none;
  margin-top: .45rem;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--signal-orange);
}

.footer__closing {
  max-width: 22em;
  margin-top: 1.15rem;
  font-size: .875rem;
  line-height: 1.85;
  color: var(--mist-blue);
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  min-width: 0;
}

.footer__col { min-width: 0; }

.footer__coltitle {
  margin-bottom: .8rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid rgba(30, 66, 114, .75);
  font-family: var(--font-mono);
  font-size: .625rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--board-yellow);
}

.footer__links {
  display: grid;
  gap: .5rem;
}

.footer__link {
  display: inline-block;
  font-size: .875rem;
  letter-spacing: .04em;
  color: var(--mist-blue);
  transition: color .22s var(--ease), transform .22s var(--ease);
}

.footer__link:hover,
.footer__link:focus-visible {
  color: var(--ice-white);
  transform: translateX(4px);
}

.footer__contact {
  padding-block: 1.15rem;
  border-bottom: 1px solid rgba(30, 66, 114, .45);
}

.footer__contactline {
  max-width: none;
  font-family: var(--font-mono);
  font-size: .75rem;
  line-height: 1.9;
  letter-spacing: .02em;
  color: #a2b8d4;
  word-break: break-word;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.25rem;
  padding-top: 1.15rem;
  font-size: .75rem;
  letter-spacing: .06em;
  color: rgba(143, 166, 196, .78);
}

.footer__legal,
.footer__copyright {
  max-width: none;
}

.footer__copyright {
  font-family: var(--font-mono);
  letter-spacing: .08em;
}

/* =========================================================
   14. Reveal protocol
   ========================================================= */
[data-reveal][data-reveal-armed] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

[data-reveal][data-reveal-armed][data-reveal-state="in"] {
  opacity: 1;
  transform: none;
}

/* =========================================================
   15. Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .header-utility__item--region { display: none; }
}

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-inline-start: 0;
    display: block;
    max-height: calc(100vh - 6.5rem);
    overflow-y: auto;
    padding-bottom: .75rem;
    background: #061326;
    border-top: 1px solid var(--line-blue);
    border-bottom: 1px solid var(--line-blue);
    box-shadow: 0 32px 64px rgba(0, 0, 0, .6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .3s var(--ease), transform .3s var(--ease),
      visibility .3s var(--ease);
  }

  .site-header[data-open] .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .35rem var(--gutter) 0;
  }

  .site-nav__link {
    display: block;
    padding: .95rem .15rem;
    font-size: .9375rem;
    border-bottom: 1px solid rgba(30, 66, 114, .5);
  }

  .site-nav__link::after { display: none; }

  .site-nav__link[aria-current="page"] {
    color: var(--signal-orange);
    border-bottom-color: rgba(255, 106, 26, .45);
  }

  body.is-nav-open { overflow: hidden; }

  .footer__top { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .header-utility__item--season { display: none; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .header-main__inner {
    min-height: 66px;
    gap: .6rem;
  }

  .brand__mark { width: 38px; height: 38px; flex-basis: 38px; }
  .brand__name { font-size: .9375rem; letter-spacing: .1em; }
  .brand__sub { font-size: .5rem; letter-spacing: .16em; }

  .header-cta { padding: .45rem .7rem .5rem; }
  .header-cta__kicker { font-size: .5rem; letter-spacing: .14em; }
  .header-cta__label { font-size: .75rem; letter-spacing: .14em; }

  .footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 5.5rem; }
  .header-utility__list { display: none; }
  .header-utility__brand { font-size: .625rem; letter-spacing: .12em; }
  .header-utility__inner { min-height: 32px; }

  .header-cta__kicker { display: none; }
  .header-cta { padding: .55rem .8rem; }

  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: minmax(0, 1fr); }

  .grid--12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

  .section__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__nav { grid-template-columns: minmax(0, 1fr); }
  .footer__contactline { font-size: .6875rem; }
}

@media (max-width: 420px) {
  .nav-toggle__label { display: none; }
  .brand__sub { display: none; }
}

/* =========================================================
   16. Motion preferences
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal][data-reveal-armed] {
    opacity: 1;
    transform: none;
  }

  .btn:hover,
  .header-cta:hover,
  .footer__link:hover,
  .frame:hover .frame__img {
    transform: none;
  }
}
