/* ==========================================================================
   壹乐娱乐 · 共享样式 /assets/site.css
   站牌带 + 核对清单 + 每日简报 的视觉语言
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --ink-900: #12211B;
  --ink-800: #1F3A2E;
  --ink-600: #2F5D47;
  --clay-700: #8C3B2A;
  --clay-500: #B85C3E;
  --peacock-500: #0E7C86;
  --peacock-600: #0A646D;
  --sun-400: #F2C14E;
  --paper-100: #F7F2E8;
  --paper-200: #EDE4D3;
  --glass: rgba(247, 242, 232, 0.82);
  --text: #1A1F1C;
  --muted: #5D6B62;
  --line: rgba(18, 33, 27, 0.14);
  --line-strong: rgba(18, 33, 27, 0.28);
  --line-invert: rgba(247, 242, 232, 0.18);

  --font-head: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", sans-serif;
  --font-mono: "IBM Plex Mono", "Roboto Mono", "SFMono-Regular", monospace;

  --shell: 1220px;
  --pad: clamp(16px, 4vw, 40px);
  --gutter: clamp(16px, 2.4vw, 32px);
  --radius: 18px;
  --radius-sm: 12px;
  --pill: 999px;
  --shadow-float: 0 14px 40px -18px rgba(18, 33, 27, 0.45),
    0 2px 10px -4px rgba(18, 33, 27, 0.22);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper-100);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--ink-900);
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }

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

a { color: var(--peacock-600); }

button { font-family: inherit; }

#main-content { display: block; }

/* ---------- focus ---------- */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--peacock-500);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- skip link ---------- */
.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: var(--pill);
  background: var(--ink-900);
  color: var(--paper-100);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow-float);
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 16px;
  color: var(--sun-400);
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 14px var(--pad) 0;
  background: linear-gradient(
    to bottom,
    rgba(247, 242, 232, 0.95) 0%,
    rgba(247, 242, 232, 0.78) 62%,
    rgba(247, 242, 232, 0) 100%
  );
}

.header-island {
  position: relative;
  max-width: var(--shell);
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "brand nav cta";
  align-items: center;
  gap: 12px;
  padding: 9px 10px 9px 12px;
  border-radius: var(--pill);
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(18, 33, 27, 0.1);
  box-shadow: var(--shadow-float);
}

/* 品牌 */
.brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: var(--ink-900);
  text-decoration: none;
}

.brand-glyph {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: var(--ink-800);
  color: var(--sun-400);
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(242, 193, 78, 0.34);
}

.brand-glyph::after {
  content: "";
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 11px;
  height: 11px;
  border-radius: 4px;
  background: var(--clay-500);
  border: 2px solid var(--paper-100);
}

.brand-text { display: block; min-width: 0; }

.brand-name {
  display: block;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--ink-900);
}

.brand-tagline {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.09em;
  line-height: 1.3;
  color: var(--muted);
  white-space: nowrap;
}

/* 今日榜单 CTA */
.header-cta {
  grid-area: cta;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 17px;
  border-radius: var(--pill);
  background: var(--sun-400);
  color: var(--ink-900);
  font-size: 13.5px;
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 6px 16px -8px rgba(140, 59, 42, 0.7);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.header-cta::after {
  content: "→";
  font-size: 13px;
  line-height: 1;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -10px rgba(140, 59, 42, 0.85);
}

.header-cta:active { transform: translateY(1px); }

/* 移动菜单按钮 */
.nav-toggle {
  grid-area: toggle;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--pill);
  border: 1px solid var(--line-strong);
  background: rgba(247, 242, 232, 0.72);
  color: var(--ink-800);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-toggle:hover { background: rgba(14, 124, 134, 0.12); }

.nav-toggle-ico {
  display: grid;
  gap: 3px;
  width: 16px;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.nav-toggle-label { line-height: 1; }

/* 导航 / 站牌带 */
.site-nav {
  grid-area: nav;
  min-width: 0;
}

.nav-track {
  display: flex;
  align-items: center;
  gap: 2px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.nav-track::-webkit-scrollbar { display: none; }

.nav-link {
  display: block;
  padding: 9px 15px;
  border-radius: var(--pill);
  color: var(--ink-800);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-link:hover {
  background: rgba(14, 124, 134, 0.12);
  color: var(--peacock-600);
}

.nav-link[aria-current="page"] {
  background: var(--ink-800);
  color: var(--paper-100);
  box-shadow: inset 0 0 0 1px rgba(242, 193, 78, 0.28);
}

/* 滚动进度 */
.scroll-meter {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  overflow: hidden;
  pointer-events: none;
  --progress: 0%;
}

.scroll-meter::after {
  content: "";
  display: block;
  height: 100%;
  width: var(--progress);
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    var(--clay-700) 0%,
    var(--peacock-500) 55%,
    var(--sun-400) 100%
  );
  transition: width 0.1s linear;
}

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  padding: clamp(40px, 6vw, 76px) 0 26px;
  background: var(--ink-900);
  color: rgba(247, 242, 232, 0.86);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -22%;
  right: -12%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle at 32% 32%, rgba(14, 124, 134, 0.32), transparent 62%),
    radial-gradient(circle at 70% 72%, rgba(140, 59, 42, 0.42), transparent 60%);
  pointer-events: none;
}

.footer-shell {
  position: relative;
  z-index: 1;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.footer-marquee {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px 18px;
  margin-bottom: clamp(26px, 4vw, 44px);
}

.footer-marquee-word {
  font-family: var(--font-head);
  font-size: clamp(46px, 10vw, 118px);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.03em;
  color: rgba(247, 242, 232, 0.12);
  user-select: none;
}

.footer-marquee-meta {
  padding-bottom: 0.5em;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--sun-400);
  user-select: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.9fr 1.3fr;
  gap: clamp(20px, 3vw, 44px);
  padding-bottom: clamp(24px, 4vw, 46px);
  border-bottom: 1px solid var(--line-invert);
}

.footer-brand-link {
  display: inline-block;
  font-family: var(--font-head);
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--paper-100);
  text-decoration: none;
}

