/* ============================================================
   FIAT LUX COMMUNICATIONS — SHARED STYLES
   Editorial cinema aesthetic: dark charcoal + punchy yellow
   ============================================================ */

/* ---------- FONTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=JetBrains+Mono:wght@300;400;600&family=Work+Sans:wght@300;400;500;600;700&display=swap');

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Colors */
  --bg:          #0E0E10;
  --bg-raised:  #141417;
  --card:       #1A1A1D;
  --card-hi:    #26262A;
  --line:       #2E2E33;
  --text:       #F2F2F0;
  --mute:       #9A9A9E;
  --dim:        #6A6A6E;
  --yellow:     #F5D020;
  --yellow-hi:  #FFE15A;
  --ink:        #0E0E10;

  /* Typography */
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body:    'Work Sans', 'Helvetica Neue', Helvetica, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* Spacing */
  --container: 1280px;
  --gutter: 1.5rem;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.9, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Grain overlay across the whole body for cinematic texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='5'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

/* Ensure content sits above grain */
header, main, footer, section { position: relative; z-index: 2; }

img, video { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

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

/* ---------- TYPOGRAPHY ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--yellow);
}

.eyebrow.mute { color: var(--mute); }

.mono { font-family: var(--font-mono); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(3rem, 9vw, 7.5rem); }
h2 { font-size: clamp(2.25rem, 5.5vw, 4.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.875rem); font-weight: 500; letter-spacing: -0.01em; }

.display-italic { font-style: italic; color: var(--yellow); }

p.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.375rem);
  color: var(--mute);
  line-height: 1.6;
  max-width: 52ch;
  font-style: italic;
}

/* ---------- LAYOUT ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: clamp(4rem, 10vw, 8rem) 0; }

.divider {
  height: 1px;
  background: var(--line);
  margin: 0 var(--gutter);
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14, 14, 16, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(46, 46, 51, 0.5);
}

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

.nav-brand img {
  width: 24px;
  height: auto;
}

.nav-brand-text {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--text);
  text-transform: uppercase;
}

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

.nav-links a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  transition: color 0.3s var(--ease);
  position: relative;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.nav-links a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--yellow);
}

.nav-cta {
  padding: 0.6rem 1.25rem;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.nav-cta:hover {
  background: var(--yellow-hi);
  transform: translateY(-1px);
}

.nav-mobile-toggle {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.75rem;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}

.btn-primary {
  background: var(--yellow);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--yellow-hi);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(245, 208, 32, 0.15);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  border-color: var(--text);
  background: var(--card);
}

.btn-arrow {
  width: 16px;
  height: 16px;
  display: inline-block;
  position: relative;
  transition: transform 0.3s var(--ease);
}

.btn-arrow::before,
.btn-arrow::after {
  content: '';
  position: absolute;
  background: currentColor;
}

.btn-arrow::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 1.5px;
  transform: translateY(-50%);
}

.btn-arrow::after {
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  background: transparent;
  transform: translateY(-50%) rotate(45deg);
}

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

/* ---------- SECTION HEADER ---------- */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 var(--gutter);
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.section-number {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.section-number .dot {
  width: 10px;
  height: 10px;
  background: var(--yellow);
  border-radius: 50%;
}

.section-number span {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text);
}

/* ---------- HERO (home page) ---------- */
.hero {
  min-height: 100vh;
  padding-top: 8rem;
  padding-bottom: 7rem;
  display: grid;
  grid-template-columns: minmax(20rem, 0.8fr) minmax(34rem, 1.2fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-copy {
  max-width: 44rem;
  position: relative;
  z-index: 2;
}

.hero-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: rise 1s var(--ease-out) 0.2s both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 11vw, 10rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  max-width: 12ch;
}

.hero-title > span {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: rise 1.1s var(--ease-out) both;
}

.hero-title > span:nth-child(1) { animation-delay: 0.35s; }
.hero-title > span:nth-child(2) { animation-delay: 0.55s; }
.hero-title > span:nth-child(3) { animation-delay: 0.75s; }

.hero-title em {
  font-style: italic;
  color: var(--yellow);
  font-weight: 300;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  color: var(--mute);
  max-width: 42ch;
  line-height: 1.55;
  margin-bottom: 2.5rem;
  animation: rise 1s var(--ease-out) 0.95s both;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: rise 1s var(--ease-out) 1.15s both;
}

.hero-media-shell {
  position: relative;
  width: 100%;
  max-width: 60rem;
  aspect-ratio: 16 / 9;
  justify-self: end;
  animation: fadeIn 1.4s var(--ease-out) 0.6s both;
}

.hero-media-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(245, 208, 32, 0.2);
  background:
    radial-gradient(circle at 22% 25%, rgba(245, 208, 32, 0.12), transparent 28%),
    radial-gradient(circle at 76% 78%, rgba(255, 255, 255, 0.04), transparent 18%),
    linear-gradient(180deg, rgba(26, 26, 29, 0.9), rgba(14, 14, 16, 0.96));
  box-shadow: 0 2rem 7rem rgba(0, 0, 0, 0.35);
}

.hero-media-video .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  background: var(--ink);
}

