/* Truncate long bios to ~5 sentences using line clamp */
.person__bio {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5; /* clamps to 5 lines */
  line-clamp: 5;
}

:root {
  /* Palette (from your swatches) */
  --blue: #62b3d9;
  --purple: #8864c8;
  --orange: #de683e;

 
  --green: #a0bf43;
  --yellow: #e8bc2c;
  --red: #b6494f;
  

  /* Page tokens */
  --bg: #f0f0f7;
  --panel: #ffffff;
  --text: #323232;
  --muted: rgba(21, 24, 23, 0.62);
  

  --primary: #5E2568;
  --primary-light: #8864C8;

  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 12px;

  --shadow: 0 10px 30px rgba(19, 10, 28, 0.06);
  --container: 1120px;
  --title-size: clamp(36px, 4.6vw, 64px);
  --para-size: 14px;
  --large-para-size: 16px;

  /* Motion tokens */
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --reveal-distance: 14px;

  --font-body: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --font-title: "Bebas Neue", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    sans-serif;
}
 
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

/* Reserve space for the scrollbar so layout doesn't shift */
html {
  scrollbar-gutter: stable;
  /* Enable smooth anchor scrolling site-wide */
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  letter-spacing: 0;
}

/* Loading state to prevent pop-in */
.page {
  transition: opacity 280ms ease;
}

body.is-loading {
  overflow: hidden;
}

body.is-loading .page {
  opacity: 0;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 240ms ease, visibility 0s linear 240ms;
}

body:not(.is-loading) .preloader {
  opacity: 0;
  visibility: hidden;
}

.preloader__spinner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 4px solid rgba(0,0,0,0.08);
  border-top-color: var(--primary);
  animation: spinner-rotate 900ms linear infinite;
}

@keyframes spinner-rotate {
  to { transform: rotate(360deg); }
}

/*
  Professional reveal animations
  - Subtle fade + slide, disabled for reduced motion
*/
.reveal {
  opacity: 0;
  transform: translateY(var(--reveal-translate, var(--reveal-distance)));
  filter: blur(var(--reveal-blur, 0.3px));
  transition:
    opacity 500ms var(--ease-out),
    transform 520ms var(--ease-out),
    filter 520ms var(--ease-out);
  will-change: opacity, transform, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Instant reveal: no transition, pops in immediately on visibility */
.reveal--instant {
  transition: none !important;
}

/* Direction helpers */
.reveal--up { --reveal-translate: 14px; }
.reveal--down { --reveal-translate: -14px; }
.reveal--left { --reveal-translate: 0; transform: translateX(-14px); }
.reveal--right { --reveal-translate: 0; transform: translateX(14px); }

/* Stagger helpers (small, tasteful cadence) */
.reveal-stagger > .reveal { transition-delay: 0ms; }
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 40ms; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 120ms; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 160ms; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 200ms; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 240ms; }
.reveal-stagger > .reveal:nth-child(7) { transition-delay: 280ms; }
.reveal-stagger > .reveal:nth-child(8) { transition-delay: 320ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible,
  .reveal--up,
  .reveal--down,
  .reveal--left,
  .reveal--right {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

p {
  font-family: var(--font-body);
  font-size: var(--para-size);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-title);
  font-weight: 400;
  line-height: 1.02;
}

a {
  color: inherit;
}

.page {
  min-height: 100%;
  background-image:url("assets/GRID.png");
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: auto, auto, cover;
  background-position: 0 0, 0 0, top center;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

 

/* Header */
.site-header {
  position: sticky;
  top: 0;
  padding: 5px;
  z-index: 20;
  background: transparent;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header--scrolled {
  backdrop-filter: blur(10px);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.78),
    rgba(255, 255, 255, 0.62)
  );
  border-bottom-color: rgba(136, 100, 200, 0.14);
  box-shadow: 0 10px 24px rgba(19, 10, 28, 0.1);
}

.header__row {
  display: grid;
  grid-template-columns: 260px 1fr 190px;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__logo {
  height: 60px;
  display: block;
}
 

.nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(136, 100, 200, 0.32);
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(136, 100, 200, 0.5);
}

.nav-toggle__bar {
  position: relative;
  width: 18px;
  height: 2px;
  background: var(--primary);
  border-radius: 999px;
  transition: transform 160ms ease, background 160ms ease;
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--primary);
  border-radius: 999px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle__bar::before {
  transform: translateY(-6px);
}

.nav-toggle__bar::after {
  transform: translateY(6px);
}

.nav-toggle.is-open .nav-toggle__bar {
  background: transparent;
}

.nav-toggle.is-open .nav-toggle__bar::before {
  transform: rotate(45deg);
}

.nav-toggle.is-open .nav-toggle__bar::after {
  transform: rotate(-45deg);
}

.nav__link {
  text-decoration: none;
  color: rgba(36, 26, 46, 0.82);
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 8px;
  border-radius: 999px;
  position: relative;
  transition: color 180ms ease;
}
/* Professional hover: subtle underline grow + color shift */
.nav__link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 2px;
  background: var(--primary-light);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease;
  border-radius: 2px;
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--primary);
  background: transparent; /* override previous pill hover */
}

