:root {
  /* Brand — Purple Text (#7F61C7) & Yellow Buttons (#F9E132) */
  --brand-purple: #7F61C7;
  --press-article-bg: url('../assets/img/daily-news-epaper.jpg');
  --press-pdf-bg: url('../assets/img/newsletter.jpeg');
  --brand-purple-dark: #5C46A1;
  --brand-purple-light: #9B7FD4;
  --brand-yellow: #F9E132;
  --brand-black: #1A1A1A;
  --brand-white: #FFFFFF;
  --brand-gray: #6B6B8A;
  --brand-gray-light: #F8F7FC;

  --rgb-purple: 127, 97, 199;
  --rgb-yellow: 249, 225, 50;
  --rgb-lavender: 155, 127, 212;
  --rgb-lilac: 127, 97, 199;

  /* Text hierarchy */
  --ink: #1a1a2e;
  --ink-mid: #3d3d5c;
  --ink-soft: #5a5a7a;
  --muted: #6B6B8A;

  /* Purple accents (legacy sage aliases) */
  --sage: var(--brand-purple);
  --sage-dk: var(--brand-purple-dark);
  --sage-lt: var(--brand-purple-light);
  --sage-pale: #F3EEFB;
  --sage-ghost: var(--brand-gray-light);

  /* Yellow — buttons & highlights */
  --btn-yellow: var(--brand-yellow);
  --gold: var(--brand-yellow);
  --gold-lt: #FDF5A8;
  --gold-pale: #FEFCE8;
  --gold-ghost: #FFFEEA;

  /* Surfaces & backgrounds */
  --cream: var(--brand-gray-light);
  --off-white: #FFFFFF;
  --surface: var(--brand-white);
  --surface-alt: #F3F1FA;
  --surface-muted: #EEEBF8;
  --surface-elevated: var(--brand-white);
  --beige: var(--cream);

  /* Lavender aliases (used across components) */
  --brand-lavender: var(--brand-purple-light);
  --brand-lilac: var(--brand-purple-light);
  --lavender: var(--brand-purple-light);
  --lav-ghost: var(--sage-pale);
  --lav-pale: #EDE6F8;
  --purple-dk: var(--brand-purple-dark);
  --white: var(--brand-white);
  --black: var(--brand-black);

  /* Borders & shadows */
  --border: rgba(var(--rgb-purple), 0.15);
  --border-yellow: var(--btn-yellow);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.12);
  --shadow-purple: 0 8px 32px rgba(var(--rgb-purple), 0.14);
  --shadow-yellow: 0 8px 28px rgba(var(--rgb-yellow), 0.28);
  --ease: cubic-bezier(.22, 1, .36, 1);

  /* Accent palette */
  --purple: var(--brand-purple);
  --lilac: var(--brand-purple-light);
  --yellow: var(--brand-yellow);
  --accent-violet: var(--brand-purple);
  --accent-gold: var(--brand-yellow);
  --accent-teal: var(--brand-purple);
  --accent-rose: #B6A6E0;

  /* Radius tokens */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
  line-height: 1.6;
}

::selection {
  background: rgba(var(--rgb-yellow), 0.45);
  color: var(--ink);
}

a {
  color: var(--brand-purple);
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--brand-purple-dark);
}

img {
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 2px solid var(--brand-purple);
  outline-offset: 3px;
}

.cursor-glow,
.cursor-gem {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity .25s ease, width .35s var(--ease), height .35s var(--ease), background .35s ease, box-shadow .35s ease, border-radius .35s ease, transform .25s ease, filter .35s ease;
}

.cursor-glow {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(var(--rgb-purple), .25), rgba(var(--rgb-yellow), .1) 40%, transparent 70%);
  mix-blend-mode: multiply;
  filter: blur(8px);
}

.cursor-gem {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: var(--brand-purple);
  box-shadow: 0 0 15px rgba(var(--rgb-purple), .6), 0 0 30px rgba(var(--rgb-yellow), .4);
  transform: translate3d(-50%, -50%, 0) rotate(45deg);
  border: 1.5px solid var(--brand-yellow);
}

body.cursor-enhanced {
  cursor: none;
}

body.cursor-enhanced a,
body.cursor-enhanced button,
body.cursor-enhanced [role="button"],
body.cursor-enhanced .svc-card,
body.cursor-enhanced .team-card,
body.cursor-enhanced .tile,
body.cursor-enhanced .cert-header,
body.cursor-enhanced .submit-btn {
  cursor: none;
}

body.cursor-enhanced :is(input, textarea, select, option, label) {
  cursor: auto;
}

/* Ensure native pointer shows within the registration modal */
body.cursor-enhanced .event-modal button,
body.cursor-enhanced .event-modal .event-modal-submit,
body.cursor-enhanced .event-modal .submit-btn {
  cursor: pointer;
}

body.cursor-enhanced.cursor-visible .cursor-glow,
body.cursor-enhanced.cursor-visible .cursor-gem {
  opacity: 1;
}

body.cursor-enhanced.cursor-hovering .cursor-glow {
  width: 92px;
  height: 92px;
  border-radius: 32px;
  background: radial-gradient(circle at 35% 35%, rgba(var(--rgb-yellow), .35), rgba(var(--rgb-purple), .2) 48%, rgba(13, 12, 20, 0) 78%);
}

body.cursor-enhanced.cursor-hovering .cursor-gem {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  box-shadow: 0 0 32px rgba(var(--rgb-yellow), .45);
  transform: translate3d(-50%, -50%, 0) rotate(45deg) scale(1.15);
}

body.cursor-enhanced.cursor-pressing .cursor-glow {
  width: 54px;
  height: 54px;
}

body.cursor-enhanced.cursor-pressing .cursor-gem {
  transform: translate3d(-50%, -50%, 0) rotate(45deg) scale(.82);
}

body.cursor-enhanced.cursor-native {
  cursor: auto;
}

body.cursor-enhanced.cursor-native .cursor-glow,
body.cursor-enhanced.cursor-native .cursor-gem {
  opacity: 0;
}

.scroll-line {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-purple), var(--brand-yellow), var(--brand-purple), var(--brand-yellow));
  transition: width .1s;
}

#scrollTopBtn {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 0;
  border: 2px solid var(--brand-yellow);
  background: var(--brand-yellow);
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(var(--rgb-yellow), .4);
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}

#scrollTopBtn:hover {
  background: var(--brand-white);
  border-color: var(--brand-white);
  color: var(--brand-purple);
  transform: translateY(-2px);
}

.scroll-top-visible {
  display: inline-flex !important;
}

.testimonials {
  padding: clamp(64px, 8vw, 120px) clamp(20px, 5vw, 72px);
  position: relative;
  overflow: hidden;
}

.testimonials .section-title {
  margin-bottom: 24px;
}

.testimonials .section-title em {
  color: var(--brand-purple);
  font-style: italic;
}

.testimonials .section-body {
  max-width: 640px;
  margin-bottom: 0;
}

.testimonials [data-slider-count] {
  color: var(--brand-purple);
  font-weight: 600;
}
.testimonials-bg-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.t-orb-1 {
  position: absolute;
  top: -10%; right: -5%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(var(--rgb-purple),.05) 0%, transparent 70%);
  border-radius: 50%;
}
.t-orb-2 {
  position: absolute;
  bottom: -10%; left: -5%;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(var(--rgb-yellow),.05) 0%, transparent 70%);
  border-radius: 50%;
}
.testimonials-head {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 32px;
}

.testimonials-head .eyebrow {
  justify-content: center;
}

.testimonials-head .eyebrow::before {
  width: 28px;
  height: 2px;
  background: var(--brand-yellow);
}

.testimonials-copy {
  max-width: 720px;
  margin: 0 auto;
}

.testimonials-head .section-body {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.t-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.t-highlight {
  background: var(--brand-white);
  border: 2px solid var(--brand-yellow);
  border-radius: 10px;
  padding: 22px 20px;
  box-shadow: 0 4px 20px rgba(var(--rgb-yellow), .15);
}
.t-highlight-value {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  line-height: 1;
  color: var(--brand-purple);
  margin-bottom: 10px;
}
.t-highlight-label {
  display: block;
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
}
.t-feature-card {
  position: relative;
  z-index: 2;
  margin-top: 32px;
  margin-left: auto;
  margin-right: auto;
  max-width: 920px;
  padding: 20px 22px 18px;
  border-radius: 10px;
  border: 2px solid var(--brand-yellow);
  background: var(--brand-purple);
  color: var(--brand-white);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.t-feature-card::before {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--rgb-yellow), .22) 0%, rgba(var(--rgb-yellow), 0) 70%);
}
.t-feature-top,
.t-feature-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.t-feature-top {
  margin-bottom: 12px;
}
.t-slider-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.t-slider-track {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 0;
}
.t-slide {
  grid-area: 1 / 1;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0.45s ease;
  z-index: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.t-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
.t-slide[hidden] {
  display: none !important;
}
.t-slide-top {
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
}
.t-slide-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.t-feature-content {
  position: relative;
  z-index: 1;
}
.t-pill,
.t-tag,
.t-meta-chip,
.t-group-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.t-pill {
  padding: 7px 12px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .92);
}
.t-tag-light {
  padding: 6px 11px;
  background: var(--brand-yellow);
  border: 1px solid var(--brand-yellow);
  color: var(--brand-purple);
}
.t-feature-date,
.t-date,
.t-group-count {
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
}
.t-feature-date {
  color: rgba(255, 255, 255, .72);
}
.t-feature-quote-mark {
  color: var(--brand-purple);
  margin-bottom: 6px;
}
.t-feature-quote-mark svg {
  width: 24px;
  height: 24px;
}
.t-feature-quote {
  margin: 0;
  font-family: 'Jost', sans-serif;
  font-size: clamp(15px, 1.75vw, 18px);
  line-height: 1.5;
  color: var(--brand-white);
}
.t-feature-card .t-meta-row {
  gap: 6px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.t-feature-card .t-meta-chip {
  padding: 6px 10px;
}
.t-feature-footer {
  margin-top: 10px;
}
.t-slider-controls {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.t-slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s ease, border-color .3s ease;
}
.t-slider-btn:hover {
  transform: translateY(-2px);
  background: var(--brand-yellow);
  border-color: var(--brand-purple);
  color: var(--brand-purple);
}
.t-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  flex-wrap: wrap;
}
.t-slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, .24);
  cursor: pointer;
  padding: 0;
  transition: transform .3s var(--ease), background .3s ease, width .3s ease;
}
.t-slider-dot.is-active {
  width: 22px;
  background: var(--brand-yellow);
}
.t-slider-dot:focus-visible,
.t-slider-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .92);
  outline-offset: 3px;
}
.t-groups {
  position: relative;
  z-index: 2;
  margin-top: 32px;
  display: grid;
  gap: 32px;
}
.t-group {
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, .98);
}
.t-group-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.t-group-kicker {
  padding: 8px 12px;
  background: rgba(var(--rgb-purple), .08);
  color: var(--purple-dk);
}
.t-group-note {
  max-width: 660px;
  margin-top: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.t-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 0;
  position: relative;
  z-index: 2;
}
.t-card {
  background: rgba(255, 255, 255, .98);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all .4s var(--ease);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.t-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sage), var(--gold), var(--sage-lt));
  opacity: 0;
  transition: opacity .4s ease;
}
.t-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(var(--rgb-yellow), .2);
  border-color: var(--brand-purple);
  background: linear-gradient(180deg, #fff 0%, var(--gold-ghost) 100%);
}
.t-card:hover::before {
  opacity: 1;
}
.t-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.t-tag {
  padding: 8px 12px;
  background: var(--brand-yellow);
  color: var(--brand-purple);
}
.t-quote-mark {
  margin-bottom: 20px;
  color: var(--white);
  opacity: 0.2;
}
.t-quote-mark svg {
  width: 32px;
  height: 32px;
}
.t-quote {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  font-weight: 400;
  position: relative;
  z-index: 1;
}
.t-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.t-meta-chip {
  padding: 8px 12px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .82);
}
.t-card .t-meta-chip {
  background: var(--lav-ghost);
  border-color: rgba(var(--rgb-purple), .12);
  color: var(--sage-dk);
}
.t-author {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
}
.t-author-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--sage), var(--sage-lt));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .08em;
  flex-shrink: 0;
  text-transform: uppercase;
}
.t-author-feature {
  padding-top: 0;
  border-top: 0;
}
.t-author-feature .t-author-avatar {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: var(--ink);
}
.t-feature-card .t-author-feature {
  gap: 12px;
}
.t-feature-card .t-author-feature .t-author-avatar {
  width: 42px;
  height: 42px;
  font-size: 13px;
}
.t-feature-card .t-author-feature .t-author-name {
  font-size: 15px;
}
.t-author-feature .t-author-name {
  color: #fff;
}
.t-author-feature .t-author-role {
  color: rgba(255, 255, 255, .72);
  font-size: 10px;
}
.t-author-info {
  flex: 1;
}
.t-author-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  font-family: 'Jost', sans-serif;
}
.t-author-role {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: 2px;
  font-weight: 400;
}

/* ─── GALLERY SECTION (yellow = hero --brand-yellow) ───────────────────── */
.gallery {
  position: relative;
  overflow: hidden;
  padding: 80px 60px;
  background: var(--brand-white);
 
}

.gallery::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--rgb-yellow), .5) 0%, rgba(var(--rgb-lilac), .22) 48%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.gallery::after {
  content: '◆';
  position: absolute;
  top: 48px;
  left: 72px;
  font-size: 11px;
  color: var(--brand-purple);
  z-index: 1;
  pointer-events: none;
  line-height: 1;
}

.gallery-header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-header .eyebrow {
  font-size: 10.5px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--brand-purple);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-weight: 600;
}

.gallery-header .eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--brand-yellow);
}

.gallery-header .section-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.28;
  margin-bottom: 20px;
  color: var(--brand-purple);
}

.gallery-header .section-title em {
  font-style: italic;
  color: var(--brand-purple);
}

.gallery-header .section-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 600px;
  margin: 0 auto;
}

.gallery-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: 160px;
  gap: 10px;
  margin-bottom: 48px;
}

.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item:nth-child(2) {
  grid-column: span 1;
  grid-row: span 1;
}

.gallery-item:nth-child(3) {
  grid-column: span 1;
  grid-row: span 2;
}

.gallery-item:nth-child(4) {
  grid-column: span 1;
  grid-row: span 2;
}

.gallery-item:nth-child(5) {
  grid-column: span 1;
  grid-row: span 1;
}

.gallery-item:nth-child(6) {
  grid-column: span 1;
  grid-row: span 1;
}

.gallery-item:nth-child(7) {
  grid-column: span 1;
  grid-row: span 1;
}

.gallery-item:nth-child(8) {
  grid-column: span 1;
  grid-row: span 1;
}

.gallery-item:nth-child(9) {
  grid-column: span 1;
  grid-row: span 1;
}

.gallery-item:nth-child(10) {
  grid-column: span 1;
  grid-row: span 1;
}

.gallery-item:nth-child(11) {
  grid-column: span 1;
  grid-row: span 1;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 12px;
  animation: fadeInUp 0.6s var(--ease) forwards;
  opacity: 0;
  box-shadow: 0 6px 18px rgba(14, 18, 41, 0.08);
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
.gallery-item:nth-child(7) { animation-delay: 0.7s; }
.gallery-item:nth-child(8) { animation-delay: 0.8s; }
.gallery-item:nth-child(9) { animation-delay: 0.9s; }
.gallery-item:nth-child(10) { animation-delay: 1.0s; }
.gallery-item:nth-child(11) { animation-delay: 1.1s; }
.gallery-item:nth-child(12) { animation-delay: 1.2s; }

.gallery-img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.gallery-overlay {
  display: none;
}

.gallery-content {
  width: 100%;
}

.gallery-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand-purple);
  margin-bottom: 8px;
  font-weight: 600;
}

.gallery-category::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--brand-yellow);
}

.gallery-overlay h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.gallery-cta-wrapper {
  position: relative;
  z-index: 1;
  text-align: center;
}

.gallery-cta-wrapper .btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  padding: 14px 32px;
  background: var(--brand-yellow);
  color: var(--ink);
  border-color: var(--brand-purple);
  font-weight: 600;
}

.gallery-cta-wrapper .btn-solid:hover {
  background: var(--brand-white);
  border-color: var(--brand-white);
  color: var(--brand-purple);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── CERTIFICATION DETAIL PAGE ─────────────────────────────────────── */
.cert-detail-hero {
  position: relative;
  min-height: clamp(280px, 42vh, 460px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--brand-purple-dark);
  color: var(--brand-white);
  text-align: center;
}

.cert-detail-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cert-detail-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.cert-detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 20, 70, 0.55) 0%, rgba(36, 20, 70, 0.82) 100%);
}

.cert-detail-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 48px 24px;
}

.cert-detail-eyebrow {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--brand-yellow);
  margin-bottom: 14px;
  font-weight: 600;
}

.cert-detail-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 10px;
}

.cert-detail-tag {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.cert-detail-section {
  padding: clamp(56px, 8vw, 88px) 20px;
  background: var(--brand-white);
}

.cert-detail-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.cert-detail-grid {
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}

.cert-detail-side {
  position: sticky;
  top: 112px;
  align-self: start;
}

.cert-detail-side-card {
  position: relative;
}

.cert-detail-faq-section {
  margin-top: 28px;
}

.cert-detail-faq-section .cert-detail-card {
  padding-top: clamp(20px, 3vw, 28px);
}

.cert-detail-faq-section .cert-faq-list {
  display: grid;
  grid-template-columns: 1fr;
}

.cert-detail-card {
  background: var(--brand-white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: clamp(18px, 3vw, 28px);
}

.cert-detail-block + .cert-detail-block,
.cert-detail-split + .cert-detail-block,
.cert-detail-block + .cert-detail-split,
.cert-detail-split + .cert-detail-faq,
.cert-detail-faq + .cert-detail-cta {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.cert-detail-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--brand-purple);
  margin-bottom: 18px;
}

.cert-detail-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--brand-yellow);
  flex-shrink: 0;
}

.cert-detail-content .cert-detail-copy p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
  margin-bottom: 16px;
}

.cert-detail-content .cert-detail-copy p:last-child {
  margin-bottom: 0;
}

.cert-detail-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.cert-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(var(--rgb-lavender), 0.12);
  border-left: 3px solid var(--brand-yellow);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}

.cert-detail-list li::before {
  content: '✓';
  color: var(--brand-purple);
  font-weight: 700;
  flex-shrink: 0;
}

.cert-detail-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.cert-detail-panel {
  padding: 24px;
  background: rgba(var(--rgb-lavender), 0.08);
  border: 1px solid rgba(var(--rgb-purple), 0.08);
}

.cert-detail-panel--highlight {
  background: rgba(var(--rgb-yellow), 0.12);
  border-color: rgba(var(--rgb-yellow), 0.35);
}

.cert-detail-panel p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}

