/* ============================================================
   chuà 短片发行 / CHUA Short Film Distribution — site styles
   Dark cinematic editorial theme
   ============================================================ */

/* ---------- local fonts (no CDN dependency) ---------- */
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/instrument-sans-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/instrument-sans-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #0c0c0e;
  --bg-2: #121214;
  --panel: #161618;
  --panel-2: #1c1c20;
  --text: #f4f1ea;
  --text-dim: #a39e94;
  --text-faint: #6d6960;
  --accent: #d8402a;
  --accent-soft: rgba(216, 64, 42, 0.14);
  --line: rgba(244, 241, 234, 0.13);
  --line-strong: rgba(244, 241, 234, 0.28);
  --serif: "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* language-switch guard: hide until i18n applied (no-JS safe) */
.js body { opacity: 0; }
.js.i18n-ready body { opacity: 1; transition: opacity 0.18s ease; }

::selection { background: var(--accent); color: #fff; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- film grain ---------- */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 0.9s steps(4) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -2%); }
  75% { transform: translate(-3%, -3%); }
  100% { transform: translate(2%, 2%); }
}

/* ---------- navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav.scrolled {
  background: rgba(12, 12, 14, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img, .brand-logo { height: 26px; width: auto; display: block; }
.brand .brand-cn {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  border-left: 1px solid var(--line-strong);
  padding-left: 12px;
  line-height: 1.2;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
}
.nav-right { display: flex; align-items: center; gap: 18px; }

/* language pill */
.lang-pill {
  display: flex;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
  font-size: 12.5px;
  letter-spacing: 0.05em;
}
.lang-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text-dim);
  font-family: var(--sans);
  font-size: 12.5px;
  padding: 6px 13px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  line-height: 1.2;
}
.lang-btn.active { background: var(--text); color: var(--bg); font-weight: 600; }
.lang-btn:not(.active):hover { color: var(--text); }

/* hamburger */
.hamburger {
  display: none;
  appearance: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  width: 42px; height: 42px;
  cursor: pointer;
  position: relative;
}
.hamburger span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  z-index: 999;
  background: rgba(12, 12, 14, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 12px 28px 24px;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu li:last-child { border-bottom: none; }
.mobile-menu a {
  display: block;
  padding: 15px 2px;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}
.mobile-menu a.active { color: var(--text); }

/* ---------- shared layout ---------- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}
section { padding: 108px 0; }
.section-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 54px;
}
.section-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0.08em;
  flex-shrink: 0;
}
.section-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.25;
  letter-spacing: 0.01em;
}
.section-line {
  flex: 1;
  height: 1px;
  background: var(--line);
  align-self: center;
  margin-left: 8px;
}

/* ---------- hero (v2: full-screen video, Digitwist style) ---------- */
.hero-v2 {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: #000;
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000;
}
.hero-video img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.43;
  filter: grayscale(0.4) contrast(1.05);
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 30% 40%, transparent 0%, rgba(12, 12, 14, 0.55) 70%),
    linear-gradient(180deg, rgba(12, 12, 14, 0.72) 0%, rgba(12, 12, 14, 0.88) 78%, var(--bg) 100%);
}
.hero-v2 .wrap {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-h) + 20px);
  max-width: 1320px;
}
.hero-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-main {
  font-family: "Instrument Sans", var(--sans);
  font-weight: 600;
  font-size: clamp(44px, 8.6vw, 96px);
  line-height: 1.24;
  letter-spacing: -0.02em;
  max-width: 15em;
  background: linear-gradient(to bottom, #ffffff 0%, #ffffff 45%, #b4c0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: heroScale 0.6s var(--ease) both;
}
/* 中文版主标：粗衬线更有张力 */
html[lang="zh-CN"] .hero-main {
  font-family: "Noto Serif SC", var(--serif);
  font-weight: 900;
  letter-spacing: 0.01em;
}
/* 「着火的心脏」暗红，低纯度不刺眼 */
.hero-main .burn {
  color: #b34a38;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
}
/* 第二行：不做白-蓝渐变，纯白 + 斜体 */
.hero-main .hero-line2 {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: #fff;
  font-style: italic;
}
.hero-desc {
  font-family: "Instrument Sans", var(--sans);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.65;
  color: #fff;
  max-width: 576px;
  animation: heroFadeSub 0.6s 0.2s ease both;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  animation: heroFadeUp 0.5s 0.4s var(--ease) both;
}
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; justify-content: center; }
}

