/* =====================================================
   STEP ONE — style.css
   Design tokens, reset, base, header, footer, marquee
   ===================================================== */

/* ---- 1. Design Tokens ---- */
:root {
  /* Palette */
  --cream:  #f9f8f4;
  --dark:   #1a1c19;
  --brown:  #4e3f3c;
  --taupe:  #a4968d;
  --beige:  #dfdacf;
  --beige-hover: #d8d3c7;
  --accent: #e93323;

  /* Tariffs tokens */
  --tariff-border: rgba(249, 248, 244, 0.12);
  --tariff-full-bg: rgba(249, 248, 244, 0.06);
  --tariff-highlight: rgba(249, 248, 244, 0.55);
  --tariff-note-color: rgba(249, 248, 244, 0.4);

  /* Author tokens */
  --author-stat-sep: rgba(26, 28, 25, 0.12);
  --author-band-dark: #0a0a0a;

  /* Typography */
  --head: 'Playfair Display', Georgia, serif;
  --body: 'Montserrat', Arial, sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  6rem;

  /* Header height */
  --header-h: 68px;

  /* Program module tokens */
  --module-border: rgba(249, 248, 244, 0.1);
  --module-bonus-bg: rgba(249, 248, 244, 0.15);
  --module-num-color: rgba(249, 248, 244, 0.2);
  --module-label-color: rgba(249, 248, 244, 0.45);
  --module-goal-color: rgba(249, 248, 244, 0.6);
}

/* ---- 2. Reset / Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--cream);
  color: var(--dark);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

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

ul {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}

/* ---- 3. Container ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ---- 4. Section base ---- */
.section {
  padding-block: var(--space-lg);
}

.section--dark {
  background-color: var(--dark);
  color: var(--cream);
}

/* ---- 5. Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background-color: transparent;
  color: var(--cream);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background-color: var(--dark);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  gap: 1rem;
}

/* Brand */
.header__brand,
.footer__brand {
  flex-shrink: 0;
  text-decoration: none;
}

.brand-text {
  font-family: var(--head);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1;
}

.brand-text em {
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
  letter-spacing: 0;
}

/* Nav (desktop) */
.nav {
  display: none;
  flex: 1;
  justify-content: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: nowrap;
}

.nav__link {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--beige);
  padding: 0.4rem 0.55rem;
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--cream);
}

/* Header right (socials + burger) */
.header__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Socials */
.socials {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.socials__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--taupe);
  border-radius: 50%;
  transition: color 0.2s ease;
}

.socials__link:hover,
.socials__link:focus-visible {
  color: var(--cream);
}

/* Burger (3-line icon) */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  padding: 0;
  color: var(--cream);
  z-index: 200;
}

.burger__line {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: currentColor;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}

/* Burger open state */
.burger.is-open .burger__line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.burger.is-open .burger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.burger.is-open .burger__line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Desktop: burger-only header — nav and inline brand/socials always hidden */
/* The inline .nav and .header__brand are never shown; overlay handles all widths */
.nav {
  display: none !important;
}

.header__brand {
  display: none;
}

.socials {
  display: none;
}

/* ---- 6. Mobile Nav Overlay ---- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background-color: var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--header-h) 2rem 2rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-nav.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.mobile-nav__link {
  font-family: var(--head);
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 400;
  color: var(--beige);
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.mobile-nav__link:hover,
.mobile-nav__link:focus-visible {
  color: var(--cream);
}

.mobile-nav__socials {
  display: flex;
  gap: 1.5rem;
  color: var(--taupe);
}

.mobile-nav__socials a {
  display: flex;
  align-items: center;
  color: var(--taupe);
  transition: color 0.2s ease;
}

.mobile-nav__socials a:hover {
  color: var(--cream);
}

/* ---- 7. Marquee ---- */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  background-color: var(--cream);
  border-top: 1px solid var(--beige);
  border-bottom: 1px solid var(--beige);
  padding-block: 0.9rem;
}

.marquee--dark {
  background-color: var(--dark);
  border-color: rgba(255, 255, 255, 0.08);
}

