/* ==========================================================================
   The Stream Team: main stylesheet
   1. Fonts  2. Brand tokens  3. Type system  4. Base  5. Layout
   6. Buttons  7. Header  8. Footer  9. Triangles  10. Consent banner  11. Utilities
   Change colors, fonts and sizes in section 2 only; everything else uses the tokens.
   ========================================================================== */

/* 1. Fonts (self-hosted, variable weight) ---------------------------------- */
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* 2. Brand tokens ---------------------------------------------------------- */
:root {
  /* Brand palette: Color System v2 ("Broadcast Professional", expanded).
     Proportion: ~60% foundation (white, gray), ~30% blues, ~10% accents, ONE accent per screen. */
  /* Foundation */
  --color-white: #FFFFFF;        /* Pure White: default background */
  --color-gray: #D7E1E8;         /* "Cool, Calm, and Collected" Gray: bands, cards, dividers; body text on dark */
  --color-black: #1A1A1A;        /* Studio Black: body copy on light backgrounds (never a large background) */
  /* Brand blues */
  --color-blue: #0051A2;         /* "Trust Me Bro" Blue: logo, headlines, links, key shapes */
  --color-navy: #003B7A;         /* "Control Room" Navy: subheads, secondary buttons, hover states */
  --color-midnight: #0B1A33;     /* "After Hours" Midnight: the only large dark background (dark sections, footer) */
  /* Accents (one per screen) */
  --color-red: #D92626;          /* "Go Live" Red: action and urgency only (buttons, LIVE badges) */
  --color-gold: #F2B53A;         /* "Spotlight" Gold: premium/featured; text only on Navy or Midnight, fills get black text */
  --color-purple: #5E3BA8;       /* "Encore" Purple: blog topic tags only; never buttons, never next to Blue */

  /* Roles (light layout) */
  --color-text: var(--color-black);
  --color-text-muted: rgb(26 26 26 / 0.75);
  --color-heading: var(--color-blue);       /* H1, H2: headlines */
  --color-subhead: var(--color-navy);       /* H3, H4, eyebrows: second level */
  --color-link: var(--color-blue);
  --color-link-hover: var(--color-navy);
  --color-bg: var(--color-white);
  --color-bg-alt: var(--color-gray);
  --color-bg-dark: var(--color-midnight);
  --color-focus: var(--color-blue);
  --color-tag: var(--color-purple);

  /* Fonts */
  --font-heading: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Type scale (fluid from 375px to 1280px viewports) */
  --text-h1: clamp(2.25rem, 1.73rem + 2.21vw, 3.25rem);
  --text-h2: clamp(1.75rem, 1.36rem + 1.66vw, 2.5rem);
  --text-h3: clamp(1.375rem, 1.18rem + 0.83vw, 1.75rem);
  --text-h4: clamp(1.125rem, 1.06rem + 0.28vw, 1.25rem);
  --text-body: clamp(1.0625rem, 1.03rem + 0.14vw, 1.125rem);
  --text-small: 0.875rem;
  --text-eyebrow: 0.875rem;

  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-body: 1.6;

  /* Spacing and layout */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-section: clamp(3rem, 2rem + 4vw, 6rem);
  --gutter: clamp(1rem, 0.5rem + 2vw, 2rem);
  --max-width: 72rem;
  --max-width-prose: 42rem;
  --max-width-article: 48rem;   /* centered reading column: long-form pages, posts, service pages */
  --radius: 6px;
  --shadow: 0 8px 30px rgb(26 26 26 / 0.12);
}

/* 3. Type system ----------------------------------------------------------- */
html {
  font-family: var(--font-body);
  font-size: 100%;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}
body {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  font-weight: 400;
}
h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: var(--leading-tight);
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
h1, .h1 { font-size: var(--text-h1); font-weight: 800; letter-spacing: -0.02em; }
h2, .h2 { font-size: var(--text-h2); font-weight: 700; letter-spacing: -0.01em; }
h3, .h3 { font-size: var(--text-h3); font-weight: 700; line-height: var(--leading-snug); color: var(--color-subhead); }
h4, .h4 { font-size: var(--text-h4); font-weight: 600; line-height: var(--leading-snug); color: var(--color-subhead); }
* + h2 { margin-top: var(--space-7); }
* + h3 { margin-top: var(--space-6); }
* + h4 { margin-top: var(--space-5); }