/* mobile hero tuning: still-bg fit, tighter rhythm */
@media (max-width: 640px) {
  .hero-v2 .wrap { padding-top: calc(var(--nav-h) + 8px); }
  .hero-stack { gap: 34px; }
  .hero-main { font-size: clamp(27px, 7vw, 36px); line-height: 1.22; }
  .hero-desc { font-size: 15.5px; line-height: 1.6; }
  .btn-pill { font-size: 16px; padding: 7px 7px 7px 20px; }
  .btn-pill .arr-dot { width: 36px; height: 36px; margin-left: 12px; }
  .hero-veil {
    background:
      radial-gradient(ellipse at 30% 35%, transparent 0%, rgba(12, 12, 14, 0.62) 72%),
      linear-gradient(180deg, rgba(12, 12, 14, 0.78) 0%, rgba(12, 12, 14, 0.92) 70%, var(--bg) 100%);
  }
}

/* white pill CTA with blue arrow dot */
.btn-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 8px 8px 24px;
  border-radius: 999px;
  background: #fff;
  color: #0a0400;
  font-family: "Instrument Sans", var(--sans);
  font-weight: 500;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.btn-pill:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}
.btn-pill .arr-dot {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #3054ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  transition: background 0.3s;
}
.btn-pill:hover .arr-dot { background: #2040e0; }
.arr-dot svg, .btn-ghostlink svg {
  width: 20px; height: 20px;
  color: #fff;
}

/* secondary text link CTA */
.btn-ghostlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  padding: 10px 16px;
  border-radius: 10px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  font-family: "Instrument Sans", var(--sans);
  font-size: 15px;
  cursor: pointer;
  transition: color 0.3s, background 0.3s;
}
.btn-ghostlink svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn-ghostlink:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.btn-ghostlink:hover svg { transform: translateX(4px); }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroScale {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes heroFadeSub {
  from { opacity: 0; }
  to { opacity: 0.7; }
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 34px;
}
.hero-eyebrow::before {
  content: "";
  width: 42px; height: 1px;
  background: var(--accent);
}

/* nav pill CTA (Get Started style) */
.nav-cta {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #0c0c0e;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.nav-cta:hover {
  transform: scale(1.04);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.25);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 14.5px;
  letter-spacing: 0.08em;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s var(--ease), border-color 0.3s, transform 0.3s var(--ease);
}
.btn:hover { background: rgba(244, 241, 234, 0.07); transform: translateY(-2px); }
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
}
.btn-primary:hover { background: #c23822; }
.btn .arr { font-family: var(--serif); transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- marquee ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 20px 0;
  position: relative;
  z-index: 1;
  background: var(--bg);
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  white-space: nowrap;
  padding: 0 26px;
  display: flex;
  align-items: center;
  gap: 52px;
}
.marquee-item::after {
  content: "◆";
  font-style: normal;
  font-size: 8px;
  color: var(--accent);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--panel);
}
.stat {
  padding: 44px 36px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(40px, 4.6vw, 58px);
  line-height: 1;
  color: var(--text);
}
.stat-num sup { font-size: 0.45em; color: var(--accent); font-weight: 700; }
.stat-label {
  margin-top: 12px;
  font-size: 13.5px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

/* ---------- intro / prose ---------- */
.prose-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: start;
}
.prose p {
  font-size: 16.5px;
  line-height: 2.05;
  color: var(--text-dim);
  margin-bottom: 22px;
}
.prose p strong, .prose p b { color: var(--text); font-weight: 600; }
.prose .lead {
  font-size: 19px;
  line-height: 1.95;
  color: var(--text);
  font-family: var(--serif);
  font-weight: 600;
}
.side-note {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 30px 28px;
  position: relative;
}
.side-note::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 34px; height: 34px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}
.side-note h4 {
  font-family: var(--serif);
  font-size: 17px;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.side-note p { font-size: 14px; color: var(--text-dim); line-height: 1.95; }

/* ---------- festival list ---------- */
.festival-list {
  list-style: none;
  border-top: 1px solid var(--line);
}
.festival-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 6px;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s, padding-left 0.3s var(--ease);
}
.festival-list li:hover { background: rgba(244, 241, 234, 0.03); padding-left: 14px; }
.festival-name { font-family: var(--serif); font-size: 17.5px; font-weight: 600; }
.festival-name .cn { display: block; font-family: var(--sans); font-size: 12.5px; font-weight: 400; color: var(--text-faint); margin-top: 3px; letter-spacing: 0.04em; }
.festival-tag {
  flex-shrink: 0;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid rgba(216, 64, 42, 0.4);
  background: var(--accent-soft);
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- project cards ---------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.project-card {
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.35s, transform 0.35s var(--ease);
}
.project-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.project-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-2);
}
.project-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.project-card:hover .project-thumb img { transform: scale(1.04); }
.project-thumb .play-flag {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  background: rgba(12, 12, 14, 0.78);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-strong);
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--text);
}
.project-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.project-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 6px;
}
.project-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
}
.project-title .en {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  margin-top: 4px;
  text-transform: uppercase;
}
.project-year { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 15px; }
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  color: var(--text-dim);
  margin: 12px 0 16px;
  letter-spacing: 0.03em;
}
.project-meta span { display: inline-flex; align-items: center; gap: 7px; }
.project-meta span::before { content: "·"; color: var(--accent); }
.project-award {
  border-top: 1px dashed var(--line-strong);
  padding-top: 14px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--text-dim);
}
.project-award strong { color: var(--text); font-weight: 600; display: block; font-size: 12px; letter-spacing: 0.14em; margin-bottom: 5px; }
.project-award .laurel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.06em;
}