.hero-media-video {
  background: var(--ink);
}

.hero-video-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.75rem;
  background: rgba(14, 14, 16, 0.82);
  border-left: 2px solid var(--yellow);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.hero-media-frame::before,
.hero-media-frame::after {
  content: '';
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.hero-media-frame::after {
  inset: auto 1.25rem 1.25rem auto;
  width: 8rem;
  height: 1.5rem;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-media-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5rem;
  height: 5rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(245, 208, 32, 0.35);
  background: rgba(14, 14, 16, 0.4);
  backdrop-filter: blur(8px);
}

.hero-media-play::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-38%, -50%);
  border-style: solid;
  border-width: 0.8rem 0 0.8rem 1.2rem;
  border-color: transparent transparent transparent rgba(245, 208, 32, 0.88);
}

.hero-meta {
  position: absolute;
  bottom: 1.75rem;
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: rise 1s var(--ease-out) 1.4s both;
  pointer-events: none;
}

.hero-meta > div { max-width: 22ch; }

@media (max-height: 800px) {
  .hero-meta { display: none; }
}

/* Decorative vertical line */
.hero-rule {
  position: absolute;
  right: clamp(1.5rem, 8vw, 6rem);
  top: 20%;
  bottom: 14%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--line) 20%, var(--line) 80%, transparent);
  animation: rise 1.5s var(--ease-out) 1.5s both;
}
/* ---------- ANIMATIONS ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Intersection Observer–driven reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="100"] { transition-delay: 0.1s; }
.reveal[data-delay="200"] { transition-delay: 0.2s; }
.reveal[data-delay="300"] { transition-delay: 0.3s; }
.reveal[data-delay="400"] { transition-delay: 0.4s; }

/* ---------- MARQUEE PHILOSOPHY ---------- */
.philosophy {
  padding: 6rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-raised);
}

.philosophy-quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  max-width: 24ch;
}

.philosophy-quote em {
  color: var(--yellow);
  font-style: normal;
  font-weight: 400;
}

.philosophy-attr {
  margin-top: 2rem;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mute);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.philosophy-attr::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: var(--yellow);
}

/* ---------- PILLARS GRID (home services teaser) ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 0 var(--gutter);
}

.pillar {
  background: var(--card);
  padding: 2.5rem;
  position: relative;
  transition: background 0.4s var(--ease);
}

.pillar:hover { background: var(--card-hi); }

.pillar-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--yellow);
  letter-spacing: 0.2em;
  margin-bottom: 3rem;
  display: block;
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.pillar-tag {
  font-family: var(--font-body);
  font-size: 12px;
  font-style: italic;
  color: var(--mute);
  margin-bottom: 1.5rem;
}

.pillar-divider {
  width: 2.5rem;
  height: 1px;
  background: var(--line);
  margin-bottom: 1.5rem;
}

.pillar p {
  color: var(--text);
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pillar-tags span {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mute);
  padding: 0.35rem 0.75rem;
  background: var(--card-hi);
  border-radius: 999px;
}

/* ---------- FEATURED WORK GRID (home) ---------- */
.work-grid {
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.work-tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--card);
}

.work-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out), filter 0.6s var(--ease);
  filter: brightness(0.88);
}

.work-tile:hover img {
  transform: scale(1.04);
  filter: brightness(1);
}

.work-tile-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(14, 14, 16, 0.82);
  backdrop-filter: blur(8px);
  padding: 0.5rem 0.75rem;
  border-left: 2px solid var(--yellow);
  display: inline-block;
  max-width: fit-content;
}
/* ---------- STILLS GRID (work page) ---------- */
.stills-section {
  padding: 5rem var(--gutter) 1rem;
}

.stills-section .section-header {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

.stills-section .lead {
  max-width: 34ch;
  padding-top: 1rem;
}

.stills-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.still-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--card);
  border: 1px solid var(--line);
}

