:root {
  color-scheme: light;
  --ink: #0d201d;
  --forest: #0e2521;
  --forest-2: #17352f;
  --sage: #84a596;
  --mist: #dce7df;
  --cream: #f5f0e7;
  --paper: #fffdf8;
  --accent: #c9ff5a;
  --accent-deep: #6c8d27;
  --coral: #e88765;
  --line: rgba(13, 32, 29, 0.18);
  --shadow: 0 28px 80px rgba(14, 37, 33, 0.14);
  --radius: 28px;
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  background: var(--accent); color: var(--ink); padding: 12px 16px;
  border-radius: 0 0 8px 8px; font-weight: 800;
}
.skip-link:focus { top: 0; }

.site-header {
  position: fixed; z-index: 50; top: 18px; left: 50%;
  width: min(calc(100% - 32px), var(--max)); transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px 10px 16px; border: 1px solid rgba(255,255,255,.55);
  border-radius: 18px; background: rgba(245, 240, 231, .82);
  backdrop-filter: blur(18px); box-shadow: 0 12px 40px rgba(14,37,33,.08);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { background: rgba(255,253,248,.94); box-shadow: 0 16px 42px rgba(14,37,33,.13); }
.wordmark { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.wordmark small { display: block; margin-top: -2px; color: var(--accent-deep); font-size: .62rem; letter-spacing: .13em; }
.wordmark-mark { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; background: var(--forest); color: var(--accent); font-family: Georgia, serif; font-size: .86rem; letter-spacing: -.03em; }
nav { display: flex; align-items: center; gap: 28px; }
nav > a { text-decoration: none; font-size: .9rem; font-weight: 700; }
nav > a:hover { color: var(--accent-deep); }
nav > a[aria-current="page"] { color: var(--accent-deep); text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 6px; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  min-height: 52px; padding: 13px 22px; border: 1px solid transparent;
  border-radius: 999px; cursor: pointer; font-weight: 800; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-link:focus-visible, .card-link:focus-visible, .choice:has(input:focus-visible) { outline: 3px solid var(--coral); outline-offset: 3px; }
.button-accent { background: var(--accent); color: var(--forest); box-shadow: 0 12px 26px rgba(145, 184, 57, .2); }
.button-accent:hover { background: #d7ff82; box-shadow: 0 16px 32px rgba(145, 184, 57, .28); }
.button-dark { background: var(--forest); color: white; }
.button-dark:hover { background: #1e443b; }
.button-small { min-height: 42px; padding: 8px 18px; font-size: .86rem; }
.button-wide { width: 100%; }
.text-link, .card-link { border: 0; background: transparent; color: var(--ink); padding: 0; cursor: pointer; font-weight: 800; text-decoration: underline; text-decoration-color: var(--sage); text-underline-offset: 5px; }
.text-link-light { color: white; text-decoration-color: var(--accent); }

.hero {
  position: relative; min-height: 100vh; padding: 148px max(6vw, 28px) 0;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(330px, .75fr);
  grid-template-rows: 1fr auto; gap: 58px 8vw; align-items: center; overflow: hidden;
  background: radial-gradient(circle at 88% 14%, rgba(201,255,90,.22), transparent 26%), linear-gradient(135deg, #f5f0e7 0%, #edf2e8 48%, #d6e4dc 100%);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.hero-copy { position: relative; z-index: 2; max-width: 820px; padding-bottom: 44px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: #4f6a61; font-size: .72rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 2px; background: var(--coral); }
.eyebrow-light { color: #b8cbc3; }
.hero h1, .section-heading h2, .booking h2, .dialog-heading h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.052em; line-height: .98; }
.hero h1 { max-width: 820px; font-size: clamp(3.6rem, 7.2vw, 7.6rem); }
.hero h1 em { display: block; color: var(--forest-2); font-weight: 500; }
.hero-lede { max-width: 760px; margin: 34px 0 0; font-size: clamp(1.05rem, 1.45vw, 1.3rem); color: #3e554e; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 34px; }
.proof-strip { display: flex; gap: 42px; margin: 48px 0 0; padding: 0; list-style: none; }
.proof-strip li { display: grid; gap: 1px; }
.proof-strip strong { font-family: Georgia, serif; font-size: 1.5rem; }
.proof-strip span { color: #557067; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.speaker-card { position: relative; z-index: 2; align-self: end; width: min(100%, 460px); justify-self: end; border-radius: 180px 180px 26px 26px; overflow: hidden; background: var(--forest); box-shadow: var(--shadow); }
.portrait-frame { position: relative; aspect-ratio: 4 / 4.55; overflow: hidden; background: var(--forest-2); }
.speaker-portrait { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 24%; }
.speaker-card-footer { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px 24px; color: white; }
.micro-label { margin: 0 0 5px; color: var(--sage); font-size: .66rem; font-weight: 900; text-transform: uppercase; letter-spacing: .13em; }
.speaker-card h2 { margin: 0; font-family: Georgia, serif; font-size: 1.45rem; font-weight: 500; }
.signature-mark { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(201,255,90,.6); border-radius: 50%; color: var(--accent); font-family: Georgia, serif; }
.credibility-band { position: relative; z-index: 3; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, 1fr); margin: 0 calc(max(6vw, 28px) * -1); padding: 22px max(6vw, 28px); background: var(--forest); color: #d7e5de; }
.credibility-band span { padding: 0 26px; border-left: 1px solid rgba(255,255,255,.15); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-align: center; }
.credibility-band span:first-child { border-left: 0; }
.hero-orbit { position: absolute; border: 1px solid rgba(14,37,33,.1); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 720px; height: 720px; right: -280px; top: -320px; }
.orbit-two { width: 420px; height: 420px; left: -280px; bottom: 50px; }

.programs { padding: 120px max(6vw, 28px); background: var(--paper); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 7vw; max-width: var(--max); margin: 0 auto 58px; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2 { max-width: 680px; font-size: clamp(2.7rem, 4.8vw, 5rem); }
.section-heading > p:last-child { max-width: 560px; margin: 8px 0 0; color: #587067; font-size: 1.08rem; }
.course-rail { display: grid; grid-template-columns: repeat(3, 1fr); max-width: var(--max); margin: 0 auto 78px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.course-card { min-height: 470px; padding: 32px; border-left: 1px solid var(--line); display: flex; flex-direction: column; background: var(--paper); transition: background .25s ease, transform .25s ease, box-shadow .25s ease; }
.course-card:first-child { border-left: 0; }
.course-card:hover { position: relative; z-index: 2; transform: translateY(-8px); background: #f1f5ec; box-shadow: var(--shadow); }
.course-card-featured { background: var(--mist); }
.course-number { font-family: Georgia, serif; color: var(--accent-deep); font-size: 1.1rem; }
.course-type { margin: auto 0 12px; color: #6b7f78; font-size: .66rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.course-card h3 { max-width: 360px; margin: 0; font-family: Georgia, serif; font-size: clamp(2rem, 3vw, 3.2rem); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.course-card > p:not(.course-type) { color: #536b63; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; list-style: none; }
.tag-list li { padding: 6px 9px; border: 1px solid #b8cbc3; border-radius: 999px; color: #4a625a; font-size: .68rem; font-weight: 750; }
.card-link { align-self: flex-start; margin-top: 14px; font-size: .88rem; }
.section-bridge { display: flex; align-items: center; justify-content: space-between; gap: 32px; max-width: var(--max); margin: -42px auto 76px; padding: 24px 28px; border: 1px solid var(--line); border-radius: 18px; background: #f7f7f0; }
.section-bridge p { max-width: 740px; margin: 0; color: #536b63; }

.matcher-shell { display: grid; grid-template-columns: .72fr 1.28fr; max-width: var(--max); min-height: 670px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; background: var(--forest); color: white; box-shadow: var(--shadow); }
.matcher-intro { position: relative; padding: 58px 42px; background: var(--forest-2); overflow: hidden; }
.matcher-intro::after { content: ""; position: absolute; width: 280px; height: 280px; left: -120px; bottom: -120px; border: 48px solid rgba(201,255,90,.12); border-radius: 50%; }
.matcher-intro h3 { max-width: 420px; margin: 0 0 20px; font-family: Georgia, serif; font-size: clamp(2.4rem, 4vw, 4rem); font-weight: 500; line-height: .98; letter-spacing: -.04em; }
.matcher-intro > p:not(.eyebrow) { color: #c2d1cb; }
.matcher-step-indicator { display: flex; gap: 8px; margin-top: 40px; }
.matcher-step-indicator span { width: 34px; height: 4px; border-radius: 99px; background: rgba(255,255,255,.18); }
.matcher-step-indicator span.active { background: var(--accent); }
.matcher-form { display: grid; gap: 30px; padding: 52px; background: var(--forest); }
.matcher-form fieldset { margin: 0; padding: 0; border: 0; }
.matcher-form legend { width: 100%; margin: 0 0 13px; color: #eff5f1; font-weight: 800; }
.matcher-form legend small { float: right; color: #9fb5ac; font-size: .72rem; font-weight: 700; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.choice-grid-compact { grid-template-columns: repeat(5, 1fr); }
.choice-grid-priorities { grid-template-columns: repeat(3, 1fr); }
.choice { position: relative; display: grid; min-height: 54px; place-items: center; padding: 10px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; color: #c6d5cf; cursor: pointer; text-align: center; transition: border .2s ease, background .2s ease, color .2s ease; }
.choice:hover { border-color: rgba(201,255,90,.6); color: white; }
.choice:has(input:checked) { border-color: var(--accent); background: rgba(201,255,90,.12); color: white; box-shadow: inset 0 0 0 1px var(--accent); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { font-size: .76rem; font-weight: 800; }
.choice.is-disabled { opacity: .35; cursor: not-allowed; }
.selection-note { margin: 9px 0 0; color: #8fa79d; font-size: .72rem; }
.matcher-submit { justify-self: start; }
.matcher-result { grid-column: 2; grid-row: 1; padding: 58px; background: var(--forest); }
.matcher-result[hidden] { display: none; }
.result-topline { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,.16); }
.result-topline p { color: #adc0b8; font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.result-topline span { color: var(--accent); font-family: Georgia, serif; font-size: 1.2rem; }
.matcher-result h3 { margin: 55px 0 5px; font-family: Georgia, serif; font-size: clamp(3rem, 5vw, 5.6rem); font-weight: 500; letter-spacing: -.05em; line-height: .95; }
.result-subtitle { margin: 0 0 28px; color: var(--accent); font-weight: 800; }
#result-reason { max-width: 680px; color: #c6d5cf; font-size: 1.08rem; }
.result-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 36px; }
.result-meta span { padding: 7px 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #d8e3de; font-size: .72rem; font-weight: 800; }
.result-actions { display: flex; gap: 22px; align-items: center; }
.runner-up { margin-top: 42px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); color: #91a99f; font-size: .8rem; }
.runner-up strong { color: white; }

.testimonial-block { display: grid; grid-template-columns: .72fr 1.28fr; gap: 42px; max-width: var(--max); margin: 78px auto 0; padding: 58px; border-radius: var(--radius); background: var(--forest-2); color: white; }
.testimonial-heading h3 { margin: 0; font-family: Georgia, serif; font-size: clamp(2.4rem, 4vw, 4.4rem); font-weight: 500; letter-spacing: -.045em; line-height: .98; }
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.testimonial-grid blockquote { display: flex; min-height: 150px; align-items: flex-end; margin: 0; padding: 22px; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; background: rgba(255,255,255,.05); color: #d8e3de; font-size: 1.02rem; }
.testimonial-grid .testimonial-feature { grid-column: 1 / -1; min-height: 120px; align-items: center; border-color: rgba(201,255,90,.4); background: rgba(201,255,90,.1); color: var(--accent); font-size: clamp(2rem, 4vw, 4rem); text-align: center; justify-content: center; }

.booking { display: grid; grid-template-columns: 1.1fr .72fr; gap: 8vw; padding: 120px max(6vw, 28px); background: var(--mist); }
.booking-copy { align-self: center; max-width: 760px; }
.booking h2 { font-size: clamp(3rem, 5vw, 5.5rem); }
.booking-copy > p:not(.eyebrow) { max-width: 660px; color: #516961; font-size: 1.08rem; }
blockquote { margin: 40px 0; padding-left: 26px; border-left: 4px solid var(--coral); font-family: Georgia, serif; font-size: 1.35rem; line-height: 1.35; }
.fit-list { display: flex; flex-wrap: wrap; gap: 8px; }
.fit-list span { padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.55); color: #3d574f; font-size: .72rem; font-weight: 800; }
.booking-panel { align-self: center; padding: 42px; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.booking-panel h3 { margin: 0 0 18px; font-family: Georgia, serif; font-size: clamp(2.1rem, 3vw, 3.2rem); font-weight: 500; line-height: 1.02; letter-spacing: -.04em; }
.booking-panel > p:not(.micro-label):not(.booking-fineprint) { color: #566d65; }
.booking-fineprint { color: #6a7e77; font-size: .72rem; text-align: center; }
.contact-line { display: flex; justify-content: space-between; gap: 16px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .75rem; }
.contact-line span { color: #7b8c86; }
.contact-line a { font-weight: 800; text-decoration-color: var(--accent-deep); text-underline-offset: 4px; }

footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 36px; padding: 28px max(6vw, 28px); background: var(--forest); color: #a9bcb4; font-size: .72rem; }
.wordmark-footer { color: white; }
footer > p:nth-child(2) { max-width: 540px; margin: 0 auto; text-align: center; }
.footer-end { display: grid; gap: 7px; justify-items: end; }
.footer-end p { margin: 0; }
.social-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px; }
.social-links a { color: white; font-weight: 800; text-decoration-color: var(--accent); text-underline-offset: 4px; }

.page-hero { min-height: 720px; padding: 170px max(6vw, 28px) 100px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .65fr); gap: 8vw; align-items: center; background: radial-gradient(circle at 86% 10%, rgba(201,255,90,.18), transparent 28%), linear-gradient(135deg, #f5f0e7, #dce7df); }
.page-hero-copy { max-width: 850px; }
.page-hero h1, .catalog-section h2, .course-cta h2, .media-library h2, .media-cta h2 { margin: 0; font-family: Georgia, serif; font-weight: 500; line-height: .97; letter-spacing: -.052em; }
.page-hero h1 { font-size: clamp(3.8rem, 7vw, 7.4rem); }
.page-hero h1 em { display: block; color: var(--forest-2); font-weight: 500; }
.page-hero-copy > p:not(.eyebrow) { max-width: 730px; margin: 30px 0 0; color: #3f5750; font-size: clamp(1.05rem, 1.4vw, 1.28rem); }
.page-hero-note, .media-stats { padding: 36px; border-radius: var(--radius); background: var(--forest); color: white; box-shadow: var(--shadow); }
.page-hero-note ul { display: grid; gap: 13px; margin: 0 0 34px; padding-left: 20px; color: #d8e3de; }
.page-hero-note .fit-list span { border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: white; }

.catalog-section { padding: 120px max(6vw, 28px); background: var(--paper); }
.catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: var(--max); margin: 0 auto; }
.catalog-card { display: flex; min-height: 430px; flex-direction: column; padding: 34px; border: 1px solid var(--line); border-radius: 20px; background: white; transition: transform .2s ease, box-shadow .2s ease; }
.catalog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.catalog-card-featured { background: var(--mist); }
.catalog-card-dark { background: var(--forest); color: white; }
.catalog-topline { display: flex; justify-content: space-between; gap: 22px; color: #70857d; font-size: .68rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.catalog-topline b { color: var(--accent-deep); font-family: Georgia, serif; font-size: 1.1rem; }
.catalog-card h3 { max-width: 600px; margin: auto 0 7px; font-family: Georgia, serif; font-size: clamp(2rem, 3.4vw, 3.5rem); font-weight: 500; line-height: .98; letter-spacing: -.045em; }
.catalog-subtitle { margin: 0 0 18px; color: var(--accent-deep); font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.catalog-card > p:not(.catalog-subtitle) { max-width: 620px; color: #526a62; }
.catalog-card .fit-list { margin: 8px 0 22px; }
.catalog-card .card-link { margin-top: auto; }
.catalog-card-dark .catalog-topline, .catalog-card-dark > p:not(.catalog-subtitle) { color: #b8cbc3; }
.catalog-card-dark .catalog-topline b, .catalog-card-dark .catalog-subtitle { color: var(--accent); }
.catalog-card-dark .fit-list span { border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: white; }
.catalog-card-dark .card-link { color: white; text-decoration-color: var(--accent); }
.catalog-card-prevention { background: var(--accent); border-color: #99bd43; }
.catalog-card-green-dentistry { background: var(--coral); border-color: #c46b4d; }
.catalog-card-prevention .catalog-topline,
.catalog-card-prevention .catalog-topline b,
.catalog-card-prevention .catalog-subtitle,
.catalog-card-prevention > p:not(.catalog-subtitle),
.catalog-card-green-dentistry .catalog-topline,
.catalog-card-green-dentistry .catalog-topline b,
.catalog-card-green-dentistry .catalog-subtitle,
.catalog-card-green-dentistry > p:not(.catalog-subtitle) { color: var(--ink); }
.catalog-card-prevention .card-link,
.catalog-card-green-dentistry .card-link { text-decoration-color: currentColor; }
.catalog-card-prevention .card-link:focus-visible,
.catalog-card-green-dentistry .card-link:focus-visible { outline-color: var(--ink); }


.course-cta, .media-cta { display: grid; grid-template-columns: 1.1fr .75fr; gap: 9vw; padding: 100px max(6vw, 28px); background: var(--forest-2); color: white; }
.course-cta h2, .media-cta h2 { max-width: 760px; font-size: clamp(3rem, 5vw, 5.8rem); }
.course-cta > div:last-child { align-self: end; }
.course-cta > div:last-child p, .media-cta > div:first-child > p:not(.eyebrow) { color: #b9cbc3; font-size: 1.08rem; }

.media-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.media-stats div { display: grid; gap: 3px; padding-right: 10px; border-right: 1px solid rgba(255,255,255,.16); }
.media-stats div:nth-child(3) { border-right: 0; }
.media-stats strong { color: var(--accent); font-family: Georgia, serif; font-size: 2.5rem; font-weight: 500; }
.media-stats span { color: #c6d5cf; font-size: .68rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.media-stats > p { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); color: #b9cbc3; }
.media-library { padding: 120px max(6vw, 28px); background: var(--paper); }
.media-library-heading { display: grid; grid-template-columns: 1fr auto; gap: 40px; max-width: var(--max); align-items: end; margin: 0 auto 52px; }
.media-library h2 { max-width: 780px; font-size: clamp(3rem, 5vw, 5.5rem); }
.media-filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.filter-button { min-height: 42px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; font-size: .75rem; font-weight: 850; }
.filter-button:hover, .filter-button.is-active { border-color: var(--forest); background: var(--forest); color: white; }
.filter-button:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: var(--max); margin: 0 auto; }
.resource-card { display: flex; min-height: 330px; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: white; color: var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.resource-card:hover { transform: translateY(-5px); border-color: var(--sage); box-shadow: var(--shadow); }
.resource-card[hidden] { display: none; }
.resource-card-feature { background: var(--mist); }
.resource-card-podcast { background: #f4eee6; }
.resource-card-editorial { background: #eff4ef; }
.resource-meta { display: flex; justify-content: space-between; gap: 20px; color: #75877f; font-size: .64rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.resource-meta time { text-align: right; }
.resource-card h3 { margin: auto 0 16px; font-family: Georgia, serif; font-size: clamp(1.65rem, 2.4vw, 2.65rem); font-weight: 500; line-height: 1.02; letter-spacing: -.035em; }
.resource-card > p { color: #566d65; }
.resource-link { margin-top: auto; color: var(--accent-deep); font-size: .76rem; font-weight: 900; text-decoration: underline; text-underline-offset: 4px; }
.filter-status { max-width: var(--max); margin: 24px auto 0; color: #70837c; font-size: .75rem; }
.media-cta { align-items: center; }
.media-cta > div:first-child { max-width: 760px; }
.social-panel { padding: 28px; border: 1px solid rgba(255,255,255,.16); border-radius: 22px; background: rgba(255,255,255,.05); }
.social-panel > a { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.14); color: white; text-decoration: none; }
.social-panel > a span { color: #a9bcb4; }
.social-panel > a b { text-align: right; }

.inquiry-dialog { width: min(760px, calc(100% - 28px)); max-height: calc(100vh - 28px); margin: auto; padding: 0; border: 0; border-radius: 26px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 110px rgba(0,0,0,.35); }
.inquiry-dialog::backdrop { background: rgba(6,19,16,.72); backdrop-filter: blur(8px); }
.dialog-shell { position: relative; padding: 42px; }
.dialog-close { position: absolute; right: 20px; top: 16px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--mist); cursor: pointer; font-size: 1.6rem; line-height: 1; }
.dialog-heading h2 { max-width: 560px; font-size: clamp(2.4rem, 5vw, 4.2rem); }
.dialog-heading > p:last-child { color: #5e756d; }
#inquiry-form { display: grid; gap: 15px; margin-top: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
#inquiry-form label { display: grid; gap: 6px; color: #4a625a; font-size: .73rem; font-weight: 800; }
input, select, textarea { width: 100%; border: 1px solid #c2d1cb; border-radius: 10px; background: white; color: var(--ink); padding: 12px 13px; outline: 0; }
input:focus, select:focus, textarea:focus { border-color: var(--accent-deep); box-shadow: 0 0 0 3px rgba(108,141,39,.16); }
textarea { resize: vertical; }
.form-status { min-height: 1.2em; margin: -4px 0 0; color: var(--accent-deep); font-size: .75rem; font-weight: 800; text-align: center; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.delay-one { transition-delay: .12s; }
.delay-two { transition-delay: .2s; }

@media (max-width: 980px) {
  nav { gap: 18px; }
  nav > a { font-size: .8rem; }
  .hero { grid-template-columns: 1fr .72fr; gap: 40px; padding-top: 138px; }
  .hero h1 { font-size: clamp(3.4rem, 7vw, 5.4rem); }
  .proof-strip { flex-wrap: wrap; gap: 22px; }
  .credibility-band { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .section-heading { grid-template-columns: 1fr; }
  .course-card { padding: 24px; }
  .matcher-shell { grid-template-columns: 1fr; }
  .matcher-intro { padding: 42px; }
  .matcher-form, .matcher-result { grid-column: 1; grid-row: 2; padding: 42px; }
  .choice-grid-compact { grid-template-columns: repeat(3, 1fr); }
  .booking { grid-template-columns: 1fr 1fr; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer .wordmark { justify-self: center; }
  .footer-end { justify-items: center; }
  .social-links { justify-content: center; }
  .testimonial-block { grid-template-columns: 1fr; padding: 42px; }
  .page-hero { min-height: auto; grid-template-columns: 1fr .7fr; gap: 50px; padding-top: 150px; }
  .page-hero h1 { font-size: clamp(3.8rem, 8vw, 6.2rem); }
  .catalog-grid { grid-template-columns: 1fr 1fr; }
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .media-library-heading { grid-template-columns: 1fr; }
  .media-filters { justify-content: flex-start; }
}

@media (max-width: 720px) {
  .site-header { top: 10px; }
  .site-header .wordmark > span:last-child { display: none; }
  nav { gap: 14px; }
  nav > a { display: inline; font-size: .7rem; }
  nav > a:first-child { display: none; }
  nav .button { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 120px 22px 0; }
  .hero-copy { padding-bottom: 0; }
  .hero h1 { font-size: clamp(3.25rem, 15vw, 5rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .proof-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .proof-strip strong { font-size: 1.25rem; }
  .speaker-card { justify-self: center; width: min(100%, 420px); }
  .credibility-band { grid-template-columns: 1fr; margin: 0 -22px; padding: 24px; }
  .credibility-band span { border-left: 0; }
  .programs, .booking { padding: 88px 22px; }
  .course-rail { grid-template-columns: 1fr; }
  .course-card { min-height: 390px; border-left: 0; border-top: 1px solid var(--line); }
  .course-card:first-child { border-top: 0; }
  .matcher-intro, .matcher-form, .matcher-result { padding: 32px 24px; }
  .choice-grid, .choice-grid-priorities, .choice-grid-compact { grid-template-columns: repeat(2, 1fr); }
  .result-actions { align-items: flex-start; flex-direction: column; }
  .booking { grid-template-columns: 1fr; }
  .booking-panel { padding: 30px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .dialog-shell { padding: 38px 22px 24px; }
  .contact-line { flex-direction: column; }
  .section-bridge { align-items: stretch; flex-direction: column; margin-top: -42px; padding: 22px; }
  .testimonial-block { margin-top: 58px; padding: 32px 22px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-grid .testimonial-feature { grid-column: auto; }
  .testimonial-grid blockquote { min-height: 120px; }
  .page-hero { grid-template-columns: 1fr; padding: 126px 22px 78px; }
  .page-hero h1 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .page-hero-note, .media-stats { padding: 28px 24px; }
  .catalog-section, .media-library { padding: 88px 22px; }
  .catalog-grid, .resource-grid { grid-template-columns: 1fr; }
  .catalog-card { min-height: 390px; padding: 28px 24px; }
  .course-cta, .media-cta { grid-template-columns: 1fr; gap: 44px; padding: 82px 22px; }
  .media-library-heading { margin-bottom: 36px; }
  .filter-button { flex: 1 1 42%; }
  .resource-card { min-height: 300px; }
  .social-panel > a { align-items: flex-start; flex-direction: column; }
  .social-panel > a b { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Newsletter: native Mailchimp POST retains audience, tagging and bot protection. */
#mc-embedded-subscribe-form { display: grid; gap: 10px; margin-top: 26px; min-width: 0; }
#mc-embedded-subscribe-form label { font-size: 16px; font-weight: 700; margin-top: 8px; }
#mc-embedded-subscribe-form label span { font-size: 14px; font-weight: 400; color: #dce7df; }
#mc-embedded-subscribe-form input { min-width: 0; font-size: 16px; }
#mc-embedded-subscribe-form input:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
#newsletter-consent, #newsletter-handoff { font-size: 14px; line-height: 1.5; color: #dce7df; }
#mc-embedded-subscribe { width: 100%; white-space: normal; }
.newsletter-honeypot { position: absolute; left: -5000px; }
.newsletter-mailchimp { justify-self: center; background: white; border-radius: 6px; padding: 4px 8px; }
.newsletter-mailchimp img { display: block; max-width: 100%; }
@media (min-width: 721px) and (max-width: 1100px) { .site-header { flex-wrap: wrap; justify-content: center; gap: 12px; } }
@media (max-width: 420px) { .site-header { padding: 12px; gap: 10px; } nav { gap: 10px; } }

/* Explicitly honor matcher visibility even when its panels use CSS grid. */
.matcher-form[hidden], .matcher-result[hidden] { display: none !important; }
.matcher-form, .matcher-result { scroll-margin-top: 150px; min-width: 0; }
.matcher-result h3 { overflow-wrap: anywhere; }
@media (max-width: 720px) { .matcher-result h3 { font-size: clamp(2.5rem, 10vw, 4rem); margin-top: 28px; } .result-actions .button { width: 100%; white-space: normal; } }
