/* ============================================================
   BloomDramas - Founding Creator landing
   Design language: near-black cinema base, neon-rose accent (from brand logo + poster), Sora display type, one accent for the whole page, dark theme only.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --bg: #0b060a;          /* near-black, warm-plum cast */
  --bg-deep: #070408;
  --surface: #150d12;
  --surface-2: #1d1218;
  --line: rgba(255, 190, 215, 0.10);
  --line-strong: rgba(255, 190, 215, 0.20);
  --text: #f7f2f5;
  --muted: #b9aab1;
  --dim: #8e7d86;
  --accent: #ff5c8d;
  --accent-hi: #ff7ca6;
  --accent-soft: rgba(255, 92, 141, 0.14);
  --accent-softer: rgba(255, 92, 141, 0.07);
  --glow: rgba(255, 92, 141, 0.34);

  --font-sans: "Sora", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 76px;

  /* -------- layout grid (single source of truth) -------- */
  --container: 1200px;                    /* max content width */
  --gutter: clamp(28px, 6vw, 96px);       /* min side breathing room */
  --section-y: clamp(48px, 6vw, 84px);/* vertical section rhythm — compact */
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: var(--accent); color: #160a10; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- fonts ---------- */
@font-face {
  font-family: "Sora";
  src: url("/fonts/Sora-var.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- layout helpers ---------- */
.site { position: relative; }

.section {
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
  padding: var(--section-y) 0;
}

/* film grain, fixed, pointer-events-none (DOM cost rule) */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2));
  background: linear-gradient(to bottom, rgba(11, 6, 10, 0.92), rgba(11, 6, 10, 0.55) 68%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s var(--ease-out), background 0.35s var(--ease-out);
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(11, 6, 10, 0.86);
}

.brand { line-height: 0; }
.brand-logo { width: 196px; height: auto; }
.brand-logo-sm { width: 156px; }

.nav-links {
  display: flex;
  gap: 34px;
}
.nav-links a {
  font-size: 0.92rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  transition: color 0.2s var(--ease-out);
}
.nav-links a:hover { color: var(--text); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
  flex-shrink: 0;
  white-space: nowrap;
}
.lang-toggle i {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--dim);
  transition: background 0.2s;
}
.lang-toggle:hover { border-color: var(--accent); color: var(--text); }
.lang-toggle:hover i { background: var(--accent); }
html[data-lang="zh"] .lang-toggle .lang-en { opacity: 0.45; }
html[data-lang="en"] .lang-toggle .lang-zh { opacity: 0.45; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #2a0a15;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease-out), background 0.2s var(--ease-out);
  flex-shrink: 0;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-hi); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.btn-primary {
  background: var(--accent);
  color: #2a0a15;
}
.btn-primary:hover {
  background: var(--accent-hi);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px var(--glow);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-hi);
  transform: translateY(-2px);
}
.btn:active, .btn-ghost:active { transform: translateY(0) scale(0.98); }
.btn-lg { height: 58px; padding: 0 38px; font-size: 1.05rem; }
.btn[disabled] { opacity: 0.55; pointer-events: none; }

/* ---------- typography ---------- */
.kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-title {
  margin: 0 0 22px;
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.section-lede {
  margin: 0 0 56px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 96px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 42% at 18% 30%, rgba(120, 24, 70, 0.22), transparent 70%),
    radial-gradient(46% 40% at 84% 8%, rgba(152, 32, 88, 0.16), transparent 70%),
    radial-gradient(36% 32% at 62% 96%, rgba(90, 20, 60, 0.14), transparent 72%),
    var(--bg);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  left: 50%;
  top: 16%;
  width: 400px; height: 400px;
  transform: translateX(-130%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 92, 141, 0.16), transparent 64%);
  filter: blur(20px);
  pointer-events: none;
  animation: drift 14s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { transform: translateX(-130%) translateY(0); }
  50% { transform: translateX(-118%) translateY(26px); }
}

.hero-inner {
  position: relative;
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: clamp(32px, 4.6vw, 72px);
  align-items: center;
}

<!-- hero film strip (removed per user request) -->

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-hi);
}
/* eyebrow-pip no longer needed with eyebrow removed */

.hero-title {
  margin: 0;
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.hero-title em {
  font-style: italic;
  font-weight: 600;
  color: var(--accent-hi);
  padding-bottom: 0.08em;
}
.hero-title-sub {
  display: block;
  margin-top: 20px;
  max-width: 30ch;
  font-size: clamp(1.02rem, 2.2vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--text);
}
html[data-lang="zh"] .hero-title { max-width: 15ch; }
html[data-lang="zh"] .hero-title em { font-weight: 700; }

.hero-sub {
  margin: 26px 0 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.78;
}

.hero-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.hero-rule {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 56px 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}
.hero-rule i {
  width: 44px; height: 1px;
  background: var(--line-strong);
}

/* ---------- cohort band (removed per user request) ---------- */

/* ---------- benefits ---------- */
.benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.benefit {
  background: var(--surface);
  padding: clamp(32px, 4vw, 48px);
  transition: background 0.3s var(--ease-out);
  position: relative;
}
.benefit:nth-child(odd) { background: var(--surface); }
.benefit:nth-child(even) { background: var(--bg-deep); }
.benefit:hover { background: var(--surface-2); }
.benefit::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}
.benefit:hover::before { opacity: 0.5; }
.benefit h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.benefit p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 40ch;
}

