/* ================================================================
   CUSTOM PROPERTIES
   ================================================================ */
:root {
  /* Palette — from reference design */
  --paper:             #F3EEE3;
  --paper-2:           #ECE4D4;
  --paper-3:           #E6DCC7;
  --pine:              #2C3A2E;
  --pine-2:            #3E5140;
  --sage:              #8FA080;
  --honey:             #C0813A;
  --honey-soft:        #E0B267;
  --ink:               #232A24;
  --line:              rgba(44,58,46,.16);

  /* Mapped onto existing token names */
  --clr-primary:       #2C3A2E;
  --clr-primary-mid:   #3E5140;
  --clr-primary-light: #8FA080;
  --clr-accent:        #C0813A;
  --clr-accent-dark:   #A56A2C;
  --clr-secondary:     #8FA080;
  --clr-sand:          #ECE4D4;
  --clr-cream:         #F3EEE3;
  --clr-rose:          var(--clr-accent);
  --clr-rose-dark:     var(--clr-accent-dark);

  --clr-bg:            #F3EEE3;
  --clr-surface:       #FFFFFF;
  --clr-text:          #232A24;
  --clr-muted:         #6A7365;
  --clr-border:        rgba(44,58,46,.16);

  /* Fonts */
  --font-display:      'Fraunces', Georgia, 'Times New Roman', serif;
  --font-ui:           'Hanken Grotesk', system-ui, -apple-system, sans-serif;

  --nav-h:         80px;
  --nav-h-scroll:  62px;

  --shadow-sm:  0 1px 8px rgba(0,0,0,.06);
  --shadow-md:  0 4px 24px rgba(0,0,0,.09);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.13);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.18);

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;

  --ease:        cubic-bezier(.25,.46,.45,.94);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

/* ================================================================
   RESET
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-ui);
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
address { font-style: normal; }
em  { font-style: italic; color: var(--clr-primary-mid); }

/* ================================================================
   LAYOUT
   ================================================================ */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 32px;
}

.section {
  padding-block: 100px;
}

.section-header {
  max-width: 680px;
  margin-bottom: 60px;
}

.section-header.centered,
.section-header--center {
  text-align: center;
  margin-inline: auto;
}

.section-cta {
  text-align: center;
  margin-top: 52px;
}

/* ================================================================
   TYPOGRAPHY
   ================================================================ */
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-primary-mid);
  margin-bottom: 12px;
}

.eyebrow--light { color: rgba(255,255,255,.85); }

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--clr-rose);
  border-radius: 2px;
  transition: width .55s var(--ease) .1s;
}

.section-title.in-view::after { width: 56px; }

.section-sub {
  font-size: 1.05rem;
  color: var(--clr-muted);
  max-width: 560px;
  margin-top: 20px;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s, color .22s, border-color .22s;
  white-space: nowrap;
}

.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--clr-primary-mid);
  color: var(--clr-surface);
  border-color: var(--clr-primary-mid);
}
.btn-primary:hover {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  box-shadow: 0 8px 24px rgba(62,81,64,.3);
}

.btn-white {
  background: var(--clr-surface);
  color: var(--clr-primary);
  border-color: var(--clr-surface);
}
.btn-white:hover {
  background: rgba(255,255,255,.9);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

.btn-outline-white {
  background: transparent;
  color: var(--clr-surface);
  border-color: rgba(255,255,255,.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--clr-surface);
}

/* ================================================================
   KEYFRAME ANIMATIONS
   ================================================================ */
@keyframes kenBurns {
  0%   { transform: scale(1.0) translate(0, 0); }
  25%  { transform: scale(1.06) translate(-1.2%, -.6%); }
  50%  { transform: scale(1.1)  translate(.6%, -1.2%); }
  75%  { transform: scale(1.06) translate(-.6%, .8%); }
  100% { transform: scale(1.0)  translate(0, 0); }
}

@keyframes gradientDrift {
  0%   { background-position: 0% 0%; }
  33%  { background-position: 60% 40%; }
  66%  { background-position: 100% 80%; }
  100% { background-position: 0% 0%; }
}

@keyframes floatA {
  0%,100% { transform: translateY(0px) rotate(0deg)  scale(1); }
  40%      { transform: translateY(-22px) rotate(8deg)  scale(1.04); }
  70%      { transform: translateY(10px)  rotate(-5deg) scale(.97); }
}

@keyframes floatB {
  0%,100% { transform: translateY(0px) rotate(0deg)  scale(1); }
  35%      { transform: translateY(-16px) rotate(-6deg) scale(1.03); }
  65%      { transform: translateY(14px)  rotate(4deg)  scale(.98); }
}

@keyframes floatC {
  0%,100% { transform: translateY(0px) rotate(0deg); }
  50%      { transform: translateY(-10px) rotate(3deg); }
}

@keyframes scrollBounce {
  0%,100% { transform: translateY(0);    opacity: 1; }
  50%      { transform: translateY(8px); opacity: .4; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes bannerPulse {
  0%,100% { opacity: .55; }
  50%      { opacity: .75; }
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--clr-surface);
  box-shadow: var(--shadow-sm);
  transition:
    height .35s var(--ease),
    background .35s var(--ease),
    box-shadow .35s var(--ease);
}

.navbar.scrolled {
  height: var(--nav-h-scroll);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 2px 28px rgba(0,0,0,.11);
}

.nav-container {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--clr-primary);
  letter-spacing: -.03em;
  flex-shrink: 0;
  transition: color .2s;
}

.logo span { color: var(--clr-rose); }
.logo--light { color: rgba(255,255,255,.9); }
.logo--light span { color: rgba(255,255,255,.7); }
.logo:hover { color: var(--clr-primary-mid); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  position: relative;
  padding: 8px 14px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--clr-muted);
  border-radius: 6px;
  transition: color .2s, background .2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  width: 0;
  background: var(--clr-rose);
  border-radius: 2px;
  transition: width .3s var(--ease);
}

.nav-link:hover {
  color: var(--clr-primary);
  background: rgba(62,81,64,.06);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: calc(100% - 28px);
}

.nav-link.active {
  color: var(--clr-primary);
  font-weight: 600;
}

.nav-cta {
  background: var(--clr-primary-mid);
  color: var(--clr-surface) !important;
  border-radius: 6px;
  padding: 8px 18px;
  font-weight: 600;
  transition: background .2s, transform .2s;
}

.nav-cta::after { display: none; }

.nav-cta:hover {
  background: var(--clr-primary) !important;
  color: var(--clr-surface) !important;
  transform: translateY(-1px);
}

/* ================================================================
   HAMBURGER
   ================================================================ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  flex-shrink: 0;
  transition: background .2s;
}

.hamburger:hover  { background: var(--clr-bg); }
.hamburger:focus-visible { outline: 2px solid var(--clr-primary-mid); outline-offset: 2px; }

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transform-origin: center;
  transition: transform .32s var(--ease), opacity .32s var(--ease), background .2s;
}

.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image img {
  animation: kenBurns 22s ease-in-out infinite;
  will-change: transform;
  transform-origin: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    125deg,
    rgba(44,58,46,.78) 0%,
    rgba(17,24,39,.55) 40%,
    rgba(192,129,58,.25) 75%,
    rgba(44,58,46,.65) 100%
  );
  background-size: 250% 250%;
  animation: gradientDrift 14s ease-in-out infinite;
}

.hero-floats {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hf {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
}

.hf--1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(143,160,128,.4), transparent 70%);
  top: -80px; right: -60px;
  animation: floatA 11s ease-in-out infinite;
}

.hf--2 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(192,129,58,.35), transparent 70%);
  bottom: 60px; left: 8%;
  animation: floatB 8s ease-in-out infinite;
  animation-delay: -3.5s;
}

.hf--3 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(44,58,46,.5), transparent 70%);
  top: 35%; left: -100px;
  animation: floatC 14s ease-in-out infinite;
  animation-delay: -7s;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--clr-surface);
  padding-inline: 24px;
  max-width: 780px;
}

.hero-content h1 {
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.04em;
  margin-bottom: 22px;
}

.hero-content h1 em {
  color: var(--clr-rose);
  font-style: normal;
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: .88;
  margin-bottom: 40px;
  max-width: 560px;
  margin-inline: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.6);
  animation: scrollBounce 1.6s ease-in-out infinite;
}

/* ================================================================
   PAGE BANNER
   ================================================================ */
.page-banner {
  position: relative;
  margin-top: var(--nav-h);
  height: 380px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-banner__img {
  position: absolute;
  inset: 0;
}

.page-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(17,24,39,.82) 0%,
    rgba(44,58,46,.55) 50%,
    rgba(17,24,39,.3) 100%
  );
  animation: bannerPulse 8s ease-in-out infinite;
}

.page-banner__content {
  position: relative;
  z-index: 2;
  color: var(--clr-surface);
  padding-bottom: 48px;
}

.page-banner__content h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 10px;
}

.page-banner__content p {
  font-size: 1.05rem;
  opacity: .82;
}

/* ================================================================
   MARQUEE STRIP
   ================================================================ */
.marquee-strip {
  overflow: hidden;
  background: var(--clr-primary);
  padding-block: 18px;
  white-space: nowrap;
  user-select: none;
}

.marquee-track {
  display: inline-flex;
  animation: marquee 52s linear infinite;
}

.marquee-item {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  padding-inline: 28px;
}

.marquee-item::after {
  content: '·';
  margin-left: 28px;
  color: rgba(255,255,255,.25);
}

/* ================================================================
   SERVICE CARDS (home page grid)
   ================================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.cards-grid--6 {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  position: relative;
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--clr-rose);
  transition: width .4s var(--ease);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.service-card:hover::after { width: 100%; }

.service-card__img {
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}

.service-card__img img { transition: transform .55s var(--ease); }
.service-card:hover .service-card__img img { transform: scale(1.06); }

.service-card__body { padding: 26px 28px 32px; }

.service-card__icon {
  width: 36px; height: 36px;
  color: var(--clr-primary-mid);
  margin-bottom: 14px;
}
.service-card__icon svg { width: 100%; height: 100%; }

.service-card__body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--clr-text);
}

.service-card__body p {
  font-size: .94rem;
  color: var(--clr-muted);
  margin-bottom: 14px;
}

.service-features {
  list-style: none;
  margin-bottom: 20px;
}

.service-features li {
  font-size: .88rem;
  color: var(--clr-muted);
  padding-block: 4px;
  padding-left: 18px;
  position: relative;
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--clr-primary-light);
}

.card-link {
  font-size: .9rem;
  font-weight: 600;
  color: var(--clr-primary-mid);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color .2s, gap .2s;
}

.card-link:hover { color: var(--clr-rose); gap: 8px; }

/* ================================================================
   SERVICE BLOCKS (services page — full split)
   ================================================================ */
