/* ===== V体育看台 · 共享样式 /assets/site.css ===== */

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

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

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

ul, ol { list-style: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }
table { border-collapse: collapse; width: 100%; }

/* ---- tokens ---- */
:root {
  --navy: #0B1F3A;
  --navy-2: #102A4C;
  --steel: #1B3A66;
  --green: #2F9E5B;
  --green-soft: #DDF3E4;
  --orange: #FF6B2C;
  --amber: #FFC24B;
  --mist: #E8F0F7;
  --paper: #F4F7FA;
  --white: #FFFFFF;
  --ink: #101820;

  --font-display: "Barlow Condensed", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "Roboto Mono", ui-monospace, Menlo, Consolas, monospace;
  --font-label: "Barlow Condensed", "Noto Sans SC", "PingFang SC", sans-serif;

  --frame-top: 64px;
  --frame-side: 84px;

  --cut: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  --cut-sm: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  --line: rgba(27, 58, 102, 0.9);
}

/* ---- base typography ---- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--white);
  background-color: var(--navy);
  background-image:
    repeating-linear-gradient(90deg, rgba(27, 58, 102, 0.30) 0 1px, transparent 1px 104px),
    repeating-linear-gradient(0deg, rgba(27, 58, 102, 0.22) 0 1px, transparent 1px 104px),
    radial-gradient(120% 80% at 82% -10%, rgba(47, 158, 91, 0.20), transparent 62%),
    radial-gradient(90% 70% at 0% 100%, rgba(255, 107, 44, 0.10), transparent 58%);
  background-attachment: fixed;
  min-height: 100vh;
  padding-top: var(--frame-top);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(32px, 5.2vw, 54px); line-height: 1.05; }
h2 { font-size: clamp(26px, 3.6vw, 38px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.3; }
p { font-size: 16px; }

::selection { background: var(--orange); color: #200f06; }

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

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

/* ---- utilities ---- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

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

.label {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}

.stack > * + * { margin-top: 14px; }

.rule {
  height: 2px;
  border: 0;
  background: linear-gradient(90deg, var(--green) 0 18%, var(--orange) 18% 24%, var(--steel) 24% 100%);
  transform: skewY(-0.6deg);
}

/* ---- layout ---- */
.shell {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

.layout-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}

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

@media (min-width: 720px) {
  .span-3, .span-4, .span-5, .span-6 { grid-column: span 6; }
  .span-8 { grid-column: span 12; }
}

@media (min-width: 1024px) {
  .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-8 { grid-column: span 8; }
}

/* ---- skip link ---- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  clip-path: var(--cut-sm);
  transform: translateY(-180%);
  transition: transform 0.18s ease;
}

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

/* ---- header ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  height: var(--frame-top);
  background: linear-gradient(180deg, #0D2442 0%, #0B1F3A 72%);
  border-bottom: 1px solid var(--steel);
}

.site-header__inner {
  position: relative;
  height: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 clamp(12px, 3vw, 28px);
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--white);
  flex: 0 0 auto;
}

.brand__mark {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
  color: #08170e;
  background: linear-gradient(135deg, var(--green) 0%, #55c07f 52%, var(--amber) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 68%, 68% 100%, 0 100%);
  transition: background 0.18s ease;
}

.brand:hover .brand__mark { background: linear-gradient(135deg, var(--amber) 0%, var(--orange) 100%); }

.brand__text { display: flex; flex-direction: column; gap: 1px; }

.brand__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--white);
}

.brand__tagline {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.52);
}

.site-header__meta {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.48);
  white-space: nowrap;
}

.site-header__meta-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.site-header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 130;
}

.site-header__cta { flex: 0 0 auto; }

.site-header__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.site-header__progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--green) 0%, var(--amber) 58%, var(--orange) 100%);
  transition: width 0.12s linear;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  clip-path: var(--cut-sm);
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

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

.btn--signal {
  background: var(--orange);
  color: #24100a;
}

.btn--signal:hover {
  background: #FF8551;
  color: #1b0c05;
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1px var(--steel);
}

.btn--ghost:hover {
  background: rgba(255, 107, 44, 0.12);
  color: var(--amber);
  box-shadow: inset 0 0 0 1px var(--orange);
}

.btn--sm {
  padding: 9px 14px;
  font-size: 13px;
  letter-spacing: 0.05em;
}

/* ---- nav toggle ---- */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  color: var(--white);
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  box-shadow: inset 0 0 0 1px var(--steel);
  clip-path: var(--cut-sm);
  transition: box-shadow 0.18s ease, color 0.18s ease;
}

