/* ============================================================
   BRIAN RIDLEY GOLF — STYLESHEET
   Scale: 16px root. Rem values relative to 16px.
   H1 96px / H2 48px / H3 40px / H4 32px / H5 24px / H6 20px
   Body 18px | Small 14px
   ============================================================ */

/* ============================================================
   0. FONTS
   ============================================================ */
@font-face {
  font-family: 'LT Museum';
  src: url('assets/fonts/LTMuseum-Light.ttf') format('truetype');
  font-weight: 100 900;   /* maps all weights to the single Light file */
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   1. VARIABLES
   ============================================================ */
:root {
  /* Brand colours */
  --lime:          #F9F6F0;
  --dark-green:    #0e2a06;
  --nav-green:     rgba(13, 36, 16, 0.95);
  --warm-bg:       #f6f1ee;
  --neutral-bg:    #f6f6f3;
  --white:         #ffffff;
  --text-heading:  #111111;
  --text-body:     #1a2e1a;
  --text-muted:    #6B7A72;

  /* Layout */
  --max-width:     75rem;      /* 1200px */
  --section-pad:   7.5rem;     /* 120px */
  --gap:           1.5rem;     /* 24px */
  --radius:        1rem;     /* 16px */
  --banner-h:      2.5rem;     /* 40px */
  --nav-h:         4.5rem;     /* 72px */
  --container-pad: 2.5rem;     /* 40px — container side padding */

  /* Fonts */
  --font-brand:    'LT Museum', serif;
  --font-ui:       'Geist', sans-serif;

  /* Type scale */
  --fs-display:    6rem;      /* h1  — 96px  */
  --fs-h2:         3rem;      /* h2  — 48px  */
  --fs-h3:         2.5rem;    /* h3  — 40px  */
  --fs-h4:         2rem;      /* h4  — 32px  */
  --fs-h5:         1.5rem;    /* h5  — 24px  */
  --fs-h6:         1.25rem;   /* h6  — 20px  */
  --fs-body:       1.125rem;  /* body — 18px */
  --fs-sm:         1rem;      /* sm  — 16px  */
  --fs-xs:         0.875rem;  /* xs  — 14px  */
  --fs-eyebrow:    0.75rem;   /* eyebrow — 12px */
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-ui);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

/* Offset for fixed header on anchor links */
[id] {
  scroll-margin-top: calc(var(--banner-h) + var(--nav-h) + 1rem);
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.1;
  color: var(--text-heading);
}

h1 {
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: var(--fs-display);
  letter-spacing: -0.02em;
}

h2 {
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: var(--fs-h2);
  letter-spacing: -0.02em;
}

h3 {
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: var(--fs-h3);
  letter-spacing: -0.02em;
}

h4 {
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: var(--fs-h4);
  letter-spacing: -0.015em;
}

h5 {
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: var(--fs-h5);
  letter-spacing: -0.01em;
}

h6 {
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: var(--fs-h6);
}

p {
  line-height: 1.5;
}

.eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.75rem;
}

/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: var(--section-pad) 0;
}

.section--warm  { background-color: var(--warm-bg); }
.section--white { background-color: var(--white); }

/* ============================================================
   CREDENTIALS SECTION
   ============================================================ */
.section--credentials {
  background-color: #0B1E15;
}

.section--credentials .eyebrow {
  color: #10AF7A;
}

.section--credentials h3,
.section--credentials h5,
.section--credentials p {
  color: var(--lime);
}

.credentials-split {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 8rem;
  align-items: start;
}

.credentials-left {
  position: sticky;
  top: calc(var(--banner-h) + var(--nav-h) + 3rem);
}

.credentials-left h3 {
  margin-bottom: 1rem;
}

.credentials-lead {
  color: rgba(249, 246, 240, 0.65);
  font-size: var(--fs-body);
  line-height: 1.5;
}

.credential-item {
  padding: 2rem 0;
  border-top: 1px solid rgba(249, 246, 240, 0.12);
}

.credential-item:first-child {
  border-top: none;
}


.credential-item h5 {
  margin-bottom: 0.5rem;
}

.credential-item p {
  color: rgba(249, 246, 240, 0.65);
  font-size: var(--fs-sm);
}