p, ul, ol, blockquote, figure, table { margin: 0 0 var(--space-4); }
.lede { font-size: calc(var(--text-body) * 1.2); line-height: 1.5; }
small, .small { font-size: var(--text-small); color: var(--color-text-muted); }
.eyebrow {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-subhead);
  margin-bottom: var(--space-3);
}
strong, b { font-weight: 700; }

a {
  color: var(--color-link);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--color-link-hover); text-decoration-thickness: 2px; }

/* Dark layout (Midnight base): white headlines, gray body and subheads.
   Gold is the dark-layout accent; add .accent-gold to an eyebrow only when the section has no red button. */
.on-dark { background: var(--color-bg-dark); color: var(--color-gray); }
.on-dark.is-black { background: var(--color-bg-dark); } /* legacy class: Midnight replaces black */
.on-dark :is(h1, h2, .h1, .h2, a) { color: var(--color-white); }
.on-dark :is(h3, h4, .h3, .h4, .eyebrow) { color: var(--color-gray); }
.on-dark .eyebrow.accent-gold { color: var(--color-gold); }
.on-dark :focus-visible { outline-color: var(--color-gold); }
.hero.on-dark { color: var(--color-white); } /* hero sits on the blue banner art */

/* 4. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
main:focus { outline: none; }
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: 2px;
}
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 1000;
  padding: var(--space-2) var(--space-4);
  background: var(--color-black);
  color: var(--color-white);
}
.skip-link:focus { top: var(--space-4); color: var(--color-white); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* 5. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--max-width); margin-inline: auto; padding-inline: var(--gutter); }
.prose { max-width: var(--max-width-prose); }
/* Centered reading column (header and body share it, so everything lines up). */
.container.narrow { max-width: calc(var(--max-width-article) + 2 * var(--gutter)); }
.section { padding-block: var(--space-section); position: relative; overflow: hidden; }
.section.is-alt { background: var(--color-bg-alt); }


/* 6. Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--color-red); color: var(--color-white); }
.btn-primary:hover { background: #B81F1F; color: var(--color-white); }
/* Navy: the header's "Get Your Webinar Score" (red stays for Book a Discovery Call). */
.btn-navy { background: var(--color-navy); color: var(--color-white); }
.btn-navy:hover { background: var(--color-midnight); color: var(--color-white); }
.btn-secondary { background: transparent; color: var(--color-navy); border-color: var(--color-navy); }
.btn-secondary:hover { background: var(--color-navy); color: var(--color-white); }
.on-dark .btn-secondary { color: var(--color-white); border-color: var(--color-white); }
.on-dark .btn-secondary:hover { background: var(--color-white); color: var(--color-midnight); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* 7. Header ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 72px;
}
.site-logo { display: block; flex-shrink: 0; }
.site-logo img { width: 180px; height: auto; }
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: var(--space-2) var(--space-3);
  border: 2px solid var(--color-navy);
  border-radius: var(--radius);
  background: none;
  font: 700 0.875rem var(--font-heading);
  color: var(--color-navy);
  cursor: pointer;
}
.site-nav { display: none; }
.site-nav.is-open {
  display: block;
  position: absolute;
  inset: 100% 0 auto 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray);
  box-shadow: var(--shadow);
  max-height: calc(100vh - 72px);
  overflow-y: auto;
}
.site-nav > ul { list-style: none; margin: 0; padding: var(--space-3) var(--gutter) var(--space-5); }
.site-nav a:not(.btn), .submenu-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
  padding: var(--space-3) 0;
  border: 0;
  background: none;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
  text-align: left;
  cursor: pointer;
}
.site-nav a:not(.btn):hover, .submenu-toggle:hover, .site-nav a:not(.btn)[aria-current="page"], .has-submenu.is-current > .submenu-toggle { color: var(--color-blue); }
.site-nav a:not(.btn)[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.35em; text-decoration-thickness: 2px; }
.chevron { width: 12px; height: 8px; flex-shrink: 0; transition: transform 0.15s; }
.submenu-toggle[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.submenu { display: none; list-style: none; margin: 0; padding: 0 0 var(--space-2) var(--space-4); border-left: 2px solid var(--color-gray); }
.submenu-toggle[aria-expanded="true"] + .submenu { display: block; }
.submenu a { font-weight: 500; padding: var(--space-2) 0; }
.site-nav .nav-cta { margin-top: var(--space-3); }
.site-nav .nav-cta a { padding: 0.75rem 1.25rem; font-size: 0.9375rem; }

@media (min-width: 1200px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: block; position: static; box-shadow: none; border: 0; max-height: none; overflow: visible; }
  .site-nav > ul { display: flex; align-items: center; gap: var(--space-5); padding: 0; }
  .site-nav a:not(.btn), .submenu-toggle { width: auto; padding: var(--space-2) 0; font-size: 0.875rem; white-space: nowrap; }
  .has-submenu { position: relative; }
  .submenu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 110;
    min-width: 15rem;
    padding: var(--space-2);
    border: 1px solid var(--color-gray);
    border-radius: var(--radius);
    background: var(--color-white);
    box-shadow: var(--shadow);
  }
  .submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge */
  .submenu a { padding: var(--space-2) var(--space-3); border-radius: 4px; white-space: nowrap; }
  .submenu a:hover { background: var(--color-bg-alt); }
  .site-nav .nav-cta { margin-top: 0; }
  .site-nav .nav-cta a { padding: 0.6rem 1rem; min-height: 0; font-size: 0.875rem; white-space: nowrap; }
}
@media (min-width: 1200px) and (hover: hover) {
  .has-submenu:hover > .submenu { display: block; }
  .has-submenu:hover > .submenu-toggle .chevron { transform: rotate(180deg); }
}

