/* ==========================================================================
   TELUS Health Innovation Summit — v1
   Vanilla CSS, mobile-first. Color hex values are placeholders pending
   review against the TELUS Medical Alert page.
   ========================================================================== */

/* -------------------- Fonts -------------------- */
@font-face {
  font-family: "HN TELUS";
  src: url("/assets/fonts/HNforTELUSSARegular_normal_normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "HN TELUS";
  src: url("/assets/fonts/HNforTELUSSABold_normal_normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "HN TELUS Display";
  src: url("/assets/fonts/HNforTELUSSADisplay_normal_normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "HN TELUS Display";
  src: url("/assets/fonts/HNforTELUSSADisplayMedium_normal_normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* -------------------- Tokens -------------------- */
:root {
  --white: #ffffff;
  --purple: #4B286D;
  --purple-deep: #2C1A47;
  --green-accessible: #2B8000;
  --green-accessible-hover: #226600;
  --green: #66CC00;
  --pink: #FF5C84;
  --grey-900: #2A2C2E;
  --grey-700: #3F4145;
  --grey-600: #54595F;
  --grey-300: #C7CACE;
  --grey-200: #E3E5E8;
  --grey-100: #F4F4F7;

  --font-display: "HN TELUS Display", "HN TELUS", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-body: "HN TELUS", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --container-max: 1200px;
  --container-narrow: 760px;
  --pad-x: clamp(1.25rem, 4vw, 2.5rem);

  --section-y: clamp(4rem, 9vw, 7.5rem);

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* -------------------- Reset / base -------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--grey-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--green-accessible); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green-accessible-hover); text-decoration-thickness: 2px; }
a, button, summary, input, [tabindex] {
  transition: box-shadow 220ms var(--ease), outline-offset 200ms var(--ease);
}
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 4px;
  border-radius: 3px;
  box-shadow: 0 0 0 6px rgba(75, 40, 109, 0.14);
}
ul, ol { padding: 0; margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--purple);
  margin: 0 0 0.5em;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

::selection { background: var(--purple); color: var(--white); }

/* -------------------- Utilities -------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.container--narrow { max-width: var(--container-narrow); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--purple);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-600);
  margin: 0 0 1rem;
}
.eyebrow--invert { color: rgba(255, 255, 255, 0.7); }

/* -------------------- Header (glass pill, semi-transparent, floats over hero) -------------------- */
.site-header {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0 14px;
  pointer-events: none;
}
.site-header__inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.375rem 0.75rem 0.375rem 1.25rem;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 24px rgba(75, 40, 109, 0.06);
  transition: background-color 220ms var(--ease), box-shadow 220ms var(--ease);
}
.site-header[data-scrolled="true"] .site-header__inner {
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 32px rgba(75, 40, 109, 0.10);
}
.site-header__logo { height: 22px; width: auto; }
.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
}
.site-header__wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--purple);
  letter-spacing: -0.01em;
  white-space: nowrap;
  display: none;
  padding-left: 0.875rem;
  border-left: 1px solid rgba(75, 40, 109, 0.4);
  line-height: 1;
}
@media (min-width: 720px) {
  .site-header__wordmark { display: inline-block; }
}
.site-header__nav { display: flex; align-items: center; gap: 1.25rem; }
.site-header__links {
  list-style: none;
  display: none;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
.site-header__links a {
  color: var(--grey-700);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 400;
  padding: 8px 2px;
  transition: color 160ms var(--ease);
}
.site-header__links a:hover,
.site-header__links a:focus-visible { color: var(--purple); }
@media (min-width: 1040px) {
  .site-header__links { display: flex; }
}
.site-header__apply {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--green-accessible);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--green-accessible);
  transition: background-color 160ms var(--ease), color 160ms var(--ease), transform 160ms var(--ease);
}
.site-header__apply:hover {
  background: var(--green-accessible);
  color: var(--white);
  transform: translateY(-1px);
}

/* -------------------- Buttons -------------------- */
.btn {
  --bg: var(--green-accessible);
  --bg-hover: var(--green-accessible-hover);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1rem 0.875rem 1.5rem;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: background-color 160ms var(--ease), transform 160ms var(--ease), box-shadow 160ms var(--ease);
}
.btn:hover {
  background: var(--bg-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(43, 128, 0, 0.25);
}
.btn:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(43, 128, 0, 0.2); }
.btn--large { padding: 1.0625rem 1.25rem 1.0625rem 1.875rem; font-size: 1.0625rem; }

