:root {
  --bg: #07070e;
  --ink: #2a2a4e;
  --ink-deep: #1a1a30;
  --ink-deeper: #14141f;
  --orange: #ff6200;
  --orange-hi: #ff7d2e;
  --paper: #f4f2ec;
  --muted: #9a9ab8;
  --line: rgba(255, 255, 255, 0.1);
  --maxw: 1180px;
}

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

/* Subtle film grain for cinematic texture */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%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");
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg, .work-media { transition: none !important; }
}

html { scroll-behavior: smooth; }

body {
  background: #000;
  color: var(--paper);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- Stage lights: fixed volumetric beams behind all content ---------- */
.stage-lights {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
/* Each beam: a soft column of light from the overhead rig, feathered on every
   edge (radial-gradient fill + heavy blur) so it reads as glow, not a solid bar */
.stage-lights .beam {
  position: absolute;
  top: -24vh;
  height: 170vh;
  width: clamp(300px, 30vw, 560px);
  transform-origin: top center;
  filter: blur(70px);
  mix-blend-mode: screen;
  will-change: opacity;
}
.beam.b1 { left: -2%; transform: rotate(13deg);  background: radial-gradient(42% 78% at 50% 0%, rgba(255, 98, 0, 0.42),  transparent 72%); }
.beam.b2 { left: 20%; transform: rotate(6deg);   background: radial-gradient(40% 74% at 50% 0%, rgba(255, 224, 190, 0.34), transparent 70%); }
.beam.b3 { left: 42%; transform: rotate(-2deg);  background: radial-gradient(40% 76% at 50% 0%, rgba(150, 180, 255, 0.30), transparent 70%); }
.beam.b4 { left: 62%; transform: rotate(-9deg);  background: radial-gradient(42% 78% at 50% 0%, rgba(255, 98, 0, 0.40),  transparent 72%); }
.beam.b5 { left: 84%; transform: rotate(-16deg); background: radial-gradient(40% 74% at 50% 0%, rgba(255, 232, 205, 0.28), transparent 70%); }
/* Soft glow along the top where the rig hangs */
.stage-lights::before {
  content: "";
  position: absolute;
  top: -10vh; left: 0; right: 0; height: 30vh;
  background:
    radial-gradient(40% 100% at 12%, rgba(255, 98, 0, 0.16), transparent 70%),
    radial-gradient(40% 100% at 34%, rgba(255, 224, 190, 0.13), transparent 70%),
    radial-gradient(40% 100% at 54%, rgba(150, 180, 255, 0.11), transparent 70%),
    radial-gradient(40% 100% at 74%, rgba(255, 98, 0, 0.15), transparent 70%),
    radial-gradient(40% 100% at 90%, rgba(255, 232, 205, 0.10), transparent 70%);
  filter: blur(50px);
}
@keyframes beam-breathe {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1; }
}
.stage-lights .beam { animation: beam-breathe 14s ease-in-out infinite; }
.beam.b2 { animation-duration: 17s; animation-delay: -4s; }
.beam.b3 { animation-duration: 20s; animation-delay: -8s; }
.beam.b4 { animation-duration: 16s; animation-delay: -3s; }
.beam.b5 { animation-duration: 18s; animation-delay: -6s; }
@media (prefers-reduced-motion: reduce) {
  .stage-lights .beam { animation: none; }
}

h1, h2, h3, .wordmark { font-family: "Space Grotesk", sans-serif; line-height: 1.05; letter-spacing: -0.02em; }
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 600; }
h3 { font-size: 1.4rem; font-weight: 600; }