.section__header {
  text-align: center;
  max-width: 40rem; /* 640px — caps line length */
  margin: 0 auto 5rem;
}

.section__header h2,
.section__header h3 {
  margin-bottom: 1rem;
}

.section__lead {
  color: var(--text-muted);
  font-size: var(--fs-body);
  line-height: 1.5;
}

/* ============================================================
   5. GRIDS
   ============================================================ */
.grid {
  display: grid;
  gap: var(--gap);
}

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

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

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

/* ============================================================
   6. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0;
  padding: 1rem 1.5rem;       /* 16px 24px */
  line-height: 1.5;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn span {
  display: block;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover span {
  transform: translateY(-200%);
}

.btn:hover::after {
  transform: translateY(0);
}

.btn--pill {
  border-radius: 12px;
}

.btn--lime {
  background-color: var(--lime);
  color: var(--text-heading);
}

.btn--dark {
  background-color: var(--dark-green);
  color: var(--lime);
}

/* Secondary / small button — 40px height */
.btn--sm {
  height: 2.5rem;     /* 40px */
  padding: 0 1.125rem;
  font-size: var(--fs-xs);
  border-radius: 8px;
}

/* ============================================================
   7. CARDS (shared)
   ============================================================ */
.card {
  border-radius: var(--radius);
  padding: 2rem;              /* 32px */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card--white {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(14, 42, 6, 0.07);
}

.card--white:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(14, 42, 6, 0.12);
}

.card--neutral {
  background: var(--neutral-bg);
}

.card--dark {
  background: var(--dark-green);
  color: var(--white);
}

.card--dark h4 {
  color: var(--lime);
}

.card--dark .card__desc {
  color: rgba(255, 255, 255, 0.7);
}

/* Icon container */
.card__icon-wrap {
  width: 3.5rem;              /* 56px */
  height: 3.5rem;
  border-radius: 0.75rem;
  background: var(--dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.card__icon-wrap .material-icons-round {
  font-size: var(--fs-h5);
  color: var(--lime);
}

.card h5 {
  margin-bottom: 0.75rem;
}

.card p:not(.testimonial__text) {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.5;
}

.card--dark p {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   10b. SERVICES — split accordion / image panel
   ============================================================ */
.services-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* Accordion — left column */
.services-accordion {
  display: flex;
  flex-direction: column;
}

.services-accordion__header {
  margin-bottom: 3rem;
}

.services-accordion__header h3 {
  margin-bottom: 1rem;
}

.services-accordion__lead {
  color: var(--text-muted);
  font-size: var(--fs-body);
  line-height: 1.5;
}

.service-item {
  border-top: 1px solid rgba(14, 42, 6, 0.15);
}

.service-item:first-child {
  border-top: none;
}

.service-item:last-child {
  border-bottom: 1px solid rgba(14, 42, 6, 0.15);
}

.service-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.service-item__heading {
  font-family: var(--font-brand);
  font-size: var(--fs-h5);
  color: var(--text-muted);
  margin: 0;
  transition: color 0.2s ease;
}

.service-item.active .service-item__heading {
  color: var(--dark-green);
}


/* Body — collapses when inactive */
.service-item__body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s ease, padding 0.45s ease;
}

.service-item__body p {
  padding-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.5;
}

.service-item.active .service-item__body {
  max-height: 12rem;
}

/* Progress bar */
.service-item__progress-track {
  height: 2px;
  background: rgba(14, 42, 6, 0.1);
  position: relative;
  margin-bottom: 0;
}

.service-item__progress-bar {
  position: absolute;
  inset: 0;
  width: 0%;
  background: var(--dark-green);
}

.service-item.active .service-item__progress-bar {
  animation: service-progress 7.8s linear forwards;
}

@keyframes service-progress {
  from { width: 0%; }
  to   { width: 100%; }
}

/* Image panel — right column */
.services-visual {
  position: sticky;
  top: calc(var(--banner-h) + var(--nav-h) + 2rem);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.services-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.services-img.active {
  opacity: 1;
}

.card__desc {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* ============================================================
   8. BANNER
   ============================================================ */
.banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--banner-h);
  background: #0B1E15;
  color: rgba(249, 246, 240, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Geist Mono', monospace;
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 1001;
  transition: transform 0.35s ease;
}

.banner--hidden {
  transform: translateY(-100%);
}

.banner .material-icons-round {
  font-size: var(--fs-sm);
  color: #10AF7A;
}

/* ============================================================
   9. NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: var(--banner-h);
  left: 0;
  right: 0;
  height: 5rem;                /* 80px — larger initial state */
  z-index: 1000;
  transition: height 0.4s ease, background-color 0.4s ease, top 0.35s ease;
}

.navbar--no-banner {
  top: 0;
}

.navbar.scrolled {
  height: var(--nav-h);
  background-color: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Colour flips when navbar goes white */
.navbar.scrolled .navbar__brand {
  color: var(--dark-green);
}

.navbar.scrolled .navbar__nav a {
  color: var(--text-body);
}

.navbar.scrolled .navbar__nav a:hover {
  color: var(--dark-green);
}

.navbar.scrolled .hamburger span {
  background: var(--dark-green);
}

.navbar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gap);
  height: 100%;
  display: flex;
  align-items: center;
}

.navbar__brand {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: var(--fs-h6);
  color: var(--lime);
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.navbar__nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.navbar__nav a {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}

.navbar__nav a:hover {
  color: var(--lime);
  opacity: 1;
}

.navbar__right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.25rem;
  height: 2.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  flex-shrink: 0;
}

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

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   10. HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 37.5rem; /* 600px */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/A4620B8B-6A90-4B91-A7EA-F8A4D998039D.jpeg');
  background-size: cover;
  background-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--gap);
  max-width: 56rem; /* 896px */
}