.nav__link:hover::after,
.nav__link:focus-visible::after {
  transform: scaleX(1);
}

.nav__link:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--primary-light) 65%, transparent);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: .5em;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary-light);
  color: #fff;
  border-color: rgba(90, 47, 146, 0.3);
  cursor: pointer;
}

.btn--primary:hover {
  background: var(--primary);
}

 

/* Sections */
.section {
  padding: 46px 0;
}

.section--tight {
  padding: 34px 0;
}

.section--panel {
  padding: 56px 0;
}

.section__title {
  margin: 0;
  text-align: center;
  font-size: var(--title-size);
  color: var(--primary);
  font-weight: 400;
  text-transform: uppercase;
  font-family: var(--font-title);
}

.section__subtitle {
  margin: 10px auto 0;
  text-align: center;
  max-width: 72ch;
  color: var(--muted);
  font-size: var(--large-para-size);
  line-height: 1.6;
}

/* Ensure anchored sections account for sticky header */
:root {
  --scroll-offset: 90px;
}

:where(section[id], .hero, .cta) {
  scroll-margin-top: var(--scroll-offset);
}

/* Hero */
.hero {
  padding: clamp(20px, 4vw, 28px) clamp(16px, 10vw, 150px);
  padding-bottom: clamp(32px, 6vw, 50px);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.6fr .05fr .9fr;
  grid-template-areas:
    "left middle right";
  margin-bottom: 30px;
  gap: 24px;
}

.hero__left {
  grid-area: left;
}

.hero__middle {
  grid-area: middle;
  margin-bottom: 10px;
  margin-top: 20px;
}

.hero__right {
  grid-area: right;
  display: grid;
  align-content: start;
  padding-top: 32px;
}
.line{
    min-height: 100%;
    background-image: linear-gradient(#f2984900, #F29849);
    width: 2px;
    
}
.ideal-lockup {
  margin-bottom: 50px;
}

.ideal-logo {
    height: 90px;
}

.hero__title {
  margin: 0;
  color: var(--primary);
  font-weight: 400;
  text-transform: uppercase;
  font-size: var(--title-size);
  line-height: 1.03;
  font-family: var(--font-title);
}

.hero__lead {
  margin: 0;
  color: #323232;
  font-size: var(--para-size);
  line-height: 1.7;
  font-weight: 400;
}

.hero_img {
 display: flex;
 flex-direction: column;
}

.img{
 width: 100%;
 display: block;
}

.hero_img::after {
  content: "";
  display: block;
  align-self: center;
  width: 85%;
  height: 10px;
  background: linear-gradient(
    90deg,
    #D9504C 0% 12.5%,
    #62B3D9 12.5% 25%,
    #A5C051 25% 37.5%,
    #8864C8 37.5% 50%,
    #F29849 50% 62.5%,
    #E9C123 62.5% 75%,
    #BDB2A7 75% 87.5%,
    #0D009D 87.5% 100%
  );
}

 

/* Event strip */
.strip {
  margin-top: 18px;
  position: relative;
  --strip-width-landscape: clamp(260px, 22vw, 340px);
  --strip-height-portrait: clamp(230px, 22vw, 320px);
}

.strip__viewport {
  overflow: hidden;
  padding: 10px 0;
  position: relative;
}

/* White fade at the edges (left/right) */
.strip__viewport::before,
.strip__viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 25%;
  z-index: 2;
  pointer-events: none;
}

.strip__viewport::before {
  left: 0;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #ffffffe4 30%,
    rgba(255, 255, 255, 0) 100%
  );
}

.strip__viewport::after {
  right: 0;
  background: linear-gradient(
    270deg,
    #fff 0%,
    #fff 22%,
    rgba(255, 255, 255, 0) 100%
  );
}

.strip__track {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  will-change: transform;
  animation: strip-scroll 28s linear infinite;
  position: relative;
  z-index: 1;
}

/* Pause animation on hover / keyboard focus */
.strip:hover .strip__track,
.strip:focus-within .strip__track {
  animation-play-state: paused;
}

.strip.is-paused .strip__track {
  animation-play-state: paused;
}

