/* ============================================================
   BOWDEN — multi-page extensions
   Additive only: dropdown nav, mobile drawer, sticky call CTA,
   page hero, checklist, quote, contact form, blog cards, footer.
   Loads after styles.css. Design tokens unchanged.
   ============================================================ */

/* ---------- Nav dropdowns ---------- */
.dropdown { position: relative; }
.dropdown-toggle {
  background: none;
  border: none;
  color: var(--ink-dim);
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  transition: color 0.3s;
}
.dropdown-toggle:hover, .dropdown-toggle:focus-visible { color: var(--brass-bright); }
.dropdown .caret { font-size: 9px; transition: transform 0.25s; }
.dropdown.open .caret, .dropdown:hover .caret { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: rgba(13, 12, 9, 0.97);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -18px; left: 0; right: 0; height: 18px;
}
.dropdown.open .dropdown-menu,
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  padding: 11px 22px;
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.22em;
  white-space: nowrap;
  transition: color 0.25s, background 0.25s;
}
.dropdown-menu a:hover, .dropdown-menu a:focus-visible { color: var(--brass-bright); background: rgba(200, 155, 90, 0.07); }

/* ---------- Burger + mobile drawer ---------- */
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-burger span { width: 24px; height: 1.5px; background: var(--ink); transition: transform 0.3s, opacity 0.3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: #0b0a08;
  padding: 96px 28px 120px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-drawer[hidden] { display: none; }
.mobile-drawer > a {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.5rem;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.drawer-group { padding: 12px 0; border-bottom: 1px solid var(--line); }
.drawer-group > span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--brass-bright);
  margin-bottom: 10px;
}
.drawer-group a {
  display: block;
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 1.05rem;
  padding: 8px 0 8px 14px;
}
.drawer-group a:active { color: var(--brass-bright); }
.drawer-cta { text-align: center; margin-top: 18px; }
body.drawer-open { overflow: hidden; }

/* ---------- Sticky click-to-call ---------- */
.sticky-call {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 48;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brass);
  color: var(--bg);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 14px 22px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.55);
  transition: background 0.3s, transform 0.3s;
}
.sticky-call:hover { background: var(--brass-bright); transform: translateY(-2px); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 160px 36px 90px;
}
.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) saturate(0.95);
}
.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,10,8,0.72) 0%, rgba(11,10,8,0.25) 40%, rgba(11,10,8,0.92) 100%),
    radial-gradient(90% 70% at 20% 90%, rgba(11,10,8,0.85), transparent 70%);
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5.2vw, 4.4rem);
  line-height: 1.08;
  max-width: 20ch;
}
.page-hero h1 em { color: var(--brass-bright); font-style: italic; }
.page-hero .hero-sub {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--brass-bright);
  max-width: 44ch;
  line-height: 1.45;
}
.page-hero .lede { margin-top: 16px; }
.btn-row.left { justify-content: flex-start; margin-top: 34px; }

/* ---------- Checklist (doc bullet sections) ---------- */
.checklist {
  list-style: none;
  margin-top: 50px;
  border-top: 1px solid var(--line);
}
.checklist li {
  padding: 26px 0 26px 44px;
  border-bottom: 1px solid var(--line);
  position: relative;
  color: var(--ink-dim);
  line-height: 1.75;
  font-size: 1rem;
  max-width: 75ch;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 36px;
  width: 18px;
  height: 1px;
  background: var(--brass);
}
.checklist li strong { color: var(--ink); font-weight: 600; }

/* ---------- Quote / testimonial ---------- */
.pull-quote {
  margin-top: 60px;
  border-left: 2px solid var(--brass);
  padding: 10px 0 10px 38px;
  max-width: 70ch;
}
.pull-quote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
}
.pull-quote cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass-bright);
}

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  margin-top: 60px;
  align-items: start;
}
.contact-form { display: grid; gap: 22px; }
.field { display: grid; gap: 9px; }
.field label {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass-bright);
  font-weight: 600;
}
.field input, .field select, .field textarea {
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  padding: 15px 16px;
  width: 100%;
  transition: border-color 0.3s;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--brass);
}
.field select { appearance: none; cursor: pointer; }
.form-note { font-size: 0.85rem; color: var(--ink-dim); line-height: 1.6; }
.form-success {
  border: 1px solid var(--brass);
  padding: 26px;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--brass-bright);
}
.contact-aside .checklist { margin-top: 30px; }

