/* ============ RUISPHERE — dark cinematic ============ */
:root {
  --bg: #0a0a0f;
  --bg-2: #101018;
  --bg-3: #16161f;
  --text: #f2efe8;
  --muted: #a7a3b8;
  --faint: #6d6a7d;
  --gold: #d4a24e;
  --gold-soft: rgba(212, 162, 78, 0.14);
  --gold-line: rgba(212, 162, 78, 0.35);
  --card: #121219;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --header-h: 68px;
}

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

html { scroll-behavior: smooth; }

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

::selection { background: var(--gold); color: #0a0a0f; }

.container { width: min(1180px, 92%); margin: 0 auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: #0a0a0f;
  padding: 10px 16px; z-index: 200; font-weight: 600;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- header / nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 100;
  background: rgba(10, 10, 15, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--gold); position: relative; flex: none;
}
.logo-mark::after {
  content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--gold);
}
.logo-text {
  font-family: var(--font-display); font-size: 1.55rem; letter-spacing: 0.14em; color: var(--text);
}

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 0.92rem; font-weight: 500;
  letter-spacing: 0.04em; transition: color 0.25s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  border: 1px solid var(--gold-line); border-radius: 999px; padding: 8px 20px !important;
  color: var(--gold) !important; transition: background 0.25s, color 0.25s !important;
}
.nav-cta:hover { background: var(--gold); color: #0a0a0f !important; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: 0.3s; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 96px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 480px at 78% 18%, rgba(212, 162, 78, 0.13), transparent 60%),
    radial-gradient(700px 500px at 12% 82%, rgba(120, 60, 140, 0.12), transparent 60%),
    radial-gradient(500px 700px at 45% 110%, rgba(60, 40, 120, 0.14), transparent 60%),
    linear-gradient(180deg, #0d0d14 0%, #0a0a0f 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.014) 0 1px, transparent 1px 3px);
}
.hero-inner { position: relative; z-index: 1; }
.hero-kicker {
  color: var(--gold); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase; margin-bottom: 22px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 9vw, 7.2rem);
  line-height: 0.98; letter-spacing: 0.015em; margin-bottom: 24px;
}
.hero-title .accent { color: var(--gold); }
.hero-sub { max-width: 620px; color: var(--muted); font-size: 1.12rem; font-weight: 300; margin-bottom: 44px; }

.hero-stats { display: flex; gap: 56px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-display); font-size: 2.9rem; color: var(--text); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label { color: var(--faint); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 15px 34px; border-radius: 999px;
  font-weight: 600; font-size: 0.98rem; text-decoration: none; cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, color 0.25s;
  border: 1px solid transparent;
}
.btn-primary { background: var(--gold); color: #0a0a0f; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(212, 162, 78, 0.35); }
.btn-ghost { border-color: var(--gold-line); color: var(--gold); background: transparent; }
.btn-ghost:hover { background: var(--gold-soft); transform: translateY(-2px); }

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 26px; height: 44px; border: 2px solid var(--faint); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 8px; z-index: 1;
}
.scroll-hint span { width: 4px; height: 9px; border-radius: 2px; background: var(--gold); animation: hint 1.8s infinite; }
@keyframes hint { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- numbers band ---------- */
.numbers { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.numbers-grid {
  list-style: none; display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 44px 0; gap: 24px;
}
.numbers-grid li { display: flex; flex-direction: column; gap: 6px; text-align: center; }
.numbers-grid li + li { border-left: 1px solid var(--border); }
.num {
  font-family: var(--font-display); font-size: 2.6rem; color: var(--gold); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.num-label { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.04em; }

/* ---------- sections ---------- */
.section { padding: 110px 0; }
.section-kicker {
  color: var(--gold); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 18px;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  line-height: 1.02; letter-spacing: 0.015em; margin-bottom: 20px;
}
.section-lead { color: var(--muted); max-width: 640px; font-size: 1.05rem; font-weight: 300; margin-bottom: 56px; }

/* ---------- hits ---------- */
.hits { background: var(--bg); }
.hits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.hit-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1), border-color 0.35s, box-shadow 0.35s;
  position: relative; display: flex; flex-direction: column;
}
.hit-card:hover { transform: translateY(-8px); border-color: var(--gold-line); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); }
.hit-featured { grid-column: span 2; grid-row: span 1; border-color: var(--gold-line); }
.hit-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--gold); color: #0a0a0f; font-size: 0.74rem; font-weight: 700;
  padding: 6px 12px; border-radius: 999px; letter-spacing: 0.02em;
}
.hit-poster {
  aspect-ratio: 9 / 13; display: flex; align-items: flex-end; padding: 20px;
  position: relative; overflow: hidden;
}
.hit-featured .hit-poster { aspect-ratio: 16 / 10; }
.hit-poster::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 5, 8, 0.75) 100%);
}
.poster-title {
  font-family: var(--font-display); font-size: 2.1rem; line-height: 1; letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.92); position: relative; z-index: 1;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}
