/* ========================================================================
   Golden Kapok · 5th Chinese Documentary Film Festival
   Global Stylesheet
   ======================================================================== */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 130px;
  overflow-x: hidden;
  background: var(--ink);
  /* iOS safe area */
  padding-top: env(safe-area-inset-top, 0);
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Source Han Sans SC",
               "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a1a;
  background: #0a0a0a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.lang-en {
  font-family: "Inter", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
}

img, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: color .25s ease; }
a:hover { color: #d4a857; }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .6em;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
}

p { margin: 0 0 1em; }

/* ---------- Design Tokens ---------- */
:root {
  --gold: #c9a356;
  --gold-soft: #d4b878;
  --gold-deep: #8c6d2c;
  --ink: #0a0a0a;
  --ink-2: #14181f;
  --ink-3: #1f2530;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.15);
  --paper: #f7f4ec;
  --paper-2: #efe9d8;
  --text: #1a1a1a;
  --text-soft: #5a5a5a;
  --text-mute: #8a8a8a;
  --on-dark: #f3efe4;
  --on-dark-soft: rgba(243,239,228,.7);

  --max: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 10px 40px rgba(0,0,0,.25);

  --t-fast: .25s ease;
  --t-med: .45s cubic-bezier(.2,.7,.2,1);
}

body.theme-light {
  background: var(--paper);
  color: var(--text);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: clamp(64px, 8vw, 120px) 0; position: relative; }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--paper { background: var(--paper-2); color: var(--text); }