.cert-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cert-faq-item {
  border: 1px solid rgba(var(--rgb-purple), 0.12);
  background: rgba(var(--rgb-lavender), 0.08);
  overflow: hidden;
}

.cert-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-purple);
  font-family: 'Jost', sans-serif;
}

.cert-faq-icon {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.cert-faq-answer {
  display: none;
  padding: 0 22px 20px;
}

.cert-faq-answer p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.cert-faq-item.is-open .cert-faq-answer {
  display: block;
}

.cert-faq-item.is-open .cert-faq-icon {
  transform: rotate(180deg);
}

.cert-detail-cta {
  text-align: center;
}

.cert-detail-cta h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  color: var(--brand-purple);
  margin-bottom: 24px;
}

.cert-detail-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 1024px) {
  .cert-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .cert-detail-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cert-detail-cta-actions .btn-solid,
  .cert-detail-cta-actions .btn-ghost {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ─── GALLERY PAGE ──────────────────────────────────────────────────── */
.gallery-page-hero {
  position: relative;
  min-height: clamp(300px, 40vh, 500px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--brand-purple-dark);
  color: var(--brand-white);
  text-align: center;
  border-bottom: 4px solid var(--brand-yellow);
}

.gallery-page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.gallery-page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: brightness(0.7);
}

.gallery-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--rgb-purple), 0.45) 0%, rgba(var(--rgb-purple), 0.75) 100%);
  z-index: 1;
}

.gallery-page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 24px;
}

.gallery-page-hero-content p {
  font-size: 16px;
  opacity: 0.9;
  max-width: 500px;
  margin: 0 auto;
}

.gallery-page {
  padding: 80px 60px;
  background: var(--cream);
}

.gallery-page-container {
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--brand-purple);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  transition: all 0.3s var(--ease);
  font-weight: 600;
}

.filter-btn:hover {
  border-color: var(--brand-purple);
  color: var(--brand-purple-dark);
}

.filter-btn.active {
  background: var(--btn-yellow);
  color: var(--ink);
  border-color: var(--btn-yellow);
  font-weight: 600;
}

.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 320px;
  gap: 12px;
  margin-bottom: 80px;
}

.gallery-page-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-page-item:nth-child(3) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-page-item:nth-child(5) {
  grid-row: span 2;
}

.gallery-page-item:nth-child(8) {
  grid-column: span 2;
}

.gallery-page-item:nth-child(10) {
  grid-column: span 2;
}

.gallery-page-item:nth-child(12) {
  grid-row: span 2;
}

.gallery-page-item:nth-child(13) {
  grid-column: span 2;
}

.gallery-page-item:nth-child(15) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-page-item {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  cursor: pointer;
  animation: fadeInUp 0.6s var(--ease) forwards;
  opacity: 0;
  transition: all 0.3s var(--ease);
}

.gallery-page-item.show {
  opacity: 1;
}

.gallery-page-img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-page-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-page-overlay {
  display: none;
}

.gallery-page-content {
  width: 100%;
}

.gallery-page-category {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
  font-weight: 600;
}

.gallery-page-overlay h3 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

/* ─── PREMIUM GALLERY PAGE ──────────────────────────────────────────────────── */
.gallery-page-premium {
  padding: 80px 60px;
  background: var(--cream);
}

.gallery-page-container-premium {
  max-width: 1600px;
  margin: 0 auto;
}

.gallery-filters-premium {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filter-btn-premium {
  padding: 10px 24px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--brand-purple);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  transition: all 0.3s var(--ease);
  font-weight: 600;
}

.filter-btn-premium:hover {
  border-color: var(--brand-purple);
  color: var(--brand-purple-dark);
}

.filter-btn-premium.active {
  background: var(--btn-yellow);
  color: var(--ink);
  border-color: var(--btn-yellow);
}

.gallery-page-grid-premium {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  padding: 20px;
  margin-bottom: 80px;
}

.gallery-page-item-premium {
  animation: fadeInUp 0.6s var(--ease) forwards;
  opacity: 0;
}

.gallery-page-item-premium:nth-child(1) { animation-delay: 0.1s; }
.gallery-page-item-premium:nth-child(2) { animation-delay: 0.2s; }
.gallery-page-item-premium:nth-child(3) { animation-delay: 0.3s; }
.gallery-page-item-premium:nth-child(4) { animation-delay: 0.4s; }
.gallery-page-item-premium:nth-child(5) { animation-delay: 0.5s; }
.gallery-page-item-premium:nth-child(6) { animation-delay: 0.6s; }
.gallery-page-item-premium:nth-child(7) { animation-delay: 0.7s; }
.gallery-page-item-premium:nth-child(8) { animation-delay: 0.8s; }
.gallery-page-item-premium:nth-child(9) { animation-delay: 0.9s; }
.gallery-page-item-premium:nth-child(10) { animation-delay: 1.0s; }
.gallery-page-item-premium:nth-child(11) { animation-delay: 1.1s; }
.gallery-page-item-premium:nth-child(12) { animation-delay: 1.2s; }
.gallery-page-item-premium:nth-child(13) { animation-delay: 1.3s; }
.gallery-page-item-premium:nth-child(14) { animation-delay: 1.4s; }
.gallery-page-item-premium:nth-child(15) { animation-delay: 1.5s; }
.gallery-page-item-premium:nth-child(16) { animation-delay: 1.6s; }

.gallery-item-premium-card {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 8px 32px rgba(var(--rgb-purple), 0.12);
  aspect-ratio: 4/3;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.gallery-item-premium-img {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-item-premium-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.gallery-page-item-premium:hover .gallery-item-premium-img img {
  transform: scale(1.05);
}

.gallery-page-item-premium:hover .gallery-item-premium-card {
  box-shadow: 0 12px 36px rgba(var(--rgb-purple), 0.18);
}

.gallery-item-premium-overlay {
  display: none;
}

.gallery-item-premium-info {
  width: 100%;
}

.gallery-item-premium-category {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
  font-weight: 600;
}

.gallery-item-premium-overlay h3 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

/* ─── VIDEO GALLERY SECTION ──────────────────────────────────────────────────── */
.gallery-top-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 24px;
}

.gallery-scroll-to-videos {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--brand-purple);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.gallery-scroll-to-videos:hover {
  background: var(--brand-purple-dark);
  transform: translateY(-2px);
  color: #fff;
}

.gallery-scroll-to-videos svg {
  animation: galleryBounceDown 1.6s ease-in-out infinite;
}

@keyframes galleryBounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.gallery-videos-divider {
 
  background: linear-gradient(90deg, var(--brand-purple-dark), var(--btn-yellow), var(--brand-purple-light));
}

.gallery-videos-section {
  padding: 80px 60px 100px;
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
  scroll-margin-top: 80px;
}

.gallery-videos-header {
  text-align: center;
  margin-bottom: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-videos-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-purple);
  font-weight: 600;
  margin-bottom: 12px;
}

.gallery-videos-header-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.gallery-videos-header h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  margin: 0;
  color: var(--ink);
}

.gallery-videos-count {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--btn-yellow);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.gallery-back-to-photos {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--brand-purple);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.2s, gap 0.2s;
}

.gallery-back-to-photos:hover {
  color: var(--brand-purple-dark);
  gap: 10px;
}

.gallery-videos-header p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
}

.gallery-videos-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.video-filter-btn {
  padding: 10px 24px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--brand-purple);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s var(--ease);
  font-weight: 600;
}

.video-filter-btn:hover {
  border-color: var(--brand-purple);
  color: var(--brand-purple-dark);
}

.video-filter-btn.active {
  background: var(--btn-yellow);
  color: var(--ink);
  border-color: var(--btn-yellow);
}

.gallery-videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 0;
}

.video-card {
  animation: fadeInUp 0.6s var(--ease) forwards;
  opacity: 0;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  background: #fff;
  border: 1px solid rgba(var(--rgb-purple), 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(var(--rgb-purple), 0.08);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(var(--rgb-purple), 0.14);
}

.video-card:nth-child(1) { animation-delay: 0.1s; }
.video-card:nth-child(2) { animation-delay: 0.2s; }
.video-card:nth-child(3) { animation-delay: 0.3s; }
.video-card:nth-child(4) { animation-delay: 0.4s; }
.video-card:nth-child(5) { animation-delay: 0.5s; }
.video-card:nth-child(6) { animation-delay: 0.6s; }
.video-card:nth-child(7) { animation-delay: 0.7s; }

.video-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 0;
  background: #1a1a1a;
  margin-bottom: 0;
  cursor: pointer;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.08);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.95;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.video-play-btn svg {
  width: 48px;
  height: 48px;
}

.video-play-btn svg circle {
  stroke: var(--ink);
}

.video-play-btn svg polygon {
  fill: var(--ink);
}

.video-card:hover .video-play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--btn-yellow);
}

.video-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.video-thumbnail--youtube {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(rgba(9, 12, 24, 0.25), rgba(9, 12, 24, 0.35)),
    url('/assets/img/video_thumbnail.jpg') center center / cover no-repeat;
}

.video-thumbnail--youtube.is-fallback {
  background:
    linear-gradient(rgba(9, 12, 24, 0.35), rgba(9, 12, 24, 0.5)),
    url('/assets/img/video_thumbnail.jpg') center center / cover no-repeat;
}

.video-thumbnail--youtube.is-fallback .youtube-logo-thumb {
  display: block;
  z-index: 2;
}

.video-thumbnail--youtube .youtube-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-thumbnail--youtube .youtube-logo-thumb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: block;
  width: 88px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.18));
  pointer-events: none;
}

.video-thumbnail--youtube.is-fallback .youtube-thumb-img {
  display: none;
}

.video-info {
  padding: 18px 20px 22px;
}

.video-category {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 8px;
  font-weight: 600;
}

.video-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.4;
}

.video-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.video-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--brand-purple);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
  text-decoration: none;
}

.video-link:hover {
  color: var(--brand-purple-dark);
  gap: 10px;
}

/* Video modal */
.video-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-modal.active {
  display: flex !important;
  opacity: 1;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.video-modal.active .video-modal-content {
  transform: scale(1);
}

.video-modal .close-modal {
  position: absolute;
  top: 16px;
  right: 20px;
  color: #fff;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  line-height: 1;
  background: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal .close-modal:hover {
  background: var(--brand-purple);
}

#videoContainer {
  width: 100%;
  height: 100%;
}

#videoModalTitle {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
}

.gallery-cta-section {
  padding: 100px 60px;
  background: linear-gradient(135deg, var(--brand-purple-dark) 0%, var(--brand-purple) 45%, var(--brand-purple-light) 100%);
  text-align: center;
}

.gallery-cta-content h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--brand-white);
}

.gallery-cta-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── PRESS RELEASE PAGE ───────────────────────────────────────────────────── */
.pr-page {
  background: var(--cream);
  min-height: 60vh;
}

.pr-top {
  position: relative;
  overflow: hidden;
  padding: 28px 40px 0;
  border-bottom: 1px solid rgba(var(--rgb-purple), 0.12);

  background:
  linear-gradient(135deg, #9b7fd473 0%, #fdf5a878 42%, var(--gold-pale) 100%);}
.pr-top::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--rgb-yellow), 0.45) 0%, rgba(var(--rgb-purple), 0.12) 45%, transparent 70%);
  pointer-events: none;
}

.pr-top::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(var(--rgb-purple), 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  opacity: 0.6;
}

.pr-top-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}

.pr-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px 40px;
  margin-bottom: 20px;
}

.pr-top-text {
  flex: 1;
  min-width: 0;
}

.pr-eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sage-dk);
  font-weight: 600;
  margin-bottom: 6px;
}

.pr-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 8px;
}

.pr-title em {
  font-style: italic;
  color: var(--brand-purple);
}

.pr-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0;
}

.pr-badges {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  padding-top: 4px;
}

.pr-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(var(--rgb-purple), 0.15);
  font-size: 12px;
  color: var(--ink-soft);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(var(--rgb-purple), 0.06);
}

.pr-badge strong {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--brand-purple);
}

.pr-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 0;
}

.pr-tab {
  padding: 10px 18px;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  margin-bottom: -1px;
}

.pr-tab:hover {
  color: var(--brand-purple);
}

.pr-tab.active {
  color: var(--brand-purple);
  font-weight: 600;
  border-bottom-color: var(--btn-yellow);
  background: rgba(255, 255, 255, 0.75);
}

.pr-content {
  position: relative;
  overflow: hidden;
  padding: 28px 40px 56px;
  background:whitesmoke;
}

.pr-content::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--rgb-purple), 0.1) 0%, transparent 68%);
  pointer-events: none;
}

.pr-content::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 280px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(var(--rgb-purple), 0.03) 0,
    rgba(var(--rgb-purple), 0.03) 1px,
    transparent 1px,
    transparent 40px
  );
  pointer-events: none;
  opacity: 0.7;
}

.pr-container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}

.pr-section {
  margin-bottom: 36px;
  transition: opacity 0.2s var(--ease);
}

.pr-section:last-child {
  margin-bottom: 0;
}

.pr-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(var(--rgb-purple), 0.1);
  border-left: 3px solid var(--btn-yellow);
  box-shadow: 0 2px 10px rgba(var(--rgb-purple), 0.05);
}

.pr-section-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}

.pr-section-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  background: var(--brand-purple);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 12px;
}

.pr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pr-card-btn {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 1px solid rgba(var(--rgb-purple), 0.12);
  background: #fff;
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(var(--rgb-purple), 0.06);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  text-decoration: none;
  color: inherit;
}

.pr-card-btn:hover {
  border-color: var(--brand-purple-light);
  box-shadow: 0 6px 20px rgba(var(--rgb-purple), 0.12);
  transform: translateY(-2px);
}

.pr-card-img {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f8f7fc;
}

.pr-card-img--article {
  background:
    linear-gradient(rgba(13, 16, 30, 0.18), rgba(13, 16, 30, 0.28)),
    var(--press-article-bg) center center / cover no-repeat;
}

.pr-card-img--pdf {
  background:
    linear-gradient(rgba(13, 16, 30, 0.18), rgba(13, 16, 30, 0.28)),
    var(--press-pdf-bg) center center / cover no-repeat;
}

.pr-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s var(--ease);
}

.pr-card-btn:hover .pr-card-img img {
  transform: scale(1.04);
}

.pr-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(var(--rgb-purple), 0.75);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.25s;
}

.pr-card-btn:hover .pr-card-overlay {
  opacity: 1;
}

.pr-card-body {
  padding: 12px 14px;
  
}

.pr-card-body h3 {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pr-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.pr-modal.active {
  display: flex;
}

.pr-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.9);
}

.pr-modal-scroll img {
  display: block;
  width: 100%;
  height: auto;
}

.pr-modal-embed {
  display: block;
  width: 100%;
  min-height: 420px;
  border: none;
  background: #fff;
}

.pr-modal-article {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 280px;
  padding: 32px 24px;
  text-align: center;
  color: var(--ink-soft);
}

.pr-modal-article svg {
  color: var(--brand-purple);
  opacity: 0.55;
}

.pr-modal-article-url {
  font-size: 13px;
  line-height: 1.5;
  word-break: break-all;
  max-width: 100%;
  margin: 0;
  color: var(--muted);
}

.pr-modal-article-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--brand-purple);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}

.pr-modal-article-btn:hover {
  background: var(--brand-purple-light);
  color: #fff;
}

.pr-card-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  color: var(--brand-purple);
  background: linear-gradient(160deg, rgba(var(--rgb-purple), 0.08), rgba(var(--rgb-yellow), 0.12));
}

.pr-card-placeholder span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pr-card-placeholder--pdf {
  color: #fff;
  background:
    linear-gradient(rgba(13, 16, 30, 0.18), rgba(13, 16, 30, 0.35)),
    var(--press-pdf-bg) center center / cover no-repeat;
}

.pr-card-placeholder--article {
  color: #fff;
  background:
    linear-gradient(rgba(13, 16, 30, 0.18), rgba(13, 16, 30, 0.35)),
    var(--press-article-bg) center center / cover no-repeat;
}

.pr-card-type-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pr-modal-panel {
  position: relative;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  animation: prModalIn 0.3s var(--ease);
}

@keyframes prModalIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.pr-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.35);
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.pr-modal-close:hover {
  background: var(--btn-yellow);
  border-color: var(--btn-yellow);
  color: var(--ink);
}

.pr-modal-scroll {
  flex: 1;
  overflow: auto;
  padding: 16px;
  background: #f5f3ef;
}

.pr-modal-scroll img {
  display: block;
  width: 100%;
  height: auto;
}

.pr-modal-caption {
  padding: 14px 18px;
 
  background: #fff;
}

.pr-modal-pub {
  display: block;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sage-dk);
  font-weight: 600;
  margin-bottom: 2px;
}

.pr-modal-caption h3 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--brand-purple);
  margin: 0;
}

@media (max-width: 1100px) {
  .pr-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .pr-top { padding: 20px 20px 0; }
  .pr-content { padding: 20px 20px 40px; }
  .pr-top-row { flex-direction: column; gap: 12px; margin-bottom: 14px; }
  .pr-badges { padding-top: 0; }
  .pr-tabs { gap: 4px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; -webkit-overflow-scrolling: touch; }
  .pr-tab { padding: 8px 14px; font-size: 11px; flex-shrink: 0; }
  .pr-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pr-section { margin-bottom: 28px; }
}

@media (max-width: 480px) {
  .pr-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pr-card-body { padding: 10px; }
  .pr-card-body h3 { font-size: 12px; }
}

/* ─── SHOP PAGE ────────────────────────────────────────────────────────────── */
.sh-page {
  background: var(--cream);
  min-height: 60vh;
}

.sh-top {
  position: relative;
  overflow: hidden;
  padding: 28px 40px;
  border-bottom: 1px solid rgba(var(--rgb-purple), 0.12);
  
  background: linear-gradient(135deg, #9b7fd473 0%, #fdf5a878 42%, var(--gold-pale) 100%);
}

.sh-top::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--rgb-yellow), 0.4) 0%, transparent 68%);
  pointer-events: none;
}

.sh-top::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(var(--rgb-purple), 0.06) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  opacity: 0.5;
}

.sh-top-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}

.sh-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.sh-eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sage-dk);
  font-weight: 600;
  margin-bottom: 6px;
}

.sh-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 8px;
}

.sh-title em {
  font-style: italic;
  color: var(--brand-purple);
}

.sh-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0;
}

.sh-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(var(--rgb-purple), 0.15);
  box-shadow: 0 2px 10px rgba(var(--rgb-purple), 0.06);
  flex-shrink: 0;
}

.sh-badge strong {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--brand-purple);
  line-height: 1;
}

.sh-badge span {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}

.sh-content {
  position: relative;
  overflow: hidden;
  padding: 36px 40px 64px;
  background: linear-gradient(180deg, var(--sage-pale) 0%, var(--cream) 30%, #fff 100%);
}

.sh-content::before {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--rgb-purple), 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.sh-container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.sh-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sh-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(var(--rgb-purple), 0.12);
  box-shadow: 0 4px 16px rgba(var(--rgb-purple), 0.07);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
  overflow: hidden;
}