.accent { color: var(--orange); }
a { color: inherit; text-decoration: none; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 1.2rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.8rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-hi); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--paper); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem clamp(1.2rem, 5vw, 3.5rem);
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(25, 25, 48, 0.85);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.wordmark {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.wordmark span {
  color: var(--orange);
  font-weight: 400;
  margin: 0 0.25em;
  font-size: 0.85em;
}
.nav-links { display: flex; align-items: center; gap: 2rem; font-size: 0.95rem; }
.nav-links a { color: var(--muted); transition: color 0.2s ease; }
.nav-links a:hover { color: var(--paper); }
.nav-cta {
  color: var(--paper) !important;
  border: 1px solid var(--line);
  padding: 0.55rem 1.2rem;
  border-radius: 100px;
}
.nav-cta:hover { border-color: var(--orange); color: var(--orange) !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem clamp(1.2rem, 5vw, 3.5rem) 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: -18% 0;
  will-change: transform;
  background:
    radial-gradient(1200px 700px at 78% 18%, rgba(255, 98, 0, 0.32), transparent 60%),
    linear-gradient(160deg, rgba(8, 8, 16, 0.72) 0%, rgba(5, 5, 12, 0.94) 100%),
    url("images/hero.jpg");
  background-size: cover;
  background-position: center;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 70%);
  opacity: 0.4;
}
.hero-inner { position: relative; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.hero-sub {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  margin: 1.8rem 0 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-clients {
  margin-top: 3.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------- Sections ---------- */
.section-head { max-width: var(--maxw); margin: 0 auto 3.5rem; }
.section-head h2 { max-width: 16ch; }

.work { padding: 7rem clamp(1.2rem, 5vw, 3.5rem); background: transparent; }
.work-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.work-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--ink-deeper);
  cursor: pointer;
}
/* First project runs full width as an editorial feature */
.work-card.feature { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.work-media {
  position: absolute;
  inset: 0;
  background-image: var(--img, none);
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.work-card:hover .work-media { transform: scale(1.06); }
/* Legibility scrim + a hair of brand warmth, sits above the zooming image */
.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(15, 15, 32, 0.9) 0%, rgba(15, 15, 32, 0.15) 45%, transparent 70%),
    linear-gradient(120deg, rgba(255, 98, 0, 0.12), transparent 45%);
  transition: opacity 0.4s ease;
}
.work-num {
  position: absolute;
  top: 1rem;
  left: 1.3rem;
  z-index: 2;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.65);
}
.work-meta {
  position: absolute;
  z-index: 2;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.4rem;
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.work-card:hover .work-meta { transform: translateY(-4px); }
.work-meta h3 { margin-bottom: 0.25rem; }
.work-meta p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

/* ---------- About ---------- */
.about { padding: 7rem clamp(1.2rem, 5vw, 3.5rem); }
.about-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: center;
}
.about-portrait {
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--ink-deep), var(--ink-deeper));
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}
.about-portrait span {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.4em;
  color: rgba(255, 255, 255, 0.12);
  font-weight: 700;
}
.about-copy h2 { margin-bottom: 1.4rem; }
.about-copy p { color: var(--muted); margin-bottom: 1.1rem; max-width: 54ch; }
.coverage { margin-top: 1.8rem; color: var(--paper); font-weight: 500; font-size: 0.95rem; }
.coverage::before { content: "◆ "; color: var(--orange); }
.services {
  list-style: none;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem 1.5rem;
}
.services li {
  padding-left: 1.4rem;
  position: relative;
  font-weight: 500;
  color: var(--paper);
}
.services li::before {
  content: "";
  position: absolute; left: 0; top: 0.55em;
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 2px;
}

/* ---------- Contact ---------- */
.contact { padding: 7rem clamp(1.2rem, 5vw, 3.5rem); background: transparent; }
.contact-inner { max-width: 840px; margin: 0 auto; }
.contact-head { text-align: center; margin-bottom: 3rem; }
.contact-head h2 { margin: 0 auto; }
.contact-sub { color: var(--muted); margin-top: 1rem; }
.contact-direct { margin-top: 0.9rem; color: var(--muted); font-size: 0.95rem; }
.contact-direct a { color: var(--paper); border-bottom: 1px solid var(--orange); padding-bottom: 1px; }
.contact-direct a:hover { color: var(--orange); }
.contact-direct .dot { margin: 0 0.6rem; color: var(--line); }
.lead-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.field { display: flex; flex-direction: column; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.field input, .field textarea {
  background: var(--ink-deeper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  color: var(--paper);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); }
.field textarea { resize: vertical; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; font: inherit; }
.form-status { margin-top: 1rem; text-align: center; font-size: 0.95rem; color: var(--orange); min-height: 1.2em; }

/* ---------- Footer ---------- */
.footer { background: rgba(5, 5, 10, 0.55); padding: 3.5rem clamp(1.2rem, 5vw, 3.5rem); border-top: 1px solid var(--line); }
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-cta {
  color: var(--paper);
  border: 1px solid var(--line);
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.footer-cta:hover { border-color: var(--orange); color: var(--orange); }
.footer-note { color: var(--muted); font-size: 0.85rem; width: 100%; }

/* ---------- Reveal animation baseline ---------- */
.reveal { opacity: 0; transform: translateY(24px); }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .nav-links { gap: 1.1rem; }
  .nav-links a:not(.nav-cta) { display: none; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card, .work-card.feature { aspect-ratio: 4 / 3; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-portrait { max-width: 320px; }
  .lead-form { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
}