.strip__nav {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(90, 47, 146, 0.35);
  background: #A967AA;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity 180ms ease;
  box-shadow: 0 8px 18px rgba(19, 10, 28, 0.12);
}

.strip__nav--prev {
  left: 22%;
}

.strip__nav--next {
  right: 22%;
}

.strip:hover .strip__nav,
.strip:focus-within .strip__nav,
.strip.is-paused .strip__nav {
  opacity: 1;
  pointer-events: auto;
}

.strip__nav:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--primary-light) 70%, transparent);
  outline-offset: 3px;
}

.strip__nav i {
  font-size: 14px;
  line-height: 1;
}

.strip__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.strip__img {
  display: block;
  width: var(--strip-width-landscape);
  height: auto;
  cursor: pointer;
}

.strip__item--portrait .strip__img {
  height: var(--strip-height-portrait);
  width: auto;
}

.strip__img:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary-light) 65%, transparent);
  outline-offset: 4px;
  border-radius: 10px;
}

@keyframes strip-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Why choose grid */
#about {
  position: relative;
}

#about::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(232, 188, 44, 0) 0%,
    #F4E091 100%
  );
  background: linear-gradient(
    180deg,
    transparent 0%,
    color-mix(in srgb, var(--yellow) 10%, transparent) 58%,
    color-mix(in srgb, var(--yellow) 22%, transparent) 100%
  );
}

#about > .container {
  position: relative;
  z-index: 1;
}

.pill-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(13, 1fr);
  grid-template-rows: 100px 100px repeat(6, 70px);
  gap: 18px;
  align-items: stretch;
}

.pill {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(136, 100, 200, 0.14);
  box-shadow: var(--shadow);
  padding: 18px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.pill--image {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
 

.pill__title {
  margin: 0;
  font-weight: 600;
  font-size: 26px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.96);
  text-transform: none;
  font-family: var(--font-body);
  position: relative;
  z-index: 1;
}

.pill__icon {
  width: 120px;
  height: 120px;
  position: absolute;
  opacity: 0.55;
  filter: blur(0.1px);
  z-index: 0;
}

/* About tile placement (matches the screenshot layout) */
.pill--orange {
  grid-column: 2 / span 5;
  grid-row: 1 / span 2;
  align-items: start;
  background:
    radial-gradient(circle at 85% 45%, rgba(255, 255, 255, 0.24), transparent 55%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.00)),
    var(--orange);
}

.pill--orange .pill__icon {
  right: 18px;
  top: 65%;
  transform: translateY(-50%);
}

.pill--blue {
  grid-column: 2 / span 3;
  grid-row: 3 / span 6;
  justify-content: center;
  text-align: center;
  padding-top: 116px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.22), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.00)),
    var(--blue);
}

.pill--blue .pill__icon {
  left: 50%;
  top: 28px;
  transform: translateX(-50%);
  opacity: 0.45;
}

.pill--purple {
  grid-column: 5 / span 5;
  grid-row: 2 / span 3;
  justify-content: start;
  transform: translateY(-12px);
  background:
    radial-gradient(circle at 85% 55%, rgba(255, 255, 255, 0.22), transparent 58%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.00)),
    var(--purple);
}

.pill--purple .pill__icon {
    right: 20px;
    top: 66%;
    transform: translateY(-50%);
    width: 106px;
    height: 106px;
    opacity: 0.35;
}

.pill--purple .pill__title {
  position: relative;
  top: -31%;
}

.pill--yellow {
  grid-column: 5 / span 5;
  grid-row: 3 / span 3;
  justify-content: start;
  background: linear-gradient(to top, #E8BC2C 0%, #EDCB5B 100%);
}

.pill--yellow .pill__icon {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 125px;
  height: 125px;
  opacity: 0.4;
}

.pill--yellow .pill__title {
  width: 270px;
}

.pill--green {
  grid-column: 5 / span 5;
  grid-row: 6 / span 3;
  justify-content: end;
  background:
    radial-gradient(circle at 15% 40%, rgba(255, 255, 255, 0.22), transparent 58%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.00)),
    var(--green);
}

.pill--green .pill__icon {
  left: 10px;
  top: 50%;
  padding: 10px;
  transform: translateY(-50%);
  opacity: 0.45;
}

.pill--red {
  grid-column: 10 / span 3;
  grid-row: 1 / span 4;
  align-items: start;
  justify-content: center;
  padding-top: 50px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 55%, rgba(255, 255, 255, 0.20), transparent 58%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.00)),
    #D9504C;
}

.pill--red .pill__icon {
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  width: 110px;
  height: 110px;
  opacity: 0.35;
}