.sh-card {
  height: 100%;
}

.sh-card:hover .sh-card-inner {
  transform: translateY(-4px);
  border-color: var(--brand-purple-light);
  box-shadow: 0 12px 32px rgba(var(--rgb-purple), 0.14);
}

.sh-card-cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--sage-pale) 0%, var(--gold-pale) 100%);
  border-bottom: 2px solid var(--btn-yellow);
}

.sh-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 12px;
  background: var(--brand-white);
  transition: transform 0.45s var(--ease);
}

.sh-card:hover .sh-card-img {
  transform: scale(1.06);
}

.sh-book-icon {
  color: var(--brand-purple);
  opacity: 0.85;
}

.sh-store-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 4px 10px;
  background: var(--brand-purple);
  color: #fff;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.sh-card-body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sh-card-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.3;
}

.sh-card-body p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0 0 16px;
  flex: 1;
}

.sh-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--brand-purple);
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.2s, color 0.2s;
}

.sh-cta:hover {
  gap: 10px;
  color: var(--sage-dk);
}

.sh-note {
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 32px;
  font-style: italic;
}

@media (max-width: 900px) {
  .sh-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .sh-top { padding: 20px; }
  .sh-content { padding: 24px 20px 48px; }
  .sh-top-row { flex-direction: column; gap: 14px; }
  .sh-badge { align-self: flex-start; flex-direction: row; gap: 10px; padding: 10px 16px; }
  .sh-badge strong { font-size: 22px; }
}

@media (max-width: 1400px) {
  .gallery-page-grid-premium { grid-template-columns: repeat(5, 1fr); gap: 14px; }
}
@media (max-width: 1200px) {
  .gallery-page-grid-premium { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .gallery-videos-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 900px) {
  .gallery-page-grid-premium { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
@media (max-width: 1024px) {
  .testimonials { padding: 80px 40px; }
  .t-feature-card { padding: 18px 20px; border-radius: 18px; max-width: 100%; }
  .t-group { padding: 28px; }
}
@media (max-width: 768px) {
  .gallery-page-premium { padding: 60px 24px; }
  .gallery-page-grid-premium { grid-template-columns: 1fr; gap: 20px; margin-bottom: 60px; }
  .gallery-filters-premium { gap: 8px; margin-bottom: 40px; }
  .filter-btn-premium { padding: 8px 16px; font-size: 10px; }
  .gallery-item-premium-card { aspect-ratio: 4/5; }
  .gallery-page-item-premium:hover .gallery-item-premium-card { transform: translateY(-4px); }
  .gallery-page-item-premium:hover .gallery-item-premium-img img { transform: scale(1.08); }

  .gallery-top-bar { justify-content: center; margin-bottom: 20px; }
  .gallery-videos-section { padding: 60px 24px 80px; scroll-margin-top: 64px; }
  .gallery-videos-grid { grid-template-columns: 1fr; gap: 20px; margin-bottom: 0; }
  .gallery-videos-filters { gap: 8px; margin-bottom: 40px; }
  .video-filter-btn { padding: 8px 16px; font-size: 10px; }
  .gallery-videos-header h2 { font-size: clamp(24px, 4vw, 36px); }
  .gallery-videos-header p { font-size: 14px; }
  
  .testimonials { padding: 60px 24px; }
  .t-feature-top,
  .t-feature-footer,
  .t-group-head,
  .t-card-top,
  .t-slider-controls {
    flex-direction: column;
    align-items: flex-start;
  }
  .t-slider-dots {
    justify-content: flex-start;
  }
  .t-grid { grid-template-columns: 1fr; }
  .t-card { padding: 28px 22px; }
  .t-group { padding: 24px 20px; border-radius: 24px; }
  .t-feature-card { padding: 16px 16px 14px; border-radius: 16px; }
  .t-feature-quote { font-size: 15px; line-height: 1.45; }

  .gallery { padding: 50px 24px; }

  .gallery::after {
    top: 36px;
    left: 28px;
  }

  .gallery-header { margin-bottom: 30px; }
  .gallery-grid { 
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
    gap: 12px; 
    margin-bottom: 40px; 
  }
  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }
  .gallery-item:nth-child(2) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .gallery-item:nth-child(3) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .gallery-item:nth-child(4) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .gallery-item:nth-child(5) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .gallery-item:nth-child(6) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .gallery-item:nth-child(7) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .svc-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sd-cert-card {
    padding: 16px 16px 14px;
  }

  .certs article div[style*="display:flex"] {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .certs article h3 {
    font-size: 22px !important;
  }

  .certs article span {
    margin-top: 0 !important;
  }

  .gallery-item:nth-child(8) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-page-hero { padding: 40px 24px; min-height: auto; }
  .gallery-page-hero-content h1 { font-size: clamp(24px, 5vw, 32px); margin-bottom: 6px; }
  .gallery-page-hero-content p { font-size: 14px; }
  .gallery-page { padding: 60px 24px; }
  .gallery-page-grid { 
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
    gap: 20px; 
    margin-bottom: 60px; 
  }
  .gallery-page-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }
  .gallery-page-item:nth-child(3) {
    grid-column: span 2;
    grid-row: span 1;
  }
  .gallery-page-item:nth-child(5) {
    grid-row: span 1;
  }
  .gallery-page-item:nth-child(8) {
    grid-column: span 1;
  }
  .gallery-page-item:nth-child(10) {
    grid-column: span 1;
  }
  .gallery-page-item:nth-child(12) {
    grid-row: span 1;
  }
  .gallery-page-item:nth-child(13) {
    grid-column: span 1;
  }
  .gallery-page-item:nth-child(15) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-filters { gap: 8px; margin-bottom: 40px; }
  .filter-btn { padding: 8px 16px; font-size: 10px; }
  .gallery-cta-section { padding: 60px 24px; }
  .gallery-cta-content h2 { font-size: clamp(24px, 4vw, 36px); }
  .gallery-cta-content p { font-size: 16px; }
}

.topbar {
  background: linear-gradient(90deg, var(--sage-pale) 0%, var(--gold-pale) 50%, var(--sage-pale) 100%);
  color: var(--brand-purple-dark);
  text-align: center;
  padding: 9px 20px;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid var(--brand-yellow);
}

.topbar em {
  color: var(--brand-purple);
  font-style: normal;
  font-weight: 600;
}

nav,
nav.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow: var(--shadow-sm);
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px clamp(16px, 3vw, 40px);
  min-height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 44px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.logo-name {
  font-family: 'Cormorant', serif;
  font-size: 27px;
  font-weight: 400;
  font-style: italic;
  color: var(--sage-dk);
  letter-spacing: 1px;
}

.logo-sep {
  width: 1px;
  height: 16px;
  background: var(--border);
  margin: 0 2px;
}

.logo-sub {
  font-size: 9.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(8px, 0.9vw, 14px);
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
  margin-left: auto;
  justify-content: flex-end;
}

.nav-links li {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-links a {
  font-size: 13px;
  letter-spacing: 0.2px;
  /* text-transform: uppercase; */
  color: var(--brand-purple);
  text-decoration: none;
  font-weight: 600;
  transition: color .3s;
  position: relative;
  white-space: nowrap;
  line-height: 1.35;
  display: inline-flex;
  align-items: center;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-yellow);
  transition: width .3s;
}

.nav-links a:hover {
  color: var(--brand-lilac);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--brand-yellow) !important;
  color: var(--ink) !important;
  padding: 9px 16px !important;
  border-radius: 0 !important;
  border: 2px solid var(--brand-yellow) !important;
  letter-spacing: 0.6px !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  transition: all .25s var(--ease) !important;
  box-shadow: var(--shadow-yellow) !important;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--brand-purple) !important;
  color: var(--brand-white) !important;
  border-color: var(--brand-purple) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-purple) !important;
}

/* Service nav items — equal width, neat multi-line labels */
.nav-links li.nav-service-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links a.nav-service {
  /* max-width: 82px; */
  min-width: 68px;
  min-height: 40px;
  white-space: normal;
  text-align: center;
  text-wrap: balance;
  padding: 4px 2px;
  justify-content: center;
}

/* Dropdown Menu Styles */
.nav-links .has-dropdown {
  position: relative;
}

.nav-links > li.has-dropdown {
  overflow: visible;
}

.nav-links .has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.dropdown-arrow {
  transition: transform .3s var(--ease);
  opacity: .7;
}

@media (min-width: 1151px) {
  .nav-links > li.has-dropdown:hover > a > .dropdown-arrow,
  .nav-links > li.has-dropdown.is-hover-open > a > .dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
  }
}

.nav-links > li.has-dropdown.is-open > a > .dropdown-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: rgba(255, 255, 255, .99);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 0;
  min-width: 280px;
  max-width: 320px;
  box-shadow: 0 12px 48px rgba(var(--rgb-purple), .18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all .25s var(--ease);
  list-style: none;
  z-index: 1000;
  backdrop-filter: blur(8px);
  margin-top: -8px;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--border);
}

.dropdown-menu::after {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid rgba(255, 255, 255, .98);
}

@media (min-width: 1151px) {
  .nav-links > li.has-dropdown:hover > .dropdown-menu,
  .nav-links > li.has-dropdown.is-hover-open > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    overflow: visible;
  }
}

.nav-links > li.has-dropdown > .dropdown-menu.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  overflow: visible;
}

.dropdown-menu li {
  padding: 0;
  background-color: var(--brand-white);
  border: none;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 9px;
  letter-spacing: 0.6px;
  
  color: var(--brand-purple);
  text-decoration: none;
  transition: all .2s ease;
  white-space: normal;
  line-height: 1.4;
  cursor: pointer;
}

.dropdown-menu a.dropdown-cert {
  font-size: 9px;
  letter-spacing: 0.6px;
  text-transform: none;
  color: var(--muted);
  padding: 8px 20px 8px 28px;
  font-weight: 500;
}

.dropdown-menu a.dropdown-cert:hover {
  color: var(--brand-purple);
  padding-left: 36px;
}

.dropdown-menu a:hover {
  background: rgba(var(--rgb-purple), .12);
  color: var(--brand-purple-dark);
  padding-left: 26px;
  font-weight: 500;
}

.dropdown-menu a:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: -2px;
}

/* Nested service → certificate sub-dropdown */
.dropdown-menu .has-subdropdown {
  position: relative;
}

.dropdown-menu .has-subdropdown > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.dropdown-menu .has-subdropdown > a > span {
  flex: 1;
  text-align: left;
}

.sub-dropdown-arrow {
  transform: rotate(-90deg);
  opacity: .7;
  flex-shrink: 0;
}

@media (min-width: 1151px) {
  .dropdown-menu .has-subdropdown:hover > a,
  .dropdown-menu .has-subdropdown.is-hover-open > a {
    background: rgba(var(--rgb-purple), .1);
    color: var(--brand-purple-dark);
  }

  .dropdown-menu .has-subdropdown:hover > a .sub-dropdown-arrow,
  .dropdown-menu .has-subdropdown.is-hover-open > a .sub-dropdown-arrow {
    transform: rotate(90deg);
    opacity: 1;
  }
}

.dropdown-menu .has-subdropdown.is-open > a {
  background: rgba(var(--rgb-purple), .1);
  color: var(--brand-purple-dark);
}

.dropdown-menu .has-subdropdown.is-open > a .sub-dropdown-arrow {
  transform: rotate(90deg);
  opacity: 1;
}

/* Invisible bridge so the cursor can reach the flyout without closing */
.dropdown-menu .has-subdropdown::after {
  content: '';
  position: absolute;
  top: 0;
  left: 100%;
  width: 18px;
  height: 100%;
  z-index: 1002;
}

.dropdown-menu .sub-dropdown-menu {
  top: 0;
  left: calc(100% + 2px);
  right: auto;
  transform: none;
  margin-top: 0;
  min-width: 250px;
  max-width: 300px;
  z-index: 1003;
  padding: 6px 0;
  border-radius: 8px;
  box-shadow: 0 14px 40px rgba(var(--rgb-purple), .16);
}

.dropdown-menu .sub-dropdown-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: -16px;
  width: 16px;
  height: 100%;
  display: block;
  background: transparent;
}

.dropdown-menu .sub-dropdown-menu::after {
  display: none;
}

/* Only one certificate flyout visible at a time */
.dropdown-menu > .has-subdropdown > .sub-dropdown-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (min-width: 1151px) {
  .dropdown-menu > .has-subdropdown.is-hover-open > .sub-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
}

.dropdown-menu > .has-subdropdown.is-open > .sub-dropdown-menu,
.dropdown-menu > .has-subdropdown > .sub-dropdown-menu.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.dropdown-menu .sub-dropdown-menu a.dropdown-cert {
  font-size: 10px;
  letter-spacing: 0.3px;
  text-transform: none;
  color: var(--ink-soft);
  padding: 9px 18px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-menu .sub-dropdown-menu a.dropdown-cert:hover {
  color: var(--brand-purple-dark);
  background: rgba(var(--rgb-purple), .08);
  padding-left: 22px;
}

/* Service menu — centered panel under nav link */
.nav-links > li.nav-services-menu {
  position: relative;
}

.nav-links > li.nav-services-menu > a.nav-service-trigger {
  gap: 5px;
  padding: 0 2px;
}

.nav-links > li.nav-services-menu > .dropdown-menu--services {
  left: 50%;
  right: auto;
  min-width: 300px;
  width: max-content;
  max-width: 340px;
  padding: 10px 0;
  border-radius: 12px;
  border: 1px solid rgba(var(--rgb-purple), .12);
  box-shadow: 0 18px 50px rgba(var(--rgb-purple), .14);
  transform: translateX(-50%) translateY(6px);
}

@media (min-width: 1151px) {
  .nav-links > li.nav-services-menu:hover > .dropdown-menu--services,
  .nav-links > li.nav-services-menu.is-hover-open > .dropdown-menu--services {
    transform: translateX(-50%) translateY(0);
  }
}

.nav-links > li.nav-services-menu > .dropdown-menu--services.is-visible {
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu--services > li {
  width: 100%;
}

.dropdown-menu--services > li > a,
.dropdown-menu--services > li > a.dropdown-service-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  /* padding: 14px 36px; */
  font-size: 10px;
  letter-spacing: 0.85px;
  line-height: 1.5;
  text-wrap: balance;
  white-space: normal;
  /* text-transform: uppercase; */
  font-weight: 600;
}

.dropdown-menu--services > li > a.dropdown-service-link > span {
  display: block;
  width: 100%;
  text-align: center;
}

.dropdown-menu--services > li + li > a {
  border-top: 1px solid rgba(var(--rgb-purple), .08);
}

.dropdown-menu--services > li > a:hover,
.dropdown-menu--services > li > a:focus-visible,
.dropdown-menu--services > .has-subdropdown.is-hover-open > a,
.dropdown-menu--services > .has-subdropdown.is-open > a {
  padding-left: 36px;
  padding-right: 36px;
  background: rgba(var(--rgb-purple), .08);
  color: var(--brand-purple-dark);
  font-weight: 600;
}

.dropdown-menu--services .has-subdropdown > a {
  position: relative;
  justify-content: center;
}

.dropdown-menu--services .has-subdropdown > a > span {
  flex: none;
  width: 100%;
  max-width: 100%;
  text-align: center;
  padding: 0 18px;
  box-sizing: border-box;
}

.dropdown-menu--services .has-subdropdown > a .sub-dropdown-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  margin-top: -3px;
  transform: rotate(-90deg);
}

.dropdown-menu--services .has-subdropdown:hover > a .sub-dropdown-arrow,
.dropdown-menu--services .has-subdropdown.is-hover-open > a .sub-dropdown-arrow,
.dropdown-menu--services .has-subdropdown.is-open > a .sub-dropdown-arrow {
  transform: rotate(90deg);
}

/* Certificate flyout */
.dropdown-menu--services .sub-dropdown-menu--certs {
  top: 0;
  left: calc(100% + 6px);
  transform: none;
  min-width: 260px;
  width: max-content;
  max-width: 320px;
  max-height: min(70vh, 400px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0;
  border-radius: 12px;
  border: 1px solid rgba(var(--rgb-purple), .12);
  box-shadow: 0 16px 44px rgba(var(--rgb-purple), .15);
  background: rgba(255, 255, 255, .99);
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--rgb-purple), .35) transparent;
}

.dropdown-menu--services .sub-dropdown-menu--certs::-webkit-scrollbar {
  width: 5px;
}

.dropdown-menu--services .sub-dropdown-menu--certs::-webkit-scrollbar-thumb {
  background: rgba(var(--rgb-purple), .35);
  border-radius: 4px;
}

.dropdown-menu--services > .has-subdropdown.is-hover-open > .sub-dropdown-menu--certs,
.dropdown-menu--services > .has-subdropdown.is-open > .sub-dropdown-menu--certs,
.dropdown-menu--services > .has-subdropdown > .sub-dropdown-menu--certs.is-visible {
  transform: none;
}

.dropdown-menu--services .sub-dropdown-label {
  padding: 8px 20px 6px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
  pointer-events: none;
}

.dropdown-menu--services .sub-dropdown-menu--certs a.dropdown-cert-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
  padding: 11px 22px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-transform: none;
  text-align: left;
  color: var(--brand-purple);
  white-space: normal;
  overflow: visible;
  line-height: 1.45;
  transition: background .2s ease, color .2s ease;
}

.dropdown-menu--services .sub-dropdown-menu--certs a.dropdown-cert-link > span {
  text-align: left;
  text-wrap: pretty;
  overflow: visible;
}

.dropdown-menu--services .sub-dropdown-menu--certs a.dropdown-cert-link::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-yellow);
  margin-right: 8px;
  flex-shrink: 0;
}

.dropdown-menu--services .sub-dropdown-menu--certs li + li a.dropdown-cert-link {
  border-top: 1px solid rgba(var(--rgb-purple), .06);
}

.dropdown-menu--services .sub-dropdown-menu--certs a.dropdown-cert-link:hover,
.dropdown-menu--services .sub-dropdown-menu--certs a.dropdown-cert-link:focus-visible {
  padding-left: 22px;
  padding-right: 22px;
  background: rgba(var(--rgb-purple), .08);
  color: var(--brand-purple-dark);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(var(--rgb-purple), .18);
  background: rgba(var(--rgb-lavender), .2);
  border-radius: 4px;
  cursor: pointer;
  transition: background .3s, border-color .3s, transform .3s;
}

.nav-toggle:hover {
  background: rgba(var(--rgb-purple), .08);
  border-color: rgba(var(--rgb-purple), .34);
}

.nav-toggle:focus-visible {
  outline: 2px solid rgba(var(--rgb-purple), .28);
  outline-offset: 2px;
}

.nav-toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--ink-soft);
  transition: transform .3s var(--ease), opacity .25s ease, background .25s ease;
}

.site-nav.is-open .nav-toggle {
  background: var(--ink);
  border-color: var(--ink);
}

.site-nav.is-open .nav-toggle span {
  background: #fff;
}

