/* Shared motion system — dark + orange. No build step. */
:root {
  --ink: #17100b;
  --ink-2: #1f1710;
  --paper: #f4efe7;
  --muted: rgba(244, 239, 231, 0.64);
  --line: rgba(244, 239, 231, 0.12);
  --brand: #f5821f;
  --brand-deep: #d62e1f;
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --nav-safe: 5.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: auto; }
html, body {
  margin: 0;
  color: var(--paper);
  font-family: var(--font-sans);
  font-synthesis: none;
  background: var(--ink);
}
body { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--paper); color: var(--ink);
  padding: 0.6rem 1rem; border-radius: 999px;
}
.skip:focus { top: 1rem; }

.grain {
  pointer-events: none; position: fixed; inset: 0; z-index: 80; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 280px 280px;
}

/* Type */
.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--brand);
}
.t-hero {
  margin: 0;
  font-family: var(--font-display); font-weight: 500;
  font-optical-sizing: auto;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.96; letter-spacing: -0.03em;
}
.t-section {
  margin: 0;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.05; letter-spacing: -0.025em;
}
.t-sub {
  margin: 0;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  letter-spacing: -0.02em;
}
.lede, .body {
  margin: 1.15rem 0 0;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.6; color: var(--muted); font-weight: 400;
}
.accent { color: var(--brand); font-style: italic; }