.section--ink { background: var(--ink-2); color: var(--on-dark); }
.section--ink-gold { background: var(--ink-2); color: var(--on-dark); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px; background: var(--gold);
}

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 18px;
}
.section-sub {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--text-soft);
  max-width: 720px;
  line-height: 1.75;
}
.section--dark .section-sub,
.section--ink .section-sub { color: var(--on-dark-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  transition: all var(--t-fast);
  cursor: pointer;
  white-space: nowrap;
}
.btn--gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--ink); }
.btn--ghost { color: inherit; }
.btn--ghost:hover { background: rgba(255,255,255,.08); color: var(--gold-soft); }
.btn--solid { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.btn--solid:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* ---------- Top Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background var(--t-med), padding var(--t-med), border-color var(--t-med);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10,10,10,.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding: 12px 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--on-dark);
}
.nav__brand-mark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav__brand-text small { font-size: 10px; color: var(--gold); letter-spacing: .2em; font-weight: 500; text-transform: uppercase; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  margin-right: 16px;
}
.nav__links a {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  position: relative;
  padding: 6px 0;
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--gold); }
.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  overflow: hidden;
  font-size: 12px;
  letter-spacing: .12em;
  font-weight: 500;
}
.lang-switch button {
  padding: 7px 14px;
  color: var(--on-dark-soft);
  transition: all var(--t-fast);
}
.lang-switch button.is-active {
  background: var(--gold);
  color: var(--ink);
}
.lang-switch button:not(.is-active):hover { color: var(--gold-soft); }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  position: relative;
  flex: none;
  align-self: center;
  margin: -6px -6px -6px 0;
}
.nav__burger span {
  position: absolute;
  left: 4px; right: 4px; height: 1px; background: var(--on-dark);
  transition: transform var(--t-fast), opacity var(--t-fast), top var(--t-fast);
}
.nav__burger span:nth-child(1) { top: 11px; }
.nav__burger span:nth-child(2) { top: 16px; }
.nav__burger span:nth-child(3) { top: 21px; }
.nav.is-open .nav__burger span:nth-child(1) { top: 16px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { top: 16px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 80px;
  color: var(--on-dark);
  overflow: hidden;
  background: var(--ink);
}
.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 110px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .8s ease;
  will-change: opacity;
}
.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,.7) 0%, rgba(10,10,10,.35) 40%, rgba(10,10,10,.92) 100%),
    linear-gradient(90deg, rgba(10,10,10,.55), rgba(10,10,10,.2));
  z-index: 2;
}
.hero__media video,
.hero__media .hero__poster {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero__poster { background: url("../images/华语记录电影大会宣传图.jpg") center/cover no-repeat; }
.hero__poster--alt { background-image: url("../images/活动现场图片.jpg"); }

.hero__content { position: relative; z-index: 3; max-width: 880px; width: 100%; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.hero__meta span { display: inline-flex; align-items: center; gap: 10px; }
.hero__meta span::before { content: ""; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }

.hero__title {
  font-size: clamp(40px, 6.5vw, 88px);
  font-weight: 600;
  line-height: 1.02;
  margin-bottom: 22px;
  letter-spacing: -.015em;
}
.hero__title em {
  font-style: normal;
  display: block;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  font-weight: 400;
  color: var(--gold);
  font-size: .55em;
  margin-top: 14px;
  letter-spacing: .02em;
}
body.lang-en .hero__title em {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.hero__desc {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.75;
  color: var(--on-dark-soft);
  max-width: 640px;
  margin-bottom: 36px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Hero period badge (submission dates) ---------- */
.hero__period {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 26px;
  padding: 9px 18px 9px 16px;
  border: 1px solid rgba(201, 163, 86, .55);
  background: linear-gradient(135deg, rgba(201, 163, 86, .14), rgba(201, 163, 86, .04));
  color: var(--gold);
  font-size: 13px;
  letter-spacing: .12em;
  line-height: 1;
  white-space: nowrap;
  position: relative;
}
.hero__period::before {
  content: "";
  position: absolute;
  left: -1px; top: -1px;
  width: 10px; height: 10px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}
.hero__period::after {
  content: "";
  position: absolute;
  right: -1px; bottom: -1px;
  width: 10px; height: 10px;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}
.hero__period-icon { width: 16px; height: 16px; flex: 0 0 16px; stroke: var(--gold); }
.hero__period-label {
  color: var(--on-dark-soft);
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
}
.hero__period-sep {
  width: 1px;
  height: 14px;
  background: var(--gold);
  opacity: .45;
}
.hero__period-dates {
  color: var(--gold-soft);
  font-weight: 500;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  font-family: "Cormorant Garamond", Georgia, "Noto Serif SC", "Source Han Serif SC", serif;
  font-size: 20px;
}

/* ---------- Hero tracks (two-track overview) ---------- */
.hero__tracks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 32px;
  margin-bottom: 32px;
  max-width: 880px;
}
.hero__track {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 16px;
  row-gap: 8px;
  align-items: start;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  position: relative;
}
.hero__track::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.hero__track-num {
  font-family: "Cormorant Garamond", Georgia, "Noto Serif SC", "Source Han Serif SC", serif;
  font-size: 30px;
  color: var(--gold);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .04em;
  padding-top: 4px;
  grid-row: 1 / span 2;
}
.hero__track-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--on-dark);
  margin: 0;
  letter-spacing: .04em;
  line-height: 1.4;
  grid-column: 2;
}
.hero__track-desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--on-dark-soft);
  margin: 0;
  letter-spacing: .02em;
  grid-column: 2;
}

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 30px;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: .75;
}
.hero__scroll::after {
  content: "";
  width: 1px; height: 36px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scroll-pulse 2.4s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Hero slider controls ---------- */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, .45);
  border: 1px solid rgba(201, 163, 86, .55);
  color: var(--gold);
  cursor: pointer;
  opacity: .6;
  transition: opacity var(--t-med), background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  animation: arrowHint 3.5s ease-in-out 1.2s 2;
}
@keyframes arrowHint {
  0%, 100% { opacity: .6; }
  40%      { opacity: 1; box-shadow: 0 0 0 6px rgba(201, 163, 86, .12); }
  60%      { opacity: 1; box-shadow: 0 0 0 6px rgba(201, 163, 86, .12); }
}
.hero--slides:hover .hero__arrow { opacity: 1; animation: none; }
.hero__arrow:hover {
  background: rgba(201, 163, 86, .22);
  border-color: var(--gold);
  color: var(--gold-soft);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 0 0 8px rgba(201, 163, 86, .18), 0 8px 24px rgba(0, 0, 0, .4);
}
.hero__arrow--prev:hover { transform: translateY(-50%) scale(1.08) translateX(-3px); }
.hero__arrow--next:hover { transform: translateY(-50%) scale(1.08) translateX(3px); }
.hero__arrow:active { transform: translateY(-50%) scale(.96); }
.hero__arrow svg { width: 20px; height: 20px; transition: transform var(--t-fast); }
.hero__arrow--prev { left: 28px; }
.hero__arrow--next { right: 28px; }