.site-nav.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.site-nav.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-nav.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Legacy hero grid removed — carousel hero is full-width (see Hero — cinematic) */

.hero-l {
  background: var(--brand-white);
  border-right: 1px solid rgba(var(--rgb-lavender), 0.45);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 72px;
  z-index: 2;
  overflow: hidden;
}

.hero-l::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(var(--rgb-purple), .12) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-l::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(var(--rgb-purple), .15) 0%, transparent 65%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--brand-purple);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp .7s ease forwards .2s;
}

.hero-badge-line {
  width: 32px;
  height: 2px;
  background: var(--brand-yellow);
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 4.8vw, 74px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--ink);
  opacity: 0;
  animation: fadeUp .9s ease forwards .38s;
}

.hero-headline .ital {
  display: block;
  font-style: italic;
  color: var(--brand-purple);
}

.hero-headline .plain {
  display: block;
  font-style: normal;
  color: var(--ink);
}

.hero-headline .ital2 {
  font-style: italic;
  color: var(--brand-lavender);
}

.hero-rule {
  width: 48px;
  height: 3px;
  background: var(--brand-yellow);
  margin: 28px 0;
  opacity: 0;
  animation: fadeIn .8s ease forwards .54s;
}

.hero-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 400px;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp .9s ease forwards .66s;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;

  opacity: 0;
  animation: fadeUp .9s ease forwards .8s;
}

.btn-solid,
.submit-btn,
.btn-basix,
.btn-enquire {
  background: var(--btn-yellow) !important;
  color: var(--ink) !important;
  padding: 15px 36px;
  font-size: 10.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0 !important;
  border: 2px solid var(--btn-yellow) !important;
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all .3s var(--ease);
  box-shadow: var(--shadow-yellow);
}

.btn-ghost,
.btn-basix-ghost {
  background: transparent !important;
  color: var(--brand-purple) !important;
  padding: 15px 36px;
  font-size: 10.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0 !important;
  border: 2px solid var(--brand-purple) !important;
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all .3s var(--ease);
  box-shadow: none;
}

.btn-solid:hover,
.submit-btn:hover,
.btn-basix:hover,
.btn-enquire:hover {
  background: var(--brand-purple) !important;
  color: var(--brand-white) !important;
  border-color: var(--brand-purple) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-purple);
}

.btn-ghost:hover,
.btn-basix-ghost:hover {
  background: var(--brand-purple) !important;
  color: var(--brand-white) !important;
  border-color: var(--brand-purple) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-purple);
}

.hero-stats {
  display: flex;
  gap: 32px;
  border-top: 1px solid rgba(var(--rgb-purple), 0.2);
  padding-top: 24px;
  margin-top: 20px;
  opacity: 0;
  animation: fadeIn 1s ease forwards 1.1s;
}

.hero-stats .stat {
  flex: 0 1 auto;
  padding: 0;
  margin: 0;
  border: none;
  text-align: left;
}

.hero-stats .stat-n {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--brand-purple);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stats .stat-n sup {
  font-size: 14px;
  color: var(--brand-purple);
  vertical-align: super;
}

.hero-stats .stat-l {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-lilac);
  font-weight: 500;
}

.hero-r {
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeIn 1.3s ease forwards .15s;
}

.mosaic {
  display: grid;
  grid-template-columns: 58% 42%;
  grid-template-rows: 45% 28% 27%;
  height: 100%;
  gap: 3px;
}

.tile {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transition: transform 8s ease;
  display: block;
}

.tile:hover img {
  transform: scale(1.07);
}

.tile-a {
  grid-column: 1;
  grid-row: 1 / 3;
}

.tile-b {
  grid-column: 2;
  grid-row: 1;
}

.tile-c {
  grid-column: 2;
  grid-row: 2;
}

.tile-d {
  grid-column: 1;
  grid-row: 3;
}

.tile-e {
  grid-column: 2;
  grid-row: 3;
}

.tile-label {
  position: absolute;
  bottom: 10px;
  left: 12px;
  background: rgba(var(--rgb-yellow), .9);
  color: var(--sage-dk);
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 1px;
}

.hero-card {
  position: absolute;
  bottom: 40px;
  right: 20px;
  background: rgba(var(--rgb-yellow), .95);
  border-radius: 4px;
  padding: 22px 24px;
  max-width: 220px;
  z-index: 10;
  box-shadow: 0 20px 60px rgba(var(--rgb-purple), .2);
  border: 1px solid rgba(var(--rgb-purple), .2);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .9s ease forwards 1.4s;
}

.hero-quote-card p {
  font-family: 'Cormorant', serif;
  font-style: italic;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 10px;
}

.hero-quote-card cite {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lavender);
  opacity: .75;
}

.hero-event-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 16px 14px;
  background: rgba(255, 255, 255, 0.95);
  cursor: default;
  border-left: 1px solid var(--border);
}

.hero-event-header,
.hero-event-footer,
.hero-event-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-event-header {
  margin-bottom: 10px;
  margin-top: 10px;
}

.hero-event-chip,
.hero-event-count,
.hero-event-kicker,
.hero-event-time span,
.hero-event-place,
.hero-event-nav {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-event-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--sage-lt);
  color: #fff;
  border: 1px solid var(--sage);
}

.hero-event-count {
  color: var(--sage-dk);
}

.hero-event-slide h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 400;
  color: var(--ink);
  margin: 8px 0 10px;
}

.hero-event-kicker {
  color: var(--sage);
  opacity: .85;
}

.hero-event-description {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-event-time {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.hero-event-time span,
.hero-event-place {
  color: var(--muted);
}

.hero-event-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  align-items: flex-start;
  flex-direction: column;
}

.hero-event-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  width: auto;
  padding: 10px 20px;
  border-radius: 0;
  border: 2px solid var(--brand-yellow);
  background: var(--brand-yellow);
  color: var(--ink);
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 auto;
  display: flex;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.hero-event-register:hover {
  background: var(--brand-purple);
  border-color: var(--brand-purple);
  color: var(--brand-white);
  transform: translateY(-1px);
}

.hero-event-controls {
  margin-top: 12px;
  justify-content: center;
}

.hero-event-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
}

.hero-event-dot {
  width: 9px;
  height: 9px;
  border: none;
  border-radius: 50%;
  background: var(--lavender);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.hero-event-dot.is-active {
  background: var(--brand-yellow);
  transform: scale(1.15);
}

/* ─── EVENTS SECTION ─────────────────────────────────────────────────────── */
.events {
  position: relative;
  background: var(--brand-white);
  overflow-x: clip;
  overflow-y: visible;
  padding: clamp(48px, 6vw, 72px) clamp(20px, 5vw, 72px);
 
}

/* Background decoration */
.events-bg-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.events-orb {
  position: absolute;
  border-radius: 50%;
  filter: none;
  opacity: .15;
  animation: orbFloat 14s ease-in-out infinite alternate;
}

.events-orb-1 {
  width: 420px;
  height: 420px;
  top: -120px;
  right: 8%;
  background: radial-gradient(circle, rgba(var(--rgb-purple), .5), transparent 65%);
  animation-delay: 0s;
}

.events-orb-2 {
  width: 400px;
  height: 400px;
  bottom: -120px;
  left: -60px;
  background: radial-gradient(circle, rgba(var(--rgb-yellow), .45), transparent 65%);
  animation-delay: -7s;
}

.events-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--rgb-purple), .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--rgb-purple), .03) 1px, transparent 1px);
  background-size: 48px 48px;
}

@keyframes orbFloat {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(30px, 40px) scale(1.1);
  }
}

/* Inner wrapper */
.events-inner {
  position: relative;
  z-index: 1;
  padding: 0;
  max-width: 1200px;
  margin: 0 auto;
}

/* Section head */
.events-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  max-width: none;
  margin-bottom: 32px;
}

.events-head-main {
  flex: 1;
  min-width: 0;
  max-width: 720px;
}

.events-head-aside {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  padding-top: 6px;
}

.events-slide-count {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1;
  font-weight: 400;
  color: var(--brand-purple);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.events-slide-hint {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-purple);
  opacity: 0.7;
  text-align: right;
  max-width: 140px;
}

/* Events content always visible (no scroll-reveal hide) */
.events .reveal,
.events .reveal-l,
.events .reveal-r,
.events .event-card.reveal {
  opacity: 1;
  transform: none;
}

.events-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.events-eyebrow-row .eyebrow {
  color: var(--brand-purple);
  margin-bottom: 0;
  font-weight: 600;
}

.events-eyebrow-row .eyebrow::before {
  width: 28px;
  height: 2px;
  background: var(--brand-yellow);
}

/* Live pulse dot */
.live-pulse-dot {
  position: relative;
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #e53e3e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(229, 62, 62, .5);
  animation: livePulse 2s infinite;
  flex-shrink: 0;
}

.live-pulse-dot span {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  opacity: 0;
  animation: livePulseRing 2s infinite;
}

@keyframes livePulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(229, 62, 62, .5);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(229, 62, 62, 0);
  }
}

@keyframes livePulseRing {
  0% {
    transform: scale(1);
    opacity: .6;
  }

  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

/* Section title for beige background */
.events .section-title {
  color: var(--brand-purple);
  line-height: 1.28;
  padding-bottom: 0.06em;
  
}

.events .section-title em {
  color: var(--brand-purple);
  font-style: italic;
}

.events .section-body {
  color: var(--ink-soft);
  max-width: 640px;
}

/* Decorative divider */
.events-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.events-divider span:not(.events-divider-gem) {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--rgb-lavender), .2), transparent);
}

.events-divider span:last-child {
  background: linear-gradient(270deg, rgba(var(--rgb-lavender), .2), transparent);
}

.events-divider-gem {
  font-size: 10px;
  color: var(--brand-purple);
  letter-spacing: 0;
  flex: 0;
}

.events-slider-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.events-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.events-list.is-scrollable {
  display: flex;
  gap: 16px;
  overflow: visible;
  transition: transform 0.65s ease;
  will-change: transform;
  padding: 4px 0;
  touch-action: pan-y;
}

@media (prefers-reduced-motion: reduce) {
  .events-list.is-scrollable {
    transition: none;
  }
}

.events-list.is-scrollable .event-card {
  flex: 0 0 calc(25% - 12px);
  min-width: calc(25% - 12px);
}

@media (max-width: 1024px) {
  .events-list:not(.is-scrollable) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .events-list.is-scrollable .event-card {
    flex-basis: calc(50% - 8px);
    min-width: calc(50% - 8px);
  }
}

@media (max-width: 640px) {
  .events-list:not(.is-scrollable) {
    grid-template-columns: 1fr;
  }

  .events-list.is-scrollable .event-card {
    flex-basis: 85%;
    min-width: 85%;
  }
}

/* Events slider navigation (legacy — hidden) */
.events-nav-btn {
  display: none;
}

/* Events Dots Navigation */
.events-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.events-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--cream);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.events-dot:hover {
  background: var(--sage-lt);
}

.events-dot.is-active {
  width: 24px;
  border-radius: 999px;
  background: var(--sage);
  border-color: var(--sage);
}

.events-dot:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

/* Event list grid — column layout (fallback) */
.event-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  align-items: start;
}

/* ─── EVENT CARD ─────────────────────────────────────────────────────────── */
.event-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, .95);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}

.event-card:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow: var(--shadow-md);
  border-color: rgba(123, 123, 166, .2);
}

/* Top accent color bar — full width */
.event-card-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--card-accent, var(--sage)), transparent 80%);
  border-radius: 0;
  opacity: .9;
  z-index: 1;
}

/* Date header — horizontal banner across the top of each card */
.event-date-pillar {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  background: var(--lav-ghost);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
}

.event-date-card {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 6px;
  color: var(--ink);
  transition: all 0.3s ease;
}

.event-date-card.is-today {
  background: rgba(var(--rgb-purple), 0.1);
  padding: 14px 10px 8px;
  border-radius: 8px;
  border: 1px solid rgba(var(--rgb-lavender), 0.2);
  margin: -10px -10px -4px;
}

.today-label {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sage);
  color: #fff;
  font-size: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.2px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(var(--rgb-purple), 0.4);
}

.event-date-day {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.5px;
}

.event-date-month {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lavender);
  margin-top: 0;
}

.event-date-year {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.event-duration-tag {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--lav-pale);
  font-size: 9px;
  letter-spacing: 0.5px;
  color: var(--sage-dk);
  white-space: nowrap;
  border: 1px solid rgba(var(--rgb-purple), .18);
}

/* Copy area */
.event-copy {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.event-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 8px;
}

/* Live event badge */
.event-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  padding: 3px 10px 3px 7px;
  background: rgba(var(--rgb-yellow), 0.12);
  color: var(--brand-purple);
  border: 1px solid rgba(var(--rgb-yellow), 0.3);
  font-size: 8.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}

.event-badge.badge-live {
  background: linear-gradient(135deg, rgba(var(--rgb-purple), 0.15) 0%, rgba(var(--rgb-yellow), 0.15) 100%);
  color: var(--sage-dk);

}

.event-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: livePulse 2s infinite;
  flex-shrink: 0;
}

.event-time-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

.event-time-inline svg {
  opacity: .6;
  flex-shrink: 0;
}

/* Title */
.event-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -.2px;
}

/* Description */
.event-description {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
  flex: 1;
}

/* Meta row — column card layout */
.event-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.event-meta-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.event-meta-loc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.event-meta-loc svg {
  flex-shrink: 0;
  opacity: .65;
}

/* Countdown */
.event-countdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold-lt);
}

.event-countdown svg {
  flex-shrink: 0;
  color: var(--brand-purple);
  opacity: .8;
}

/* Register button — full-width in column card */
.event-register-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 10px 18px;
  background: var(--brand-yellow);
  color: var(--ink);
  text-decoration: none;
  font-size: 9.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  border: 2px solid var(--brand-yellow);
  outline: none;
  border-radius: 0;
  transition: all .3s var(--ease);
  box-shadow: var(--shadow-yellow);
}

.event-register-btn:hover {
  background: var(--brand-purple);
  border-color: var(--brand-purple);
  color: var(--brand-white);
  box-shadow: var(--shadow-purple);
  transform: translateY(-2px);
  gap: 12px;
}

.event-register-btn:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
}

.event-register-btn svg {
  transition: transform .25s var(--ease);
}

.event-register-btn:hover svg {
  transform: translateX(3px);
}

/* Hover shimmer overlay */
.event-card-shimmer {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg,
      transparent 40%,
      rgba(255, 255, 255, .035) 50%,
      transparent 60%);
  background-size: 200% 100%;
  background-position: 100% 0;
  pointer-events: none;
  transition: background-position .6s ease;
}

.event-card:hover .event-card-shimmer {
  background-position: -100% 0;
}

/* ─── EMPTY STATE (yellow = hero --brand-yellow #F9E132) ─────────────────── */
.event-empty {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  border: 1px solid var(--border);
  background: var(--brand-white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .35s var(--ease), border-color .35s var(--ease);
  width: 100%;
}

.event-empty:hover {
  border-color: rgba(var(--rgb-purple), .2);
  box-shadow: var(--shadow-md);
}

.event-empty-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand-yellow);
}

.event-empty-grid {
  display: grid;
  grid-template-columns: minmax(140px, 200px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(36px, 4vw, 52px) clamp(32px, 4.5vw, 56px);
}

.event-empty-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.event-empty-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--brand-white);
  border: 2px solid var(--brand-yellow);
  box-shadow: 0 12px 28px rgba(var(--rgb-purple), .1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-purple);
}

.event-empty-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-yellow);
  border: 1px solid var(--brand-yellow);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-purple);
}

.event-empty-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-purple);
  box-shadow: 0 0 0 0 rgba(var(--rgb-purple), .35);
  animation: emptyStatusPulse 2.4s ease-in-out infinite;
}

@keyframes emptyStatusPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(var(--rgb-purple), .35);
    opacity: .85;
  }

  50% {
    box-shadow: 0 0 0 6px rgba(var(--rgb-purple), 0);
    opacity: 1;
  }
}

.event-empty-body {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding-right: clamp(8px, 2vw, 24px);
}

.event-empty-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--brand-purple);
  font-weight: 600;
  margin-bottom: 10px;
}

.event-empty-kicker::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--brand-yellow);
  flex-shrink: 0;
}

.event-empty h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 400;
  color: var(--brand-purple);
  margin-bottom: 12px;
  line-height: 1.22;
}

.event-empty h3 em {
  font-style: italic;
  color: var(--brand-purple);
}

.event-empty-lead {
  font-size: clamp(14px, 1.6vw, 15.5px);
  line-height: 1.75;
  color: var(--brand-purple);
  opacity: 0.88;
  margin-bottom: 20px;
  max-width: 52ch;
}

.event-empty-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}

.event-empty-perks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--brand-purple);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--brand-white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand-yellow);
}

.event-empty-perks svg {
  flex-shrink: 0;
  margin-top: 2px;
  padding: 3px;
  border-radius: 50%;
  background: var(--brand-yellow);
  color: var(--brand-purple);
  stroke: var(--brand-purple);
  box-sizing: content-box;
}

.event-empty-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

/* Same yellow CTA as .hero-slide .btn-solid */
.event-empty .btn-solid.event-empty-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 10px;
  letter-spacing: 2.5px;
  border-radius: 999px;
  background: var(--brand-yellow);
  color: var(--ink);
  border-color: var(--brand-purple);
  box-shadow: var(--shadow-sm);
}

.event-empty .btn-solid.event-empty-cta:hover {
  background: var(--brand-white);
  border-color: var(--brand-white);
  color: var(--brand-purple);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.event-empty .btn-solid.event-empty-cta svg {
  transition: transform .25s var(--ease);
}

.event-empty .btn-solid.event-empty-cta:hover svg {
  transform: translateX(3px);
}

.event-empty-note {
  font-size: 12px;
  line-height: 1.5;
  color: var(--brand-purple);
  opacity: .75;
  margin: 0;
}

.event-empty-visual {
  position: relative;
  z-index: 1;
}

@media (max-width: 720px) {
  .event-empty-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 24px 36px;
  }

  .event-empty-body {
    max-width: none;
  }

  .event-empty-lead {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .event-empty-perks {
    align-items: center;
  }

  .event-empty-perks li {
    justify-content: center;
    text-align: left;
    max-width: 320px;
  }

  .event-empty-actions {
    align-items: center;
    width: 100%;
  }

  .event-empty .btn-solid.event-empty-cta {
    width: 100%;
    max-width: 320px;
  }
}

.hero-seam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 60px);
  width: 120px;
  background: linear-gradient(90deg, var(--beige) 0%, transparent 100%);
  z-index: 5;
  pointer-events: none;
}

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 72px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 9.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: fadeIn 1s ease forwards 1.7s;
}

.scroll-hint-line {
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--sage), transparent);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

section {
  padding: clamp(64px, 8vw, 108px) clamp(20px, 5vw, 72px);
}

/* Subtle section rhythm — .events padding set in EVENTS SECTION block */

.services {
  background: var(--surface-alt);
}

.gallery {
  background: var(--surface);
}

