/* Inter, served from this site (variable font: weights 400 to 600, optical sizes 14 to 32). */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ------------------------------------------------------------
   toby.grapples, social media for medical practices and local businesses
   Clean black site. Same type and tone family as clearflow-systems.at:
   Inter, medium-weight tightly set headlines, muted body text, hairline
   kickers ("01 / ..."), lots of air. Dark values taken from ClearFlow's
   own dark palette so the two sites feel related. One cool accent.
   ------------------------------------------------------------ */

:root {
  --bg: #111110;
  --surface: #161613;
  --elev: #1a1a17;
  --ink: #f4f3ef;
  --muted: #a8a79f;
  --faint: #737269;
  --line: #2b2a26;
  --line-strong: #3a3934;
  --accent: #bfe4ff;

  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --t-h1: clamp(2.2rem, 1.55rem + 2.7vw, 3.75rem);
  --t-h2: clamp(1.65rem, 1.3rem + 1.5vw, 2.35rem);
  --t-h3: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  --t-lead: clamp(1.05rem, 1rem + 0.5vw, 1.25rem);
  --fs-sm: 0.9375rem;
  --fs-0: 1.0625rem;

  --r-lg: 16px;
  --r-md: 12px;
  --pill: 999px;

  --container: 1120px;
  --gutter: clamp(20px, 4vw, 48px);
  --space-section: clamp(80px, 10vw, 140px);
  --header-h: 74px; /* 14px gap + 60px capsule */
  --accent2: #4f8cff; /* the second colour: small signals and soft glows */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-optical-sizing: auto;
  font-size: var(--fs-0);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3 {
  margin: 0;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1 { font-size: var(--t-h1); line-height: 1.08; letter-spacing: -0.03em; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); letter-spacing: -0.015em; }

.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.section { padding-block: var(--space-section); }
.section + .section { padding-top: 0; }
.section--booking { padding-bottom: clamp(40px, 5vw, 64px); }
/* Jumping to a section leaves room for the floating header above its heading. */
section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

/* Kicker line: "01 / Topic" with a hairline running to the right edge. */
.kicker {
  display: flex; align-items: center; gap: 18px;
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--faint); font-weight: 500;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.kicker::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.kicker .num { color: var(--accent2); }
/* A faint light in the second colour behind each section of the home page. */
.page-home .section { position: relative; }
.page-home .section::before {
  content: ""; position: absolute; left: -8%; top: 5%; width: 55%; height: 70%; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, rgba(79, 140, 255, 0.11), transparent); filter: blur(12px);
}
.page-home .section > * { position: relative; z-index: 1; }

