/* ==========================================================================
   NOTAI — Cinematic AI Studio
   Design tokens and shared styles
   ========================================================================== */

:root {
  /* Color palette — cinematic warm-dark */
  --bg: #0A0A0A;
  --bg-elevated: #141414;
  --bg-elevated-2: #1A1A1A;
  --text: #F5F1E8;           /* warm off-white — film emulsion */
  --text-muted: #8A8580;      /* muted warm gray */
  --text-dim: #4A4744;
  --accent: #D4A574;          /* amber gold — film grain */
  --accent-hot: #C74B32;      /* vermilion — CTAs only */
  --border: #1F1D1A;
  --border-strong: #2A2825;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --page-max: 1400px;
  --page-pad: clamp(1.25rem, 4vw, 3rem);
  --section-pad-y: clamp(4rem, 10vw, 8rem);
  --radius-sm: 2px;   /* film-frame — no rounded corners */
  --radius-md: 4px;
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

/* ==========================================================================
   Typography scale
   ========================================================================== */

.display-xl {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-variation-settings: 'opsz' 144, 'SOFT' 30, 'WONK' 0;
}

.display-lg {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.25rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  font-variation-settings: 'opsz' 144, 'SOFT' 30, 'WONK' 0;
}

.display-md {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 96, 'SOFT' 30, 'WONK' 0;
}

.display-sm {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-variation-settings: 'opsz' 72, 'SOFT' 30, 'WONK' 0;
}

.body-lg {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: var(--text);
  font-weight: 400;
}

.body {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
}

.body-sm {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.mono {
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0;
}

/* ==========================================================================
   Signature — Timecode chapter markers
   ========================================================================== */

.chapter-marker {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.chapter-marker::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-strong);
  max-width: 240px;
}

.chapter-code {
  color: var(--accent);
  font-weight: 500;
}

.chapter-label {
  color: var(--text);
  font-weight: 500;
}

/* ==========================================================================
   Container
   ========================================================================== */

.container {
  max-width: var(--page-max);
  margin: 0 auto;
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
  width: 100%;
}

.container-narrow {
  max-width: 960px;
  margin: 0 auto;
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
  width: 100%;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem var(--page-pad);
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(10, 10, 10, 0.9);
}

.header-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  transition: transform 0.2s ease;
}

.brand-logo:hover img {
  transform: scale(1.05);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.5rem 0;
}

.nav a:hover {
  color: var(--text);
}

.nav a.active {
  color: var(--text);
}

.nav a.active::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 50%;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateY(-50%);
}

/*.nav-cta {*/
/*  display: inline-flex;*/
/*  align-items: center;*/
/*  gap: 0.5rem;*/
/*  padding: 0.65rem 1.25rem;*/
/*  background: var(--text);*/
/*  color: var(--bg) !important;*/
/*  font-weight: 500;*/
/*  font-size: 0.875rem;*/
/*  border-radius: var(--radius-md);*/
/*  transition: background 0.2s ease;*/
/*}*/

/*.nav-cta:hover {*/
/*  background: var(--accent) !important;*/
/*  color: var(--bg) !important;*/
/*}*/


.nav a.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.25rem !important;
  background: var(--accent-hot);
  color: var(--text) !important;
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.nav a.nav-cta:hover {
  background: #D9553D !important;
  color: var(--text) !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 820px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem var(--page-pad);
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .nav.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    align-self: stretch;
    justify-content: center;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--accent-hot);
  color: var(--text);
}

.btn-primary:hover {
  background: #D9553D;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--text);
  color: var(--bg);
}