.team {
  background: var(--surface);
}

.booking {
  background: linear-gradient(180deg, var(--surface) 0%, var(--sage-pale) 100%);
}

.testimonials {
  background: var(--surface-alt);
}

.eyebrow {
  font-size: 10.5px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--brand-purple);
  margin-bottom: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--brand-yellow);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 400;
  line-height: 1.28;
  color: var(--brand-purple);
  margin-bottom: 22px;
}

.section-title em {
  font-style: italic;
  color: var(--brand-purple);
}

.section-body {
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.85;
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 580px;
}

.about {
  background: var(--off-white);
  padding: 0;
  overflow: hidden;
}

/* ─── ABOUT BASIX (home) ──────────────────────────────────────────────────── */
.about-basix {
  background: var(--surface-alt);
}

.about-basix-head {
  text-align: center;
  margin-bottom: clamp(44px, 5vw, 60px);
}

.about-basix-head .eyebrow {
  justify-content: center;
}

.about-basix-head .eyebrow::before {
  display: none;
}

.about-basix-head .section-title {
  margin-bottom: 20px;
}



.about-basix-layout {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(0, 1.15fr);
  gap: clamp(48px, 6vw, 80px);
  max-width: 1120px;
  margin: 0 auto;
  align-items: center;
  position: relative;
}

.about-basix-layout::before {
  content: '';
  position: absolute;
  left: calc(46% - 1px);
  top: 8%;
  bottom: 8%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(var(--rgb-purple), 0.15) 15%,
    rgba(var(--rgb-yellow), 0.45) 50%,
    rgba(var(--rgb-purple), 0.15) 85%,
    transparent
  );
}

.about-basix-media {
  position: relative;
  margin: 0;
  padding-left: 12px;
  border-left: 3px solid var(--brand-yellow);
}

.about-basix-media-accent {
  position: absolute;
  top: -8px;
  left: 12px;
  right: 24px;
  height: 3px;
  background: var(--brand-purple);
  z-index: 1;
}

.about-basix-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  max-height: 500px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-basix-copy {
  position: relative;
  max-width: 580px;
  padding: 8px 0 8px clamp(20px, 3vw, 32px);
}

.about-basix-copy-line {
  display: block;
  width: 40px;
  height: 2px;
  margin-bottom: 20px;
  background: var(--brand-purple);
}

.about-basix-excerpt {
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.9;
  color: var(--ink-soft);
  font-weight: 400;
  margin: 0 0 18px;
}

.about-basix-excerpt--secondary {
  color: var(--ink-mid);
  margin-bottom: 22px;
}

.about-basix-copy-divider {
  display: block;
  width: 100%;
  max-width: 120px;
  height: 1px;
  margin-bottom: 22px;
  background: linear-gradient(90deg, rgba(var(--rgb-purple), 0.35), transparent);
}

.about-basix-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-purple);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid rgba(var(--rgb-yellow), 0.7);
  transition: color 0.25s ease, gap 0.25s ease, border-color 0.25s ease;
}

.about-basix-link:hover {
  color: var(--brand-purple-dark);
  gap: 10px;
  border-bottom-color: var(--brand-yellow);
}

@media (max-width: 900px) {
  .about-basix-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-basix-layout::before {
    display: none;
  }

  .about-basix-media {
    max-width: 540px;
    margin: 0 auto;
    padding-left: 0;
    border-left: none;
    padding-top: 12px;
    border-top: 3px solid var(--brand-yellow);
  }

  .about-basix-media-accent {
    top: -8px;
    left: 0;
    right: 0;
  }

  .about-basix-media img {
    aspect-ratio: 16 / 10;
    max-height: 340px;
  }

  .about-basix-copy {
    max-width: none;
    padding-left: 0;
    text-align: center;
  }

  .about-basix-copy-line,
  .about-basix-copy-divider {
    margin-left: auto;
    margin-right: auto;
  }

  .about-basix-link {
    justify-content: center;
  }
}

/* ─── ABOUT PAGE (full) ───────────────────────────────────────────────────── */
.about-page-hero {
  position: relative;
  min-height: clamp(320px, 45vh, 460px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.about-page-hero-bg {
  position: absolute;
  inset: 0;
}

.about-page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 26, 46, 0.15) 0%, rgba(92, 70, 161, 0.82) 100%);
}

.about-page-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 72px) clamp(20px, 5vw, 72px);
  text-align: center;
}

.about-page-hero-content .eyebrow {
  justify-content: center;
  color: rgba(255, 255, 255, 0.92);
}

.about-page-hero-content .eyebrow::before {
  background: var(--brand-yellow);
}

.about-page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--brand-white);
  margin: 0 0 16px;
}

.about-page-title em {
  font-style: italic;
}

.about-page-lead {
  margin: 0 auto;
  max-width: 520px;
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 300;
}

/* ─── ABOUT PAGE BODY (revamp) ───────────────────────────────────────────── */
.ap-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.ap-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(40px, 5vw, 56px);
}

.ap-head .eyebrow {
  justify-content: center;
}

.ap-head .eyebrow::before {
  display: none;
}

.ap-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 16px;
}

.ap-heading em {
  font-style: italic;
  color: var(--brand-purple);
}

.ap-heading-light {
  color: var(--brand-white);
}

.ap-heading-light em {
  color: var(--brand-yellow);
}

.ap-lead {
  margin: 0;
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.85;
  color: var(--ink-soft);
  font-weight: 300;
}

.ap-copy {
  margin: 0 0 20px;
  font-size: clamp(14.5px, 1.6vw, 16px);
  line-height: 1.9;
  color: var(--ink-soft);
  font-weight: 300;
}

.ap-copy-light {
  color: rgba(255, 255, 255, 0.85);
}

.ap-eyebrow-light {
  color: rgba(255, 255, 255, 0.8) !important;
}

.ap-eyebrow-light::before {
  background: var(--brand-yellow) !important;
}

/* Stats cards */
.ap-stats {
  margin-top: -36px;
  position: relative;
  z-index: 2;
  padding: 0 0 clamp(24px, 3vw, 40px);
}

.ap-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ap-stat-card {
  background: var(--brand-white);
  border: 1px solid rgba(var(--rgb-purple), 0.12);
  box-shadow: var(--shadow-purple);
  padding: clamp(22px, 3vw, 28px) 16px;
  text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.ap-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(var(--rgb-purple), 0.18);
}

.ap-stat-value {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 3.5vw, 40px);
  color: var(--brand-purple-dark);
  line-height: 1.1;
}

.ap-stat-value em {
  font-style: normal;
  color: var(--brand-purple);
}

.ap-stat-label {
  display: block;
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
}

/* Intro split */
.ap-intro {
  padding: clamp(48px, 7vw, 88px) 0;
  background: var(--brand-white);
}

.ap-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.ap-intro-media {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.ap-intro-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.ap-intro-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 14px;
  background: var(--brand-yellow);
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
}

.ap-intro-card {
  background: linear-gradient(165deg, #faf8ff 0%, #fff 55%);
  border: 1px solid rgba(var(--rgb-purple), 0.12);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}

.ap-intro-card .eyebrow {
  margin-bottom: 10px;
}

.ap-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ap-check-list li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.5;
}

.ap-check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(var(--rgb-yellow), 0.45);
  box-shadow: inset 0 0 0 4px var(--brand-yellow);
}

/* Fields card grid */
.ap-fields {
  padding: clamp(56px, 8vw, 96px) 0;
  background:
    radial-gradient(ellipse 50% 40% at 0% 0%, rgba(var(--rgb-purple), 0.06), transparent 60%),
    var(--surface-alt);
}

.ap-field-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ap-field-grid--seven {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ap-field-grid--seven .ap-field-card:last-child {
  grid-column: span 1;
}

.ap-field-card {
  background: var(--brand-white);
  border: 1px solid rgba(var(--rgb-purple), 0.1);
  padding: 28px 24px 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.ap-field-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-purple), var(--brand-yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.ap-field-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--rgb-purple), 0.22);
  box-shadow: var(--shadow-purple);
}

.ap-field-card:hover::after {
  transform: scaleX(1);
}

.ap-field-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-style: italic;
  color: rgba(var(--rgb-purple), 0.2);
  margin-bottom: 10px;
  line-height: 1;
}

.ap-field-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--brand-purple-dark);
  margin: 0 0 10px;
}

.ap-field-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 300;
}

/* Programs dark band */
.ap-programs {
  padding: clamp(56px, 8vw, 96px) 0;
  background:
    radial-gradient(ellipse 60% 80% at 90% 20%, rgba(var(--rgb-yellow), 0.12), transparent 50%),
    linear-gradient(145deg, var(--brand-purple-dark) 0%, #4f3a90 50%, var(--brand-purple) 100%);
}

.ap-programs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.ap-programs-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  padding: clamp(24px, 3vw, 32px);
}

.ap-programs-panel-title {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-yellow);
}

.ap-bullet-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ap-bullet-cards li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.95);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 300;
  transition: background 0.25s var(--ease);
}

.ap-bullet-cards li:hover {
  background: rgba(255, 255, 255, 0.16);
}

.ap-bullet-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-yellow);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* Core cards */
.ap-core {
  padding: clamp(56px, 8vw, 96px) 0;
  background: var(--brand-white);
}

.ap-core-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.ap-core-card {
  padding: clamp(26px, 3vw, 34px);
  background: var(--sage-pale);
  border: 1px solid rgba(var(--rgb-purple), 0.1);
  border-left: 4px solid var(--brand-purple);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.ap-core-card:nth-child(even) {
  border-left-color: var(--brand-yellow);
  background: linear-gradient(160deg, rgba(var(--rgb-yellow), 0.12), #fff 70%);
}

.ap-core-card:hover {
  transform: translateY(-4px);
}

.ap-core-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand-purple);
  background: rgba(var(--rgb-purple), 0.1);
}

.ap-core-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 400;
  color: var(--brand-purple-dark);
  margin: 0 0 12px;
  line-height: 1.25;
}

.ap-core-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
  font-weight: 300;
}

/* Approach */
.ap-approach {
  padding: clamp(56px, 8vw, 96px) 0;
  background:
    linear-gradient(180deg, var(--surface-alt) 0%, #fff 100%);
}

.ap-approach-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: stretch;
}

.ap-approach-quote {
  margin: 0;
  padding: clamp(28px, 4vw, 40px);
  border: none;
  background: var(--brand-purple-dark);
  color: rgba(255, 255, 255, 0.95);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.7;
  position: relative;
}

.ap-approach-quote::before {
  content: '“';
  position: absolute;
  top: 8px;
  left: 18px;
  font-size: 64px;
  line-height: 1;
  color: rgba(var(--rgb-yellow), 0.35);
  font-style: normal;
}

.ap-approach-chips {
  background: var(--brand-white);
  border: 1px solid rgba(var(--rgb-purple), 0.12);
  padding: clamp(24px, 3vw, 32px);
}

.ap-approach-label {
  display: block;
  margin-bottom: 16px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-purple);
}

.ap-approach-chips ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ap-approach-chips li {
  padding: 10px 14px;
  background: var(--sage-pale);
  border: 1px solid rgba(var(--rgb-purple), 0.1);
  font-size: 13px;
  color: var(--ink-mid);
}

/* Audience */
.ap-audience {
  padding: clamp(56px, 8vw, 88px) 0;
  background: var(--brand-white);
}

.ap-audience-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.ap-audience-chip {
  padding: 14px 22px;
  background: linear-gradient(160deg, #fff, var(--sage-pale));
  border: 1px solid rgba(var(--rgb-purple), 0.14);
  font-size: 14px;
  color: var(--brand-purple-dark);
  font-weight: 400;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.ap-audience-chip:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--rgb-purple), 0.35);
}

/* Vision / Mission */
.ap-vision {
  padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 88px);
  background: var(--surface-alt);
}

.ap-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.ap-vision-card {
  padding: clamp(28px, 4vw, 40px);
  min-height: auto;
  position: relative;
  overflow: hidden;
}

.ap-vision-card--vision {
  background: linear-gradient(155deg, var(--brand-purple-dark), var(--brand-purple));
  color: var(--brand-white);
}

.ap-vision-card--mission {
  background: var(--brand-white);
  border: 1px solid rgba(var(--rgb-purple), 0.12);
  color: var(--ink);
}

.ap-vision-label {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--brand-yellow);
  color: var(--ink);
}

.ap-vision-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 400;
  margin: 0 0 14px;
  line-height: 1.3;
}

.ap-vision-card--vision p,
.ap-vision-card--mission .ap-mission-full,
.ap-vision-card--mission p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 300;
}

.ap-vision-card--vision p {
  color: rgba(255, 255, 255, 0.92);
}

.ap-vision-card--mission .ap-mission-full,
.ap-vision-card--mission p {
  color: var(--ink-soft);
}

.ap-mission-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ap-mission-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.ap-mission-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--brand-yellow);
  border-radius: 1px;
  transform: rotate(45deg);
}

/* Modalities pills */
.ap-modalities {
  padding: clamp(36px, 5vw, 56px) 0;
  background: var(--brand-white);
  border-top: 1px solid rgba(var(--rgb-purple), 0.08);
}

.ap-modalities-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 300;
}

.ap-modalities-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.ap-modality-pill {
  padding: 10px 18px;
  background: var(--brand-purple);
  color: var(--brand-white);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.4px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.ap-modality-pill:nth-child(even) {
  background: var(--brand-purple-dark);
}

.ap-modality-pill:hover {
  background: #6b4fb8;
  transform: translateY(-2px);
}

.about-page-manifesto {
  min-height: clamp(300px, 42vh, 420px);
}

/* Closing */
.ap-close {
  padding: clamp(56px, 8vw, 88px) 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(var(--rgb-yellow), 0.2), transparent 55%),
    linear-gradient(160deg, #3f2f78 0%, var(--brand-purple-dark) 45%, var(--brand-purple) 100%);
}

.ap-close-card {
  text-align: center;
  max-width: 820px;
  padding: clamp(36px, 5vw, 52px) clamp(24px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.ap-close-card .eyebrow {
  justify-content: center;
  margin-bottom: 16px;
}

.ap-close-quote {
  margin: 0 auto 28px;
  padding: 0;
  border: none;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(17px, 2.2vw, 24px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.96);
}

.ap-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.ap-cta .btn-ghost {
  color: var(--brand-white);
  border-color: rgba(255, 255, 255, 0.45);
}

.ap-cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--brand-white);
}

@media (max-width: 960px) {
  .ap-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ap-intro-grid,
  .ap-programs-grid,
  .ap-approach-layout,
  .ap-vision-grid {
    grid-template-columns: 1fr;
  }

  .ap-field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ap-field-grid--seven {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ap-intro-media img {
    max-height: 380px;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 640px) {
  .ap-stats {
    margin-top: -24px;
  }

  .ap-field-grid,
  .ap-core-grid {
    grid-template-columns: 1fr;
  }

  .ap-stat-card {
    padding: 18px 12px;
  }
}

/* Legacy about-page helpers (kept for any residual refs) */
.about-page-wrap {
  max-width: 1100px;
  margin: 0 auto;
}


/* ─── COMMITMENT (legacy) ─────────────────────────────────────────────────── */
.commitment {
  position: relative;
  overflow: hidden;
  background: var(--surface-alt);
  padding: clamp(64px, 8vw, 108px) clamp(20px, 5vw, 72px);
}

.commitment-bg-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.commitment-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0);
  opacity: 0.18;
}

.commitment-orb-1 {
  width: 380px;
  height: 380px;
  top: -100px;
  right: -60px;
  background: radial-gradient(circle, rgba(var(--rgb-purple), 0.45) 0%, transparent 68%);
}

.commitment-orb-2 {
  width: 320px;
  height: 320px;
  bottom: -80px;
  left: -40px;
  background: radial-gradient(circle, rgba(var(--rgb-yellow), 0.4) 0%, transparent 68%);
}

.commitment-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.commitment-head {
  text-align: center;
  margin-bottom: 52px;
}

.commitment-head .eyebrow {
  justify-content: center;
}

.commitment-head .eyebrow::before {
  display: none;
}

.commitment-head .section-body {
  margin: 0 auto;
  text-align: center;
  max-width: 760px;
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.commitment-card {
  background: var(--brand-white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand-yellow);
  padding: 28px 26px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.commitment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-purple);
  border-color: rgba(var(--rgb-purple), 0.22);
  border-top-color: var(--brand-purple);
}

.commitment-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  margin-bottom: 16px;
  padding: 0 10px;
  background: var(--sage-pale);
  color: var(--brand-purple);
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
  border: 1px solid rgba(var(--rgb-purple), 0.12);
}

.commitment-card p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
  font-weight: 400;
  margin: 0;
}

.commitment-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  padding: 32px 36px;
  background: linear-gradient(135deg, var(--brand-purple-dark) 0%, var(--brand-purple) 55%, var(--brand-purple-light) 100%);
  border: 2px solid rgba(var(--rgb-yellow), 0.35);
  box-shadow: var(--shadow-purple);
}

.commitment-closing {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 400;
  color: var(--brand-white);
  line-height: 1.4;
  flex: 1 1 280px;
}

.commitment-banner .btn-solid {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .commitment-grid {
    grid-template-columns: 1fr;
  }

  .commitment-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }

  .commitment-banner .btn-solid {
    width: 100%;
    justify-content: center;
  }
}

.about-hero {
  position: relative;
  height: 440px;
  overflow: hidden;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  height: 100%;
  gap: 2px;
}

.ab {
  overflow: hidden;
}

.ab img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transition: transform 7s ease;
  display: block;
}

.ab:hover img {
  transform: scale(1.05);
}

.ab:first-child {
  grid-column: 1 / 3;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(var(--rgb-yellow), .2) 0%, rgba(var(--rgb-purple), .4) 100%);
  display: flex;
  align-items: flex-end;
  padding: 52px 72px;
}

.about-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(20px, 2.6vw, 36px);
  font-weight: 300;
  color: #fff;
  line-height: 1.5;
  max-width: 780px;
}

.about-quote::before {
  content: '\201C';
  font-size: 90px;
  color: var(--lavender);
  opacity: .45;
  line-height: 0;
  vertical-align: -.38em;
  margin-right: 6px;
  font-family: 'Playfair Display', serif;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  padding: 88px 72px;
  align-items: start;
}

.about-left p {
  font-size: 15px;
  line-height: 2;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 20px;
}

.about-left p:last-child {
  margin-bottom: 0;
}

.phil-block {
  background: var(--lav-ghost);
  border-left: 2.5px solid var(--sage);
  padding: 28px 28px 28px 26px;
  margin-bottom: 24px;
  border-radius: 0 8px 8px 0;
}

.phil-block h4 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 12px;
}

.phil-block p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  font-weight: 300;
}

.phil-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phil-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 6px;
  background: rgba(var(--rgb-purple), .04);
  border-left: 2px solid var(--sage-lt);
  transition: border-color .3s, background .3s;
}

.phil-item:hover {
  border-left-color: var(--sage);
  background: rgba(var(--rgb-purple), .07);
}