/* Two-column section body: heading left, content right. */
.split { display: grid; gap: 28px 64px; }
@media (min-width: 860px) { .split { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }
.split h2 { max-width: 16ch; }
.split .lead { color: var(--muted); font-size: var(--t-lead); line-height: 1.6; max-width: 56ch; }
.split .lead + p { margin-top: 1rem; }

/* Centred section head, used where a section has no side text. */
.section-head { max-width: 62ch; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { margin-top: 1rem; font-size: var(--t-lead); color: var(--muted); max-width: 52ch; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center h2 { max-width: 22ch; margin-inline: auto; }
.section-head--center p { margin-inline: auto; }
.section-head--center + .steps { margin-top: 0; }

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: var(--r-md);
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 1.4rem;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font: inherit; font-weight: 500; font-size: var(--fs-sm); line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn-primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-primary:hover { background: #ffffff; border-color: #ffffff; }
.btn-secondary, .btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover, .btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 0.65rem 1.1rem; font-size: 0.875rem; }

.text-link { color: var(--ink); text-decoration: none; font-weight: 500; font-size: var(--fs-sm); border-bottom: 1px solid color-mix(in srgb, var(--accent2) 70%, transparent); padding-bottom: 2px; }
.text-link:hover { border-color: var(--ink); }

/* ---------- Draft banner ---------- */

.draft-banner {
  background: var(--elev);
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
  padding: 0.5rem var(--gutter);
  border-bottom: 1px solid var(--line);
}
.is-placeholder {
  text-decoration: underline dashed var(--faint);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}

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

/* Floating capsule: a rounded glass bar that hovers over the hero clip; the page scrolls past under it. */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 14px 0 0;
  pointer-events: none; /* only the capsule itself catches clicks */
}
.header-inner {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 58px; position: relative;
  padding-left: 20px; padding-right: 8px;
  background: rgba(22, 22, 19, 0.66);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid var(--line-strong); border-radius: var(--pill);
}
.brand { font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 30px; height: 30px; display: block; }
.brand-dot { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 400; font-size: var(--fs-sm); color: var(--muted); }
.nav a:not(.btn):hover { color: var(--ink); }
.nav .lang {
  color: var(--ink);
  padding: 0.3rem 0.55rem; border-radius: var(--pill);
  border: 1px solid var(--line-strong); font-size: 0.75rem; letter-spacing: 0.06em;
}
.nav a:not(.btn):not(.lang) { position: relative; }
.nav a:not(.btn):not(.lang)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
}
.nav a:not(.btn):not(.lang):hover::after, .nav a:not(.btn):not(.lang):focus-visible::after { transform: scaleX(1); }
.nav .btn-primary { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.nav .btn-primary:hover { background: #ffffff; color: var(--bg); border-color: #ffffff; }
.nav-toggle {
  display: none;
  font: inherit; font-weight: 500; font-size: 0.875rem;
  background: transparent; border: 1px solid var(--line-strong); border-radius: var(--pill);
  padding: 0.55rem 0.95rem; cursor: pointer; color: var(--ink);
}

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: calc(100% + 8px);
    background: rgba(22, 22, 19, 0.96); border: 1px solid var(--line-strong); border-radius: 24px;
    padding: 12px 20px 20px;
    flex-direction: column; align-items: flex-start; gap: 4px;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 0.7rem 0; font-size: 1.1rem; color: var(--ink); }
  .nav .lang { padding: 0.3rem 0.6rem; font-size: 0.8rem; margin-top: 4px; }
  .nav .btn { margin-top: 12px; }
  .nav a:not(.btn)::after { display: none; }
}

/* ---------- Hero (full-bleed muted video behind the headline) ---------- */

.hero {
  position: relative;
  overflow: hidden;
  /* Starts under the sticky header so the clip runs behind the glass bar. */
  margin-top: calc(-1 * var(--header-h));
  min-height: calc(min(78vh, 760px) + var(--header-h));
  display: flex; align-items: center;
  padding-block: calc(var(--header-h) + clamp(72px, 10vw, 140px)) clamp(56px, 7vw, 96px);
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; background: var(--bg); }
.hero-bg video, .hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  opacity: 1;
  /* The hall light is flat and grey; lift it and give it back some colour. */
  filter: brightness(1.2) contrast(1.05) saturate(1.2);
}
/* Soft light in the second colour over the clip, top right and bottom left. */
.hero-bg::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(60% 65% at 88% 10%, rgba(79, 140, 255, 0.32), transparent 70%),
    radial-gradient(45% 50% at 8% 95%, rgba(79, 140, 255, 0.12), transparent 70%);
}
/* Blurred clips: enough that on-screen text cannot be read, little enough to still see what happens. */
.hero-bg--blur video, .hero-bg--blur img, .hero-bg video.is-blur {
  filter: blur(14px) saturate(1.15);
  transform: scale(1.12);
  opacity: 0.55;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    /* dark band at the very top: hides the grey wall behind the floating capsule */
    linear-gradient(180deg, rgba(17, 17, 16, 0.72) 0%, rgba(17, 17, 16, 0.35) 90px, rgba(17, 17, 16, 0) 190px),
    /* text side a little darker, the rest untouched */
    linear-gradient(90deg, rgba(17, 17, 16, 0.5) 0%, rgba(17, 17, 16, 0.2) 50%, rgba(17, 17, 16, 0.02) 100%),
    /* short fade into the page colour at the bottom */
    linear-gradient(180deg, rgba(17, 17, 16, 0) 0%, rgba(17, 17, 16, 0) 72%, var(--bg) 100%);
}
/* Blurred spot that follows a logo in the background clip; main.js positions it. */
.hero-patch {
  position: absolute; z-index: 1; pointer-events: none;
  border-radius: 50%;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  background: rgba(17, 17, 16, 0.25);
}
.hero-patch[hidden] { display: none; }
.hero-inner { position: relative; }
.hero .eyebrow { margin-bottom: 1.5rem; color: var(--accent2); }
.hero h1 { max-width: 18ch; }
.hero-sub {
  margin-top: 1.5rem;
  font-size: var(--t-lead); line-height: 1.6;
  color: var(--muted);
  max-width: 52ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }

