/* =========================================================
   ManBold Video Production Portfolio — main.css
   Theme: taupe-on-cream with steel accents (light)
   ========================================================= */

:root {
  /* Dark cinematic palette — derived from the MANBOLD logo (black bg, gold wordmark, teal waves) */
  --bg:            #1C1F22;   /* deep charcoal — page background */
  --bg-alt:        #26292D;   /* slightly lighter surface */
  --bg-card:       #2D3034;   /* card surface */
  --text:          #E8DDC8;   /* warm cream — body text on dark */
  --text-muted:    #A09994;   /* muted warm-grey */
  --accent:        #C9A86B;   /* gold — primary accent (matches logo wordmark) */
  --accent-deep:   #A88848;   /* deeper gold for hover */
  --teal:          #5B9BA5;   /* teal — secondary accent (matches logo waves) */
  --teal-deep:     #3A6B75;   /* deeper teal */
  --steel:         #8A9197;   /* muted steel for ambient elements */
  --steel-soft:    #6E7378;   /* deeper steel */
  --steel-line:    #41454A;   /* dark hairline divider (visible on charcoal) */
  --strip-bg:      #0F1113;   /* near-black film strip */
  --strip-edge:    #000000;   /* darker strip edge */
  --perf:          #1C1F22;   /* perforations match page bg */
  --media-fg:      #F5EFE6;   /* cream — for elements layered on top of video */
  --shadow:        0 1px 2px rgba(0, 0, 0, 0.3),
                    0 8px 24px rgba(0, 0, 0, 0.5);
  --radius:        2px;
  --radius-lg:     4px;
  --maxw:          1400px;
  --gutter:        clamp(16px, 3vw, 32px);
  --font-sans:     "Inter", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --font-serif:    "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-deep); }

/* ---------- Base ---------- */
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.005em;
  margin: 0 0 0.5em;
  line-height: 1.15;
}
h1 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
h2 { font-size: clamp(1.7rem, 2.4vw, 2rem); }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); }

p { margin: 0 0 1em; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--steel-line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  background: rgba(28, 31, 34, 0.88);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.brand img {
  display: block;
  height: 100px;
  width: auto;
}
.brand-mark {
  display: none;  /* superseded by the logo image */
}
.header-meta {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Logo Band (homepage only — dark band hosting the MANBOLD logo) ---------- */
.logo-band {
  background: #000;
  padding: 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.logo-band img {
  display: inline-block;
  max-width: min(640px, 88%);
  height: auto;
  vertical-align: middle;
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(28px, 5vw, 72px) 0 clamp(20px, 3vw, 40px);
}
.hero-statement {
  max-width: 64ch;
  margin: 0 auto clamp(24px, 4vw, 48px);
  text-align: center;
}
.hero-statement .claim {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  color: var(--accent);
  margin: 0 0 0.3em;
  letter-spacing: 0.005em;
  line-height: 1.2;
}
.hero-statement .claim-sub {
  font-family: var(--font-sans);
  font-size: clamp(0.92rem, 1.2vw, 1rem);
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin: 0 0 1.4em;
  line-height: 1.4;
}
.hero-statement .eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8em;
}
.hero-statement h1 {
  margin: 0 0 0.4em;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
}
.hero-statement .lede {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  margin: 0;
}
.hero-caption {
  text-align: center;
  margin: clamp(14px, 2vw, 22px) 0 0;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.hero-caption a {
  color: var(--teal);
  border-bottom: 1px solid var(--steel-line);
  padding-bottom: 1px;
  margin-left: 4px;
}
.hero-caption a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- Player ---------- */
.player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.player video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.player .play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.25));
  cursor: pointer;
  transition: opacity 0.25s var(--ease);
  z-index: 2;
}
.player.is-playing .play-overlay { opacity: 0; pointer-events: none; }

.play-icon {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: rgba(245, 239, 230, 0.92);
  display: grid;
  place-items: center;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.player .play-overlay:hover .play-icon { transform: scale(1.06); background: var(--bg); }
.play-icon::after {
  content: "";
  display: block;
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent var(--text);
  margin-left: 5px;
}

/* Custom controls */
.player-controls {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 18px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.55));
}
.player.is-playing:hover .player-controls,
.player.is-playing.show-controls .player-controls {
  opacity: 1;
  transform: translateY(0);
}
.scrubber {
  flex: 1;
  height: 4px;
  background: rgba(245, 239, 230, 0.25);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}