.btn__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 200ms var(--ease);
}
.btn--large .btn__icon { width: 20px; height: 20px; }
.btn:hover .btn__icon { transform: translateX(4px); }

.btn__arrow { transition: transform 160ms var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 400;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}
.link-arrow::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 320ms var(--ease);
}
.link-arrow:hover::before,
.link-arrow:focus-visible::before { transform: scaleX(1); }
.link-arrow::after { content: "→"; transition: transform 160ms var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }

/* -------------------- Hero (video bg + marquee strip) -------------------- */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
  background: #000;
  color: var(--white);
  padding: 0;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  display: grid;
  grid-template-rows: 1fr auto;
}
.hero__video-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.hero__video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.hero__video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.50) 0%,
    rgba(44, 26, 71, 0.62) 55%,
    rgba(75, 40, 109, 0.70) 100%
  );
  pointer-events: none;
}
.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 90% 80% at center,
    transparent 35%,
    rgba(0, 0, 0, 0.35) 100%
  );
}
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
}
.hero > .container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  padding-top: clamp(4rem, 10vw, 6rem);
  padding-bottom: clamp(2rem, 6vw, 4rem);
}
.hero__marquee {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 1.25rem 0;
  background: rgba(20, 10, 30, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  overflow: hidden;
}

/* Video / animation play-pause toggle */
.video-toggle {
  position: absolute;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 200ms var(--ease), transform 200ms var(--ease);
}
.video-toggle:hover { background: rgba(255, 255, 255, 0.24); transform: scale(1.05); }
.video-toggle[aria-pressed="true"] .video-toggle__pause { display: none; }
.video-toggle[aria-pressed="false"] .video-toggle__play { display: none; }
.hero > .video-toggle {
  bottom: calc(70px + 1rem);
  right: 1rem;
}
.cta-final > .video-toggle {
  bottom: 1.5rem;
  right: 1.5rem;
}
@media (max-width: 720px) {
  .cta-final > .video-toggle { display: none; }
}
.hero__marquee .marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 100s linear infinite;
}
.hero__marquee .marquee__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 0 1.25rem;
  margin: 0;
  white-space: nowrap;
}
.hero__marquee .marquee__list li {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0;
}
@media (prefers-reduced-motion: reduce) {
  .hero__marquee .marquee__track { animation: none; }
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.hero .eyebrow {
  margin-bottom: 1.25rem;
}
.hero__h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 7.5vw, 5.25rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 1.25rem;
  text-wrap: balance;
  color: var(--white);
}

/* Staggered reveal on page load */
.hero__inner > .eyebrow,
.hero__inner > .hero__h1,
.hero__inner > .hero__subhead,
.hero__inner > .hero__ctas {
  opacity: 0;
  transform: translateY(14px);
  animation: hero-reveal 760ms cubic-bezier(.2, .9, .3, 1) both;
}
.hero__inner > .eyebrow { animation-delay: 80ms; }
.hero__inner > .hero__h1 { animation-delay: 220ms; }
.hero__inner > .hero__subhead { animation-delay: 420ms; }
.hero__inner > .hero__ctas { animation-delay: 600ms; }
@keyframes hero-reveal {
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__inner > .eyebrow,
  .hero__inner > .hero__h1,
  .hero__inner > .hero__subhead,
  .hero__inner > .hero__ctas {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
.hero__subhead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1rem, 1.4vw, 1.1875rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
  margin: 0 auto 2rem;
  max-width: 60ch;
  text-wrap: balance;
}
.hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
}
.link-arrow--invert { color: var(--white); }
.link-arrow--invert:hover { color: var(--white); }
.link-arrow--quiet { color: var(--purple); }
.link-arrow--quiet:hover { color: var(--purple); }