.footer-brand-link:hover { color: var(--sun-400); }

.footer-line {
  max-width: 26em;
  margin: 10px 0 16px;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(247, 242, 232, 0.66);
}

.footer-action {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: var(--pill);
  background: var(--sun-400);
  color: var(--ink-900);
  font-size: 13.5px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.footer-action:hover {
  transform: translateY(-2px);
  background: #FFD46E;
}

.footer-action:active { transform: translateY(1px); }

.footer-col-title {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 242, 232, 0.48);
}

.footer-col ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a {
  color: rgba(247, 242, 232, 0.86);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.footer-col a:hover { color: var(--sun-400); }

.footer-contact {
  display: grid;
  gap: 10px;
  margin: 0;
}

.footer-contact dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 242, 232, 0.45);
}

.footer-contact dd {
  margin: 2px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(247, 242, 232, 0.9);
  overflow-wrap: anywhere;
}

.footer-note {
  margin: 14px 0 0;
  padding-left: 10px;
  border-left: 2px solid var(--clay-500);
  font-size: 12.5px;
  line-height: 1.65;
  color: rgba(247, 242, 232, 0.54);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  padding-top: 20px;
  font-size: 12.5px;
  color: rgba(247, 242, 232, 0.55);
}

.footer-icp {
  margin: 0;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-legal-links a {
  color: rgba(247, 242, 232, 0.72);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.footer-legal-links a:hover { color: var(--sun-400); }

.footer-copy {
  margin: 0 0 0 auto;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.site-footer a:focus-visible { outline-color: var(--sun-400); }

/* ---------- layout primitives ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: clamp(40px, 6vw, 88px); }

.section--ink {
  background: var(--ink-900);
  color: rgba(247, 242, 232, 0.9);
}

.section--ink h1,
.section--ink h2,
.section--ink h3 { color: var(--paper-100); }

.section--paper2 { background: var(--paper-200); }

.stack { display: grid; gap: var(--gutter); }

.rule {
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--line-strong);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
}

.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: 1 / -1; }

/* ---------- typography ---------- */
.display {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(56px, 9vw, 132px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.028em;
  color: var(--ink-900);
}

.section--ink .display { color: var(--paper-100); }

.page-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.024em;
  color: var(--ink-900);
}

.section--ink .page-title { color: var(--paper-100); }

.lede {
  max-width: 34em;
  margin: 0;
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 400;
  line-height: 1.75;
  color: var(--muted);
}

.section--ink .lede { color: rgba(247, 242, 232, 0.72); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay-700);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
}

.section--ink .eyebrow { color: var(--sun-400); }

.prose {
  max-width: 34em;
  font-size: 17px;
  line-height: 1.8;
}

.prose > :last-child { margin-bottom: 0; }

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

/* ---------- panels ---------- */
.panel {
  padding: clamp(18px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-100);
}

.panel--ink {
  border-color: transparent;
  background: var(--ink-800);
  color: rgba(247, 242, 232, 0.9);
}

.panel--ink h2,
.panel--ink h3 { color: var(--paper-100); }

.panel--glass {
  border: 1px solid rgba(247, 242, 232, 0.26);
  background: rgba(247, 242, 232, 0.14);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
  color: var(--paper-100);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
    color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

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

.btn--primary {
  background: var(--peacock-500);
  color: #FFFFFF;
  box-shadow: 0 8px 18px -12px rgba(14, 124, 134, 0.9);
}

.btn--primary:hover { background: var(--peacock-600); }

.btn--sun {
  background: var(--sun-400);
  color: var(--ink-900);
}

.btn--sun:hover { background: #FFD46E; }

.btn--ink {
  background: var(--ink-800);
  color: var(--paper-100);
}

.btn--ink:hover { background: var(--ink-600); }

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink-800);
}

.btn--ghost:hover {
  background: rgba(14, 124, 134, 0.1);
  border-color: var(--peacock-500);
  color: var(--peacock-600);
}

.section--ink .btn--ghost {
  border-color: rgba(247, 242, 232, 0.4);
  color: var(--paper-100);
}

.section--ink .btn--ghost:hover {
  background: rgba(247, 242, 232, 0.14);
  border-color: var(--sun-400);
  color: var(--sun-400);
}

/* ---------- chips / tags ---------- */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  background: rgba(247, 242, 232, 0.62);
  color: var(--ink-800);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.chip:hover {
  border-color: var(--peacock-500);
  color: var(--peacock-600);
}

.chip:active { transform: translateY(1px); }

.chip[aria-pressed="true"] {
  border-color: var(--peacock-500);
  background: var(--peacock-500);
  color: #FFFFFF;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid rgba(47, 93, 71, 0.22);
  border-radius: var(--pill);
  background: rgba(47, 93, 71, 0.1);
  color: var(--ink-800);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.tag--sun {
  border-color: rgba(242, 193, 78, 0.6);
  background: rgba(242, 193, 78, 0.24);
  color: #5A4410;
}

.section--ink .tag {
  border-color: rgba(247, 242, 232, 0.3);
  background: rgba(247, 242, 232, 0.12);
  color: rgba(247, 242, 232, 0.9);
}

/* ---------- breadcrumb ---------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: var(--ink-600);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--peacock-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb [aria-current="page"] { color: var(--muted); }

/* ---------- numbered list ---------- */
.list-num {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-num li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.list-num li:last-child { border-bottom: 0; }

.num {
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--clay-700);
}

.section--ink .num { color: var(--sun-400); }

/* ---------- horizontal band ---------- */
.band {
  display: flex;
  gap: 10px;
  padding-bottom: 6px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.band > * {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.band::-webkit-scrollbar { height: 6px; }

.band::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: rgba(18, 33, 27, 0.18);
}

/* ---------- media ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-200);
  aspect-ratio: 4 / 3;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media--wide { aspect-ratio: 16 / 10; }
.media--tall { aspect-ratio: 3 / 4; }

.media-frame {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background: rgba(247, 242, 232, 0.6);
}

.media-caption {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--muted);
}

/* ---------- reveal / filter ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

[data-filter-item].is-filtered-out { display: none; }

[data-filter-item].is-filtered-in {
  animation: filterIn 0.28s var(--ease) both;
}

@keyframes filterIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

[hidden] { display: none !important; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.4fr 0.8fr 0.9fr; }
  .footer-col--contact { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  body { font-size: 16px; }

  .site-header { padding: 10px var(--pad) 0; }

  .header-island {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "brand cta toggle"
      "nav nav nav";
    gap: 10px;
    padding: 10px 12px;
    border-radius: 26px;
  }

  .brand-tagline { display: none; }

  .brand-glyph {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    font-size: 17px;
  }

  .brand-name { font-size: 15.5px; }

  .header-cta {
    padding: 9px 13px;
    font-size: 12.5px;
  }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }

  .site-nav[data-open] { display: block; }

  .nav-track {
    width: auto;
    max-width: none;
    margin: 0;
    padding-bottom: 2px;
    -webkit-mask-image: linear-gradient(
      90deg,
      #000 0,
      #000 calc(100% - 34px),
      transparent 100%
    );
    mask-image: linear-gradient(
      90deg,
      #000 0,
      #000 calc(100% - 34px),
      transparent 100%
    );
  }

  .nav-link {
    padding: 8px 13px;
    font-size: 14px;
  }

  .scroll-meter {
    left: 20px;
    right: 20px;
    bottom: 4px;
  }

  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .col-4,
  .col-5,
  .col-6,
  .col-7,
  .col-8 { grid-column: 1 / -1; }
  .col-12 { grid-column: 1 / -1; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col--contact { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .header-island { gap: 8px; }
  .header-cta::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-copy { margin-left: 0; }
  .footer-legal { gap: 10px 16px; }
  .footer-marquee-meta { padding-bottom: 0.2em; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  html { scroll-behavior: auto; }

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

  [data-filter-item].is-filtered-in { animation: none; }
}