/* 8. Footer ---------------------------------------------------------------- */
.site-footer { background: var(--color-midnight); color: var(--color-gray); padding-block: var(--space-7); font-size: var(--text-small); }
.site-footer .container { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-6); align-items: center; justify-content: space-between; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
.site-footer a, .site-footer .link-button { color: var(--color-white); font-weight: 500; }
.site-footer a:hover, .site-footer .link-button:hover { color: var(--color-gray); }
.site-footer p { margin: 0; }
.link-button { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }

/* 9. Triangles (brand motif) ------------------------------------------------
   Decorative only (aria-hidden). Rule: never in straight lines or rows. Each
   triangle gets its own position, size and rotation through inline custom
   properties: --x, --y, --s (size), --r (rotation), --c (color), --o (opacity). */
.triangles { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.triangle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s, 48px);
  aspect-ratio: 1 / 0.866;
  background: var(--c, var(--color-blue));
  opacity: var(--o, 1);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transform: rotate(var(--r, 0deg));
}
.section > .container { position: relative; z-index: 1; }
/* Phones: the scattered triangles are positioned by % of the section, so on a narrow,
   tall section they land on top of text. Hide them; the hero outline triangles stay. */
@media (max-width: 699px) { .triangles { display: none; } }

/* 10. Consent banner ------------------------------------------------------- */
.consent {
  position: fixed;
  z-index: 200;
  left: var(--space-4);
  right: var(--space-4);
  bottom: var(--space-4);
  max-width: 34rem;
  padding: var(--space-5);
  background: var(--color-white);
  color: var(--color-text);
  border-top: 4px solid var(--color-blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: var(--text-small);
}
.consent[hidden] { display: none; }
.consent h2 { font-size: 1.125rem; margin: 0 0 var(--space-2); color: var(--color-black); }
.consent p { margin: 0 0 var(--space-4); }
.consent .btn { min-height: 44px; padding: 0.5rem 1rem; font-size: 0.875rem; }
.consent-options { border: 0; margin: 0 0 var(--space-4); padding: 0; }
.consent-options legend { font-weight: 700; margin-bottom: var(--space-2); }
.consent-option { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-2) 0; }
.consent-option input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--color-blue); flex-shrink: 0; }
.consent-option span { display: block; color: var(--color-text-muted); }
@media (min-width: 640px) { .consent { left: auto; right: var(--space-5); bottom: var(--space-5); } }