.hero__dots {
  display: none !important;
}
.hero__dot {
  display: none !important;
}
.hero__dot:hover { background: rgba(255, 255, 255, .55); }
.hero__dot.is-active {
  background: var(--gold);
  height: 30px;
}

/* Counter "01 / 03" at bottom-right */
.hero__counter {
  position: absolute;
  right: 24px;
  bottom: 92px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(10, 10, 10, .45);
  border: 1px solid rgba(201, 163, 86, .4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12.5px;
  letter-spacing: .15em;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  opacity: 0;
  transform: translateY(6px);
  animation: counterIn .9s ease .8s forwards;
}
.hero__counter::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(201, 163, 86, .8);
  animation: counterDot 1.8s ease-in-out infinite;
}
@keyframes counterDot {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}
@keyframes counterIn {
  to { opacity: .92; transform: translateY(0); }
}
.hero:hover .hero__counter { opacity: 1; }

/* ---------- Highlights / Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 36px 24px;
  border-right: 1px solid var(--line);
  text-align: left;
}
.stat:last-child { border-right: none; }
.stat__num {
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  font-feature-settings: "tnum";
  margin-bottom: 10px;
}
.stat__label {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}

/* ---------- Intro / Two-column ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.two-col--reverse > :first-child { order: 2; }

/* Featured/announcement variant: media column wider so the image reads clearly.
   Body column gets the remaining ~40% to keep text concise and well-paced. */
.two-col--wide-media {
  grid-template-columns: 1.45fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.two-col--wide-media .two-col__media--fit img,
.two-col--wide-media .two-col__media--fit video {
  max-height: 820px;
  width: 100%;
  height: auto;
}
@media (max-width: 720px) {
  .two-col--wide-media { grid-template-columns: 1fr; }
}

.two-col__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-2);
}
.two-col__media img,
.two-col__media video {
  width: 100%; height: 100%; object-fit: cover;
}
/* Modifier: show the entire image without cropping (for portrait posters etc.) */
.two-col__media--fit {
  aspect-ratio: auto;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  min-height: 0;
  background: transparent;
}
.two-col__media--fit img,
.two-col__media--fit video {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 720px;
  object-fit: contain;
}
/* Modifier: use the same image as the container's full-bleed background.
   The <img> inside is hidden, the same image is set as background-image
   via inline style for the URL. Works in every modern browser — no attr(),
   no CSS variable tricks, just plain background-image.
   Usage:
     <div class="two-col__media two-col__media--bg" style="background-image: url('...');">
       <img src="..." alt="..." />
     </div>
*/
.two-col__media--bg {
  aspect-ratio: 16 / 9;          /* 横版图填满更协调 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--ink-2); /* 兜底 */
}
.two-col__media--bg img,
.two-col__media--bg video {
  /* 让 <img> 不可见，background 透出来。保留 DOM 以维持 SEO / a11y。 */
  opacity: 0;
  pointer-events: none;
  width: 1px; height: 1px;        /* 占位 1px 满足可访问性 */
  position: absolute;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
}
.two-col__media::after {
  content: "";
  position: absolute;
  left: -1px; top: 24px; bottom: 24px;
  width: 1px;
}

.two-col__body p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-soft);
  margin-bottom: 18px;
}
.section--dark .two-col__body p,
.section--ink .two-col__body p,
.section--ink-gold .two-col__body p { color: var(--on-dark-soft); }