.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  animation: marquee-scroll 28s linear infinite;
  will-change: transform;
}

.marquee__item {
  font-family: var(--head);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--dark);
  padding-inline: 0.6em;
}

.marquee--dark .marquee__item {
  color: var(--cream);
}

.marquee__sep {
  font-family: var(--body);
  font-size: 0.9em;
  color: var(--taupe);
  padding-inline: 0.1em;
  user-select: none;
}

.marquee--dark .marquee__sep {
  color: var(--taupe);
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Pause on hover / prefers-reduced-motion */
.marquee:hover .marquee__track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}

/* ---- 8. Footer ---- */
.footer {
  background-color: var(--dark);
  color: var(--cream);
  padding-top: 3rem;
  padding-bottom: 1.5rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer__top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

/* Footer brand */
.footer__brand .brand-text {
  font-size: 1.5rem;
}

/* Footer nav */
.footer__nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.footer__nav-list a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--taupe);
  transition: color 0.2s ease;
}

.footer__nav-list a:hover,
.footer__nav-list a:focus-visible {
  color: var(--cream);
}

/* Footer socials inherit .socials */
.footer__socials .socials__link {
  color: var(--taupe);
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer__socials .socials__link:hover {
  color: var(--cream);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Footer tagline */
.footer__tagline {
  font-family: var(--head);
  font-style: italic;
  font-size: clamp(1.6rem, 5vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(249, 248, 244, 0.15);
  text-align: center;
  padding-block: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Footer bottom */
.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: flex-start;
}

.footer__copy {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--taupe);
}

/* Desktop footer layout */
@media (min-width: 768px) {
  .footer__top {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ---- 9. Body scroll lock (mobile nav open) ---- */
body.nav-open {
  overflow: hidden;
}

/* ---- 10. Offset for fixed header ---- */
main {
  padding-top: var(--header-h);
}

/* ---- 21. Reviews (dark, horizontal scroll) ---- */
.section--reviews {
  padding-block: var(--space-lg);
  overflow: hidden;
}

.section--reviews .container {
  padding-bottom: 0;
}

.section--reviews .section__heading {
  color: var(--cream);
}

.reviews__scroller {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-inline: 1.25rem;
  padding-bottom: 1rem;
  padding-top: var(--space-md);
}

.reviews__scroller::-webkit-scrollbar {
  display: none;
}

.reviews__track {
  display: flex;
  gap: 1rem;
  width: max-content;
}

.rev-card {
  flex-shrink: 0;
  width: clamp(220px, 28vw, 320px);
  border-radius: 4px;
  overflow: hidden;
  scroll-snap-align: start;
  background-color: var(--brown);
}

.rev-card__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  transition: transform 0.35s ease;
}

.rev-card:hover .rev-card__img {
  transform: scale(1.03);
}

@media (min-width: 768px) {
  .rev-card {
    width: clamp(240px, 22vw, 300px);
  }
}

@media (min-width: 1200px) {
  .reviews__scroller {
    padding-inline: calc((100% - 1200px) / 2 + 1.25rem);
  }
}

/* ---- 22. FAQ accordion ---- */
.section--faq {
  padding-block: var(--space-lg);
  background-color: var(--cream);
}

.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid color-mix(in srgb, var(--brown) 20%, transparent);
}

.faq__item {
  border-bottom: 1px solid color-mix(in srgb, var(--brown) 20%, transparent);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.35rem 0;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--head);
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  color: var(--dark);
  transition: color 0.2s ease;
}

.faq__q:hover,
.faq__q:focus-visible {
  color: var(--brown);
  outline: none;
}

.faq__q:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 2px;
  border-radius: 2px;
}

.faq__icon {
  flex-shrink: 0;
  color: var(--taupe);
  transition: transform 0.3s ease;
}

.faq__q[aria-expanded="true"] .faq__icon {
  transform: rotate(180deg);
}

.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

