/* ===== Anyzfilm · 样式 =====
   想改主色？只改下面 --gold 一处即可。 */
:root {
  --night: #0E1726;
  --night-2: #121D30;
  --panel: #172338;
  --line: #2C3A52;
  --line-soft: #263349;
  --ink: #F3EBDD;
  --ink-2: #CFC5B5;
  --ink-3: #ADA391;
  --gold: #E3AC45;
  --gold-hover: #F2C46B;
  --sand: #F1E7D6;
  --sand-ink: #1B2333;
  --sand-ink-2: #353B48;

  /* 字体需支持哈萨克语字母（ә ғ қ ң ө ұ ү һ і） */
  --f-latin: "Unbounded", "Noto Sans", system-ui, sans-serif;
  --f-serif: "Noto Serif", Georgia, "Times New Roman", serif;
  --f-sans: "Noto Sans", "Segoe UI", Roboto, system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: 24px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, dl, figure { margin: 0; }
a { color: var(--gold); }
a:hover { color: var(--gold-hover); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; padding: 12px 16px; background: var(--gold); color: var(--night); z-index: 100; }
.skip:focus { left: 16px; top: 16px; }

/* ----- 页眉 ----- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 23, 38, 0.94);
  border-bottom: 1px solid var(--line-soft);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { color: var(--gold); flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--f-latin); font-weight: 800; font-size: 20px; letter-spacing: 0.06em; }
.brand-sub { font-size: 12px; color: var(--ink-3); letter-spacing: 0.08em; white-space: nowrap; }

.site-nav { display: flex; gap: 28px; font-size: 15px; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 10px 0; white-space: nowrap; }
.site-nav a:hover { color: var(--gold); }

.lang { display: flex; align-items: center; gap: 2px; font-family: var(--f-latin); font-size: 12px; }
.lang a, .lang-current {
  min-height: 44px; padding: 0 9px; display: inline-flex; align-items: center;
  color: var(--ink-3); text-decoration: none;
}
.lang a:hover { color: var(--gold); }
.lang-current { color: var(--gold); box-shadow: inset 0 -2px 0 var(--gold); }

.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .header-row { flex-wrap: wrap; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-left: auto;
    background: none; border: 1px solid var(--line); color: var(--ink); cursor: pointer;
  }
  .site-nav { display: none; order: 3; width: 100%; flex-direction: column; gap: 0; padding-bottom: 12px; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; border-top: 1px solid var(--line-soft); }
  .lang { order: 4; width: 100%; padding-bottom: 8px; }
  .lang:not(.is-open) { display: none; }
}

/* ----- 通用 ----- */
.kicker { font-family: var(--f-latin); font-size: 14px; letter-spacing: 0.04em; color: var(--gold); margin-bottom: 12px; }
h1 { font-family: var(--f-serif); font-weight: 900; font-size: clamp(38px, 5.2vw, 64px); line-height: 1.18; }
h2 { font-family: var(--f-serif); font-weight: 900; font-size: clamp(32px, 3.6vw, 44px); line-height: 1.25; }
.section { padding-top: 96px; padding-bottom: 96px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: 48px; }
.section-note { max-width: 460px; color: var(--ink-2); }
.alt-title { font-family: var(--f-latin); font-weight: 400; font-size: 0.45em; color: var(--ink-3); margin-left: 10px; white-space: nowrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 2px;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--gold); color: var(--night); border: 0; }
.btn-primary:hover { background: var(--gold-hover); color: var(--night); }
.btn-ghost { border: 1px solid #5B6B85; color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); color: var(--ink); }
.text-link { font-weight: 700; display: inline-flex; min-height: 44px; align-items: center; }

/* ----- 首屏 ----- */
.hero {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 80px;
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); background: var(--panel); }

/* ----- 奖项 ----- */
.awards { background: var(--night-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.awards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 32px; padding-top: 40px; padding-bottom: 40px; }
.award { display: flex; flex-direction: column; gap: 8px; }
.award-tag { font-family: var(--f-latin); font-size: 13px; color: var(--gold); }
.award p { font-size: 16px; line-height: 1.7; }

/* ----- 作品 ----- */
.feature {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 40px; padding: 32px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 56px;
}
.feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #22314A; }
.feature-body { display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.feature h3 { font-family: var(--f-serif); font-weight: 900; font-size: 40px; line-height: 1.2; }
.feature-body > p { color: var(--ink-2); }
.feature .credits { font-size: 14px; color: var(--ink-3); }
.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.tags li { padding: 4px 12px; border: 1px solid #5B6B85; }
.tags .tag-strong { background: var(--gold); border-color: var(--gold); color: var(--night); font-weight: 700; }

.works-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px 32px; }
.work { display: flex; flex-direction: column; gap: 12px; }
.work img, .channel-card { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--panel); border: 1px solid var(--line); margin-bottom: 4px; }
.work h3 { font-family: var(--f-serif); font-size: 26px; line-height: 1.3; }
.work > p:not(.meta) { color: var(--ink-2); }
.meta { font-size: 13px; color: var(--ink-3); }
.channel-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border-style: dashed; border-color: #5B6B85; color: var(--ink-2); }
.channel-card svg { color: var(--gold); }

/* ----- 关于 ----- */
.about { background: var(--sand); color: var(--sand-ink); }
.about .kicker { color: #7A4E0E; }
.about a { color: #7A4E0E; }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 56px; padding-top: 96px; padding-bottom: 96px; }
.about-body { display: flex; flex-direction: column; gap: 20px; color: var(--sand-ink-2); line-height: 1.9; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px; padding-top: 20px; border-top: 1px solid #C9BBA3; }
.facts dt { font-family: var(--f-latin); font-weight: 800; font-size: 34px; color: var(--sand-ink); line-height: 1.2; }
.facts dd { margin: 0; font-size: 14px; color: #555A66; }

/* ----- 团队 ----- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 32px; }
.person { display: flex; gap: 20px; align-items: flex-start; }
.person img { width: 112px; aspect-ratio: 4 / 5; object-fit: cover; flex-shrink: 0; background: var(--panel); border: 1px solid var(--line); }
.person h3 { font-size: 21px; line-height: 1.4; }
.person-alt { font-size: 13px; color: var(--ink-3); }
.person-role { color: var(--gold); font-size: 15px; margin: 4px 0 6px; }
.person p:last-child { color: var(--ink-2); font-size: 15px; line-height: 1.7; }

/* ----- 合作 ----- */
.services { background: var(--night-2); border-top: 1px solid var(--line-soft); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { background: var(--night-2); padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.service h3 { font-size: 20px; }
.service p { color: var(--ink-2); line-height: 1.7; }

/* ----- 联系 ----- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 56px; }
.contact-list { list-style: none; padding: 0; margin-top: 24px; display: flex; flex-direction: column; gap: 12px; color: var(--ink-2); }
.contact-form { display: flex; flex-direction: column; gap: 18px; background: var(--panel); border: 1px solid var(--line); padding: 32px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink-2); }
.contact-form input, .contact-form textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--night); border: 1px solid #3A4A64; padding: 12px 14px; border-radius: 0;
}
.contact-form input { min-height: 48px; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); outline: none; }
.form-status { min-height: 1.5em; font-size: 14px; color: var(--gold); }

/* ----- 页脚 ----- */
.site-footer { border-top: 1px solid var(--line-soft); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 32px; padding-bottom: 32px; font-size: 13px; color: var(--ink-3); }

/* ----- 404 ----- */
.notfound { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding-top: 80px; padding-bottom: 80px; }
.notfound p { color: var(--ink-2); max-width: 32em; }