/* ---------- Track Pills (4 themes) ---------- */
.tracks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.track {
  position: relative;
  padding: 32px 24px 28px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line);
  transition: all var(--t-med);
  overflow: hidden;
}
.track::before {
  content: attr(data-num);
  position: absolute;
  right: 18px; top: 14px;
  font-size: 56px;
  font-weight: 600;
  font-style: italic;
  color: var(--gold);
  opacity: .25;
  line-height: 1;
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, "Noto Serif SC", serif;
}
.track:hover { border-color: var(--gold); background: rgba(201,163,86,.05); transform: translateY(-4px); }
.track__icon {
  width: 36px; height: 36px;
  margin-bottom: 24px;
  color: var(--gold);
}
.track h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--on-dark);
}
.track p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--on-dark-soft);
  margin: 0;
}

/* ---------- Collect tracks (home page) ---------- */
.section-head { max-width: 720px; margin: 0 auto 48px; }
.section-head--center { text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-cta {
  text-align: center;
  margin-top: 56px;
}
.collect-tracks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.collect-track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px 32px 32px;
  background: rgba(255, 255, 255, .02);
  border: 1px solid var(--line);
  transition: all var(--t-med);
  overflow: hidden;
}
.collect-track::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform var(--t-med);
}
.collect-track:hover {
  border-color: var(--gold);
  background: rgba(201, 163, 86, .05);
  transform: translateY(-4px);
}
.collect-track:hover::before { transform: scaleY(1); }
.collect-track__title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 14px;
  color: var(--on-dark);
}
.collect-track__desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--on-dark-soft);
  margin: 0 0 22px;
  flex: 1;
}
.collect-track__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  transition: gap var(--t-fast), color var(--t-fast);
}
.collect-track__cta:hover {
  color: var(--gold-soft);
  gap: 14px;
}
.collect-track__cta::after {
  content: "→";
  font-size: 14px;
  transition: transform var(--t-fast);
}
.collect-track__cta:hover::after { transform: translateX(2px); }
@media (max-width: 860px) {
  .collect-tracks { grid-template-columns: 1fr; }
  .collect-track { padding: 28px 24px 26px; }
  .collect-track__title { font-size: 20px; }
}

/* ---------- Spec Table ---------- */
.spec {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 14.5px;
}
.spec th, .spec td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec thead th {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  background: rgba(201,163,86,.06);
  border-bottom: 1px solid var(--gold);
}
.spec tbody tr:hover { background: rgba(201,163,86,.04); }
.spec th:first-child, .spec td:first-child {
  width: 28%;
  font-weight: 500;
  color: var(--gold);
  white-space: nowrap;
}
.section--paper .spec th,
.section--paper .spec td { border-color: rgba(0,0,0,.08); }
.section--paper .spec thead th { background: rgba(201,163,86,.1); }
.section--paper .spec tbody tr:hover { background: rgba(201,163,86,.06); }

/* ---------- Awards cards ---------- */
.awards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.award {
  padding: 28px 24px;
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all var(--t-med);
}
.award:hover { border-color: var(--gold); transform: translateY(-3px); }
.award__num {
  font-family: "Inter", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 36px;
  color: var(--gold);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 14px;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1;
}
.award h4 { font-size: 17px; margin-bottom: 8px; }
.award p { font-size: 13.5px; color: var(--on-dark-soft); margin: 0; line-height: 1.7; }