/* Buttons */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.85rem; padding: 0.85rem 1.85rem;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--paper); color: var(--ink);
  font-family: var(--font-sans); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
  cursor: pointer;
  transition: background-color .4s, color .4s, border-color .4s;
}
.pill:hover { background: #fff; }
.pill-brand {
  background: linear-gradient(120deg, #d62e1f 0%, #f5821f 100%);
  color: #fff;
}
.pill-brand:hover { background: #d62e1f; color: #fff; }
.pill-ghost {
  background: transparent; border-color: rgba(244,239,231,0.28); color: var(--paper);
}
.pill-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem 1rem; align-items: center; }
.link-quiet {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
}
.link-quiet:hover { color: var(--paper); }

/* Nav */
.nav-capsule {
  position: fixed; top: 1.15rem; right: 1.3rem; z-index: 50;
  display: none; align-items: center; gap: 0.05rem;
  padding: 0.3rem 0.4rem; border-radius: 999px;
  background: rgba(23,16,11,0.78);
  border: 1px solid rgba(244,239,231,0.14);
  backdrop-filter: blur(16px);
}
.nav-capsule a {
  padding: 0.55rem 0.8rem; border-radius: 999px; text-decoration: none;
  font-size: 0.6rem; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(244,239,231,0.7);
}
.nav-capsule a[aria-current="true"], .nav-capsule a:hover { color: #fff; }
@media (min-width: 860px) { .nav-capsule { display: flex; } }

.nav-mobile {
  position: fixed; left: 0.7rem; right: 0.7rem;
  bottom: calc(0.8rem + env(safe-area-inset-bottom));
  z-index: 50; display: flex; justify-content: center;
  padding: 0.3rem; border-radius: 999px;
  background: rgba(23,16,11,0.88);
  border: 1px solid rgba(244,239,231,0.14);
  backdrop-filter: blur(16px);
  overflow-x: auto;
}
.nav-mobile a {
  flex: 1; text-align: center; padding: 0.7rem 0.35rem; text-decoration: none;
  font-size: 0.56rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(244,239,231,0.7); white-space: nowrap;
}
.nav-mobile a[aria-current="true"] { color: #fff; }
@media (min-width: 860px) { .nav-mobile { display: none; } }

.brand-mark {
  position: fixed; top: 1.15rem; left: 1.3rem; z-index: 50;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .45s, transform .45s, visibility .45s;
}
.brand-mark.is-on { opacity: 1; visibility: visible; transform: none; }
.brand-mark img { height: 36px; width: auto; }
.brand-text {
  font-family: var(--font-display); font-weight: 500;
  font-size: 1.15rem; letter-spacing: -0.02em; color: var(--paper);
  text-decoration: none;
}

/* Chapter rail */
.chapters {
  display: none; position: fixed; right: 1.35rem; top: 50%;
  z-index: 40; transform: translateY(-50%);
}
.chapters-track { position: relative; display: flex; flex-direction: column; align-items: center; height: 42vh; }
.chapters-track::before {
  content: ""; position: absolute; inset: 0 auto 0 50%;
  width: 1px; background: rgba(244,239,231,0.16); transform: translateX(-50%);
}
.chapters-progress {
  position: absolute; inset: 0 auto 0 50%; width: 1px;
  background: var(--brand); transform: translateX(-50%) scaleY(0); transform-origin: top;
}
.chapter-btn {
  position: absolute; left: 50%; width: 2.5rem; height: 2.5rem;
  padding: 0; border: 0; background: none; cursor: pointer;
  transform: translate(-50%, -50%);
}
.chapter-dot {
  display: block; width: 7px; height: 7px; margin: 0 auto; border-radius: 50%;
  border: 1px solid var(--brand); background: transparent;
  transition: transform .3s, background-color .3s;
}
.chapter-btn[aria-current="true"] .chapter-dot { background: var(--brand); transform: scale(1.5); }
.chapter-label {
  position: absolute; right: 50%; top: 50%; margin-right: 12px;
  transform: translateY(-50%); padding: 0.3rem 0.55rem; border-radius: 4px;
  background: rgba(23,16,11,0.88); color: #fff;
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.chapter-btn:hover .chapter-label, .chapter-btn:focus-visible .chapter-label { opacity: 1; }
@media (min-width: 860px) { .chapters { display: block; } }

/* Scenes */
.scene { position: relative; }
.scene-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.wrap { width: min(1120px, calc(100% - 10vw)); margin: 0 auto; }
.section { padding: 6.5rem 0; padding-bottom: calc(6.5rem + var(--nav-safe)); }
@media (min-width: 860px) { .section { padding-bottom: 6.5rem; } }

/* Hero */
.hero { height: 200vh; }
.hero .scene-pin { display: flex; align-items: center; }
.hero-copy { position: relative; z-index: 2; padding: 6rem 8vw 5rem; max-width: 58rem; }
.hero--split .scene-pin { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .hero--split .scene-pin { grid-template-columns: 1.15fr 0.85fr; }
  .hero--split .hero-copy { padding-right: 3vw; }
}
.hero-media {
  position: relative; min-height: 50vh; overflow: hidden;
}
@media (min-width: 900px) {
  .hero-media { min-height: 100%; height: 100%; }
}
.hero-media img, .cover {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
}
/* Portrait must keep its 2:3 ratio — never stretched */
.portrait-frame {
  height: 100%; width: 100%; display: flex; align-items: flex-end; justify-content: center;
  background: #120d0a;
}
.portrait-frame img {
  height: 100%; width: auto; max-width: 100%;
  object-fit: contain; object-position: center bottom;
}
.hero-kicker {
  margin: 0 0 1.2rem; font-size: 0.7rem; letter-spacing: 0.32em;
  text-transform: uppercase; color: rgba(244,239,231,0.7); font-weight: 500;
}
.scroll-hint {
  position: absolute; bottom: 1.6rem; left: 8vw; z-index: 2;
  display: flex; align-items: center; gap: 0.7rem;
  color: rgba(244,239,231,0.5); font-size: 0.62rem;
  letter-spacing: 0.32em; text-transform: uppercase;
}
.scroll-hint i { display: block; width: 2.4rem; height: 1px; background: linear-gradient(to right, var(--brand), transparent); }

/* Film */
.film { height: 180vh; background: #100c09; }
.film-stage { position: relative; }
.film-stage canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block;
}
.film-badge {
  position: absolute; right: 8vw; left: auto; bottom: 2rem; z-index: 3;
  max-width: 22rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(244,239,231,0.16);
  background: rgba(23,16,11,0.72);
  backdrop-filter: blur(10px);
  font-size: 0.78rem; line-height: 1.45; color: var(--muted);
}
.film-badge strong { display: block; color: var(--brand); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.62rem; margin-bottom: 0.35rem; }
.film-meta {
  position: absolute; right: 8vw; top: 6rem; z-index: 3;
  font-variant-numeric: tabular-nums;
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}

/* Numbers / pinned typographic */
.numbers { height: 150vh; }
.numbers .scene-pin { display: flex; align-items: center; justify-content: center; padding: 5rem 8vw; }
.stats { display: grid; gap: 2rem 1.4rem; margin-top: 3rem; }
@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .stat { padding: 0 1.5rem; }
  .stat + .stat { border-left: 1px solid var(--line); }
  .stats-4 { grid-template-columns: repeat(4, 1fr); }
}
.stat-num {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  letter-spacing: -0.03em; line-height: 1; color: var(--brand);
}
.stat p { margin: 0.7rem 0 0; max-width: 16rem; font-size: 0.95rem; line-height: 1.5; color: var(--muted); }

/* Cards / lists */
.service-list, .job-list, .faq-list { border-top: 1px solid var(--line); }
.row {
  display: grid; gap: 0.5rem 2rem; padding: 1.5rem 0;
  border-bottom: 1px solid var(--line); text-decoration: none; align-items: baseline;
  color: inherit;
}
@media (min-width: 800px) {
  .row { grid-template-columns: 4rem 1fr 1.6fr; padding: 1.7rem 0; }
  .row--job { grid-template-columns: 9.5rem 1fr; }
  .row--faq { grid-template-columns: 1fr 1.4fr; }
}
.idx { font-size: 0.7rem; letter-spacing: 0.2em; color: var(--brand); }
.row h3, .row .t-sub { margin: 0; }
.row p { margin: 0; color: var(--muted); line-height: 1.55; }
.hairline {
  display: none;
}
@media (min-width: 800px) {
  .row .hairline {
    display: block; grid-column: 2 / -1; height: 1px; margin-top: 0.35rem;
    background: var(--brand); transform: scaleX(0.16); transform-origin: left;
    transition: transform .7s cubic-bezier(.16,1,.3,1);
  }
  .row:hover .hairline { transform: scaleX(1); }
}

.grid-2 { display: grid; gap: 1.2rem; }
.grid-3 { display: grid; gap: 1.2rem; }
@media (min-width: 800px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 2rem 3rem; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  padding: 0 0 1.4rem;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}
.card h3 { margin: 0 0 0.5rem; }
.card p { margin: 0; color: var(--muted); line-height: 1.55; }
.card a { text-decoration: none; }
.card a:hover h3 { color: var(--brand); }

.split { display: grid; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; min-height: 100vh; } }
.split-copy { padding: 6rem 8vw; display: flex; flex-direction: column; justify-content: center; }
.split-media { min-height: 46vh; position: relative; overflow: hidden; background: #120d0a; }
.split-media img {
  width: 100%; height: 100%; min-height: 46vh; object-fit: cover;
}
@media (min-width: 960px) {
  .split-media img { position: absolute; inset: 0; min-height: 0; height: 100%; }
}

/* Gallery — natural aspect, never stretched */
.gallery {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .gallery { grid-template-columns: 1.1fr 0.9fr; } }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; object-fit: contain; background: #120d0a; }
.gallery figcaption { margin-top: 0.5rem; font-size: 0.8rem; color: var(--muted); }

/* Clients */
.logo-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem 1.2rem;
  align-items: center;
}
@media (min-width: 800px) { .logo-grid { grid-template-columns: repeat(6, 1fr); } }
.logo-grid img {
  width: 100%; height: 52px; object-fit: contain; object-position: center;
  filter: grayscale(1) brightness(2.1) contrast(0.85); opacity: 0.85;
}

/* Chips / certs */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }
.chip {
  border: 1px solid var(--line); padding: 0.4rem 0.75rem; border-radius: 999px;
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}

/* Form */
.form { display: grid; gap: 1rem; margin-top: 1.6rem; }
.form label { display: block; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.35rem; }
.form input, .form textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  color: var(--paper); font: inherit; font-size: 1rem; padding: 0.55rem 0; border-radius: 0;
}
.form input:focus, .form textarea:focus { outline: none; border-bottom-color: var(--brand); }
.form textarea { min-height: 7rem; resize: vertical; }
.form-status { min-height: 1.2rem; font-size: 0.9rem; color: var(--muted); }
.form-note { margin: 0.6rem 0 0; font-size: 0.85rem; color: var(--muted); }

.meta { display: grid; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.meta-label { display: block; font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.25rem; }
.meta a { text-decoration: none; }
.meta a:hover { color: var(--brand); }

.qr { width: 132px; height: 132px; object-fit: contain; background: var(--paper); padding: 0.4rem; border-radius: 8px; }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 calc(3.5rem + var(--nav-safe));
  color: var(--muted); font-size: 0.88rem;
}
@media (min-width: 860px) { .footer { padding-bottom: 3.5rem; } }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer h4 {
  margin: 0 0 0.9rem; color: var(--paper);
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0 0 0.4rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--paper); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 0.8rem 1.5rem; justify-content: space-between;
  margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line);
  font-size: 0.78rem;
}