/* -------------------- Why we're hosting (scroll-reveal text + Chris quote) -------------------- */
.section--why {
  background: var(--grey-100);
  padding: clamp(5rem, 10vw, 8rem) 0;
}
.why-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.why-section .eyebrow {
  margin: 0;
  color: var(--grey-600);
}
.why-section .scroll-reveal {
  margin: 0;
  max-width: 1040px;
  text-align: center;
  color: var(--purple-deep);
  text-wrap: pretty;
}
.why-section > .why-quote { margin-top: clamp(1rem, 2vw, 1.5rem); }
.why-quote {
  margin: 0;
  display: flex;
  align-items: center;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  max-width: 900px;
  width: 100%;
  text-align: left;
}
.why-quote__photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(75, 40, 109, 0.18);
}
.why-quote__body {
  border-left: 2px solid var(--purple);
  padding-left: clamp(1.75rem, 3vw, 2.25rem);
}
.why-quote__text { margin: 0; }
.why-quote__text p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.5;
  color: var(--purple);
  margin: 0 0 0.875rem;
  letter-spacing: -0.005em;
}
.why-quote__text p::before { content: "\201C"; }
.why-quote__text p::after { content: "\201D"; }
.why-quote__attr {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.why-quote__name { font-weight: 700; color: var(--grey-900); font-size: 0.9375rem; }
.why-quote__role { color: var(--grey-600); font-size: 0.875rem; }
@media (max-width: 600px) {
  .why-quote { flex-direction: column; text-align: center; align-items: center; }
  .why-quote__body { border-left: 0; border-top: 1px solid rgba(75, 40, 109, 0.25); padding: 1rem 0 0; }
  .why-quote__attr { align-items: center; }
}

/* -------------------- Stat bar -------------------- */
.stats {
  border-top: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
}
.stats__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  position: relative;
  padding-left: 0;
  align-items: center;
  text-align: center;
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  color: var(--purple);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat__unit {
  font-size: 0.4em;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--grey-700);
  letter-spacing: 0;
  margin-left: 0.05em;
}
.stat__label {
  font-size: 0.9375rem;
  color: var(--grey-600);
}
.stats__grid--platform {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid var(--grey-200);
}
.stats__grid--platform .stat__num { white-space: nowrap; font-size: clamp(2rem, 4vw, 3rem); }
.stats__grid--platform .stat__unit { font-size: 0.45em; white-space: nowrap; }
@media (min-width: 720px) {
  .stats__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
  .stat + .stat::before {
    content: "";
    position: absolute;
    left: -1rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 1px;
    background: var(--grey-200);
  }
}

/* -------------------- Marquee -------------------- */
.marquee {
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  overflow: hidden;
  background: var(--white);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 60s linear infinite;
}
.marquee__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-right: 1.75rem;
  white-space: nowrap;
}
.marquee__list li {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--grey-300);
  letter-spacing: -0.01em;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .marquee__list { flex-wrap: wrap; }
}

/* -------------------- Sections -------------------- */
.section {
  position: relative;
  padding: var(--section-y) 0;
}
.section--alt {
  background-color: var(--grey-100);
}

.section--dark {
  background: var(--purple-deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.section--dark .container { position: relative; z-index: 2; }
.section--dark h2,
.section--dark h3 { color: var(--white); }
.section--dark p { color: rgba(255, 255, 255, 0.85); }

/* Magic rings canvas (mouse-following concentric rings) */
.magic-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}


.section--dots {
  background-color: var(--grey-100);
  background-image: radial-gradient(circle at 1px 1px, rgba(75, 40, 109, 0.10) 0.85px, transparent 0);
  background-size: 18px 18px;
  color: var(--purple-deep);
  text-align: center;
}
.section--dots .eyebrow { color: var(--grey-600); margin-bottom: 2rem; }
.section--dots .container { display: flex; flex-direction: column; align-items: center; }

/* Scroll-reveal text */
.scroll-reveal {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.6vw, 1.875rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0 auto;
  color: var(--purple-deep);
  text-wrap: balance;
  max-width: 80ch;
}
.scroll-reveal__word {
  display: inline-block;
  opacity: var(--word-opacity, 0.18);
  transition: opacity 350ms ease-out;
  margin-right: 0.25em;
}
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal__word { opacity: 1 !important; transition: none; }
}