.services-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(145deg, #071a10 0%, #0f2e1e 35%, var(--clr-primary) 70%, #1a5c42 100%);
  padding-top: var(--nav-h);
  overflow: hidden;
}

.services-hero__floats { position: absolute; inset: 0; pointer-events: none; }

.services-hero__content {
  position: relative;
  z-index: 2;
  color: var(--clr-surface);
  padding-inline: 24px;
  max-width: 840px;
}

.services-hero__content h1 {
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.04em;
  margin-bottom: 24px;
}

.services-hero__content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: .78;
  max-width: 560px;
  margin-inline: auto;
}

.service-blocks { background: var(--clr-bg); }

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.service-block:nth-child(even) { direction: rtl; }
.service-block:nth-child(even) > * { direction: ltr; }

.service-block + .service-block { border-top: 1px solid var(--clr-border); }

.service-block__img {
  position: relative;
  overflow: hidden;
}

.service-block__img img {
  transition: transform .7s var(--ease);
  object-position: top center;
}

.service-block:hover .service-block__img img { transform: scale(1.04); }

.service-block__text {
  padding: 72px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--clr-surface);
}

.service-block__text .eyebrow { margin-bottom: 10px; }

.service-block__text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 20px;
  line-height: 1.15;
}

.service-block__text > p {
  font-size: 1.02rem;
  color: var(--clr-muted);
  margin-bottom: 28px;
  line-height: 1.8;
}

.service-block__text ul {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.service-block__text ul li {
  font-size: .97rem;
  color: var(--clr-text);
  padding-left: 26px;
  position: relative;
  line-height: 1.5;
}

.service-block__text ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--clr-primary-light);
}

/* ================================================================
   SPLIT LAYOUT (about teaser, about page)
   ================================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split--reversed { direction: rtl; }
.split--reversed > * { direction: ltr; }

.split__img { position: relative; }

.img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 520px;
  box-shadow: var(--shadow-lg);
}

.img-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--clr-rose);
  color: #fff;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  line-height: 1.3;
}

.img-badge strong {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -.03em;
}

.img-badge span {
  font-size: .78rem;
  font-weight: 600;
  opacity: .88;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.split__text p {
  color: var(--clr-muted);
  font-size: 1.02rem;
  margin-bottom: 18px;
}

.check-list {
  margin-block: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  font-size: .95rem;
  font-weight: 500;
  padding-left: 28px;
  position: relative;
  color: var(--clr-text);
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  background: var(--clr-primary-light);
  color: #fff;
  border-radius: 50%;
  font-size: .7rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 20px;
  text-align: center;
}

/* ================================================================
   ABOUT PAGE — MISSION CALLOUT
   ================================================================ */
.mission-callout {
  background: var(--clr-primary);
  padding-block: 96px;
  text-align: center;
}

.mission-callout blockquote {
  max-width: 820px;
  margin-inline: auto;
  padding-inline: 32px;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  line-height: 1.7;
  font-style: italic;
  color: rgba(255,255,255,.9);
  font-weight: 400;
}

.mission-callout blockquote::before {
  content: '"';
  display: block;
  font-size: 5rem;
  line-height: .8;
  color: var(--clr-primary-light);
  font-style: normal;
  margin-bottom: 16px;
}

.mission-callout cite {
  display: block;
  margin-top: 28px;
  font-style: normal;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--clr-primary-light);
}

/* ================================================================
   ABOUT PAGE — MODALITIES
   ================================================================ */
.modalities-section { background: var(--clr-bg); }

.modalities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.modality-tag {
  background: var(--clr-surface);
  border: 1.5px solid rgba(62,81,64,.18);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}

.modality-tag:hover {
  border-color: var(--clr-primary-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.modality-tag strong {
  display: block;
  font-size: .97rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 4px;
}

.modality-tag span {
  font-size: .8rem;
  color: var(--clr-primary-mid);
  font-weight: 600;
  letter-spacing: .04em;
}

/* ================================================================
   ABOUT PAGE — SPECIALTIES
   ================================================================ */
.specialties-section { background: var(--clr-surface); }

.specialties-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
}

.specialty-pill {
  padding: 10px 20px;
  border-radius: 40px;
  background: var(--clr-bg);
  border: 1.5px solid var(--clr-border);
  font-size: .9rem;
  font-weight: 500;
  color: var(--clr-text);
  transition: border-color .2s, background .2s, color .2s, transform .2s;
}

.specialty-pill:hover {
  border-color: var(--clr-primary-light);
  background: rgba(143,160,128,.08);
  color: var(--clr-primary);
  transform: translateY(-2px);
}

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonials { background: var(--clr-surface); }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testi-card {
  background: var(--clr-bg);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testi-stars { color: #f59e0b; font-size: 1rem; letter-spacing: 2px; }

.testi-card p {
  font-size: .97rem;
  color: var(--clr-text);
  line-height: 1.65;
  flex: 1;
}

.testi-card footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}

.testi-card footer img {
  width: 48px; height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

.testi-card footer strong {
  display: block;
  font-size: .92rem;
  font-weight: 700;
}

.testi-card footer span {
  font-size: .82rem;
  color: var(--clr-muted);
}

/* ================================================================
   CTA BANNER
   ================================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-mid) 100%);
  padding-block: 80px;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-banner__inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--clr-surface);
  letter-spacing: -.02em;
  margin-bottom: 8px;
}

.cta-banner__inner p {
  font-size: 1rem;
  color: rgba(255,255,255,.75);
}

/* ================================================================
   CONTACT — SPLIT LAYOUT
   ================================================================ */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  min-height: calc(100vh - var(--nav-h));
  margin-top: var(--nav-h);
}

.contact-split__info {
  background: var(--clr-primary);
  color: rgba(255,255,255,.9);
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-split__info .eyebrow { color: var(--clr-primary-light); }

.contact-split__info h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.03em;
  margin-bottom: 14px;
  line-height: 1.15;
}

.contact-split__info > p {
  font-size: 1rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 52px;
  line-height: 1.7;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}

.contact-info-item__icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--clr-primary-light);
}

.contact-info-item__icon svg { width: 100%; height: 100%; }

.contact-info-item strong {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 5px;
}

.contact-info-item p,
.contact-info-item a {
  font-size: .97rem;
  color: rgba(255,255,255,.82);
  line-height: 1.6;
}

.contact-info-item a:hover { color: #fff; }

.contact-split__form {
  background: var(--clr-surface);
  padding: 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-split__form h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 6px;
}

.contact-split__form .section-sub { margin-top: 0; margin-bottom: 36px; }

/* Form elements */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--clr-muted);
}

.form-group label span { color: var(--clr-rose); }

.form-group input,
.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  background: var(--clr-bg);
  color: var(--clr-text);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--clr-primary-mid);
  box-shadow: 0 0 0 3px rgba(62,81,64,.12);
  background: var(--clr-surface);
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--clr-rose);
  box-shadow: 0 0 0 3px rgba(192,129,58,.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.select-wrap { position: relative; }

.select-wrap select {
  width: 100%;
  padding: 13px 40px 13px 16px;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  background: var(--clr-bg);
  color: var(--clr-text);
  appearance: none;
  cursor: pointer;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.select-wrap select:focus {
  border-color: var(--clr-primary-mid);
  box-shadow: 0 0 0 3px rgba(62,81,64,.12);
  background: var(--clr-surface);
}

.select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--clr-muted);
  pointer-events: none;
}

.select-arrow svg { width: 100%; height: 100%; }