/* ---------- Ring of reels ---------- */

.reels { padding-block: clamp(16px, 3vw, 32px) clamp(32px, 4vw, 56px); overflow: hidden; position: relative; z-index: 0; }
.reels + .section { padding-top: clamp(48px, 6vw, 72px); }
.reels .kicker { margin-bottom: clamp(28px, 4vw, 44px); }
.hero + .section { padding-top: clamp(48px, 7vw, 88px); }
.ring {
  position: relative;
  isolation: isolate; /* keeps the cards' stacking order inside the ring, below the sticky header */
  height: calc(var(--ring-card) * 16 / 9 + 64px);
  --ring-card: 290px;
}
@media (max-width: 899px) { .ring { --ring-card: min(46vw, 200px); } }
.ring-card {
  position: absolute; left: 50%; top: 50%;
  width: var(--ring-card);
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
}
.ring-card .reel-link { display: block; }
.ring--static { height: auto; display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.ring--static .ring-card { position: static; transform: none !important; opacity: 1 !important; }
.ring-card figcaption {
  margin-top: 0.75rem; font-size: 0.8rem; color: var(--muted); line-height: 1.45; text-align: center;
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.ring-card.is-front figcaption, .ring--static .ring-card figcaption { opacity: 1; }
.ring-card figcaption strong { display: block; color: var(--ink); font-weight: 500; }
.ring-hint { margin-top: 0.5rem; text-align: center; font-size: 0.75rem; color: var(--faint); }

/* ---------- Reel cards (shared by the ring) ---------- */

.reel { margin: 0; }
.reel-link { display: block; color: inherit; text-decoration: none; border-radius: var(--r-lg); }
.reel-frame img { width: 100%; height: 100%; object-fit: cover; }
.reel-open {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: rgba(17, 17, 16, 0.8); color: var(--ink);
  font-size: 0.75rem; font-weight: 500;
  padding: 0.45rem 0.6rem; border-radius: var(--pill);
  border: 1px solid var(--line);
  opacity: 0; transition: opacity 0.2s var(--ease);
}
.reel-link:hover .reel-open, .reel-link:focus-visible .reel-open { opacity: 1; }
@media (hover: none) { .reel-open { opacity: 1; } }
.reel-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  cursor: pointer;
}
.reel-frame video { width: 100%; height: 100%; object-fit: cover; }
.reel-placeholder {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: 12px;
  color: var(--faint); font-size: 0.875rem;
}
.reel-play {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  display: grid; place-items: center;
  padding-left: 2px;
}
.chip-platform {
  position: absolute; top: 12px; left: 12px;
  background: rgba(17, 17, 16, 0.7);
  color: var(--ink);
  font-size: 0.7rem; font-weight: 500;
  padding: 0.3rem 0.55rem; border-radius: var(--pill);
  border: 1px solid var(--line);
}
.reel-hint {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(17, 17, 16, 0.75); color: var(--ink);
  font-size: 0.7rem;
  padding: 0.3rem 0.5rem; border-radius: var(--pill);
}
.reel-frame.is-sound .reel-hint { display: none; }
.reel figcaption { margin-top: 0.9rem; font-size: 0.875rem; color: var(--muted); line-height: 1.5; }
.reel figcaption strong { display: block; color: var(--ink); font-weight: 500; }

/* ---------- Proof (own account numbers) ---------- */

.proof-grid { display: grid; gap: 32px 48px; align-items: start; }
@media (min-width: 860px) { .proof-grid { grid-template-columns: 0.9fr 1.1fr; } }
@media (min-width: 1100px) { .proof-grid { grid-template-columns: 0.85fr 1fr 220px; gap: 32px 56px; } }
.proof-grid h2 { max-width: 16ch; }
.proof-grid .lead { color: var(--muted); font-size: var(--t-lead); line-height: 1.6; max-width: 52ch; }
.proof-note { margin-top: 1rem; color: var(--faint); font-size: var(--fs-sm); line-height: 1.55; max-width: 52ch; }
.proof-stats { list-style: none; display: grid; gap: 24px; margin-top: 2rem; }
@media (min-width: 640px) { .proof-stats { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.proof-stats li { padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--accent2) 45%, var(--line)); }
.proof-stats b {
  display: block; font-weight: 500; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.5rem);
  letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums;
}
.proof-stats span { display: block; margin-top: 0.4rem; color: var(--muted); font-size: var(--fs-sm); }
.proof-handle { margin-top: 1.5rem; display: flex; align-items: center; gap: 12px; }
.avatar-img { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); }
.proof-figure { margin: 0; max-width: 220px; }
.proof-figure img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--r-lg); border: 1px solid var(--line); }
.proof-figure figcaption { margin-top: 0.75rem; font-size: 0.8rem; color: var(--muted); }
@media (max-width: 1099px) { .proof-figure { display: none; } }