/* Quote strip (Chris) — cohesive with the dots section above */
.quote-strip {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background-color: var(--grey-100);
  position: relative;
  overflow: hidden;
}
.quote-strip__inner {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2rem);
  max-width: 820px;
  margin: 0 auto;
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(75, 40, 109, 0.12);
}
.quote-strip__photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 6px 24px rgba(75, 40, 109, 0.18);
}
.quote-strip__quote {
  margin: 0;
  border-left: 2px solid var(--purple);
  padding-left: 1.5rem;
}
.quote-strip__quote blockquote { margin: 0 0 1rem; }
.quote-strip__quote blockquote p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.0625rem, 1.7vw, 1.3125rem);
  color: var(--purple);
  line-height: 1.45;
  margin: 0;
  letter-spacing: -0.01em;
}
.quote-strip__quote blockquote p::before { content: "\201C"; }
.quote-strip__quote blockquote p::after { content: "\201D"; }
.quote-strip__quote figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.quote-strip__name { font-weight: 700; color: var(--grey-900); font-size: 0.9375rem; }
.quote-strip__role { color: var(--grey-600); font-size: 0.875rem; }
.section__head {
  max-width: 56ch;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  text-align: left;
}
.section__head--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: end;
}
.section__head--split h2 { margin-bottom: 0; }
.section__head-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  color: var(--grey-700);
  line-height: 1.5;
  margin: 0;
  max-width: none;
}
@media (min-width: 860px) {
  .section__head--split {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4rem;
  }
}
.section__head h2 {
  font-size: clamp(1.875rem, 3.6vw, 2.875rem);
}
.section__sub {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  color: var(--grey-700);
  line-height: 1.5;
  margin: 0;
}

/* -------------------- Cards (Why apply) -------------------- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  position: relative;
}
.card {
  background: #ffffff;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
  isolation: isolate;
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease), border-color 280ms var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(75, 40, 109, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 240ms var(--ease);
  pointer-events: none;
  z-index: -1;
}
.card:hover::before { opacity: 1; }
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(75, 40, 109, 0.18);
  box-shadow: 0 12px 28px rgba(75, 40, 109, 0.07);
}
.card__title {
  font-size: 1.375rem;
  margin-bottom: 0.5rem;
  color: var(--purple);
  transition: color 240ms var(--ease);
}
.card:hover .card__title { color: var(--purple-deep); }
@media (min-width: 760px) {
  .cards { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .card { padding: 2rem 1.75rem; }
}

/* -------------------- Two-column generic -------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.two-col__copy { max-width: 56ch; }
.two-col__copy h2 { font-size: clamp(1.875rem, 3.4vw, 2.75rem); }
.two-col__media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.two-col__media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
.two-col__media--clean { border-radius: 0; overflow: visible; }
.two-col__media--clean img {
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  filter: drop-shadow(0 30px 60px rgba(75, 40, 109, 0.20));
}
@media (min-width: 860px) {
  .two-col { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; }
  .two-col--reverse > .two-col__copy { order: 2; }
  .two-col--reverse > .two-col__media { order: 1; }
  .two-col--rail { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; align-items: start; }
  .two-col--rail .two-col__copy { position: sticky; top: 96px; }
  .two-col--top { align-items: start; }
  .two-col--top .two-col__copy { position: static; }
}
/* When eyebrow lives outside the grid, the eyebrow gets its own spacing block */
.section > .container + .container { margin-top: 1.25rem; }
.two-col__rail { width: 100%; }

/* -------------------- Checklist -------------------- */
.checklist {
  list-style: none;
  display: grid;
  gap: 0.875rem;
  margin-top: 1.25rem;
}
.checklist li {
  position: relative;
  padding-left: 1.875rem;
  line-height: 1.55;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(102, 204, 0, 0.15);
}
.checklist--checks {
  gap: 1rem;
  margin-top: 1.75rem;
}
.checklist--checks li {
  padding-left: 2.125rem;
  font-size: 1.0625rem;
}
.checklist--grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem 2rem;
  max-width: 720px;
}
@media (min-width: 600px) {
  .checklist--grid { grid-template-columns: 1fr 1fr; }
}
.checklist--invert li { color: rgba(255, 255, 255, 0.92); }
.checklist.checklist--invert li::before,
.checklist--checks.checklist--invert li::before {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none'><path d='M5 12l5 5L20 7' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat !important;
}