/* ---------- Blog cards ---------- */
.blog-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.post-card {
  background: var(--bg);
  padding: 42px 32px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.4s;
}
.post-card:hover { background: var(--bg-2); }
.post-card .tag {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
}
.post-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.3;
}
.post-card p { color: var(--ink-dim); font-size: 0.93rem; line-height: 1.7; flex: 1; }
.post-card .soon {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-dim);
  border: 1px solid var(--line);
  padding: 8px 14px;
  width: max-content;
}

/* ---------- Footer (multi-column) ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 36px 60px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 50px;
}
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--brass-bright);
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-col a {
  display: block;
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 6px 0;
  transition: color 0.25s;
}
.footer-col a:hover { color: var(--brass-bright); }
.footer-about .brand { font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0.16em; }
.footer-about .brand em { color: var(--brass); font-style: normal; }
.footer-about p { color: var(--ink-dim); font-size: 0.92rem; line-height: 1.75; margin: 18px 0; max-width: 36ch; }
.footer-phone {
  color: var(--brass-bright) !important;
  font-family: var(--serif);
  font-size: 1.15rem !important;
  letter-spacing: 0.06em;
}
.footer-bar {
  border-top: 1px solid var(--line);
  max-width: 1240px;
  margin: 0 auto;
  padding: 26px 36px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* ---------- Mobile (multi-page) ---------- */
@media (max-width: 900px) {
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
  .nav-links { display: none; }
  .page-hero { padding: 130px 24px 64px; min-height: 64vh; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding: 56px 24px 40px; }
  .sticky-call {
    right: 0; left: 0; bottom: 0;
    justify-content: center;
    padding: 17px;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.5);
  }
  .site-footer { padding-bottom: 56px; } /* clear the sticky call bar */
  .checklist li { padding-left: 32px; }
  .btn-row { flex-direction: column; align-items: center; }
  .btn-row.left { align-items: flex-start; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Late fixes ---------- */
a.service { display: block; text-decoration: none; color: inherit; }
.site-footer { display: block; padding: 0; font-size: inherit; letter-spacing: normal; text-transform: none; }

/* ============================================================
   ENGAGEMENT PASS — Ken Burns, parallax, split-text, media rows,
   TV mock, showreel, founder, industry cards, micro-interactions
   ============================================================ */

/* Ken Burns on hero images (container handles parallax in JS) */
.page-hero-media { will-change: transform; }
.page-hero-media img {
  animation: kenburns 18s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns {
  from { transform: scale(1.02) translate(0, 0); }
  to   { transform: scale(1.12) translate(-1.5%, -2%); }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero-media img { animation: none; }
}

/* Split-text word reveal on display headlines */
h2.display .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em) rotate(1.5deg);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
h2.display.in .word { opacity: 1; transform: none; }

/* Button sheen */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -80%;
  width: 50%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn:hover::after { left: 130%; }

/* Card hover lift */
.service, .post-card, .ind-card {
  transition: background 0.4s, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s;
}
.service:hover, .post-card:hover, .ind-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

/* Media split row */
.media-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 70px;
}
.media-split figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 11;
}
.media-split figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.media-split:hover figure img { transform: scale(1.06); }
.media-split figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  pointer-events: none;
}
.media-split .ms-copy h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.2;
  margin: 16px 0 18px;
}
.media-split .ms-copy h3 em { color: var(--brass-bright); font-style: italic; }
.media-split .ms-copy p { color: var(--ink-dim); line-height: 1.8; }
.media-split.flip figure { order: 2; }

/* Full-bleed interlude with quote */
.interlude {
  position: relative;
  min-height: 64vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  margin: 40px 0;
}
.interlude > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.42) saturate(0.95);
}
.interlude-quote {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 60px 36px;
  text-align: center;
}
.interlude-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  line-height: 1.35;
  text-shadow: 0 2px 50px rgba(0, 0, 0, 0.9);
}
.interlude-quote .iq-kicker {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--brass-bright);
  margin-bottom: 22px;
  font-weight: 600;
}