/* Process steps */
.steps { display: grid; gap: 1.4rem; margin-top: 2.2rem; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(5, 1fr); gap: 1.2rem; } }
.step h3 { margin: 0 0 0.4rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }

/* Reveals */
.js .reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .85s cubic-bezier(.16,1,.3,1), transform .85s cubic-bezier(.16,1,.3,1);
}
.js .reveal.in { opacity: 1; transform: none; }

.local-note {
  margin-top: 1.5rem; font-size: 0.72rem; color: rgba(244,239,231,0.4);
}

@media (prefers-reduced-motion: reduce) {
  .grain { display: none; }
  .hero, .film, .numbers { height: auto; }
  .scene-pin { position: relative; height: auto; min-height: 100vh; overflow: visible; }
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .scroll-hint i { display: none; }
}

/* FAQ */
.faq-list details { border-bottom: 1px solid var(--line); padding: 1.05rem 0; }
.faq-list summary {
  cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.05rem, 2vw, 1.25rem); letter-spacing: -0.02em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list .faq-a { margin-top: 0.7rem; color: var(--muted); line-height: 1.6; }
.faq-list .faq-a a { color: var(--brand); text-decoration: none; }
.faq-list .faq-a a:hover { text-decoration: underline; }

.film-stage .hero-copy { position: relative; z-index: 3; }