/* Fit section: left-aligned copy + right-aligned checklist */
.section--fit {
  padding-top: clamp(7rem, 13vw, 11rem);
  padding-bottom: clamp(7rem, 13vw, 11rem);
}
.fit__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
@media (min-width: 760px) {
  .fit__inner {
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}
.fit__col-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}
.fit__col-left h2 {
  font-size: clamp(1.875rem, 3.6vw, 2.875rem);
  margin: 0;
  text-wrap: balance;
}
.fit__col-right { margin: 0.5rem 0 0; }
.checklist--checks li::before {
  width: 20px;
  height: 20px;
  top: 0.25em;
  border-radius: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none'><path d='M5 12l5 5L20 7' stroke='%232B8000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
  box-shadow: none;
}
.fit__cta { margin-top: 2rem; }

/* -------------------- Bullet grid (Who) -------------------- */
.bullet-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem 1.5rem;
  margin: 1rem 0 1.5rem;
}
.bullet-grid li {
  position: relative;
  padding-left: 1.25rem;
}
.bullet-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
}
@media (min-width: 600px) {
  .bullet-grid { grid-template-columns: 1fr 1fr; }
}
.bar {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--grey-200);
  color: var(--grey-700);
}

/* -------------------- Schedule (The day) -------------------- */
.schedule {
  list-style: none;
  display: grid;
  gap: 0;
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--grey-200);
}
.schedule__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--grey-200);
  opacity: 0.55;
  transition: opacity 600ms var(--ease);
}
.schedule__row.is-active { opacity: 1; }
.schedule__time {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--grey-600);
  transition: color 400ms var(--ease);
}
.schedule__row.is-active .schedule__time { color: var(--purple); }
.schedule__event { color: var(--grey-700); font-size: 1.0625rem; line-height: 1.5; }
@media (min-width: 640px) {
  .schedule__row {
    grid-template-columns: 140px 1fr;
    gap: 1.5rem;
    align-items: baseline;
  }
}
.schedule__note {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--grey-600);
}

/* -------------------- Meta list (icons) -------------------- */
.meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.meta-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--grey-700);
  font-size: 1.0625rem;
}
.meta-list__icon {
  flex-shrink: 0;
  color: var(--purple);
}

/* -------------------- Timeline (Key dates) -------------------- */
.timeline {
  list-style: none;
  position: relative;
  margin: 0;
  padding: 0;
  --rail-progress: 0;
}
.timeline::before,
.timeline::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 12px;
  width: 1px;
  border-radius: 1px;
}
.timeline::before {
  bottom: 12px;
  background: var(--grey-200);
}
.timeline::after {
  height: calc(var(--rail-progress) * (100% - 24px));
  background: linear-gradient(to bottom, var(--purple), var(--purple-deep));
  transition: height 1100ms cubic-bezier(.2, .9, .3, 1);
}
.timeline__item {
  position: relative;
  padding: 0.75rem 0 0.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.125rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--grey-300);
  z-index: 1;
  transition: background-color 320ms var(--ease), border-color 320ms var(--ease), box-shadow 320ms var(--ease), transform 240ms var(--ease);
}
.timeline__item.is-active::before {
  background: var(--purple);
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(75, 40, 109, 0.12);
}
.timeline__item:hover::before { transform: scale(1.18); }
.timeline__date {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.0625rem;
  color: var(--grey-600);
  letter-spacing: -0.01em;
  transition: color 320ms var(--ease);
}
.timeline__item.is-active .timeline__date { color: var(--purple); }
.timeline__event { color: var(--grey-700); line-height: 1.5; }

/* -------------------- Pull quote -------------------- */
.pullquote {
  margin: 2.5rem 0 0;
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-left: 3px solid var(--purple);
  max-width: 56ch;
}
.pullquote blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.125rem, 1.8vw, 1.4375rem);
  line-height: 1.4;
  color: var(--purple);
  letter-spacing: -0.01em;
}
.pullquote blockquote p { margin: 0; }
.pullquote blockquote p::before { content: "“"; }
.pullquote blockquote p::after { content: "”"; }
.pullquote figcaption { display: flex; flex-direction: column; gap: 0.125rem; }
.pullquote__name { font-weight: 700; color: var(--grey-900); }
.pullquote__role { color: var(--grey-600); font-size: 0.9375rem; }