.pill--image-workshop {
  grid-column: 7 / span 3;
  grid-row: 1 / span 2;
}

.pill--image-community {
  grid-column: 10 / span 3;
  grid-row: 5 / span 4;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding-top: 22px;
  background: linear-gradient(to top, #969FA8 0%, #B5BCC1 55%, #E1E4E3 100%);
  border: none;
}

.pill--image-community .pill__title {
  text-align: center;
}

.pill--image-community .pill__icon {
  position: static;
  width: 110px;
  height: 110px;
  opacity: 0.65;
}

/* Responsive: stack tiles cleanly */
@media (max-width: 920px) {
  .pill-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .pill--orange,
  .pill--blue,
  .pill--purple,
  .pill--yellow,
  .pill--green,
  .pill--image-workshop,
  .pill--image-community {
    grid-column: auto;
    grid-row: auto;
  }

 
}

/* Offerings panel */
.section--panel .container {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.offerings-panel {
  margin-top: 64px;
  position: relative;
  border-radius: 18px;
  border: 2px solid color-mix(in srgb, var(--primary-light) 70%, rgba(255, 255, 255, 0));
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  padding: 34px 18px 18px;
}

.offerings-panel__tabs {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  display: inline-flex;
  gap: 15px;
  padding: 6px;
}

.offerings-tab {
  background: white;
  padding: 10px 64px;
  border-radius: 8px;
  font-weight: bold;
  border: var(--purple) 2px solid;
  color: rgba(63, 55, 71, 0.786);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.offerings-tab.is-active {
  background: var(--primary-light);
  color: #fff;
}

.offerings-pane {
  display: none;
  opacity: 0;
}

.offerings-pane.is-active {
  display: block;
  /* Fade/slide in when a tab becomes active */
  animation: offerings-pane-in 280ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.offerings-panel__intro {
  margin: 20px auto;
  max-width: 92ch;
  text-align: center;
  color: rgba(36, 26, 46, 0.75);
  line-height: 1.65;
  font-size: var(--para-size);
}

.offerings-cards {
  display: grid;
  gap: 16px;
}

.offering-card {
  --accent: var(--primary-light);
  --bg-white: rgba(255, 255, 255, 0.92);
  --bg-accent: color-mix(in srgb, var(--accent) 14%, var(--bg-white));
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(136, 100, 200, 0.14);
  background: linear-gradient(to right, var(--bg-accent) 0%, var(--bg-white) 45%, var(--bg-white) 100%);
}

.offering-card--media-left {
  grid-template-columns: 0.85fr 1.15fr;
}

.offering-card--media-left .offering-card__media {
  order: 0;
}

.offering-card--media-left .offering-card__text {
  order: 1;
}

.offering-card__title {
  margin: 0 0 6px;
  font-family: var(--font-title);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: var(--title-size);
  line-height: 0.95;
  color: var(--accent);
}

.offering-card__sub {
  font-size: 12px;
  color: rgba(36, 26, 46, 0.72);
  margin-bottom: 6px;
}

.offering-card__list {
  margin: 0;
  padding-left: 18px;
  color: rgba(36, 26, 46, 0.78);
  line-height: 1.65;
  font-size: var(--para-size);
}

.offering-card__list--two-col {
  columns: 2;
  column-gap: 28px;
}

.offering-card__list--two-col li {
  break-inside: avoid;
}

.offering-card__media {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  position: relative;
  border: 1px solid rgba(136, 100, 200, 0.14);
}

.offering-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.offering-card--entrepreneurship {
  --accent: var(--blue);
  --bg-accent: color-mix(in srgb, var(--blue) 20%, var(--bg-white));
  background: linear-gradient(to left, var(--bg-accent) 0%, var(--bg-white) 45%, var(--bg-white) 100%);
}


.offering-card--design {
  --accent: var(--red);
  --bg-accent: color-mix(in srgb, var(--red) 18%, var(--bg-white));
  background: linear-gradient(to left, var(--bg-accent) 0%, var(--bg-white) 45%, var(--bg-white) 100%);
}

.offering-card--leadership {
  --accent: var(--orange);
  --bg-accent: color-mix(in srgb, var(--orange) 18%, var(--bg-white));
}

/* Offerings tab switch animations */
@keyframes offerings-pane-in {
  from {
    opacity: 0;
    transform: translateY(8px);
    filter: blur(0.6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Stagger cards within the active pane for a subtle cascade */
.offerings-pane .offering-card {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 360ms ease, transform 360ms ease, filter 360ms ease;
  will-change: transform, opacity;
}

.offerings-pane.is-active .offering-card {
  opacity: 1;
  transform: translateY(0);
}

/* Simple stagger (covers first 6 cards) */
.offerings-pane.is-active .offering-card:nth-child(1) { transition-delay: 40ms; }
.offerings-pane.is-active .offering-card:nth-child(2) { transition-delay: 80ms; }
.offerings-pane.is-active .offering-card:nth-child(3) { transition-delay: 120ms; }
.offerings-pane.is-active .offering-card:nth-child(4) { transition-delay: 160ms; }
.offerings-pane.is-active .offering-card:nth-child(5) { transition-delay: 200ms; }
.offerings-pane.is-active .offering-card:nth-child(6) { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  .offerings-pane.is-active {
    animation: none !important;
  }
  .offerings-pane .offering-card,
  .offerings-pane.is-active .offering-card {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Quote */
.testimonial {
  position: relative;
}

.testimonial__viewport {
  overflow: hidden;
  position: relative;
}

.testimonial__track {
  display: grid;
}

.testimonial__slide {
  grid-area: 1 / 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.testimonial__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.quote {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
  max-width: 980px;
  margin: 0 auto;
  border-radius: 20px;
  background: transparent;
}

.quote__card {
  position: relative;
  display: grid;
  grid-template-columns: clamp(220px, 28%, 320px) 1fr;
  gap: 22px;
  align-items: stretch;
  padding: 18px;
  border-radius: 19px;
  background: var(--panel);
}

.quote__mark {
  justify-self: center;
  height: 78px;
  width: auto;
  opacity: 0.55;
  pointer-events: none;
  margin-bottom: -30px;
}

.quote__media {
  border-radius: 16px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid rgba(136, 100, 200, 0.14);
  min-height: 240px;
  position: relative;
  z-index: 1;
}

.quote__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

 

.quote__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.quote__text {
  margin: 0;
  color: rgba(36, 26, 46, 0.84);
  font-weight: bold;
  font-size: 13px;
  line-height: 1.7;
}

.quote__toggle {
  margin-top: 10px;
  align-self: flex-start;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.quote__toggle:hover,
.quote__toggle:focus-visible {
  text-decoration: underline;
}

.quote__rule {
  width: 40%;
  height: 2px;
  margin-top: auto;
  margin-bottom: 14px;
  background: color-mix(in srgb, var(--orange) 60%, rgba(255, 255, 255, 0));
  border-radius: 999px;
}

.quote__meta {
  margin-top: 0;
}

.quote__name {
  font-family: var(--font-title);
  color: var(--primary);
  font-size: 30px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.quote__role {
  font-weight: bold;
  font-size: 12px;
  margin-top: 2px;
}

.dots {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dots--testimonial {
  margin-top: 14px;
}

.dots--testimonial .dot:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--primary-light) 70%, transparent);
  outline-offset: 3px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(136, 100, 200, 0.25);
  border: 0;
  padding: 0;
  appearance: none;
  cursor: pointer;
}

.dot--active {
  background: rgba(136, 100, 200, 0.9);
}

.dots--testimonial .dot {
  width: 8px;
  height: 8px;
  background: rgba(136, 100, 200, 0.35);
}

.dots--testimonial .dot--active {
  width: 14px;
  height: 14px;
  background: transparent;
  border: 2px solid color-mix(in srgb, var(--primary-light) 85%, rgba(255, 255, 255, 0));
  position: relative;
}

.dots--testimonial .dot--active::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 999px;
  background: rgba(136, 100, 200, 0.7);
}

/* Testimonial dots animations: grow/shrink to indicate movement */
.dots--testimonial .dot {
  transition: transform 240ms ease;
  transform-origin: center;
}

/* Container-directed sliding animations (keep center visually anchored) */
.dots--testimonial.dots--slide-right .dot:nth-child(2) {
  transform: scale(0.9);
}
.dots--testimonial.dots--slide-right .dot:nth-child(3) {
  transform: translateX(-7px) scale(1.22);
}

.dots--testimonial.dots--slide-left .dot:nth-child(2) {
  transform: scale(0.9);
}
.dots--testimonial.dots--slide-left .dot:nth-child(1) {
  transform: translateX(7px) scale(1.22);
}

/* Spaces (screenshot-style showcase) */

.spaces-showcase__title {
  letter-spacing: 0.06em;
}

.spaces-showcase {
  position: relative;
  margin: 18px auto 0;
  height: clamp(240px, 34vw, 380px);
  width: min(980px, 100%);
  --spaces-center-width: min(720px, 92%);
  --spaces-nav-half: 22px;
}

.spaces-showcase__nav {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(90, 47, 146, 0.35);
  background: #A967AA;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 6;
  box-shadow: 0 8px 18px rgba(19, 10, 28, 0.12);
}

.spaces-showcase__nav--prev {
  left: calc(50% - (var(--spaces-center-width) / 2));
}

.spaces-showcase__nav--next {
  left: calc(50% + (var(--spaces-center-width) / 2));
}

.spaces-showcase__nav:hover {
  background: #A967AA;
}

.spaces-showcase__nav:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--primary-light) 70%, transparent);
  outline-offset: 3px;
}

.spaces-showcase__nav i {
  font-size: 16px;
  line-height: 1;
}

.spaces-showcase__item {
  position: absolute;
  inset: 0;
  margin: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 0;
  padding: 0;
  background: transparent;
  transition:
    transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 420ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.spaces-showcase__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: center;
}

.spaces-showcase__label {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: #fff;
  font-family: var(--font-title);
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease;
  z-index: 2;
}

.spaces-showcase__label::before {
  content: "";
  position: absolute;
  left: -18px;
  bottom: -12px;
  width: 260px;
  height: 120px;
  background: radial-gradient(circle at left bottom, rgba(94, 37, 104, 0.75), transparent 72%);
  z-index: -1;
}

.spaces-showcase__item--center .spaces-showcase__label {
  opacity: 1;
}

.spaces-showcase__item--no-anim {
  transition: none !important;
}


@media (prefers-reduced-motion: reduce) {
  .spaces-showcase__item {
    transition: none !important;
  }
}

.spaces-showcase__item:focus-visible {
  outline: 2px solid rgba(136, 100, 200, 0.55);
  outline-offset: 4px;
}

.spaces-showcase__item--center {
  width: min(720px, 92%);
  z-index: 3;
  transform: translateY(0) scale(1);
  cursor: pointer;
}

.spaces-showcase__item--left1,
.spaces-showcase__item--right1 {
  width: min(610px, 80%);
  z-index: 2;
  opacity: 0.9;
  filter: blur(2px);
  cursor: pointer;
}

.spaces-showcase__item--left2,
.spaces-showcase__item--right2 {
  width: min(560px, 76%);
  z-index: 1;
  filter: blur(7px);
  pointer-events: none;
}

.spaces-showcase__item--left1 {
  transform: translateX(-40%) scale(0.96);
}

.spaces-showcase__item--right1 {
  transform: translateX(40%) scale(0.96);
}

.spaces-showcase__item--left2 {
  transform: translateX(-64%) scale(0.92);
}

.spaces-showcase__item--right2 {
  transform: translateX(64%) scale(0.92);
}

.spaces-showcase__item--left1::after,
.spaces-showcase__item--right1::after,
.spaces-showcase__item--left2::after,
.spaces-showcase__item--right2::after {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--primary) 22%, rgba(255, 255, 255, 0));
}

.dots--spaces {
  margin-top: 28px;
}

.dots--spaces .dot:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--primary-light) 70%, transparent);
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .spaces-showcase {
    height: clamp(220px, 56vw, 340px);
    --spaces-nav-half: 18px;
  }

  .spaces-showcase__nav {
    width: 36px;
    height: 36px;
  }

  .spaces-showcase__item--left1,
  .spaces-showcase__item--right1,
  .spaces-showcase__item--left2,
  .spaces-showcase__item--right2 {
    display: none;
  }

  .spaces-showcase__item--center {
    width: 100%;
  }
}

/* Team */
.section--people {
  background: linear-gradient(
    to top,
    color-mix(in srgb, #E7E0F4 60%, transparent),
    transparent
  );
}

.team {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.person {
  --accent: var(--primary-light);
  position: relative;
  border-radius: 18px;
  border: 2px solid color-mix(in srgb, var(--accent) 45%, rgba(255, 255, 255, 0));
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.person::before {
  content: none;
}

.person--purple {
  --accent: var(--primary-light);
}

.person--orange {
  --accent: var(--orange);
}

.person--green {
  --accent: var(--green);
}

.person__top {
  padding: 14px 14px 0;
}

.person__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, rgba(255, 255, 255, 0));
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.person__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.person__name {
  margin: 0;
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  vertical-align: middle; 
}

.person__role {
  margin-top: 6px;
  color: rgba(36, 26, 46, 0.6);
  font-weight: 700;
  font-size: 12px;
  text-align: center;
}

.person__hours {
  margin-top: 6px;
  color: rgba(36, 26, 46, 0.56);
  font-weight: 700;
  font-size: 11px;
  text-align: center;
}

.person__divider {
  height: 1px;
  background: color-mix(in srgb, var(--accent) 30%, rgba(255, 255, 255, 0));
  margin: 12px 0 0;
}

.person__bio {
  margin: 12px 0 0;
  color: rgba(36, 26, 46, 0.78);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.person__link {
  display: inline-block;
  margin-top: auto;
  padding-top: 14px;
  font-weight: 900;
  color: var(--accent);
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  text-align: center;
}

.person__link:hover {
  text-decoration: underline;
}

/* CTA */
.cta {
  padding: 52px 0 0;
  background: transparent;
  color: var(--primary);
}

.cta__inner {
  text-align: center;
}

.cta__title {
  margin: 0;
  font-size: clamp(18px, 1.2vw + 14px, 28px);
  font-weight: bold;
  padding-bottom: 10px;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.cta__rule {
  width: min(520px, 100%);
  height: 1px;
  margin: 12px auto;
  background: rgba(94, 37, 104, 0.35);
}

.cta__meta {
  margin: 10px 0 0;
  color: rgba(94, 37, 104, 0.9);
  font-weight: 600;
  font-size: 14px;
}

.cta__meta-link {
  color: inherit;
  text-decoration: none;
}

.cta__meta-link:hover {
  text-decoration: underline;
}

.cta__follow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta__follow-text {
  font-family: var(--font-title);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
  color: rgba(94, 37, 104, 0.9);
}

.cta__social {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.cta__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  text-decoration: none;
  font-weight: 900;
  font-size: 14px;
  color: rgba(94, 37, 104, 0.9);
}

.cta__social-link:hover {
  text-decoration: none;
  opacity: 0.8;
}

.cta__social-link i {
  font-size: 16px;
  line-height: 1;
}

.cta__tag {
  margin-top: 18px;
  margin-bottom: -25px;
  text-transform: none;
  font-weight: bold;
  font-size: clamp(32px, 8vw, 75px);
  color: rgba(136, 100, 200, 0.5);
}

/* Footer */
.site-footer {
  border-top: 0;
  background: var(--primary);
}

.site-footer__inner {
  padding: 14px 0;
}

.site-footer__copy {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive */
@media (max-width: 980px) {
  .header__row {
    grid-template-columns: 1fr auto;
    justify-items: center;
  }

  .brand {
    justify-self: start;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .nav {
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    grid-column: 1 / -1;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    transition: max-height 200ms ease, opacity 200ms ease;
  }

  .nav.is-open {
    max-height: 320px;
    opacity: 1;
    pointer-events: auto;
  }

  .btn--primary {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "left"
      "right"
      "media";
  }

  .hero {
    padding: 24px 0 36px;
  }

  .hero__middle {
    display: none;
  }

  .hero__right {
    padding-top: 0;
  }

  .strip {
    --strip-width-landscape: clamp(220px, 72vw, 320px);
    --strip-height-portrait: clamp(200px, 60vw, 300px);
  }

  .pill-grid {
    grid-template-columns: 1fr;
  }

  .offering-card,
  .offering-card--media-left {
    grid-template-columns: 1fr;
  }

  .offering-card__media {
    order: 0;
  }

  .offering-card__text {
    order: 1;
  }

  .offering-card__list--two-col {
    columns: 1;
  }

 

  .team {
    grid-template-columns: 1fr;
  }

  .quote__card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .quote__media {
    min-height: 220px;
  }

  .quote__rule {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }

  .strip__track {
    animation: none !important;
    transform: none !important;
  }
}

/* Lightbox (event image popup) */
.lightbox[hidden] {
  display: none !important;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 18px;
  animation: lightbox-fade-in 180ms ease both;
}

@keyframes lightbox-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(19, 10, 28, 0.62);
}

.lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100vw - 32px));
  max-height: calc(100vh - 64px);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  box-shadow:
    0 20px 60px rgba(19, 10, 28, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  overflow: hidden;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  animation: lightbox-dialog-in 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes lightbox-dialog-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox,
  .lightbox__dialog {
    animation: none !important;
  }
}

.lightbox__text {
  width: min(720px, 100%);
  text-align: center;
  margin-bottom: 10px;
  padding: 0 10px;
}

.lightbox__title {
  margin: 20px 0;
  font-size: 34px;
  color: var(--primary);
  text-transform: uppercase;
}

.lightbox__body {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: var(--large-para-size);
  line-height: 1.5;
}

.lightbox__img {
  display: block;
  width: min(780px, 100%);
  height: auto;
  max-height: min(76vh, calc(100vh - 200px));
  object-fit: contain;
  border-radius: var(--radius-md);
}


.lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(136, 100, 200, 0.28);
  background: rgba(255, 255, 255, 0.82);
  color: rgba(36, 26, 46, 0.9);
  font-size: 28px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.95);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(136, 100, 200, 0.28);
  background: #A967AA;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}

.lightbox__nav--prev {
  left: 12px;
}

.lightbox__nav--next {
  right: 12px;
}

.lightbox__nav:hover {
  background: #A967AA;
}

.lightbox__nav:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--primary-light) 70%, transparent);
  outline-offset: 3px;
}