/* TV mockup (OTT/CTV) */
.tv-mock {
  margin: 70px auto 0;
  max-width: 860px;
}
.tv-frame {
  position: relative;
  background: #000;
  border: 10px solid #1a1814;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(200, 155, 90, 0.18);
  overflow: hidden;
}
.tv-frame video { display: block; width: 100%; height: auto; }
.tv-stand {
  width: 220px;
  height: 8px;
  margin: 16px auto 0;
  background: linear-gradient(180deg, #1a1814, #0b0a08);
  border-radius: 4px;
}
.tv-caption {
  text-align: center;
  margin-top: 26px;
  color: var(--ink-dim);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

/* Showreel */
.reel-wrap { margin-top: 60px; }
.reel-wrap video {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  background: #000;
}

/* Founder split (About) */
.founder-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
  margin-top: 70px;
}
.founder-split figure {
  position: relative;
  overflow: hidden;
}
.founder-split img { width: 100%; display: block; }
.founder-split figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  pointer-events: none;
}
.founder-split figcaption {
  margin-top: 14px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass-bright);
}
.founder-split .lede { margin-top: 0; }

/* Industry image cards (Who We Serve) */
.ind-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 60px;
}
.ind-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
}
.ind-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  filter: saturate(0.95);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.ind-card:hover img { transform: scale(1.05); }
.ind-card .ic-body { padding: 26px 28px 32px; }
.ind-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.ind-card p { color: var(--ink-dim); font-size: 0.94rem; line-height: 1.7; }
.ind-card .ic-cta {
  display: inline-block;
  margin-top: 16px;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass-bright);
}

/* Scrub hero pages: pull first panel tight under the cinematic */
.cinematic + .panel { padding-top: 110px; }

@media (max-width: 900px) {
  .media-split { grid-template-columns: 1fr; gap: 30px; }
  .media-split.flip figure { order: 0; }
  .founder-split { grid-template-columns: 1fr; gap: 34px; }
  .ind-cards { grid-template-columns: 1fr; }
  .interlude { min-height: 52vh; }
}

/* ---------- Brand logo ---------- */
.nav-logo { height: 24px; width: auto; display: block; }
.nav.scrolled .nav-logo { height: 20px; }
.footer-logo { height: 26px; width: auto; display: block; }
@media (max-width: 900px) { .nav-logo { height: 20px; } }

/* ============================================================
   FONT SYSTEM v2 — "Madison Avenue" (2026-11-01)
   Libre Franklin (display + UI) / Source Serif 4 (prose).
   Overrides the Fraunces/Sora roles; loaded last, wins cascade.
   ============================================================ */
:root {
  --serif: "Libre Franklin", system-ui, sans-serif;   /* display rules point here */
  --sans: "Libre Franklin", system-ui, sans-serif;    /* UI chrome */
  --prose: "Source Serif 4", Georgia, serif;          /* body copy */
}

/* Headlines: heavy Franklin, tight tracking, no italic em */
h1, h2.display, .reveal-line, .cta h2 {
  font-weight: 900 !important;
  letter-spacing: -0.015em;
}
h2.display em, .reveal-line em, .cta h2 em, .page-hero h1 em { font-style: normal; }
.media-split .ms-copy h3, .service h3, .step h3, .ind-card h3, .post-card h3,
.outro h2, .founder-split figcaption { font-weight: 800; }
.stat-num, .step .num { font-weight: 800; }

/* Subheads: italic serif (the newspaper-ad counterpoint) */
.page-hero .hero-sub {
  font-family: var(--prose);
  font-style: italic;
  font-weight: 400;
}

/* Prose: Source Serif */
.lede, .service p, .checklist li, .step p, .post-card p, .ind-card p,
.pull-quote blockquote, .interlude-quote p, .footer-about p,
.form-note, .tv-caption, .cta p, .ms-copy p, .outro p {
  font-family: var(--prose);
}
.lede { font-size: 1.12rem; }

/* Quotes stay italic serif; kickers/buttons/nav inherit Franklin via --sans */
.nav-links a, .dropdown-toggle { white-space: nowrap; }