.scrubber-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.08s linear;
}
.scrubber-handle {
  position: absolute;
  top: 50%;
  left: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--media-fg);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 2px var(--accent);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}
.player:hover .scrubber-handle { opacity: 1; }

.btn-mute {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  color: var(--media-fg);
  border-radius: 50%;
  transition: background 0.2s var(--ease);
}
.btn-mute:hover { background: rgba(245, 239, 230, 0.12); }
.btn-mute svg { width: 20px; height: 20px; fill: currentColor; }
.btn-mute .icon-mute  { display: none; }
.btn-mute.is-muted .icon-sound { display: none; }
.btn-mute.is-muted .icon-mute  { display: block; }

/* ---------- Film Strip ---------- */
.filmstrip-section {
  padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 5vw, 72px);
}
.filmstrip-section--bare {
  padding-top: 0;
  padding-bottom: clamp(12px, 1.5vw, 20px);  /* per-video pages: no heading, tighten both gaps */
}
.video-article + .filmstrip-section--bare {
  margin-top: 0;
}
/* Tighten article bottom padding only when followed by bare filmstrip */
.video-article {
  padding: clamp(32px, 4vw, 56px) 0 0;
}
.filmstrip-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.filmstrip-heading h2 { margin: 0; }
.filmstrip-heading .count {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.filmstrip {
  position: relative;
  background: var(--strip-bg);
  border-radius: var(--radius-lg);
  padding: 22px 0;
  overflow: hidden;
}
/* Sprocket holes — top and bottom rows of cream rectangles */
.filmstrip::before,
.filmstrip::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 14px;
  background-image:
    linear-gradient(90deg, var(--perf) 0 14px, transparent 14px 100%);
  background-repeat: repeat-x;
  background-size: 36px 14px;
  background-position: 10px center;
}
.filmstrip::before { top: 4px; }
.filmstrip::after  { bottom: 4px; }

.filmstrip-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 22px;
  padding: 8px 22px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
  -webkit-overflow-scrolling: touch;
}
.filmstrip-rail::-webkit-scrollbar { height: 6px; }
.filmstrip-rail::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }
.filmstrip-rail::-webkit-scrollbar-track { background: transparent; }

.frame {
  flex: 0 0 auto;
  width: clamp(180px, 22vw, 260px);
  aspect-ratio: 16 / 9;
  scroll-snap-align: start;
  position: relative;
  background: #000;
  border: 2px solid var(--strip-edge);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset;
}
.frame:hover, .frame:focus-visible {
  transform: translateY(-2px);
  outline: none;
}
.frame video, .frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.frame .frame-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 8px 10px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: #F5EFE6;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.7));
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.frame:hover .frame-label, .frame:focus-visible .frame-label { opacity: 1; }
.frame[aria-current="true"] {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

/* ---------- Article (per-video page) ---------- */
.video-article {
  padding: clamp(32px, 4vw, 56px) 0;
}
.video-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px 32px;
  max-width: 64ch;
  margin-top: clamp(20px, 3vw, 28px);
  margin-left: auto;
  margin-right: auto;
  padding-bottom: clamp(20px, 3vw, 28px);
  border-bottom: 1px solid var(--steel-line);
}
.video-meta .eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.video-meta h1 { margin: 6px 0 0; }
.video-meta .role {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.video-description {
  margin-top: clamp(20px, 3vw, 28px);
  max-width: 64ch;
  font-size: 1.02rem;
  color: var(--text);
}
/* Tighten only the paragraph wrapping the price button on per-video pages */
.video-description p:has(> .price) { margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--steel-line);
  padding: clamp(20px, 3vw, 36px) 0;
  margin-top: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.site-footer .container {
  display: block;
}
.site-footer .about {
  margin: 0 0 14px;
}
.site-footer .tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  color: var(--accent);
  margin: 0;
  letter-spacing: 0.005em;
  line-height: 1.2;
}
.site-footer .contact {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
}