/* 11. Utilities ------------------------------------------------------------ */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.todo {
  border: 2px dashed var(--color-red);
  border-radius: var(--radius);
  padding: var(--space-4);
  background: #FFF5F5;
  font-family: ui-monospace, Consolas, monospace;
  font-size: var(--text-small);
}

/* 12. Page components ------------------------------------------------------- */
.center { text-align: center; margin-inline: auto; }
.btn-row.center { justify-content: center; }
.section-title { max-width: 52rem; }
.rounded { border-radius: var(--radius); }
.statement {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-blue);
  margin: 0;
}

/* Hero with background art */
.hero { position: relative; overflow: hidden; padding-block: clamp(4rem, 3rem + 6vw, 8rem); }
.hero-bg, .hero picture { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg { object-fit: cover; object-position: right center; z-index: 0; }
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 40rem; }
.hero-content .lede { margin-bottom: var(--space-6); }

/* Cards */
.card-grid { list-style: none; padding: 0; margin: var(--space-6) 0; display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
/* Cards: 1 column on phones, 2 on tablets, 4 across on desktop. Steps go 4 across a little sooner
   (short text), and stack on phones. */
@media (min-width: 600px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(4, 1fr); } }
.card { border: 1px solid var(--color-gray); border-radius: var(--radius); padding: var(--space-5); background: var(--color-white); }
.card p { margin: 0; }
.card-icon { width: 26px; height: 26px; color: var(--color-blue); margin-bottom: var(--space-4); }

/* Image + text split */
.split { display: grid; gap: var(--space-6) var(--space-8); align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.split-media img { width: 100%; height: auto; }
.split-media.portrait img { max-height: 40rem; object-fit: cover; }

/* Steps */
.steps { list-style: none; padding: 0; margin: var(--space-6) 0 var(--space-7); display: grid; gap: var(--space-6) var(--space-5); grid-template-columns: 1fr; }
.step { border-top: 4px solid var(--color-blue); padding-top: var(--space-5); }
.step h3 { margin-top: 0; font-size: var(--text-h4); }
.step p { margin: 0; }
.step-label { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3); font-family: var(--font-heading); font-weight: 700; font-size: var(--text-small); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-navy); }
.step-label svg { width: 14px; height: 14px; fill: currentColor; }

/* 2-4-2 framework bar (home) */
.framework-box { border: 1px solid var(--color-gray); border-radius: calc(var(--radius) * 2); padding: var(--space-6); }
.framework-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-3) var(--space-5); margin-bottom: var(--space-5); }
.framework-head h3 { margin: 0; color: var(--color-blue); font-size: var(--text-h4); }
.framework-bar { display: flex; flex-direction: column; gap: 4px; }
.bar-seg { position: relative; padding: var(--space-5); color: var(--color-white); min-height: 90px; display: flex; flex-direction: column; justify-content: center; }
.bar-seg p { margin: 0; font-size: var(--text-small); }
.bar-seg .bar-title { font-family: var(--font-heading); font-weight: 700; font-size: 1rem; margin-bottom: var(--space-1); }
.bar-seg.prep { flex: 2; background: var(--color-blue); border-radius: var(--radius) var(--radius) 0 0; }
.bar-seg.promote { flex: 4; background: var(--color-blue); }
.bar-seg.amplify { flex: 2; background: var(--color-midnight); border-radius: 0 0 var(--radius) var(--radius); }
.live-badge { position: absolute; z-index: 2; left: 10%; bottom: -2px; transform: translateY(50%); background: var(--color-red); color: var(--color-white); font: 800 0.75rem var(--font-heading); letter-spacing: 0.08em; padding: 0.25rem 0.5rem; border-radius: 4px; }
@media (min-width: 768px) {
  .framework-bar { flex-direction: row; }
  .bar-seg.prep { border-radius: var(--radius) 0 0 var(--radius); }
  .bar-seg.amplify { border-radius: 0 var(--radius) var(--radius) 0; }
  .live-badge { left: auto; bottom: auto; top: 50%; right: -2px; transform: translate(50%, -50%); }
}

