/*
Theme Name: NextGen Speakers
Theme URI: https://nextgenspeakershub.com/
Author: NextGen Speakers Hub
Description: A native WordPress block theme for the NextGen Speakers Hub landing page.
Version: 1.6.2
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: nextgen-speakers
*/

@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --ngs-orange: #ff5b00;
  --ngs-orange-dark: #df4300;
  --ngs-ink: #1a1714;
  --ngs-brown: #302820;
  --ngs-cream: #f7f2eb;
  --ngs-sand: #ead9bf;
  --ngs-line: #dfd3c5;
  --ngs-white: #fffdf9;
  --ngs-shadow: 0 20px 60px rgba(43, 29, 18, 0.12);
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
a { transition: color .2s ease, background-color .2s ease, transform .2s ease; }
.wp-site-blocks > * { margin-block-start: 0; }

.ngs-announcement {
  background: var(--ngs-orange);
  color: var(--ngs-ink);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ngs-site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 253, 249, .96);
  border-bottom: 1px solid rgba(26, 23, 20, .08);
  backdrop-filter: blur(14px);
}

.ngs-header-row { min-height: 92px; }
.ngs-brand-lockup { gap: .75rem; }
.ngs-brand-mark { overflow: visible; line-height: 0; }
.ngs-brand-mark a { display: flex; align-items: center; overflow: visible; }
.ngs-brand-mark img {
  display: block;
  box-sizing: border-box;
  width: 76px;
  height: 76px;
  padding: 4px;
  object-fit: contain;
}
.ngs-brand-name { margin: 0; line-height: 1; }
.ngs-brand-name a { color: var(--ngs-ink); text-decoration: none; white-space: nowrap; }
.ngs-header-row .wp-block-navigation a { font-weight: 700; }
.ngs-header-row .wp-block-button__link { padding: .9rem 1.25rem; }

.ngs-hero { min-height: clamp(650px, 75vw, 820px); }
.ngs-hero .wp-block-cover__background {
  background: linear-gradient(90deg, rgba(11, 8, 6, .98) 0%, rgba(21, 12, 8, .8) 35%, rgba(24, 13, 8, .16) 72%, rgba(24, 13, 8, .02) 100%) !important;
  opacity: 1 !important;
}
.ngs-hero-copy { max-width: 710px; }
.ngs-kicker {
  font-family: Fraunces, Georgia, serif;
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.2;
}
.ngs-display {
  font-size: clamp(3.1rem, 7vw, 6.8rem) !important;
  line-height: .94 !important;
  letter-spacing: -.055em;
  max-width: 10ch;
}
.ngs-hero-lead { max-width: 610px; font-size: clamp(1.08rem, 2vw, 1.35rem); }
.ngs-button .wp-block-button__link,
.ngs-cta-button .wp-block-button__link {
  box-shadow: 5px 6px 0 var(--ngs-ink);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .85rem;
  font-weight: 700;
}
.ngs-button .wp-block-button__link:hover,
.ngs-cta-button .wp-block-button__link:hover { transform: translate(2px, 2px); box-shadow: 2px 3px 0 var(--ngs-ink); }

.ngs-section { padding-block: clamp(5rem, 9vw, 9rem); }
.ngs-section-tight { padding-block: clamp(3.5rem, 6vw, 6rem); }
.ngs-section-title { font-size: clamp(2.75rem, 5.2vw, 5.4rem) !important; line-height: .97 !important; letter-spacing: -.045em; }
.ngs-section-intro { max-width: 720px; font-size: 1.2rem; }
.ngs-eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ngs-orange); }

.ngs-stat-card {
  height: 100%;
  min-height: 240px;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border: 1px solid var(--ngs-line);
  background: var(--ngs-white);
}
.ngs-stat-number { color: var(--ngs-orange); font-family: Fraunces, Georgia, serif; font-size: clamp(3rem, 5vw, 5.25rem); line-height: .9; }
.ngs-proof-image img { aspect-ratio: 4/5; object-fit: cover; min-height: 520px; }
.ngs-proof-grid { align-items: stretch; }

