/* ===== PP Neue Montreal (headlines) ===== */
@font-face {
  font-family: 'PP Neue Montreal';
  src: url('fonts/PPNeueMontreal-Book.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'PP Neue Montreal';
  src: url('fonts/PPNeueMontreal-Book.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'PP Neue Montreal';
  src: url('fonts/PPNeueMontreal-Medium.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'PP Neue Montreal';
  src: url('fonts/PPNeueMontreal-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ===== SF Pro / SF UI Display (embedded — supplied files) =====
   No upright Regular(400) was supplied, so body maps to Light(300).
   Headings(500) -> true Medium, 600 -> Semibold, 700 -> Bold. */
@font-face {
  font-family: 'SF Pro Display';
  src: url('fonts/SFUIDisplay-Light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'SF Pro Display';
  src: url('fonts/SFUIDisplay-Light.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'SF Pro Display';
  src: url('fonts/SFUIDisplay-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'SF Pro Display';
  src: url('fonts/SFUIDisplay-Semibold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'SF Pro Display';
  src: url('fonts/SFUIDisplay-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ===== beagl — brand system ===== */
:root {
  /* Greens (beagl identity, tuned toward polln) */
  --brand: #0f5342;        /* deep teal-green */
  --brand-deep: #094139;   /* beagl original green */
  --ink: #132420;          /* near-black green — text & dark sections */
  --mid-green: #93a287;
  --light-green: #c7d1bf;
  --lightest-green: #e1e6de;
  --mint: #d6ecd9;

  /* Brand green accent */
  --lime: #0cd257;
  --lime-light: #0cd257;

  /* Warm neutrals */
  --paper: #f5f4f3;        /* warm off-white page */
  --surface: #ffffff;
  --surface-2: #f0f0ee;
  --cream: #edf7e6;

  /* Typeface — SF Pro Display, embedded from the supplied font files. */
  --font-sans: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-serif: 'PP Neue Montreal', var(--font-sans);   /* headlines */
  --font-body: var(--font-sans);
  --font-mono: var(--font-sans);

  --maxw: 1280px;
  --measure: 42rem;        /* readable text column */
  --radius: 1rem;          /* 16px */
  --radius-lg: 1.5rem;     /* 24px */
  --pill: 100vw;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 90%; scroll-behavior: smooth; scroll-padding-top: 7.5rem; }  /* global -10% type */

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.26;
  font-size: 1.0625rem;
  letter-spacing: 0em;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.75rem);
}

/* Headings: large editorial serif, mixed case */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }

.eyebrow {
  /* pill bubble, matching the .ptag property tags */
  font-family: var(--font-mono);
  text-transform: capitalize;
  letter-spacing: 0.02em;
  font-size: 0.78rem;
  color: var(--brand);
  border: 1px solid rgba(9,65,57,0.32);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
/* dark sections (hero, careers): lime text with a softened matching border */
.hero .eyebrow, .careers .eyebrow {
  border-color: color-mix(in srgb, currentColor 45%, transparent);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.6rem;
  border-radius: 0.45rem;          /* polln: slightly-rounded rectangle */
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
/* arrow that nudges on hover, polln-style */
.btn .btn-arrow { transition: transform 0.18s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(19,36,32,0.25); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(19,36,32,0.04); }
/* lime accent CTA — same rounded-rectangle shape as the rest of the site */
.btn-lime, .btn-light { background: var(--lime); color: var(--ink); }
.btn-lime:hover, .btn-light:hover { background: var(--lime-light); }

/* ===== Top bar: promo banner + floating pill nav ===== */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
}
.promo-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.2rem;
  background: var(--lime-light);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.2s ease;
}
.promo-banner:hover { background: var(--lime); }

.site-header { padding: 0.7rem clamp(0.75rem, 3vw, 1.5rem) 0; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 3.25rem;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.3rem;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(19,36,32,0.1);
  border-radius: var(--pill);
  box-shadow: 0 14px 38px -16px rgba(19,36,32,0.28), 0 1px 0 rgba(255,255,255,0.5) inset;
}
.brand-logo { height: 21px; width: auto; display: block; }
.main-nav { display: flex; gap: 1.4rem; }
.main-nav a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  position: relative;
}
/* Compact nav button — matches polln's small .btn-nav */
.header-cta .btn-primary {
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
  border-radius: 0.4rem;
  gap: 0.3rem;
}
.header-cta .btn-arrow { display: none; }
.main-nav a::after {
  content: '';
  position: absolute; left: 0; bottom: -5px;
  width: 0; height: 2px; background: var(--lime);
  transition: width 0.2s ease;
}
.main-nav a:hover::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 0.75rem; }
/* ===== Nav search (apple.com-style: bare glyph, quiet expanding field) ===== */
.nav-search {
  display: flex;
  align-items: center;
  height: 30px;
  border-radius: 8px;
  background: transparent;
  transition: background 0.25s ease;
  margin-right: 0.25rem;
}
.nav-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--ink);
  opacity: 0.75;
  transition: opacity 0.2s ease;
}
.nav-search-btn:hover { opacity: 1; }
.nav-search-input {
  width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--ink);
  outline: none;
  transition: width 0.3s ease, padding 0.3s ease;
}
.nav-search-input::placeholder { color: rgba(19,36,32,0.45); }
.nav-search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.nav-search.open { background: rgba(19,36,32,0.06); }
.nav-search.open .nav-search-input { width: 150px; padding-right: 10px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.2s; }

/* ===== Hero ===== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 88vh, 900px);
  padding: clamp(8rem, 12vw, 11rem) 0 clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
  border-bottom-left-radius: 1.75rem;
  border-bottom-right-radius: 1.75rem;
  background: var(--ink);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
/* Mobile: swap the hero video for a still frame (saves data, avoids
   autoplay jank) — script.js also strips the video source on small screens */
.hero-still { display: none; }
@media (max-width: 860px) {
  .hero-video { display: none; }
  .hero-still {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
  }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(9,57,41,0.94) 0%, rgba(9,57,41,0.72) 34%, rgba(9,57,41,0.22) 66%, rgba(9,57,41,0.12) 100%),
    linear-gradient(0deg, rgba(19,36,32,0.55) 0%, transparent 45%);
}
.hero-content { position: relative; z-index: 2; }
.hero .eyebrow { color: var(--lime); }
/* home hero (dark video bg): kicker matches the hero body-text grey */
.hero .hero-kicker { font-size: 1.02rem; color: rgba(237,247,230,0.88); margin-bottom: 0.9rem; letter-spacing: 0.01em; }
.hero .hero-kicker b { color: #fff; font-weight: 600; }
.hero-title {
  font-size: clamp(2.22rem, 3.74vw, 3.3rem);
  font-weight: 500;
  letter-spacing: -0.032em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: var(--paper);
}
.hero-title span { color: var(--lime-light); font-weight: 500; }
.hero-sub {
  max-width: 34rem;
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  color: rgba(237,247,230,0.88);
  margin-bottom: 2.25rem;
  line-height: 1.22;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
/* light outline button for dark/video backgrounds */
.btn-ghost-light { color: var(--paper); border-color: rgba(237,247,230,0.5); }
.btn-ghost-light:hover { border-color: var(--paper); background: rgba(237,247,230,0.1); }

/* ===== Section heads ===== */
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { font-size: clamp(1.56rem, 2.21vw, 2.08rem); line-height: 1.12; }
.section-lead { margin-top: 1rem; font-size: 1.18rem; line-height: 1.22; color: rgba(19,36,32,0.65); max-width: var(--measure); }

section { padding: clamp(3.5rem, 7vw, 6rem) 0; }

/* ===== Who we help cards ===== */
.who { background: var(--paper); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.help-card {
  background: var(--surface);
  border: 1px solid rgba(19,36,32,0.08);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.6rem 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.help-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px -30px rgba(19,36,32,0.35);
  border-color: var(--lime);
}
.help-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.help-card p { font-size: 0.95rem; color: rgba(19,36,32,0.65); }

/* ===== How we help — interactive tabs ===== */
.help-tabs {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.help-item { border-top: 1px solid rgba(19,36,32,0.12); }
.help-item:last-child { border-bottom: 1px solid rgba(19,36,32,0.12); }
.help-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 1.35rem 0;
  text-align: left;
}
.help-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color 0.2s ease;
}
.help-q:hover .help-title { color: var(--brand); }
.help-item.is-active .help-title { color: var(--brand); }
.help-icon { position: relative; width: 20px; height: 20px; flex: none; }
.help-icon::before, .help-icon::after {
  content: '';
  position: absolute;
  background: var(--brand);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.help-icon::before { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); }
.help-icon::after { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); }
.help-item.is-active .help-icon::after { opacity: 0; transform: translateX(-50%) rotate(90deg); }
.help-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.help-item.is-active .help-panel { grid-template-rows: 1fr; }
.help-panel-inner { overflow: hidden; min-height: 0; }
.help-steps {
  list-style: none;
  margin: 0;
  padding: 0 0 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.help-steps li span { color: #3a544d; font-size: 0.98rem; line-height: 1.35; }
.help-media {
  position: sticky;
  top: 6rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--lightest-green);
}
.help-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.help-media img.is-active { opacity: 1; }
.help-cta { margin-top: clamp(2rem, 4vw, 3rem); }
/* Little callout that pops in when its accordion item expands (FIFO → /fifo) */
.help-callout {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin: -0.4rem 0 1.5rem; padding: 0.55rem 1.05rem; border-radius: 999px;
  background: var(--mint); color: var(--brand-deep);
  font-size: 0.85rem; font-weight: 600;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.35s ease 0.18s, transform 0.35s ease 0.18s, background 0.2s ease;
}
.help-item.is-active .help-callout { opacity: 1; transform: none; }
.help-callout:hover { background: color-mix(in srgb, var(--mint) 70%, var(--lime)); }
.help-callout .btn-arrow { transition: transform 0.2s ease; }
.help-callout:hover .btn-arrow { transform: translateX(3px); }
@media (max-width: 860px) {
  .help-tabs { grid-template-columns: 1fr; }
  .help-media { order: -1; position: static; aspect-ratio: 16 / 10; }
}

/* ===== Feature ===== */
.feature { background: var(--surface-2); }
.feature-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.feature-media {
  border-radius: var(--radius-lg);
  min-height: 440px;
  background: var(--brand) url('images/feature.jpg') center / cover no-repeat;
  box-shadow: 0 30px 70px -36px rgba(19,36,32,0.55);
}
.feature-copy h2 { font-size: clamp(1.6rem, 2.55vw, 2.27rem); margin-bottom: 1.1rem; }
.feature-copy p { font-size: 0.98rem; color: rgba(19,36,32,0.68); margin-bottom: 1rem; max-width: var(--measure); }
.feature-copy .btn { margin-top: 0.6rem; }

/* ===== Process (dark) ===== */
.process { background: var(--ink); }
.process .eyebrow { color: var(--lime); }
.process .eyebrow::before { background: var(--lime); }
.process h2 { color: var(--paper); }
.steps { display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-top: 1px solid rgba(225,230,222,0.16);
}
.step:last-child { border-bottom: 1px solid rgba(225,230,222,0.16); }
.step-num { font-family: var(--font-mono); font-size: 0.9rem; color: var(--lime); padding-top: 0.35rem; }
.step h3 { color: var(--paper); font-size: 1.25rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.95rem; color: rgba(225,230,222,0.72); max-width: 40rem; }
.process-foot {
  margin-top: 2.25rem;
  font-weight: 500;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--lime-light);
  max-width: 40rem;
}

/* ===== Team ===== */
.team { background: var(--paper); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 1rem; }
.member { text-align: left; }
.avatar {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-lg);
  background: var(--lightest-green);
  margin-bottom: 1rem;
}
.member h3 { font-size: 0.88rem; font-weight: 500; line-height: 1.25; }
.member p { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.01em; color: var(--brand); margin-top: 0.2rem; line-height: 1.35; }

/* ===== CTA band ===== */
.cta-band { background: var(--brand); text-align: center; }
.cta-mark {
  /* the beagl face-mark loader, ~half the "Why buy blind?" heading width */
  display: block;
  width: clamp(100px, 10vw, 125px);
  height: auto;
  margin: 0 auto 0.9rem;
}
.cta-band h2 { color: var(--paper); font-size: clamp(1.7rem, 2.55vw, 2.22rem); max-width: 20ch; margin: 0 auto; }
.cta-band p { color: rgba(237,247,230,0.82); max-width: 38rem; margin: 1.1rem auto 2rem; font-size: 1.15rem; line-height: 1.22; }

/* ===== Recent purchases (portfolio carousel) ===== */
.purchases { background: var(--surface-2); overflow: hidden; }
.purchase-row {
  overflow: hidden;
  padding: 0 0 6px;
}
.purchase-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding-left: 20px;
  animation: purchase-marquee 60s linear infinite;
  will-change: transform;
}
.purchase-row:hover .purchase-track { animation-play-state: paused; }
@keyframes purchase-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .purchase-track { animation: none; }
  .purchase-row { overflow-x: auto; scrollbar-width: none; }
}
.purchase-card {
  flex: 0 0 clamp(300px, 26vw, 366px);
  scroll-snap-align: start;
  background: var(--mint);
  border-radius: 24px;
  padding: 14px;
  display: flex;
  flex-direction: column;
}
.purchase-img {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--lightest-green);
}
.purchase-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.purchase-card:hover .purchase-img img { transform: scale(1.04); }
.purchase-body { padding: 18px 8px 10px; display: flex; flex-direction: column; gap: 16px; }
.purchase-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.ptag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--brand);
  border: 1px solid rgba(9,65,57,0.32);
  border-radius: 999px;
  padding: 5px 14px;
  white-space: nowrap;
}
.purchase-title {
  font-size: clamp(1.35rem, 1.8vw, 1.7rem);
  color: var(--brand-deep);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.purchase-offer {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.purchase-offer svg { transition: transform 0.18s ease; }
.purchase-offer:hover svg { transform: translateX(3px); }

/* ===== Careers ===== */
.careers {
  background:
    linear-gradient(90deg, rgba(19,36,32,0.92) 0%, rgba(19,36,32,0.78) 100%),
    url('images/careers.jpg') center / cover no-repeat;
}
.careers-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.careers .eyebrow { color: var(--lime); }
.careers h2 { color: var(--paper); font-size: clamp(1.51rem, 2.13vw, 1.94rem); margin-bottom: 0.6rem; }
.careers p { font-size: 0.98rem; color: rgba(237,247,230,0.8); max-width: 32rem; }

/* ===== Testimonials — shadcn-style marquee =====
   Two rows scrolling opposite directions, pure CSS loop (each row holds two
   copies of its card set; one set's width + gap = one keyframe cycle),
   faded edges via mask, pause on hover. */
.testimonials { background: var(--paper); overflow: hidden; }
.quote-marquees { display: flex; flex-direction: column; gap: 20px; }
.quote-row {
  --gap: 20px;
  --duration: 58s;
  display: flex;
  gap: var(--gap);
  overflow: hidden;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.quote-row + .quote-row { --duration: 66s; }
.marquee-group {
  display: flex;
  gap: var(--gap);
  flex: 0 0 auto;
  min-width: max-content;
  animation: marquee-scroll var(--duration) linear infinite;
  will-change: transform;
}
.quote-row:hover .marquee-group { animation-play-state: paused; }
.marquee--reverse .marquee-group { animation-direction: reverse; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% - var(--gap))); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-group { animation: none; }
  .quote-row { overflow-x: auto; scrollbar-width: none; }
}
.quote {
  flex: 0 0 clamp(300px, 27vw, 380px);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid rgba(19,36,32,0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem;
}
.stars {
  color: var(--lime);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  margin-bottom: 0.9rem;
  line-height: 1;
}
.quote p { font-size: 1.15rem; font-weight: 500; line-height: 1.45; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 1.1rem; }
.quote footer { font-family: var(--font-mono); font-size: 0.78rem; color: var(--brand); letter-spacing: 0.01em; margin-top: auto; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: var(--paper); padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(225,230,222,0.16);
}
.footer-logo { height: 26px; margin-bottom: 1.1rem; }
.footer-tag { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.01em; color: var(--lime-light); margin-bottom: 1.1rem; }
.footer-cert { font-size: 0.82rem; color: rgba(225,230,222,0.55); line-height: 1.6; }
.footer-col h4 { color: var(--paper); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-mono); margin-bottom: 1.1rem; font-weight: 400; }
.footer-col a, .footer-contact p { display: block; color: rgba(225,230,222,0.78); font-size: 0.95rem; margin-bottom: 0.65rem; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom { padding-top: 1.5rem; }
.footer-bottom p { font-size: 0.85rem; color: rgba(225,230,222,0.5); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-inner { grid-template-columns: 1fr; }
  .feature-media { min-height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-search { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 6.7rem; left: clamp(0.75rem, 3vw, 1.5rem); right: clamp(0.75rem, 3vw, 1.5rem);
    background: rgba(245,244,243,0.97);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    padding: 1.25rem 1.5rem; gap: 1rem;
    border: 1px solid rgba(19,36,32,0.08);
    border-radius: 1.25rem;
    box-shadow: 0 16px 40px -18px rgba(19,36,32,0.3);
  }
  .card-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .step { grid-template-columns: 1fr; gap: 0.5rem; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ===== Subpages (multi-page reskin) ===== */
.page-hero { padding: clamp(8.5rem, 11vw, 10.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.page-hero h1 { font-size: clamp(1.89rem, 3.06vw, 2.64rem); letter-spacing: -0.03em; line-height: 1.06; max-width: 46rem; }
.page-hero .section-lead { margin-top: 1.1rem; }
.page-section { padding: clamp(2.5rem, 5vw, 4rem) 0; }

/* prose (articles, legal) */
.prose { max-width: 42rem; }
.prose p { margin-bottom: 1.15rem; color: #2e423c; }
.prose h2 { font-size: 1.6rem; margin: 2.2rem 0 0.8rem; }
.prose h3 { font-size: 1.25rem; margin: 1.8rem 0 0.6rem; }
.prose li { margin: 0 0 0.5rem 1.2rem; color: #2e423c; }
.article-meta { font-family: var(--font-mono); font-size: 0.8rem; color: var(--brand); margin-bottom: 1.5rem; }
.article-hero-img { width: 100%; max-width: 52rem; border-radius: var(--radius-lg); margin: 1.5rem 0 2.5rem; display: block; }

/* team detail */
.team-detail { display: grid; grid-template-columns: 340px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.team-detail-photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top center; border-radius: var(--radius-lg); }
.team-contact { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 1.4rem 0 2rem; }
.team-detail .prose p { font-size: 1.05rem; }

/* purchase detail */
.purchase-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.purchase-detail-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); }

/* insights index */
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 1.25rem; }
.insight-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid rgba(19,36,32,0.08); border-radius: var(--radius-lg); overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.insight-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px -30px rgba(19,36,32,0.35); }
.insight-card-img { aspect-ratio: 16/10; object-fit: cover; width: 100%; background: var(--lightest-green); }
.insight-card-body { padding: 1.25rem 1.3rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.insight-card-date { font-family: var(--font-mono); font-size: 0.72rem; color: var(--brand); }
.insight-card h3 { font-size: 1.08rem; line-height: 1.3; }

@media (max-width: 900px) {
  .team-detail, .purchase-detail { grid-template-columns: 1fr; }
  .insight-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .insight-grid { grid-template-columns: 1fr; }
}

/* ===== Composed marketing pages ===== */
.quotes-static { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; max-width: 62rem; }
.quotes-static .quote { flex: none; }

.stat-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding: clamp(2rem,4vw,3rem) 0; border-top: 1px solid rgba(19,36,32,0.1); border-bottom: 1px solid rgba(19,36,32,0.1); }
.stat-num { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 500; letter-spacing: -0.03em; color: var(--brand); line-height: 1; }
.stat-label { margin-top: 0.5rem; color: #3a544d; font-size: 0.95rem; max-width: 16rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); }
.split .prose p { font-size: 1.02rem; }
/* Tall split (about-us hero): the text column drives the row height and the
   image crops vertically (fixed width, grows in height) to match it. */
.split-tall { align-items: stretch; }
.split-tall .split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.split-tall .split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-tall .prose .section-lead { margin-bottom: 1.5rem; }
.split-tall .prose h1 { margin-bottom: 1.1rem; }
.split-tall .prose h1 + .section-lead { margin-top: 0; }
@media (max-width: 860px) { .split-tall .split-media { aspect-ratio: 4/3; } }

.feature-rows { display: flex; flex-direction: column; max-width: 46rem; }
.feature-row { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; padding: 1.4rem 0; border-top: 1px solid rgba(19,36,32,0.1); }
.feature-row:last-child { border-bottom: 1px solid rgba(19,36,32,0.1); }
.feature-num { font-family: var(--font-mono); font-size: 0.85rem; color: var(--lime); padding-top: 0.3rem; }
.feature-row h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.feature-row p { color: #3a544d; font-size: 0.98rem; }

/* lead forms */
.lead-form { display: flex; flex-wrap: wrap; gap: 1rem; max-width: 40rem; }
.ffield { display: flex; flex-direction: column; gap: 0.35rem; width: 100%; }
.ffield-half { width: calc(50% - 0.5rem); }
.ffield span { font-size: 0.82rem; color: #3a544d; }
.ffield input, .ffield textarea {
  font-family: var(--font-sans); font-size: 0.95rem; color: var(--ink);
  background: var(--surface); border: 1px solid rgba(19,36,32,0.18);
  border-radius: 10px; padding: 0.7rem 0.9rem; outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ffield input:focus, .ffield textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(12,210,87,0.15); }
.lead-form .btn { margin-top: 0.5rem; }

@media (max-width: 860px) {
  .quotes-static, .split, .stat-band { grid-template-columns: 1fr; }
  .ffield-half { width: 100%; }
}

/* ===== Full-width promo panels (polln pre-screening style) ===== */
.promo-panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: clamp(420px, 56vh, 540px);
  display: flex;
  align-items: center;
  background: var(--ink);
}
.promo-panel + .promo-panel { margin-top: 1.5rem; }
.promo-panel-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.promo-panel-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9,44,36,0.82) 0%, rgba(9,44,36,0.45) 45%, rgba(9,44,36,0.05) 75%);
}
.promo-panel-content {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 5vw, 4rem);
  max-width: 34rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
}
.promo-panel-content .eyebrow { color: var(--lime); border-color: color-mix(in srgb, currentColor 45%, transparent); margin-bottom: 0; }
.panel-note { color: rgba(255,255,255,0.85); font-size: 0.98rem; }
.panel-note strong { color: #fff; font-weight: 600; }
.fifo-survey { background: var(--surface); border: 1px solid rgba(19,36,32,0.1); border-radius: var(--radius-lg); padding: clamp(1rem, 2vw, 1.6rem); }
.promo-panel-content h2 { color: #fff; font-size: clamp(1.79rem, 2.89vw, 2.55rem); letter-spacing: -0.03em; }
.promo-panel-content p { color: rgba(255,255,255,0.88); font-size: 1.08rem; line-height: 1.5; }
.promo-panel-content .btn { margin-top: 0.4rem; }
@media (max-width: 720px) {
  .promo-panel { min-height: 420px; align-items: flex-end; }
  .promo-panel-scrim { background: linear-gradient(0deg, rgba(9,44,36,0.85) 0%, rgba(9,44,36,0.2) 70%); }
}

/* ===== Video embed feature ===== */
.video-panel { background: var(--ink); border-radius: var(--radius-lg); overflow: hidden; display: flex; align-items: stretch; }
/* copy column drives the panel height; the embed stretches + crops to match */
.video-embed { position: relative; flex: 1.35; min-height: 400px; background: #000; }
.video-panel-copy { flex: 1; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* YouTube facade: poster + brand play button; iframe only exists after click */
.video-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.video-embed::before { content: ""; position: absolute; inset: 0; background: rgba(9,25,21,0.18); transition: background 0.25s ease; z-index: 1; }
.video-play { position: absolute; inset: 0; margin: auto; width: 66px; height: 66px; border: 0; border-radius: 50%;
  background: var(--lime); color: var(--ink); display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 2; transition: transform 0.22s ease, box-shadow 0.22s ease; box-shadow: 0 8px 28px rgba(0,0,0,0.35); }
.video-play svg { margin-left: 3px; }
.video-embed:hover .video-play { transform: scale(1.08); box-shadow: 0 10px 34px rgba(0,0,0,0.45); }
.video-embed:hover::before { background: rgba(9,25,21,0.06); }
.video-embed.is-playing::before, .video-embed.is-playing .video-poster, .video-embed.is-playing .video-play { display: none; }
.video-panel-copy { padding: clamp(1.75rem, 3.5vw, 3rem); display: flex; flex-direction: column; justify-content: center; gap: 0.9rem; }
.video-panel-copy .eyebrow { color: var(--lime); border-color: color-mix(in srgb, currentColor 45%, transparent); margin-bottom: 0; align-self: flex-start; }
.video-panel-link { display: inline-flex; align-items: center; gap: 0.45rem; align-self: flex-start; color: var(--lime);
  font-size: 0.92rem; font-weight: 600; margin-top: 0.2rem; }
.video-panel-link .btn-arrow { transition: transform 0.2s ease; }
.video-panel-link:hover .btn-arrow { transform: translateX(3px); }
.video-panel-btn { align-self: flex-start; margin-top: 0.3rem; }
.video-panel-copy h3 { color: #fff; font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -0.02em; }
.video-panel-copy p { color: rgba(255,255,255,0.82); font-size: 0.98rem; }
@media (max-width: 860px) {
  .video-panel { flex-direction: column; }
  .video-embed { flex: none; min-height: 0; aspect-ratio: 16/9; }
  .video-panel-copy { flex: none; }
}

/* ===== Video checklist panel (polln trust-panel style) ===== */
.promo-panel.is-video { min-height: clamp(560px, 78vh, 720px); align-items: stretch; }
.promo-panel-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.promo-panel.is-video .promo-panel-scrim {
  background: linear-gradient(90deg, rgba(9,44,36,0.72) 0%, rgba(9,44,36,0.38) 55%, rgba(9,44,36,0.15) 100%);
}
.promo-panel.is-video .promo-panel-content {
  max-width: 44rem;
  justify-content: space-between;
  align-items: flex-start;
}
.check-list { list-style: none; margin: 0.5rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.85rem; }
.check-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; color: rgba(255,255,255,0.92); font-size: 1rem; line-height: 1.45; }
.check-list li strong { font-weight: 600; color: #fff; }
.check-list .chk {
  width: 20px; height: 20px; flex: none; margin-top: 2px;
  border-radius: 50%; background: var(--lime);
  display: inline-flex; align-items: center; justify-content: center;
}
.check-list .chk svg { width: 11px; height: 11px; stroke: var(--ink); }
.promo-panel.is-video .btn { margin-top: 2rem; }

/* ===== Stats stripe (dark band, count-up numbers, fading labels) ===== */
.stat-stripe { background: var(--brand); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.stat-stripe .stat-band { border: 0; padding: 0; }
.stat-stripe .stat-num { color: var(--paper); font-variant-numeric: tabular-nums; }
.stat-stripe .stat { text-align: center; }
.stat-stripe .stat-label {
  margin-left: auto; margin-right: auto;
  hyphens: none;
  color: rgba(237,247,230,0.75);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.stat-stripe .stat.done .stat-label { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .stat-stripe .stat-label { opacity: 1; transform: none; transition: none; }
}

/* ===== Services router panels: white pills + calmer headlines ===== */
.promo-panel.promo-compact .promo-panel-content .eyebrow {
  color: #fff;
  border-color: rgba(255,255,255,0.55);
  font-size: 0.78rem;        /* matches the page-hero pill exactly */
  padding: 5px 14px;
}
.promo-panel.promo-compact .promo-panel-content h2 {
  font-size: clamp(1.52rem, 2.7vw, 2.16rem);   /* -20% */
}

/* ===== Centered page hero variant + kicker line ===== */
.page-hero.centered { text-align: center; padding-bottom: clamp(1.2rem, 2.4vw, 2rem); }  /* ring gap -20% */
.page-hero.centered h1, .page-hero.centered .section-lead { margin-left: auto; margin-right: auto; }
.hero-kicker { font-size: 1rem; color: var(--ink); margin-bottom: 1.1rem; }
.hero-kicker strong { font-weight: 600; }
.centered-lead { text-align: center; }
.centered-lead .section-lead { margin: 0 auto; max-width: 46rem; }

/* ===== Ring Array (ported from Motionhub 'Ring' scene) ===== */
.ring-array {
  position: relative;
  height: clamp(300px, 46vw, 500px);
  overflow: hidden;
}
.ring-array .ring-card {
  position: absolute;
  top: 0; left: 0;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 3 / 2;
  will-change: transform;
  box-shadow: 0 18px 44px -22px rgba(19,36,32,0.35);
}

/* ===== Insights: latest-article feature (polln library style) ===== */
.insight-feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: center;
  background: var(--surface);
  border: 1px solid rgba(19,36,32,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.insight-feature:hover { transform: translateY(-3px); box-shadow: 0 24px 55px -32px rgba(19,36,32,0.4); }
.insight-feature-img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.insight-feature-body { padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem) 0; display: flex; flex-direction: column; gap: 0.7rem; align-items: flex-start; }
.insight-feature-body h2 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); line-height: 1.15; }
.insight-feature-body p.excerpt { font-size: 0.95rem; color: #3a544d; }
.insight-card-author { font-family: var(--font-mono); font-size: 0.72rem; color: rgba(19,36,32,0.55); }
@media (max-width: 860px) {
  .insight-feature { grid-template-columns: 1fr; }
  .insight-feature-body { padding: 1.5rem; }
}

/* ===== Article page (polln library-article style) ===== */
.article-back { font-family: var(--font-mono); font-size: 0.78rem; color: var(--brand); display: inline-flex; gap: 0.4rem; margin-bottom: 1.2rem; }
.article-back:hover { text-decoration: underline; }
.article-standfirst { font-size: 1.05rem; line-height: 1.4; color: #3a544d; max-width: 44rem; margin-top: 1rem; }
.article-byline { margin-top: 1.4rem; display: flex; align-items: center; gap: 0.75rem; }
.byline-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; background: var(--lightest-green); }
.byline-avatar--mark { object-fit: contain; padding: 9px; background: var(--mint); }
.article-byline .label { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(19,36,32,0.5); display: block; margin-bottom: 0.2rem; }
.article-byline a, .article-byline .name { font-size: 0.9rem; font-weight: 500; color: var(--brand); }
.article-byline a:hover { text-decoration: underline; }

.article-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.article-side { position: sticky; top: 8rem; display: flex; flex-direction: column; gap: 1.25rem; }
.toc { border-top: 1px solid rgba(19,36,32,0.12); padding-top: 1rem; }
.toc .toc-title { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(19,36,32,0.5); margin-bottom: 0.7rem; }
.toc a { display: block; font-size: 0.82rem; line-height: 1.3; color: rgba(19,36,32,0.75); padding: 0.28rem 0; }
.toc a.toc-h3 { padding-left: 0.9rem; font-size: 0.78rem; color: rgba(19,36,32,0.55); }
.toc a:hover { color: var(--brand); }
.side-cta { background: var(--brand); border-radius: var(--radius); padding: 1.3rem 1.2rem 1.4rem; color: var(--paper); }
.side-cta h4 { color: var(--paper); font-size: 1.02rem; margin-bottom: 0.4rem; }
.side-cta p { font-size: 0.82rem; line-height: 1.35; color: rgba(237,247,230,0.8); margin-bottom: 0.9rem; }
.article-body .article-hero-img { margin: 0 0 2rem; max-width: 100%; }
.article-body .prose h2 { scroll-margin-top: 8rem; }
.article-body .prose h3 { scroll-margin-top: 8rem; }

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-side { position: static; order: 2; }
  .toc { display: none; }
}

/* ===== Insights hero feature: big image + frosted overlay (polln library) ===== */
.insight-hero {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: clamp(360px, 44vw, 520px);
}
.insight-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.insight-hero:hover .insight-hero-img { transform: scale(1.025); }
.insight-hero-panel {
  position: absolute;
  left: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  max-width: 34rem;
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: flex-start;
}
.insight-hero-panel h2 { font-size: clamp(1.2rem, 1.9vw, 1.6rem); line-height: 1.15; }
.insight-hero-panel .excerpt { font-size: 0.88rem; line-height: 1.35; color: rgba(19,36,32,0.75); }
.insight-hero-meta { font-family: var(--font-mono); font-size: 0.72rem; color: var(--brand); }

/* ===== Article search (polln library) ===== */
.articles-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.article-search {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--surface);
  border: 1px solid rgba(19,36,32,0.15);
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  width: min(24rem, 55vw);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.article-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(12,210,87,0.15); }
.article-search svg { flex: none; color: rgba(19,36,32,0.5); }
.article-search input { border: 0; outline: none; background: transparent; font-family: var(--font-sans); font-size: 0.9rem; width: 100%; color: var(--ink); }
.article-search input::placeholder { color: rgba(19,36,32,0.4); }
.no-results { font-size: 0.95rem; color: rgba(19,36,32,0.55); padding: 1.5rem 0; display: none; }

/* ===== Pill size: ONE size everywhere. !important so no parent context
   (e.g. .split .prose p font sizing) can ever inflate a pill again. ===== */
p.eyebrow, .eyebrow {
  font-size: 0.78rem !important;
  line-height: 1.2 !important;
  padding: 5px 14px !important;
}
/* prose contexts (split-tall intros etc.) must not tint the pill */
.prose p.eyebrow { color: var(--brand); }

/* Pills overlaying video backgrounds: white, not green */
.promo-panel.is-video .promo-panel-content .eyebrow,
.video-panel-copy .eyebrow {
  color: #fff;
  border-color: color-mix(in srgb, currentColor 45%, transparent);
}

/* ===== Team pages: socials, resource videos, get-in-touch form ===== */
.team-socials { display: flex; gap: 0.6rem; margin: -0.5rem 0 1.5rem; }
.team-socials a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(9,65,57,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand); transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.team-socials a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.resource-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem 1.2rem; }
.resource-title { font-size: 0.88rem; margin-top: 0.7rem; color: var(--ink); line-height: 1.35; font-weight: 500; }
.resource-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; font-weight: 600; color: var(--brand); margin-top: 0.4rem; }
.resource-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.touch-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.cal-embed { width: 100%; border: 0; min-height: 640px; border-radius: var(--radius-lg); background: var(--surface); }
@media (max-width: 1080px) { .resource-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) {
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .touch-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .resource-grid { grid-template-columns: 1fr; } }

/* ===== Dogface mark: tips 5° anticlockwise while you scroll, then snaps
   back to its resting tilt with a springy ease. Never moves position. ===== */
.dogface {
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1); /* snap back, eased */
  will-change: transform;
  pointer-events: none;
  user-select: none;
}
.dogface.is-scrolling {
  transform: rotate(calc(var(--tilt, 0deg) - 5deg));
  transition: transform 0.25s ease-out;
}
.has-dogface { position: relative; }
.dogface--stories { position: absolute; left: min(58%, 40rem); top: -0.4rem; width: 78px; --tilt: 10deg; }
.dogface--portfolio { position: absolute; left: min(46%, 30rem); top: -1rem; width: 96px; --tilt: -10deg; }
.dogface--pillars { display: block; width: 104px; margin-bottom: 1.8rem; --tilt: -9deg; }
@media (max-width: 860px) {
  .dogface--stories { left: auto; right: 4%; width: 58px; }
  .dogface--pillars { width: 76px; margin-bottom: 1.2rem; }
}

/* ===== Legal pages: Termly policy viewer (same policies as live site) ===== */
.termly-policy { width: 100%; border: 0; min-height: 75vh; height: 1600px; }

/* ===== Site search page ===== */
.search-page-box { max-width: 30rem; margin: 1.2rem auto 0; border: 1px solid rgba(19,36,32,0.18); border-radius: 999px; padding: 0.6rem 1.1rem; background: var(--surface); }
.search-results { max-width: 46rem; }
.search-status { font-size: 0.95rem; color: rgba(19,36,32,0.55); padding: 1rem 0; }
.search-hit { display: block; padding: 1.1rem 0; border-bottom: 1px solid rgba(19,36,32,0.1); }
.search-hit h3 { font-size: 1.08rem; letter-spacing: -0.015em; color: var(--brand-deep); margin-bottom: 0.15rem; }
.search-hit:hover h3 { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.search-hit-path { font-family: var(--font-mono); font-size: 0.72rem; color: var(--brand); }
.search-hit p { font-size: 0.9rem; color: rgba(19,36,32,0.65); margin-top: 0.35rem; line-height: 1.4; }

/* ===== Image gallery (purchase pages): main image + thumbnails + lightbox ===== */
.gallery-main {
  display: block; width: 100%; padding: 0; border: 0; background: var(--lightest-green);
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; cursor: zoom-in;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0.8rem; margin-top: 0.8rem; }
.gallery-thumb {
  padding: 0; border: 0; background: var(--lightest-green); cursor: pointer;
  border-radius: 12px; overflow: hidden; aspect-ratio: 4/3;
  opacity: 0.55; outline: 2px solid transparent; outline-offset: 2px;
  transition: opacity 0.2s ease, outline-color 0.2s ease;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb:hover { opacity: 1; }
.gallery-thumb.is-active { opacity: 1; outline-color: var(--brand); }
.lightbox {
  position: fixed; inset: 0; z-index: 1000; display: none;
  align-items: center; justify-content: center; padding: 4vh 4vw;
  background: rgba(9, 25, 21, 0.9);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); cursor: default; }
.lightbox-close {
  position: absolute; top: 18px; right: 22px; width: 42px; height: 42px;
  border-radius: 50%; border: 0; background: rgba(255,255,255,0.14); color: #fff;
  font-size: 16px; cursor: pointer; transition: background 0.2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,0.3); }

/* ===== Learning hub (YouTube shorts) ===== */
.shorts-grid { grid-template-columns: repeat(4, 1fr); }
.short-card-img { aspect-ratio: 9/16; }
.short-card h3 { font-size: 0.98rem; }
@media (max-width: 1080px) { .shorts-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .shorts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .shorts-grid { grid-template-columns: 1fr; } .short-card-img { aspect-ratio: 4/5; } }

/* Hub filter tabs (inline with search bar) */
.hub-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.hub-filter {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--brand);
  background: transparent;
  color: var(--brand);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.hub-filter:hover {
  background: rgba(15, 83, 66, 0.06);
}
.hub-filter.is-active {
  background: var(--brand);
  color: #fff;
}

/* Hub sections */
.hub-section { margin-bottom: 2.5rem; }
.hub-section-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(15, 83, 66, 0.12);
}

@media (max-width: 700px) {
  .articles-bar { flex-wrap: wrap; }
  .hub-filters { margin-top: 0.5rem; width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .hub-filter { white-space: nowrap; flex: none; }
}

/* standalone portrait facade (learning hub posts — sits in the article rail) */
.video-embed--portrait {
  flex: none;
  aspect-ratio: 9/16;
  min-height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
}
.video-embed--portrait .video-play { width: 56px; height: 56px; }
.transcript-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--brand); border-bottom: 1px solid rgba(19,36,32,0.12);
  padding-bottom: 0.6rem; margin-bottom: 1.2rem !important; }

/* ===== Pillar band (agents page) — polln numbered cards on mint =====
   Sticky heading on the left, stacked white numbered cards on the right. */
.pillar-band { background: var(--mint); padding: clamp(3rem, 6vw, 5rem) 0; }
.pillar-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.pillar-head { position: sticky; top: 7rem; }
.pillar-head h2 { font-size: clamp(1.7rem, 2.72vw, 2.35rem); letter-spacing: -0.028em; line-height: 1.08; color: var(--brand-deep); }
.pillar-cards { display: flex; flex-direction: column; gap: 1.1rem; }
.pillar-card { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: 0 18px 40px rgba(9,65,57,0.08); }
.pillar-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand-deep); color: var(--mint);
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.03em;
  margin-bottom: 1.1rem;
}
.pillar-card h3 { font-size: clamp(1.25rem, 1.9vw, 1.55rem); letter-spacing: -0.02em; margin-bottom: 0.55rem; color: var(--brand-deep); }
.pillar-card p { color: #2e423c; font-size: 0.98rem; max-width: 36rem; }
@media (max-width: 860px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar-head { position: static; }
}

/* ===== Statement panel (polln "we're not the cheapest" style) =====
   Text sits on the page background; the image below fades up into it. */
.statement-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.statement-panel-content {
  position: relative;
  z-index: 1;
  padding: clamp(1rem, 2.5vw, 2rem) 1rem 0;
  max-width: 46rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}
.statement-panel h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.statement-panel h2 .line2 { color: var(--brand); display: block; }
.statement-bg {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9.5;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  margin-top: -5.5rem;              /* image's faded top rises behind the button */
  /* long soft dissolve into the page background — no visible top edge */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.35) 14%, #000 34%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.35) 14%, #000 34%);
}