.still-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.86) contrast(1.04);
  transition: transform 1.2s var(--ease-out), filter 0.6s var(--ease);
}

.still-card:hover img {
  transform: scale(1.04);
  filter: brightness(1) contrast(1.03);
}

.still-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(14, 14, 16, 0.78));
  pointer-events: none;
}

.still-card figcaption {
  position: absolute;
  left: 0.85rem;
  bottom: 0.75rem;
  z-index: 2;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(14, 14, 16, 0.78);
  border-left: 2px solid var(--yellow);
  padding: 0.42rem 0.6rem;
}

/* ---------- CASE CARD (work page) ---------- */
.case-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0 var(--gutter);
}

.case-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--card);
  overflow: hidden;
  transition: background 0.4s var(--ease);
  border: 1px solid transparent;
}

.case-card:hover {
  background: var(--card-hi);
  border-color: var(--line);
}

.case-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--ink);
}

.case-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.case-card:hover .case-card-media img {
  transform: scale(1.04);
}

.case-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,14,16,0.2), rgba(14,14,16,0.5));
  pointer-events: none;
}

.case-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
  z-index: 2;
}

.case-card:hover .case-play {
  background: var(--yellow-hi);
  transform: translate(-50%, -50%) scale(1.1);
}

.case-play::after {
  content: '';
  display: block;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--ink);
  margin-left: 4px;
}

.case-meta {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.case-dur {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text);
  background: rgba(14, 14, 16, 0.85);
  padding: 0.3rem 0.6rem;
  border-radius: 3px;
}

.case-card-body {
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-categories {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.case-card-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}

.case-client {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--mute);
  font-style: italic;
  margin-bottom: 1.25rem;
}

.case-card-body p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.case-watch {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  transition: color 0.3s var(--ease);
}

.case-watch:hover { color: var(--yellow-hi); }

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 5rem var(--gutter) 3rem;
  background: var(--bg);
}

.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--line);
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  font-style: italic;
  color: var(--yellow);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--mute);
  max-width: 30ch;
  line-height: 1.6;
  font-size: 0.9rem;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.65rem; }
.footer-col a {
  color: var(--mute);
  font-size: 0.9rem;
  transition: color 0.3s var(--ease);
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  max-width: var(--container);
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom .logo-mark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-bottom .logo-mark img { width: 18px; height: auto; }

/* ---------- PAGE HEADER (non-home pages) ---------- */
.page-header {
  padding: 9rem var(--gutter) 4rem;
  border-bottom: 1px solid var(--line);
}

.page-header-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.page-header h1 em {
  font-style: italic;
  color: var(--yellow);
  font-weight: 300;
}

.page-header p {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--mute);
  line-height: 1.6;
  max-width: 48ch;
  padding-bottom: 0.75rem;
}

/* ---------- SERVICES PAGE ---------- */
.service-block {
  padding: 5rem var(--gutter);
  border-bottom: 1px solid var(--line);
}

.service-block:last-of-type { border-bottom: none; }

.service-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.service-number {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--yellow);
  letter-spacing: 0.25em;
  margin-bottom: 1.25rem;
}

.service-block h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.0;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}

.service-block h2 em {
  color: var(--yellow);
  font-style: italic;
  font-weight: 300;
}

.service-block .lead-para {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-list {
  list-style: none;
  border-top: 1px solid var(--line);
}

.service-list li {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 2rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.service-list .label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--yellow);
}

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

/* ---------- TIER FRAMEWORK ---------- */
.tier-framework {
  padding: 6rem var(--gutter);
  background: var(--bg-raised);
}

.tier-grid {
  max-width: var(--container);
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.tier {
  padding: 2rem;
  background: var(--card);
  border-top: 2px solid var(--line);
  transition: border-color 0.3s var(--ease);
}

.tier:hover { border-top-color: var(--yellow); }

.tier.featured { border-top-color: var(--yellow); }

.tier-dur {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.tier h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.tier p {
  color: var(--mute);
  font-size: 0.9rem;
  line-height: 1.55;
  font-style: italic;
}

.tier-footer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--yellow);
  letter-spacing: 0.15em;
}


