/* New Lêaf Strategic: Mission Alignment Workshop
   Brand tokens come from the July 2026 branding kit.
   Teal text on cream fails contrast (2.3:1), so --teal-deep is used for any teal text. */

@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 800; font-style: normal; font-display: swap;
  src: url("../fonts/montserrat-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 400; font-style: italic; font-display: swap;
  src: url("../fonts/dm-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/dm-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  --teal: #00B8B8;
  --teal-deep: #006B6B;      /* 5.97:1 on cream */
  --teal-tint: #E4F4F2;      /* soft section background */
  --coral: #FF6B6B;
  --yellow: #FFD23F;
  --charcoal: #2C3E50;
  --charcoal-deep: #1B2836;
  --cream: #FAF8F3;
  --white: #FFFFFF;

  --font-head: "Montserrat", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --header-h: 5rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --max: 68rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); scroll-margin-top: calc(var(--header-h) + 1rem); }
.lead { font-size: clamp(1.1875rem, 1.6vw, 1.375rem); line-height: 1.55; max-width: 42rem; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Focus */
:focus-visible { outline: 3px solid var(--charcoal); outline-offset: 3px; border-radius: 2px; }
.hero :focus-visible, .site-footer :focus-visible { outline-color: var(--yellow); }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--charcoal); color: var(--white);
  padding: .75rem 1.1rem; border-radius: .4rem; text-decoration: none; font-weight: 700; }
.skip-link:focus { top: 1rem; outline-color: var(--yellow); }

/* Buttons and links
   Brand charcoal on coral is only 3.96:1, so button text uses a deeper charcoal (5.4:1) to pass AA at any size. */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; padding: .8rem 1.75rem;
  background: var(--coral); color: var(--charcoal-deep);
  font-family: var(--font-head); font-weight: 700; font-size: 1.1875rem; line-height: 1.2; text-decoration: none;
  border: 2px solid var(--coral); border-radius: 999px;
  transition: background-color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--yellow); border-color: var(--yellow); }
.btn--small { min-height: 2.75rem; padding: .55rem 1.25rem; font-size: 1.0625rem; }
@media (prefers-reduced-motion: no-preference) { .btn:hover { transform: translateY(-1px); } }

.text-link { font-weight: 500; text-underline-offset: .25em; text-decoration-thickness: 2px; padding-block: .5rem; }
.text-link--light { color: var(--white); text-decoration-color: var(--yellow); }
.text-link--light:hover { text-decoration-color: var(--white); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 243, .96);
  border-bottom: 1px solid rgba(44, 62, 80, .12); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(250, 248, 243, .88); backdrop-filter: blur(10px); } }
.header-inner { display: flex; align-items: center; gap: .25rem 2rem; padding-block: .6rem; }
.logo-link { display: block; flex: 0 0 auto; }
.logo-link img { width: clamp(8.5rem, 22vw, 11.5rem); }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.75rem; }
.site-nav a { text-decoration: none; font-weight: 500; padding-block: .6rem; display: inline-block;
  background: linear-gradient(var(--teal-deep), var(--teal-deep)) left bottom / 0 2px no-repeat; }
.site-nav a:hover { background-size: 100% 2px; }
@media (prefers-reduced-motion: no-preference) { .site-nav a { transition: background-size .25s; } }
.header-cta { white-space: nowrap; flex: 0 0 auto; }

@media (max-width: 44rem) {
  .header-inner { flex-wrap: wrap; justify-content: space-between; gap: 0 .75rem; padding-block: .5rem .1rem; }
  .logo-link img { width: 7.25rem; }
  .header-cta { order: 2; padding-inline: 1rem; font-size: 1rem; min-height: 2.5rem; }
  .site-nav { order: 3; width: 100%; margin-left: 0; }
  .site-nav ul { gap: 1.5rem; }
  .site-nav a { padding-block: .5rem; }
}