.field-error {
  font-size: .8rem;
  color: var(--clr-rose);
  min-height: 18px;
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.form-legal { font-size: .8rem; color: var(--clr-muted); }

#submit-btn { position: relative; }

.btn-loader {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

#submit-btn.loading .btn-label { opacity: 0; }
#submit-btn.loading .btn-loader { display: block; position: absolute; }

.form-success {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(62,81,64,.08);
  border: 1.5px solid rgba(62,81,64,.25);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  color: var(--clr-primary);
}

.form-success svg { width: 28px; height: 28px; flex-shrink: 0; }
.form-success strong { font-weight: 700; display: block; margin-bottom: 2px; }
.form-success p { font-size: .9rem; color: var(--clr-muted); }

/* ================================================================
   VALUES GRID
   ================================================================ */
.values-section { background: var(--clr-bg); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-card__icon {
  width: 40px; height: 40px;
  color: var(--clr-primary-mid);
  margin-bottom: 18px;
}

.value-card__icon svg { width: 100%; height: 100%; }

.value-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.value-card p { font-size: .9rem; color: var(--clr-muted); line-height: 1.6; }

/* ================================================================
   STATS
   ================================================================ */
.stats-section {
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-mid) 100%);
  padding-block: 72px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.stat-num-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: row;
}

.stat-num {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 900;
  color: var(--clr-surface);
  letter-spacing: -.04em;
  line-height: 1;
}

.stat-suffix {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900;
  color: var(--clr-surface);
  padding-top: 4px;
}

.stat-item span {
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: #0f2318;
  color: rgba(255,255,255,.65);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-block: 72px;
}

.footer-brand .logo--light {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.footer-brand p {
  font-size: .9rem;
  line-height: 1.6;
  max-width: 260px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav strong {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.9);
  margin-bottom: 6px;
}

.footer-nav a {
  font-size: .88rem;
  transition: color .2s;
}

.footer-nav a:hover { color: rgba(255,255,255,.95); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact strong {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.9);
  margin-bottom: 6px;
}

.footer-contact p  { font-size: .88rem; line-height: 1.6; }
.footer-contact a  { font-size: .88rem; display: block; transition: color .2s; }
.footer-contact a:hover { color: rgba(255,255,255,.95); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 24px;
}

.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p { font-size: .82rem; }

.footer-legal { display: flex; gap: 24px; }

.footer-legal a {
  font-size: .82rem;
  transition: color .2s;
}

.footer-legal a:hover { color: rgba(255,255,255,.95); }

/* ================================================================
   FADE-UP SCROLL ANIMATION
   ================================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: .08s; }
.fade-up:nth-child(3) { transition-delay: .16s; }
.fade-up:nth-child(4) { transition-delay: .24s; }
.fade-up:nth-child(5) { transition-delay: .32s; }
.fade-up:nth-child(6) { transition-delay: .40s; }

/* Legacy reveal support */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}

.reveal.in-view { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

.reveal-stagger.in-view > *:nth-child(1) { transition-delay: .05s; opacity: 1; transform: none; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: .13s; opacity: 1; transform: none; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: .21s; opacity: 1; transform: none; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: .29s; opacity: 1; transform: none; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: .37s; opacity: 1; transform: none; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: .45s; opacity: 1; transform: none; }

/* ================================================================
   RESPONSIVE — 1100px
   ================================================================ */
@media (max-width: 1100px) {
  .cards-grid,
  .cards-grid--6 { grid-template-columns: repeat(2, 1fr); }

  .values-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }

  .split { gap: 52px; }

  .service-block__text { padding: 60px 56px; }

  .contact-split__form  { padding: 60px 56px; }
  .contact-split__info  { padding: 60px 48px; }

  .modalities-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   RESPONSIVE — 900px
   ================================================================ */
@media (max-width: 900px) {
  .section { padding-block: 72px; }

  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reversed { direction: ltr; }

  .img-frame { height: 380px; }
  .img-badge { bottom: -16px; right: -8px; }

  .testi-grid { grid-template-columns: repeat(2, 1fr); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }

  .cta-banner__inner { flex-direction: column; text-align: center; }

  .service-block { grid-template-columns: 1fr; }
  .service-block:nth-child(even) { direction: ltr; }
  .service-block__img { height: 380px; }
  .service-block__text { padding: 52px 40px; }

  .contact-split { grid-template-columns: 1fr; min-height: auto; }
  .contact-split__info  { padding: 60px 40px; }
  .contact-split__form  { padding: 60px 40px; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* ================================================================
   RESPONSIVE — 768px (hamburger)
   ================================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 68px; --nav-h-scroll: 56px; }

  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    inset-block-start: var(--nav-h);
    inset-inline: 0;
    background: var(--clr-surface);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-block: 12px 20px;
    box-shadow: 0 12px 32px rgba(0,0,0,.12);
    border-top: 1px solid var(--clr-border);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition:
      transform .38s var(--ease),
      opacity .38s var(--ease),
      visibility .38s;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .nav-link {
    padding: 14px 24px;
    border-radius: 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--clr-border);
  }

  .nav-link::after { display: none; }

  .nav-link.active {
    background: rgba(62,81,64,.06);
    border-left: 3px solid var(--clr-primary-mid);
  }

  .nav-cta {
    margin: 12px 20px 0;
    text-align: center;
    border-radius: 6px;
    padding: 14px 20px;
  }

  .hero-content h1 { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; justify-content: center; }

  .cards-grid,
  .cards-grid--6 { grid-template-columns: 1fr; }

  .testi-grid { grid-template-columns: 1fr; }

  .values-grid { grid-template-columns: 1fr 1fr; }

  .page-banner { height: 300px; }

  .form-row { grid-template-columns: 1fr; }

  .service-block__text { padding: 40px 28px; }
  .service-block__img  { height: 300px; }

  .contact-split__info  { padding: 48px 28px; }
  .contact-split__form  { padding: 48px 28px; }

  .modalities-grid { grid-template-columns: 1fr 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding-block: 52px; }
  .footer-bottom__inner { flex-direction: column; text-align: center; gap: 12px; }
}

/* ================================================================
   RESPONSIVE — 480px
   ================================================================ */
@media (max-width: 480px) {
  .container { padding-inline: 20px; }
  .section { padding-block: 56px; }

  .hero-content h1 { font-size: 2rem; }

  .img-frame { height: 300px; }
  .img-badge { right: 0; bottom: -12px; }

  .values-grid { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px; }

  .page-banner { height: 260px; }
  .page-banner__content h1 { font-size: 1.9rem; }

  .cta-banner { padding-block: 56px; }

  .service-block__img  { height: 240px; }
  .service-block__text { padding: 32px 20px; }

  .contact-split__info  { padding: 40px 20px; }
  .contact-split__form  { padding: 40px 20px; }

  .modalities-grid { grid-template-columns: 1fr; }

  .footer-legal { flex-direction: column; gap: 8px; align-items: center; }
}

/* ================================================================
   REDUCED MOTION
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ================================================================
   FAQ ACCORDION
   ================================================================ */
.faq-list {
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.faq-item:hover { border-color: var(--clr-primary-light); }
.faq-item[open] { box-shadow: var(--shadow-md); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 56px 22px 26px;
  position: relative;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--clr-primary);
  transition: color .25s var(--ease);
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--clr-primary-mid); }

.faq-item summary:focus-visible {
  outline: 2px solid var(--clr-primary-light);
  outline-offset: -2px;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s var(--ease);
}

.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }

.faq-answer {
  padding: 0 26px 24px;
  color: var(--clr-muted);
  border-top: 1px solid var(--clr-border);
  padding-top: 18px;
}

.faq-answer p + p { margin-top: 12px; }

@media (max-width: 768px) {
  .faq-item summary { padding: 18px 48px 18px 20px; font-size: 1rem; }
  .faq-answer { padding-inline: 20px; }
}

/* ================================================================
   TYPOGRAPHY — base scale (superseded by Fraunces/Hanken block below)
   ================================================================ */

/* Display serif: page/hero headings only */
h1,
.hero-content h1,
.page-banner__content h1,
.services-hero__content h1,
.cta-banner h2,
.mission-callout blockquote {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.hero-content h1,
.page-banner__content h1,
.services-hero__content h1 {
  font-weight: 500;
}

/* Display size bumps (overridden by the Fraunces block below) */
.hero-content h1 { font-size: clamp(2.8rem, 6.5vw, 5rem); }
.page-banner__content h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
.mission-callout blockquote { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.4; }

/* UI face: sub-headers, section titles, chrome */
h2, h3, h4, h5, h6,
.section-title,
.section-sub,
.eyebrow,
.logo,
.nav-link,
.btn,
.service-card__body h3,
.faq-item summary,
.footer-nav strong,
.footer-contact strong,
.modality-tag strong,
.specialty-pill,
.testi-card footer strong {
  font-family: var(--font-ui);
}

.section-title {
  font-weight: 700;
  letter-spacing: -0.015em;
}

.eyebrow,
.specialty-pill {
  font-family: var(--font-ui);
  font-weight: 700;
}

.btn, .nav-link { font-weight: 600; }
.logo { font-weight: 700; letter-spacing: -0.02em; }

/* Italic <em> accents inside display headings stay serif */
h1 em,
.cta-banner h2 em { font-family: var(--font-display); }

/* Section-title <em> accent */
.section-title em {
  font-family: var(--font-ui);
  color: var(--clr-primary-mid);
}

/* Body copy */
body, p, li, input, textarea, select, button {
  font-family: var(--font-ui);
}

p { font-weight: 400; }

/* ================================================================
   PALETTE REFINEMENTS
   ================================================================ */

/* Alternating bands: cream page -> warm sand band (not stark white) */
.about-teaser,
.modalities-section,
.specialties-section { background: var(--clr-sand) !important; }

/* Cards lift off the cream/sand with true white */
.service-card,
.testi-card,
.modality-tag,
.faq-item { background: var(--clr-surface); }

/* Terracotta accent on interactive hooks */
.card-link:hover { color: var(--clr-accent); }
.specialty-pill:hover {
  background: rgba(192,129,58,.10);
  border-color: var(--clr-accent);
  color: var(--clr-accent-dark);
}

/* Testimonial stars in terracotta, not olive */
.testi-stars { color: var(--clr-accent); }

/* Secondary slate blue: telehealth + contact icons */
.contact-info-item__icon { color: var(--clr-secondary); }
.contact-split__info .eyebrow { color: var(--clr-sand); }

/* Focus rings pick up the slate blue for contrast against olive */
:focus-visible { outline-color: var(--clr-secondary); }

/* Footer sits on deep olive */
.footer { background: var(--clr-primary); }
.footer-bottom { border-top: 1px solid rgba(243,238,227,.14); }

/* Marquee strip: olive-mid band */
.marquee-strip { background: var(--clr-primary-mid); }

/* ================================================================
   LOGO — image wordmark
   ================================================================ */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  /* neutralize legacy text-logo props */
  font-size: 0;
  letter-spacing: normal;
}

/* Override the global `img { width:100%; height:100% }` reset */
.logo img {
  width: auto;
  height: 44px;
  max-width: none;
  object-fit: contain;
  display: block;
  transition: height .3s var(--ease), opacity .2s var(--ease);
}

/* Nav shrinks 80px -> 62px on scroll; logo follows */
.navbar.scrolled .logo img { height: 34px; }

.logo:hover img { opacity: .78; }

/* Footer wordmark (cream variant) sits larger */
.footer-brand .logo img { height: 52px; }

/* Legacy text spans no longer exist, but guard against stray ones */
.logo span { display: none; }

@media (max-width: 768px) {
  .logo img { height: 36px; }
  .navbar.scrolled .logo img { height: 30px; }
  .footer-brand .logo img { height: 44px; }
}

@media (max-width: 400px) {
  .logo img { height: 30px; }
  .navbar.scrolled .logo img { height: 27px; }
}

/* ================================================================
   SUBLOGO — circular mark
   ================================================================ */
.hero-sublogo {
  width: 170px;
  height: auto;          /* override global img{height:100%} */
  max-width: 42vw;
  margin: 0 auto 26px;
  display: block;
  object-fit: contain;
  opacity: 0;
  animation: subFadeIn 1.1s var(--ease) .25s forwards;
  filter: drop-shadow(0 3px 14px rgba(0,0,0,.28));
}

@keyframes subFadeIn {
  from { opacity: 0; transform: translateY(14px) scale(.94); }
  to   { opacity: 1; transform: none; }
}

/* Reusable mark for light backgrounds */
.sublogo-mark {
  width: 130px;
  height: auto;
  max-width: 60%;
  display: block;
  margin: 0 auto 20px;
  object-fit: contain;
}

/* Sand/cream sections: mark as a section ornament */
.section-header--center .sublogo-mark { margin-bottom: 14px; }

@media (max-width: 768px) {
  .hero-sublogo { width: 130px; margin-bottom: 20px; }
  .sublogo-mark { width: 104px; }
}