/* ---------- WHY CHOOSE US / SOCIAL PROOF ---------- */
.why-section {
  padding: clamp(4rem, 9vw, 7rem) var(--gutter);
  background: var(--bg-raised);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.why-wrap {
  max-width: var(--container);
  margin: 0 auto;
}

.why-intro {
  display: grid;
  grid-template-columns: 1fr minmax(16rem, 32rem);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: 2.5rem;
}

.why-intro h2,
.service-cycle h2,
.process-section h2,
.budget-section h2 {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.03em;
}

.why-intro h2 em,
.service-cycle h2 em,
.process-section h2 em,
.budget-section h2 em {
  color: var(--yellow);
  font-style: italic;
  font-weight: 300;
}

.why-intro p {
  color: var(--mute);
  line-height: 1.65;
  font-size: 1.05rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.why-card {
  background: var(--card);
  border-top: 2px solid var(--line);
  padding: 1.5rem;
}

.why-card:hover { border-top-color: var(--yellow); background: var(--card-hi); }

.why-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--yellow);
  margin-bottom: 1.25rem;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.why-card p {
  color: var(--mute);
  font-size: 0.9rem;
  line-height: 1.6;
}

.quote-card {
  margin-top: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--card);
  border-left: 3px solid var(--yellow);
}

.quote-card p {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 2.2rem);
  line-height: 1.25;
  font-style: italic;
  color: var(--text);
  max-width: 42ch;
}

.quote-card cite {
  display: block;
  margin-top: 1.25rem;
  font-family: var(--font-body);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--yellow);
}

/* ---------- SERVICES ENHANCEMENTS ---------- */
.service-cycle,
.process-section,
.budget-section {
  padding: clamp(4rem, 9vw, 7rem) var(--gutter);
}

.service-cycle {
  background: var(--bg-raised);
  border-bottom: 1px solid var(--line);
}

.service-cycle .container,
.process-section .container,
.budget-section .container {
  max-width: var(--container);
}

.cycle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.cycle-card {
  background: var(--card);
  padding: 2rem;
  border-top: 2px solid var(--line);
}

.cycle-card.featured,
.cycle-card:hover { border-top-color: var(--yellow); background: var(--card-hi); }

.cycle-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--yellow);
  letter-spacing: 0.2em;
  margin-bottom: 1.25rem;
}

.cycle-card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.cycle-card ul {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.cycle-card li {
  color: var(--mute);
  font-size: 0.92rem;
  line-height: 1.45;
  padding-left: 1rem;
  position: relative;
}

.cycle-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--yellow);
}

.process-section {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-step {
  background: var(--bg);
  padding: 1.5rem;
  min-height: 14rem;
}

.process-step span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--yellow);
  letter-spacing: 0.22em;
  margin-bottom: 3rem;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.process-step p {
  color: var(--mute);
  font-size: 0.9rem;
  line-height: 1.55;
}

.budget-section {
  background: var(--card);
  border-top: 1px solid var(--line);
}

.budget-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.budget-notes {
  display: grid;
  gap: 1rem;
}

.budget-notes article {
  background: var(--bg-raised);
  padding: 1.5rem;
  border-left: 2px solid var(--yellow);
}

.budget-notes h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.budget-notes p {
  color: var(--mute);
  line-height: 1.6;
  font-size: 0.92rem;
}

/* ---------- CONTACT ---------- */
.contact-wrap {
  padding: 5rem var(--gutter);
}

.contact-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info .contact-line {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-line .label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--yellow);
}

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

.contact-line a.value {
  transition: color 0.3s var(--ease);
}

.contact-line a.value:hover { color: var(--yellow); }

.contact-form {
  background: var(--card);
  padding: clamp(2rem, 4vw, 3rem);
}

.form-field {
  margin-bottom: 1.5rem;
}

.form-field label {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.5rem;
}

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

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-bottom-color: var(--yellow);
}

.form-field textarea {
  resize: vertical;
  min-height: 6rem;
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1L6 6L11 1' stroke='%239A9A9E' stroke-width='1.5' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 2rem;
  cursor: pointer;
}

.form-field select option {
  background: var(--card);
  color: var(--text);
}