/* ---------- Team line under the steps ---------- */

.team-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; margin-top: clamp(32px, 4vw, 48px); padding-top: 20px; border-top: 1px solid var(--line); }
.team-line ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.team-line li { font-size: var(--fs-sm); }
.team-line strong { font-weight: 500; margin-right: 8px; }
.team-line li span { color: var(--muted); }

/* ---------- Booking (embedded calendar) ---------- */

.booking { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .booking { grid-template-columns: 0.8fr 1.2fr; gap: 56px; } }
.booking-copy h2 { max-width: 14ch; margin-bottom: 1rem; }
.booking-copy .lead { color: var(--muted); font-size: var(--t-lead); line-height: 1.6; max-width: 40ch; }
.booking-points { list-style: none; margin-top: 1.5rem; display: grid; gap: 10px; }
.booking-points li { padding-left: 18px; position: relative; color: var(--muted); font-size: var(--fs-sm); }
.booking-points li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.booking-alt { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--muted); font-size: var(--fs-sm); }
.calendly-wrap { background: transparent; border: 0; border-radius: var(--r-lg); overflow: hidden; min-height: 420px; }
.calendly-inline-widget { width: 100%; }
.calendly-placeholder { min-height: 560px; display: grid; place-items: center; padding: 32px; text-align: center; color: var(--faint); font-size: var(--fs-sm); }

/* ---------- Audiences ---------- */

.audiences { display: grid; gap: 20px; margin-top: clamp(40px, 6vw, 64px); }
@media (min-width: 860px) { .audiences { grid-template-columns: 1fr 1fr; gap: 24px; } }
/* Each audience is a panel with a darkened photo behind the text. */
.audience {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface);
  padding: clamp(24px, 3vw, 36px);
  min-height: 480px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.audience-bg { position: absolute; inset: 0; z-index: 0; }
.audience-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.85; }
.audience-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 16, 0.04) 0%, rgba(17, 17, 16, 0.5) 42%, rgba(17, 17, 16, 0.96) 100%);
}
.audience > :not(.audience-bg) { position: relative; z-index: 1; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45); }
.audience .eyebrow { margin-bottom: 0.9rem; }
.audience h3 { font-size: clamp(1.35rem, 1.2rem + 0.8vw, 1.75rem); margin-bottom: 1.25rem; }
.audience dl { margin: 0; display: grid; gap: 1rem; }
.audience dt { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent2); font-weight: 500; margin-bottom: 0.25rem; }
.audience dd { margin: 0; color: var(--muted); max-width: 48ch; }
.audience dd strong { color: var(--ink); font-weight: 500; }
.audience .text-link { display: inline-block; margin-top: 1.5rem; }