/* Hero */
.hero { position: relative; isolation: isolate; color: var(--white); background: var(--charcoal-deep) url("../img/hero-poster.jpg") 55% 30% / cover no-repeat;
  min-height: clamp(30rem, 82vh, 52rem); display: flex; align-items: center; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__video { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; display: block; }
.hero__overlay { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 31, 43, .88) 0%, rgba(20, 31, 43, .74) 48%, rgba(20, 31, 43, .62) 100%); }
.hero__content { padding-block: clamp(3.5rem, 9vw, 7rem); }
.hero h1 { font-weight: 800; font-size: clamp(2.2rem, 5.6vw, 4.1rem); line-height: 1.08; letter-spacing: -0.02em; max-width: 14em; text-shadow: 0 1px 18px rgba(10, 18, 26, .55); }
.hero h1 span { display: block; }
.hero h1 span + span { color: var(--yellow); margin-top: .15em; }
.hero__lead { margin: 1.5rem 0 0; max-width: 33rem; font-size: clamp(1.1875rem, 1.9vw, 1.4rem); line-height: 1.55; text-shadow: 0 1px 12px rgba(10, 18, 26, .55); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 2rem; margin-top: 2.25rem; }
@media (max-width: 40rem) {
  .hero__overlay { background: linear-gradient(180deg, rgba(20, 31, 43, .78) 0%, rgba(20, 31, 43, .82) 100%); }
  .hero__video { object-position: 58% 30%; }
}

.video-toggle { position: absolute; right: var(--gutter); bottom: 1.25rem; z-index: 2; width: 2.9rem; height: 2.9rem; padding: 0;
  display: grid; place-items: center; cursor: pointer; color: var(--white);
  background: rgba(20, 31, 43, .72); border: 2px solid rgba(255, 255, 255, .85); border-radius: 50%; }
.video-toggle[hidden] { display: none; }
.video-toggle:hover { background: var(--charcoal-deep); border-color: var(--white); }
.video-toggle .icon { fill: currentColor; }
.video-toggle[data-state="playing"] .icon-play, .video-toggle[data-state="paused"] .icon-pause { display: none; }

/* When the video cannot play, the poster (hero background) shows. */
.hero.is-static .hero__video { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  .hero__video { visibility: hidden; }
  .hero.is-playing .hero__video { visibility: visible; }
}

/* Recognition */
.recognition__grid { display: grid; gap: 1.75rem 4rem; }
.recognition h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); max-width: 16em; }
.recognition__body { max-width: 38rem; }
.recognition__closing { margin: 1.75rem 0 0; padding-left: 1.25rem; border-left: 4px solid var(--coral);
  font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; line-height: 1.45; color: var(--charcoal); }
@media (min-width: 60rem) { .recognition__grid { grid-template-columns: 1.1fr 1fr; align-items: start; } }

/* Workshop */
.workshop { background: var(--white); border-block: 1px solid rgba(44, 62, 80, .08); }
.workshop__intro h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); max-width: 18em; margin-bottom: 1.25rem; }
.outcomes__title { margin-top: clamp(2.75rem, 6vw, 4.25rem); font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--teal-deep); }
.outcomes { list-style: none; counter-reset: outcome; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0; border-top: 2px solid var(--charcoal); }
.outcomes li { counter-increment: outcome; position: relative; padding: 1.75rem 0 1.75rem 4.25rem; border-bottom: 1px solid rgba(44, 62, 80, .2); }
.outcomes li::before { content: counter(outcome); position: absolute; left: 0; top: 1.5rem; width: 2.75rem; height: 2.75rem;
  display: grid; place-items: center; border-radius: 50%; background: var(--teal-tint); color: var(--teal-deep);
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; }
.outcomes h4 { font-size: 1.3rem; margin-bottom: .4rem; }
.outcomes p { margin: 0; max-width: 40rem; }
@media (min-width: 60rem) {
  .outcomes { grid-template-columns: repeat(3, 1fr); gap: 0 2.5rem; border-top: 0; }
  .outcomes li { padding: 3.75rem 0 0; border-bottom: 0; border-top: 2px solid var(--charcoal); }
  .outcomes li::before { top: 1.05rem; left: 0; }
}

/* Feedback (optional section, only used when _optional/feedback-section.html is enabled) */
.feedback { background: var(--teal-tint); }
.feedback h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.feedback__context { margin: .9rem 0 0; font-size: 1.0625rem; }
.quotes { margin-top: 2.5rem; display: grid; gap: 1.5rem; }
.quote { margin: 0; padding: 1.75rem 1.75rem 1.5rem; background: var(--cream); border-radius: .75rem; border-top: 4px solid var(--teal);
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; }
.quote blockquote { margin: 0; }
.quote p { margin: 0; font-size: 1.1875rem; line-height: 1.55; }
.quote figcaption { font-size: .9375rem; font-weight: 700; color: var(--teal-deep); letter-spacing: .02em; }
.feedback__note { margin: 1.75rem 0 0; font-size: 1rem; max-width: 44rem; }
@media (min-width: 56rem) { .quotes { grid-template-columns: repeat(3, 1fr); } }