.faq__a p {
  font-family: var(--body);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--brown);
  padding-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .faq__q {
    font-size: 1.05rem;
    padding: 1.5rem 0;
  }

  .faq__a p {
    font-size: 0.9rem;
    max-width: 70ch;
  }
}

/* ---- 23. Reveal on scroll ---- */
/* Only hide sections when JS is active (prevents invisible sections with JS off) */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---- 13. Section heading (shared) ---- */
.section__heading {
  font-family: var(--head);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 2.5rem;
}

/* ---- 14. Audience Section ---- */
:root {
  --aud-photo-aspect: 2 / 3;
  --persona-card-border: color-mix(in srgb, var(--cream) 15%, transparent);
}

.section--audience {
  padding-block: var(--space-lg);
  background-color: var(--cream);
  overflow: hidden;
}

/* Heading row: title left, intro text right */
.aud-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.aud-header__heading {
  font-family: var(--body);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark);
  line-height: 1.2;
}

.aud-header__intro {
  font-family: var(--body);
  font-size: clamp(0.7rem, 1.2vw, 0.82rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brown);
  line-height: 1.55;
  max-width: 44ch;
}

@media (min-width: 768px) {
  .aud-header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
  }

  .aud-header__heading {
    flex: 0 0 auto;
    max-width: 22ch;
  }

  .aud-header__intro {
    flex: 1;
    max-width: 44ch;
    text-align: right;
  }
}

/* 3-column layout: photo | list | photo */
.aud-layout {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "list"
    "photo-l"
    "photo-r";
  gap: 1.5rem;
}

.aud-layout__photo {
  overflow: hidden;
  aspect-ratio: var(--aud-photo-aspect);
  background-color: var(--dark);
}

.aud-layout__photo--left {
  grid-area: photo-l;
}

.aud-layout__photo--right {
  grid-area: photo-r;
}

.aud-layout__list {
  grid-area: list;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.aud-layout__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
}

/* List items */
.aud-list__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid color-mix(in srgb, var(--brown) 15%, transparent);
}

.aud-list__item:first-child {
  border-top: 1px solid color-mix(in srgb, var(--brown) 15%, transparent);
}

.aud-list__badge {
  font-family: var(--head);
  font-size: 0.72rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--taupe);
  border: 1px solid var(--taupe);
  border-radius: 20px;
  padding: 0.18em 0.7em;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 0.1em;
}

.aud-list__text {
  font-family: var(--body);
  font-size: clamp(0.8rem, 1.4vw, 0.9rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--dark);
  letter-spacing: 0.01em;
}

/* Desktop: 3-column grid */
@media (min-width: 900px) {
  .aud-layout {
    grid-template-columns: 28% 44% 28%;
    grid-template-areas: "photo-l list photo-r";
    gap: 0;
    align-items: stretch;
  }

  .aud-layout__photo {
    aspect-ratio: unset;
    height: 100%;
  }

  .aud-layout__photo--left {
    border-right: none;
  }

  .aud-layout__photo--right {
    border-left: none;
  }

  .aud-layout__list {
    padding-inline: 2.5rem;
    justify-content: center;
  }

  .aud-list__item {
    padding-block: 1.75rem;
  }
}

/* ---- 15. Personas ---- */
.section--personas {
  padding-top: var(--space-lg);
  padding-bottom: 0;
  background-color: var(--brown);
}

.section--personas .container {
  padding-bottom: 0;
}

.personas-heading {
  color: var(--cream);
  text-align: center;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  margin-bottom: 2.5rem;
}

/* Cards wrapper: horizontal row on desktop, stacked on mobile */
.personas-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding-inline: 1.25rem;
  max-width: 1200px;
  margin-inline: auto;
}

/* Base card styles */
.persona-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 1.5rem;
  border-radius: 4px;
  overflow: hidden;
}

/* Brown card */
.persona-card--brown {
  background-color: color-mix(in srgb, var(--brown) 80%, var(--dark));
  color: var(--cream);
  border: 1px solid var(--persona-card-border);
}