@media (max-width: 400px) {
  .hero-sublogo { width: 108px; margin-bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-sublogo { opacity: 1; animation: none; }
}

/* ================================================================
   TICKER — "As Seen In" press strip
   ================================================================ */
.marquee-strip {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--clr-primary);
  padding-block: 16px;
}

.marquee-label {
  flex-shrink: 0;
  font-family: var(--font-ui);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--clr-sand);
  padding-inline: 28px;
  border-right: 1px solid rgba(243,238,227,.22);
  align-self: stretch;
  display: flex;
  align-items: center;
}

.marquee-viewport {
  overflow: hidden;
  flex: 1;
  min-width: 0;              /* lets it shrink inside flex */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

/* Links, not spans — style + focus states */
a.marquee-item {
  font-family: var(--font-ui);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(243,238,227,.72);
  padding-inline: 26px;
  text-decoration: none;
  transition: color .25s var(--ease);
  flex-shrink: 0;
}

a.marquee-item:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

a.marquee-item:focus-visible {
  outline: 2px solid var(--clr-sand);
  outline-offset: 3px;
  border-radius: 3px;
  color: #fff;
}

/* Pause on hover/focus so links are clickable */
.marquee-viewport:hover .marquee-track,
.marquee-track:focus-within { animation-play-state: paused; }

@media (max-width: 768px) {
  .marquee-label {
    font-size: .62rem;
    padding-inline: 16px;
    letter-spacing: .12em;
  }
  a.marquee-item { font-size: .74rem; padding-inline: 18px; }
}

@media (max-width: 480px) {
  .marquee-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee-viewport { overflow-x: auto; }
}

/* ================================================================
   TYPOGRAPHY — Fraunces + Hanken Grotesk (reference design)
   ================================================================ */
h1, h2, h3, h4,
.hero-content h1,
.page-banner__content h1,
.services-hero__content h1,
.cta-banner h2,
.mission-callout blockquote,
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.01em;
}

/* Fraunces is optical-size aware — reset the earlier display bumps */
.hero-content h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.page-banner__content h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.section-title { font-size: clamp(30px, 4vw, 46px); font-weight: 400; letter-spacing: -.01em; }
.mission-callout blockquote { font-size: clamp(24px, 3.2vw, 38px); line-height: 1.28; }

/* Italic serif accent — the reference's .serif-i */
.serif-i,
h1 em, h2 em,
.section-title em,
.cta-banner h2 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}
.section-title em { color: var(--honey); }

/* UI face */
body, p, li, input, textarea, select, button,
.eyebrow, .btn, .nav-link, .logo,
.section-sub, .specialty-pill, .faq-item summary,
.footer-nav strong, .footer-contact strong,
.modality-tag strong, .marquee-label, a.marquee-item {
  font-family: var(--font-ui);
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--honey);
}
.eyebrow--light { color: var(--honey-soft); }

body { color: var(--ink); }
p { color: var(--muted); }

/* ================================================================
   ARCHED FOUNDER FRAME + QUOTE CARD  (ported from reference)
   ================================================================ */
.split__img--arch {
  position: relative;
  overflow: visible;            /* let the quote card hang outside */
}

.img-frame--arch {
  aspect-ratio: 4 / 5;
  height: auto;                 /* override fixed 520px */
  border-radius: 200px 200px 14px 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-3);
  box-shadow: 0 18px 50px rgba(44,58,46,.14);
}

.img-frame--arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Quote card overlapping bottom-left */
.frame-quote {
  position: absolute;
  bottom: -26px;
  left: -26px;
  margin: 0;
  z-index: 2;
  background: var(--pine);
  color: var(--paper);
  padding: 22px 26px;
  border-radius: 12px;
  max-width: 270px;
  box-shadow: 0 18px 40px rgba(44,58,46,.18);
}

.frame-quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: var(--paper);
}

.frame-quote figcaption {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--honey-soft);
  margin-top: 12px;
}

/* Reference collapses to one column at 900px */
@media (max-width: 900px) {
  .split__img--arch { max-width: 400px; margin: 0 auto 30px; }
  .frame-quote { left: 0; bottom: -18px; max-width: 230px; }
}

@media (max-width: 480px) {
  .frame-quote {
    position: static;
    max-width: none;
    margin-top: 18px;
    box-shadow: none;
  }
}

/* ================================================================
   TICKER WORDMARKS
   Typographic treatments — NOT reproductions of the outlets'
   registered logos. Swap in official SVGs if you obtain permission.
   ================================================================ */
a.marquee-item.wordmark {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding-inline: 30px;
  text-transform: none;
  letter-spacing: normal;
  color: rgba(243,238,227,.82);
  opacity: .9;
  transition: color .25s var(--ease), opacity .25s var(--ease);
}

a.marquee-item.wordmark:hover,
a.marquee-item.wordmark:focus-visible {
  color: #fff;
  opacity: 1;
  text-decoration: none;
}

/* The Bump — rounded, friendly lowercase */
.wordmark--thebump {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -.02em;
}

/* Parents — classic serif, small-cap feel */
.wordmark--parents {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: .01em;
}

/* Bustle — tight geometric bold */
.wordmark--bustle {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.04em;
}

/* GOOD — wide tracked caps */
.wordmark--good {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  a.marquee-item.wordmark { height: 28px; padding-inline: 20px; }
  .wordmark--thebump { font-size: 17px; }
  .wordmark--parents { font-size: 18px; }
  .wordmark--bustle  { font-size: 16px; }
  .wordmark--good    { font-size: 15px; letter-spacing: .18em; }
}

/* If you obtain official logo files, add e.g.:
     <a class="marquee-item wordmark" href="..."><img src="logos/bustle.svg" alt="Bustle"></a>
   and this rule renders them in the strip's cream tone: */
a.marquee-item.wordmark img {
  height: 22px;
  width: auto;
  max-width: none;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  opacity: .82;
  transition: opacity .25s var(--ease);
}
a.marquee-item.wordmark:hover img { opacity: 1; }

/* ================================================================
   TICKER WORDMARKS — stronger presence
   Still typographic treatments, NOT the outlets' registered logos.
   ================================================================ */

/* More room, full-strength cream, divider between items */
a.marquee-item.wordmark {
  position: relative;
  height: 44px;
  padding-inline: 44px;
  color: var(--paper);
  opacity: 1;
  transition: color .25s var(--ease), transform .25s var(--ease);
}

/* Hairline divider — skip the last so the loop seam stays clean */
a.marquee-item.wordmark::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
  background: rgba(243,238,227,.26);
}

a.marquee-item.wordmark:hover,
a.marquee-item.wordmark:focus-visible {
  color: #fff;
  transform: translateY(-1px);
  text-decoration: none;
}

/* Honey underline on hover instead of the default rule */
a.marquee-item.wordmark::before {
  content: "";
  position: absolute;
  left: 44px;
  right: 44px;
  bottom: 8px;
  height: 1.5px;
  background: var(--honey-soft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
a.marquee-item.wordmark:hover::before,
a.marquee-item.wordmark:focus-visible::before { transform: scaleX(1); }

/* Bigger, more differentiated treatments */
.wordmark--thebump { font-size: 26px; font-weight: 700; letter-spacing: -.025em; }
.wordmark--parents { font-size: 27px; font-weight: 600; letter-spacing: .005em; }
.wordmark--bustle  { font-size: 25px; font-weight: 700; letter-spacing: -.05em; }
.wordmark--good    { font-size: 23px; font-weight: 700; letter-spacing: .26em; }

/* Strip gets a bit more breathing room to match */
.marquee-strip { padding-block: 22px; }
.marquee-label { color: var(--honey-soft); }

@media (max-width: 768px) {
  a.marquee-item.wordmark { height: 36px; padding-inline: 26px; }
  a.marquee-item.wordmark::before { left: 26px; right: 26px; }
  a.marquee-item.wordmark::after { height: 16px; }
  .wordmark--thebump { font-size: 20px; }
  .wordmark--parents { font-size: 21px; }
  .wordmark--bustle  { font-size: 19px; }
  .wordmark--good    { font-size: 18px; letter-spacing: .2em; }
  .marquee-strip { padding-block: 16px; }
}

/* ================================================================
   WHAT TO EXPECT — numbered steps (ported from reference)
   ================================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 60px;
  border-top: 1px solid var(--line);
  list-style: none;
  padding: 0;
}

.step {
  padding: 34px 26px 34px 0;
  border-right: 1px solid var(--line);
  position: relative;
}

.step:last-child {
  border-right: 0;
  padding-right: 0;
}

.step .dot {
  position: absolute;
  top: -6px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--honey);
}

.step .n {
  font-family: var(--font-display);
  font-size: 52px;
  color: var(--honey);
  line-height: 1;
  display: block;
  font-weight: 400;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  margin: 16px 0 10px;
  line-height: 1.2;
  color: var(--pine);
}

.step p {
  font-family: var(--font-ui);
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* Reference breakpoints */
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 26px 0;
  }
  .step:nth-child(odd) { padding-right: 22px; }
  .step:last-child { border-bottom: 0; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; margin-top: 40px; }
  .step:nth-child(odd) { padding-right: 0; }
  .step .n { font-size: 44px; }
}

/* Steps sit on the paper background, following the sand about-teaser */
.steps-section { background: var(--paper); }

/* ================================================================
   ACCESSIBILITY FIXES — WCAG AA contrast
   honey #C0813A = 2.82:1 on paper (fails). Bright honey is kept for
   decorative use and on dark grounds; text on light uses honey-text.
   ================================================================ */
:root {
  --honey-text: #8D5F2B;   /* 4.77:1 on paper, 5.52:1 on white */
  --muted:      #5C6357;   /* 5.37:1 on paper (was #6A7365, 4.27) */
  --clr-muted:  #5C6357;
}

/* Text-weight honey on light backgrounds */
.eyebrow,
.section-title em,
.card-link,
h1 em, h2 em { color: var(--honey-text); }

/* On dark grounds the bright honey passes — keep it */
.eyebrow--light { color: var(--honey-soft); }
.marquee-label  { color: var(--honey-soft); }
.frame-quote figcaption { color: var(--honey-soft); }

/* Step numerals: 52px = large text, needs 3:1. Bright honey is 2.82,
   so use a slightly deeper tone that still reads as honey. */