.hero__content h1 {
  color: var(--lime);
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.hero__sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-h6);
  line-height: 1.5;
  margin-bottom: 2rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}


/* ============================================================
   12. TESTIMONIALS
   ============================================================ */

.section--testimonials {
  background-color: #0B1E15;
  position: relative;
}

.section--testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(249, 246, 240, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249, 246, 240, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, black 0%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.section--testimonials .container {
  position: relative;
  z-index: 1;
}

.section--testimonials h3,
.section--testimonials .testimonials__lead {
  color: var(--lime);
}

.section--testimonials .eyebrow {
  color: #10AF7A;
}

.section--testimonials .testimonials__lead {
  color: rgba(249, 246, 240, 0.6);
}

.testimonials__header-text h3 {
  margin-bottom: 1rem;
}

/* Slider header — title left, buttons right */
.testimonials__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.testimonials__lead {
  font-size: var(--fs-body);
  line-height: 1.5;
  max-width: 36rem;
}

.testimonials__controls {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  padding-bottom: 0.25rem;
}

/* Circular prev/next buttons */
.testimonial-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 2px solid rgba(249, 246, 240, 0.3);
  background: transparent;
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.testimonial-btn .material-icons-round {
  font-size: var(--fs-body);
}

.testimonial-btn:hover:not(:disabled) {
  background: var(--lime);
  border-color: var(--lime);
  color: #0B1E15;
}

.testimonial-btn:disabled {
  border-color: rgba(249, 246, 240, 0.12);
  color: rgba(249, 246, 240, 0.2);
  cursor: not-allowed;
  pointer-events: none;
}

/* Slider viewport — clips at container edge, no gradient */
.testimonials__viewport {
  overflow: hidden;
}

.testimonials__track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Each card is ~85% wide so the next peeks */
.testimonials__track .testimonial {
  flex: 0 0 calc(100% / 12 * 11);
  min-width: 0;
}

/* Card: image left, content right */
.testimonial {
  display: flex;
  flex-direction: row;
  border-radius: 8px;
  background: #0f2619;
  padding: 1.25rem;
  gap: 1.25rem;
}

.testimonial__image {
  flex: 0 0 38%;
  background: rgba(249, 246, 240, 0.08);
  border-radius: 4px;
  aspect-ratio: 3 / 4;
}

.testimonial__content {
  flex: 1;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial__text {
  font-family: var(--font-brand);
  font-size: var(--fs-h4);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--lime);
  flex-grow: 1;
  margin-bottom: 2rem;
}

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

.testimonial__info strong {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--lime);
}