.ngs-results-ticker {
  width: 100vw;
  max-width: none !important;
  margin-top: clamp(2rem, 4vw, 3.5rem) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-left: calc(50% - 50vw) !important;
  padding-block: clamp(1.5rem, 3vw, 2.35rem);
  overflow: hidden;
  border-block: 1px solid rgba(48, 40, 32, .09);
  background: #fff;
}
.ngs-ticker-viewport {
  display: flex;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.ngs-ticker-viewport + .ngs-ticker-viewport { margin-top: clamp(1rem, 2vw, 1.5rem); }
.ngs-ticker-motion {
  display: flex;
  flex: none;
  width: max-content;
  animation: ngs-ticker-left var(--ngs-ticker-duration, 28s) linear infinite;
  animation-play-state: paused;
  will-change: transform;
}
.ngs-ticker-viewport.is-running .ngs-ticker-motion { animation-play-state: running; }
.ngs-ticker-reverse .ngs-ticker-motion { animation-direction: reverse; }
.ngs-ticker-viewport:hover .ngs-ticker-motion,
.ngs-ticker-viewport:focus-within .ngs-ticker-motion { animation-play-state: paused; }
.ngs-ticker-track {
  display: flex;
  flex: none;
  width: max-content;
  margin: 0;
}
.ngs-ticker-item {
  display: flex;
  flex: none;
  align-items: baseline;
  gap: clamp(.65rem, 1.1vw, 1rem);
  margin: 0;
  padding-inline: clamp(2.4rem, 4.8vw, 5rem);
  border-right: 1px solid rgba(255, 91, 0, .16);
  white-space: nowrap;
}
.ngs-ticker-value,
.ngs-ticker-label { margin: 0; }
.ngs-ticker-value {
  color: var(--ngs-orange);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2.15rem, 3.2vw, 3.25rem);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.045em;
}
.ngs-ticker-label {
  color: var(--ngs-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.08rem, 1.65vw, 1.5rem);
  font-weight: 700;
  line-height: 1;
}

@keyframes ngs-ticker-left {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.ngs-features-section {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background-color: #f4eee6 !important;
}
.ngs-features-intro {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .7fr);
  grid-template-areas:
    "kicker intro"
    "title intro";
  column-gap: clamp(3rem, 9vw, 9rem);
  align-items: end;
}
.ngs-features-intro .ngs-kicker { grid-area: kicker; margin-bottom: 0; }
.ngs-features-intro .ngs-section-title { grid-area: title; margin-top: 1rem; max-width: 8ch; }
.ngs-features-intro .ngs-section-intro {
  grid-area: intro;
  margin: 0 0 .65rem;
  padding-left: 2rem;
  border-left: 2px solid var(--ngs-orange);
  color: rgba(26, 23, 20, .78);
}
.ngs-feature-layout { align-items: flex-start; }
.ngs-story-rail { gap: clamp(2.5rem, 6vw, 5.5rem); }
.ngs-sticky-visual { position: sticky; top: 120px; }
.ngs-story-visual { top: 132px; }
.ngs-story-visual figure {
  overflow: hidden;
  margin: 0;
  border-radius: 30px;
  background: var(--ngs-ink);
  box-shadow: 0 30px 80px rgba(48, 40, 32, .18);
}
.ngs-sticky-visual img { min-height: 680px; object-fit: cover; }
.ngs-story-visual img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.ngs-story-steps {
  display: grid;
  gap: 1.15rem;
  padding-bottom: 12vh;
}
.ngs-feature-card {
  min-height: 210px;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  border: 1px solid rgba(48, 40, 32, .13);
  border-radius: 24px;
  background: rgba(255, 253, 249, .68);
  box-shadow: 0 10px 30px rgba(48, 40, 32, .04);
}
.ngs-feature-card h3 {
  margin-top: 1.15rem;
  font-size: clamp(1.75rem, 2.4vw, 2.35rem);
}
.ngs-feature-card > p:last-child {
  max-width: 42ch;
  color: rgba(26, 23, 20, .72);
  font-size: 1.08rem;
}
.ngs-feature-number {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 1px solid rgba(255, 91, 0, .35);
  border-radius: 50%;
  color: var(--ngs-orange);
  font-family: Fraunces, Georgia, serif;
  font-size: 1.25rem;
  transition: color .35s ease, background-color .35s ease, border-color .35s ease, transform .5s cubic-bezier(.16, 1, .3, 1);
}
.ngs-feature-card.is-current {
  border-color: rgba(255, 91, 0, .6);
  background: var(--ngs-white);
  box-shadow: 0 24px 60px rgba(48, 40, 32, .12);
}
.ngs-feature-card.is-current .ngs-feature-number {
  border-color: var(--ngs-orange);
  background: var(--ngs-orange);
  color: var(--ngs-white);
  transform: rotate(-7deg) scale(1.06);
}