/* How it works */
.how { background: var(--cream); }
.how h2, .format h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); max-width: 20em; margin-bottom: 1.1rem; }
.steps { list-style: none; margin: clamp(2.25rem, 5vw, 3.5rem) 0 0; padding: 0; display: grid; gap: 0; counter-reset: step; border-top: 2px solid var(--charcoal); }
.steps li { counter-increment: step; position: relative; padding: 1.75rem 0 1.75rem 4.25rem; border-bottom: 1px solid rgba(44, 62, 80, .2); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 1.6rem; width: 2.75rem; height: 2.75rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--charcoal); color: var(--white); font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; }
.steps__label { display: block; font-size: .875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: .2rem; }
.steps h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.steps__prompt { font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; line-height: 1.4; color: var(--charcoal); margin: 0 0 .6rem;
  padding-left: .85rem; border-left: 3px solid var(--coral); }
.steps p:last-child { margin: 0; }
@media (min-width: 44rem) { .steps { grid-template-columns: repeat(2, 1fr); gap: 0 3rem; border-top: 0; }
  .steps li { border-top: 2px solid var(--charcoal); border-bottom: 0; padding: 4.25rem 0 2rem; }
  .steps li::before { top: 1.1rem; } }
@media (min-width: 70rem) { .steps { grid-template-columns: repeat(4, 1fr); gap: 0 2rem; } }

/* Format and commitment */
.format { background: var(--white); border-block: 1px solid rgba(44, 62, 80, .08); }
.weeks { list-style: none; margin: 2.25rem 0 0; padding: 0; display: grid; gap: 1.25rem; }
.weeks li { padding: 1.5rem 1.5rem 1.4rem; background: var(--teal-tint); border-radius: .75rem; }
.weeks__label { display: inline-block; margin-bottom: .6rem; padding: .2rem .75rem; border-radius: 999px; background: var(--yellow); color: var(--charcoal);
  font-family: var(--font-head); font-weight: 800; font-size: .875rem; letter-spacing: .04em; }
.weeks h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.weeks p { margin: 0; }
@media (min-width: 56rem) { .weeks { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.participation { margin-top: clamp(2.5rem, 6vw, 4rem); padding-top: 2rem; border-top: 2px solid var(--charcoal); display: grid; gap: 1rem 4rem; }
.participation h3 { font-size: 1.5rem; }
.participation p:last-child { margin-bottom: 0; }
@media (min-width: 60rem) { .participation { grid-template-columns: 1fr 1.4fr; } .participation > div { max-width: 38rem; } }

/* Booking */
.booking { background: var(--teal-tint); }
.booking h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); max-width: 20em; margin-bottom: 1.25rem; }
.booking__copy { max-width: 40rem; }
.booking__copy p { margin-bottom: .9em; }
.booking__clarify { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; line-height: 1.45; margin-top: 1.25rem; padding-left: 1rem; border-left: 4px solid var(--coral); }
.cal-frame { margin-top: 2.25rem; min-height: 38rem; background: var(--white); border: 1px solid rgba(44, 62, 80, .18); border-radius: .75rem; overflow: hidden; }
.cal-frame[hidden] { display: none; }
#cal-inline { width: 100%; min-height: 38rem; }
.cal-status { margin: 0; padding: 2rem; text-align: center; font-size: 1.0625rem; }
.cal-status a { color: var(--teal-deep); font-weight: 700; }
.cal-fallback { margin: 1.1rem 0 0; font-size: 1.0625rem; }
.cal-fallback a { color: var(--teal-deep); font-weight: 700; text-underline-offset: .2em; text-decoration-thickness: 2px; }
.cal-fallback:has(a[href=""]) { display: none; }

/* Footer */
.site-footer { background: var(--charcoal); color: var(--white); padding-block: 2.75rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; }
.site-footer .logo-link img { width: 11rem; }
.footer-copy { margin: 0 auto 0 0; font-size: .9375rem; }
.footer-top { color: var(--white); font-weight: 500; text-underline-offset: .25em; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; padding-block: .6rem; }
.footer-top:hover { text-decoration-color: var(--white); }
@media (max-width: 40rem) { .footer-copy { margin: 0; flex-basis: 100%; order: 3; } }