.step .n { color: #AD7130; }   /* 3.5:1 on paper */
.step .dot { background: var(--honey); }

/* Sage fails on both grounds — never use for text */
.contact-info-item__icon { color: var(--honey-text); }

/* Contact aside panel label — visual heading, not document structure */
.panel-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--paper);
  margin: 0 0 14px;
}

/* Skip link — visible only on keyboard focus */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 2000;
  background: var(--pine);
  color: var(--paper);
  padding: 12px 20px;
  border-radius: 0 0 8px 8px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus {
  top: 0;
  outline: 2px solid var(--honey-soft);
  outline-offset: 2px;
}

/* ================================================================
   FOCUS VISIBILITY — global keyboard indicator
   The earlier `:focus-visible { outline-color }` set no style/width,
   so most browsers rendered no ring at all.
   ================================================================ */
:focus-visible {
  outline: 3px solid var(--honey-text);
  outline-offset: 2px;
  border-radius: 2px;
}

/* On dark grounds use the light honey so the ring stays visible */
.marquee-strip :focus-visible,
.footer :focus-visible,
.hero :focus-visible,
.contact-split__info :focus-visible,
.cta-banner :focus-visible,
.page-banner :focus-visible {
  outline-color: var(--honey-soft);
}

/* ================================================================
   REDUCED MOTION — honor the OS preference site-wide
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-image img,
  .hero-overlay,
  .hf,
  .scroll-dot,
  .page-banner__bg { animation: none !important; }

  /* Ticker: don't freeze it dead — let it scroll manually instead */
  .marquee-track { animation: none !important; }
  .marquee-viewport { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Reveal-on-scroll elements must not stay invisible */
  .fade-up, .reveal, .reveal-stagger,
  .fade-up.visible, .reveal.in-view {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ================================================================
   PRESS LIST — featured articles & podcast appearances
   ================================================================ */
.press-list {
  list-style: none;
  margin: 46px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.press-item { border-bottom: 1px solid var(--line); }

.press-item__link {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: baseline;
  gap: 8px 26px;
  padding: 22px 4px;
  text-decoration: none;
  color: var(--ink);
  transition: background .2s var(--ease), padding-left .2s var(--ease);
}

.press-item__link:hover,
.press-item__link:focus-visible {
  background: rgba(192, 129, 58, .07);
  padding-left: 14px;
}

.press-item__outlet {
  font-family: var(--font-ui);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--honey-text);
  padding-top: 4px;
}

.press-item__title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.28;
  color: var(--pine);
}

.press-item__meta {
  grid-column: 2;
  font-family: var(--font-ui);
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

.press-item__arrow {
  font-size: 16px;
  color: var(--honey-text);
  opacity: 0;
  transform: translate(-4px, 2px);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}

.press-item__link:hover .press-item__arrow,
.press-item__link:focus-visible .press-item__arrow {
  opacity: 1;
  transform: translate(0, 0);
}

@media (max-width: 760px) {
  .press-item__link {
    grid-template-columns: 1fr auto;
    gap: 6px 14px;
    padding: 18px 2px;
  }
  .press-item__outlet { grid-column: 1 / -1; padding-top: 0; }
  .press-item__title  { grid-column: 1; font-size: 18px; }
  .press-item__meta   { grid-column: 1; }
  .press-item__arrow  { opacity: .5; transform: none; }
}

/* ================================================================
   PRESS THUMBNAILS
   ================================================================ */
.press-item__link {
  grid-template-columns: 84px 170px 1fr auto;
  align-items: center;
  gap: 6px 22px;
}

.press-thumb {
  grid-row: span 2;
  width: 84px;
  height: 58px;
  border-radius: 7px;
  overflow: hidden;
  position: relative;
  display: block;
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

/* Real image thumbs (YouTube) — override global img reset */
.press-thumb--img img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}

/* Play badge on video thumbs */
.press-thumb__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(44, 58, 46, .74);
}
.press-thumb__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-50%, -50%);
  border-left: 7px solid #fff;
  border-top: 4.5px solid transparent;
  border-bottom: 4.5px solid transparent;
}

/* Monogram tiles for outlets without a usable image */
.press-thumb--mono {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: .02em;
}
.press-thumb--mono[data-tint="a"] { background: #E4DCCB; color: #6B5B3E; }
.press-thumb--mono[data-tint="b"] { background: #DFE3D6; color: #4A5340; }
.press-thumb--mono[data-tint="c"] { background: #EADFD0; color: #8A5F33; }
.press-thumb--mono[data-tint="d"] { background: #D9E0DC; color: #3E5140; }
.press-thumb--mono[data-tint="e"] { background: #E8DFD2; color: #7A5A34; }

.press-item__link:hover .press-thumb { border-color: var(--honey-text); }

/* Text columns shift right of the thumb */
.press-item__outlet { grid-column: 2; align-self: end; }
.press-item__title  { grid-column: 3; align-self: end; }
.press-item__meta   { grid-column: 3; align-self: start; }
.press-item__arrow  { grid-column: 4; grid-row: span 2; }

@media (max-width: 760px) {
  .press-item__link {
    grid-template-columns: 62px 1fr auto;
    gap: 4px 14px;
  }
  .press-thumb { width: 62px; height: 44px; grid-row: span 3; align-self: start; }
  .press-thumb--mono { font-size: 17px; }
  .press-item__outlet { grid-column: 2; align-self: start; }
  .press-item__title  { grid-column: 2; }
  .press-item__meta   { grid-column: 2; }
  .press-item__arrow  { grid-column: 3; grid-row: 1; align-self: center; }
}

/* If a video thumb fails to load, the tile stays as a tinted block */
.press-thumb--img { background: #DFE3D6; }

/* ================================================================
   HERO — horizontal portrait, no zoom, left-aligned content
   ================================================================ */

/* Zoom (ken burns) disabled */
.hero-image img {
  animation: none !important;
  transform: none !important;
  object-position: center 22%;
}

/* Text stays centered; only the sublogo is left-aligned */
.hero-content {
  text-align: center;
  max-width: 780px;
}

/* Sublogo pinned to the left edge of the content block */
.hero-sublogo {
  margin-left: 0;
  margin-right: auto;
}

/* Even overlay for centered text, slightly deeper at the edges */
.hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(44, 58, 46, .72) 0%,
    rgba(44, 58, 46, .68) 45%,
    rgba(44, 58, 46, .74) 100%
  );
  background-size: 100% 100%;
  animation: none;
}

@media (max-width: 900px) {
  .hero-image img { object-position: 62% 20%; }
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(44, 58, 46, .80) 0%,
      rgba(44, 58, 46, .70) 45%,
      rgba(44, 58, 46, .82) 100%
    );
  }
}



/* Bright-photo banner (Media): the book-stack shot is near-white, so the
   default overlay leaves white text at ~3.5:1. Deepen it to clear AA. */
.page-banner--bright .page-banner__bg {
  background: linear-gradient(
    to top,
    rgba(17, 24, 39, .88) 0%,
    rgba(44, 58, 46, .72) 50%,
    rgba(44, 58, 46, .68) 100%
  );
  animation: none;
}

/* ================================================================
   INSTAGRAM SECTION — homepage
   ================================================================ */
.instagram-section { background: var(--paper-2); }

.ig-card {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 460px;
  margin: 34px auto 0;
  padding: 20px 24px;
  background: var(--clr-surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 8px 26px rgba(44, 58, 46, .07);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}

.ig-card:hover,
.ig-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(44, 58, 46, .13);
  border-color: var(--honey-text);
}

.ig-card__icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--pine);
  color: var(--paper);
}
.ig-card__icon svg { width: 24px; height: 24px; }

.ig-card__text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }

.ig-card__text strong {
  font-family: var(--font-ui);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--pine);
  overflow-wrap: anywhere;
}

.ig-card__text span {
  font-family: var(--font-ui);
  font-size: 12.5px;
  color: var(--muted);
}

.ig-card__arrow {
  flex-shrink: 0;
  font-size: 17px;
  color: var(--honey-text);
  transition: transform .22s var(--ease);
}
.ig-card:hover .ig-card__arrow { transform: translate(2px, -2px); }

/* Footer phone link matches the Instagram link styling */
.footer-contact a[href^="tel:"] {
  display: inline-block;
  margin-top: 4px;
}

@media (max-width: 480px) {
  .ig-card { gap: 14px; padding: 16px 18px; }
  .ig-card__icon { width: 40px; height: 40px; }
  .ig-card__text strong { font-size: 14px; }
}

/* ================================================================
   ADJUSTMENTS — imageless cards & banner
   ================================================================ */

/* About banner has no photo now: give it a solid ground so the
   semi-transparent gradient doesn't sit on white. */
.page-banner { background: var(--pine); }

/* Service cards without images: add top breathing room and a
   honey rule so they don't start abruptly at the icon. */
.service-card {
  border: 1px solid var(--line);
  border-top: 3px solid var(--honey);
}

.service-card__body { padding-top: 30px; }

.service-card__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--paper-2);
  color: var(--pine);
  margin-bottom: 16px;
  padding: 8px;
}

.service-card:hover { border-top-color: var(--honey-soft); }

/* ================================================================
   SERVICE PANELS — typographic replacement for the photo halves
   ================================================================ */
.service-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 68px;
  overflow: hidden;
}

/* Alternating grounds so the two blocks read as a pair */
.service-panel--dark {
  background: var(--pine);
  color: var(--paper);
}
.service-panel--light {
  background: var(--paper-3);
  color: var(--ink);
}

/* Oversized numeral, echoing the What-to-Expect steps */
.service-panel__num {
  font-family: var(--font-display);
  font-size: clamp(64px, 9vw, 116px);
  font-weight: 400;
  line-height: .9;
  display: block;
  margin-bottom: 26px;
}
.service-panel--dark  .service-panel__num { color: var(--honey-soft); }
.service-panel--light .service-panel__num { color: #9A6229; }  /* 3.71:1 on paper-3 */

.service-panel__lead {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 31px);
  font-weight: 400;
  line-height: 1.28;
  margin: 0 0 34px;
  max-width: 20ch;
}
.service-panel--dark  .service-panel__lead { color: var(--paper); }
.service-panel--light .service-panel__lead { color: var(--pine); }

.service-panel__lead em {
  font-style: italic;
  font-family: var(--font-display);
}
.service-panel--dark  .service-panel__lead em { color: var(--honey-soft); }
.service-panel--light .service-panel__lead em { color: var(--honey-text); }