/* Testimonial */
.testimonial { margin: 0 auto; max-width: 48rem; text-align: center; }
.testimonial blockquote { margin: 0 0 var(--space-5); position: relative; }
.testimonial blockquote::before { content: "\201C"; display: block; font: 800 4rem/1 var(--font-heading); color: var(--color-blue); margin-bottom: var(--space-2); }
.testimonial blockquote p { font-size: var(--text-h4); line-height: 1.5; }
.testimonial figcaption { display: inline-flex; align-items: center; gap: var(--space-4); text-align: left; font-size: var(--text-small); }
.avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }

/* Tables */
.table-wrap { overflow-x: auto; margin-top: var(--space-6); border-radius: var(--radius); }
.compare { width: 100%; min-width: 44rem; border-collapse: collapse; background: var(--color-white); font-size: var(--text-body); line-height: 1.55; }
.compare th, .compare td { padding: var(--space-4); text-align: left; vertical-align: top; border-bottom: 1px solid var(--color-gray); }
.compare thead th { background: var(--color-navy); color: var(--color-white); font-family: var(--font-heading); font-size: 1.0625rem; }
.compare tbody th { font-family: var(--font-heading); color: var(--color-navy); white-space: nowrap; }

/* Long-form page content (about, policies, events) */
.page-header { padding-block: var(--space-section) var(--space-6); }
.page-header h1 { max-width: 48rem; }
.content { padding-block: var(--space-7) var(--space-section); }
.content h2 { font-size: var(--text-h3); }
.content h3 { font-size: var(--text-h4); }
.content li + li { margin-top: var(--space-3); }
.content figure.portrait { margin: var(--space-6) auto; text-align: center; }
.content figure.portrait img { width: 100%; margin-inline: auto; border-radius: calc(var(--radius) * 2); }

/* FAQ accordion */
.faq { max-width: var(--max-width-article); }
.faq details { border-bottom: 1px solid var(--color-gray); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  padding: var(--space-4) 0;
  font-family: var(--font-heading); font-weight: 700; font-size: var(--text-h4); color: var(--color-black);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--color-blue); flex-shrink: 0; }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding-bottom: var(--space-4); }
.post-faq { margin-top: var(--space-7); padding-top: var(--space-6); border-top: 1px solid var(--color-gray); }.post-faq h2 { margin-top: 0; }