/* ---------- Form ---------- */
.form {
  background: var(--ink-2);
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__field--full { grid-column: 1 / -1; }
.form__label {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.form__label small { color: var(--on-dark-soft); letter-spacing: .1em; text-transform: none; }
.form__control {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-2);
  padding: 12px 0;
  color: var(--on-dark);
  font-family: inherit;
  font-size: 16px; /* prevent iOS Safari zoom on focus */
  transition: border-color var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.form__control:focus { outline: none; border-color: var(--gold); }
textarea.form__control { min-height: 110px; resize: vertical; }
select.form__control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
.form__hint { font-size: 12px; color: var(--on-dark-soft); }

/* ---------- Video rail (3-up + arrows + pager) ---------- */
.video-rail {
  position: relative;
  padding: 0 36px;
}
.video-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 4px 14px;
  margin: 0 -4px;
}
.video-grid::-webkit-scrollbar { display: none; }
.video-grid .video-card {
  cursor: pointer;
  flex: 0 0 calc((100% - 44px) / 3);
  scroll-snap-align: start;
}
.poster-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 4px 14px;
  margin: 0 -4px;
}
.poster-grid::-webkit-scrollbar { display: none; }
.poster-grid .poster-card {
  flex: 0 0 calc((100% - 44px) / 3);
  min-width: 0;
  scroll-snap-align: start;
}
.video-grid .video-card img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Video rail arrows ---------- */
.video-rail__arrow {
  position: absolute;
  top: calc(50% - 12px);
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(201, 163, 86, .55);
  background: rgba(10, 10, 10, .55);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
  transition: opacity .25s ease, background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
  opacity: .5;
  pointer-events: none;
  padding: 0;
}
.video-rail__arrow svg { width: 20px; height: 20px; transition: transform .25s ease; }
.video-rail__arrow--prev { left: -8px; }
.video-rail__arrow--next { right: -8px; }
.video-rail__arrow.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.video-rail__arrow.is-visible:hover {
  background: rgba(201, 163, 86, .25);
  border-color: var(--gold);
  color: var(--gold-soft);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 0 8px rgba(201, 163, 86, .15), 0 8px 24px rgba(0, 0, 0, .45);
}
.video-rail__arrow--prev.is-visible:hover { transform: translateY(-50%) scale(1.1) translateX(-3px); }
.video-rail__arrow--next.is-visible:hover { transform: translateY(-50%) scale(1.1) translateX(3px); }
.video-rail__arrow.is-visible:active {
  transform: translateY(-50%) scale(.96);
}

/* ---------- Video rail pager dots ---------- */
.video-rail__pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  min-height: 18px;
}
.video-rail__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width .25s ease, background .25s ease, transform .25s ease;
}
.video-rail__dot:hover { background: rgba(255, 255, 255, .45); }
.video-rail__dot.is-active {
  width: 26px;
  background: var(--gold);
}

/* ---------- Video card ---------- */
.video-card {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink-2);
  cursor: pointer;
}
.video-card img,
.video-card video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.video-card:hover img { transform: scale(1.04); }
.video-card__btn {
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  z-index: 2;
}
.video-card__btn span {
  width: 78px; height: 78px;
  border-radius: 50%;
  background: rgba(201,163,86,.92);
  display: grid; place-items: center;
  color: var(--ink);
  font-size: 22px;
  transition: transform var(--t-med), background var(--t-fast);
}
.video-card:hover .video-card__btn span { transform: scale(1.08); background: var(--gold-soft); }
.video-card__caption {
  position: absolute;
  left: 24px; right: 24px; bottom: 18px;
  z-index: 2;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.6));
  padding: 14px 0 4px;
  margin: 0 -24px -18px;
}