.nav-toggle:hover { box-shadow: inset 0 0 0 1px var(--orange); color: var(--amber); }

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

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(6px) 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(-6px) rotate(-45deg); }

.nav-toggle__text { line-height: 1; }

/* ---- frame nav (mobile drawer) ---- */
.site-nav {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 110;
  width: min(330px, 88vw);
  padding: calc(var(--frame-top) + 18px) 20px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  background: linear-gradient(162deg, #102A4C 0%, #0B1F3A 58%, #081726 100%);
  border-right: 1px solid var(--steel);
  box-shadow: 18px 0 44px rgba(4, 12, 22, 0.55);
  transform: translateX(-104%);
  visibility: hidden;
  transition: transform 0.22s ease, visibility 0.22s ease;
}

.site-nav[data-open] {
  transform: translateX(0);
  visibility: visible;
}

.site-nav__kicker {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--green);
}

.site-nav__list {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--line);
}

.site-nav__item { border-top: 1px solid var(--line); }

.site-nav__link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 13px 8px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.4;
  transition: color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.site-nav__link:hover {
  color: var(--white);
  background: rgba(47, 158, 91, 0.14);
  box-shadow: inset 3px 0 0 var(--green);
}

.site-nav__link[aria-current="page"] {
  color: var(--white);
  background: rgba(255, 107, 44, 0.16);
  box-shadow: inset 3px 0 0 var(--orange);
}

.site-nav__index {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.38);
  transition: color 0.16s ease;
}

.site-nav__link[aria-current="page"] .site-nav__index { color: var(--amber); }

.site-nav__label { display: inline-block; }

.site-nav__foot { margin-top: auto; padding-top: 14px; }

.site-nav__note {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.40);
}

/* ---- scrim ---- */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: rgba(5, 13, 24, 0.62);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.nav-scrim[data-open] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ---- desktop frame: L 形围栏 ---- */
@media (min-width: 720px) {
  .site-header__meta { display: flex; }
}

@media (min-width: 1024px) {
  body { padding-left: var(--frame-side); }

  .site-header__meta { margin-left: auto; }

  .nav-toggle { display: none; }

  .site-nav {
    top: var(--frame-top);
    bottom: 0;
    width: var(--frame-side);
    padding: 14px 0 18px;
    align-items: center;
    gap: 0;
    overflow: visible;
    transform: none;
    visibility: visible;
    box-shadow: none;
    border-right: 1px solid var(--steel);
  }

  .site-nav[data-open] { transform: none; }

  .site-nav__kicker {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 10px;
    letter-spacing: 0.24em;
    color: rgba(255, 255, 255, 0.34);
    margin-bottom: 10px;
  }

  .site-nav__list {
    width: 100%;
    border-bottom: 0;
  }

  .site-nav__item { border-top: 1px solid rgba(27, 58, 102, 0.75); }
  .site-nav__item:last-child { border-bottom: 1px solid rgba(27, 58, 102, 0.75); }

  .site-nav__link {
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 14px 0;
    font-size: 13px;
    letter-spacing: 0.14em;
  }

  .site-nav__link:hover { box-shadow: inset -3px 0 0 var(--green); }
  .site-nav__link[aria-current="page"] { box-shadow: inset -3px 0 0 var(--orange); }

  .site-nav__index { font-size: 10px; letter-spacing: 0.06em; }

  .site-nav__label {
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 0.2em;
  }

  .site-nav__foot { margin-top: auto; padding-top: 10px; }

  .site-nav__note {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 10px;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.34);
  }

  .nav-scrim { display: none !important; }
}

/* ---- footer ---- */
.site-footer {
  position: relative;
  margin-top: clamp(40px, 7vw, 96px);
  background: linear-gradient(180deg, #0B1F3A 0%, #081726 100%);
  border-top: 1px solid var(--steel);
  color: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}

.site-footer__stripe {
  height: 6px;
  background: linear-gradient(90deg,
    var(--green) 0 20%,
    var(--amber) 20% 26%,
    var(--orange) 26% 34%,
    var(--steel) 34% 100%);
}

.site-footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 62px) clamp(16px, 4vw, 48px) 0;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 46px);
}

.site-footer__brand { max-width: 46ch; }

.footer-brand__line {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}

.footer-brand__name {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.15;
}

