/* =========================================================
   金年会娱乐赛 · 共享外壳 /assets/site.css
   夜场转播控制室：深蓝底 · 控制台面板 · 荧光青状态 · 品牌金行动
   ========================================================= */

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

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

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

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

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

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

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

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

/* ---------- 2. Tokens ---------- */
:root {
  --night: #06111F;
  --control: #0B1E33;
  --slate: #1C2D3F;
  --cyan: #35F1D0;
  --gold: #D6A84B;
  --gold-soft: #E7BC63;
  --magenta: #E84B7A;
  --paper: #F3EEE2;
  --mist: #E8F1F5;
  --steel: #8CA3B6;
  --moss: #6E8B6B;
  --clay: #B66A4B;
  --line: #2F455A;
  --ink: #152536;

  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --shell: 1280px;
  --gutter: clamp(18px, 4vw, 56px);
  --header-h: 74px;

  --ease: cubic-bezier(.22, .7, .3, 1);
  --cut: 18px;
}

/* ---------- 3. Base typography ---------- */
body {
  background-color: var(--night);
  color: var(--mist);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.02em;
  color: var(--mist);
  text-wrap: balance;
}

h1 { font-size: clamp(32px, 4.6vw, 60px); line-height: 1.1; }
h2 { font-size: clamp(24px, 3.2vw, 36px); }
h3 { font-size: clamp(18px, 2vw, 22px); line-height: 1.35; }

p { color: inherit; }

strong, b { font-weight: 700; }

small { font-size: 13px; }

::selection { background-color: var(--cyan); color: var(--night); }

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: .02em;
}

/* ---------- 4. Focus & skip link ---------- */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 14px;
  z-index: 300;
  display: inline-block;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--night);
  background-color: var(--gold);
  border-radius: 2px;
  transform: translateY(-220%);
  transition: transform .18s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- 5. Layout primitives ---------- */
.container {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: calc(880px + var(--gutter) * 2); }

.page-main { padding-top: calc(var(--header-h) + 34px); }
.page-main--bleed { padding-top: 0; }

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

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: clamp(20px, 3vw, 34px);
}

.section-title {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--mist);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
}

.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-9 { grid-column: span 9; }
.span-12 { grid-column: span 12; }

@media (max-width: 900px) {
  .span-3, .span-4, .span-5 { grid-column: span 6; }
  .span-7, .span-8, .span-9 { grid-column: span 12; }
}

@media (max-width: 600px) {
  [class*="span-"] { grid-column: 1 / -1; }
}

/* ---------- 6. Editorial micro-components ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background-color: currentColor;
  flex: 0 0 auto;
}

.rule {
  position: relative;
  height: 1px;
  margin-block: clamp(20px, 3vw, 32px);
  border: 0;
  background-color: var(--line);
}

.rule::after {
  content: "";
  position: absolute;
  left: 0;
  top: -3px;
  width: 72px;
  height: 7px;
  background-image: repeating-linear-gradient(90deg, var(--clay) 0 1px, transparent 1px 8px);
}

.note-col {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--steel);
}

.stat-num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

/* ---------- 7. Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.4;
  border: 1px solid transparent;
  border-radius: 2px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: background-color .16s var(--ease),
              color .16s var(--ease),
              border-color .16s var(--ease);
}

.btn-primary {
  background-color: var(--gold);
  color: var(--night);
}

.btn-primary:hover,
.btn-primary:focus-visible { background-color: var(--gold-soft); }

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

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: var(--cyan);
  border-color: var(--cyan);
}

.btn-quiet {
  padding: 6px 0;
  color: var(--cyan);
  background: none;
  clip-path: none;
}

.btn-quiet:hover { color: var(--gold); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--cyan);
  transition: color .16s var(--ease);
}

.link-arrow::after {
  content: "→";
  transition: transform .16s var(--ease);
}

.link-arrow:hover,
.link-arrow:focus-visible { color: var(--gold); }

.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- 8. Tags & chips ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.7;
  white-space: nowrap;
  background-color: rgba(140, 163, 182, .14);
  color: var(--mist);
  transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}

.tag--live {
  background-color: rgba(53, 241, 208, .14);
  border-color: rgba(53, 241, 208, .42);
  color: var(--cyan);
}

.tag--gold {
  background-color: rgba(214, 168, 75, .16);
  border-color: rgba(214, 168, 75, .44);
  color: var(--gold);
}

.tag--alert {
  background-color: rgba(232, 75, 122, .16);
  border-color: rgba(232, 75, 122, .46);
  color: var(--magenta);
}

.tag--done {
  background-color: rgba(110, 139, 107, .22);
  border-color: rgba(110, 139, 107, .52);
  color: #A6C0A1;
}

.tag--muted {
  background-color: transparent;
  border-color: var(--line);
  color: var(--steel);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--steel);
  background-color: rgba(28, 45, 63, .55);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color .16s var(--ease), border-color .16s var(--ease), background-color .16s var(--ease);
}

.chip:hover,
.chip:focus-visible {
  color: var(--mist);
  border-color: var(--cyan);
}

.chip.is-active {
  color: var(--mist);
  background-color: rgba(53, 241, 208, .14);
  border-color: var(--cyan);
}

/* ---------- 9. Panels ---------- */
.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  background-color: var(--control);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.panel--cut {
  border: 0;
  background-image: linear-gradient(158deg, var(--slate), var(--control) 62%);
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}