.btn-secondary:hover {
  background: var(--accent);
  color: var(--bg);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-arrow::after {
  content: '→';
  font-size: 1.1em;
  transition: transform 0.2s ease;
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ==========================================================================
   Hero (used on Home)
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Cinematic gradient hero — moody, no baked-in text conflicts */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(212, 165, 116, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 80% 80%, rgba(199, 75, 50, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 50% 50%, rgba(30, 25, 20, 0.4) 0%, transparent 70%),
    linear-gradient(180deg, #0f0d0b 0%, #0A0A0A 50%, #050505 100%);
}

/* Film grain overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.95 0 0 0 0 0.9 0 0 0 0 0.85 0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.55;
  mix-blend-mode: overlay;
  pointer-events: none;
  animation: grainShift 8s steps(6) infinite;
}

@keyframes grainShift {
  0%, 100% { transform: translate(0, 0); }
  17% { transform: translate(-3%, 2%); }
  33% { transform: translate(2%, -4%); }
  50% { transform: translate(-2%, 3%); }
  67% { transform: translate(3%, 1%); }
  83% { transform: translate(-1%, -2%); }
}

/* Subtle atmospheric elements */
.hero-atmosphere {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-atmosphere::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(212, 165, 116, 0.06) 0%, transparent 60%);
  filter: blur(60px);
  animation: atmosphereFloat 20s ease-in-out infinite;
}

.hero-atmosphere::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(199, 75, 50, 0.05) 0%, transparent 60%);
  filter: blur(80px);
  animation: atmosphereFloat 25s ease-in-out infinite reverse;
}

@keyframes atmosphereFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  50% { transform: translate(10%, -5%) scale(1.1); opacity: 1; }
}

/* Vertical accent line — cinematic frame edge */
.hero-frame-line {
  position: absolute;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--accent) 40%, var(--accent) 60%, transparent 100%);
  opacity: 0.3;
  z-index: 1;
}

.hero-frame-line.left { left: 5%; }
.hero-frame-line.right { right: 5%; }

@media (max-width: 720px) {
  .hero-frame-line { display: none; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
}

.hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.hero-headline {
  max-width: 20ch;
  color: var(--text);
  margin-bottom: 2rem;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
}

.hero-sub {
  max-width: 44ch;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-dim), transparent);
  animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
  0% { transform: translateY(-20px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(20px); opacity: 0; }
}

/* ==========================================================================
   Section base
   ========================================================================== */

.section {
  padding: var(--section-pad-y) 0;
  position: relative;
}

.section-alt {
  background: var(--bg-elevated);
}

.section-header {
  margin-bottom: 4rem;
  max-width: 720px;
}

.section-header .display-lg {
  margin-bottom: 1.5rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 52ch;
}

/* ==========================================================================
   Work grid
   ========================================================================== */

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: 2.5rem 2rem;
}

.work-card {
  cursor: pointer;
  display: block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover {
  transform: translateY(-4px);
}

.work-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

.work-thumb::before,
.work-thumb::after {
  /* Film-frame ticks — subtle sprocket-hole illusion */
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 12px;
  z-index: 2;
  pointer-events: none;
  background-image: linear-gradient(
    to bottom,
    var(--bg) 0,
    var(--bg) 4px,
    transparent 4px,
    transparent 12px
  );
  background-size: 12px 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.work-thumb::before { left: 0; }
.work-thumb::after { right: 0; }

.work-card:hover .work-thumb::before,
.work-card:hover .work-thumb::after {
  opacity: 0.3;
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover .work-thumb img {
  transform: scale(1.03);
}

.work-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.work-play-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  padding-left: 4px;
}

.work-card:hover .work-play {
  opacity: 1;
}

.work-meta {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
}

.work-meta-dot {
  width: 4px;
  height: 4px;
  background: var(--text-dim);
  border-radius: 50%;
}

.work-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-variation-settings: 'opsz' 72, 'SOFT' 30;
}

.work-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 44ch;
}

/* ==========================================================================
   Series
   ========================================================================== */

.series-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 5rem;
}

@media (min-width: 900px) {
  .series-block {
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
  }

  .series-block.reverse .series-poster {
    order: 2;
  }
}

.series-poster {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.series-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.series-poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.5));
}

.series-info-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.series-info-eyebrow .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.series-info-eyebrow.airing .status-dot {
  background: var(--accent-hot);
  box-shadow: 0 0 0 4px rgba(199, 75, 50, 0.2);
  animation: pulseAiring 2s infinite;
}

@keyframes pulseAiring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(199, 75, 50, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(199, 75, 50, 0); }
}

.series-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
}

.series-tag {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 44ch;
}