/* Video embed (click-to-play, youtube-nocookie) */
.video { position: relative; aspect-ratio: 16 / 9; width: 100%; max-width: 56rem; margin: var(--space-6) 0; background: var(--color-midnight); border-radius: var(--radius); overflow: hidden; }
.video iframe, .video img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video--vertical { aspect-ratio: 9 / 16; max-width: 20rem; margin-inline: auto; }
.video-play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: transparent; cursor: pointer; }
.video-play::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 76px; height: 54px; transform: translate(-50%, -50%);
  background: var(--color-red); border-radius: 12px;
  clip-path: none;
  box-shadow: var(--shadow);
}
.video-play::before {
  content: ""; position: absolute; left: 50%; top: 50%; z-index: 1; width: 22px; height: 26px; transform: translate(-35%, -50%);
  background: var(--color-white); clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.video-play:hover::after, .video-play:focus-visible::after { background: #B81F1F; }

/* TODO placeholders for owner-supplied embeds */
.todo strong { color: var(--color-red); }

/* Service ("product") pages: single centered column */
.product-head .price { font-family: var(--font-heading); font-weight: 700; font-size: var(--text-h4); color: var(--color-navy); margin-bottom: var(--space-5); }
.product-head .todo { margin-top: var(--space-4); }
.product-description { padding-top: var(--space-7); }
.product-description h2 { font-size: var(--text-h3); }
.product-description li + li { margin-top: var(--space-2); }

/* Blog */
.prose-wide { max-width: calc(var(--max-width-article) + 2 * var(--gutter)); }
.post-header { padding-block: var(--space-section) var(--space-6); }
.post-header .eyebrow a { color: inherit; text-decoration: none; }
.post-meta { font-size: var(--text-small); color: var(--color-text-muted); margin: 0; }
.post-meta a { font-weight: 500; }
.post-meta a[href^="/blog/tags/"] { color: var(--color-tag); }
.post-hero { margin: var(--space-6) 0; }
.post-hero img { width: 100%; height: auto; border-radius: var(--radius); }
.post > .container { padding-bottom: var(--space-section); } /* end-of-article space, after the body or the FAQs */
.post-body h2 { font-size: var(--text-h3); }
.post-body h3 { font-size: var(--text-h4); }
.post-body li + li { margin-top: var(--space-2); }
.post-body img, .post-body video { width: 100%; height: auto; border-radius: var(--radius); margin: var(--space-5) 0; }
.post-body blockquote { margin: var(--space-5) 0; padding-left: var(--space-5); border-left: 4px solid var(--color-blue); font-style: italic; }
.post-body table { width: 100%; border-collapse: collapse; font-size: var(--text-small); display: block; overflow-x: auto; }
.post-body th, .post-body td { border: 1px solid var(--color-gray); padding: var(--space-3); text-align: left; vertical-align: top; }
.post-body th { background: var(--color-bg-alt); font-family: var(--font-heading); }
.promo { margin: var(--space-7) 0; padding: var(--space-6); border-radius: var(--radius); text-align: center; }
.promo .promo-title { font-family: var(--font-heading); font-weight: 800; font-size: var(--text-h4); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: var(--space-3); }
.promo p { max-width: 36rem; margin-inline: auto; }
.post-grid { display: grid; gap: var(--space-6); grid-template-columns: 1fr; }
@media (min-width: 600px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; background: var(--color-white); border: 1px solid var(--color-gray); border-radius: var(--radius); overflow: hidden; }
.post-card-media img { width: 100%; aspect-ratio: 1200 / 628; object-fit: cover; }
.post-card-body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); }
.post-card-body p { margin: 0; font-size: var(--text-small); }
.post-card-title { font-size: var(--text-h4); margin: 0; }
.post-card-title a { color: var(--color-blue); text-decoration: none; }
.post-card-title a:hover { color: var(--color-navy); text-decoration: underline; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--space-3); margin-bottom: var(--space-6); }
.section-head h2 { margin: 0; font-size: var(--text-h3); }
.tag-list ul { list-style: none; padding: 0; margin: var(--space-5) 0 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.tag-list a { display: inline-block; padding: var(--space-1) var(--space-3); color: var(--color-tag); border: 1px solid var(--color-tag); border-radius: 999px; font-size: var(--text-small); text-decoration: none; background: var(--color-white); }
.tag-list a:hover { background: var(--color-tag); color: var(--color-white); }
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-4); margin-top: var(--space-7); font-size: var(--text-small); }
.feed-link { margin-top: var(--space-6); font-size: var(--text-small); text-align: center; }

/* Style guide swatches */
.swatches { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); }
.swatch { border: 1px solid var(--color-gray); border-radius: var(--radius); overflow: hidden; }
.swatch-chip { height: 4.5rem; border-bottom: 1px solid var(--color-gray); }
.swatch p { padding: var(--space-3); margin: 0; }
h2 small { font: 500 var(--text-small) var(--font-body); color: var(--color-text-muted); margin-left: var(--space-2); }