/* ---------- Steps ---------- */

.steps { list-style: none; display: grid; gap: 32px; margin-top: clamp(40px, 6vw, 64px); }
@media (min-width: 860px) {
  .steps-4 { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .steps-3 { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}
.steps li { padding-top: 16px; border-top: 1px solid var(--line); }
.step-n { display: block; font-size: 0.75rem; letter-spacing: 0.14em; color: var(--faint); font-weight: 500; margin-bottom: 1rem; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.steps p { color: var(--muted); font-size: var(--fs-sm); max-width: 32ch; }

/* ---------- Call to action ---------- */

.cta-box {
  background: var(--elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(32px, 5vw, 64px);
  display: grid; gap: 28px;
}
@media (min-width: 860px) { .cta-box { grid-template-columns: 1.2fr 0.8fr; align-items: center; } }
.cta-box h2 { margin-bottom: 0.75rem; max-width: 16ch; }
.cta-box p { color: var(--muted); max-width: 44ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (min-width: 860px) { .cta-actions { justify-content: flex-end; } }

/* ---------- Doctors page ---------- */

.page-hero { padding-block: clamp(56px, 8vw, 110px) clamp(40px, 5vw, 64px); }
.page-hero h1 { max-width: 18ch; }
.page-hero .hero-sub { max-width: 52ch; }
.page-hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .page-hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; } }
.hero-reel { width: min(100%, 300px); }
@media (min-width: 900px) { .hero-reel { justify-self: end; } }
.hero-reel .reel-frame { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.hero-reel figcaption { margin-top: 0.85rem; font-size: 0.875rem; color: var(--muted); line-height: 1.5; }
.hero-reel figcaption strong { display: block; color: var(--ink); font-weight: 500; }

/* Formats as a shot list sheet */
.shotlist { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; margin-top: clamp(32px, 5vw, 48px); }
.shotlist-head {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 14px 20px; border-bottom: 1px solid var(--line);
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); font-weight: 500;
}
.shotlist-head strong { color: var(--ink); font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 0.95rem; margin-left: 10px; }
.shotlist ol { list-style: none; }
.shotlist li { display: grid; grid-template-columns: 36px 1fr; gap: 16px; align-items: center; padding: 18px 20px; border-top: 1px solid var(--line); }
.shotlist li:first-child { border-top: 0; }
.shot-n { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 0.7rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.shot-title { font-weight: 500; }
.shot-hook { color: var(--muted); font-size: 0.9rem; margin-top: 2px; }
.shot-meta { display: flex; gap: 10px; align-items: center; font-size: 0.75rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.shot-meta .tag { border: 1px solid var(--line-strong); border-radius: var(--pill); padding: 3px 9px; color: var(--ink); }
@media (max-width: 600px) {
  .shotlist li { grid-template-columns: 30px 1fr; row-gap: 8px; }
  .shot-meta { grid-column: 2; }
}

/* Formats drawn as reel covers (kept for later use) */
.format-tiles {
  list-style: none; display: grid; gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(32px, 5vw, 48px);
}
@media (min-width: 1000px) { .format-tiles { grid-template-columns: repeat(6, 1fr); gap: 14px; } }
@media (max-width: 639px) {
  .format-tiles {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 58vw;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    padding: 0 var(--gutter) 8px; margin-inline: calc(-1 * var(--gutter));
  }
  .format-tiles::-webkit-scrollbar { display: none; }
}
.format-tile {
  position: relative; aspect-ratio: 9 / 16; scroll-snap-align: start;
  border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden;
  padding: 12px 12px 14px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(120% 70% at 50% 0%, #26282d 0%, var(--surface) 55%, #0c0c0b 100%);
}
.format-tile--2 { background: radial-gradient(120% 70% at 20% 0%, #242a33 0%, var(--surface) 55%, #0c0c0b 100%); }
.format-tile--3 { background: radial-gradient(120% 70% at 80% 10%, #2a2924 0%, var(--surface) 55%, #0c0c0b 100%); }
.format-tile--4 { background: radial-gradient(120% 70% at 50% 15%, #22262c 0%, var(--surface) 50%, #0c0c0b 100%); }
.format-tile--5 { background: radial-gradient(120% 70% at 30% 0%, #292b2e 0%, var(--surface) 55%, #0c0c0b 100%); }
.format-tile--6 { background: radial-gradient(120% 70% at 70% 0%, #23282f 0%, var(--surface) 55%, #0c0c0b 100%); }
/* Story-style progress bar along the top edge */
.format-tile::before { content: ""; position: absolute; left: 12px; right: 12px; top: 6px; height: 2px; border-radius: 2px; background: var(--line-strong); }
.format-tile::after { content: ""; position: absolute; left: 12px; top: 6px; height: 2px; width: 36%; border-radius: 2px; background: var(--accent); }
.format-top { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.chip-static { position: static; }
.format-len { font-size: 0.7rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.format-play {
  align-self: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(17, 17, 16, 0.55);
  display: grid; place-items: center; color: var(--ink); padding-left: 2px;
}
.format-bottom .eyebrow { font-size: 0.62rem; margin-bottom: 0.4rem; }
.format-hook { font-weight: 600; font-size: 0.92rem; line-height: 1.3; letter-spacing: -0.01em; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }

.why, .trust { margin-top: clamp(32px, 5vw, 48px); }
.formats { margin-top: 1.5rem; }
.why { list-style: none; display: grid; gap: 28px; }
@media (min-width: 860px) { .why { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.why li { padding-top: 16px; border-top: 1px solid var(--line); }
.why strong { display: block; font-size: 1.1rem; font-weight: 500; line-height: 1.3; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.why p { color: var(--muted); font-size: var(--fs-sm); }

.trust { list-style: none; display: grid; gap: 24px; }
@media (min-width: 860px) { .trust { grid-template-columns: 1fr 1fr; gap: 28px 48px; } }
.trust li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; padding-top: 16px; border-top: 1px solid var(--line); }
.check {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--accent);
}
.trust strong { display: block; font-weight: 500; margin-bottom: 0.25rem; }
.trust p { color: var(--muted); font-size: var(--fs-sm); max-width: 46ch; }

.formats { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.formats li {
  border: 1px solid var(--line-strong);
  border-radius: var(--pill); padding: 0.55rem 0.95rem; font-size: var(--fs-sm); color: var(--ink);
}

.quote {
  margin: 0;
  background: var(--elev); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(28px, 4vw, 40px);
  max-width: 760px;
}
.quote blockquote { margin: 0; font-size: var(--t-h3); line-height: 1.4; letter-spacing: -0.01em; }
.quote figcaption { margin-top: 1rem; color: var(--muted); font-size: var(--fs-sm); }

/* ---------- Legal pages ---------- */

.prose { max-width: 68ch; }
.prose h1 { margin-bottom: 1.5rem; }
.prose h2 { font-size: 1.2rem; margin-top: 2rem; margin-bottom: 0.5rem; }
.prose p { color: var(--muted); }
.prose p + p { margin-top: 0.85rem; }
.prose strong { color: var(--ink); font-weight: 500; }
.draft-note {
  background: var(--elev); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 0.75rem 1rem; font-size: var(--fs-sm); margin-bottom: 1.5rem; color: var(--muted);
}

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

.site-footer {
  margin-top: clamp(24px, 4vw, 48px);
  padding: 32px 0 44px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem; color: var(--muted);
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; }
.footer-brand { display: grid; gap: 10px; }
.footer-logo { height: 34px; width: auto; display: block; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: var(--ink); }

/* ---------- Toast ---------- */

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 12px);
  background: var(--ink); color: var(--bg);
  padding: 0.75rem 1.1rem; border-radius: var(--pill);
  font-size: var(--fs-sm); font-weight: 500;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  z-index: 200; max-width: calc(100% - 32px); text-align: center;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-weight: 500;
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent2); font-weight: 400; flex: none; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p { color: var(--muted); line-height: 1.6; max-width: 60ch; padding: 0 0 20px; }