/* -------------------- Speakers -------------------- */
.speakers__pending {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.125rem;
  color: var(--grey-600);
  padding: 2rem 0;
}
.speakers__grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}
@media (min-width: 760px) {
  .speakers__grid { grid-template-columns: repeat(3, 1fr); }
}

/* Carousel foot: pager + arrow buttons */
.carousel-foot {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.cards-pager {
  flex: 1;
  display: flex;
  align-items: center;
}
.cards-pager__track {
  flex: 1;
  height: 2px;
  background: rgba(75, 40, 109, 0.12);
  border-radius: 1px;
  position: relative;
  overflow: hidden;
}
.cards-pager__bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 75%;
  background: var(--purple);
  border-radius: 1px;
  transition: left 220ms var(--ease), width 220ms var(--ease);
}
.carousel-nav {
  display: flex;
  gap: 0.5rem;
}
.carousel-nav__btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 50%;
  cursor: pointer;
  color: var(--purple);
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), transform 160ms var(--ease);
}
.carousel-nav__btn:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}
.carousel-nav__btn:active { transform: scale(0.95); }

/* Carousel foot: pager + arrow buttons */
.carousel-foot {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.cards-pager {
  flex: 1;
  display: flex;
  align-items: center;
}
.cards-pager__track {
  flex: 1;
  height: 2px;
  background: rgba(75, 40, 109, 0.12);
  border-radius: 1px;
  position: relative;
  overflow: hidden;
}
.cards-pager__bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 25%;
  background: var(--purple);
  border-radius: 1px;
  transition: left 220ms var(--ease), width 220ms var(--ease);
}
.carousel-nav {
  display: flex;
  gap: 0.5rem;
}
.carousel-nav__btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 50%;
  cursor: pointer;
  color: var(--purple);
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), transform 160ms var(--ease);
}
.carousel-nav__btn:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}
.carousel-nav__btn:active { transform: scale(0.95); }
.speaker {
  background: #ffffff;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  position: relative;
  overflow: hidden;
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease), border-color 280ms var(--ease);
}
.speaker::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(to right, var(--purple), var(--purple-deep));
  transform: translateX(-100%);
  transition: transform 360ms var(--ease);
}
.speaker:hover {
  transform: translateY(-3px);
  border-color: rgba(75, 40, 109, 0.18);
  box-shadow: 0 12px 28px rgba(75, 40, 109, 0.07);
}
.speaker:hover::before { transform: translateX(0); }
.speaker__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0;
  margin: 0 0 1.25rem;
  display: block;
}
.speaker__name { padding: 0 1.5rem; }
.speaker__title { padding: 0 1.5rem; }
.speaker__org { padding: 0 1.5rem; margin-top: 0.875rem; }
.speaker__arrow {
  position: absolute;
  right: 1.25rem;
  bottom: 1rem;
}
.speaker__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--purple);
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.speaker__title {
  color: var(--grey-700);
  font-size: 0.9375rem;
  margin: 0.375rem 0 0;
  line-height: 1.4;
}
.speaker__org {
  color: var(--grey-600);
  font-size: 0.875rem;
  margin: 1rem 0 0;
  letter-spacing: 0.02em;
}
.speaker__arrow {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  font-size: 1.25rem;
  color: var(--grey-300);
  transition: color 240ms var(--ease), transform 240ms var(--ease);
}
.speaker:hover .speaker__arrow {
  color: var(--purple);
  transform: translateX(4px);
}

/* -------------------- Key dates -------------------- */
.dates {
  margin: 0;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  border-top: 1px solid var(--grey-200);
}
.dates__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--grey-200);
}
.dates__row dt {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--purple);
  margin: 0;
}
.dates__row dd { margin: 0; color: var(--grey-700); }
@media (min-width: 640px) {
  .dates__row {
    grid-template-columns: 180px 1fr;
    gap: 1.5rem;
    align-items: baseline;
  }
}