/* Centered footer variant (per-video pages) */
.site-footer--centered .container {
  text-align: center;
}
.site-footer--centered .footer-brand {
  display: inline-block;
  line-height: 0;
  margin: 0 0 14px;
}
.site-footer--centered .footer-brand img {
  display: block;
  height: 100px;
  width: auto;
}
.site-footer--centered .about,
.site-footer--centered .tagline,
.site-footer--centered .contact {
  text-align: center;
}

/* ---------- The closing tagline (homepage hero, about page) ---------- */
.hero-statement .claim-close {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--accent);
  margin: 1.5em 0 0;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.video-meta .tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent);
  margin: 0.5em 0 0.7em;
  letter-spacing: 0.005em;
  line-height: 1.3;
}
.site-footer .contact a {
  color: var(--teal);
  border-bottom: 1px solid var(--steel-line);
  padding-bottom: 1px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.site-footer .contact a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- Responsive ---------- */
/* (legacy hero grid removed; new hero is centered, single-column at all breakpoints) */

@media (max-width: 600px) {
  .frame { width: 39vw; }
  .filmstrip-rail { scroll-padding-left: 16px; padding: 6px 16px; gap: 10px; }
  .filmstrip { padding: 18px 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .frame video { display: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .filmstrip-section, .player-controls, .play-overlay { display: none; }
}


/* ---------- Price (clickable, links to process page) ---------- */
.video-description .price {
  display: inline-block;
  margin-top: clamp(8px, 1vw, 14px);
  padding: 12px 22px;
  border: 1px solid var(--accent);
  color: var(--accent-deep);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.video-description .price:hover,
.video-description .price:focus-visible {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-1px);
  outline: none;
}
.video-description .price::after {
  content: " →";
  margin-left: 0.4em;
  display: inline-block;
  transition: transform 0.2s var(--ease);
}
.video-description .price:hover::after { transform: translateX(3px); }

/* ---------- Human-directed badge ---------- */
.video-description .badge {
  margin-top: 14px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.video-description .badge a {
  color: var(--text-muted);
  border-bottom: 1px dotted transparent;
  padding-bottom: 1px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.video-description .badge a:hover {
  color: var(--teal);
  border-bottom-color: var(--steel-line);
}

/* ---------- Case study (per-video deep page) ---------- */
.case-study {
  border-top: 1px solid var(--steel-line);
  padding: clamp(28px, 4vw, 56px) 0 clamp(20px, 3vw, 32px);
}
/* Keep the page container at full width (matches video-article above);
   constrain the readable text column itself instead, so it stacks left-aligned
   with the video description rather than centering on the page. */
.case-study h2,
.case-study h3,
.case-study p,
.case-study .positioning-quote,
.case-study .engagement-details,
.case-study .case-study-footer {
  max-width: 64ch;
}
.case-study h2 {
  margin: clamp(20px, 2.5vw, 32px) 0 0.4em;
}
.case-study h2:first-child {
  margin-top: 0;
}
.case-study h3 {
  margin: clamp(20px, 2.5vw, 32px) 0 0.6em;
  font-size: clamp(1.15rem, 1.4vw, 1.3rem);
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  font-weight: 500;
}
.case-study p {
  margin: 0 0 1em;
  color: var(--text);
  line-height: 1.65;
}
.engagement-details {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 24px;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--steel-line);
  font-size: 0.95rem;
}
.engagement-details dt {
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding-top: 4px;
}
.engagement-details dd {
  margin: 0;
  color: var(--text);
}
@media (max-width: 600px) {
  .engagement-details {
    grid-template-columns: 1fr;
    gap: 4px 0;
  }
  .engagement-details dt {
    margin-top: 12px;
  }
  .engagement-details dt:first-child {
    margin-top: 0;
  }
}

/* Filmstrip section heading on per-video pages */
.filmstrip-title {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 14px;
}

/* Positioning pull-quote inside case studies */
.positioning-quote {
  margin: clamp(28px, 4vw, 48px) 0;
  padding: 0 0 0 clamp(20px, 3vw, 32px);
  border-left: 2px solid var(--accent);
}
.positioning-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  color: var(--accent);
  margin: 0 0 0.4em;
  line-height: 1.3;
  letter-spacing: 0.005em;
}
.positioning-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Closing link from a case study back to topical hub */
.case-study-footer {
  margin: clamp(24px, 3vw, 36px) 0 0;
  padding-top: clamp(20px, 2.5vw, 28px);
  border-top: 1px solid var(--steel-line);
  font-size: 0.92rem;
  color: var(--text-muted);
}
.case-study-footer a {
  color: var(--teal);
  border-bottom: 1px solid var(--steel-line);
  padding-bottom: 1px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.case-study-footer a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- Topical hub page (/brand-films-for-wealth-managers.html) ---------- */
.topical-hub {
  padding: clamp(32px, 5vw, 72px) 0 clamp(40px, 6vw, 80px);
}
.topical-hub .container {
  max-width: 64ch;
}
.topical-hub .eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.8em;
}
.topical-hub h1 {
  margin: 0 0 0.5em;
}
.topical-hub .lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0 0 clamp(28px, 3vw, 40px);
}
.topical-hub h2 {
  margin: clamp(28px, 3vw, 40px) 0 0.6em;
}
.topical-hub h3 {
  margin: clamp(20px, 2vw, 28px) 0 0.5em;
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  color: var(--text);
}
.topical-hub p {
  line-height: 1.65;
  margin: 0 0 1em;
}
.topical-hub .hub-audience-list {
  margin: 0 0 1em;
  padding-left: 1.4em;
  color: var(--text);
  line-height: 1.7;
}
.topical-hub .hub-audience-list li {
  margin-bottom: 0.4em;
}
.topical-hub .hub-slate-link {
  margin: clamp(20px, 2vw, 28px) 0 clamp(28px, 3vw, 40px);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
}
.topical-hub .hub-slate-link a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}
.topical-hub .hub-cta {
  margin: clamp(32px, 4vw, 56px) 0 0;
  text-align: center;
}
.topical-hub .hub-cta .price {
  display: inline-block;
  margin: 0;
  padding: 14px 28px;
  border: 1px solid var(--accent);
  color: var(--accent-deep);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.topical-hub .hub-cta .price:hover,
.topical-hub .hub-cta .price:focus-visible {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-1px);
  outline: none;
}
.topical-hub a {
  color: var(--teal);
  border-bottom: 1px solid var(--steel-line);
  padding-bottom: 1px;
}
.topical-hub a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.topical-hub strong { color: var(--accent); }
.topical-hub em {
  font-family: var(--font-serif);
  font-size: 1.05em;
}

/* Combined H1 on homepage hero — longer line that absorbs the old lede */
.hero-statement h1 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.3;
  margin: 0 0 0.4em;
}
.hero-statement h1 .by-a-human {
  color: var(--accent);
  border-bottom: 1px solid var(--steel-line);
  padding-bottom: 1px;
  font-style: italic;
}
.hero-statement h1 .by-a-human:hover {
  color: var(--accent-deep);
  border-bottom-color: var(--accent);
}