/* ---------- Lightbox video ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.lightbox.is-open { display: flex; }
.lightbox__inner {
  position: relative;
  width: 100%;
  max-width: 1100px;
}
.lightbox video {
  width: 100%;
  max-height: 80vh;
  background: #000;
}
.lightbox img {
  display: none;
  width: auto;
  max-width: 100%;
  max-height: 80vh;
  margin: 0 auto;
  background: #000;
  object-fit: contain;
}
.lightbox.is-image img { display: block; }
.lightbox.is-image video { display: none; }
.lightbox__close {
  position: absolute;
  top: -44px; right: 0;
  color: var(--on-dark);
  font-size: 14px;
  letter-spacing: .15em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.lightbox__close:hover { color: var(--gold); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--on-dark);
  padding: 64px 0 28px;
  border-top: 1px solid var(--line);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer h5 {
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer p, .footer a, .footer li {
  font-size: 13.5px;
  color: var(--on-dark-soft);
  line-height: 1.9;
}
.footer a:hover { color: var(--gold); }
.footer__brand { font-size: 22px; color: var(--on-dark); font-weight: 600; margin-bottom: 8px; }
.footer__brand small { display: block; font-size: 11px; color: var(--gold); letter-spacing: .25em; text-transform: uppercase; margin-top: 6px; font-weight: 500; }
.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: .08em;
}

/* ---------- Page header ---------- */
.page-head {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 80px;
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
}
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,.35), rgba(10,10,10,.7)); 
  z-index: 1;
}
.page-head__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .8;
  overflow: hidden;
  background: url("../images/华语记录电影大会宣传图.jpg") center/cover no-repeat;
}
.page-head__media img,
.page-head__media video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.page-head__content { position: relative; z-index: 2; max-width: 820px; }
.page-head h1 {
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 18px;
}
.page-head p {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--on-dark-soft);
  max-width: 680px;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Mobile drawer ---------- */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,.97);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: calc(80px + env(safe-area-inset-top, 0px)) 24px calc(40px + env(safe-area-inset-bottom, 0px));
  opacity: 0;
  pointer-events: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transform: translateY(-12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
  visibility: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-drawer.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); visibility: visible; }