/* -------------------- Final CTA (full-screen, prismatic burst) -------------------- */
.cta-final {
  position: relative;
  text-align: center;
  overflow: hidden;
  background-color: var(--purple);
  background-image:
    radial-gradient(ellipse 60% 60% at 30% 30%, rgba(163, 89, 189, 0.55), transparent 60%),
    radial-gradient(ellipse 50% 50% at 70% 70%, rgba(123, 91, 196, 0.45), transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 80%, rgba(102, 204, 0, 0.18), transparent 70%);
  color: var(--white);
  isolation: isolate;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prismatic-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.prismatic-bg canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
.aurora-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.aurora-bg canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
.cta-final__inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin: 0 auto;
}
.cta-final h2 {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  color: var(--white);
}
.cta-final h2 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 640ms cubic-bezier(.2, .9, .3, 1), transform 640ms cubic-bezier(.2, .9, .3, 1);
}
.cta-final h2 .word.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .cta-final h2 .word { opacity: 1; transform: none; transition: none; }
}
.cta-final p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 420px;
}

/* Inverted button (white on purple) */
.btn--invert {
  --bg: var(--white);
  --bg-hover: var(--grey-100);
  color: var(--purple);
}
.btn--invert:hover {
  color: var(--purple);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.10);
}

/* -------------------- FAQ (TELUS nav-style accordion) -------------------- */
.faq {
  border-top: 1px solid var(--grey-200);
}
.faq__item {
  border-bottom: 1px solid var(--grey-200);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.5rem 2.5rem 1.5rem 0;
  position: relative;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--grey-900);
  transition: color 200ms var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--purple);
  border-bottom: 2px solid var(--purple);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 220ms var(--ease);
}
.faq__item summary:hover { color: var(--purple); }
.faq__item[open] summary {
  color: var(--purple);
}
.faq__item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq__body {
  padding: 0 0 1.5rem;
  color: var(--grey-700);
  max-width: 70ch;
  line-height: 1.6;
}

/* -------------------- Botanical accents -------------------- */
.botanical-accent {
  position: absolute;
  pointer-events: none;
  opacity: 0.6;
  z-index: 0;
}
.botanical-accent--right {
  right: -3%;
  top: -100px;
  width: clamp(180px, 20vw, 240px);
  rotate: 10deg;
  translate: 0 var(--parallax-y, 0);
  opacity: 1;
  will-change: translate;
}
.botanical-accent--left {
  left: -4%;
  bottom: -6%;
  width: clamp(160px, 18vw, 240px);
  transform: rotate(-10deg);
  opacity: 0.5;
}
.botanical-accent--day {
  left: -3%;
  bottom: 6%;
  width: clamp(220px, 28vw, 380px);
  transform: rotate(-8deg);
  opacity: 0.85;
}
@media (max-width: 720px) {
  .botanical-accent--left,
  .botanical-accent--day { display: none; }
  .botanical-accent--right {
    right: -3%;
    top: -32px;
    width: clamp(96px, 24vw, 140px);
    opacity: 0.7;
  }
}
.section .container { position: relative; z-index: 1; }
.cta-final .container { position: relative; }

/* -------------------- Footer -------------------- */
.site-footer {
  background: #1A1D1F;
  color: rgba(255, 255, 255, 0.85);
  border-top: 0;
  padding: 2.75rem 0 3.25rem;
}
.site-footer__logo img { filter: brightness(0) invert(1); opacity: 0.95; }
.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
.site-footer__logo img { height: 22px; width: auto; }
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.site-footer__nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 160ms var(--ease);
}
.site-footer__nav a:hover { color: var(--white); }
.site-footer__meta {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}
@media (min-width: 720px) {
  .site-footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .site-footer__meta { width: 100%; }
}

/* -------------------- Access gate -------------------- */
.gate {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--white);
  padding: clamp(1.5rem, 5vw, 3rem);
  overflow: auto;
}
html[data-locked="1"] .gate { display: grid; place-items: center; }
html[data-locked="1"] body { overflow: hidden; }
html[data-locked="1"] body > .site-header,
html[data-locked="1"] body > main,
html[data-locked="1"] body > .site-footer { visibility: hidden; }