/* Home: transitional CTA band + closing CTA (from the owner's home design) */
.cta-band-section { padding-bottom: 0; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-6); background: var(--color-bg-alt); border-radius: calc(var(--radius) * 2.6); padding: clamp(var(--space-6), 4vw, var(--space-7)); }
.cta-band-text { flex: 1 1 32rem; min-width: 0; }
.cta-band-text h2 { font-size: var(--text-h3); color: var(--color-navy); margin-bottom: var(--space-3); }
.cta-band-text p { margin: 0; max-width: 36em; }
.closing-inner { max-width: calc(61rem + 2 * var(--gutter)); display: flex; flex-direction: column; align-items: center; gap: var(--space-5); text-align: center; }
.closing-inner h2, .closing-inner p { margin: 0; }
.closing-inner .lede { max-width: 34em; }
.from-to { display: grid; gap: var(--space-4); width: 100%; text-align: left; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); margin-bottom: var(--space-4); }
.from-to > div { display: flex; flex-direction: column; gap: var(--space-1); border-radius: calc(var(--radius) * 2); padding: var(--space-5); }
.from-to .from { border: 1px solid var(--color-gray); color: var(--color-text-muted); font-size: 1.125rem; }
.from-to .to { background: var(--color-blue); color: var(--color-white); font: 700 1.1875rem/1.35 var(--font-heading); }
.from-to-label { font: 700 0.75rem var(--font-heading); letter-spacing: 0.14em; }
.from-to .to .from-to-label { color: var(--color-gray); }
.btn-lg { font-size: 1.125rem; padding: 1.125rem 2.25rem; }

/* Home hero: Control Room Navy with scattered outline triangles (owner request, 2026-11-20) */
.hero.hero-navy { background: var(--color-navy); }
.hero-tris { position: absolute; top: 0; right: 0; width: 70%; height: 100%; color: var(--color-gray); pointer-events: none; z-index: 0; }
@media (max-width: 760px) { .hero-tris { width: 100%; opacity: 0.45; } }

/* Section intro (heading + lede) centered over full-width content, so every home section
   shares the same centered axis as the pricing, testimonial and closing sections. */
.section-intro { max-width: 52rem; margin: 0 auto var(--space-7); text-align: center; }
.section-intro .section-title, .section-intro .lede { max-width: none; margin-inline: auto; }
.section-intro .lede { margin-bottom: 0; }
.statement.center { text-align: center; margin-inline: auto; max-width: 46rem; }
.section-intro + .card-grid, .section-intro + .steps, .section-intro + .table-wrap { margin-top: 0; }

/* Four steps: stack on phones, 2 across on tablets, 4 across from 860px (after the base .steps rule so it wins). */
@media (min-width: 600px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Events: "session ended / see upcoming" callout and past-events list */
.event-ended { margin: var(--space-7) 0; padding: var(--space-6); border-radius: calc(var(--radius) * 2); background: var(--color-bg-alt); }
.event-ended h2 { font-size: var(--text-h3); margin: 0 0 var(--space-3); color: var(--color-navy); }
.event-ended p { margin-bottom: var(--space-5); }
.event-list { list-style: none; margin: var(--space-5) 0 0; padding: 0; }
.event-item { padding: var(--space-5) 0; border-top: 1px solid var(--color-gray); }
.event-item h3 { margin: var(--space-1) 0 var(--space-2); font-size: var(--text-h4); }
.event-item h3 a { text-decoration: none; }
.event-item h3 a:hover { text-decoration: underline; }
.event-item p:last-child { margin: 0; }
.content > .event-ended:first-child { margin-top: 0; }

/* Blog cards: a visible outline so light-blue featured images don't melt into the gray "related" band. */
.post-card { border-color: rgb(0 59 122 / 0.22); box-shadow: 0 1px 2px rgb(11 26 51 / 0.06); }
.post-card-media { display: block; border-bottom: 1px solid rgb(0 59 122 / 0.16); }
.post-card:hover { border-color: rgb(0 59 122 / 0.45); }

/* Printable checklist inside blog posts (e.g. the launch timeline): square checkboxes instead of bullets */
.checklist ul { list-style: none; padding-left: 0; }
.checklist ul ul { padding-left: var(--space-6); margin-top: var(--space-2); }
.checklist li { position: relative; padding-left: 1.75rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 1rem; height: 1rem; border: 2px solid var(--color-navy); border-radius: 3px; background: var(--color-white); }
.checklist h3 { margin-top: var(--space-7); padding-top: var(--space-5); border-top: 2px solid var(--color-gray); }
.checklist h3:first-child { margin-top: var(--space-5); }
.checklist blockquote { border-left-color: var(--color-navy); margin: var(--space-2) 0; font-size: 0.9375rem; }
@media print { .site-header, .site-footer, .consent, #related-heading, .post-grid { display: none !important; } }