.hit-featured .poster-title { font-size: 3rem; }
.poster-1 { background: radial-gradient(120% 90% at 20% 10%, #5c1230 0%, #2a0a18 45%, #0a0a0f 100%); }
.poster-2 { background: radial-gradient(120% 90% at 80% 10%, #0f4a4a 0%, #0a2424 45%, #0a0a0f 100%); }
.poster-3 { background: radial-gradient(120% 90% at 20% 10%, #1d3268 0%, #101c3d 45%, #0a0a0f 100%); }
.poster-4 { background: radial-gradient(120% 90% at 80% 10%, #6b3c12 0%, #33200e 45%, #0a0a0f 100%); }
.poster-5 { background: radial-gradient(120% 90% at 20% 10%, #4b1a63 0%, #260f33 45%, #0a0a0f 100%); }
.poster-6 { background: radial-gradient(120% 90% at 80% 10%, #2c2560 0%, #16133a 45%, #0a0a0f 100%); }
.poster-7 { background: radial-gradient(120% 90% at 20% 10%, #1f4a2c 0%, #122a1b 45%, #0a0a0f 100%); }
.hit-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hit-genre {
  align-self: flex-start; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid var(--gold-line); border-radius: 999px; padding: 4px 12px;
}
.hit-name { font-size: 1.02rem; font-weight: 600; line-height: 1.4; }
.hit-meta { color: var(--muted); font-size: 0.9rem; }
.hit-meta strong { color: var(--text); font-weight: 700; }
.hit-link { color: var(--gold); font-size: 0.9rem; font-weight: 600; margin-top: auto; padding-top: 6px; }

/* ---------- studio ---------- */
.studio { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.studio-quote { border-left: 3px solid var(--gold); padding: 6px 0 6px 28px; margin: 0 0 30px; max-width: 760px; }
.studio-quote p { font-size: 1.35rem; font-weight: 300; line-height: 1.6; color: var(--text); font-style: italic; }
.principles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 8px; }
.principle {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; transition: transform 0.3s, border-color 0.3s;
}
.principle:hover { transform: translateY(-6px); border-color: var(--gold-line); }
.principle h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; color: var(--gold); }
.principle p { color: var(--muted); font-size: 0.94rem; }

/* ---------- capabilities ---------- */
.caps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cap-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 32px; position: relative; overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.cap-card:hover { transform: translateY(-6px); border-color: var(--gold-line); }
.cap-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent); opacity: 0.7;
}
.cap-num { font-family: var(--font-display); font-size: 2.6rem; color: var(--gold-soft); -webkit-text-stroke: 1px var(--gold-line); display: block; margin-bottom: 14px; }
.cap-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 12px; }
.cap-card p { color: var(--muted); font-size: 0.98rem; }

/* ---------- services ---------- */
.services { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-card {
  background: linear-gradient(160deg, var(--bg-3), var(--card));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 44px 40px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--gold-line); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.service-card h3 { font-family: var(--font-display); font-size: 2.2rem; letter-spacing: 0.03em; margin-bottom: 6px; }
.service-tag { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }
.service-card > p { color: var(--muted); margin-bottom: 22px; }
.service-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.service-card li { padding-left: 26px; position: relative; color: var(--text); font-size: 0.95rem; }
.service-card li::before { content: "→"; position: absolute; left: 0; color: var(--gold); }

/* ---------- process ---------- */
.process-steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.process-steps li {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 24px; position: relative; transition: transform 0.3s, border-color 0.3s;
}
.process-steps li:hover { transform: translateY(-6px); border-color: var(--gold-line); }
.step-num {
  font-family: var(--font-display); font-size: 2.2rem; color: var(--gold);
  display: block; margin-bottom: 12px;
}
.process-steps h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; }
.process-steps p { color: var(--muted); font-size: 0.9rem; }

/* ---------- team ---------- */
.team { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 26px; text-align: center; transition: transform 0.3s, border-color 0.3s;
}
.team-card:hover { transform: translateY(-6px); border-color: var(--gold-line); }
.team-avatar {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.7rem; letter-spacing: 0.05em; color: var(--text);
  border: 2px solid var(--gold-line);
}
.avatar-1 { background: radial-gradient(circle at 30% 30%, #5c1230, #1c0a12); }
.avatar-2 { background: radial-gradient(circle at 30% 30%, #1d3268, #0c1428); }
.avatar-3 { background: radial-gradient(circle at 30% 30%, #0f4a4a, #081d1d); }
.avatar-4 { background: radial-gradient(circle at 30% 30%, #4b1a63, #1c0c26); }
.team-card h3 { font-size: 1.1rem; font-weight: 600; }
.team-role { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin: 6px 0 12px; }
.team-bio { color: var(--muted); font-size: 0.9rem; }

/* ---------- partners ---------- */
.partners-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.partner-group h3 { font-size: 0.85rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint); margin-bottom: 20px; }
.partner-wall { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; }
.partner-wall li {
  border: 1px solid var(--border); border-radius: 10px; padding: 16px 28px;
  font-weight: 600; font-size: 1.05rem; letter-spacing: 0.04em; color: var(--muted);
  background: var(--card); transition: color 0.3s, border-color 0.3s, transform 0.3s;
}
.partner-wall li:hover { color: var(--text); border-color: var(--gold-line); transform: translateY(-3px); }

/* ---------- contact ---------- */
.contact { background: var(--bg-2); border-top: 1px solid var(--border); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.contact-info ul { list-style: none; display: flex; flex-direction: column; gap: 26px; }
.info-label { display: block; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.contact-info a { color: var(--gold); text-decoration: none; font-size: 1.15rem; font-weight: 500; }
.contact-info a:hover { text-decoration: underline; }
.contact-info li > span:last-child { font-size: 1.15rem; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.field label { display: block; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.05em; margin-bottom: 8px; color: var(--muted); }
.field input, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); font-family: var(--font-body); font-size: 1rem; padding: 14px 16px;
  transition: border-color 0.25s, box-shadow 0.25s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #c05555; }
.field-error { color: #d98a8a; font-size: 0.85rem; margin-top: 6px; }
.contact-form .btn { align-self: flex-start; }
.form-note { font-size: 0.95rem; padding: 14px 18px; border-radius: 10px; }
.form-note.success { background: rgba(212, 162, 78, 0.12); border: 1px solid var(--gold-line); color: var(--gold); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 36px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-copy { color: var(--faint); font-size: 0.9rem; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .scroll-hint span { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hits-grid { grid-template-columns: repeat(2, 1fr); }
  .hit-featured { grid-column: span 2; }
  .principles-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .numbers-grid { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .numbers-grid li:nth-child(4) { border-left: none; }
}
@media (max-width: 760px) {
  .section { padding: 76px 0; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: rgba(10, 10, 15, 0.98); backdrop-filter: blur(14px);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 4%;
    border-bottom: 1px solid var(--border);
    transform: translateY(-130%); transition: transform 0.35s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { border-top: 1px solid var(--border); }
  .nav-links li:first-child { border-top: none; }
  .nav-links a { display: block; padding: 15px 8px; font-size: 1rem; }
  .nav-cta { border: none !important; padding: 15px 8px !important; color: var(--gold) !important; border-radius: 0; }
  .hero-stats { gap: 32px; }
  .hits-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .hit-featured { grid-column: span 2; }
  .poster-title { font-size: 1.6rem; }
  .hit-featured .poster-title { font-size: 2.4rem; }
  .caps-grid, .services-grid { grid-template-columns: 1fr; }
  .partners-groups { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .numbers-grid li + li { border-left: none; }
  .numbers-grid li:nth-child(even) { border-left: 1px solid var(--border); }
  .studio-quote p { font-size: 1.12rem; }
}
@media (max-width: 460px) {
  .hits-grid { grid-template-columns: 1fr 1fr; }
  .hit-name { font-size: 0.92rem; }
  .hit-meta { font-size: 0.8rem; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}