.form-submit {
  margin-top: 1rem;
  width: 100%;
  padding: 1.1rem;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.form-submit:hover {
  background: var(--yellow-hi);
  transform: translateY(-1px);
}

.form-note {
  font-family: var(--font-body);
  font-size: 12px;
  font-style: italic;
  color: var(--mute);
  margin-top: 1.25rem;
  text-align: center;
}

/* ---------- TEAM SECTION ---------- */
.team-section {
  padding: 5rem var(--gutter) 6rem;
  border-top: 1px solid var(--line);
  background: var(--bg-raised);
}

.team-wrap {
  max-width: var(--container);
  margin: 0 auto;
}

.team-intro {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 3rem;
}

.team-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.team-intro h2 em {
  color: var(--yellow);
  font-style: italic;
  font-weight: 300;
}

.team-intro p {
  color: var(--mute);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.6;
  max-width: 52ch;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.team-card {
  background: var(--card);
  border: 1px solid rgba(46, 46, 51, 0.9);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  min-height: 100%;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.team-card:hover {
  background: var(--card-hi);
  border-color: rgba(245, 208, 32, 0.35);
  transform: translateY(-2px);
}

.team-card.featured {
  border-top: 2px solid var(--yellow);
}

.team-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin-bottom: 1.75rem;
  overflow: hidden;
  border: 1px solid rgba(245, 208, 32, 0.2);
  background:
    radial-gradient(circle at 30% 25%, rgba(245, 208, 32, 0.14), transparent 28%),
    linear-gradient(145deg, rgba(38, 38, 42, 0.95), rgba(14, 14, 16, 0.92));
}

.team-photo::before {
  content: 'Headshot';
  position: absolute;
  left: 1rem;
  bottom: 0.9rem;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--dim);
}

.team-photo span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 300;
  color: rgba(242, 242, 240, 0.28);
  letter-spacing: -0.04em;
}

.team-card-topline {
  min-height: 2.2rem;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.25rem;
}

.team-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.team-card p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.team-card ul {
  list-style: none;
  border-top: 1px solid var(--line);
}

.team-card li {
  position: relative;
  padding: 0.9rem 0 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--mute);
  font-size: 0.9rem;
  line-height: 1.45;
}

.team-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.45rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--yellow);
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  padding: clamp(5rem, 12vw, 10rem) var(--gutter);
  text-align: center;
  background: var(--bg-raised);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.cta-banner h2 em {
  color: var(--yellow);
  font-style: italic;
  font-weight: 300;
}

.cta-banner p {
  color: var(--mute);
  max-width: 48ch;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ---------- HOME HERO MEDIA SHELL ---------- */
@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 8rem;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-title {
    max-width: 10ch;
  }

  .hero-media-shell {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    justify-self: stretch;
  }

  .hero-rule {
    display: none;
  }
}

@media (max-width: 960px) {
  .stills-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links { gap: 1.5rem; }
  .nav-cta { display: none; }
  .pillars, .tier-grid, .team-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .case-card { grid-template-columns: 1fr; }
  .case-card-media { aspect-ratio: 16 / 9; }
  .service-grid, .contact-grid, .page-header-grid, .footer-grid, .team-intro {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-grid { gap: 2rem; }
  .service-list li { grid-template-columns: 1fr; gap: 0.5rem; }
  .why-intro,
  .budget-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .cycle-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }

}

@media (max-width: 640px) {
  .stills-grid { grid-template-columns: 1fr; }
  .nav-links a:not([aria-current="page"]) { display: none; }
  .work-grid { grid-template-columns: 1fr; }
  .hero-title {
    font-size: clamp(3.2rem, 17vw, 5.4rem);
    max-width: none;
  }
  .hero-media-shell {
    aspect-ratio: 16 / 9;
  }
  .hero-meta { font-size: 9px; }
  .hero-meta > div { max-width: 14ch; }
  .footer-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .hero-video-badge { font-size: 9px; max-width: calc(100% - 2rem); }

}

/* ---------- LAUNCH HARDENING: accessibility, mobile navigation, form fallback ---------- */
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 9999;
  transform: translateY(-150%);
  padding: 0.75rem 1rem;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 0.2s var(--ease);
}

.skip-link:focus { transform: translateY(0); }

.form-hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

.form-status {
  min-height: 1.25rem;
  margin-top: 1rem;
  color: var(--yellow);
  font-size: 0.85rem;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 760px) {
  .nav {
    padding: 0.9rem var(--gutter);
  }

  .nav-brand-text {
    max-width: 10rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(20, 20, 23, 0.92);
  }

  .nav-mobile-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .nav-mobile-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: var(--gutter);
    right: var(--gutter);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem;
    background: rgba(14, 14, 16, 0.98);
    border: 1px solid var(--line);
    border-radius: 1rem;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.35);
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .nav-links a,
  .nav-links a:not([aria-current="page"]),
  .nav-links .nav-cta {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 0.9rem 1rem;
    border-radius: 0.7rem;
    color: var(--text);
  }

  .nav-links a[aria-current="page"] {
    color: var(--yellow);
    background: var(--card);
  }

  .nav-links a[aria-current="page"]::after {
    display: none;
  }

  .nav-links .nav-cta {
    margin-top: 0.5rem;
    justify-content: center;
    background: var(--yellow);
    color: var(--ink);
  }
}