/* ---------- scholars ---------- */
.scholars {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--panel) 0%, var(--bg-2) 100%);
  padding: 58px 54px;
  position: relative;
  overflow: hidden;
}
.scholars-laurel {
  position: absolute;
  right: -16px; top: 15%;
  height: 340px;
  width: auto;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 640px) {
  .scholars-laurel { height: 220px; right: -24px; top: 12%; opacity: 0.07; }
}
.scholars-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; position: relative; z-index: 1; }
.scholars h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 22px;
}
.scholars h3 small {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.24em;
  color: var(--accent);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.scholars p { color: var(--text-dim); line-height: 2.0; margin-bottom: 16px; }
.scholars-winner {
  border-left: 2px solid var(--accent);
  padding: 6px 0 6px 24px;
  margin-top: 26px;
}
.scholars-winner .yr { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 14px; letter-spacing: 0.1em; }
.scholars-winner .film { font-family: var(--serif); font-size: 20px; font-weight: 700; margin: 6px 0 4px; }
.scholars-winner .dir { font-size: 13.5px; color: var(--text-dim); }
.scholars-rationale {
  margin-top: 26px;
  border-top: 1px dashed var(--line-strong);
  padding-top: 20px;
}
.scholars-rationale .r-label {
  display: block;
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.scholars-rationale p {
  font-size: 14px;
  line-height: 2.0;
  color: var(--text-dim);
  margin-bottom: 0;
}

/* ---------- submission rules (services) ---------- */
.rules-block {
  margin-top: 26px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 40px;
  padding: 40px 38px;
  position: relative;
  overflow: hidden;
}
.rules-block::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 34px; height: 34px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}
.rules-head h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}
.rules-head h3 small {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-top: 8px;
}
.rules-lead {
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 18px;
}
.rules-list { list-style: none; }
.rules-list li {
  position: relative;
  padding: 10px 0 10px 26px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--text-dim);
  border-bottom: 1px dashed var(--line);
}
.rules-list li:last-child { border-bottom: none; }
.rules-list li::before {
  content: "—";
  position: absolute;
  left: 2px;
  color: var(--accent);
}
@media (max-width: 860px) {
  .rules-block { grid-template-columns: 1fr; gap: 22px; padding: 30px 26px; }
}

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  padding: 110px 0;
  background:
    radial-gradient(ellipse at center, rgba(216, 64, 42, 0.07) 0%, transparent 60%),
    var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-band .kicker {
  font-size: 12.5px;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
}
.cta-band p { color: var(--text-dim); max-width: 560px; margin: 0 auto 38px; line-height: 1.95; }