.mobile-drawer a {
  font-size: 18px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--on-dark);
  padding: 14px 24px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: color var(--t-fast);
  -webkit-tap-highlight-color: rgba(201, 163, 86, .18);
}
.mobile-drawer a:active,
.mobile-drawer a.is-active { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .tracks { grid-template-columns: repeat(2, 1fr); }
  .awards { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col--reverse > :first-child { order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .video-grid .video-card { flex: 0 0 calc((100% - 44px) / 3); }
  .video-rail__arrow { width: 38px; height: 38px; }
  .video-rail__arrow svg { width: 18px; height: 18px; }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__burger { display: block; margin-left: auto; }
  .nav__inner { gap: 14px; }
  .lang-switch { order: -1; margin-right: 8px; }
  .lang-switch button { padding: 6px 10px; min-height: 32px; }

  .hero { padding: 0; align-items: flex-end; text-align: left; min-height: 100vh; min-height: 100svh; overflow: hidden; }
  .hero__slides { position: absolute; inset: 0; }
  .hero__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 96px 0 80px;
    overflow: hidden;
  }
  /* Bottom fade on hero */
  .hero::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 160px;
    background: linear-gradient(180deg, transparent, rgba(10,10,10,.3) 40%, rgba(10,10,10,.92));
    pointer-events: none;
    z-index: 2;
  }
  .hero__content { padding-bottom: 0; position: relative; z-index: 3; }
  .hero__meta {
    font-size: 10.5px;
    letter-spacing: .18em;
    gap: 6px 16px;
    margin-bottom: 2px;
  }
  .hero__meta span { gap: 6px; }
  .hero__title { font-size: clamp(34px, 9.5vw, 50px); margin-bottom: 14px; line-height: 1.05; }
  .hero__title em { font-size: .58em; line-height: 1.2; }
  .hero__period {
    padding: 7px 12px 7px 10px;
    gap: 7px;
    margin: 2px 0 16px;
  }
  .hero__period-icon { width: 13px; height: 13px; flex-basis: 13px; }
  .hero__period-label { font-size: 10px; letter-spacing: .2em; }
  .hero__period-dates { font-size: 15px; letter-spacing: .03em; }
  .hero__period-sep { height: 12px; }

  .hero__tracks { grid-template-columns: 1fr; gap: 12px; margin-bottom: 20px; }
  .hero__track {
    grid-template-columns: 32px 1fr;
    column-gap: 10px;
    row-gap: 4px;
    padding-top: 10px;
  }
  .hero__track-num { font-size: 20px; padding-top: 2px; }
  .hero__track-title { font-size: 14.5px; line-height: 1.35; letter-spacing: .02em; }
  .hero__track-desc { font-size: 12.5px; line-height: 1.65; letter-spacing: .01em; }

  /* Tighter for slide 3 (two tracks with longer copy) */
  .hero__slide[data-slide-index="2"] { padding-bottom: 90px; }
  .hero__slide[data-slide-index="2"] .hero__meta { margin-bottom: 8px; }
  .hero__slide[data-slide-index="2"] .hero__title { font-size: clamp(30px, 8vw, 42px); margin-bottom: 10px; line-height: 1.1; }
  .hero__slide[data-slide-index="2"] .hero__desc { font-size: 13px; line-height: 1.55; margin-bottom: 14px; -webkit-line-clamp: 4; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .hero__slide[data-slide-index="2"] .hero__period { margin-bottom: 10px; padding: 5px 10px; }
  .hero__slide[data-slide-index="2"] .hero__period-dates { font-size: 13px; }
  .hero__slide[data-slide-index="2"] .hero__tracks { gap: 8px; margin-bottom: 14px; }
  .hero__slide[data-slide-index="2"] .hero__track { padding-top: 6px; }
  .hero__slide[data-slide-index="2"] .hero__track-num { font-size: 17px; }
  .hero__slide[data-slide-index="2"] .hero__track-title { font-size: 13px; line-height: 1.3; }
  .hero__slide[data-slide-index="2"] .hero__track-desc { font-size: 11.5px; line-height: 1.5; }
  .hero__slide[data-slide-index="2"] .hero__cta .btn { min-height: 40px; padding: 10px 18px; font-size: 13px; }

  .hero__cta { gap: 10px; }
  .hero__cta .btn { flex: 1 1 100%; min-height: 44px; font-size: 14px; }

  /* Bottom nav floats over content, does not reserve layout space */
  .hero__nav { bottom: 56px; padding: 5px 12px; gap: 10px; z-index: 6; }
  .hero__dots {
    display: none !important;
  }
  .hero__counter {
    right: 16px;
    bottom: 24px;
    transform: none;
    font-size: 10.5px;
    padding: 4px 10px;
    z-index: 6;
  }
  .hero__scroll { bottom: 8px; font-size: 10px; gap: 6px; opacity: .55; z-index: 6; }
  .hero__scroll::after { height: 20px; animation: none; }

  .hero__arrow { width: 40px; height: 40px; opacity: .85; border-width: 1px; animation: none; z-index: 6; top: 50%; transform: translateY(-50%); }
  .hero__arrow--prev { left: 10px; }
  .hero__arrow--next { right: 10px; }
  .hero__arrow svg { width: 16px; height: 16px; }
  .hero__arrow--prev:hover { transform: translateY(-50%) scale(1.05) translateX(-2px); }
  .hero__arrow--next:hover { transform: translateY(-50%) scale(1.05) translateX(2px); }
  .hero__dot { width: 18px; height: 2.5px; padding: 5px 0; }
  .hero__dot.is-active { width: 26px; height: 2.5px; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 16px; }
  .tracks { grid-template-columns: 1fr; }
  .video-grid .video-card { flex: 0 0 88%; }
  .poster-grid .poster-card { flex: 0 0 88%; }
  .video-rail { padding: 0 8px; }
  .video-rail__arrow { width: 44px; height: 44px; background: rgba(10,10,10,.7); border-color: rgba(201,163,86,.6); color: var(--gold); z-index: 10; touch-action: manipulation; top: calc(50% - 20px); }
  .video-rail__arrow.is-visible { opacity: 1 !important; pointer-events: auto !important; }
  .video-rail__arrow--prev { left: 4px; }
  .video-rail__arrow--next { right: 4px; }
  .video-rail__arrow--prev.is-visible:hover { transform: translateY(-50%) scale(1.08) translateX(-2px); }
  .video-rail__arrow--next.is-visible:hover { transform: translateY(-50%) scale(1.08) translateX(2px); }
  .video-rail__arrow svg { width: 18px; height: 18px; }
  .video-rail__dot { padding: 10px; }
  .awards { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; gap: 18px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }

  .section { padding: 56px 0; }
  .section-title { font-size: clamp(28px, 7.5vw, 40px); }
  .section-sub { font-size: 15px; }

  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .table-wrap .spec { min-width: 560px; }
  .spec th, .spec td { padding: 12px 14px; font-size: 13.5px; }
  .spec th:first-child, .spec td:first-child { width: 36%; font-size: 12.5px; }

  .page-head { padding: 130px 0 50px; }

  .lightbox { padding: 16px; }
  .lightbox__close {
    top: -40px; right: 0;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
  }

  .mobile-drawer a { padding: 16px 0; font-size: 16px; min-height: 48px; display: flex; align-items: center; }

  .btn { min-height: 44px; padding: 12px 22px; }

  .collect-track { padding: 24px 20px; }
  .collect-track__title { font-size: 20px; }

  .award { padding: 24px 20px; }
  .award h4 { font-size: 16px; }

  /* Safe-area aware paddings at the bottom (iOS home indicator) */
  .footer { padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
  .nav.is-open .mobile-drawer { padding-bottom: env(safe-area-inset-bottom, 0px); }
}

/* Touch device refinements: kill hover transforms that look out of place on touch */
@media (hover: none) {
  .video-card:hover img,
  .poster-card:hover img,
  .download-card:hover,
  .apply-quick__card:hover,
  .collect-track:hover,
  .award:hover,
  .btn--ghost:hover { transform: none; }
  .video-card:active img,
  .poster-card:active img { transform: scale(.99); }
}

/* Tablet portrait tweaks (between phone and desktop) */
@media (min-width: 721px) and (max-width: 1024px) {
  .nav__inner { gap: 18px; }
  .nav__links { gap: 18px; }
  .nav__links a { font-size: 12px; letter-spacing: .12em; }
  .hero__title { font-size: clamp(36px, 5.5vw, 64px); }
  .section-title { font-size: clamp(30px, 4.4vw, 48px); }
  .stat { padding: 28px 20px; }
}

/* Very small phones (≤ 380px) – squeeze a bit more */
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .hero__title { font-size: 32px; }
  .section-title { font-size: 26px; }
  .lang-switch button { padding: 4px 8px; font-size: 12px; }
  .stat__num { font-size: 28px; }
}

/* ---------- Print ---------- */
@media print {
  .nav, .footer, .lightbox { display: none; }
  body { background: #fff; color: #000; }
}

/* ---------- Download cards (submit page) ---------- */
.downloads__head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.downloads__head .eyebrow { justify-content: center; }
.downloads__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.download-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: 32px 28px;
  transition: border-color .25s ease, transform .25s ease;
  position: relative;
  overflow: hidden;
}
.download-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .6;
}
.download-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.download-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--gold);
  background: rgba(201, 163, 86, 0.06);
}
.download-card__icon svg { width: 24px; height: 24px; }
.download-card__body { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.download-card__body h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.4;
  color: var(--on-dark);
  margin: 0;
}
.download-card__body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--on-dark-soft);
  margin: 0;
}
.download-card__meta {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  opacity: .75;
}
.download-card__btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: .04em;
  text-decoration: none;
}
.download-card__btn svg { display: block; }

@media (max-width: 1024px) {
  .downloads__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .downloads__grid { grid-template-columns: 1fr; }
  .download-card { padding: 24px 20px; }
  .download-card__body h3 { font-size: 18px; }
}

/* ---------- Apply quick entry cards (home page) ---------- */
.apply-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.apply-quick__card { text-decoration: none; color: inherit; }
.apply-quick__card:hover {
  border-color: var(--gold);
  background: rgba(201, 163, 86, .05);
  transform: translateY(-4px);
}
@media (max-width: 1024px) {
  .apply-quick { grid-template-columns: 1fr; }
}