/* Cream card */
.persona-card--cream {
  background-color: var(--cream);
  color: var(--dark);
}

/* Photo in top-right of card */
.persona-card__photo-wrap {
  width: 130px;
  height: 130px;
  overflow: hidden;
  align-self: flex-end;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.persona-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
}

/* Badge */
.persona-card__badge {
  font-family: var(--head);
  font-size: 0.78rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.04em;
  border-radius: 20px;
  padding: 0.2em 0.75em;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 0.85rem;
}

.persona-card--brown .persona-card__badge {
  border: 1px solid color-mix(in srgb, var(--cream) 35%, transparent);
  color: var(--cream);
}

.persona-card--cream .persona-card__badge {
  border: 1px solid color-mix(in srgb, var(--brown) 35%, transparent);
  color: var(--brown);
}

/* Title */
.persona-card__title {
  font-family: var(--body);
  font-size: clamp(0.75rem, 1.3vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.35;
  margin-bottom: 0.85rem;
}

.persona-card--brown .persona-card__title {
  color: var(--cream);
}

.persona-card--cream .persona-card__title {
  color: var(--dark);
}

/* Divider */
.persona-card__divider {
  border: none;
  border-top: 1px solid var(--persona-card-border);
  margin-bottom: 0.85rem;
}

.persona-card--cream .persona-card__divider {
  border-color: color-mix(in srgb, var(--dark) 12%, transparent);
}

/* Body text */
.persona-card__body {
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.65;
}

.persona-card--brown .persona-card__body {
  color: color-mix(in srgb, var(--cream) 75%, transparent);
}

.persona-card--cream .persona-card__body {
  color: var(--brown);
}

/* CTA + pagination dots footer */
.personas-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: var(--space-lg) 1.25rem;
  max-width: 1200px;
  margin-inline: auto;
}

.btn-personas {
  background-color: color-mix(in srgb, var(--brown) 70%, var(--dark));
  color: var(--cream);
  width: 100%;
  max-width: 360px;
  text-align: center;
  align-self: center;
  padding: 1rem 2rem;
  border: 1px solid var(--persona-card-border);
}

.btn-personas:hover,
.btn-personas:focus-visible {
  background-color: var(--dark);
  color: var(--cream);
}

/* Pagination dots */
.personas-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.personas-dots__item {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--cream) 25%, transparent);
  display: block;
}

.personas-dots__item--active {
  background-color: var(--cream);
}

/* Desktop: 4-column cards row */
@media (min-width: 768px) {
  .personas-wrap {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    padding-inline: 1.25rem;
  }

  .personas-footer {
    flex-direction: column;
  }

  .btn-personas {
    width: auto;
    max-width: none;
  }
}

@media (min-width: 1000px) {
  .personas-wrap {
    gap: 1rem;
  }

  .persona-card {
    padding: 1.75rem;
  }
}

/* ---- 11. Hero ---- */
:root {
  --hero-photo-width: 42%;
  --hero-framed-size: 150px;
  --hero-badge-size: 60px;
}

.section--hero {
  position: relative;
  padding-block: 0;
  background-color: var(--dark);
  color: var(--cream);
  overflow: hidden;
  min-height: 100vh;
  /* Pull up behind fixed header so photo bleeds under it */
  margin-top: calc(-1 * var(--header-h));
}

/* Main left photo: absolute, bleeds full height left edge */
.hero__photo-wrap {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: var(--hero-photo-width);
  height: 100%;
  z-index: 0;
}

.hero__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Overlay layer sits on top of photo */
.hero__overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: var(--header-h);
}

/* TOP ROW: name (center-left of right area) + details (right) */
.hero__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.5rem 2.5rem 1rem calc(var(--hero-photo-width) + 2rem);
}

/* Author name block */
.hero__name-block {
  flex: 0 0 auto;
}

.hero__name {
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1.5;
}

/* Detail list top-right */
.hero__details {
  list-style: none;
  text-align: right;
  flex: 0 0 auto;
}