.phil-dot {
  width: 6px;
  height: 6px;
  background: var(--sage);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.phil-item p {
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--muted);
  font-weight: 300;
}

.about-numbers {
  background: linear-gradient(135deg, var(--brand-purple-dark) 0%, var(--brand-purple) 55%, var(--brand-purple-light) 100%);
  padding: 52px 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;

}

.a-stat {
  text-align: center;
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, .07);
}

.a-stat:last-child {
  border-right: none;
}

.a-stat-n {
  font-family: 'Playfair Display', serif;
  font-size: 50px;
  font-weight: 300;
  color: #fff;
  display: block;
  line-height: 1;
  margin-bottom: 10px;
}

.a-stat-n sup {
  font-size: 22px;
  color: var(--brand-yellow);
}

.a-stat-l {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

/* .services background set in section surfaces block above */

.services-head {
  text-align: center;
  margin-bottom: 72px;
}

.services-head .eyebrow {
  justify-content: center;
}

.services-head .eyebrow::before {
  display: none;
}

.services-head .section-body {
  margin: 0 auto;
  text-align: center;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 24px;
  border-radius: 6px;
  overflow: hidden;
}

.feat-img {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.feat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transition: transform 8s ease;
  display: block;
}

.feat-img:hover img {
  transform: scale(1.04);
}

.feat-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--rgb-purple), .25), rgba(var(--rgb-yellow), .1));
}

.feat-label {
  position: absolute;
  bottom: 22px;
  left: 22px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 30px;
  color: #fff;
  font-weight: 300;
}

.feat-content {
  background: linear-gradient(145deg, var(--brand-purple-dark) 0%, var(--brand-purple) 100%);
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feat-content .eyebrow {
  color: var(--brand-yellow);
}

.feat-content .eyebrow::before {
  background: var(--brand-yellow);
}

.feat-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 300;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.25;
}

.feat-content p {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .5);
  font-weight: 300;
  margin-bottom: 26px;
}

.feat-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lavender);
  text-decoration: none;
  font-weight: 400;
  transition: gap .3s;
}

.feat-link:hover {
  gap: 16px;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.svc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-purple);
  border-color: rgba(var(--rgb-purple), 0.3);
}

.svc-img {
  height: 190px;
  overflow: hidden;
  position: relative;
}

.svc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transition: transform 0.5s ease;
  display: block;
}

.svc-card:hover .svc-img img {
  transform: scale(1.09);
}

.svc-img-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 70%, rgba(var(--rgb-purple), .15));
}

.svc-icon {
  position: absolute;
  bottom: 14px;
  left: 16px;
  font-size: 22px;
}

.svc-body {
  padding: 24px 24px 28px;
}

.svc-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 10px;
}

.svc-card p {
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
  font-weight: 300;
}

.svc-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 10.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sage);
  text-decoration: none;
  border-bottom: 1px solid rgba(var(--rgb-purple), .4);
  padding-bottom: 2px;
  transition: letter-spacing .3s;
}

.svc-link:hover {
  letter-spacing: 3px;
}

.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-purple), var(--brand-yellow), var(--brand-purple-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}

.svc-card:hover::after {
  transform: scaleX(1);
}

.manifesto {
  position: relative;
  overflow: hidden;
 
  border-bottom: 3px solid var(--brand-yellow);
  min-height: clamp(500px, 75vh, 850px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-purple-dark) 0%, #3D2D6B 50%, var(--brand-black) 100%);
}

.manifesto-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  height: 100%;
}

.manifesto-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  filter: brightness(0.7) contrast(1.05) saturate(1.1);
  display: block;
  transform: scale(1);
  transition: transform 10s ease;
}

.manifesto:hover .manifesto-bg img {
  transform: scale(1.05);
}

.manifesto-overlay {
  position: relative;
  inset: auto;
  background: radial-gradient(circle at center, 
    rgba(var(--rgb-purple), 0.3) 0%, 
    rgba(10, 10, 10, 0.6) 60%,
    rgba(10, 10, 10, 0.85) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 5vw;
  text-align: center;
  width: 100%;
  min-height: inherit;
  z-index: 2;
}

.manifesto blockquote {
  font-family: 'Cormorant', serif;
  font-size: clamp(32px, 5vw, 62px);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
  color: #ffffff;
  max-width: 1100px;
  position: relative;
  font-style: italic;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.manifesto blockquote em {
  font-style: normal;
  color: var(--brand-purple);
  font-weight: 500;
}

.manifesto cite {
  font-family: 'Jost', sans-serif;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--brand-purple);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  opacity: 1;
  font-weight: 500;
  position: relative;
}

.manifesto cite::before {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: var(--brand-yellow);
  opacity: 0.6;
}

.manifesto-overlay blockquote::before {
  content: '\201C';
  font-size: clamp(120px, 15vw, 200px);
  color: rgba(255, 255, 255, 0.1);
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
  font-family: 'Cormorant', serif;
  z-index: -1;
}

.manifesto-overlay cite {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--brand-purple);
  font-weight: 500;
  font-style: normal;
}

.manifesto-overlay cite::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--brand-yellow);
}

/* ─── TEAM (yellow = hero --brand-yellow) ─────────────────────────────────── */
.team {
  padding: clamp(64px, 8vw, 108px) clamp(20px, 5vw, 72px);
  position: relative;
  overflow: hidden;
  
  background: var(--brand-white);
}

.team::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(var(--rgb-purple), .03) 0, rgba(var(--rgb-purple), .03) 1px, transparent 1px, transparent 50px);
  pointer-events: none;
}

.team::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--rgb-yellow), .4) 0%, rgba(var(--rgb-lilac), .15) 50%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.team .eyebrow {
  color: var(--brand-purple);
}

.team .eyebrow::before {
  background: var(--brand-yellow);
}

.team .section-title {
  color: var(--brand-purple);
}

.team .section-title em {
  color: var(--brand-purple);
  font-style: italic;
}

.team-header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 72px;
  gap: 40px;
}

.team-header-right {
  font-size: 13.5px;
  color: var(--brand-purple);
  opacity: 0.85;
  line-height: 1.8;
  max-width: 280px;
  text-align: right;
  font-weight: 400;
}

.team-grid {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* Team Single Row Layout */
.team-grid-single-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.team-card-simple {
  background: var(--brand-white);
  border: 1px solid var(--border);
 
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s var(--ease);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.team-card-simple:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(var(--rgb-yellow), .18), var(--shadow-md);
  border-color: rgba(var(--rgb-purple), .18);
  border-top-color: var(--brand-purple);
}

.team-photo-simple {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.team-photo-simple img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-card-simple:hover .team-photo-simple img {
  transform: scale(1.05);
}

.team-info-simple {
  padding: 24px 20px;
}

.team-info-simple h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--brand-purple);
  margin: 0 0 8px 0;
}

.team-designation {
  display: block;
  font-size: 14px;
  color: var(--brand-lilac);
  font-weight: 500;
  margin-bottom: 20px;
}

.team-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.team-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 0;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  flex: 1;
}

.team-btn-about {
  background: var(--brand-white);
  color: var(--brand-purple);
  border: 1px solid var(--brand-purple);
  border-radius: 0;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.team-btn-about:hover {
  background: var(--brand-yellow);
  color: var(--brand-purple);
  border-color: var(--brand-purple);
}

.team-btn-book {
  background: var(--brand-yellow);
  color: var(--ink);
  border: 2px solid var(--brand-yellow);
  border-radius: 0;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.team-btn-book:hover {
  background: var(--brand-purple);
  color: var(--brand-white);
  border-color: var(--brand-purple);
}

/* Member Details Page */
.member-hero {
  position: relative;
 min-height:  clamp(300px, 40vh, 500px);
  overflow: hidden;
}

.member-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.member-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--rgb-purple), 0.45) 0%, rgba(var(--rgb-purple), 0.75) 100%);
  z-index: 1;
}

.member-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 80px 20px;
}

.member-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.member-breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.member-breadcrumb a:hover {
  text-decoration: underline;
}

.member-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 300;
  margin: 0 0 16px 0;
  line-height: 1.1;
}

.member-name em {
  font-style: italic;
  color: var(--brand-purple);
}

.member-role {
  font-size: 18px;
  font-weight: 300;
  opacity: 0.9;
  margin: 0;
}

.member-details {
  padding: 60px 20px;
  background: var(--cream);
}

.member-container {
  max-width: 1200px;
  margin: 0 auto;
}

.member-profile {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 60px;
  align-items: start;
}

.member-photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.member-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.member-number {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--sage);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
}

.member-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: var(--ink);
  margin: 0 0 8px 0;
}

.member-title {
  font-size: 18px;
  color: var(--sage);
  font-weight: 500;
  margin: 0 0 24px 0;
}

.member-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.role-pill {
  background: var(--brand-yellow);
  color: var(--brand-purple);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

.member-bio {
  margin-bottom: 32px;
}

.member-bio p {
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 16px;
}

.member-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.credential {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink);
}

.member-languages h4 {
  font-size: 18px;
  color: var(--ink);
  margin: 0 0 12px 0;
}

.member-languages .language {
  display: inline-block;
  background: var(--sage-lt);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  margin-right: 8px;
  margin-bottom: 8px;
}

.member-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
}

.member-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.member-btn-primary {
  background: var(--sage);
  color: #fff;
  border: 1px solid var(--sage);
}

.member-btn-primary:hover {
  background: var(--sage-dk);
  border-color: var(--sage-dk);
}

.member-btn-secondary {
  background: transparent;
  color: var(--sage);
  border: 2px solid var(--sage);
}

.member-btn-secondary:hover {
  background: var(--sage);
  color: #fff;
}

/* Booking Map */
.booking-map {
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.booking-map iframe {
  border: none;
  display: block;
  height: 200px;
}

.team-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
  position: relative;
  overflow: hidden;
  transition: box-shadow .4s;
}

.team-card:hover {
  box-shadow: 0 28px 70px rgba(var(--rgb-purple), .55);
  z-index: 2;
}

.team-card:nth-child(even) {
  direction: rtl;
}

.team-card:nth-child(even)>* {
  direction: ltr;
}

.team-photo {
  position: relative;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: none;
  transition: transform .7s;
  display: block;
}

.team-card:hover .team-photo img {
  transform: scale(1.06);
}

.team-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(241, 245, 243, 0) 45%, rgba(241, 245, 243, .9) 100%);
  pointer-events: none;
}

.team-card:nth-child(even) .team-photo::after {
  background: linear-gradient(to left, rgba(241, 245, 243, 0) 45%, rgba(241, 245, 243, .9) 100%);
}

.team-num {
  position: absolute;
  bottom: -12px;
  left: 16px;
  font-family: 'Playfair Display', serif;
  font-size: 130px;
  font-weight: 300;
  color: rgba(var(--rgb-purple), .03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.team-card:nth-child(even) .team-num {
  left: auto;
  right: 16px;
}

.team-info {
  background: #fff;
  padding: 52px 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--border);
  position: relative;
}

.team-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2.5px;
  height: 56px;
  background: var(--sage);
}

.team-card:nth-child(even) .team-info::before {
  left: auto;
  right: 0;
}

.team-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 4px;
}

.team-tag {
  font-size: 10.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--sage);
  display: block;
  margin-bottom: 10px;
}

.team-title-role {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
  font-weight: 300;
  font-style: italic;
}

.team-info p {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--ink-soft);
  font-weight: 300;
  margin-bottom: 22px;
}

.team-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.team-copy p {
  margin-bottom: 0;
}

.role-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.pill {
  background: var(--brand-yellow);
  color: var(--brand-purple);

  font-size: 10.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 13px;
  border-radius: 20px;
}

.creds {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.cred {
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 10.5px;
  padding: 4px 10px;
  border-radius: 2px;
}

.langs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.lang {
  font-size: 11.5px;
  color: var(--muted);
}

.lang::after {
  content: '·';
  margin-left: 6px;
  color: var(--brand-purple);
}

.lang:last-child::after {
  display: none;
}

.certs {
  background: var(--off-white);
}

.certs-intro {
  margin-bottom: 44px;
}

.certs-tip {
  font-size: 12.5px;
  color: var(--sage-dk);
  letter-spacing: .4px;
  line-height: 1.7;
  font-weight: 400;
}

.cert-hero {
  position: relative;
  height: 280px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 44px;
}

.cert-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  display: block;
}

.cert-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--rgb-purple), .7), rgba(var(--rgb-yellow), .4));
  display: flex;
  align-items: center;
  padding: 52px 60px;
  gap: 56px;
}

.cert-hero-text h3 {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 34px;
  color: #fff;
  font-weight: 300;
  margin-bottom: 10px;
}

.cert-hero-text p {
  font-size: 14px;
  color: rgba(255, 255, 255, .62);
  max-width: 520px;
  line-height: 1.8;
  font-weight: 300;
}

.cert-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.cert-badge-lg {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 10.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 2px;
  background: rgba(var(--rgb-purple), .15);
  white-space: nowrap;
  border: 1px solid rgba(var(--rgb-purple), .3);
}

.cert-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.cert-item {
  border-bottom: 1px solid var(--border);
  background: var(--off-white);
  transition: background .25s;
}

.cert-item:last-child {
  border-bottom: none;
}

.cert-header {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  padding: 26px 36px;
  cursor: pointer;
  transition: background .25s;
}

.cert-item.open .cert-header,
.cert-header:hover {
  background: var(--lav-ghost);
}

.cert-header:focus-visible {
  outline: 2px solid rgba(var(--rgb-purple), .25);
  outline-offset: -2px;
  background: var(--lav-ghost);
}

.cert-tag {
  display: block;
  background: var(--lav-pale);
  color: var(--sage);
  font-size: 9.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 2px;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid rgba(var(--rgb-purple), .18);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cert-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  color: var(--ink);
  font-weight: 400;
}

.cert-copy {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.cert-copy p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
}

.cert-state {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.cert-state-closed,
.cert-state-open {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
  white-space: nowrap;
}

.cert-state-open {
  display: none;
}

.cert-item.open .cert-state-open {
  display: inline;
}

.cert-item.open .cert-state-closed {
  display: none;
}

.cert-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--sage);
  transition: all .3s;
  flex-shrink: 0;
  background: transparent;
}

.cert-item.open .cert-toggle {
  transform: rotate(45deg);
  background: var(--sage);
  color: #fff;
  border-color: var(--sage);
}

.cert-btn-sm {
  display: inline-block;
  padding: 10px 22px;
  border: 1.5px solid var(--sage);
  color: var(--sage);
  font-size: 9.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  transition: all .3s;
  white-space: nowrap;
}

.cert-btn-sm:hover {
  background: var(--sage);
  color: #fff;
}

.cert-body {
  display: none;
  padding: 0 36px 36px;
  border-top: 1px solid var(--border);
}

.cert-item.open .cert-body {
  display: block;
}

.cert-body-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-top: 32px;
}

.cert-overview h4,
.cert-right h4 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 12px;
}

.cert-overview p {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 16px;
}

.cert-kl {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.cert-kl-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
}

.cert-kl-dot {
  width: 5px;
  height: 5px;
  background: var(--sage);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

.cert-who {
  background: rgba(var(--rgb-purple), .05);
  border-left: 2px solid var(--sage-lt);
  padding: 16px 18px;
  border-radius: 0 6px 6px 0;
  margin-top: 4px;
}

.cert-who h5 {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 10px;
  font-weight: 500;
}

.cert-who p {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.75;
}

.corporate {
  background: var(--cream);
}

.corp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.corp-img {
  position: relative;
  height: 480px;
  overflow: hidden;
  border-radius: 6px;
}

.corp-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  display: block;
  transition: transform 8s ease;
}

.corp-img:hover img {
  transform: scale(1.04);
}

.corp-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--rgb-purple), .2), rgba(var(--rgb-yellow), .2));
}

.corp-content p {
  font-size: 15px;
  line-height: 2;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 22px;
}

.corp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 36px;
}

.corp-tag {
  background: var(--lav-pale);
  color: var(--sage);
  border: 1px solid var(--border);
  font-size: 10.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 2px;
  font-weight: 400;
}

.booking-selected-event input {
  background: var(--lav-ghost);
  border-style: dashed;
}

.booking-selected-hint {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 980px) {
  .event-card {
    grid-template-columns: 1fr;
    padding: 24px 22px;
  }

  .event-date-card {
    min-height: auto;
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .events-head {
    flex-direction: column;
    align-items: stretch;
  }

  .events-head-aside {
    align-items: flex-start;
    padding-top: 0;
  }

  .events-slide-hint {
    text-align: left;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .events-head {
    margin-bottom: 30px;
  }

  .event-card {
    padding: 20px 16px;
  }

  .event-empty-grid {
    padding: 28px 18px 32px;
  }

  .event-copy h3 {
    font-size: clamp(24px, 7vw, 28px);
  }

  .event-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-link {
    width: 100%;
  }
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.booking-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 34px;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.b-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--off-white);
  transition: background .2s;
}

.b-step:last-child {
  border-bottom: none;
}

.b-step:hover {
  background: var(--lav-ghost);
}

.b-num {
  width: 34px;
  height: 34px;
  background: var(--brand-yellow);
  color: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 2px;
}

.b-num.warn {
  background: var(--brand-purple);
  color: var(--brand-white);
}

.b-text h4 {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 5px;
}

.b-text p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 300;
}

.booking-form {
  background: linear-gradient(135deg, var(--brand-white) 0%, var(--sage-pale) 100%);
  border: 2px solid var(--border);
  border-radius: 0;
  padding: 32px 28px;
  box-shadow: var(--shadow-purple);
  position: relative;
  overflow: hidden;
}

.booking-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-purple), var(--brand-yellow), var(--brand-purple-light));
}

.booking-form h3 {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 18px;
  font-weight: 300;
}

.booking-form-errors {
  margin-bottom: 20px;
  padding: 14px 16px;
  background: rgba(220, 53, 69, 0.08);
  border-left: 3px solid #dc3545;
}

.booking-form-errors p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #842029;
}

.booking-form-errors p + p {
  margin-top: 6px;
}

.form-group {
  margin-bottom: 18px;
}

.booking-form .form-group {
  margin-bottom: 12px;
}

.booking-form .form-group label {
  margin-bottom: 5px;
}

.booking-form .form-group input,
.booking-form .form-group select,
.booking-form .form-group textarea {
  padding: 10px 14px;
}

.booking-form .form-group textarea {
  min-height: 56px;
  resize: vertical;
}

.booking-form .submit-btn {
  margin-top: 4px;
  padding: 14px;
}

.booking-form .form-note {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.55;
}