.testimonial__info span {
  font-size: var(--fs-xs);
  color: rgba(249, 246, 240, 0.55);
}

/* ============================================================
   13. CALLOUT — full bleed
   ============================================================ */
.callout {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem var(--container-pad);
  min-height: 32rem;
  overflow: hidden;
}

.callout__image {
  position: absolute;
  inset: 0;
  background-image: url('AdobeStock_266058425.jpeg');
  background-size: cover;
  background-position: center;
}

.callout__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.callout__content {
  position: relative;
  z-index: 2;
  max-width: 42rem;
}

.callout__content h2 {
  font-family: var(--font-brand);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--lime);
  margin-bottom: 2rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.callout__note {
  margin-top: 1rem;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.65);
}

/* ============================================================
   14. ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gap);
  align-items: center;
}

.about__text {
  grid-column: 1 / span 5;
}

.about__image {
  grid-column: 8 / span 5;
}

.about__text h3 {
  margin-bottom: 1.25rem;
}

.lead-text {
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.achievements-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
}

.achievements-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--dark-green);
}

.achievements-list .material-icons-round {
  color: var(--dark-green);
  font-size: var(--fs-body);
  flex-shrink: 0;
}

.about__image-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ============================================================
   15. SPONSORS
   ============================================================ */
.sponsors-section {
  padding-top: 0;
}

.sponsors__heading {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.sponsors__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  align-items: center;
}

.sponsor-logo__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4rem;
  background: rgba(14, 42, 6, 0.06);
  border-radius: 0.75rem;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* ============================================================
   15b. HOW IT WORKS — dark timeline
   ============================================================ */
.section--how {
  background: #0B1E15;
}

.section--how .eyebrow {
  color: #10AF7A;
}

.how__header {
  margin-bottom: 4rem;
}

.how__header h3 {
  color: var(--lime);
  margin-top: 0.5rem;
}

.how__timeline {
  position: relative;
}

/* Dotted line running behind the nodes */
.how__line {
  position: absolute;
  top: 0.375rem; /* half of 0.75rem node height */
  transform: translateY(-50%); /* pin line center to node center */
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    rgba(249, 246, 240, 0.15) 0px,
    rgba(249, 246, 240, 0.15) 6px,
    transparent 6px,
    transparent 14px
  );
  z-index: 0;
  overflow: hidden;
}

.how__line-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #10AF7A;
}

.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  position: relative;
  z-index: 1;
}

.how__step {
  opacity: 0.35;
  transition: opacity 0.6s ease;
}

.how__step--active {
  opacity: 1;
}

.how__node {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: rgba(249, 246, 240, 0.15);
  border: 2px solid rgba(249, 246, 240, 0.2);
  margin-bottom: 1.75rem;
  transition: background 0.4s ease, border-color 0.4s ease;
}

.how__step--active .how__node {
  background: #10AF7A;
  border-color: #10AF7A;
}

.how__num {
  color: #10AF7A !important;
  margin-bottom: 0.75rem;
}

.how__step h5 {
  color: var(--lime);
  margin-bottom: 0.75rem;
}

.how__step p {
  color: rgba(249, 246, 240, 0.5);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

/* Mobile: stack vertically */
@media (max-width: 48rem) {
  .how__steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .how__line {
    display: none;
  }

  .how__step {
    opacity: 1;
    display: flex;
    flex-direction: column;
    padding-left: 1.5rem;
    border-left: 2px solid rgba(249, 246, 240, 0.15);
  }

  .how__step--active {
    border-left-color: #10AF7A;
  }

  .how__node {
    display: none;
  }
}

/* ============================================================
   16. VIDEO CAROUSEL
   ============================================================ */
.videos-section {
  overflow: hidden;
}

.carousel-wrapper {
  overflow: hidden;
  width: 100%;
  margin: 0 0 2rem;
  cursor: grab;
}

.carousel-wrapper:active {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  width: max-content;
  will-change: transform;
  user-select: none;
}

.carousel-card {
  flex: 0 0 calc((min(100vw, 75rem) - 3rem) / 4.5);
  margin-right: var(--gap);
}

.carousel-video,
.carousel-image {
  aspect-ratio: 9 / 16;
  border-radius: 8px;
  overflow: hidden;
  background: #1a2e1a;
  position: relative;
}

/* Landscape variant — wider card with 4:5 aspect ratio */
.carousel-card--landscape {
  flex: 0 0 calc((min(100vw, 75rem) - 3rem) / 3);
}

.carousel-card--landscape .carousel-image {
  aspect-ratio: 4 / 5;
}

.carousel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.carousel-card.is-playing .carousel-video video {
  pointer-events: auto;
}

/* Play overlay */
.carousel-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.carousel-play .material-icons-round {
  font-size: 3.5rem;
  color: var(--lime);
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.5));
  transition: transform 0.2s ease;
}