.hero__detail {
  font-family: var(--body);
  font-size: 0.62rem;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.hero__detail em {
  font-style: italic;
  font-weight: 300;
}

/* MIDDLE: framed photo (center zone) + bullet text + CTA (right) */
.hero__mid {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 1rem 2.5rem 1rem calc(var(--hero-photo-width) + 2rem);
  gap: 2rem;
}

/* Framed portrait */
.hero__framed-wrap {
  flex: 0 0 auto;
}

.hero__framed {
  position: relative;
  display: inline-block;
  border: 2px solid var(--cream);
  padding: 6px;
  width: var(--hero-framed-size);
}

.hero__framed-img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(100%);
}

/* Badge on framed photo */
.hero__badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: var(--hero-badge-size);
  height: var(--hero-badge-size);
  border-radius: 50%;
  background-color: var(--cream);
  color: var(--dark);
  font-family: var(--body);
  font-size: 0.42rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  padding: 6px;
}

/* Right side: bullet text + CTA */
.hero__right-mid {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.hero__bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.55;
  max-width: 26ch;
}

.hero__bullet-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
  margin-top: 0.35em;
}

/* CTA button variants */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
  background-color: var(--cream);
  padding: 0.85rem 2rem;
  border-radius: 2px;
  align-self: flex-start;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover,
.btn:focus-visible {
  background-color: var(--beige);
  color: var(--dark);
}

.btn--outline {
  background-color: transparent;
  color: var(--cream);
  border: 1px solid var(--cream);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background-color: var(--cream);
  color: var(--dark);
}

/* BOTTOM: giant STEP—(one) wordmark */
.hero__wordmark {
  display: block;
  line-height: 0.88;
  overflow: hidden;
  padding: 0;
  white-space: nowrap;
}

.hero__wordmark-step {
  font-family: var(--head);
  font-size: clamp(5rem, 12vw, 14rem);
  font-weight: 700;
  font-style: normal;
  color: var(--cream);
  letter-spacing: -0.01em;
}

.hero__wordmark-dash {
  font-family: var(--head);
  font-size: clamp(5rem, 12vw, 14rem);
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
}

.hero__wordmark-one {
  font-family: var(--head);
  font-size: clamp(5rem, 12vw, 14rem);
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
}

/* ---- Mobile hero (max 767px) ---- */
@media (max-width: 767px) {
  .section--hero {
    min-height: auto;
    margin-top: calc(-1 * var(--header-h));
  }

  /* Mobile: photo overlays header area, overlay sits below in normal flow */
  .hero__photo-wrap {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: 70vh;
  }

  .hero__photo {
    object-position: center top;
    height: 100%;
  }

  .hero__overlay {
    position: relative;
    z-index: 1;
    min-height: 0;
    /* no padding-top — photo is in flow above */
    padding-top: 0;
  }

  .hero__top {
    padding: 1rem 1.25rem 0.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .hero__details {
    text-align: left;
  }

  .hero__mid {
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1.25rem 2rem;
    gap: 1.5rem;
  }

  .hero__right-mid {
    align-items: center;
    text-align: center;
  }

  .hero__bullet {
    text-align: left;
    max-width: 30ch;
  }

  .hero__wordmark-step,
  .hero__wordmark-dash,
  .hero__wordmark-one {
    font-size: clamp(3rem, 14vw, 8rem);
  }
}

/* ---- 12. Intro strip ---- */
.section--intro {
  background-color: var(--cream);
  padding-block: var(--space-lg);
}

.intro__inner {
  display: flex;
  justify-content: center;
}

.intro__text {
  font-family: var(--head);
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
  color: var(--dark);
  max-width: 40ch;
}

.intro__quote {
  font-style: italic;
  color: var(--brown);
}

/* ---- 16. Program (dark section) ---- */
.section--program {
  padding-block: var(--space-lg);
}

.sec--dark__heading {
  color: var(--cream);
}

/* Modules grid: 2-col on desktop, 1-col mobile */
.modules {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background-color: var(--module-border);
  border: 1px solid var(--module-border);
  margin-bottom: var(--space-md);
}

.module {
  background-color: var(--dark);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.module--bonus {
  background-color: var(--module-bonus-bg);
}

.module__header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.module__num {
  font-family: var(--body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--module-num-color);
  flex-shrink: 0;
  padding-top: 0.35rem;
  min-width: 1.8rem;
}

.module__title {
  font-family: var(--head);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  color: var(--cream);
}

.module__lessons {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-top: 1px solid var(--module-border);
  padding-top: 1rem;
}

.module__lesson {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
}

.module__lesson-label {
  font-family: var(--body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--module-label-color);
  flex-shrink: 0;
  min-width: 3.5rem;
}

.module__lesson--bonus .module__lesson-label {
  color: var(--taupe);
}

.module__lesson-text {
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--cream);
}

.module__goal {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--module-goal-color);
  border-top: 1px solid var(--module-border);
  padding-top: 1rem;
  font-style: italic;
}