.form-group label {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid rgba(var(--rgb-purple), .12);
  background: var(--brand-white);
  border-radius: 0;
  font-size: 14px;
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  transition: all .3s var(--ease);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
  font-family: 'Jost', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 3px rgba(var(--rgb-yellow), .2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.submit-btn {
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  cursor: pointer;
  border-radius: 0;
}

.submit-btn:hover {
  transform: translateY(-2px);
}

.form-note {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 14px;
  text-align: center;
  line-height: 1.7;
  font-weight: 300;
}

/* ─── FOOTER (yellow = hero --brand-yellow #F9E132) ──────────────────────── */
footer {
  background: linear-gradient(160deg, var(--brand-purple-dark) 0%, var(--brand-purple) 50%, #6B52B8 100%);
  color: var(--brand-white);
  padding: 72px 72px 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 52px;
}

.footer-logo {
  display: block;
  margin-bottom: 14px;
  text-decoration: none;
  transition: opacity .25s var(--ease);
}

.footer-logo:hover {
  opacity: 0.85;
}

.footer-logo-img {
  height: 44px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 300;
  margin-bottom: 22px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 2px solid var(--brand-yellow);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-yellow);
  text-decoration: none;
  font-size: 11px;
  transition: all .25s var(--ease);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer-social a:hover {
  background: var(--brand-yellow);
  border-color: var(--brand-yellow);
  color: var(--brand-purple-dark);
}

footer h4 {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand-yellow);
  margin-bottom: 22px;
  font-weight: 600;
}

footer h4::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--brand-yellow);
  margin-top: 10px;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 12px;
}

footer ul a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13.5px;
  transition: color .3s var(--ease);
  font-weight: 300;
}

footer ul a:hover {
  color: var(--brand-yellow);
}

.footer-bottom {
 
  margin-top: 52px;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.72);
  grid-column: 1 / -1;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-l {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal-l.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-r {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal-r.visible {
  opacity: 1;
  transform: translateX(0);
}

.d1 {
  transition-delay: .1s !important;
}

.d2 {
  transition-delay: .2s !important;
}

.d3 {
  transition-delay: .3s !important;
}

.d4 {
  transition-delay: .4s !important;
}

.d5 {
  transition-delay: .5s !important;
}

.d6 {
  transition-delay: .6s !important;
}

@media (max-width: 1366px) {
  nav {
    padding: 12px 32px;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-links a.nav-service {
    max-width: 74px;
    min-width: 64px;
  }

  .hero-l {
    padding: 72px 48px;
  }

  section,
  .team {
    padding-left: 48px;
    padding-right: 48px;
  }

  .about-content,
  .corp-grid,
  .booking-grid {
    gap: 56px;
  }

  .cert-hero-overlay {
    padding: 40px 44px;
    gap: 36px;
  }

  footer {
    padding-left: 48px;
    padding-right: 48px;
  }
}

@media (max-width: 1100px) {
  .topbar {
    padding: 10px 20px;
    font-size: 9.5px;
    letter-spacing: 2px;
    line-height: 1.7;
  }

  nav.site-nav {
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .nav-links {
    gap: 20px;
  }

  section {
    padding: clamp(56px, 10vw, 80px) 20px;
  }

  .hero,
  section.hero#home {
    display: block;
    grid-template-columns: none;
  }

  .hero-card {
    right: 24px;
    bottom: 24px;
    max-width: 260px;
  }

  .hero-seam {
    display: none;
  }

  .scroll-hint {
    left: 24px;
    bottom: 24px;
  }

  .about-hero {
    height: 380px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 64px 24px;
  }

  .about-numbers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 40px 24px;
  }

  .feature {
    grid-template-columns: 1fr;
  }

  .feat-content {
    padding: 40px 32px;
  }

  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team {
    padding: 80px 24px;
  }

  .team-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 48px;
  }

  .team-header-right {
    text-align: left;
    max-width: none;
  }

  .team-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .team-card:nth-child(even) {
    direction: ltr;
  }

  .team-photo {
    min-height: 360px;
  }

  .team-photo::after,
  .team-card:nth-child(even) .team-photo::after {
    background: linear-gradient(to top, rgba(241, 245, 243, 0) 45%, rgba(241, 245, 243, .9) 100%);
  }

  .team-grid-single-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .team-photo-simple {
    height: 240px;
  }

  .team-info-simple {
    padding: 20px 16px;
  }

  /* Member Details Responsive */
  .member-profile {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .member-hero {
    height: 300px;
  }

  .member-details {
    padding: 40px 20px;
  }

  .member-actions {
    flex-direction: column;
  }

  .member-btn {
    width: 100%;
    text-align: center;
  }

  .team-actions {
    flex-direction: column;
  }

  .team-btn {
    flex: none;
    width: 100%;
  }

  .cert-header {
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 12px;
    padding: 22px 24px;
  }

  .cert-tag {
    display: inline-flex;
    max-width: 100%;
    white-space: normal;
    line-height: 1.4;
  }

  .cert-copy {
    gap: 5px;
  }

  .cert-btn-sm {
    width: 100%;
    text-align: center;
  }

  .cert-state {
    justify-self: start;
  }

  .cert-state-closed,
  .cert-state-open {
    display: none !important;
  }

  .cert-body-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cert-hero {
    height: auto;
  }

  .cert-hero-overlay {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 20px;
  }

  .corp-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .corp-img {
    height: 420px;
  }

  .hero-event-slide h3 {
    font-size: 22px;
  }

  .booking-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .booking-form {
    padding: 28px 22px;
  }

  footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 56px 24px 0;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (hover: none),
(pointer: coarse) {

  .cursor-glow,
  .cursor-gem {
    display: none;
  }

  body.cursor-enhanced {
    cursor: auto;
  }
}

@media (max-width: 1150px) {
  body {
    overflow-x: hidden;
  }

  .topbar {
    font-size: 9px;
    letter-spacing: 1.8px;
  }

  .logo-name {
    font-size: 24px;
  }

  .logo-sub {
    letter-spacing: 2px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    column-gap: 16px;
    row-gap: 12px;
  }

  .logo {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-areas:
      "name sep"
      "sub sub";
    align-items: center;
    gap: 8px 10px;
  }

  .logo-name {
    grid-area: name;
  }

  .logo-sep {
    grid-area: sep;
  }

  .logo-sub {
    grid-area: sub;
  }

  .nav-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    justify-self: end;
    margin-left: 0;
    position: absolute;
    top: 15px;
    right: 15px;
  }

  .nav-links {
    grid-column: 1 / -1;
    width: auto;
    margin-left: 0;
    margin-right: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-height: 0;
    margin-top: 0;
    padding-top: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-10px);
    border-top: 1px solid transparent;
    transition: max-height .35s var(--ease), opacity .25s ease, transform .35s var(--ease), padding-top .25s ease, margin-top .25s ease, border-color .25s ease;
  }

  .site-nav.is-open .nav-links {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    margin-top: 6px;
    padding-top: 14px;
    padding-left: 16px;
    padding-right: 16px;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateY(0);
    border-top-color: var(--border);
  }

  .nav-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 14px 0;
  }

  .nav-links li {
    display: block;
    border-bottom: 1px solid rgba(var(--rgb-purple), .08);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
    margin-top: 8px;
  }

  .nav-links a.nav-service {
    max-width: none;
    min-width: 0;
    min-height: 0;
    width: 100%;
    text-align: left;
    justify-content: space-between;
    padding: 14px 0;
  }

  /* Mobile Dropdown Styles */
  .nav-links .has-dropdown {
    position: static;
  }

  .nav-links .has-dropdown > a {
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--sage);
    border-radius: 0;
    margin: 0 0 0 16px;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    background: transparent;
    min-width: auto;
  }

  .dropdown-menu::before,
  .dropdown-menu::after {
    display: none;
  }

  .dropdown-menu.is-visible {
    max-height: 600px;
    margin: 8px 0 12px 16px;
  }

  .dropdown-menu li {
    border: none;
  }

  .dropdown-menu a {
    padding: 10px 16px;
    font-size: 10px;
    color: var(--brand-purple);
  }

  .dropdown-menu a:hover {
    background: transparent;
    color: var(--brand-purple-dark);
    padding-left: 20px;
  }

  .dropdown-arrow {
    width: 12px;
    height: 8px;
  }

  .nav-links > li.has-dropdown.is-open > a > .dropdown-arrow {
    transform: rotate(180deg);
  }

  .dropdown-menu .has-subdropdown > a {
    justify-content: space-between;
  }

  .dropdown-menu .sub-dropdown-menu {
    position: static;
    transform: none;
    left: auto;
    margin: 0 0 0 12px;
    min-width: auto;
    max-width: none;
    max-height: 0;
    overflow: hidden;
    border-left: 2px solid rgba(var(--rgb-purple), .15);
  }

  .dropdown-menu .sub-dropdown-menu.is-visible {
    max-height: 500px;
    margin: 4px 0 8px 12px;
  }

  .sub-dropdown-arrow {
    transform: rotate(0deg);
    width: 12px;
    height: 8px;
  }

  .dropdown-menu .has-subdropdown.is-open > a .sub-dropdown-arrow {
    transform: rotate(180deg);
  }

  .dropdown-menu--services {
    min-width: auto;
    max-width: none;
    border-radius: 0;
    padding: 0;
    transform: none;
  }

  .dropdown-menu--services > li > a,
  .dropdown-menu--services > li > a.dropdown-service-link {
    justify-content: space-between;
    text-align: left;
    padding: 10px 16px;
    border-top: none;
  }

  .dropdown-menu--services > li > a.dropdown-service-link > span {
    text-align: left;
    width: auto;
    padding: 0;
  }

  .dropdown-menu--services > li + li > a {
    border-top: none;
  }

  .dropdown-menu--services .has-subdropdown > a > span {
    text-align: left;
    padding: 0;
  }

  .dropdown-menu--services .has-subdropdown > a .sub-dropdown-arrow {
    position: static;
    margin-top: 0;
    transform: rotate(0deg);
  }

  .dropdown-menu--services .has-subdropdown.is-open > a .sub-dropdown-arrow {
    transform: rotate(180deg);
  }

  .dropdown-menu--services .sub-dropdown-menu--certs {
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    min-width: auto;
    max-width: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    border-radius: 0;
    border: none;
    box-shadow: none;
    padding: 0;
    background: transparent;
    transition: max-height .3s ease, opacity .3s ease;
  }

  .dropdown-menu--services > .has-subdropdown.is-open > .sub-dropdown-menu--certs,
  .dropdown-menu--services > .has-subdropdown > .sub-dropdown-menu--certs.is-visible {
    transform: none;
    max-height: 500px;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    margin: 4px 0 8px 12px;
  }

  .dropdown-menu--services .sub-dropdown-label {
    text-align: left;
    padding: 8px 16px 4px;
  }

  .dropdown-menu--services .sub-dropdown-menu--certs a.dropdown-cert-link {
    justify-content: flex-start;
    text-align: left;
    padding: 10px 16px;
  }

  .dropdown-menu--services .sub-dropdown-menu--certs a.dropdown-cert-link > span {
    text-align: left;
  }

  .dropdown-menu--services .sub-dropdown-menu--certs a.dropdown-cert-link:hover,
  .dropdown-menu--services .sub-dropdown-menu--certs a.dropdown-cert-link:focus-visible {
    padding-left: 16px;
    padding-right: 16px;
  }

  .dropdown-menu,
  .dropdown-menu.is-visible,
  .dropdown-menu .sub-dropdown-menu,
  .dropdown-menu .sub-dropdown-menu.is-visible,
  .dropdown-menu--services,
  .dropdown-menu--services.is-visible {
    transform: none !important;
  }

  .hero-l {
    padding: 56px 24px 48px;
  }

  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .hero-body {
    max-width: none;
    margin-bottom: 32px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 40px;
  }

  .btn-solid,
  .btn-ghost {
    width: 100%;
    text-align: center;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
    border-top: none;
    padding-top: 0;
  }

  .stat {
    margin: 0;
    padding: 0;
    border-right: none;
  }

  .hero-r {
    height: 420px;
  }

  .mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }

  .tile-a {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .tile-b {
    grid-column: 1;
    grid-row: 2;
  }

  .tile-c {
    grid-column: 2;
    grid-row: 2;
  }

  .tile-d {
    grid-column: 1;
    grid-row: 3;
  }

  .tile-e {
    grid-column: 2;
    grid-row: 3;
  }

  .hero-card {
    position: static;
    max-width: none;
    margin: 0 24px 24px;
  }

  .scroll-hint {
    display: none;
  }

  .about-hero {
    height: auto;
  }

  .about-hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, 200px);
  }

  .ab:first-child {
    grid-column: 1 / 3;
  }

  .about-hero-overlay {
    padding: 32px 24px;
  }

  .about-quote {
    font-size: clamp(18px, 4vw, 28px);
  }

  .about-numbers {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .a-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }

  .a-stat:last-child {
    border-bottom: none;
  }

  .svc-grid {
    grid-template-columns: 1fr;
  }

  .feat-img {
    min-height: 280px;
  }

  .team-photo {
    min-height: 300px;
  }

  .team-info {
    padding: 40px 28px;
  }

  .team-num {
    font-size: 96px;
  }

  .cert-hero {
    position: relative;
    min-height: 360px;
    height: auto;
  }

  .cert-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-position: center;
  }

  .cert-hero-overlay {
    position: relative;
    min-height: 360px;
    justify-content: flex-end;
  }

  .cert-hero-text {
    width: 100%;
    max-width: 100%;
  }

  .cert-hero-text h3 {
    font-size: 28px;
    line-height: 1.2;
  }

  .cert-hero-text p {
    max-width: none;
    font-size: 13.5px;
    line-height: 1.75;
  }

  .cert-badges {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }

  .cert-badge-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal;
    min-height: 40px;
  }

  .cert-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .cert-state,
  .cert-btn-sm {
    justify-self: start;
  }

  .cert-body {
    padding: 0 24px 24px;
  }

  .cert-body-inner {
    padding-top: 24px;
  }

  .corp-img {
    height: 360px;
  }

  .hero-event-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-event-register {
    width: 100%;
  }

  .hero-event-tile {
    min-height: 200px;
  }

  .booking-form {
    padding: 36px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    text-align: left;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  nav {
    padding: 14px 16px;
  }

  section {
    padding: 60px 16px;
  }

  .topbar {
    padding: 10px 16px;
    font-size: 8.5px;
    letter-spacing: 1.2px;
  }

  .logo {
    gap: 6px 8px;
  }

  .logo-img {
    height: 32px;
    max-width: 140px;
  }

  .logo-name {
    font-size: 22px;
  }

  .logo-sub {
    font-size: 8px;
    letter-spacing: 1.6px;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-links a {
    width: 100%;
    text-align: left;
  }

  .nav-cta {
    width: 100%;
    padding: 12px 16px !important;
    text-align: center;
  }

  .hero-l {
    padding: 48px 16px 36px;
  }

  .hero-headline {
    font-size: clamp(34px, 11vw, 48px);
  }

  .hero-rule {
    margin: 22px 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 32px;
  }

  .btn-solid,
  .btn-ghost {
    width: 100%;
    text-align: center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-r {
    height: 360px;
  }

  .hero-card {
    margin: 0 16px 16px;
    padding: 18px;
  }

  .about-hero {
    height: 380px;
  }

  .about-content {
    padding: 48px 16px;
  }

  .about-left p,
  .corp-content p,
  .section-body,
  .hero-body {
    font-size: 14px;
    line-height: 1.85;
  }

  .about-numbers {
    padding: 32px 16px;
  }

  .services-head {
    margin-bottom: 48px;
  }

  .feat-content {
    padding: 32px 20px;
  }

  .svc-body {
    padding: 20px 18px 24px;
  }

  .manifesto-overlay {
    padding: 48px 20px;
  }

  .manifesto-overlay blockquote {
    font-size: clamp(20px, 7vw, 30px);
  }

  .team {
    padding: 60px 16px;
  }

  .team-photo {
    min-height: 240px;
  }

  .team-info {
    padding: 32px 20px;
  }

  .team-info h3 {
    font-size: 26px;
  }

  .team-copy {
    gap: 12px;
  }

  .role-pills,
  .creds,
  .langs {
    gap: 8px;
  }

  .cert-hero {
    /* min-height: 400px; */
    margin-bottom: 32px;
  }

  .cert-hero-overlay {
    /* min-height: 400px; */
    padding: 24px 16px 18px;
    justify-content: flex-end;
    gap: 16px;
  }

  .cert-hero-text h3 {
    font-size: clamp(24px, 7.2vw, 30px);
    margin-bottom: 12px;
  }

  .cert-hero-text p {
    font-size: 13px;
    line-height: 1.7;
  }

  .cert-badges {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cert-badge-lg {
    width: 100%;
    padding: 10px 14px;
    font-size: 9px;
    letter-spacing: 1.4px;
  }

  .cert-header {
    padding: 20px 16px;
  }

  .cert-btn-sm {
    width: 100%;
    text-align: center;
  }

  .cert-body {
    padding: 0 16px 20px;
  }

  .corp-img {
    height: 280px;
  }

  .corp-tags {
    gap: 8px;
  }

  .hero-event-slide h3 {
    font-size: clamp(24px, 7vw, 28px);
  }

  .hero-event-header,
  .hero-event-footer,
  .hero-event-controls {
    gap: 10px;
  }

  .hero-event-tile {
    padding: 14px 14px 12px;
  }

  .booking-form {
    padding: 28px 16px;
  }

  .submit-btn {
    letter-spacing: 2px;
  }

  footer {
    padding: 44px 16px 0;
  }

  .footer-bottom {
    margin-top: 36px;
    padding: 18px 0;
  }
}

@media (max-width: 400px) {
  .topbar {
    display: none;
  }

  .hero-r {
    height: 320px;
  }

  .mosaic {
    grid-template-rows: repeat(3, 150px);
  }

  .stat-n {
    font-size: 34px;
  }

  .a-stat-n {
    font-size: 38px;
  }

  .team-num {
    font-size: 72px;
  }

  /* .cert-hero min-height removed — handled by content flow */

  .cert-hero-overlay {
    /* min-height: 430px; */
    padding: 22px 14px 16px;
  }

  .cert-hero-text h3 {
    font-size: 22px;
  }

  .cert-hero-text p {
    font-size: 12.5px;
  }
}

/* ─── EVENTS RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .events {
    padding: 40px 24px;
  }

  .event-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .event-card-accent-bar {
    left: 72px;
  }

  .event-date-day {
    font-size: 26px;
  }

  .event-copy {
    padding: 12px 16px;
  }

  .event-title {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .events {
    padding: 32px 16px;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-card-accent-bar {
    left: 0;
    top: 0;
    height: 2px;
    width: 100%;
  }

  .event-date-pillar {
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    padding: 10px 16px;
    border-right: none;
    border-bottom: 1px solid rgba(var(--rgb-lavender), .1);
  }

  .event-date-card {
    flex-direction: row;
    align-items: baseline;
    gap: 6px;
  }

  .event-date-day {
    font-size: 22px;
  }

  .event-duration-tag {
    margin-top: 0;
    width: auto;
  }

  .event-copy {
    padding: 12px 14px;
  }

  .event-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-register-btn {
    width: 100%;
    justify-content: center;
  }

  .event-empty-grid {
    padding: 24px 16px 28px;
    gap: 20px;
  }

  .event-empty-icon {
    width: 80px;
    height: 80px;
  }
}

/* ─── FLASH MESSAGES ─────────────────────────────────────────────────────── */
.flash-alert {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: var(--white);
  color: var(--black);
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  transform: translateY(20px);
  opacity: 0;
  animation: slideUpFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.flash-success {
  border-left: 4px solid var(--brand-yellow);
}

.flash-inner svg {
  color: var(--brand-purple);
}

.flash-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.flash-inner span {
  font-weight: 500;
  font-size: 14px;
}

.flash-close {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--brand-lilac);
  cursor: pointer;
  margin-left: 8px;
  padding: 0 4px;
}

.flash-close:hover {
  color: var(--brand-purple);
}

@keyframes slideUpFade {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ─── EVENT MODAL ────────────────────────────────────────────────────────── */
.event-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 58, 51, 0.35);
  background: rgba(255, 255, 255, .98);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.event-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.event-modal {
  background: linear-gradient(135deg, var(--brand-white) 0%, var(--sage-pale) 55%, var(--gold-pale) 100%);
  border: 2px solid var(--brand-yellow);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 480px;
  padding: 40px;
  position: relative;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-lg), var(--shadow-purple);
}

.event-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--sage-pale);
  border: 1px solid var(--border);
  color: var(--brand-purple);
  font-size: 24px;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s, color 0.2s;
}