.lightbox__nav i {
  font-size: 16px;
  line-height: 1;
}

@media (max-width: 720px) {
  .lightbox__nav {
    width: 36px;
    height: 36px;
  }

  .lightbox__nav--prev {
    left: 8px;
  }

  .lightbox__nav--next {
    right: 8px;
  }
}

body.is-lightbox-open {
  overflow: auto; /* keep the scrollbar visible */
}

/* Keep nav glass effect visible when lightbox is open */
body.is-lightbox-open .site-header {
  backdrop-filter: blur(10px);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.78),
    rgba(255, 255, 255, 0.62)
  );
  border-bottom-color: rgba(136, 100, 200, 0.14);
  box-shadow: 0 10px 24px rgba(19, 10, 28, 0.1);
}

/* JotForm modal should allow scrolling inside the dialog */
#jotformModal .lightbox__dialog {
  overflow: auto;
}

#jotformModal .formbox__content {
  width: 100%;
}

#jotformModal iframe {
  display: block;
  width: 100%;
  height: min(76vh, calc(100vh - 200px));
  border: 0;
  border-radius: var(--radius-md);
}

/* JotForm loader overlay */
#jotformModal .formbox__loader[hidden] {
  display: none !important;
}

#jotformModal .formbox__content {
  position: relative;
}