.carousel-play:hover .material-icons-round {
  transform: scale(1.1);
}

.carousel-card.is-playing .carousel-play {
  opacity: 0;
  pointer-events: none;
}

.videos-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* Carousel captions */
.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
  color: var(--lime);
  font-size: var(--fs-xs);
  font-family: var(--font-ui);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
  pointer-events: none;
}

/* ============================================================
   17. PRICING
   ============================================================ */
.pricing-toggle {
  display: flex;
  width: fit-content;
  margin: 0 auto 2.5rem;
  border: 2px solid var(--dark-green);
  border-radius: 12px;
  padding: 0.25rem;
  gap: 0;
}

/* Inactive toggle state — transparent, inherits btn sizing */
.pricing-toggle .btn {
  background: transparent;
  color: var(--dark-green);
  box-shadow: none;
}

.pricing-toggle .btn:hover {
  background: rgba(14, 42, 6, 0.06);
}

/* Active toggle state */
.pricing-toggle .btn.active {
  background: var(--dark-green);
  color: var(--lime);
}

.pricing-toggle .btn.active:hover {
  background: var(--dark-green);
}

.pricing-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(14, 42, 6, 0.12);
  box-shadow: 0 8px 48px rgba(14, 42, 6, 0.08);
}

.pricing-card__left {
  background: var(--dark-green);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 28rem;
}

.pricing-card__title {
  color: var(--white);
  margin-bottom: 0.5rem;
  transition: opacity 0.3s ease;
}

.pricing-card__subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-sm);
  transition: opacity 0.3s ease;
}

.pricing-card__bottom {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pricing-card__price {
  font-family: var(--font-brand);
  font-weight: 900;
  font-size: 4rem;
  color: var(--lime);
  line-height: 1;
  letter-spacing: -0.02em;
  transition: opacity 0.3s ease;
}

.pricing-card__note {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
}

.pricing-card__note .material-icons-round {
  font-size: var(--fs-xs);
}

.pricing-card__right {
  background: var(--white);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.pricing-card__desc {
  color: var(--text-muted);
  font-size: var(--fs-body);  /* body */
  line-height: 1.5;
  transition: opacity 0.3s ease;
}

.pricing-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: opacity 0.3s ease;
}

.pricing-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--dark-green);
}

.pricing-list .material-icons-round {
  color: var(--dark-green);
  font-size: var(--fs-body);
  flex-shrink: 0;
}

/* Transitioning state */
.pricing-card.transitioning .pricing-card__title,
.pricing-card.transitioning .pricing-card__subtitle,
.pricing-card.transitioning .pricing-card__price,
.pricing-card.transitioning .pricing-card__desc,
.pricing-card.transitioning .pricing-card__right ul {
  opacity: 0;
}

/* ============================================================
   18. FAQ
   ============================================================ */
.faq-list {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(14, 42, 6, 0.1);
}

.faq-item:first-child {
  border-top: 1px solid rgba(14, 42, 6, 0.1);
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.375rem 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--dark-green);
  transition: color 0.2s ease;
}

.faq-item__trigger:hover {
  color: var(--text-muted);
}

.faq-item__icon {
  flex-shrink: 0;
  font-size: var(--fs-h6) !important;
  color: var(--dark-green);
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}

.faq-item__content p {
  padding-bottom: 1.375rem;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.5;
}

/* ============================================================
   19. MASONRY TESTIMONIALS
   ============================================================ */
.masonry-section {
  padding-bottom: 0;
}