.ngs-program-card {
  height: 100%;
  padding: clamp(1.7rem, 3vw, 2.6rem);
  border: 1px solid var(--ngs-line);
  border-radius: 22px;
  background: var(--ngs-white);
}
.ngs-program-card.is-featured { border: 2px solid var(--ngs-orange); transform: translateY(-14px); box-shadow: var(--ngs-shadow); }
.ngs-program-card ul { padding-left: 1.2rem; }
.ngs-program-card li { margin-bottom: .65rem; }

.ngs-online-callout {
  overflow: hidden;
  align-items: stretch;
  border: 1px solid var(--ngs-line);
  border-radius: 30px;
  background: var(--ngs-cream);
  box-shadow: 0 24px 70px rgba(48, 40, 32, .12);
}
.ngs-online-media figure { height: 100%; margin: 0; }
.ngs-online-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}
.ngs-online-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem);
}
.ngs-online-title {
  max-width: 12ch;
  margin-top: .75rem;
  font-size: clamp(2.15rem, 4vw, 4rem) !important;
  line-height: 1 !important;
  letter-spacing: -.035em;
}
.ngs-online-benefits {
  display: grid;
  gap: .65rem;
  margin-top: 1.25rem;
  padding-left: 1.25rem;
}
.ngs-online-benefits li::marker { color: var(--ngs-orange); }

.ngs-coaches-image {
  position: sticky;
  top: 120px;
  align-self: flex-start;
}
.ngs-founders-media {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 28px;
  background: #faf7f1;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
}
.ngs-founders-media img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
.ngs-coach-card { padding: 2rem; border: 1px solid rgba(255, 255, 255, .13); background: rgba(255,255,255,.06); }
.ngs-initial { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ngs-orange); color: white; font-family: Fraunces, Georgia, serif; font-weight: 700; }

.ngs-quote-card {
  height: 100%;
  padding: clamp(1.7rem, 3vw, 2.5rem);
  border: 1px solid var(--ngs-line);
  background: var(--ngs-white);
  box-shadow: 0 12px 34px rgba(43, 29, 18, .07);
}
.ngs-quote-card blockquote { margin: 0; }
.ngs-quote-card p:first-child { font-family: Fraunces, Georgia, serif; font-size: 1.18rem; line-height: 1.55; }

.ngs-final-cta { min-height: 520px; }
.ngs-final-cta .wp-block-cover__background { background: linear-gradient(90deg, rgba(21,12,8,.95), rgba(21,12,8,.38)) !important; opacity: 1 !important; }
.ngs-final-cta-copy { max-width: 800px; }