.gate__inner {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}
.gate__logo {
  height: 22px;
  width: auto;
  margin-bottom: 1.5rem;
}
.gate__title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  margin: 0;
  letter-spacing: -0.02em;
}
.gate__body {
  color: var(--grey-700);
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 400;
}
.gate__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}
.gate__label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--purple);
  margin-bottom: 0.5rem;
}
.gate__input {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  padding: 0.875rem 1rem;
  border: 1px solid var(--grey-300);
  border-radius: 8px;
  background: var(--white);
  color: var(--grey-900);
  width: 100%;
  text-align: center;
}
.gate__input:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
  border-color: var(--purple);
}
.gate .btn { align-self: center; margin-top: 0.5rem; }
.gate__error {
  margin: 0;
  font-size: 0.9375rem;
  color: #B81E1E;
}

/* -------------------- Mobile menu toggle (hamburger) -------------------- */
.site-header__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
  z-index: 60;
  margin-left: 0.25rem;
}
@media (min-width: 1040px) {
  .site-header__toggle { display: none; }
}
.site-header__toggle-icon {
  width: 22px;
  height: 16px;
  position: relative;
  display: block;
}
.site-header__toggle-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--purple);
  border-radius: 1px;
  transition: transform 320ms var(--ease), top 320ms var(--ease), bottom 320ms var(--ease), background-color 200ms var(--ease);
}
.site-header__toggle-icon span:nth-child(1) { top: 3px; }
.site-header__toggle-icon span:nth-child(2) { bottom: 3px; }
.site-header__toggle[aria-expanded="true"] .site-header__toggle-icon span {
  background: var(--white);
}
.site-header__toggle[aria-expanded="true"] .site-header__toggle-icon span:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}
.site-header__toggle[aria-expanded="true"] .site-header__toggle-icon span:nth-child(2) {
  bottom: 7px;
  transform: rotate(-45deg);
}

/* -------------------- Mobile menu (staggered) -------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  pointer-events: none;
}
.mobile-menu[aria-hidden="false"] { pointer-events: auto; }
.mobile-menu__layer,
.mobile-menu__panel {
  position: absolute;
  inset: 0;
  transform: translateX(100%);
  will-change: transform;
}
.mobile-menu__layer {
  transition: transform 600ms cubic-bezier(.7, 0, .25, 1);
}
.mobile-menu__layer--1 {
  background: var(--purple);
  transition-delay: 0ms;
}
.mobile-menu__layer--2 {
  background: var(--purple-deep);
  transition-delay: 80ms;
}
.mobile-menu__panel {
  background: var(--purple-deep);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 6rem 2rem 3rem;
  gap: 2rem;
  transition: transform 600ms cubic-bezier(.7, 0, .25, 1) 160ms;
}
.mobile-menu__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: none;
  border: 0;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  border-radius: 999px;
  transition: background-color 200ms var(--ease);
}
.mobile-menu__close:hover { background: rgba(255, 255, 255, 0.10); }
.mobile-menu__close svg { color: currentColor; }
.mobile-menu[aria-hidden="false"] .mobile-menu__layer,
.mobile-menu[aria-hidden="false"] .mobile-menu__panel {
  transform: translateX(0);
}
.mobile-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  width: 100%;
}
.mobile-menu__list li,
.mobile-menu__cta {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 500ms var(--ease),
    transform 600ms cubic-bezier(.2, .9, .3, 1);
  transition-delay: calc(0.45s + var(--i) * 0.07s);
}
.mobile-menu[aria-hidden="false"] .mobile-menu__list li,
.mobile-menu[aria-hidden="false"] .mobile-menu__cta {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu__list a {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 7vw, 3rem);
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1.1;
  display: inline-block;
  transition: color 200ms var(--ease), transform 200ms var(--ease);
}
.mobile-menu__list a:hover,
.mobile-menu__list a:focus-visible {
  color: rgba(255, 255, 255, 0.85);
  transform: translateX(4px);
}
.mobile-menu__cta { margin-top: 1.5rem; }
.mobile-menu__cta .btn {
  background: var(--white);
  color: var(--purple);
}
.mobile-menu__cta .btn:hover {
  background: var(--grey-100);
  color: var(--purple);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.20);
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu__layer,
  .mobile-menu__panel { transition-duration: 200ms; transition-delay: 0ms; }
  .mobile-menu__list li,
  .mobile-menu__cta { transition-duration: 200ms; transition-delay: 50ms; }
}

body.menu-open { overflow: hidden; }

/* -------------------- Reveal (entrance fade) -------------------- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