.series-episodes {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.series-episodes li {
  display: flex;
  gap: 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
  transition: padding 0.2s ease;
}

.series-episodes li:hover {
  padding-left: 0.5rem;
}

.series-episodes a {
  display: contents;
}

.ep-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  min-width: 3ch;
}

.ep-title {
  color: var(--text);
  flex: 1;
  font-size: 1rem;
}

.ep-status {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.series-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   About page — team
   ========================================================================== */

.about-belief {
  max-width: 720px;
  margin-bottom: 5rem;
}

.about-belief p {
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-belief p:first-of-type {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.3;
  color: var(--text);
  font-variation-settings: 'opsz' 96, 'SOFT' 30;
}

.about-belief p em {
  color: var(--accent);
  font-style: italic;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-strong);
}

.team-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 0.5rem;
  font-variation-settings: 'opsz' 72;
}

.team-role {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.team-note {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ==========================================================================
   Locations
   ========================================================================== */

.locations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.location {
  padding-left: 1.5rem;
  border-left: 1px solid var(--accent);
}

.location-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  font-variation-settings: 'opsz' 72;
}

.location-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   Contact form
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.contact-side p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-side .display-md {
  margin-bottom: 2rem;
}

.contact-detail {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-detail-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
}

.contact-detail-value {
  color: var(--text);
  font-size: 1.05rem;
}

.contact-detail-value a:hover {
  color: var(--accent);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.form-section-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
  border-top: 1px solid var(--border-strong);
  margin-top: 0.5rem;
}

.form-section-label:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.form-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
  margin-bottom: 0.75rem;
  font-style: italic;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
}

.form-input,
.form-textarea,
.form-select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-strong);
  padding: 0.85rem 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 0;
  transition: border-color 0.2s ease;
  width: 100%;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.form-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-option {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0;
  cursor: pointer;
  color: var(--text);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.form-option:hover {
  color: var(--accent);
}

.form-option input {
  accent-color: var(--accent-hot);
  width: 18px;
  height: 18px;
}

.form-submit {
  padding: 1.15rem 2rem;
  background: var(--accent-hot);
  color: var(--text);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.form-submit:hover {
  background: #D9553D;
  transform: translateY(-1px);
}

.form-submit::after {
  content: '→';
  transition: transform 0.2s ease;
}

.form-submit:hover::after {
  transform: translateX(4px);
}

.form-success {
  padding: 2rem;
  background: var(--bg-elevated-2);
  border-left: 3px solid var(--accent);
  display: none;
}

.form-success.show {
  display: block;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.form-success p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   How we work
   ========================================================================== */

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.process-step {
  padding-top: 2rem;
  border-top: 1px solid var(--accent);
}

.process-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.process-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  font-variation-settings: 'opsz' 72;
}

.process-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ==========================================================================
   Final CTA section
   ========================================================================== */

.cta-section {
  text-align: center;
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.cta-headline {
  max-width: 20ch;
  margin: 0 auto 2rem;
}

.cta-note {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Featured Work Preview (Home)
   ========================================================================== */

.preview-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.preview-see-all {
  margin-top: 3rem;
  text-align: center;
}

.preview-see-all a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--accent);
  transition: gap 0.2s ease;
}

.preview-see-all a:hover {
  gap: 1.25rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  padding: 4rem 0 3rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand img {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

.footer-brand p {
  color: var(--text-muted);
  max-width: 32ch;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  color: var(--text-dim);
  font-size: 0.85rem;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Lightbox (video modal)
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.show {
  display: flex;
  opacity: 1;
}

.lightbox-inner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 16 / 9;
}

.lightbox iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-sm);
}

.lightbox-close {
  position: absolute;
  top: -3rem;
  right: 0;
  width: 44px;
  height: 44px;
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.lightbox-close:hover {
  color: var(--accent-hot);
}

/* ==========================================================================
   Page hero (Work / Series / About / Contact pages)
   ========================================================================== */

.page-header {
  padding: 9rem 0 4rem;
  border-bottom: 1px solid var(--border);
}

.page-header-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.page-header-eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.page-header h1 {
  margin-bottom: 2rem;
  max-width: 20ch;
}

.page-header p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 52ch;
  line-height: 1.55;
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==========================================================================
   Utility
   ========================================================================== */

.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;
}