@media (max-width: 899px) {
  .hero--split { height: auto; }
  .hero--split .scene-pin {
    position: relative;
    height: auto;
    min-height: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
  }
  .hero--split .hero-copy { padding: 6.5rem 7vw 2rem; }
  .hero--split .hero-media { min-height: 0; height: auto; }
  .hero--split .portrait-frame {
    height: auto;
    aspect-ratio: 2 / 3;
    max-height: 78vh;
    justify-content: center;
  }
  .hero--split .portrait-frame img {
    height: 100%;
    width: auto;
    max-height: 78vh;
  }
  .hero--split .scroll-hint { position: relative; left: 7vw; bottom: auto; margin: 0.5rem 0 1.2rem; }
  .stats-4 { grid-template-columns: 1fr 1fr; }
}

.about-photo { margin: 0 0 2.5rem; }
.about-photo img { width: 100%; height: auto; display: block; }

.nav-mobile a { flex: 0 0 auto; padding: 0.7rem 0.65rem; }
.nowrap { white-space: nowrap; }
@media (max-width: 899px) {
  .hero--split .scene-pin { flex-direction: column-reverse; }
  .hero--split .hero-copy { padding-top: 1.4rem; padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }
  .hero--split .portrait-frame { max-height: 58vh; }
}

.nav-mobile { justify-content: flex-start; -webkit-overflow-scrolling: touch; }
@media (max-width: 899px) {
  .hero--split .scroll-hint { display: none; }
}