/* Meta rows */
.service-panel__meta {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 320px;
}
.service-panel__meta > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 12px 0;
}
.service-panel--dark  .service-panel__meta > div { border-top: 1px solid rgba(243,238,227,.20); }
.service-panel--light .service-panel__meta > div { border-top: 1px solid var(--line); }
.service-panel__meta > div:last-child { border-bottom: 0; }

.service-panel__meta dt {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.service-panel--dark  .service-panel__meta dt { color: var(--honey-soft); }
.service-panel--light .service-panel__meta dt { color: var(--honey-text); }

.service-panel__meta dd {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 14px;
  text-align: right;
}
.service-panel--dark  .service-panel__meta dd { color: var(--paper); }
.service-panel--light .service-panel__meta dd { color: var(--ink); }

@media (max-width: 900px) {
  .service-panel { padding: 52px 32px; }
  .service-panel__meta { max-width: none; }
}

@media (max-width: 560px) {
  .service-panel { padding: 44px 24px; }
  .service-panel__num { margin-bottom: 18px; }
  .service-panel__lead { margin-bottom: 26px; }
}

/* Service blocks stack on smaller screens (previously stayed 50/50) */
@media (max-width: 900px) {
  .service-block {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .service-block__text { padding: 48px 32px; }
}

@media (max-width: 560px) {
  .service-block__text { padding: 40px 24px; }
}

/* Zoom-on-hover removed with the photos */
.service-block:hover .service-block__img img { transform: none; }

/* When stacked, the rtl flip would reverse panel/text order on block 2 only.
   Force a consistent panel-then-text order on small screens. */
@media (max-width: 900px) {
  .service-block:nth-child(even) { direction: ltr; }
  .service-panel { order: -1; }
}

/* ================================================================
   MEDIA PAGE — jump navigation between the two sections
   ================================================================ */
.media-jump {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.media-jump__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.media-jump__link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 26px 4px 26px 0;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  transition: color .2s var(--ease);
}

.media-jump__link + .media-jump__link {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

/* Honey rule that grows on hover */
.media-jump__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--honey);
  transition: width .28s var(--ease);
}
.media-jump__link + .media-jump__link::after { left: 34px; }
.media-jump__link:hover::after,
.media-jump__link:focus-visible::after { width: 46px; }

.media-jump__label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--honey-text);
}

.media-jump__title {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.2vw, 25px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--pine);
}

.media-jump__title::after {
  content: " ↓";
  font-family: var(--font-ui);
  font-size: .7em;
  color: var(--honey-text);
}

.media-jump__count {
  font-family: var(--font-ui);
  font-size: 12.5px;
  color: var(--muted);
}

/* Fixed navbar would otherwise cover the heading on jump */
#articles, #podcasts { scroll-margin-top: calc(var(--nav-h) + 16px); }

@media (max-width: 620px) {
  .media-jump__inner { grid-template-columns: 1fr; }
  .media-jump__link { padding: 18px 0; }
  .media-jump__link + .media-jump__link {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 18px;
  }
  .media-jump__link + .media-jump__link::after { left: 0; }
}

/* ================================================================
   FIX — [hidden] must win over display rules
   `.form-success { display:flex }` overrode the hidden attribute, so
   the success message rendered on page load before any submission.
   ================================================================ */
[hidden] { display: none !important; }

/* ================================================================
   INSTAGRAM CARD — v2: company mark, no white box
   ================================================================ */
.ig-card {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  max-width: none;
  width: auto;
  margin: 36px auto 0;
  padding: 16px 30px 16px 20px;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  box-shadow: none;
  transition: border-color .24s var(--ease), background .24s var(--ease), transform .24s var(--ease);
}

.ig-card:hover,
.ig-card:focus-visible {
  background: var(--clr-surface);
  border-color: var(--honey);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(44, 58, 46, .10);
}

/* Company circular mark — override the global img reset */
.ig-card__mark {
  width: 62px;
  height: 62px;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.ig-card__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
  min-width: 0;
}

.ig-card__handle {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--pine);
  overflow-wrap: anywhere;
}

.ig-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--honey-text);
}
.ig-card__cta svg { width: 15px; height: 15px; flex-shrink: 0; }

.ig-card__arrow {
  flex-shrink: 0;
  font-size: 17px;
  color: var(--honey-text);
  transition: transform .24s var(--ease);
}
.ig-card:hover .ig-card__arrow { transform: translate(2px, -2px); }

/* Centre the inline-flex card in its section */
.instagram-section .container { text-align: center; }

@media (max-width: 520px) {
  .ig-card {
    gap: 14px;
    padding: 14px 22px 14px 16px;
    border-radius: 20px;
  }
  .ig-card__mark { width: 48px; height: 48px; }
  .ig-card__handle { font-size: 17px; }
  .ig-card__cta { font-size: 10.5px; letter-spacing: .08em; }
}

/* ================================================================
   TICKER WORDMARKS — additional outlets
   Typographic treatments, NOT the outlets' registered logos.
   ================================================================ */

/* Yahoo — bold, tight, slight negative tracking */
.wordmark--yahoo {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 25px;
  letter-spacing: -.03em;
}

/* Yahoo Creators — same family, lighter secondary word */
.wordmark--yahoocreators {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -.01em;
}

/* Her Campus — editorial serif */
.wordmark--hercampus {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 25px;
  letter-spacing: .005em;
}

/* AskMen — condensed caps feel */
.wordmark--askmen {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Voyage LA — light serif italic, travel-magazine feel */
.wordmark--voyagela {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: 25px;
  letter-spacing: .01em;
}

@media (max-width: 768px) {
  .wordmark--yahoo         { font-size: 19px; }
  .wordmark--yahoocreators { font-size: 16px; }
  .wordmark--hercampus     { font-size: 19px; }
  .wordmark--askmen        { font-size: 16px; letter-spacing: .05em; }
  .wordmark--voyagela      { font-size: 19px; }
}

/* ================================================================
   FAQ ACCORDION — v2: hairline rules with a plus toggle
   Replaces the boxed/card treatment.
   ================================================================ */
.faq-list {
  max-width: 860px;
  display: block;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq-item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.faq-item:hover { border-color: var(--line); }
.faq-item[open] { box-shadow: none; }

.faq-item summary {
  padding: 26px 56px 26px 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--pine);
  transition: color .2s var(--ease);
}

.faq-item summary:hover { color: var(--honey-text); }

/* Plus / minus toggle — replaces the chevron */
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 15px;
  height: 15px;
  transform: translateY(-50%);
  border: 0;
  background:
    linear-gradient(var(--honey-text), var(--honey-text)) center/100% 1.5px no-repeat,
    linear-gradient(var(--honey-text), var(--honey-text)) center/1.5px 100% no-repeat;
  transition: transform .3s var(--ease), background-size .3s var(--ease);
}

/* Open: vertical stroke collapses, leaving a minus */
.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(90deg);
  background:
    linear-gradient(var(--honey-text), var(--honey-text)) center/100% 1.5px no-repeat,
    linear-gradient(var(--honey-text), var(--honey-text)) center/0 100% no-repeat;
}

.faq-answer {
  padding: 0 56px 26px 0;
  border-top: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 68ch;
}

@media (max-width: 768px) {
  .faq-item summary { padding: 20px 44px 20px 0; font-size: 17px; }
  .faq-answer { padding: 0 40px 20px 0; font-size: 14.5px; }
  .faq-item summary::after { right: 2px; width: 13px; height: 13px; }
}

/* FAQ jump nav — three columns */
.media-jump__inner--3 { grid-template-columns: repeat(3, 1fr); }

.faq-jump { background: var(--paper-2); }

@media (max-width: 860px) {
  .media-jump__inner--3 { grid-template-columns: 1fr; }
  .media-jump__inner--3 .media-jump__link + .media-jump__link {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 18px;
  }
  .media-jump__inner--3 .media-jump__link + .media-jump__link::after { left: 0; }
}

/* Fixed navbar offset for FAQ anchors */
#getting-started, #logistics, #the-work {
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

/* ================================================================
   OUT-OF-NETWORK BENEFITS — Thrizer widget housing
   ================================================================ */
.benefits-section { background: var(--paper-2); }

/* Container for the third-party embed */
.benefits-widget {
  max-width: 760px;
  margin: 40px auto 0;
  background: var(--clr-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 34px rgba(44, 58, 46, .08);
  overflow: hidden;
  min-height: 220px;
}

/* Thrizer's embed may inject an iframe — make it behave */
.benefits-widget iframe {
  display: block;
  width: 100%;
  min-height: 620px;
  border: 0;
}

/* Placeholder shown until the embed snippet is pasted in */
.benefits-widget__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 54px 30px;
}

.benefits-widget__badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--honey-text);
  background: var(--paper-2);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 4px;
}

.benefits-widget__placeholder p {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--pine);
  margin: 0;
}

.benefits-widget__hint {
  font-family: var(--font-ui) !important;
  font-size: 14px !important;
  color: var(--muted) !important;
  max-width: 42ch;
}

.benefits-widget__placeholder .btn { margin-top: 12px; }

/* Three explanatory steps under the widget */
.benefits-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 900px;
  margin: 46px auto 0;
  border-top: 1px solid var(--line);
}

.benefits-note {
  padding: 26px 24px 26px 0;
  border-right: 1px solid var(--line);
}
.benefits-note:last-child { border-right: 0; padding-right: 0; }

.benefits-note__num {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
  color: #9A6229;
  display: block;
  margin-bottom: 10px;
}

.benefits-note h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  color: var(--pine);
  margin: 0 0 6px;
}