#jotformModal .formbox__loader {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(2px);
  z-index: 2;
  transition: opacity 180ms ease;
}

#jotformModal .formbox__spinner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 4px solid rgba(0,0,0,0.08);
  border-top-color: var(--primary);
  animation: spinner-rotate 900ms linear infinite;
}


/* Person modal details */
#personModal .lightbox__dialog {
  overflow: auto;
}

.person-card {
  width: 100%;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
  align-items: start;
}

.person-card__media {
  width: 100%;
}

.person-card__img {
  display: block;
  width: 100%;
  object-fit: cover;
  height: 350px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(136, 100, 200, 0.18);
}

.person-card__content {
  display: flex;
  flex-direction: column;
}

.person-card__name {
  margin: 0;
  font-family: var(--font-title);
  font-size: 28px;
  color: var(--primary);
  text-transform: uppercase;
}

.person-card__role,
.person-card__hours {
  margin-top: 6px;
  color: rgba(36, 26, 46, 0.7);
  font-weight: 700;
  font-size: 12px;
}

.person-card__divider {
  height: 1px;
  background: rgba(136, 100, 200, 0.28);
  margin: 12px 0 10px;
}

.person-card__bio {
  margin: 0;
  font-size: var(--para-size);
  color: rgba(36, 26, 46, 0.85);
}