/* ---------- page header (subpages) ---------- */
.page-header {
  padding: calc(var(--nav-h) + 92px) 0 76px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: attr(data-watermark);
  position: absolute;
  right: -10px; bottom: -40px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(90px, 14vw, 190px);
  font-weight: 900;
  color: rgba(244, 241, 234, 0.028);
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}
.page-header .wrap { position: relative; z-index: 1; }
.page-header .eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  letter-spacing: 0.26em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 26px;
}
.page-header .eyebrow::before { content: ""; width: 38px; height: 1px; background: var(--accent); }
.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5.4vw, 62px);
  font-weight: 900;
  line-height: 1.2;
  max-width: 820px;
}
.page-header .header-sub {
  margin-top: 24px;
  color: var(--text-dim);
  max-width: 620px;
  line-height: 1.95;
}

/* ---------- founder block ---------- */
.founder {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 780px;
}
.founder-info .role {
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.founder-info h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 3.8vw, 46px);
  font-weight: 900;
  margin-bottom: 10px;
}
.founder-info h2 small {
  display: block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-faint);
  letter-spacing: 0.2em;
  margin-top: 8px;
}
.founder-info .bio {
  margin-top: 26px;
  color: var(--text-dim);
  font-size: 16.5px;
  line-height: 2.05;
}

/* ---------- team grid ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.team-card {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 28px 26px;
  transition: border-color 0.3s, transform 0.35s var(--ease);
}
.team-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.team-card .team-role {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}
.team-card .team-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}
.team-card .team-name small {
  display: block;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 400;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  margin-top: 5px;
}
@media (max-width: 860px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ---------- services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.service-card {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 40px 36px;
  position: relative;
  transition: border-color 0.3s, transform 0.35s var(--ease);
}
.service-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.service-card .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 18px;
}
.service-card h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 6px;
}
.service-card h3 small {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-top: 5px;
}
.service-card p { margin-top: 14px; color: var(--text-dim); font-size: 14.5px; line-height: 1.95; }
.service-card.flag { border-color: rgba(216, 64, 42, 0.45); background: linear-gradient(160deg, var(--accent-soft), var(--panel) 55%); }
.service-card.flag .flag-chip {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--accent);
  border: 1px solid rgba(216, 64, 42, 0.5);
  border-radius: 999px;
  padding: 4px 11px;
}

/* ---------- process steps ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.process-step {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 30px 26px 28px;
  position: relative;
  transition: border-color 0.3s, transform 0.35s var(--ease);
}
.process-step:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.process-step .p-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
  letter-spacing: 0.1em;
}
.process-step h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.process-step p { font-size: 13.5px; color: var(--text-dim); line-height: 1.85; }
.process-step::after {
  content: "→";
  position: absolute;
  top: 30px; right: 22px;
  color: var(--text-faint);
  font-size: 14px;
}
.process-step:last-child::after { content: "◆"; color: var(--accent); }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.contact-card {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 38px 36px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-card .c-label {
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--text-faint);
  text-transform: uppercase;
}
.contact-card .c-value {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.contact-card .c-note { font-size: 13px; color: var(--text-dim); line-height: 1.8; margin-top: 4px; }
.qr-frame {
  margin-top: 20px;
  width: max-content;
  max-width: 100%;
}
.qr-frame img { width: 160px; height: auto; }
.qr-frame .qr-cap { color: var(--text-dim); font-size: 11.5px; text-align: center; margin-top: 10px; letter-spacing: 0.06em; }

.fee-note {
  margin-top: 30px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 30px 34px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.fee-note .icon {
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}
.fee-note h4 { font-family: var(--serif); font-size: 18px; margin-bottom: 8px; }
.fee-note p { color: var(--text-dim); font-size: 14.5px; line-height: 1.9; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 64px 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}
.footer-brand img { height: 34px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--text-dim); font-size: 13.5px; line-height: 1.9; max-width: 300px; }
.footer-col h5 {
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a, .footer-col span { font-size: 14px; color: var(--text-dim); transition: color 0.25s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}
.footer-bottom .dot { color: var(--accent); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* anchor offset so #contact isn't hidden under the fixed nav */
#contact, #scholars { scroll-margin-top: 96px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .prose-grid, .founder, .scholars-grid { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 860px) {
  .nav-links, .nav-right .lang-pill, .nav-right .nav-cta { display: none; }
  .hamburger { display: block; }
  .mobile-menu .lang-pill { display: flex; margin: 18px 2px 6px; width: max-content; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
  .project-grid, .service-grid, .contact-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .scholars { padding: 40px 28px; }
  section { padding: 76px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .marquee-track { animation: none; }
  .hero-main, .hero-desc, .hero-actions { animation: none; opacity: 1; transform: none; }
  .hero-desc { opacity: 0.7; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