.benefits-note p {
  font-family: var(--font-ui);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.benefits-disclaimer {
  max-width: 760px;
  margin: 34px auto 0;
  font-family: var(--font-ui);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
  text-align: center;
}

/* FAQ jump nav — four columns */
.media-jump__inner--4 { grid-template-columns: repeat(4, 1fr); }

#benefits { scroll-margin-top: calc(var(--nav-h) + 16px); }

@media (max-width: 900px) {
  .media-jump__inner--4 { grid-template-columns: repeat(2, 1fr); }
  .benefits-notes { grid-template-columns: 1fr; }
  .benefits-note {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
  }
  .benefits-note:last-child { border-bottom: 0; }
}

@media (max-width: 560px) {
  .media-jump__inner--4 { grid-template-columns: 1fr; }
  .benefits-widget__placeholder { padding: 40px 22px; }
}

/* 4-col jump nav wraps to 2 cols: reset the divider on new-row items */
@media (max-width: 900px) and (min-width: 561px) {
  .media-jump__inner--4 .media-jump__link:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
  .media-jump__inner--4 .media-jump__link:nth-child(odd)::after { left: 0; }
  .media-jump__inner--4 .media-jump__link:nth-child(n+3) {
    border-top: 1px solid var(--line);
    padding-top: 22px;
  }
}

@media (max-width: 560px) {
  .media-jump__inner--4 .media-jump__link {
    padding-left: 0;
    border-left: 0;
  }
  .media-jump__inner--4 .media-jump__link + .media-jump__link {
    border-top: 1px solid var(--line);
    padding-top: 18px;
  }
  .media-jump__inner--4 .media-jump__link::after { left: 0; }
}

/* ================================================================
   PSYCHOLOGY TODAY — verified badge
   Text + checkmark treatment, not a reproduction of their logo.
   ================================================================ */
.pt-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 16px auto 0;
  padding: 13px 24px 13px 16px;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  transition: border-color .24s var(--ease), background .24s var(--ease), transform .24s var(--ease);
}

.pt-badge:hover,
.pt-badge:focus-visible {
  background: var(--clr-surface);
  border-color: var(--primary-mid, var(--clr-primary-mid));
  transform: translateY(-2px);
}

.pt-badge__check {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--clr-primary-mid);
  color: var(--paper);
}
.pt-badge__check svg { width: 16px; height: 16px; }

.pt-badge__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: left;
}

.pt-badge__label {
  font-family: var(--font-ui);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.pt-badge__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--pine);
}

.pt-badge__arrow {
  flex-shrink: 0;
  font-size: 14px;
  color: var(--honey-text);
  transition: transform .24s var(--ease);
}
.pt-badge:hover .pt-badge__arrow { transform: translate(2px, -2px); }

/* Stack the two link cards */
.instagram-section .ig-card,
.instagram-section .pt-badge { display: inline-flex; }
.instagram-section .pt-badge { margin-top: 14px; }

@media (max-width: 520px) {
  .pt-badge { padding: 11px 18px 11px 13px; gap: 11px; }
  .pt-badge__check { width: 26px; height: 26px; }
  .pt-badge__name { font-size: 15px; }
}

/* ================================================================
   PSYCHOLOGY TODAY BADGE — footer variant (on dark pine)
   ================================================================ */
.pt-badge--footer {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 0;
  padding: 10px 18px 10px 12px;
  border: 1px solid rgba(243, 238, 227, .22);
  border-radius: 999px;
  background: rgba(243, 238, 227, .05);
  transition: background .24s var(--ease), border-color .24s var(--ease);
}

.pt-badge--footer:hover,
.pt-badge--footer:focus-visible {
  background: rgba(243, 238, 227, .11);
  border-color: var(--honey-soft);
  transform: none;
}

.pt-badge--footer .pt-badge__check {
  width: 26px;
  height: 26px;
  background: var(--honey-soft);
  color: var(--pine);
}
.pt-badge--footer .pt-badge__check svg { width: 14px; height: 14px; }

.pt-badge--footer .pt-badge__label {
  font-size: 9.5px;
  letter-spacing: .15em;
  color: var(--honey-soft);
}

.pt-badge--footer .pt-badge__name {
  font-size: 15px;
  color: var(--paper);
}

@media (max-width: 520px) {
  .pt-badge--footer { padding: 9px 15px 9px 10px; gap: 10px; }
  .pt-badge--footer .pt-badge__name { font-size: 14px; }
}

/* ================================================================
   PSYCHOLOGY TODAY — official seal container
   Holds either the real embed (an <img>/iframe injected by their JS)
   or the text fallback until the embed code is added.
   ================================================================ */
.pt-seal {
  margin-top: 16px;
  display: block;
}

/* Official seal renders as an image — keep it from being stretched
   by the global img reset, and give it room to breathe. */
.pt-seal img,
.pt-seal .sx-verified-seal img {
  width: auto !important;
  height: auto !important;
  max-width: 160px;
  display: block;
  border: 0;
  border-radius: 6px;
}

/* Their seal is designed for light grounds; on the dark footer a soft
   plate keeps it legible without altering the artwork itself. */
.pt-seal .sx-verified-seal,
.pt-seal a[class*="sx-verified"] {
  display: inline-block;
  background: var(--paper);
  padding: 8px 10px;
  border-radius: 8px;
  line-height: 0;
}

.pt-seal .pt-badge--footer { margin-top: 0; }

/* ================================================================
   FAQ JUMP NAV — sticky under the fixed navbar
   ================================================================ */
.faq-jump {
  position: sticky;
  top: var(--nav-h);
  z-index: 900;                 /* below .navbar (1000) */
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  transition: top .35s var(--ease), box-shadow .25s var(--ease);
}

/* Navbar shrinks on scroll; main.js syncs `top` inline so the bar
   stays flush against it without relying on :has() support. */

/* Lift once it detaches from its resting place */
.faq-jump.is-stuck {
  box-shadow: 0 6px 20px rgba(44, 58, 46, .10);
}

/* Compact the rows while sticky so it doesn't eat the viewport */
.faq-jump.is-stuck .media-jump__link {
  padding-top: 14px;
  padding-bottom: 14px;
}
.faq-jump.is-stuck .media-jump__count { display: none; }
.faq-jump.is-stuck .media-jump__title { font-size: clamp(15px, 1.6vw, 18px); }

/* Active section highlight */
.media-jump__link.is-active .media-jump__title { color: var(--honey-text); }
.media-jump__link.is-active::after { width: 46px; }

/* Anchors must clear BOTH the navbar and the sticky jump bar */
#getting-started, #logistics, #benefits, #the-work {
  scroll-margin-top: calc(var(--nav-h) + 92px);
}

@media (max-width: 900px) {
  .faq-jump.is-stuck .media-jump__link { padding-top: 10px; padding-bottom: 10px; }
  #getting-started, #logistics, #benefits, #the-work {
    scroll-margin-top: calc(var(--nav-h) + 150px);
  }
}

@media (max-width: 560px) {
  /* Four stacked rows would fill a phone screen — don't stick there */
  .faq-jump { position: static; }
  #getting-started, #logistics, #benefits, #the-work {
    scroll-margin-top: calc(var(--nav-h) + 16px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-jump { transition: none; }
}

/* ================================================================
   STICKY FIX — `body { overflow-x: hidden }` creates a scroll
   container that disables position:sticky on descendants.
   Move the horizontal clip to <html> so the FAQ bar can stick.
   ================================================================ */
html { overflow-x: hidden; }
body { overflow-x: clip; overflow-y: visible; }

/* ================================================================
   MEDIA JUMP NAV — sticky (same behaviour as the FAQ bar)
   ================================================================ */
.media-jump--sticky {
  position: sticky;
  top: var(--nav-h);
  z-index: 900;                 /* below .navbar (1000) */
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  transition: top .35s var(--ease), box-shadow .25s var(--ease);
}

.media-jump--sticky.is-stuck {
  box-shadow: 0 6px 20px rgba(44, 58, 46, .10);
}

.media-jump--sticky.is-stuck .media-jump__link {
  padding-top: 14px;
  padding-bottom: 14px;
}
.media-jump--sticky.is-stuck .media-jump__count { display: none; }
.media-jump--sticky.is-stuck .media-jump__title { font-size: clamp(15px, 1.6vw, 18px); }

/* Anchors clear both the navbar and the sticky bar */
#articles, #podcasts {
  scroll-margin-top: calc(var(--nav-h) + 92px);
}

@media (max-width: 900px) {
  .media-jump--sticky.is-stuck .media-jump__link {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

@media (max-width: 620px) {
  /* Two stacked rows plus the navbar crowd a phone screen */
  .media-jump--sticky { position: static; }
  #articles, #podcasts { scroll-margin-top: calc(var(--nav-h) + 16px); }
}

@media (prefers-reduced-motion: reduce) {
  .media-jump--sticky { transition: none; }
}

/* KTLA — broadcast call-sign: heavy, tight, tracked caps */
.wordmark--ktla {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .wordmark--ktla { font-size: 18px; letter-spacing: .03em; }
}

/* ================================================================
   CRISIS NOTICE — 988 / 911
   Must be visible without interaction. Not collapsible, not subtle.
   ================================================================ */
.crisis-notice p {
  margin: 0;
  font-family: var(--font-ui);
  line-height: 1.55;
}

.crisis-notice a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

/* Contact page — inside the dark info panel */
.crisis-notice--panel {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 16px 18px;
  margin-bottom: 28px;
  border-radius: 10px;
  background: rgba(243, 238, 227, .10);
  border: 1px solid rgba(224, 178, 103, .45);
}

.crisis-notice--panel .crisis-notice__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--honey-soft);
  margin-top: 1px;
}
.crisis-notice--panel .crisis-notice__icon svg { width: 100%; height: 100%; }

