/* Joe Patneaude | Speaker & Leadership Advisor
   Design tokens: one accent color, everything else black/white/neutral.
   Change --accent to test palette options (keep in sync with the one-sheet). */

:root {
  --ink: #0d0d0d;
  --paper: #f4f2ed;
  --white: #ffffff;
  --muted: #6b6a66;
  --line: rgba(13, 13, 13, 0.14);
  --line-dark: rgba(255, 255, 255, 0.16);
  --accent: #ff4d1a;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(80px, 12vw, 180px);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */

.display, h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 95%;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 0;
}

h1, .h1 { font-size: clamp(3rem, 9.2vw, 9.5rem); }
h2, .h2 { font-size: clamp(2.4rem, 6vw, 5.5rem); }
h3, .h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -0.02em; line-height: 1.05; }

.accent { color: var(--accent); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 28px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.eyebrow .num { color: var(--accent); }

.lede {
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.55;
  max-width: 38ch;
  margin: 0;
}

.prose { max-width: 62ch; }
.prose p { margin: 0 0 1.2em; }
.prose p:last-child { margin-bottom: 0; }

.muted { color: var(--muted); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
  text-decoration: none;
  line-height: 1;
}
.logo span { display: block; font-family: var(--font-body); font-weight: 500; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  position: relative;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav a:not(.btn):hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  padding: 8px 0;
  color: var(--ink);
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  /* The header's backdrop-filter makes it the containing block for this fixed panel,
     so the panel gets an explicit height instead of relying on bottom: 0. */
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    height: calc(100vh - 72px);
    height: calc(100dvh - 72px);
    overflow-y: auto;
    border-top: 1px solid var(--line);
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 24px var(--gutter);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { font-family: var(--font-display); font-weight: 800; font-size: 40px; letter-spacing: -0.03em; padding: 10px 0; }
  .nav a.btn { font-family: var(--font-body); font-size: 16px; margin-top: 24px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 24px;
  border: 2px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn.accent-btn { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn.accent-btn:hover { background: var(--white); border-color: var(--white); }
.btn.small { padding: 10px 16px; font-size: 14px; }
.btn[disabled], .btn.disabled { opacity: .4; pointer-events: none; }

.dark .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.dark .btn:hover { background: var(--accent); border-color: var(--accent); }
.dark .btn.ghost { background: transparent; color: var(--paper); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }

.arrow-link {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 3px;
}
.arrow-link:hover { color: var(--accent); }

/* ---------- Sections ---------- */

section { padding: var(--section) 0; }
.dark { background: var(--ink); color: var(--paper); }
.dark .muted { color: #9b9a95; }
.white { background: var(--white); }
.rule { border-top: 1px solid var(--line); }
.dark.rule { border-color: var(--line-dark); }

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: clamp(48px, 7vw, 96px);
}
@media (min-width: 900px) {
  .section-head.split { grid-template-columns: 1.3fr 1fr; align-items: end; }
}

/* ---------- Hero ---------- */

.hero { padding: clamp(72px, 12vw, 170px) 0 clamp(64px, 9vw, 120px); }
.hero h1 { max-width: 13ch; }
.hero .hero-foot {
  display: grid;
  gap: 40px;
  margin-top: clamp(48px, 7vw, 96px);
}
@media (min-width: 900px) {
  .hero .hero-foot { grid-template-columns: 1fr auto; align-items: end; }
  .hero .hero-foot .btn-row { margin-top: 0; }
}

/* ---------- Credibility strip ---------- */

.strip { padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.strip li {
  padding: 28px 24px 28px 0;
  font-size: 15px;
  line-height: 1.4;
  border-top: 1px solid var(--line);
}
.strip li:nth-child(-n+2) { border-top: 0; }
/* odd item count: the last one takes the full row on mobile */
.strip li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.strip strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 6px;
}
@media (min-width: 900px) {
  .strip ul { grid-template-columns: repeat(4, 1fr); }
  .strip li { border-top: 0; padding: 36px 24px; border-left: 1px solid var(--line); }
  .strip li:first-child { border-left: 0; padding-left: 0; }
  .strip li:last-child:nth-child(odd) { grid-column: auto; }
}

/* ---------- Grids & cards ---------- */

.grid-2 { display: grid; gap: 2px; background: var(--line); border: 1px solid var(--line); }
.grid-3 { display: grid; gap: 0; }
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-2.weighted { grid-template-columns: 1.35fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--paper);
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 420px;
}
.card.inverse { background: var(--ink); color: var(--paper); }
.card .card-foot { margin-top: auto; padding-top: 24px; }
.card .tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.card.inverse .tag { color: var(--accent); }
.card.inverse .arrow-link { color: var(--paper); }

.principle {
  padding: 40px 0;
  border-top: 2px solid var(--ink);
}
.dark .principle { border-color: var(--paper); }
.principle .num { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; color: var(--accent); display: block; margin-bottom: 20px; }
.principle h3 { margin-bottom: 16px; }
.principle p { margin: 0; max-width: 34ch; }
@media (min-width: 900px) {
  .grid-3 .principle { padding-right: 40px; }
}

/* ---------- Keynote feature ---------- */

.keynote-title { font-size: clamp(3rem, 8.5vw, 8.5rem); max-width: 11ch; }
.keynote-sub {
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 100%;
  font-size: clamp(1.3rem, 2.4vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 28px 0 0;
  max-width: 28ch;
}

.meta {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  margin-top: clamp(48px, 7vw, 88px);
}
.dark .meta { border-color: var(--line-dark); }
.meta div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.dark .meta div { border-color: var(--line-dark); }
.meta dt { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.meta dd { margin: 0; font-weight: 500; }
@media (min-width: 900px) {
  .meta { grid-template-columns: repeat(4, 1fr); }
  .meta div { padding: 26px 24px 26px 0; }
}

/* ---------- Two-column content ---------- */

.cols {
  display: grid;
  gap: 48px;
}
@media (min-width: 900px) {
  .cols { grid-template-columns: 5fr 7fr; gap: 80px; }
  .cols.even { grid-template-columns: 1fr 1fr; }
  .cols .sticky { position: sticky; top: 120px; align-self: start; }
}

.list-clean { list-style: none; margin: 0; padding: 0; }
.list-clean li {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 8px;
}
.dark .list-clean li { border-color: var(--line-dark); }
.list-clean li:last-child { border-bottom: 1px solid var(--line); }
.dark .list-clean li:last-child { border-color: var(--line-dark); }
.list-clean .n { color: var(--accent); font-weight: 600; font-size: 14px; padding-top: 4px; }
.list-clean strong { display: block; font-size: 1.1rem; margin-bottom: 4px; }

/* ---------- Quote ---------- */

.quote {
  margin: 0;
}
.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 95%;
  font-size: clamp(1.8rem, 4.2vw, 3.9rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 22ch;
}
.quote blockquote::before {
  content: "\201C";
  display: block;
  color: var(--accent);
  font-size: 1.6em;
  line-height: .6;
  margin-bottom: 18px;
}
.quote figcaption { margin-top: 36px; font-size: 15px; }
.quote figcaption strong { display: block; font-size: 16px; }

.placeholder-note {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--ink);
  padding: 4px 8px;
  margin-bottom: 18px;
}

/* ---------- Photo slots (sparse, curated, b/w treatment) ---------- */

.photo {
  position: relative;
  background: #d9d6cf;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.photo.wide { aspect-ratio: 16 / 10; }
.photo .slot-label {
  position: absolute;
  inset: auto 16px 16px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.photo::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 56px; height: 6px;
  background: var(--accent);
}

/* ---------- Video placeholder ---------- */

.video-slot {
  aspect-ratio: 16 / 9;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 4vw, 48px);
}
.video-slot .play {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  display: grid;
  place-items: center;
}
.video-slot .play::before {
  content: "";
  border-left: 18px solid var(--accent);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 5px;
}

/* ---------- Bio variants ---------- */

.bio {
  border-top: 2px solid var(--ink);
  padding: 32px 0 40px;
}
.bio-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.bio-head h3 { font-size: 1.5rem; }
.bio-head .count { font-size: 13px; color: var(--muted); margin-left: 10px; font-family: var(--font-body); font-weight: 500; letter-spacing: 0; }
.bio-text { max-width: 68ch; }
.bio-text p { margin: 0 0 1em; }

/* ---------- Form ---------- */

.form { display: grid; gap: 22px; }
@media (min-width: 700px) {
  .form { grid-template-columns: 1fr 1fr; }
  .form .full { grid-column: 1 / -1; }
}
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  padding: 10px 0 12px;
  outline: none;
  appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }

.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice-row label { margin: 0; position: relative; }
.choice-row input { position: absolute; opacity: 0; pointer-events: none; }
.choice-row span {
  display: inline-block;
  border: 2px solid var(--ink);
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}
.choice-row input:checked + span { background: var(--ink); color: var(--paper); }
.choice-row input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- CTA band ---------- */

.cta-band h2 { max-width: 16ch; }
.cta-band .btn-row { margin-top: 56px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 72px 0 40px;
  border-top: 1px solid var(--line-dark);
}
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer .logo { font-size: 28px; }
.site-footer .logo span { color: #9b9a95; }
.site-footer h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #9b9a95; margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-base {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 14px;
  color: #9b9a95;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

/* ---------- Draft markers (remove before launch) ---------- */

.todo {
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  box-shadow: inset 0 -2px 0 var(--accent);
  padding: 0 3px;
}

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Hero with cutout portrait (home) ---------- */

.hero-photo {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 5vw, 72px) 0 0;
}
.hero-grid { display: grid; grid-template-areas: "head" "img" "body"; position: relative; }
.hero-head { grid-area: head; position: relative; z-index: 2; }
.hero-body { grid-area: body; position: relative; z-index: 2; padding: 8px 0 clamp(64px, 8vw, 110px); }
.hero-photo h1 { font-size: clamp(2.9rem, 6.6vw, 7rem); max-width: 12ch; }
.hero-photo .lede { max-width: 40ch; }
.hero-photo .btn-row { margin-top: 36px; }

.hero-cut {
  grid-area: img;
  position: relative;
  z-index: 1;
  margin: 8px auto 0;
  width: min(78%, 360px);
}
/* soft light behind the figure so he sits in the page, not on it */
.hero-cut::before {
  content: "";
  position: absolute;
  inset: 4% -18% 10% -18%;
  background:
    radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 100%),
    radial-gradient(closest-side at 50% 60%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 100%);
  z-index: -1;
}
.hero-cut img {
  width: 100%;
  height: auto;
  -webkit-mask-image:
    linear-gradient(to bottom, #000 62%, transparent 98%),
    linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, #000 62%, transparent 98%),
    linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-composite: intersect;
}

@media (max-width: 899px) {
  .hero-cut { margin-bottom: -14%; }
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.5fr 1fr;
    grid-template-areas: "head img" "body img";
    grid-template-rows: auto 1fr;
    column-gap: clamp(24px, 3vw, 48px);
  }
  .hero-photo h1 { max-width: 14ch; }
  .hero-body { align-self: end; padding: clamp(28px, 3vw, 44px) 0 clamp(56px, 6vw, 88px); }
  .hero-cut {
    align-self: end;
    width: 112%;
    max-width: none;
    margin: 0 0 0 -6%;
  }
}

/* ---------- Hero background variants ---------- */

.hero-photo > .wrap { position: relative; z-index: 1; }

/* Shared light rig: spotlight, haze, floor. Colors come from the site palette. */
.hero-photo.stage::before, .hero-photo.stage::after,
.hero-photo.studio::before, .hero-photo.studio::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-photo .hero-cut::before { display: none; }

/* Studio (default): airy paper room, warm white light on the figure, soft floor shadow */
.hero-photo.studio { background: var(--paper); }
.hero-photo.studio::before { display: none;
  background:
    radial-gradient(ellipse 30% 100% at 76% -12%, rgba(255, 253, 249, 0.55), rgba(255, 253, 249, 0.15) 50%, transparent 80%),
    radial-gradient(circle at 76% 50%, rgba(255, 254, 251, 0.35), transparent 38%),
    radial-gradient(ellipse 28% 6% at 76% 100%, rgba(13, 13, 13, 0.08), transparent 100%);
}
.hero-photo.studio::after {
  background: repeating-linear-gradient(100deg, rgba(13, 13, 13, 0.012) 0 1px, transparent 1px 160px);
}

/* Stage (neutral): dark room, white light only, accent stays in the type */
.hero-photo.stage { background: #0e0e0e; }
.hero-photo.stage::before {
  background:
    radial-gradient(ellipse 26% 95% at 76% -8%, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.05) 55%, transparent 75%),
    radial-gradient(circle at 76% 56%, rgba(255, 255, 255, 0.10), transparent 38%),
    radial-gradient(ellipse 32% 8% at 76% 100%, rgba(255, 255, 255, 0.14), transparent 100%),
    radial-gradient(ellipse 120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, 0.5) 100%);
}
.hero-photo.stage::after {
  background: repeating-linear-gradient(100deg, rgba(255, 255, 255, 0.018) 0 2px, transparent 2px 140px);
  mix-blend-mode: screen;
}
.hero-photo.stage .lede, .hero-photo.stage .eyebrow { color: #c9c5bd; }

@media (max-width: 899px) {
  .hero-photo.studio::before {
    background:
      radial-gradient(ellipse 60% 70% at 50% 20%, rgba(255, 255, 255, 0.9), transparent 70%),
      radial-gradient(circle at 50% 52%, rgba(255, 255, 255, 0.8), transparent 42%);
  }
  .hero-photo.stage::before {
    background:
      radial-gradient(ellipse 60% 70% at 50% 18%, rgba(255, 255, 255, 0.14), transparent 70%),
      radial-gradient(ellipse 120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, 0.5) 100%);
  }
}

/* ---------- Light hero backdrop: warm base, drifting keynote title ---------- */


.hero-photo.studio { isolation: isolate; }
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.hero-photo:not(.studio) .hero-bg { display: none; }

/* calm warm base, no hotspot */
.hero-photo.studio { background: var(--paper); }

/* giant keynote title drifting behind the figure */
.hero-bg .marquee-wrap {
  position: absolute;
  inset: 0;
}
@media (min-width: 900px) {
  .hero-bg .marquee-wrap {
    -webkit-mask-image: linear-gradient(to right, transparent 42%, #000 62%);
    mask-image: linear-gradient(to right, transparent 42%, #000 62%);
  }
}
.hero-bg .marquee {
  position: absolute;
  left: 0;
  top: 40%;
  display: flex;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 95%;
  font-size: clamp(9rem, 19vw, 20rem);
  letter-spacing: -0.045em;
  line-height: 1;
  color: rgba(120, 96, 70, 0.09);
  animation: marquee 70s linear infinite;
  will-change: transform;
}
.hero-bg .marquee span { padding-right: 0.3em; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* grain */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
/* settle into the paper color at the bottom */
.hero-bg::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 22%;
  background: linear-gradient(to bottom, transparent, var(--paper));
  z-index: 1;
}

@media (max-width: 899px) {
  .hero-bg .marquee { top: 44%; font-size: 44vw; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg .marquee { animation: none; }
}

/* ---------- Bigger figure (home hero) ---------- */
.hero-photo .hero-cut {
  /* fade ends a little before the bottom so the cutout's light edge pixels never show */
  -webkit-mask-image: linear-gradient(to bottom, #000 64%, transparent 95%), linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 64%, transparent 95%), linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-composite: intersect;
}
.hero-photo .hero-cut img { -webkit-mask-image: none; mask-image: none; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.25fr 1fr; }
  .hero-photo .hero-cut {
    width: 100%;
    margin: 0;
    /* header (73px) + hero top padding, so the figure ends exactly at the fold */
    height: clamp(560px, calc(100svh - 73px - clamp(32px, 5vw, 72px)), 820px);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }
  .hero-photo .hero-cut img {
    width: auto;
    height: 118%;
    max-width: none;
    flex: none;
  }
}
@media (max-width: 899px) {
  .hero-photo .hero-cut { width: min(100%, 520px); margin: 16px auto -10%; }
}
/* short desktop screens: keep the whole hero inside the first screen */
@media (min-width: 900px) and (max-height: 880px) {
  .hero-photo { padding-top: 28px; }
  .hero-photo h1 { font-size: clamp(3rem, 5vw, 4.3rem); }
  .hero-photo .hero-head .eyebrow { margin-bottom: 18px; }
  .hero-photo .hero-body { padding-bottom: 12px; }
  .hero-photo .hero-body .btn-row { margin-top: 24px; }
}

/* flat paper behind the bust: no bottom fade, no grain, no haze */
.hero-bg::before { display: none; }
.hero-bg::after, .hero-photo.studio::after { display: none; }
@media (max-width: 899px) {
  .hero-bg .marquee-wrap { display: none; }
}
/* the text column is capped by --wrap, so cap the headline too (keeps the CTAs above the fold) */
@media (min-width: 900px) {
  .hero-photo h1 { font-size: clamp(3rem, 5.8vw, 5.4rem); }
  .hero-photo .hero-body { padding-bottom: clamp(16px, 2vw, 28px); }
}
@media (min-width: 900px) and (max-height: 880px) {
  .hero-photo h1 { font-size: clamp(3rem, 5vw, 4.3rem); }
}

/* ---------- Thank-you page ---------- */
.thanks { min-height: calc(100svh - 73px - 220px); display: flex; align-items: center; }
.thanks > .wrap { width: 100%; }
.thanks h1 { max-width: 12ch; }
.thanks-link { text-decoration: none; color: inherit; transition: color .2s ease; }
.thanks-link:hover h3 { color: var(--accent); }

/* ---------- Testimonial cards ---------- */
.tgrid-head { margin-top: clamp(64px, 8vw, 112px); }
.tgrid { display: grid; gap: clamp(32px, 4vw, 56px); }
@media (min-width: 900px) {
  .tgrid { grid-template-columns: repeat(3, 1fr); }
  .tgrid.two { grid-template-columns: repeat(2, 1fr); }
}
.tcard { margin: 0; padding-top: 28px; border-top: 2px solid var(--ink); display: flex; flex-direction: column; gap: 24px; }
.tcard blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-stretch: 100%;
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.tcard blockquote::before { content: "\201C"; color: var(--accent); margin-right: 2px; }
.tcard blockquote::after { content: "\201D"; }
.tcard figcaption { margin-top: auto; font-size: 15px; line-height: 1.4; }
.tcard figcaption strong { display: block; font-size: 16px; }

/* ---------- Bunny video embed ---------- */
.video-embed { position: relative; aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Big preview video inside the dark speaking hero, on the same column as the
   headline, meta row and buttons so every edge lines up */
.video-cinema {
  margin: clamp(48px, 6vw, 88px) 0 0;
}
.video-cinema figcaption {
  margin-top: 16px;
  font-size: 14px;
  color: #9b9a95;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.video-cinema figcaption .accent { font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; padding-top: 2px; }

/* Quiet recognition line under the home hero buttons */
.hero-award {
  margin: 22px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-award::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