/* ---------- 10. Breadcrumb ---------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--steel);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

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

.breadcrumb li::after {
  content: "/";
  color: var(--line);
}

.breadcrumb li:last-child::after { content: none; }

.breadcrumb a { color: var(--steel); transition: color .16s var(--ease); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--mist); }

/* ---------- 11. Media frames ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: var(--control);
  background-image: linear-gradient(152deg, #12293F, #0B1E33 46%, #06111F);
  border: 1px solid var(--line);
  border-radius: 2px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(6, 17, 31, .26) 0 1px, transparent 1px 4px);
  opacity: .55;
}

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

.media-cap {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--mist);
  background-color: rgba(6, 17, 31, .82);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

/* ---------- 12. Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .24s var(--ease), transform .24s var(--ease);
  transition-delay: calc(var(--i, 0) * 45ms);
}

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

/* =========================================================
   13. HEADER
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  color: var(--mist);
  transition: background-color .24s var(--ease), box-shadow .24s var(--ease);
}

.site-header.is-solid,
.site-header.is-nav-open {
  background-color: rgba(11, 30, 51, .96);
  box-shadow: 0 1px 0 var(--line), 0 24px 44px -32px rgba(0, 0, 0, .95);
  backdrop-filter: blur(12px);
}

.signal-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  max-height: 40px;
  padding: 7px var(--gutter);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--steel);
  overflow: hidden;
  border-bottom: 1px solid rgba(47, 69, 90, .6);
  background-image: linear-gradient(90deg, rgba(6, 17, 31, .9), rgba(11, 30, 51, .5));
  transition: max-height .26s var(--ease), opacity .18s linear, padding .26s var(--ease);
}

.site-header.is-solid .signal-strip,
.site-header.is-nav-open .signal-strip {
  max-height: 0;
  padding-block: 0;
  opacity: 0;
  border-bottom-color: transparent;
}

.signal-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.signal-spacer { margin-left: auto; }

.signal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(53, 241, 208, .18);
  flex: 0 0 auto;
}

.signal-mono {
  color: var(--mist);
  letter-spacing: .08em;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  min-height: var(--header-h);
  margin-inline: auto;
  padding: 10px var(--gutter);
}

/* brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 0;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  background-image: linear-gradient(150deg, var(--gold), #8C6A27);
  clip-path: polygon(0 0, 100% 0, 100% 66%, 66% 100%, 0 100%);
}

.brand-mark::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 2px solid var(--night);
  border-radius: 50%;
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 9px;
  height: 2px;
  background-color: var(--night);
  transform: rotate(-45deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.brand-name {
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--mist);
  white-space: nowrap;
}

.brand-line {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--steel);
  white-space: nowrap;
}

/* nav */
.site-nav { margin-left: auto; min-width: 0; }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.3vw, 20px);
  overflow-x: auto;
  scrollbar-width: none;
}

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

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 2px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--steel);
  white-space: nowrap;
  transition: color .16s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background-image: linear-gradient(90deg, var(--cyan), var(--gold));
  transform: scaleX(0) skewX(-24deg);
  transform-origin: left center;
  transition: transform .18s var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible { color: var(--mist); }

.nav-link:hover::after,
.nav-link:focus-visible::after { transform: scaleX(1) skewX(-24deg); }

.nav-link[aria-current="page"] { color: var(--mist); }

.nav-link[aria-current="page"]::after { transform: scaleX(1) skewX(-24deg); }

.nav-index {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--cyan);
  opacity: .75;
}

.nav-link[aria-current="page"] .nav-index { opacity: 1; color: var(--gold); }

/* header tools */
.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.header-cta {
  padding: 9px 18px;
  font-size: 13.5px;
}

/* nav toggle */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--mist);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}

.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan); }

.nav-toggle-box {
  display: grid;
  gap: 4px;
  width: 16px;
}

.nav-toggle-box span {
  display: block;
  height: 1.5px;
  background-color: currentColor;
  transition: transform .2s var(--ease), opacity .14s linear;
}