.ngs-thank-you-main { margin: 0; }
.ngs-thank-you-page {
  position: relative;
  min-height: calc(100svh - 180px);
  padding: clamp(4.5rem, 9vw, 8rem) 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 107, 56, .16), transparent 24rem),
    radial-gradient(circle at 88% 84%, rgba(10, 119, 182, .14), transparent 28rem),
    var(--ngs-cream);
}
.ngs-thank-you-page::before,
.ngs-thank-you-page::after {
  position: absolute;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(255, 91, 0, .16);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.ngs-thank-you-page::before { top: -10rem; right: -6rem; }
.ngs-thank-you-page::after { bottom: -12rem; left: -7rem; }
.ngs-thank-you-shell { position: relative; z-index: 1; max-width: 1120px !important; }
.ngs-thank-you-hero { max-width: 850px !important; text-align: center; }
.ngs-success-mark {
  display: grid;
  width: 76px;
  height: 76px;
  margin: 0 auto 1.5rem;
  place-items: center;
  border: 2px solid var(--ngs-orange);
  border-radius: 50%;
  background: var(--ngs-white);
  color: var(--ngs-orange);
  box-shadow: 0 16px 40px rgba(48, 40, 32, .12);
  font-family: Fraunces, Georgia, serif;
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1;
}
.ngs-thank-you-title {
  max-width: 13ch;
  margin: .65rem auto 1.25rem;
  font-size: clamp(3rem, 7vw, 6.5rem) !important;
  line-height: .94 !important;
  letter-spacing: -.05em;
}
.ngs-thank-you-lead {
  max-width: 710px;
  margin-inline: auto;
  color: rgba(26, 23, 20, .76);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}
.ngs-thank-you-grid { align-items: stretch; margin-top: clamp(3rem, 6vw, 5rem) !important; }
.ngs-thank-you-card {
  height: 100%;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  border: 1px solid var(--ngs-line);
  border-radius: 26px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 22px 65px rgba(48, 40, 32, .1);
  backdrop-filter: blur(12px);
}
.ngs-thank-you-card.is-accent {
  border-color: rgba(255, 91, 0, .35);
  background: var(--ngs-ink);
  color: var(--ngs-white);
}
.ngs-thank-you-card h2 { margin-bottom: 1.5rem; font-size: clamp(2rem, 3vw, 3rem) !important; }
.ngs-thank-you-card.is-accent h2 { color: var(--ngs-white); }
.ngs-next-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  align-items: start;
  padding-block: 1rem;
  border-top: 1px solid var(--ngs-line);
}
.ngs-next-step:first-of-type { border-top: 0; }
.ngs-next-number {
  display: grid;
  width: 40px;
  height: 40px;
  margin: 0;
  place-items: center;
  border-radius: 50%;
  background: var(--ngs-orange);
  color: var(--ngs-white);
  font-weight: 700;
}
.ngs-next-step strong { display: block; margin-bottom: .2rem; }
.ngs-next-step p:last-child { margin: 0; color: rgba(26, 23, 20, .7); }
.ngs-meeting-list { display: grid; gap: 1rem; margin: 0; padding-left: 1.25rem; }
.ngs-meeting-list li { padding-left: .4rem; }
.ngs-meeting-list li::marker { color: var(--ngs-orange); }
.ngs-thank-you-actions { margin-top: clamp(2rem, 4vw, 3rem) !important; }
.ngs-thank-you-note { margin-top: 1.25rem; color: rgba(26, 23, 20, .65); font-size: .94rem; text-align: center; }

/* Editable, native discovery form page. */
.ngs-booking-main { margin: 0; }
.ngs-booking-page {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 100% !important;
  margin-inline: 0 !important;
  padding: clamp(3.25rem, 7vw, 6rem) 24px clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 91, 0, .12), transparent 24rem),
    radial-gradient(circle at 92% 24%, rgba(10, 119, 182, .1), transparent 28rem),
    var(--ngs-cream);
}
.ngs-booking-intro {
  position: relative;
  z-index: 1;
  max-width: 850px !important;
  margin-bottom: clamp(2rem, 5vw, 3.75rem) !important;
  text-align: center;
}
.ngs-booking-title {
  max-width: 13ch;
  margin: .65rem auto 1rem;
  font-size: clamp(3rem, 6vw, 5.7rem) !important;
  line-height: .96 !important;
  letter-spacing: -.05em;
}
.ngs-booking-lead {
  max-width: 690px;
  margin-inline: auto;
  color: rgba(26, 23, 20, .74);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}