@media (max-width: 720px) {
  .person-card {
    grid-template-columns: 1fr;
  }
}

/* Back to Top */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(136, 100, 200, 0.28);
  background: var(--primary-light);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  z-index: 150;
  transition: opacity 180ms ease, transform 180ms ease, background 160ms ease;
}

.back-to-top:hover {
  background: var(--primary);
}

.back-to-top:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--primary-light) 70%, transparent);
  outline-offset: 3px;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: none !important;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .nav {
    gap: 10px;
  }

  .nav__link {
    font-size: 0.9rem;
    padding: 6px 6px;
  }

  .btn--primary {
    width: 100%;
    max-width: 260px;
  }

  .offerings-panel__tabs {
    position: static;
    transform: none;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 10px;
  }

  .offerings-panel {
    padding-top: 22px;
  }

  .offerings-tab {
    padding: 8px 24px;
    font-size: 13px;
  }

  .pill-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 14px;
    padding: 6px 4px 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .pill-grid::-webkit-scrollbar {
    height: 6px;
  }

  .pill-grid::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--primary-light) 30%, transparent);
    border-radius: 999px;
  }

  .pill {
    flex: 0 0 82%;
    min-width: 260px;
    scroll-snap-align: center;
  }

  .pill--image {
    flex: 0 0 72%;
    min-width: 240px;
    border-radius: var(--radius-lg);
    overflow: hidden;
  }

  .pill--image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4 / 3;
  }

  .quote__text--clamp {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
  }

  .quote__content.is-expanded .quote__text--clamp {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
  }
}

@media (min-width: 721px) {
  .quote__toggle {
    display: none;
  }
}