/* ---------- program ---------- */
.program { position: relative; }
.program-inner {
  border-radius: 24px;
  padding: clamp(24px, 4vw, 40px) 0 0;
}
.program-steps {
  list-style: none;
  margin: 52px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent), var(--surface);
  padding: 32px 30px;
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.step:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}
.step-num {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 18px;
}
.step h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 700;
}
.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- manifesto ---------- */
.manifesto {
  position: relative;
  text-align: center;
  overflow: hidden;
}
.manifesto::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 900px; height: 520px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 92, 141, 0.10), transparent 70%);
  pointer-events: none;
}
.manifesto-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 26px;
}
.manifesto-range {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--dim);
}
.manifesto-text {
  margin: 0 auto;
  max-width: 26ch;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.manifesto-sign {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- apply ---------- */
.apply-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
  gap: clamp(28px, 4.4vw, 56px);
  align-items: start;
}

.apply-form {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent), var(--surface);
  padding: clamp(30px, 4vw, 44px);
  transition: border-color 0.35s var(--ease-out);
}
.apply-form:focus-within { border-color: var(--line-strong); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-row + .form-row,
.field + .field { margin-top: 22px; }

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field-label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}
.field-opt {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

input, textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(11, 6, 10, 0.6);
  color: var(--text);
  font-family: inherit;
  font-size: 0.98rem;
  line-height: 1.5;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
input::placeholder, textarea::placeholder { color: var(--dim); }
input:hover, textarea:hover { border-color: rgba(255, 190, 215, 0.32); }
input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
textarea { resize: vertical; min-height: 118px; }

.field-error {
  font-size: 0.82rem;
  color: #ff8da6;
  display: none;
}
.field.invalid input, .field.invalid textarea {
  border-color: #ff6d8e;
  box-shadow: 0 0 0 3px rgba(255, 92, 141, 0.16);
}
.field.invalid .field-error { display: block; }

.bio-count {
  align-self: flex-end;
  font-size: 0.76rem;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}

.submit-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.submit-note {
  max-width: 34ch;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--dim);
}
.submit-note-cn { display: block; opacity: 0.78; }

.form-msg { margin-top: 16px; font-size: 0.95rem; }
.form-msg [hidden] { display: none; }
.msg-ok { color: #7fe0b0; }
.msg-dup { color: var(--accent-hi); }
.msg-err { color: #ff8da6; }

/* aside */
.aside {
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(255, 92, 141, 0.09), transparent 55%),
    var(--bg-deep);
  padding: clamp(30px, 3.8vw, 42px);
}
.aside-crest { text-align: center; padding: 12px 0 28px; }
.aside-logo { margin: 0 auto; transform: scale(0.98); }
.aside-name { margin: 18px 0 0; font-size: 0.92rem; font-weight: 600; color: var(--text); }
.aside-list { margin: 0; }
.aside-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 2px;
  border-bottom: 1px solid var(--line);
}
.aside-item:last-child { border-bottom: none; }
.aside-item dt { font-size: 0.84rem; color: var(--dim); }
.aside-item dd {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 600;
  text-align: right;
}
.aside-item dd { color: var(--text); }

/* ---------- faq ---------- */
.faq-list { display: grid; gap: 14px; max-width: 780px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  transition: border-color 0.25s var(--ease-out), background 0.25s var(--ease-out);
}
.faq-item[open] { border-color: var(--line-strong); background: #19101a; }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  font-size: 1.02rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico {
  position: relative;
  flex: none;
  width: 18px; height: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}
.faq-ico::before, .faq-ico::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  translate: -50% -50%;
  background: var(--muted);
  transition: background 0.3s;
}
.faq-ico::before { width: 8px; height: 1.5px; }
.faq-ico::after { width: 1.5px; height: 8px; }
.faq-item[open] .faq-ico { border-color: var(--accent); transform: rotate(45deg); }
.faq-item[open] .faq-ico::before, .faq-item[open] .faq-ico::after { background: var(--accent); }
.faq-item p {
  margin: 0;
  padding: 0 26px 24px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 62ch;
}
.faq-item summary:hover { color: var(--text); }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding-top: 64px;
  padding-bottom: 52px;
}
.footer-brand { display: block; margin-bottom: 30px; }
.footer-cols {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
}
.footer-mission {
  margin: 0;
  max-width: 40ch;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}
.footer-links {
  display: flex;
  gap: 26px;
  font-size: 0.9rem;
  color: var(--muted);
}
.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-legal {
  margin: 44px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--dim);
}

/* ---------- reveal / motion ---------- */
.reveal, .fade-group, .stagger > li {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  will-change: opacity, transform;
}
.is-visible { opacity: 1; transform: none; }

/* film strip (removed per user request) */

.hero-title .fade-group { transition-delay: 0.1s; }
.hero-sub.fade-group { transition-delay: 0.18s; }
.hero-cta.fade-group { transition-delay: 0.26s; }
.hero-rule.fade-group { transition-delay: 0.34s; }

/* ------------------ responsive ------------------ */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 64px); }
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .hero { padding-bottom: 72px; }
}

@media (max-width: 860px) {
  .benefit-list { grid-template-columns: 1fr; }
  .program-steps { grid-template-columns: 1fr; }
  .apply-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-cols { flex-direction: column; gap: 24px; }
}

@media (max-width: 900px) {
  .nav-cta { display: none; }
}
@media (max-width: 640px) {
  .nav { padding: 0 20px; }
  .brand-logo { width: 150px; }
  .lang-toggle { padding: 7px 12px; }
  .hero-sub { font-size: 0.98rem; }
  .hero-rule { margin-top: 40px; }
  .submit-row { flex-direction: column; align-items: stretch; }
  .btn-lg { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .benefit-list { grid-template-columns: 1fr; }
  .program-steps { grid-template-columns: 1fr; }
  .apply-layout { grid-template-columns: 1fr; }
  .footer-cols { flex-direction: column; gap: 24px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .fade-group, .stagger > li {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-glow { animation: none; }
  * { animation: none !important; }
}