/* Format notes */
.program__format {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.program__format-item {
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--module-label-color);
  padding-left: 1rem;
  border-left: 2px solid var(--taupe);
}

/* Desktop: 2-column modules grid */
@media (min-width: 768px) {
  .modules {
    grid-template-columns: 1fr 1fr;
  }

  .module {
    padding: 2.5rem 2rem;
  }
}

@media (min-width: 1000px) {
  .module {
    padding: 2.75rem 2.5rem;
  }

  .module__title {
    font-size: 1.2rem;
  }

  .module__lesson-text {
    font-size: 0.85rem;
  }

  .module__goal {
    font-size: 0.82rem;
  }

  .program__format {
    flex-direction: row;
    gap: 2rem;
  }

  .program__format-item {
    flex: 1;
  }
}

/* ---- 17. Benefits ---- */
.section--benefits {
  padding-block: var(--space-lg);
  background-color: var(--cream);
}

.benefits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.ben-card {
  overflow: hidden;
  border-radius: 2px;
  background-color: var(--beige);
}

.ben-card__img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.ben-card:hover .ben-card__img {
  transform: scale(1.02);
}

/* Desktop: 3-column 2-row grid */
@media (min-width: 768px) {
  .benefits__grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.25rem;
  }
}

/* ---- 18. Tariffs (dark section) ---- */
.section--tariffs {
  padding-block: var(--space-lg);
}

.tariffs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background-color: var(--tariff-border);
  border: 1px solid var(--tariff-border);
  margin-bottom: var(--space-md);
}

.tariff {
  background-color: var(--dark);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tariff--full {
  background-color: var(--tariff-full-bg);
}

.tariff__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--tariff-border);
}

.tariff__label {
  font-family: var(--body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
}

.tariff__price {
  font-family: var(--head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  color: var(--cream);
}

.tariff__currency {
  font-size: 0.5em;
  font-style: normal;
  letter-spacing: 0.08em;
  color: var(--taupe);
  vertical-align: middle;
  margin-left: 0.2em;
}

.tariff__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.tariff__item {
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--cream);
  padding-left: 1rem;
  position: relative;
}

.tariff__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--taupe);
}

.tariff__item--bonus {
  color: var(--tariff-highlight);
  font-style: italic;
}

.tariff__item--highlight {
  color: var(--cream);
  font-weight: 600;
}

.tariff__cta {
  align-self: flex-start;
}

.tariffs__note {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--tariff-note-color);
  text-align: center;
  margin-top: calc(-1 * var(--space-sm));
}

@media (min-width: 768px) {
  .tariffs {
    grid-template-columns: 1fr 1fr;
  }

  .tariff {
    padding: 2.5rem 2rem;
  }
}

@media (min-width: 1000px) {
  .tariff {
    padding: 3rem 2.5rem;
  }

  .tariff__item {
    font-size: 0.88rem;
  }
}

/* ---- 19. Author ---- */
/* ---- Author: full-bleed editorial band ---- */
.section--author {
  padding-block: 0;
  background: linear-gradient(to bottom, var(--dark) 0%, var(--author-band-dark) 100%);
  overflow: hidden;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
}