.nav-toggle[aria-expanded="true"] {
  color: var(--cyan);
  border-color: var(--cyan);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* scroll progress */
.scroll-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  overflow: hidden;
  background-color: rgba(47, 69, 90, .45);
}

.scroll-line i {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background-image: linear-gradient(90deg, var(--cyan), var(--gold) 72%, var(--magenta));
  transition: transform .12s linear;
}

/* ---------- header responsive ---------- */
@media (max-width: 1080px) {
  .brand-line { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 62px; }

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

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    z-index: 85;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 14px var(--gutter) 30px;
    background-color: var(--control);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .95);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s linear;
  }

  .site-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: visible;
  }

  .nav-link {
    justify-content: space-between;
    width: 100%;
    padding: 14px 0;
    font-size: 16.5px;
    border-bottom: 1px solid rgba(47, 69, 90, .55);
  }

  .nav-link::after { display: none; }

  .nav-link[aria-current="page"] { color: var(--cyan); }

  .nav-index { order: 2; font-size: 11px; }

  .header-cta { display: none; }
}

@media (max-width: 760px) {
  .header-cta { display: none; }
}

@media (max-width: 420px) {
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 15.5px; }
}

/* =========================================================
   14. FOOTER
   ========================================================= */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 120px);
  color: var(--steel);
  border-top: 1px solid var(--line);
  background-color: var(--night);
  background-image:
    radial-gradient(120% 90% at 10% 0%, rgba(53, 241, 208, .07), transparent 58%),
    radial-gradient(90% 80% at 92% 8%, rgba(214, 168, 75, .08), transparent 62%),
    linear-gradient(180deg, #081626, #040C17 72%);
}

.footer-hatch {
  height: 10px;
  background-image: repeating-linear-gradient(135deg, var(--clay) 0 2px, transparent 2px 11px);
  opacity: .45;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding: clamp(34px, 5vw, 64px) var(--gutter) 0;
}

.footer-lead { min-width: 0; }

.footer-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer-brand {
  margin-top: 12px;
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--mist);
}

.footer-summary {
  margin-top: 14px;
  max-width: 40ch;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--steel);
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 40px);
  min-width: 0;
}

.footer-col { min-width: 0; }

.footer-col-title {
  margin-bottom: 14px;
  padding-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--mist);
  border-bottom: 1px solid rgba(47, 69, 90, .8);
}

.footer-list {
  display: grid;
  gap: 9px;
}

.footer-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--steel);
  transition: color .16s var(--ease);
}

.footer-list a::before {
  content: "";
  width: 6px;
  height: 1px;
  flex: 0 0 auto;
  background-color: var(--clay);
  transition: width .16s var(--ease), background-color .16s var(--ease);
}

.footer-list a:hover,
.footer-list a:focus-visible { color: var(--cyan); }

.footer-list a:hover::before,
.footer-list a:focus-visible::before {
  width: 16px;
  background-color: var(--cyan);
}

.footer-contact {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 28px;
  margin-top: clamp(22px, 3vw, 38px);
  padding-top: clamp(20px, 3vw, 30px);
  border-top: 1px solid rgba(47, 69, 90, .8);
}

.contact-row {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.contact-key {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--steel);
  text-transform: uppercase;
}

.contact-value {
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
  word-break: break-word;
}

.contact-note {
  grid-column: 1 / -1;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--steel);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin: clamp(24px, 4vw, 40px) auto 0;
  padding: 18px var(--gutter) 26px;
  font-size: 12.5px;
  color: var(--steel);
  border-top: 1px solid rgba(47, 69, 90, .8);
}

.footer-legal {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--steel);
}

.footer-copy {
  font-size: 12.5px;
  color: var(--steel);
}

.footer-copy [data-year] {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--mist);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal-links a {
  color: var(--steel);
  transition: color .16s var(--ease);
}

.footer-legal-links a:hover,
.footer-legal-links a:focus-visible { color: var(--cyan); }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .footer-nav { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .footer-contact { grid-template-columns: minmax(0, 1fr); }
  .footer-base { justify-content: flex-start; }
  .footer-actions .btn { flex: 1 1 auto; }
}

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

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    transition-delay: 0ms !important;
  }

  .scroll-line i { transition: none !important; }
  .skip-link { transition: none !important; }

  .nav-toggle-box span,
  .footer-list a::before,
  .link-arrow::after,
  .nav-link::after,
  .site-header,
  .signal-strip {
    transition-duration: .01ms !important;
  }

  .link-arrow:hover::after { transform: none; }
}

@media print {
  .site-header,
  .site-footer { display: none; }
  body { background: #fff; color: #14212E; }
}