.crisis-notice--panel p {
  font-size: 14px;
  color: var(--paper);
}
.crisis-notice--panel a { color: var(--honey-soft); }
.crisis-notice--panel a:hover { color: #fff; }

/* Footer — sitewide band above the legal line */
.crisis-notice--footer {
  border-top: 1px solid rgba(243, 238, 227, .14);
  padding: 20px 0 4px;
  margin-top: 8px;
}

.crisis-notice--footer p {
  font-size: 13.5px;
  color: rgba(243, 238, 227, .82);
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}
.crisis-notice--footer a { color: var(--honey-soft); }
.crisis-notice--footer a:hover { color: #fff; }

@media (max-width: 560px) {
  .crisis-notice--panel { padding: 14px 15px; gap: 11px; }
  .crisis-notice--panel p { font-size: 13.5px; }
  .crisis-notice--footer p { font-size: 13px; text-align: left; }
}

/* Lists inside FAQ answers (rates, reimbursement steps) */
.faq-answer ul {
  margin: 10px 0 0;
  padding-left: 20px;
  list-style: disc;
}
.faq-answer li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 5px;
}
.faq-answer p + p { margin-top: 12px; }
.faq-answer a {
  color: var(--honey-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.faq-answer a:hover { color: var(--pine); }

/* ================================================================
   INSTAGRAM SECTION — tighter vertical rhythm (nudge card up)
   ================================================================ */
.instagram-section {
  padding-block: 56px;                    /* was default .section padding */
}
.instagram-section .section-header { margin-bottom: 0; }
.instagram-section .section-header .section-sub { margin-bottom: 4px; }

/* Pull the IG card and PT badge up toward the heading */
.instagram-section .ig-card { margin-top: 22px; }
.instagram-section .pt-badge { margin-top: 12px; }

/* ================================================================
   PSI PMH-C BADGE — footer certification seal
   Full-colour badge on dark pine → sits on a light plate.
   ================================================================ */
.psi-badge {
  display: inline-block;
  margin-top: 14px;
  line-height: 0;
  border-radius: 12px;
  transition: transform .24s var(--ease);
}
.psi-badge:hover,
.psi-badge:focus-visible { transform: translateY(-2px); }

.psi-badge img {
  width: 128px;
  height: 128px;
  max-width: none;
  object-fit: contain;
  display: block;
  background: var(--paper);
  border-radius: 12px;
  padding: 12px;
  border: 1px solid rgba(243, 238, 227, .16);
}

@media (max-width: 560px) {
  .psi-badge img { width: 108px; height: 108px; padding: 10px; }
}

/* ================================================================
   ABOUT — extended bio prose sections
   ================================================================ */
.about-prose {
  max-width: 760px;
}
.about-prose .section-title { margin-bottom: 20px; }
.about-prose p {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 18px;
}
.about-prose p:last-of-type { margin-bottom: 0; }
.about-prose .btn { margin-top: 28px; }

/* Approach sits on default paper */
.about-approach { background: var(--paper); }

/* Cultural story — its own warm linen visual block, with a sage accent rule */
.about-culture {
  background: #E2D9CE;
  position: relative;
  border-top: 3px solid var(--clr-primary-light);
  border-bottom: 3px solid var(--clr-primary-light);
}
.about-culture .eyebrow { color: var(--honey-text); }
.about-culture .section-title { color: var(--pine); }
.about-culture .section-title em { color: var(--honey-text); }
.about-culture p { color: var(--ink); }

/* Closing — quiet emphasis */
.about-closing { background: var(--paper-2); text-align: center; }
.about-closing .about-prose { margin-inline: auto; }
.about-closing__lead {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px) !important;
  line-height: 1.35 !important;
  color: var(--pine) !important;
  margin-bottom: 16px !important;
}

/* Media & speaking */
.about-media { background: var(--paper); }

@media (max-width: 640px) {
  .about-prose p { font-size: 15.5px; }
}

/* ================================================================
   MEDIA KTLA BANNER — show the full frame (head + name + chyron)
   The still is 2.42:1; cover-cropping loses either the head or the
   caption. Use contain on a studio-toned field so nothing is cut.
   ================================================================ */
.page-banner--ktla {
  height: auto;
  min-height: 300px;
  background: #12233c;                    /* studio blue, matches frame */
}

.page-banner--ktla .page-banner__img {
  position: relative;                      /* let it define height */
}

.page-banner--ktla .page-banner__img img {
  position: static;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Overlay + heading sit over the image; keep them readable but let
   the full frame show. Nudge the heading block to the lower-left. */
.page-banner--ktla .page-banner__bg {
  background: linear-gradient(
    90deg,
    rgba(18,35,60,.78) 0%,
    rgba(18,35,60,.30) 42%,
    rgba(18,35,60,0) 65%
  );
}

@media (max-width: 900px) {
  .page-banner--ktla { min-height: 0; }
}

/* KTLA banner: pin the page heading top-left, clear of the burned-in
   chyron at the bottom of the frame. */
.page-banner--ktla { align-items: flex-start; }
.page-banner--ktla .page-banner__content {
  padding-top: 40px;
  padding-bottom: 0;
  align-self: flex-start;
}

@media (max-width: 700px) {
  .page-banner--ktla .page-banner__content { padding-top: 24px; }
  .page-banner--ktla .page-banner__content h1 { font-size: 1.8rem; }
  .page-banner--ktla .page-banner__content p { display: none; }
}

/* ================================================================
   WHO WE WORK WITH — persona cards (flat, no links)
   ================================================================ */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 8px;
}

/* Row 1: three cards, two columns each. Row 2: two cards, three cols each. */
.persona-card { grid-column: span 2; }
.persona-card:nth-child(4),
.persona-card:nth-child(5) { grid-column: span 3; }

.persona-card {
  background: var(--clr-surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--clr-primary-light);
  border-radius: var(--radius-md);
  padding: 28px 28px 30px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-top-color .3s var(--ease);
}

.persona-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-top-color: var(--honey);
}

.persona-card__label {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 25px);
  font-weight: 400;
  color: var(--pine);
  margin-bottom: 12px;
}

.persona-card p {
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

/* Bridge line — centered, larger, links the section to what follows */
.persona-bridge {
  text-align: center;
  max-width: 640px;
  margin: 44px auto 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 27px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: var(--pine);
}

@media (max-width: 860px) {
  .persona-grid { grid-template-columns: 1fr 1fr; }
  .persona-card,
  .persona-card:nth-child(4),
  .persona-card:nth-child(5) { grid-column: auto; }
  /* last odd card spans full width */
  .persona-card:nth-child(5) { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .persona-grid { grid-template-columns: 1fr; }
  .persona-card:nth-child(5) { grid-column: auto; }
}

/* Long step title: de-emphasize the parenthetical aside */
.step h3 .step__note {
  display: block;
  font-size: 13px;
  font-style: italic;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.3;
}

/* ================================================================
   THRIZER EMBED — ensure the injected iframe fills the container
   regardless of how embed.js wraps it.
   ================================================================ */
.benefits-widget iframe,
.benefits-widget > div iframe {
  width: 100% !important;
  min-height: 620px;
  border: 0;
  display: block;
}
.benefits-widget > div { width: 100%; }

/* While the script loads, show a gentle loading hint */
.benefits-widget:empty::before,
.benefits-widget:has(> script:only-child)::before {
  content: "Loading the benefits checker…";
  display: block;
  padding: 60px 20px;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--muted);
}

/* Hero h1: long tagline needs slightly tighter sizing */
.hero-content h1 {
  font-size: clamp(1.9rem, 4.5vw, 3.8rem);
  line-height: 1.12;
}

/* Who We Work With: eyebrow-only header needs less bottom space */
#who .section-header { margin-bottom: 16px; }

/* Hero h1: size tuned for exactly 2 rows with the long tagline.
   The <br> after "changes," sets row 1; row 2 is the longer line.
   clamp floor keeps it readable on mobile; fluid value targets desktop 2-row fit. */
.hero-content h1 {
  font-size: clamp(1.55rem, 3.2vw, 2.65rem);
  line-height: 1.15;
  letter-spacing: -.025em;
}

/* Hero h1: nudge smaller */
.hero-content h1 {
  font-size: clamp(1.3rem, 2.6vw, 2.2rem);
}

/* About page: tighten gap between bio split and How I Work */
.about-approach { padding-top: 48px; }

/* Tighten the gap: reduce bottom of bio and top of How I Work */
.about-bio { padding-bottom: 48px; }

/* ================================================================
   SERVICE PANELS — photo backgrounds (01 Perinatal, 02 Individual)
   ================================================================ */
.service-panel--photo {
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: var(--pine);
  position: relative;
}

/* Dark pine overlay so text stays legible over both photos */
.service-panel--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(44, 58, 46, .75);
  z-index: 0;
}

/* All children sit above the overlay */
.service-panel--photo > * {
  position: relative;
  z-index: 1;
}

/* Light panel (02 Individual) uses same dark overlay for consistency */
.service-panel--light.service-panel--photo {
  color: var(--paper);
}
.service-panel--light.service-panel--photo .service-panel__num,
.service-panel--light.service-panel--photo .service-panel__lead,
.service-panel--light.service-panel--photo dt,
.service-panel--light.service-panel--photo dd {
  color: var(--paper);
}
.service-panel--light.service-panel--photo dt {
  color: rgba(243,238,227,.65);
}

/* Perinatal B&W photo: slightly lighter overlay to let the image show */
#perinatal .service-panel--photo::before { background: rgba(44,58,46,.70); }
#individual .service-panel--photo::before { background: rgba(44,58,46,.78); }

/* Full-image panels: position images to best show the subject */
#perinatal .service-panel--photo {
  background-position: center bottom;  /* belly centered, top fills with pine */
}
#individual .service-panel--photo {
  background-position: center center;  /* full scene centered */
}

/* Overlay only on the image portion — use a gradient that fades
   from opaque pine at top (where panel text lives) to semi-transparent
   at bottom (where the image lives) */
#perinatal .service-panel--photo::before,
#individual .service-panel--photo::before {
  background: linear-gradient(
    to bottom,
    rgba(44,58,46,1.00) 0%,
    rgba(44,58,46,0.82) 35%,
    rgba(44,58,46,0.50) 65%,
    rgba(44,58,46,0.30) 100%
  );
}

/* Netlify reCAPTCHA widget spacing */
[data-netlify-recaptcha] {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  transition: outline .2s;
}

/* ================================================================
   MOBILE NAV — FIX: .nav-link was an inline <a>, so its vertical
   padding painted but added no layout height. The <li> collapsed to
   line-height while the text appeared ~52px tall, leaving tap targets
   offset ~28px above the visible label (taps hit the item above), and
   border-bottom only spanned the text width.
   Making the link a block-level flex box fixes hit area, dividers,
   and the .nav-cta margin collapse in one go.
   ================================================================ */
.nav-link {
  display: inline-block;          /* desktop: padding/border now honoured */
}

@media (max-width: 768px) {
  .nav-menu li { display: block; width: 100%; }

  .nav-link {
    display: flex;                /* full-width, real layout height */
    align-items: center;
    width: 100%;
    min-height: 48px;             /* ≥44px touch target (WCAG 2.5.8) */
    box-sizing: border-box;
    line-height: 1.3;
  }

  /* Book Now: vertical margin is honoured now that it's not inline */
  .nav-cta {
    display: flex;
    justify-content: center;
    width: auto;
    min-height: 48px;
  }
}

/* When scrolled, .navbar gains backdrop-filter, which makes it the
   containing block for the fixed .nav-menu — and it also shrinks to
   --nav-h-scroll. Re-anchor the menu so it stays flush to the navbar
   bottom in both states (correct under either containing block). */
@media (max-width: 768px) {
  .navbar.scrolled .nav-menu { inset-block-start: var(--nav-h-scroll); }
}