.footer-brand__desc {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer__col { min-width: 0; }

.footer-col__title {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(27, 58, 102, 0.9);
}

.footer-col__list { display: grid; gap: 10px; }

.footer-link {
  display: inline-block;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.footer-link:hover {
  color: var(--white);
  border-bottom-color: var(--orange);
}

.site-footer__contact { min-width: 0; }

.footer-contact__item {
  display: grid;
  gap: 2px;
  margin-bottom: 13px;
}

.footer-contact__label {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
}

.footer-contact__value {
  font-size: 15px;
  line-height: 1.6;
  color: var(--white);
  overflow-wrap: anywhere;
}

.footer-contact__note {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.48);
  margin-top: 4px;
}

.site-footer__legal {
  margin-top: clamp(24px, 4vw, 44px);
  padding: 18px 0 26px;
  border-top: 1px solid rgba(27, 58, 102, 0.9);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.46);
}

.footer-legal__copy { font-size: 13px; color: rgba(255, 255, 255, 0.55); }

.footer-legal__icp {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.42);
}

.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-legal__link {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.footer-legal__link:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

@media (min-width: 720px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1.7fr 0.8fr 0.9fr 1.3fr;
    align-items: start;
  }
  .site-footer__brand { grid-column: auto; }
}

/* ---- breadcrumbs ---- */
.breadcrumbs { margin: clamp(18px, 3vw, 30px) 0; }

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumbs__link {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.breadcrumbs__link:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.breadcrumbs__sep { color: var(--steel); }

/* ---- section head ---- */
.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: clamp(16px, 2.2vw, 28px);
}

.section-head__kicker {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-head__kicker::before {
  content: "";
  width: 26px;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  transform: skewX(-24deg);
  flex: 0 0 auto;
}

.section-head__title { color: var(--white); }

/* ---- panels ---- */
.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 26px);
  background: var(--navy-2);
  border: 1px solid var(--steel);
  color: rgba(255, 255, 255, 0.86);
  clip-path: var(--cut);
}

.panel--dark { background: linear-gradient(160deg, #0C2240 0%, #081726 100%); }
.panel--mist { background: var(--mist); border-color: #C9DAE8; color: var(--ink); }
.panel--paper { background: var(--paper); border-color: #D9E4EF; color: var(--ink); }
.panel--green { background: var(--green-soft); border-color: #BFE6CD; color: var(--ink); }
.panel--signal {
  background: linear-gradient(140deg, #FF6B2C 0%, #FF9A5E 100%);
  border-color: #FF8752;
  color: #241006;
}

.panel__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}

.panel__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
}

.panel--mist .panel__meta,
.panel--paper .panel__meta,
.panel--green .panel__meta { color: #4C6478; }

.panel--mist a,
.panel--paper a,
.panel--green a { color: #14395F; }

.panel--mist a:hover,
.panel--paper a:hover,
.panel--green a:hover { color: #0B1F3A; }

/* ---- tags ---- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.09);
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.tag--green { background: var(--green); color: #08170E; }
.tag--orange { background: var(--orange); color: #241006; }
.tag--amber { background: var(--amber); color: #241A04; }
.tag--steel { background: var(--steel); color: #DCE8F5; }

/* ---- numerals ---- */
.score {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.score--highlight { color: var(--orange); }

/* ---- media frames ---- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(47, 158, 91, 0.28), transparent 60%),
    linear-gradient(150deg, var(--steel) 0%, var(--navy-2) 100%);
  clip-path: var(--cut);
}

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

.media-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.02);
}

.media-frame__badge {
  position: absolute;
  top: 0;
  left: 0;
  padding: 6px 14px 6px 10px;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #08170E;
  background: var(--green);
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.media-frame__timecode {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--amber);
  clip-path: var(--cut-sm);
}

.media-frame__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: rgba(11, 31, 58, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.55);
  clip-path: polygon(0 0, 100% 0, 100% 74%, 74% 100%, 0 100%);
  transition: background 0.18s ease, border-color 0.18s ease;
}

.media-frame__play::after {
  content: "";
  margin-left: 3px;
  border-left: 12px solid var(--white);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.media-frame:hover .media-frame__play {
  background: rgba(255, 107, 44, 0.86);
  border-color: var(--amber);
}

.media-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 10px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
  background: linear-gradient(180deg, transparent, rgba(6, 16, 28, 0.82));
}

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

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

/* ---- small screens ---- */
@media (max-width: 559px) {
  :root { --frame-top: 60px; }

  .brand__tagline { display: none; }

  .brand__mark { width: 34px; height: 34px; font-size: 19px; }

  .brand__name { font-size: 17px; }

  .site-header__cta { padding: 8px 10px; font-size: 12px; }

  .nav-toggle { padding: 8px 10px; }

  .nav-toggle__text { display: none; }
}

/* ---- reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

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