.author-band {
  display: flex;
  width: 100%;
  position: relative;
}

.author__heading {
  margin-bottom: 0;
}

.author__bio {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.author__bio p {
  font-family: var(--body);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--brown);
}

.author__bio strong {
  font-weight: 700;
  color: var(--dark);
}

.author__stats {
  display: flex;
  gap: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--author-stat-sep);
}

.author__stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.author__stat-value {
  font-family: var(--head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  color: var(--dark);
}

.author__stat-label {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--taupe);
  max-width: 14ch;
  line-height: 1.45;
}

.author__cta {
  align-self: flex-start;
  background-color: var(--dark);
  color: var(--cream);
}

.author__cta:hover,
.author__cta:focus-visible {
  background-color: var(--brown);
  color: var(--cream);
}

/* === MOBILE: text card first, portraits below === */
@media (max-width: 767px) {
  .author-band {
    flex-direction: column;
  }

  .author-band__card {
    order: 1;
    padding: var(--space-lg) var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    color: var(--cream);
  }

  .author-band__portraits {
    order: 2;
    display: flex;
    width: 100%;
  }

  .author-band__portrait {
    flex: 1;
    overflow: hidden;
    aspect-ratio: 2 / 3;
  }

  /* Mobile dark bg text adjustments */
  .author-band__card .author__bio p {
    color: color-mix(in srgb, var(--cream) 70%, transparent);
  }

  .author-band__card .author__bio strong {
    color: var(--cream);
  }

  .author-band__card .author__stat-value {
    color: var(--cream);
  }

  .author-band__card .author__stat-label {
    color: var(--taupe);
  }

  .author-band__card .author__stats {
    border-top-color: color-mix(in srgb, var(--cream) 15%, transparent);
  }

  .author-band__card .author__cta {
    background-color: var(--cream);
    color: var(--dark);
    align-self: flex-start;
  }

  .author-band__card .author__cta:hover,
  .author-band__card .author__cta:focus-visible {
    background-color: var(--beige);
    color: var(--dark);
  }

  .author__heading {
    color: var(--cream);
  }
}

/* === DESKTOP: 3-col flanked layout === */
@media (min-width: 768px) {
  .author-band {
    flex-direction: row;
    align-items: stretch;
    min-height: 620px;
  }

  /* Unwrap portraits wrapper so portraits become direct flex children */
  .author-band__portraits {
    display: contents;
  }

  /* Card: center column, order 2 */
  .author-band__card {
    order: 2;
    flex: 1;
    padding: var(--space-xl) var(--space-lg);
    background-color: var(--cream);
    color: var(--dark);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
    justify-content: center;
  }

  /* Left portrait: order 1 (appears before card) */
  .author-band__portrait--left {
    order: 1;
  }

  /* Right portrait: order 3 (appears after card) */
  .author-band__portrait--right {
    order: 3;
  }

  .author-band__portrait {
    flex: 0 0 27%;
    max-width: 27%;
    overflow: hidden;
    align-self: stretch;
  }

  .author-band__card .author__stats {
    justify-content: center;
  }

  .author-band__card .author__cta {
    align-self: center;
    background-color: var(--dark);
    color: var(--cream);
  }

  .author-band__card .author__cta:hover,
  .author-band__card .author__cta:focus-visible {
    background-color: var(--brown);
    color: var(--cream);
  }

  .author-band__card .author__bio p {
    color: var(--brown);
  }

  .author-band__card .author__bio strong {
    color: var(--dark);
  }

  .author-band__card .author__stat-value {
    color: var(--dark);
  }

  .author-band__card .author__stat-label {
    color: var(--taupe);
  }

  .author-band__card .author__stats {
    border-top-color: var(--author-stat-sep);
  }

  .author__heading {
    color: var(--dark);
  }
}

