/* Gabriel Axis: "Director's Cut" */

:root {
  --bg: #0b0b0c;
  --bg2: #131214;
  --line: #2a2827;
  --line-strong: #3a3836;
  --text: #f2f0ec;
  --muted: #a3a09a;
  --red: #e5101a;
  --red-text: #ff4a52; /* small red text: 5.9:1 on --bg */
  --mark-a: var(--text);
  --mark-b: var(--red);
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1160px;
  --radius: 8px;
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }

:focus-visible { outline: 2px solid var(--red-text); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--red); color: #fff; padding: 8px 14px; border-radius: 6px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 12, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: 0.06em; font-size: 15px; }
.mark { width: 34px; height: 30px; flex: none; }

#site-nav { display: flex; align-items: center; gap: 26px; font-size: 14px; flex-wrap: wrap; }
#site-nav a { color: var(--muted); text-decoration: none; transition: color .2s; }
#site-nav a:hover { color: var(--text); }
#site-nav .nav-cta { color: var(--text); border: 1px solid var(--line-strong); padding: 8px 15px; border-radius: 999px; transition: border-color .2s; }
#site-nav .nav-cta:hover { border-color: var(--red); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 8px; width: 44px; height: 40px; cursor: pointer; color: var(--text); }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 18px; height: 2px; background: currentColor; margin: 0 auto; position: relative; transition: transform .2s; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 760px) {
  #site-nav { gap: 6px 18px; padding-bottom: 12px; width: 100%; }
  .js .nav-toggle { display: block; }
  .js #site-nav { display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0 16px; }
  .js #site-nav.open { display: flex; }
  .js #site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .js #site-nav .nav-cta { margin-top: 14px; text-align: center; border-bottom: 1px solid var(--line-strong); }
}

/* ---------- Shared type ---------- */

.kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-text); margin: 0 0 14px; }

h1, h2 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.005em; }
h1 em, h2 em { color: var(--red); }
h2 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.04; margin-bottom: 14px; max-width: 760px; }
h3 { font-size: 16px; font-weight: 600; margin: 0 0 6px; }

.lede { color: var(--muted); font-size: 17px; max-width: 620px; }
.muted { color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 6px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: background .2s, border-color .2s, transform .2s; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #c70d16; }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); }

.section { padding: 104px 0; border-top: 1px solid var(--line); scroll-margin-top: 68px; }
.section-head { margin-bottom: 40px; }

.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- Hero ---------- */

.hero { position: relative; padding: 112px 0 64px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -30% -20% auto auto; width: 80%; height: 120%;
  background: radial-gradient(ellipse at 70% 20%, rgba(120, 22, 30, 0.42), transparent 62%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero h1 { font-size: clamp(46px, 7.4vw, 92px); line-height: 0.98; max-width: 900px; margin-bottom: 26px; }
.hero .lede { font-size: 19px; max-width: 560px; margin-bottom: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.proof strong { display: block; color: var(--text); font-weight: 600; font-size: 15px; }

/* ---------- Sample work ---------- */

.yt { display: block; text-decoration: none; }
.yt-frame { display: block; position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.yt-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, filter .4s ease; filter: saturate(.92); }
.yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(229, 16, 26, 0.92); display: grid; place-items: center; box-shadow: 0 6px 24px rgba(0, 0, 0, .5); transition: transform .2s; }
.yt-play::before { content: ''; margin-left: 4px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #fff; }
.yt:hover .yt-frame img { transform: scale(1.04); filter: saturate(1); }
.yt:hover .yt-play { transform: scale(1.08); }
.yt-meta { display: block; padding-top: 12px; }
.yt-meta strong { display: block; font-weight: 600; font-size: 15.5px; }
.yt-meta span { color: var(--muted); font-size: 14px; }
.tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 4px; padding: 1px 6px; margin-left: 6px; vertical-align: 2px; }

/* ---------- Steps ---------- */

.step-num { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--red); margin-bottom: 14px; }

/* ---------- Pricing ---------- */

.founding { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 14px; font-size: 14px; margin-top: 8px; }
.founding::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }

.plans { margin-top: 36px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 22px; }
.plan.hot { border-color: var(--red); }
.plan-badge { position: absolute; top: -11px; left: 20px; background: var(--red); color: #fff; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 4px; }
.plan-name { font-size: 15px; font-weight: 600; }
.plan-price { font-family: var(--serif); font-size: 52px; line-height: 1; margin: 14px 0 6px; }
.plan-price small { font-family: var(--sans); font-size: 14px; color: var(--muted); margin-left: 2px; }
.plan-per { font-size: 13.5px; color: var(--text); }
.plan-sub { color: var(--muted); font-size: 14px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; color: var(--muted); font-size: 14px; }
.plan li { padding: 5px 0 5px 20px; position: relative; }
.plan li::before { content: ''; position: absolute; left: 0; top: 13px; width: 10px; height: 1.5px; background: var(--red); }
.plan .btn { margin-top: auto; width: 100%; }
.addons { margin-top: 24px; color: var(--muted); font-size: 14.5px; }
.addons strong { color: var(--text); font-weight: 600; }

/* ---------- About ---------- */

.about { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: 56px; align-items: center; }
.about-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.about-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14.5px; }
.about-links a { color: var(--text); text-underline-offset: 4px; text-decoration-color: var(--red); }

/* ---------- Studio ---------- */

.card-link { text-decoration: none; transition: border-color .2s, transform .2s; }
.card-link:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.more-link { margin-top: 24px; }
.more-link a { color: var(--text); text-underline-offset: 4px; text-decoration-color: var(--red); }

/* ---------- FAQ ---------- */

.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 48px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 500; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-size: 24px; font-weight: 300; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--red-text); }
.faq details p { color: var(--muted); padding: 0 40px 20px 0; margin: 0; }

/* ---------- Contact ---------- */

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.contact-direct { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 28px; }
.contact-direct > a:first-child { color: var(--text); text-underline-offset: 4px; text-decoration-color: var(--red); }

#contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 500; }
.optional { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: 6px; padding: 11px 12px;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red-text); }
.field [aria-invalid="true"] { border-color: var(--red-text); }
.field-error { color: var(--red-text); font-size: 13px; margin: 0; }
.plan-field[hidden] { display: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { margin: 0; font-size: 14.5px; color: var(--muted); }
.form-status.ok { color: var(--text); }
.form-status.err { color: var(--red-text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Production ---------- */

.showreel { margin-top: 56px; max-width: 880px; }
.showreel .yt-play { width: 76px; height: 76px; margin: -38px 0 0 -38px; }

/* ---------- Legal ---------- */

.legal { padding: 88px 0 104px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(44px, 6vw, 72px); line-height: 1; margin-bottom: 18px; }
.legal section { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.legal h3 { margin-top: 28px; font-size: 17px; }
.legal ul { padding-left: 20px; color: var(--muted); }
.legal li { margin-bottom: 8px; }
.legal p:not(.kicker) { color: var(--muted); }
.legal a { color: var(--text); text-underline-offset: 3px; text-decoration-color: var(--red); }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .grid-4, .proof { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 80px 0; }
  .about, .faq-wrap, .contact { grid-template-columns: 1fr; gap: 36px; }
  .about-photo { max-width: 380px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .grid-4, .grid-3, .proof { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 48px; }
  .hero .lede { font-size: 17px; }
  .hero-ctas .btn { width: 100%; }
  .proof { margin-top: 48px; }
  .section { padding: 64px 0; }
  #contact-form { grid-template-columns: 1fr; padding: 20px; }
  .form-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