.event-modal-close:hover {
  background: var(--brand-purple);
  color: var(--brand-white);
  transform: rotate(90deg);
}

.event-modal-overlay.open .event-modal {
  transform: translateY(0) scale(1);
}

.event-modal-header {
  margin-bottom: 28px;
  text-align: center;
}

.event-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 8px;
}

.event-modal-subtitle {
  color: var(--muted);
  font-size: 14px;
}

.event-modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.event-modal-form .form-group label {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.event-modal-form .form-group label span {
  text-transform: none;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0;
}

.event-modal-form .form-group input {
  width: 100%;
  padding: 14px 16px;
  background: var(--brand-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 15px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.event-modal-form .form-group input:focus {
  outline: none;
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 3px rgba(var(--rgb-yellow), 0.25);
}

.event-modal-submit {
  margin-top: 12px;
  width: 100%;
  justify-content: center;
}

/* Hero — cinematic full-bleed */
.hero,
section.hero#home {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  display: block;
  width: 100%;
  min-height: 0;
  grid-template-columns: none;
  padding: 0;
}

.hero-carousel-wrapper {
  position: relative;
  width: 100%;
  /* Tall enough for copy + 4-col stats; grows on short viewports */
  min-height: max(700px, min(88vh, 920px));
  grid-column: 1 / -1;
}

.hero-carousel {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  display: flex;
  flex-direction: column;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 10;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(var(--rgb-purple), 0.72) 0%, rgba(var(--rgb-purple), 0.45) 45%, rgba(var(--rgb-purple), 0.22) 100%),
    linear-gradient(180deg, transparent 35%, rgba(26, 26, 46, 0.35) 100%);
  z-index: 1;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  width: min(100%, 720px);
  max-width: 720px;
  margin: 0;
  padding: clamp(70px, 10vh, 110px) clamp(24px, 5vw, 80px) clamp(40px, 5vh, 40px) clamp(40px, 5vw, 90px);
  text-align: left;
}

.hero-slide-layout {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-height: min-content;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  align-items: center;
  align-content: center;
  gap: 32px 40px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(88px, 10vh, 108px) clamp(24px, 5vw, 72px) clamp(20px, 3vh, 32px);
  box-sizing: border-box;
}

.hero-copy {
  max-width: 580px;
  animation: slideInContent 0.7s var(--ease) forwards;
}

.hero-quote-side {
  align-self: center;
  max-width: 300px;
  padding: 20px 22px;
  border-left: 3px solid var(--brand-yellow);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
}

.hero-quote-side blockquote {
  margin: 0 0 12px;
  font-family: 'Cormorant', serif;
  font-style: italic;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
}

.hero-quote-side cite {
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--brand-purple);
  font-style: normal;
}

/* Removed hero-stats-strip */

@keyframes slideInContent {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-slide .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--brand-yellow);
  font-weight: 600;
  margin: 0 0 16px;
}

.hero-slide .hero-badge-line {
  width: 28px;
  height: 2px;
  background: var(--brand-yellow);
}

.hero-slide .hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 4.8vw, 56px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--brand-white);
  margin: 0 0 16px;
}

.hero-slide .hero-headline-line {
  display: block;
}

.hero-slide .hero-headline .ital,
.hero-slide .hero-headline em {
  font-style: italic;
  color: var(--brand-yellow);
}

.hero-slide .hero-body {
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  max-width: 48ch;
  margin: 0 0 22px;
  font-weight: 400;
}

.hero-slide .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-slide .btn-solid {
  background: var(--brand-yellow);
  color: var(--ink);
  border-color: var(--brand-purple);
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 600;
}

.hero-slide .btn-solid:hover {
  background: var(--brand-white);
  border-color: var(--brand-white);
  color: var(--brand-purple);
}

.hero-slide .btn-ghost {
  background: transparent;
  color: var(--brand-white);
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 500;
}

.hero-slide .btn-ghost:hover {
  background: var(--brand-white);
  color: var(--brand-purple);
  border-color: var(--brand-white);
}

.hero-carousel-controls {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.hero-carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--brand-yellow);
  background: rgba(255, 255, 255, 0.15);
  color: var(--brand-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  backdrop-filter: blur(6px);
}

.hero-carousel-btn:hover {
  background: var(--brand-yellow);
  border-color: var(--brand-yellow);
  color: var(--brand-purple-dark);
  transform: translateY(-2px);
}

.hero-carousel-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 3px;
}

.hero-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.hero-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.hero-carousel-dot:hover {
  background: rgba(255, 255, 255, 0.4);
}

.hero-carousel-dot.is-active {
  width: 28px;
  border-radius: 999px;
  background: var(--brand-yellow);
  border-color: var(--brand-yellow);
}

.hero-carousel-dot:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 3px;
}

/* Hero Navigation Controls */
.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.15);
  color: var(--brand-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  z-index: 25;
  transition: all 0.25s ease;
  backdrop-filter: blur(6px);
}

.hero-nav-prev {
  left: clamp(12px, 3vw, 32px);
}

.hero-nav-next {
  right: clamp(12px, 3vw, 32px);
}

.hero-nav-btn:hover {
  background: var(--brand-white);
  color: var(--brand-purple);
  border-color: var(--brand-white);
  transform: translateY(-50%) scale(1.04);
}

.hero-nav-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 3px;
}

/* Hero Dots Navigation */
.hero-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(72px + 22px);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(var(--rgb-purple), 0.35);
  backdrop-filter: blur(6px);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--brand-white);
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.hero-dot:hover {
  background: var(--brand-yellow);
  border-color: var(--brand-purple);
}

.hero-dot.is-active {
  width: 24px;
  border-radius: 999px;
  background: var(--brand-yellow);
  border-color: var(--brand-purple);
}

.hero-dot:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  .hero-carousel-wrapper {
    min-height: max(760px, min(92vh, 960px));
  }

  .hero-slide-layout {
    grid-template-columns: 1fr;
    padding: 88px 32px 20px;
  }

  .hero-quote-side {
    display: none;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding-top: 20px;
  }

  .hero-dots {
    bottom: calc(88px + 16px);
  }
}

@media (max-width: 768px) {
  .hero-carousel-wrapper {
    /* Do not use min-height: auto — absolute slides collapse and clip the bottom */
    min-height: max(680px, 100svh);
  }

  .hero-slide-layout {
    padding: 80px 20px 24px;
  }

  .hero-slide-overlay {
    background:
      linear-gradient(180deg, rgba(var(--rgb-purple), 0.78) 0%, rgba(var(--rgb-purple), 0.55) 60%, rgba(0, 0, 0, 0.35) 100%);
  }

  .hero-slide .hero-headline {
    font-size: clamp(28px, 8vw, 40px);
  }

  .hero-slide .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-slide .hero-actions a {
    width: 100%;
    text-align: center;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    padding-top: 16px;
    gap: 12px;
  }

  .hero-dots {
    bottom: calc(100px + 12px);
  }

  .hero-nav-btn {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .hero-stats .stat-n {
    font-size: 26px;
  }

  .hero-dots {
    bottom: calc(108px + 8px);
  }
}

/* Premium Modern Theme - Global Styles */

.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 300;
}

.section-body {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.85;
}

.eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 600;
}

.svc-card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
}

.svc-card p {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.85;
}

.svc-link {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
}

.cert-header h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
}

.cert-overview h4,
.cert-right h4,
.cert-who h5 {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
}

.cert-overview p,
.cert-right p,
.cert-who p,
.cert-kl-item {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.85;
}

.cert-btn-sm {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  border: 2px solid var(--brand-purple);
  color: var(--brand-purple);
  background: transparent;
  padding: 10px 22px;
  border-radius: 0;
  transition: all 0.3s var(--ease);
}

.cert-btn-sm:hover {
  background: var(--brand-yellow);
  border-color: var(--brand-yellow);
  color: var(--ink);
}

.event-title {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
}

.event-description {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.85;
}

.team-info-simple h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
}

.booking-form h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
}

.form-group label {
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
}

.submit-btn {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
}

/* Service Detail Premium */
.sd-hero {
  position: relative;
  min-height: clamp(300px, 40vh, 500px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.sd-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sd-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: brightness(0.8);
}

.sd-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(var(--rgb-purple), 0.15) 0%, 
    rgba(var(--rgb-purple), 0.35) 60%,
    rgba(var(--rgb-purple), 0.55) 100%);
  z-index: 1;
}

.sd-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 30px 24px;
}

.sd-hero-eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--brand-yellow);
  margin-bottom: 24px;
  font-weight: 600;
  display: block;
}

.sd-hero-title {

  font-size: clamp(32px, 6.5vw, 44px);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 36px;
  letter-spacing: -1px;
}

.sd-hero-title em {
  font-style: italic;
  color: var(--brand-yellow);
}

.sd-content-section {
  padding: 100px 60px;
  background: var(--cream);
}

.sd-container {
  max-width: 1280px;
  margin: 0 auto;
}

.sd-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.sd-image-wrap {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.sd-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.sd-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: inherit;
}

.sd-body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  opacity: 0.9;
}

.sd-body p {
  margin-bottom: 24px;
}

/* Long-form service article (therapy / counselling) */
.sd-article {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 60px);
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(var(--rgb-purple), 0.06), transparent 55%),
    var(--surface-alt);
}

.sd-article-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.sd-article-chip-block {
  background: var(--brand-white);
  border: 1px solid rgba(var(--rgb-purple), 0.12);
  padding: 22px 24px;
}

.sd-article-chip-label {
  display: block;
  margin-bottom: 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-purple);
}

.sd-article-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sd-article-chips li {
  padding: 10px 14px;
  background: var(--sage-pale);
  border: 1px solid rgba(var(--rgb-purple), 0.1);
  font-size: 13px;
  color: var(--ink-mid);
}

.sd-article-chips--alt li {
  background: rgba(var(--rgb-yellow), 0.18);
  border-color: rgba(var(--rgb-yellow), 0.45);
  color: var(--brand-purple-dark);
}

.sd-article-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.4fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.sd-article-aside {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sd-aside-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sd-aside-card {
  background: var(--brand-white);
  border: 1px solid rgba(var(--rgb-purple), 0.12);
  padding: 18px 20px;
}

.sd-aside-card i {
  color: var(--brand-purple);
  margin-bottom: 8px;
  font-size: 16px;
}

.sd-aside-card h4 {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--brand-purple-dark);
}

.sd-aside-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.sd-aside-card a {
  color: var(--brand-purple);
  font-weight: 500;
  text-decoration: none;
}

.sd-aside-card a:hover {
  text-decoration: underline;
}

.sd-article-body {
  background: var(--brand-white);
  border: 1px solid rgba(var(--rgb-purple), 0.1);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}

.sd-article-body p {
  margin: 0 0 22px;
  font-size: clamp(15px, 1.6vw, 16.5px);
  line-height: 1.9;
  color: var(--ink-soft);
  font-weight: 300;
}

.sd-article-body p:last-of-type {
  margin-bottom: 0;
}

.sd-article-lead {
  font-family: 'Playfair Display', serif;
  font-size: clamp(17px, 2vw, 20px) !important;
  line-height: 1.75 !important;
  color: var(--brand-purple-dark) !important;
  font-weight: 400 !important;
}

.sd-article-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  color: var(--brand-purple-dark);
  margin: 0 0 20px;
  line-height: 1.25;
}

.sd-article-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 400;
  color: var(--brand-purple);
  margin: 28px 0 14px;
  line-height: 1.3;
}

.sd-article-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sd-article-list li {
  position: relative;
  padding: 12px 14px 12px 36px;
  background: var(--sage-pale);
  border: 1px solid rgba(var(--rgb-purple), 0.1);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-mid);
}

.sd-article-list li::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-yellow);
  box-shadow: 0 0 0 3px rgba(var(--rgb-yellow), 0.25);
}

.sd-article-quote {
  margin: 8px 0 24px;
  padding: 22px 24px;
  border: none;
  border-left: 4px solid var(--brand-yellow);
  background: linear-gradient(135deg, var(--brand-purple-dark), var(--brand-purple));
  color: rgba(255, 255, 255, 0.95);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.7;
}

.sd-article-steps {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  counter-reset: sd-step;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sd-article-steps li {
  position: relative;
  counter-increment: sd-step;
  padding: 14px 16px 14px 54px;
  background: var(--brand-white);
  border: 1px solid rgba(var(--rgb-purple), 0.12);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-mid);
}

.sd-article-steps li::before {
  content: counter(sd-step);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-yellow);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sd-article-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 36px 0 24px;
}

.sd-article-divider::before,
.sd-article-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--rgb-purple), 0.35), transparent);
}

.sd-article-divider span {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 2.5vw, 28px);
  color: var(--brand-purple-dark);
  letter-spacing: 0.5px;
}

.sd-article-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(var(--rgb-purple), 0.12);
}

.sd-certs-section {
  padding: 100px 60px;
  background: #fff;
  border-top: 1px solid var(--border);
}

.sd-certs-head {
  text-align: left;
  margin-bottom: 40px;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.sd-certs-eyebrow-wrap {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.sd-certs-dot {
  width: 12px;
  height: 12px;
  background: #ff3b3b;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 10px rgba(255, 59, 59, 0.6);
}

.sd-certs-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(255, 59, 59, 0.3);
  border-radius: 50%;
}

.sd-certs-line {
  width: 48px;
  height: 1.5px;
  background: rgba(var(--rgb-purple), 0.3);
}

.sd-certs-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand-purple);
  font-weight: 600;
  line-height: 1;
}

.sd-certs-title {
  font-size: clamp(36px, 5vw, 34px);
  font-weight: 400;
  color: var(--brand-purple);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.sd-certs-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--brand-purple);
}

.sd-certs-desc {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(var(--rgb-purple), 0.6);

  margin: 0;
}

.sd-certs-wrapper {
  position: relative;
  width: 100%;
}

.sd-certs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
  transition: transform 0.5s var(--ease);
  align-items: stretch;
}

.sd-certs-wrapper.is-carousel .sd-certs-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 24px;
  padding: 16px 12px 32px;
  margin: 0 -12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sd-certs-wrapper.is-carousel .sd-cert-card {
  flex: 0 0 calc(50% - 12px);
  scroll-snap-align: center;
  min-width: 0;
  min-height: 0;
  background: #FFFFFF;
  border: 1px solid var(--brand-yellow);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.sd-certs-wrapper.is-carousel .sd-cert-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 40px 90px rgba(var(--rgb-purple), 0.15);
  background: #fff;
}

.sd-certs-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.sd-certs-dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 0;
  background: rgba(var(--rgb-purple), 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sd-certs-dot-btn.active {
  width: 30px;
  background: var(--brand-purple);
}

@media (max-width: 1024px) {
  .sd-certs-wrapper.is-carousel .sd-cert-card {
    flex: 0 0 100%;
    min-height: auto;
  }
}

.sd-certs-controls {
  position: absolute;
  top: 50%;
  left: -60px;
  right: -60px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.sd-certs-btn {
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-purple);
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-sm);
}

.sd-certs-btn:hover {
  background: var(--brand-purple);
  color: #fff;
  transform: scale(1.1);
}

@media (max-width: 1024px) {
  .sd-certs-grid {
    grid-template-columns: 1fr;
  }
  .sd-certs-wrapper.is-carousel .sd-cert-card {
    flex: 0 0 100%;
  }
  .sd-certs-controls {
    position: static;
    transform: none;
    margin-top: 32px;
    justify-content: center;
    gap: 20px;
  }
}

.sd-cert-card {
  background: #FFFFFF;
  border: 1px solid var(--brand-yellow);
  border-radius: 0;
  padding: 20px 20px 18px;
  transition: all 0.5s var(--ease);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.sd-cert-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--brand-yellow);
  opacity: 0.4;
  transition: opacity 0.4s ease;
}

.sd-cert-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 70px rgba(var(--rgb-purple), 0.12);
  border-color: var(--brand-purple);
}

.sd-cert-card:hover::before {
  opacity: 1;
}

.sd-cert-tag {
  display: inline-block;
  background: var(--brand-purple);
  color: #fff;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  width: fit-content;
}

.sd-cert-title {
 
  font-size: 20px;
  font-weight: 400;
  color: var(--brand-purple);
  margin-bottom: 10px;
  line-height: 1.3;
}

.sd-cert-overview {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(var(--rgb-purple), 0.7);
  margin-bottom: 14px;
  flex: 1;
}

.sd-cert-overview p {
  margin: 0;
}

.sd-cert-info-group {
  display: grid;
  gap: 28px;
  margin-bottom: 40px;
}

.sd-cert-info-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand-purple);
  margin-bottom: 12px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sd-cert-info-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(var(--rgb-purple), 0.1);
}

.sd-cert-info-text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(var(--rgb-purple), 0.85);
  margin: 0;
}

.sd-cert-learning-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.sd-cert-learning-list li {
  font-size: 14px;
  color: rgba(var(--rgb-purple), 0.85);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}

.sd-cert-learning-list li .dot {
  width: 5px;
  height: 5px;
  background: var(--brand-yellow);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

.sd-cert-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(var(--rgb-purple), 0.06);
}

.sd-cert-footer .btn-enquire {
  padding: 11px 18px;
  font-size: 13px;
}

.btn-enquire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 24px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
}

.btn-enquire:hover {
  transform: translateY(-3px);
}

@media (max-width: 1024px) {
  .sd-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sd-certs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .sd-article-highlights,
  .sd-article-layout {
    grid-template-columns: 1fr;
  }

  .sd-article-aside {
    position: static;
  }
}

@media (max-width: 768px) {
  .sd-hero { min-height: 50vh; }
  .sd-content-section, .sd-certs-section, .sd-article { padding: 60px 24px; }
  .sd-cert-card { padding: 16px 16px 14px; }
}

/* Event Registration Modal Styles */