.ngs-booking-points {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  justify-content: center;
  margin-top: 1.5rem !important;
  color: rgba(26, 23, 20, .72);
  font-size: .94rem;
  font-weight: 700;
}
.ngs-booking-points p { margin: 0; }
.ngs-booking-points p::before {
  margin-right: .45rem;
  color: var(--ngs-orange);
  content: "\2713";
}
.wp-block-nextgen-speakers-discovery-form.ngs-discovery-form-card {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: min(100%, 940px);
  max-width: 100% !important;
  margin-inline: auto;
  padding: clamp(1.4rem, 4vw, 3.5rem);
  border: 1px solid rgba(48, 40, 32, .14);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(48, 40, 32, .14);
}
.ngs-discovery-form { display: grid; gap: 1.45rem; }
.ngs-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.ngs-form-field { display: grid; gap: .55rem; margin: 0; padding: 0; border: 0; }
.ngs-form-field label,
.ngs-form-field legend {
  color: var(--ngs-ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}
.ngs-form-field label span,
.ngs-form-field legend span { display: contents; color: var(--ngs-orange-dark); white-space: nowrap; }
.ngs-form-field input,
.ngs-form-field select,
.ngs-form-field textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 54px;
  padding: .85rem 1rem;
  border: 1px solid rgba(48, 40, 32, .28);
  border-radius: 10px;
  outline: 0;
  background: #fffdf9;
  color: var(--ngs-ink);
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.ngs-form-field textarea { min-height: 112px; resize: vertical; }
.ngs-form-field input:focus,
.ngs-form-field select:focus,
.ngs-form-field textarea:focus {
  border-color: var(--ngs-orange);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 91, 0, .12);
}
.ngs-form-choice { grid-template-columns: 1fr repeat(2, auto); align-items: center; gap: .75rem 1.25rem; }
.ngs-form-choice legend { float: left; margin-right: auto; }
.ngs-form-choice label {
  display: inline-flex;
  min-width: 88px;
  align-items: center;
  gap: .5rem;
  justify-content: center;
  padding: .7rem 1rem;
  border: 1px solid rgba(48, 40, 32, .22);
  border-radius: 999px;
  background: var(--ngs-cream);
  cursor: pointer;
}
.ngs-form-choice input { width: 18px; min-height: 18px; margin: 0; accent-color: var(--ngs-orange); }
.ngs-form-consent { display: flex; align-items: flex-start; gap: .75rem; font-size: .93rem; }
.ngs-form-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--ngs-orange); }
.ngs-form-submit {
  min-height: 56px;
  padding: 1rem 1.5rem;
  border: 0;
  border-radius: 6px;
  background: var(--ngs-orange);
  color: var(--ngs-ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.ngs-form-submit:hover,
.ngs-form-submit:focus-visible {
  background: #ff6e1a;
  box-shadow: 0 12px 24px rgba(255, 91, 0, .2);
  transform: translateY(-2px);
}
.ngs-form-footnote {
  margin: 0;
  color: rgba(26, 23, 20, .66);
  font-size: .9rem;
  text-align: center;
}
.ngs-form-notice { padding: 1rem; margin-bottom: 1.25rem; border-radius: 8px; font-weight: 700; }
.ngs-form-notice.is-error { border: 1px solid #b42318; background: #fff1f0; color: #8a1c13; }
.ngs-form-honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.ngs-discovery-form-editor-preview {
  box-sizing: border-box;
  padding: 2rem;
  border: 1px solid #d8d1c9;
  border-radius: 18px;
  background: #fff;
}
.ngs-discovery-form-editor-preview h3 { margin: .25rem 0 .5rem; font-size: 2rem; }
.ngs-editor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ngs-editor-field { margin-top: 1rem; }
.ngs-editor-field strong { display: block; margin-bottom: .35rem; font-size: .92rem; }
.ngs-editor-field span { display: block; height: 44px; border: 1px solid #bbb; border-radius: 8px; background: #fffdf9; }
.ngs-editor-field span.is-textarea { height: 82px; }
.ngs-editor-submit { display: block; margin-top: 1.25rem; padding: .9rem 1.25rem; border-radius: 6px; background: var(--ngs-orange); font-weight: 700; text-align: center; }

.ngs-site-footer { background: var(--ngs-ink); color: white; }
.ngs-site-footer a { color: white; }
.ngs-footer-nav .wp-block-navigation__container { gap: 1.25rem; }
.ngs-small { font-size: .82rem; opacity: .72; }

/*
 * Scroll motion follows the supplied reference: soft directional reveals,
 * staggered cards, and restrained image parallax. Motion classes are added
 * at runtime so the Site Editor and no-JavaScript experience remain intact.
 */
@media (prefers-reduced-motion: no-preference) {
  .ngs-motion-ready .ngs-reveal {
    opacity: 0;
    filter: blur(5px);
    transition:
      opacity .82s cubic-bezier(.2, .72, .2, 1),
      transform 1.05s cubic-bezier(.16, 1, .3, 1),
      filter .82s cubic-bezier(.2, .72, .2, 1);
    transition-delay: var(--ngs-delay, 0ms);
    will-change: opacity, transform, filter;
  }

  .ngs-motion-ready .ngs-reveal[data-ngs-reveal="up"] { transform: translate3d(0, 54px, 0); }
  .ngs-motion-ready .ngs-reveal[data-ngs-reveal="left"] { transform: translate3d(-64px, 0, 0); }
  .ngs-motion-ready .ngs-reveal[data-ngs-reveal="right"] { transform: translate3d(64px, 0, 0); }
  .ngs-motion-ready .ngs-reveal[data-ngs-reveal="scale"] { transform: translate3d(0, 28px, 0) scale(.94); }

  .ngs-motion-ready .ngs-reveal.is-visible {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
    will-change: auto;
  }

  .ngs-motion-ready .ngs-program-card.is-featured.is-visible {
    transform: translate3d(0, -14px, 0) scale(1);
  }

  .ngs-motion-ready .ngs-feature-card.is-visible.is-current {
    transform: translate3d(-12px, 0, 0) scale(1);
  }

  .ngs-motion-ready .ngs-image-reveal {
    clip-path: inset(10% 0 10% 0 round 2px);
    transition:
      clip-path 1.15s cubic-bezier(.16, 1, .3, 1),
      opacity .75s ease,
      transform 1.15s cubic-bezier(.16, 1, .3, 1),
      filter .75s ease;
  }

  .ngs-motion-ready .ngs-image-reveal.is-visible { clip-path: inset(0 0 0 0 round 2px); }

  .ngs-parallax-media { overflow: hidden; }
  .ngs-parallax-media img {
    transform: translate3d(0, var(--ngs-parallax-y, 0px), 0) scale(var(--ngs-media-scale, 1.065));
    transform-origin: 50% 50%;
    will-change: transform;
  }

  .ngs-stat-card,
  .ngs-program-card,
  .ngs-coach-card,
  .ngs-quote-card,
  .ngs-feature-card {
    transition:
      opacity .82s cubic-bezier(.2, .72, .2, 1),
      transform 1.05s cubic-bezier(.16, 1, .3, 1),
      filter .82s cubic-bezier(.2, .72, .2, 1),
      border-color .28s ease,
      box-shadow .28s ease;
  }

  .ngs-program-card:hover,
  .ngs-quote-card:hover,
  .ngs-stat-card:hover {
    border-color: rgba(255, 91, 0, .48);
    box-shadow: 0 22px 54px rgba(43, 29, 18, .12);
  }

  .ngs-motion-ready .ngs-section-title.is-visible + .ngs-section-intro {
    transition-delay: 120ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ngs-reveal,
  .ngs-parallax-media img {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }
  .ngs-ticker-viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: thin;
  }
  .ngs-ticker-motion {
    animation: none !important;
    transform: none !important;
  }
}

.wp-block-navigation__responsive-container.is-menu-open {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1000 !important;
  box-sizing: border-box !important;
  width: auto !important;
  max-width: none !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  overflow-y: auto !important;
  background: var(--ngs-ink) !important;
  color: white !important;
  padding: 2rem !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  display: flex;
  width: 100%;
  min-height: calc(100dvh - 4rem);
  align-items: center;
  justify-content: center;
  padding: 4rem 0 2rem;
  text-align: center;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
  width: 100%;
  min-height: calc(100dvh - 4rem);
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
  width: 100%;
  align-items: center !important;
  justify-content: center !important;
  gap: 1.25rem !important;
  text-align: center;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
  width: 100%;
  align-items: center !important;
  justify-content: center !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
  position: absolute !important;
  top: 1rem !important;
  right: 1rem !important;
  z-index: 1002;
  display: flex !important;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08) !important;
  color: #fff !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close svg {
  display: block;
  width: 28px;
  height: 28px;
  fill: currentColor;
  stroke: currentColor;
}
.wp-block-navigation__responsive-container.is-menu-open a { color: white !important; font-size: 1.5rem; }

@media (max-width: 900px) {
  .ngs-header-row { min-height: 72px; }
  .ngs-brand-mark img { width: 58px; height: 58px; padding: 3px; }
  .ngs-brand-lockup { gap: .45rem; }
  .ngs-brand-name a { font-size: .9rem; }
  .ngs-header-cta { display: none !important; }
  .ngs-hero { min-height: 760px; align-items: flex-end; }
  .ngs-hero .wp-block-cover__background { background: linear-gradient(180deg, rgba(11,8,6,.1) 5%, rgba(11,8,6,.35) 35%, rgba(11,8,6,.98) 82%) !important; }
  .ngs-display { font-size: clamp(3rem, 13vw, 4.8rem) !important; }
  .ngs-proof-image img { min-height: 440px; }
  .ngs-sticky-visual { position: relative; top: auto; }
  .ngs-sticky-visual img { min-height: 420px; }
  .ngs-features-intro {
    grid-template-columns: 1fr;
    grid-template-areas: "kicker" "title" "intro";
    row-gap: .5rem;
  }
  .ngs-features-intro .ngs-section-title { max-width: 10ch; }
  .ngs-features-intro .ngs-section-intro {
    margin-top: 1.4rem;
    padding-left: 1.25rem;
  }
  .ngs-story-rail { gap: 2rem; }
  .ngs-story-visual figure { border-radius: 22px; }
  .ngs-story-visual img { height: auto; min-height: 420px; }
  .ngs-story-steps { gap: .9rem; padding-bottom: 0; }
  .ngs-feature-card { min-height: 0; }
  .ngs-program-card.is-featured { transform: none; }
  .ngs-online-callout { border-radius: 22px; }
  .ngs-online-media img { min-height: 0; aspect-ratio: 4 / 3; }
  .ngs-online-copy { padding: 2rem 1.5rem 2.4rem; }
  .ngs-thank-you-page { min-height: auto; padding-block: 4rem; }
  .ngs-thank-you-title { font-size: clamp(2.8rem, 12vw, 4.7rem) !important; }
  .ngs-thank-you-card { border-radius: 22px; }
  .ngs-booking-page { padding-inline: 16px; }
  .ngs-booking-title { font-size: clamp(2.8rem, 11vw, 4.6rem) !important; }
  .wp-block-nextgen-speakers-discovery-form.ngs-discovery-form-card { border-radius: 18px; }
  .ngs-coaches-image { position: relative; top: auto; }
  .ngs-founders-media img { min-height: 0; }

  .ngs-motion-ready .ngs-reveal[data-ngs-reveal="left"],
  .ngs-motion-ready .ngs-reveal[data-ngs-reveal="right"] {
    transform: translate3d(0, 42px, 0);
  }

  .ngs-motion-ready .ngs-reveal.is-visible {
    transform: translate3d(0, 0, 0) scale(1);
  }

  .ngs-motion-ready .ngs-program-card.is-featured.is-visible {
    transform: translate3d(0, 0, 0) scale(1);
  }

  .ngs-motion-ready .ngs-feature-card.is-visible.is-current {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (max-width: 560px) {
  .ngs-announcement { font-size: .68rem; }
  .ngs-section { padding-block: 4.6rem; }
  .ngs-section-title { font-size: 3rem !important; }
  .ngs-stat-card { min-height: 190px; }
  .ngs-results-ticker { padding-block: 1.35rem; }
  .ngs-ticker-viewport + .ngs-ticker-viewport { margin-top: 1.05rem; }
  .ngs-ticker-item { gap: .55rem; padding-inline: 1.6rem; }
  .ngs-ticker-value { font-size: 2rem; }
  .ngs-ticker-label { font-size: 1rem; }
  .ngs-feature-card { padding: 1.5rem; border-radius: 18px; }
  .ngs-feature-card h3 { font-size: 1.7rem; }
  .ngs-final-cta { min-height: 580px; }
  .ngs-booking-page { padding-top: 3rem; padding-right: 10px; padding-left: 10px; }
  .ngs-booking-intro { padding-inline: 10px; }
  .ngs-booking-points { display: grid; gap: .55rem; }
  .wp-block-nextgen-speakers-discovery-form.ngs-discovery-form-card {
    padding: 1.2rem;
    border-radius: 14px;
    box-shadow: 0 18px 46px rgba(48, 40, 32, .12);
  }
  .ngs-form-grid,
  .ngs-editor-grid { grid-template-columns: 1fr; }
  .ngs-form-choice { grid-template-columns: 1fr 1fr; }
  .ngs-form-choice legend { grid-column: 1 / -1; }
  .ngs-form-choice label { min-width: 0; }
}