/* ---------- Center the reading column under the centered video player ----------
   These rules center the constrained-width text blocks horizontally on the page.
   Text alignment INSIDE each block stays left for readability — only the column
   itself sits in the middle of the parent container, anchoring under the video. */
.video-description,
.case-study h2,
.case-study h3,
.case-study p,
.case-study .positioning-quote,
.case-study .engagement-details,
.case-study .case-study-footer {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Muted autoplay state ----------
   Video plays silently on load; overlay stays visible as a "click for sound"
   affordance until the user taps it (which unmutes via user gesture). */
.player.is-muted-autoplay .play-overlay {
  opacity: 1 !important;
  pointer-events: auto !important;
}
.player.is-muted-autoplay .play-overlay::after {
  content: "Tap for sound";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--media-fg);
  background: rgba(0, 0, 0, 0.45);
  padding: 6px 14px;
  border-radius: 999px;
  pointer-events: none;
  white-space: nowrap;
}

/* During muted-autoplay, drop the big circular play icon — the "Tap for sound"
   pill is enough of an affordance, and the icon implies "click to play" which
   isn't what's actually happening. */
.player.is-muted-autoplay .play-icon {
  display: none;
}
.player.is-muted-autoplay .play-overlay {
  /* lighter scrim so the video reads through; pill remains the focal point */
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.35));
}

/* Keep "edited by a human" together on the H1 — naturally flows to the next
   line when there isn't room to fit it on the previous one. */
.hero-statement h1 .h1-nowrap {
  white-space: nowrap;
}