@media (min-width: 1000px) {
  .author-band__portrait {
    flex: 0 0 25%;
    max-width: 25%;
  }

  .author-band__card {
    padding: var(--space-xl) 4rem;
  }

  .author-band__card .author__bio p {
    font-size: 0.92rem;
  }
}

.author-band__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 10%;
  filter: grayscale(100%);
}

.author-band__img--mirror {
  transform: scaleX(-1);
}

/* ---- 20. Portfolio ---- */
.section--portfolio {
  padding-block: var(--space-lg);
  background-color: var(--cream);
}

.section--portfolio .container {
  padding-bottom: 0;
}

.portfolio__row {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-inline: 1.25rem;
  padding-top: 0;
}

.portfolio__row::-webkit-scrollbar {
  display: none;
}

.port-item {
  flex: 0 0 calc(100% / 3);
  min-width: 200px;
  overflow: hidden;
  display: block;
  position: relative;
  aspect-ratio: 3 / 4;
}

.port-item picture {
  display: block;
  width: 100%;
  height: 100%;
}

.port-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.port-item:hover .port-item__img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

@media (min-width: 768px) {
  .portfolio__row {
    overflow-x: unset;
    padding-inline: 0;
  }

  .port-item {
    flex: 1;
    min-width: 0;
  }
}

@media (min-width: 1200px) {
  .portfolio__row {
    padding-inline: calc((100% - 1200px) / 2);
  }
}

/* ---- Program wordmark ---- */
.program__header {
  margin-bottom: var(--space-md);
}
.program__label {
  font-family: var(--body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 0.5rem;
  display: block;
}
.program__wordmark {
  display: block;
  line-height: 0.88;
  overflow: hidden;
  white-space: nowrap;
  margin-bottom: var(--space-md);
}
.program__wordmark-step {
  font-family: var(--head);
  font-size: clamp(3.5rem, 9vw, 10rem);
  font-weight: 700;
  font-style: normal;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.program__wordmark-dash {
  font-family: var(--head);
  font-size: clamp(3.5rem, 9vw, 10rem);
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
}
.program__wordmark-one {
  font-family: var(--head);
  font-size: clamp(3.5rem, 9vw, 10rem);
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
}

/* Module accordion — hide lessons/goal, show expand icon */
.module__lessons,
.module__goal {
  display: none;
}
.module__expand {
  margin-left: auto;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid var(--module-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-size: 1.1rem;
  line-height: 1;
  opacity: 0.5;
}

/* Benefits 2-col layout */
.benefits__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.benefits__photos {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.benefits__photo-wrap {
  overflow: hidden;
  border-radius: 2px;
  flex: 1;
}
.benefits__photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  display: block;
}
.benefits__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .benefits__inner {
    grid-template-columns: 40% 60%;
    gap: 2rem;
    align-items: start;
  }
}
@media (min-width: 1000px) {
  .benefits__inner {
    grid-template-columns: 38% 62%;
    gap: 2.5rem;
  }
}

/* ---- Tariff intro dark section ---- */
.section--tariff-intro {
  padding-block: var(--space-lg);
  position: relative;
  overflow: hidden;
}
.tariff-intro__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: center;
}
.tariff-intro__label {
  font-family: var(--body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
  display: block;
  margin-bottom: 0.5rem;
}
.tariff-intro__wordmark {
  display: block;
  line-height: 0.88;
  overflow: hidden;
  white-space: nowrap;
}
.tariff-intro__wordmark-step {
  font-family: var(--head);
  font-size: clamp(3rem, 8vw, 9rem);
  font-weight: 700;
  font-style: normal;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.tariff-intro__wordmark-dash {
  font-family: var(--head);
  font-size: clamp(3rem, 8vw, 9rem);
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
}
.tariff-intro__wordmark-one {
  font-family: var(--head);
  font-size: clamp(3rem, 8vw, 9rem);
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
}
.tariff-intro__photo-wrap {
  overflow: hidden;
  border-radius: 2px;
  max-height: 500px;
}
.tariff-intro__photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(100%);
  display: block;
}
@media (min-width: 768px) {
  .tariff-intro__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
  }
}