.masonry-wrapper {
  position: relative;
  max-height: 44rem;
  overflow: hidden;
  margin-top: 0;
  padding: 0 var(--gap);
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.masonry-grid {
  columns: 3;
  column-gap: var(--gap);
}

.masonry-card {
  break-inside: avoid;
  background: var(--white);
  border: 1px solid rgba(14, 42, 6, 0.08);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: var(--gap);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--text-body);
}

.masonry-card strong {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.masonry-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 14rem;
  background: linear-gradient(to bottom, transparent 0%, var(--white) 100%);
  pointer-events: none;
}

/* ============================================================
   20. FOOTER
   ============================================================ */
.footer {
  background: #0B1E15;
  display: flex;
  flex-direction: column;
}

.footer__inner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  padding: 7rem var(--gap) 6rem;
  flex: 1;
}

.footer__brand {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1;
  max-width: calc(var(--max-width) / 12 * 8);
}

.footer__cta {
  /* inherits .btn .btn--lime .btn--pill */
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 2rem;
  padding: 1.25rem var(--gap);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__links a {
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: var(--lime);
  opacity: 1;
}

.footer__links span {
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.35);
}

/* ============================================================
   21. FADE-IN ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

/* Staggered delays for grid children */
.grid .fade-in:nth-child(2) { transition-delay: 0.1s; }
.grid .fade-in:nth-child(3) { transition-delay: 0.2s; }
.grid .fade-in:nth-child(4) { transition-delay: 0.15s; }

/* ============================================================
   22. RESPONSIVE — TABLET (max 900px)
   ============================================================ */
@media (max-width: 56.25rem) {
  .grid--3 {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about__text,
  .about__image {
    grid-column: 1 / -1;
  }

  .about__image {
    order: -1;
  }

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

  .pricing-card {
    grid-template-columns: 1fr;
  }

  .pricing-card__left {
    min-height: auto;
  }
}

/* ============================================================
   23. RESPONSIVE — MOBILE (max 768px)
   ============================================================ */
@media (max-width: 48rem) {
  :root {
    --section-pad:    5rem;   /* 80px on mobile */
    --container-pad:  1.5rem; /* 24px on mobile */
  }

  /* Typography scale down */
  h1 { font-size: clamp(2.75rem, 12vw, 7.5rem); }
  h2 { font-size: clamp(1.75rem, 7vw, 3rem); }
  h3 { font-size: clamp(1.5rem, 6vw, 2.5rem); }
  h4 { font-size: clamp(1.25rem, 5vw, 2rem); }

  /* Navbar — mobile: just brand + book button */
  .navbar__nav {
    display: none;
  }

  .hamburger {
    display: none;
  }

  /* Grids */
  .grid--2,
  .grid--2x2 {
    grid-template-columns: 1fr;
  }

  /* Credentials — stack on mobile */
  .credentials-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .credentials-left {
    position: relative;
    top: auto;
  }

  /* Services split — stack on mobile, image on top */
  .services-split {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .services-visual {
    position: relative;
    top: auto;
    aspect-ratio: 4 / 3;
    order: -1;
    border-radius: 0;
    margin-bottom: 0;
  }

  /* Fix: hide descriptions on mobile — prevents page from shifting */
  .service-item__body,
  .service-item__progress-track {
    display: none;
  }

  /* Testimonial slider — 1 card visible on mobile, stacked layout */
  .testimonials__track .testimonial {
    flex: 0 0 100%;
  }

  .testimonial {
    flex-direction: column;
  }

  .testimonial__image {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .testimonials__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

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

  /* Hero */
  .hero__content h1 {
    font-size: clamp(2.5rem, 14vw, 7.5rem);
  }

  .hero__sub {
    font-size: var(--fs-sm);
  }

  /* Callout */
  .callout {
    padding: 5rem var(--container-pad);
  }

  /* Pricing card */
  .pricing-card__left,
  .pricing-card__right {
    padding: 2rem;
  }

  /* Carousel cards */
  .carousel-card {
    flex: 0 0 clamp(14rem, 75vw, 20rem);
  }

  /* Masonry */
  .masonry-grid {
    columns: 1;
  }

  /* About — wider crop on mobile */
  .about__image-placeholder {
    aspect-ratio: 4 / 3;
    object-position: center top;
  }

  /* Footer */
  .footer__links {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ============================================================
   24. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}
