/* Home page — flowing scroll reveals (not solid directory-style blocks) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html:has(.home-page) {
  overflow-x: hidden;
  overflow-y: auto;
}

.home-page {
  --home-navy: var(--charcoal);
  --home-purple: var(--lavender-deep);
  --home-purple-deep: var(--charcoal);
  --home-lavender: var(--lavender-soft);
  --home-lavender-soft: var(--lavender-light);
  --home-lavender-panel: var(--gold-light);
  --home-gold-pale: var(--gold-light);
  --home-gold: var(--gold);
  --home-bg: var(--surface-card);
  --home-bg-lavender: var(--lavender-light);
  --home-bg-alt: var(--surface-warm);
  --home-bg-warm: var(--cream);
  --home-border: var(--border-soft);
  --home-muted: var(--text-muted);
  --home-nav-height: 84px;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
}

.home-page.hub-page-home {
  padding-top: 0;
}

/* Continuous page canvas */
.home-flow {
  background: var(--home-bg);
}

.home-flow-inner {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  padding: 0 clamp(16px, 4vw, 28px);
}

/* Scroll reveal */
.home-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.home-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.home-reveal.is-visible .home-reveal-child {
  opacity: 1;
  transform: none;
}

.home-reveal-child {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.home-reveal.is-visible .home-reveal-child:nth-child(1) { transition-delay: 0.05s; }
.home-reveal.is-visible .home-reveal-child:nth-child(2) { transition-delay: 0.12s; }
.home-reveal.is-visible .home-reveal-child:nth-child(3) { transition-delay: 0.2s; }
.home-reveal.is-visible .home-reveal-child:nth-child(4) { transition-delay: 0.28s; }
.home-reveal.is-visible .home-reveal-child:nth-child(5) { transition-delay: 0.36s; }
.home-reveal.is-visible .home-reveal-child:nth-child(6) { transition-delay: 0.44s; }

@keyframes home-hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes home-pillar-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes home-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes home-deco-drift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.85; }
  50% { transform: translate(14px, -10px) scale(1.04); opacity: 1; }
}

@keyframes home-glow-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.06); }
}

@keyframes home-partners-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes home-partners-marquee-reverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

@keyframes home-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes home-icon-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes home-accent-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes home-live-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.22); transform: scale(1); }
  50% { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.12); transform: scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  .home-reveal,
  .home-reveal-child {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .home-partners-track--marquee,
  .home-page .home-hero::before,
  .home-page .home-hero::after,
  .home-hero-orb,
  .home-pillar-preview,
  .home-pillar-card-stack > .is-front,
  .home-page .home-hero-kicker,
  .home-page .home-hero-intro,
  .home-hub-card-icon,
  .home-what::before,
  .home-what::after,
  .home-page .hero-title-accent,
  .home-partners-panel::before,
  .home-hub-card .badge-live::before {
    animation: none !important;
  }

  .home-hero.is-entered .home-hero-inner > * {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .home-what-pillar:hover {
    transform: none;
  }

  .home-what-pillar:hover .home-pillar-card-stack > .is-back,
  .home-what-pillar:hover .home-pillar-card-stack > .is-front {
    transform: none;
  }
}

/* ─── Hero ─── */
.home-page .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: auto;
  padding: calc(var(--home-nav-height) + 12px) clamp(24px, 4vw, 40px) 32px;
  background-color: #a67fad;
  background-image:
    radial-gradient(ellipse 90% 55% at 12% 92%, rgba(74, 58, 82, 0.42) 0%, transparent 58%),
    radial-gradient(ellipse 70% 50% at 88% 8%, rgba(255, 255, 255, 0.22) 0%, transparent 52%),
    linear-gradient(to top right, #7d6585 0%, #9a7aa8 32%, #bc98c1 62%, #d4b0d8 100%);
  color: var(--brand-cream);
}

.home-page .home-hero::before,
.home-page .home-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.home-page .home-hero::before {
  width: min(560px, 95vw);
  height: min(560px, 95vw);
  top: -28%;
  right: -14%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 68%);
  animation: home-deco-drift 16s ease-in-out infinite;
}

.home-page .home-hero::after {
  width: min(440px, 80vw);
  height: min(440px, 80vw);
  bottom: -38%;
  left: -12%;
  background: radial-gradient(circle, rgba(74, 68, 70, 0.14) 0%, transparent 70%);
  animation: home-deco-drift 20s ease-in-out infinite reverse;
}

.home-hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(1px);
}

.home-hero-orb--1 {
  width: 120px;
  height: 120px;
  top: 18%;
  left: 8%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, transparent 70%);
  animation: home-float 9s ease-in-out infinite;
}

.home-hero-orb--2 {
  width: 72px;
  height: 72px;
  top: 62%;
  right: 12%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, transparent 68%);
  animation: home-float 7s ease-in-out infinite 0.8s;
}

.home-hero-orb--3 {
  width: 48px;
  height: 48px;
  top: 28%;
  right: 22%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  animation: home-glow-pulse 5s ease-in-out infinite;
}

.home-hero.is-entered .home-hero-kicker,
.home-hero.is-entered .home-hero-intro {
  animation: home-hero-fade-up 0.65s ease both;
}

.home-hero.is-entered .hero-title {
  animation: home-hero-fade-up 0.7s ease 0.08s both;
}

.home-hero.is-entered .hero-tagline {
  animation: home-hero-fade-up 0.7s ease 0.16s both;
}

.home-hero.is-entered .home-hero-search-block,
.home-hero.is-entered .home-hero-rich {
  animation: home-hero-fade-up 0.7s ease 0.24s both;
}

.home-hero:not(.is-entered) .home-hero-inner > * {
  opacity: 0;
}

.home-page .home-hero:has(.home-hero-rich) {
  overflow: visible;
  z-index: 5;
  padding-bottom: 24px;
}

.home-page .home-hero:has(.home-hero-rich) .home-hero-inner {
  max-width: 60rem;
}

.home-page .home-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
  padding: 0 clamp(8px, 2vw, 20px);
}

.home-hero-copy {
  margin: 0;
}

.home-page .home-hero-kicker {
  display: inline-block;
  margin: 0 0 8px;
  font-size: var(--text-size-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(45, 35, 50, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 18px rgba(45, 35, 50, 0.2);
  text-shadow: 0 1px 2px rgba(45, 35, 50, 0.35);
  animation: home-glow-pulse 4s ease-in-out infinite;
  white-space: nowrap;
}

.home-page .home-hero-intro {
  margin: 0 auto 14px;
  max-width: 38rem;
  font-size: clamp(1rem, 2.1vw, 1.15rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: normal;
  text-transform: none;
  color: rgba(255, 255, 255, 0.94);
  text-align: center;
  text-wrap: pretty;
  text-shadow: 0 1px 3px rgba(45, 35, 50, 0.38);
}

.home-page .home-hero-intro-short {
  display: none;
}

.home-page .hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.06em;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.95rem, 4.6vw, 2.85rem);
  font-weight: 400;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 10px;
  max-width: none;
  letter-spacing: -0.02em;
  text-wrap: balance;
  text-shadow:
    0 1px 2px rgba(45, 35, 50, 0.45),
    0 4px 28px rgba(45, 35, 50, 0.28);
}

.home-page .hero-title-line {
  display: block;
}

.home-page .hero-title-accent {
  display: block;
  font-size: 1.08em;
  line-height: 1.06;
  margin: 0.04em 0;
  background: linear-gradient(120deg, #fff8ec 0%, #f5d998 38%, #fff 72%, #f0e0ff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: home-accent-shimmer 8s ease-in-out infinite;
  text-shadow: none;
  filter: drop-shadow(0 2px 12px rgba(45, 35, 50, 0.35));
}

.home-page .hero-tagline {
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  line-height: 1.5;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
  max-width: 30em;
  margin: 0 auto 14px;
  text-wrap: pretty;
  text-shadow: 0 1px 3px rgba(45, 35, 50, 0.38);
}

.home-what-pillar-hook {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--home-purple);
}

.home-what-pillar--events .home-what-pillar-hook {
  color: var(--home-purple);
}

.home-what-pillar--organisers .home-what-pillar-hook {
  color: var(--home-gold);
}

.home-what-pillar--opportunities .home-what-pillar-hook {
  color: #0f766e;
}


.home-page .hub-access-note {
  margin: 0 auto 20px;
  max-width: 38em;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-body);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--gold-light);
  border: 1px solid rgba(184, 149, 106, 0.22);
}

.home-page .hub-access-note a {
  color: var(--charcoal);
  font-weight: 600;
}

.home-page .hub-access-note a:hover {
  color: var(--gold);
}

.home-page .home-hero-search-block {
  position: relative;
  z-index: 2;
  margin-top: 4px;
  width: min(100%, 36rem);
  margin-left: auto;
  margin-right: auto;
}

.home-page .home-hero-search-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 50;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(45, 35, 50, 0.12);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(45, 35, 50, 0.18);
  max-height: 280px;
  overflow-y: auto;
}

.home-page .home-hero-search-suggest li {
  padding: 11px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
  cursor: pointer;
}

.home-page .home-hero-search-suggest li:hover,
.home-page .home-hero-search-suggest li.is-active {
  background: #f5eef8;
  color: var(--lavender-deep);
}

.home-page .home-hero-search {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 28px rgba(45, 35, 50, 0.2);
  overflow: hidden;
}

.home-page .home-hero-search-field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px 14px 11px 22px;
  text-align: left;
}

.home-page .home-hero-search-label {
  display: block;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lavender-deep);
  line-height: 1.2;
}

.home-page .home-hero-search input[type='search'] {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--charcoal);
  border-radius: 0;
  outline: none;
}

.home-page .home-hero-search input[type='search']::placeholder {
  color: rgba(74, 68, 70, 0.48);
}

.home-page .home-hero-search input[type='search']:focus-visible {
  outline: none;
}

.home-page .home-hero-search-field:focus-within {
  background: #faf8fc;
}

.home-page .home-hero-search-btn {
  flex-shrink: 0;
  align-self: stretch;
  min-height: 0;
  height: auto;
  margin: 0;
  padding: 0 26px;
  border-radius: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  background: var(--charcoal);
  color: #fff;
  border: none;
  border-left: 1px solid rgba(45, 35, 50, 0.12);
  box-shadow: none;
  transition: background 0.2s ease;
}

.home-page .home-hero-search-btn:hover {
  background: #3d3548;
  border-color: transparent;
  color: #fff;
  transform: none;
  box-shadow: none;
}

.home-page .home-hero-search-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -3px;
}

.home-page .home-hero-alt-links {
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 2px rgba(45, 35, 50, 0.3);
}

.home-page .home-hero-search-note {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 2px rgba(45, 35, 50, 0.28);
}

.home-page .home-hero-search-note a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

.home-page .home-hero-search-note a:hover {
  text-decoration-color: #fff;
}

.home-page .home-hero-search-note span {
  margin: 0 8px;
  opacity: 0.65;
}

.home-page .home-hero-alt-links a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  transition: text-decoration-color 0.18s ease;
}

.home-page .home-hero-alt-links a:hover {
  text-decoration-color: #fff;
}

.home-page .home-hero-alt-links span {
  margin: 0 6px;
  opacity: 0.65;
}

/* Hero — rich choice (Variant G) */
.home-page .home-hero-rich {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 4px clamp(12px, 4vw, 20px) 16px;
  box-sizing: border-box;
}

.home-page .home-hero-copy--rich {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 0 16px;
}

.home-page .hero-title.hero-title--rich {
  display: block;
  width: 100%;
  margin: 0 0 8px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.25rem, 6.2vw, 3.35rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  text-align: center;
}

.home-page .hero-title--rich .hero-title-line {
  display: block;
  color: #fff;
  text-shadow:
    0 1px 2px rgba(45, 35, 50, 0.4),
    0 8px 32px rgba(45, 35, 50, 0.28);
}

.home-page .home-hero-lede--rich {
  margin: 0;
  max-width: 26rem;
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  text-shadow: 0 1px 3px rgba(45, 35, 50, 0.3);
}

.home-page .home-hero-proof {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 2px rgba(45, 35, 50, 0.28);
}

.home-page .home-hero-rich-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
  width: min(100%, 72rem);
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.home-page .home-hero-rich-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 9.5rem;
  padding: 20px 24px;
  border-radius: 18px;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  color: var(--charcoal);
  box-shadow: 0 10px 24px rgba(45, 35, 50, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-page .home-hero-rich-card--events {
  background: linear-gradient(165deg, #f3ebf7 0%, #e8dcf0 42%, #d9c4e0 100%);
  border: 1px solid rgba(154, 122, 168, 0.45);
}

.home-page .home-hero-rich-card--opportunities {
  background: linear-gradient(165deg, #fdf6e3 0%, #f5e6c4 42%, #ecd29a 100%);
  border: 1px solid rgba(201, 150, 31, 0.4);
}

.home-page .home-hero-rich-card--organisers {
  background: linear-gradient(165deg, #e8f2ff 0%, #d6e8ff 100%);
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.home-page .home-hero-rich-card--gold,
.home-page .home-hero-rich-card--purple {
  background: linear-gradient(165deg, #fff8ec 0%, #f5e6c4 42%, #ecd29a 100%);
  border: 1px solid rgba(184, 149, 106, 0.4);
  color: var(--charcoal);
}

.home-page .home-hero-rich-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(45, 35, 50, 0.2);
  color: var(--charcoal);
}

.home-page .home-hero-rich-card--gold:hover,
.home-page .home-hero-rich-card--purple:hover {
  color: var(--charcoal);
}

.home-page .home-hero-rich-card:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.home-page .home-hero-rich-card-label {
  display: grid;
  gap: 0.12em;
  width: 100%;
  min-height: calc(2 * 1.15em);
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.35rem, 2.9vw, 1.85rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.home-page .home-hero-rich-card-detail {
  display: grid;
  gap: 0.12em;
  width: 100%;
  min-height: calc(2 * 1.35 * 0.95rem);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  opacity: 0.84;
}

.home-page .home-hero-rich-card-line {
  display: block;
  white-space: nowrap;
}

.home-page .home-hero-rich-card-go {
  margin-top: 2px;
  min-height: 1.2em;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #6e5530;
}

.home-page .home-hero-rich-card--events .home-hero-rich-card-go {
  color: #7a5f8a;
}

.home-page .home-hero-rich-card--opportunities .home-hero-rich-card-go {
  color: #8a6210;
}

.home-page .home-hero-rich-card--organisers .home-hero-rich-card-go {
  color: #1e4a8a;
}

.home-page .home-hero-rich-card--gold .home-hero-rich-card-go,
.home-page .home-hero-rich-card--purple .home-hero-rich-card-go {
  color: #6e5530;
}

.home-page .home-hero-rich-search-wrap {
  position: relative;
  z-index: 20;
  width: min(100%, 38rem);
  margin: 12px auto 0;
}

.home-page .home-hero-rich-search {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  margin-top: 0;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 28px rgba(45, 35, 50, 0.16);
  box-sizing: border-box;
}

.home-page .home-hero-rich-search--hubert {
  align-items: center;
  gap: 0;
  padding-left: 10px;
}

.home-page .home-hero-rich-hubert-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin-right: 4px;
  border-radius: 50%;
  object-fit: cover;
}

.home-page .home-hero-rich-search input[type='search'] {
  flex: 1 1 auto;
  min-width: 0;
  height: 52px;
  border: 0;
  background: transparent;
  padding: 0 18px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--charcoal);
  box-sizing: border-box;
}

.home-page .home-hero-rich-search input[type='search']::-webkit-search-decoration,
.home-page .home-hero-rich-search input[type='search']::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.home-page .home-hero-rich-search input[type='search']::placeholder {
  color: rgba(74, 68, 70, 0.5);
}

.home-page .home-hero-rich-search input[type='search']:focus {
  outline: none;
}

.home-page .home-hero-rich-search:focus-within {
  box-shadow:
    0 10px 28px rgba(45, 35, 50, 0.16),
    0 0 0 3px rgba(255, 255, 255, 0.35);
}

.home-page .home-hero-rich-search-btn {
  flex: 0 0 auto;
  height: 52px;
  border: 0;
  background: var(--charcoal);
  color: #fff;
  padding: 0 20px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease;
}

.home-page .home-hero-rich-search-btn:hover {
  background: #3d3548;
}

.home-page .home-hero-rich-secondary {
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
}

.home-page .home-hero-rich-secondary a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

.home-page .home-hero-rich-secondary a:hover {
  text-decoration-color: #fff;
}

/* ─── What is The Networker? (site-access preview still uses .home-what) ─── */
.home-what {
  position: relative;
  overflow: hidden;
  padding: 48px 0 56px;
  background:
    linear-gradient(165deg, rgba(237, 225, 245, 0.55) 0%, var(--home-bg) 42%, var(--home-bg-warm) 100%);
}

.home-what::before,
.home-what::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.home-what::before {
  width: min(420px, 70vw);
  height: min(420px, 70vw);
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(194, 153, 209, 0.22) 0%, transparent 68%);
  animation: home-deco-drift 18s ease-in-out infinite;
}

.home-what::after {
  width: min(300px, 55vw);
  height: min(300px, 55vw);
  bottom: -100px;
  left: -60px;
  background: radial-gradient(circle, rgba(184, 149, 106, 0.14) 0%, transparent 70%);
  animation: home-deco-drift 22s ease-in-out infinite reverse;
}

.home-what .home-flow-inner {
  position: relative;
  z-index: 1;
}

.home-what .home-flow-lede:first-of-type {
  color: var(--text-body);
}

.home-what .home-flow-head {
  margin-bottom: 36px;
}

.home-what .home-flow-head .section-title {
  max-width: 16em;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.65rem, 3.4vw, 2.15rem);
}

.home-flow-lede--muted {
  margin-top: 12px;
  font-size: 15px;
  color: var(--home-muted);
}

.home-what .home-flow-link {
  display: inline-block;
  margin-top: 16px;
}

.home-what-pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-what-pillars > li {
  min-width: 0;
  display: flex;
}

.home-what-pillar {
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 16px;
  background: #fff;
  border: 2px solid rgba(74, 68, 70, 0.14);
  box-shadow: 0 8px 28px rgba(45, 35, 50, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.home-what-pillars > li:nth-child(1) .home-what-pillar {
  border-color: rgba(154, 122, 168, 0.45);
  border-top: 5px solid var(--lavender-deep);
}

.home-what-pillars > li:nth-child(2) .home-what-pillar {
  border-color: rgba(184, 149, 106, 0.45);
  border-top: 5px solid var(--home-gold);
}

.home-what-pillars > li:nth-child(3) .home-what-pillar {
  border-color: rgba(13, 148, 136, 0.4);
  border-top: 5px solid #0d9488;
}

.home-what-pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(45, 35, 50, 0.14);
}

.home-what-pillars > li:nth-child(1) .home-what-pillar:hover {
  border-color: var(--lavender-deep);
}

.home-what-pillars > li:nth-child(2) .home-what-pillar:hover {
  border-color: var(--home-gold);
}

.home-what-pillars > li:nth-child(3) .home-what-pillar:hover {
  border-color: #0d9488;
}

.home-what-pillar-visual {
  position: relative;
  flex: 0 0 236px;
  height: 236px;
  min-height: 236px;
  overflow: hidden;
}

.home-pillar-preview {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  height: 100%;
  min-height: 0;
  padding: 18px 16px 16px;
  box-sizing: border-box;
  pointer-events: none;
  user-select: none;
}

.home-pillar-preview-label {
  margin: 0;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(45, 35, 50, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-pillar-preview--events {
  background: linear-gradient(165deg, #ebe0f0 0%, #d9c4e0 100%);
}

.home-pillar-preview--organisers {
  background: linear-gradient(165deg, #f5efe4 0%, #e8d9c0 100%);
}

.home-pillar-preview--opportunities {
  background: linear-gradient(165deg, #dff3ee 0%, #bfe3db 100%);
}

.home-pillar-card-stack {
  position: relative;
  min-height: 156px;
  max-width: 100%;
}

.home-pillar-card-stack > article {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, opacity 0.45s ease;
}

.home-pillar-card-stack > .is-back {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transform: scale(0.92) translate(-12px, -8px) rotate(-3.5deg);
  opacity: 0.72;
  filter: saturate(0.88);
  z-index: 1;
}

.home-pillar-card-stack > .is-front {
  position: relative;
  z-index: 2;
  transform: translate(6px, 10px);
  animation: home-pillar-float 5.5s ease-in-out infinite;
}

.home-what-pillars > li:nth-child(2) .home-pillar-card-stack > .is-front {
  animation-delay: 0.45s;
}

.home-what-pillars > li:nth-child(3) .home-pillar-card-stack > .is-front {
  animation-delay: 0.9s;
}

.home-what-pillar:hover .home-pillar-card-stack > .is-back {
  transform: scale(0.94) translate(-20px, -12px) rotate(-6deg);
  opacity: 0.86;
}

.home-what-pillar:hover .home-pillar-card-stack > .is-front {
  transform: translate(8px, 4px) scale(1.02);
  animation: none;
}

/* Events listing mini-card */
.home-pillar-event-card {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(45, 35, 50, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(45, 38, 54, 0.16);
}

.home-pillar-event-card.is-front {
  position: relative;
}

.home-pillar-event-premium {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1a1200;
  background: #d4a017;
  border-radius: 999px;
  padding: 3px 7px;
  box-shadow: 0 2px 8px rgba(42, 38, 40, 0.2);
}

.home-pillar-event-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 68px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(42, 38, 40, 0.28) 0%, rgba(42, 38, 40, 0.08) 55%, transparent 100%),
    linear-gradient(135deg, #c9a8d8 0%, #8b6fa0 55%, #5b4570 100%);
}

.home-pillar-event-media--meeting {
  height: 56px;
  background:
    linear-gradient(180deg, rgba(42, 38, 40, 0.22) 0%, transparent 70%),
    linear-gradient(135deg, #b8d4e8 0%, #7ba3c4 100%);
}

.home-pillar-media-emoji {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

.home-pillar-media-emoji--logo {
  font-size: 34px;
  opacity: 0.35;
}

.home-pillar-event-media--meeting .home-pillar-media-emoji {
  font-size: 24px;
}

.home-pillar-event-type {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--lavender-deep);
  border-radius: 999px;
  padding: 3px 7px;
}

.home-pillar-event-media--meeting .home-pillar-event-type {
  background: #1e3a5f;
}

.home-pillar-event-price {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  color: var(--charcoal);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  padding: 3px 8px;
}

.home-pillar-event-body {
  padding: 10px 12px 12px;
}

.home-pillar-event-body h4 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--charcoal);
}

.home-pillar-event-body p {
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  color: var(--text-muted);
}

.home-pillar-event-card.is-front .home-pillar-event-body p {
  margin-bottom: 6px;
}

.home-pillar-event-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--gold, #c9a227);
}

.home-pillar-event-rating span:last-child {
  color: var(--text-muted);
  font-weight: 600;
}

/* Organiser listing mini-card */
.home-pillar-org-card {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(45, 35, 50, 0.1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(45, 38, 54, 0.16);
}

.home-pillar-org-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, #e8f2ff 0%, #d6e8ff 100%);
  min-height: 68px;
  overflow: hidden;
}

.home-pillar-org-header--compact {
  min-height: 54px;
}

.home-pillar-org-industry {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: #1e3a5f;
  border-radius: 999px;
  padding: 3px 7px;
}

.home-pillar-org-count {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  font-size: 10px;
  font-weight: 600;
  color: #2563eb;
  background: #fff;
  border-radius: 999px;
  padding: 3px 7px;
}

.home-pillar-org-logo {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 68px;
  font-size: 26px;
  font-weight: 700;
  color: #64748b;
}

.home-pillar-org-header--compact .home-pillar-org-logo {
  min-height: 54px;
  font-size: 22px;
}

.home-pillar-org-body {
  padding: 10px 12px 12px;
}

.home-pillar-org-label {
  display: block;
  margin-bottom: 3px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2563eb;
}

.home-pillar-org-body h4 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--charcoal);
}

.home-pillar-org-body p {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-pillar-org-card.is-front .home-pillar-org-body p {
  margin-bottom: 6px;
}

.home-pillar-org-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--gold, #c9a227);
}

.home-pillar-org-rating span:last-child {
  color: var(--text-muted);
  font-weight: 600;
}

/* Opportunity listing mini-card */
.home-pillar-opp-card {
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(13, 31, 60, 0.14);
}

.home-pillar-opp-card.featured {
  border-color: #d4a853;
  box-shadow:
    0 0 0 1px #d4a853,
    0 10px 28px rgba(13, 31, 60, 0.14);
}

.home-pillar-opp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.home-pillar-opp-type {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0f766e;
  background: #d1fae5;
  border-radius: 999px;
  padding: 3px 7px;
}

.home-pillar-opp-featured {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8a6918;
  background: #f5d998;
  border-radius: 999px;
  padding: 3px 7px;
}

.home-pillar-opp-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f0e8 0%, #ebe4d6 100%);
}

.home-pillar-opp-card.is-front .home-pillar-opp-media {
  height: 44px;
}

.home-pillar-opp-media--deal {
  background: linear-gradient(135deg, #e8f2ff 0%, #d6e8ff 100%);
}

.home-pillar-opp-body {
  padding: 8px 10px 10px;
}

.home-pillar-opp-body h4 {
  margin: 0 0 3px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--charcoal);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-pillar-opp-body p {
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-pillar-opp-card.is-front .home-pillar-opp-body p {
  margin-bottom: 5px;
}

.home-pillar-opp-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.home-pillar-opp-facts span {
  font-size: 10px;
  font-weight: 600;
  color: var(--charcoal);
  background: #f1f5f9;
  border-radius: 999px;
  padding: 3px 7px;
}

.home-what-pillar-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 20px 0;
  flex: 1 1 auto;
  min-height: 0;
}

.home-what-pillar-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  margin: auto 20px 20px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--lavender-deep);
  border-radius: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
  box-sizing: border-box;
}

.home-what-pillar--organisers .home-what-pillar-go {
  background: #9a7318;
  color: #fff;
}

.home-what-pillar--opportunities .home-what-pillar-go {
  background: #0f766e;
  color: #fff;
}

.home-what-pillar:hover .home-what-pillar-go {
  transform: none;
  color: #fff;
  background: var(--charcoal);
}

.home-what-pillar-body > strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.3;
  min-height: 1.3em;
}

.home-what-pillar-body > span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.55;
  min-height: calc(1.55em * 4);
  color: var(--text-muted);
}


.home-page .home-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 20px 0 0;
  padding: 14px 16px;
  border-radius: calc(var(--radius) + 4px);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(176, 118, 210, 0.35);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(91, 47, 153, 0.1);
}

.home-page .home-hero-stat {
  flex: 1 1 140px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 4px;
  transition: transform 0.25s ease;
}

.home-page .home-hero-stat:hover {
  transform: translateY(-2px);
}

.home-page .home-hero-stat-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--home-lavender-soft);
  color: var(--home-purple-deep);
}

.home-page .home-hero-stat-icon svg {
  width: 18px;
  height: 18px;
}

.home-page .home-hero-stat-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.home-page .home-hero-stat-text strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--home-navy);
  line-height: 1.2;
}

.home-page .home-hero-stat-text > span {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ─── Section headers (no boxed containers) ─── */
.home-flow-head {
  margin-bottom: 28px;
}

.home-flow-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
}

.home-flow .section-kicker {
  display: inline-block;
  color: var(--charcoal-soft);
  background: var(--gold-light);
  border: 1px solid rgba(184, 149, 106, 0.2);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.home-flow-head .section-kicker {
  text-align: left;
  margin-bottom: 8px;
}

.home-flow-head .section-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  text-align: left;
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

.home-flow-lede {
  font-size: 16px;
  color: var(--home-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 36em;
}

.home-flow-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.home-flow-head--center .section-kicker,
.home-flow-head--center .section-title {
  text-align: center;
}

.home-flow-lede--center {
  margin-left: auto;
  margin-right: auto;
}

.home-flow-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--lavender-deep);
  text-decoration: none;
  white-space: nowrap;
}

.home-flow-link:hover {
  text-decoration: underline;
}

/* ─── Partners ─── */
.home-partners {
  position: relative;
  z-index: 4;
  margin-top: 0;
  padding: 16px 0 24px;
}

.home-partners-band {
  background: transparent;
  padding: 0;
}

.home-partners-panel {
  --home-partners-panel-x: clamp(16px, 4vw, 28px);
  position: relative;
  padding: 20px var(--home-partners-panel-x) 22px;
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(237, 225, 245, 0.42) 0%, var(--cream) 100%);
  border: 1px solid rgba(194, 153, 209, 0.24);
  box-shadow: 0 22px 54px rgba(74, 68, 70, 0.14);
  overflow: hidden;
}

.home-partners-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lavender-deep), var(--home-gold), #0d9488, var(--lavender-deep));
  background-size: 200% 100%;
  animation: home-accent-shimmer 10s ease-in-out infinite;
}

.home-partners .home-flow-head {
  margin-bottom: 12px;
}

.home-partners-kicker {
  margin: 0 auto;
  font-family: inherit;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.35;
  max-width: min(100%, 28em);
}

.home-partners-cta {
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.9375rem;
}

.home-partners-cta a {
  color: #5b2f99;
  font-weight: 600;
  text-decoration: none;
}

.home-partners-cta a:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.home-partners-marquee {
  overflow: hidden;
  margin-left: calc(-1 * var(--home-partners-panel-x));
  margin-right: calc(-1 * var(--home-partners-panel-x));
  width: calc(100% + 2 * var(--home-partners-panel-x));
  padding: 4px 0;
}

.home-partners-marquee:has(.home-partners-track--scroll),
.home-partners-marquee--scrollable {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  cursor: grab;
}

.home-partners-marquee--scrollable:active {
  cursor: grabbing;
}

.home-partners-marquee--scrollable:focus-visible {
  outline: 2px solid rgba(184, 149, 106, 0.65);
  outline-offset: 2px;
}

.home-partners-marquee--scrollable::-webkit-scrollbar {
  display: none;
}

.home-partners-marquee:has(.home-partners-track--marquee),
.home-partners-marquee:has(.home-partners-track--scroll) {
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.home-partners-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 20px;
  width: max-content;
  padding: 12px clamp(20px, 4vw, 40px);
}

.home-partners-track--static {
  width: 100%;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
  padding: 12px clamp(12px, 3vw, 24px);
}

.home-partners-track--scroll {
  width: max-content;
  flex-wrap: nowrap;
  justify-content: flex-start;
}

.home-partners-track--marquee {
  width: max-content;
  animation: home-partners-marquee var(--home-marquee-duration, 80s) linear infinite;
  will-change: transform;
}

.home-partners-track--marquee-reverse {
  animation-name: home-partners-marquee-reverse;
}

.home-partners-marquee:has(.home-partners-track--marquee):hover .home-partners-track--marquee {
  animation-play-state: paused;
}

.home-partners-track--loading {
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.home-partner-skeleton {
  display: block;
  width: 184px;
  height: 84px;
  border-radius: 16px;
  background: linear-gradient(
    90deg,
    rgba(237, 225, 245, 0.5) 0%,
    rgba(255, 255, 255, 0.95) 45%,
    rgba(237, 225, 245, 0.5) 100%
  );
  background-size: 200% 100%;
  animation: home-shimmer 1.6s ease-in-out infinite;
  border: 1px solid var(--home-border);
}

.home-partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  width: 184px;
  height: 84px;
  padding: 14px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(194, 153, 209, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 8px 20px rgba(74, 68, 70, 0.06);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
  box-sizing: border-box;
  scroll-snap-align: start;
}

.home-partner-item:hover {
  border-color: rgba(184, 149, 106, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.home-partner-item--dark-logo,
.home-partner-item.sponsor-logo-band--dark {
  background: #1a1a2e;
  border-color: rgba(26, 26, 46, 0.9);
  box-shadow: 0 8px 20px rgba(26, 26, 46, 0.18);
}

.home-partner-item--dark-logo:hover,
.home-partner-item.sponsor-logo-band--dark:hover {
  border-color: rgba(73, 197, 238, 0.45);
  filter: brightness(1.06);
}

.home-partner-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
  object-position: center;
}

/* ─── Horizontal spotlight rows ─── */
.home-spotlight {
  padding: 48px 0 64px;
}

.home-spotlight--academy {
  padding-top: 8px;
}

.home-scroll-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 16px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(91, 47, 153, 0.25) transparent;
}

.home-scroll-row::-webkit-scrollbar {
  height: 6px;
}

.home-scroll-row::-webkit-scrollbar-thumb {
  background: rgba(91, 47, 153, 0.2);
  border-radius: 99px;
}

.home-loading {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* Event cards */
.home-event-card {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px rgba(26, 26, 46, 0.06);
  transition: transform 0.22s, box-shadow 0.22s;
}

.home-event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(26, 26, 46, 0.1);
}

.home-event-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--lavender-light);
}

.home-event-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-event-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--lavender-deep);
  color: #fff;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
}

.home-event-card-price {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.92);
  color: var(--charcoal);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.home-event-card-body {
  padding: 14px 16px 16px;
}

.home-event-card-body h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0 0 6px;
  line-height: 1.35;
}

.home-event-card-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* Training cards */
.home-academy-card {
  flex: 0 0 min(260px, 74vw);
  scroll-snap-align: start;
  padding: 18px 16px;
  border-radius: calc(var(--radius) + 2px);
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
}

.home-academy-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.home-academy-type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
}

.home-academy-type--workshop { background: #e8d4a8; color: #5c4a1a; }
.home-academy-type--seminar { background: #c8e6d0; color: #14532d; }
.home-academy-type--masterclass { background: #b8d4e8; color: #1e3a5f; }

.home-academy-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--home-navy);
}

.home-academy-host {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 6px;
}

.home-academy-card h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--charcoal);
  margin: 0 0 6px;
  line-height: 1.3;
}

.home-academy-tags,
.home-academy-detail {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 4px;
  line-height: 1.45;
}

.home-academy-soon {
  display: inline-block;
  margin-top: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  padding: 3px 8px;
}

/* Opportunity cards */
.home-opp-card {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  padding: 18px 16px 16px;
  border-radius: calc(var(--radius) + 2px);
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  transition: transform 0.22s;
}

.home-opp-card:hover {
  transform: translateY(-4px);
}

.home-opp-card.is-featured {
  border-color: rgba(201, 150, 31, 0.35);
}

.home-opp-featured {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--home-gold-pale);
  color: #8a6918;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
}

.home-opp-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.home-opp-avatar-letter,
.home-opp-avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
}

.home-opp-avatar-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.home-opp-avatar-img {
  object-fit: cover;
}

.home-opp-host {
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
}

.home-opp-type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--lavender-deep);
  margin-bottom: 6px;
}

.home-opp-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0 0 8px;
  line-height: 1.35;
}

.home-opp-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.home-opp-meta {
  margin-top: 8px !important;
  font-weight: 600;
  color: var(--charcoal) !important;
}

.home-opp-cta {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--lavender-deep);
}

/* ─── Three ways hub cards ─── */
.home-discover {
  padding: 56px 0 80px;
  background: var(--home-bg-alt);
}

.home-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}

.home-hub-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--home-border);
  border-radius: 16px;
  padding: 36px 32px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.home-hub-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  transition: opacity 0.25s ease;
}

.home-hub-card--events::before {
  background: radial-gradient(ellipse 80% 60% at 0% 0%, rgba(194, 153, 209, 0.22) 0%, transparent 70%);
}

.home-hub-card--opportunities::before {
  background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(245, 217, 152, 0.28) 0%, transparent 70%);
}

.home-hub-card:hover::before {
  opacity: 0.85;
}

.home-hub-card > * {
  position: relative;
  z-index: 1;
}

.home-hub-card--events {
  border-top: 4px solid var(--lavender-deep);
}

.home-hub-card--academy {
  border-top: 4px solid #0d9488;
}

.home-hub-card--opportunities {
  border-top: 4px solid var(--home-gold);
}

.home-hub-card:hover {
  border-color: rgba(184, 149, 106, 0.35);
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px);
}

.home-hub-card:hover .home-hub-card-icon {
  animation-play-state: paused;
  transform: scale(1.08);
}

.home-hub-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  animation: home-icon-bob 5s ease-in-out infinite;
}

.home-hub-card--opportunities .home-hub-card-icon {
  background: #f5d998;
  color: #8a6918;
  animation-delay: 0.8s;
}

.home-hub-card-icon svg {
  width: 32px;
  height: 32px;
}

.home-hub-card--events .home-hub-card-icon {
  background: var(--lavender-light);
  color: var(--lavender-deep);
}

.home-hub-card--academy .home-hub-card-icon {
  background: #b8ebe4;
  color: #0f766e;
}

.home-hub-card .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  width: fit-content;
}

.home-hub-card .badge-live {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
  border: 1px solid rgba(22, 163, 74, 0.28);
}

.home-hub-card .badge-live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.22);
  flex-shrink: 0;
  animation: home-live-pulse 2s ease-in-out infinite;
}

.home-hub-card .badge-new {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
  border: 1px solid rgba(22, 163, 74, 0.28);
}

.home-hub-card h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--charcoal);
  margin: 0 0 10px;
}

.home-hub-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin: 0 0 18px;
}

.home-hub-card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--lavender-deep);
  text-decoration: none;
}

.home-hub-card-link:hover {
  color: var(--charcoal);
  text-decoration: underline;
}

.home-hub-card--academy {
  opacity: 0.97;
}

/* ─── Organiser banner — attendee-first homepage ─── */
.home-org-banner {
  padding: 8px 0 28px;
}

.home-org-banner-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  padding: 20px clamp(18px, 4vw, 28px);
  border-radius: 16px;
  border: 1px solid rgba(13, 110, 122, 0.2);
  border-left: 5px solid #0d6e7a;
  background:
    linear-gradient(135deg, #fff 0%, rgba(212, 240, 243, 0.5) 62%, rgba(253, 243, 223, 0.35) 100%);
  box-shadow: 0 12px 32px rgba(74, 68, 70, 0.07);
}

.home-org-banner-kicker {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #084a52;
}

.home-org-banner-title {
  margin: 0 0 4px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--charcoal);
}

.home-org-banner-lede {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-body);
  max-width: 36em;
}

.home-org-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  flex-shrink: 0;
}

.home-org-banner-btn {
  background: #0d6e7a;
  border-color: #0d6e7a;
  color: #fff;
}

.home-org-banner-btn:hover {
  background: #084a52;
  border-color: #084a52;
  color: #fff;
}

.home-org-banner-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: #0d6e7a;
  text-decoration: none;
  transition: color 0.18s ease;
}

.home-org-banner-link:hover {
  color: var(--charcoal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ─── Closing CTA + FAQs ─── */
.home-cta {
  padding: 64px 0 80px;
}

.home-cta-panel {
  position: relative;
  border-radius: 20px;
  background: var(--charcoal);
  color: #fff;
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}

.home-cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 80% at 0% 0%, rgba(194, 153, 209, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 45% 70% at 100% 100%, rgba(212, 168, 83, 0.14) 0%, transparent 50%);
}

.home-cta-top {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 40px clamp(20px, 4vw, 36px) 36px;
}

.home-cta-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 10px;
}

.home-cta-copy h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.45rem, 3.2vw, 1.9rem);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 10px;
  max-width: 16em;
}

.home-cta-copy p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  max-width: 32em;
}

.home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-cta .btn-primary {
  background: #d4a853;
  color: var(--charcoal);
}

.home-cta .btn-primary:hover {
  background: #e4bc6a;
  color: var(--charcoal);
}

.home-cta .btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.home-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.home-about-teaser {
  position: relative;
  z-index: 1;
  padding: 0 clamp(20px, 4vw, 36px) 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.home-about-teaser-copy {
  margin: 0;
  padding-top: 22px;
  max-width: 42em;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.home-about-teaser-copy strong {
  color: #fff;
  font-weight: 600;
}

.home-about-teaser-link {
  display: inline;
  margin-left: 0.35em;
  font-weight: 600;
  color: var(--gold-light);
  text-decoration: none;
  white-space: nowrap;
}

.home-about-teaser-link:hover {
  text-decoration: underline;
}

.home-faq {
  position: relative;
  z-index: 1;
  padding: 0 clamp(20px, 4vw, 36px) 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.home-faq-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 28px 0 16px;
}

.home-faq-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  margin: 0;
  color: #fff;
}

.home-faq-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-light);
  text-decoration: none;
}

.home-faq-all:hover {
  text-decoration: underline;
}

.home-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.home-faq-box {
  padding: 20px 22px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease, transform 0.2s ease;
}

.home-faq-box:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.home-faq-box h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}

.home-faq-box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.home-faq-box a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.home-page .site-footer {
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .home-faq-grid {
    grid-template-columns: 1fr;
  }

  .home-hub-grid {
    grid-template-columns: 1fr;
  }

  .home-what-pillars {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 960px) {
  .home-page .home-hero-rich-cards {
    grid-template-columns: 1fr;
    width: min(100%, 32rem);
  }
}

@media (max-width: 768px) {
  .home-page {
    --home-nav-height: 64px;
  }
}

@media (max-width: 640px) {
  .home-org-banner-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-org-banner-actions {
    width: 100%;
  }

  .home-page .home-hero {
    padding: calc(var(--home-nav-height) + 10px) 20px 28px;
  }

  .home-page .home-hero-intro-full {
    display: none;
  }

  .home-page .home-hero-intro-short {
    display: block;
    max-width: 22rem;
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .home-page .hero-title {
    max-width: none;
    font-size: clamp(1.7rem, 7vw, 2.05rem);
    gap: 0.06em;
    margin-bottom: 10px;
  }

  .home-page .home-hero-kicker,
  .home-page .home-hero-intro {
    margin-bottom: 8px;
  }

  .home-page .hero-title-accent {
    font-size: 1.03em;
  }

  .home-page .hero-tagline {
    font-size: 0.98rem;
    line-height: 1.45;
    margin-bottom: 12px;
  }

  .home-page .home-hero-search {
    flex-direction: column;
    align-items: stretch;
    border-radius: 20px;
  }

  .home-page .home-hero-search-field {
    width: 100%;
    padding: 12px 14px;
  }

  .home-page .home-hero-search input[type='search'] {
    padding: 0;
    text-align: left;
  }

  .home-page .home-hero-search-btn {
    width: 100%;
    height: 48px;
    border-left: none;
    border-top: 1px solid rgba(45, 35, 50, 0.08);
  }

  .home-page .home-hero-search-note {
    font-size: 13px;
  }

  .home-page .hero-title.hero-title--rich {
    font-size: clamp(2rem, 8.5vw, 2.65rem);
  }

  .home-page .home-hero-rich-card {
    padding: 18px 20px;
    min-height: 0;
  }

  .home-page .home-hero-rich-card-label,
  .home-page .home-hero-rich-card-detail {
    min-height: 0;
  }

  .home-page .home-hero-rich-card-line {
    white-space: normal;
  }

  .home-page .home-hero-rich-search {
    flex-direction: column;
    border-radius: 18px;
  }

  .home-page .home-hero-rich-search input[type='search'],
  .home-page .home-hero-rich-search-btn {
    height: 48px;
    width: 100%;
  }

  .home-page .home-hero-stats {
    flex-direction: column;
    gap: 8px;
  }

  .home-page .home-hero-stat {
    flex: 1 1 auto;
  }

  .home-cta-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-partners {
    margin-top: 0;
    padding-bottom: 20px;
  }

  .home-partners-marquee--scrollable,
  .home-partners-marquee:has(.home-partners-track--scroll) {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  .home-partners-marquee--scrollable::-webkit-scrollbar,
  .home-partners-marquee:has(.home-partners-track--scroll)::-webkit-scrollbar {
    display: none;
  }

  .home-partners-track--marquee {
    width: max-content;
  }

  .home-partners-track--static,
  .home-partners-track--scroll {
    flex-wrap: nowrap;
    width: max-content;
    justify-content: flex-start;
  }

  .home-partner-item {
    width: 160px;
    height: 76px;
    padding: 12px 16px;
  }

}

/* Founding organisers — partners-style marquee under the hero */
.home-founding {
  padding-top: 8px;
}

.home-founding[hidden] {
  display: none !important;
}

.home-founding-panel {
  background: linear-gradient(165deg, rgba(245, 236, 220, 0.55) 0%, var(--cream) 100%);
  border-color: rgba(184, 149, 106, 0.28);
}

.home-founding-sub {
  margin: 6px 0 0;
  font-size: 0.92rem;
  color: var(--home-muted, #625f73);
  line-height: 1.45;
}

.home-founding-marquees {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.home-founding-marquees--dual {
  gap: 10px;
}

.home-founding-marquees--dual .home-founding-marquee-row .home-partners-track {
  padding-top: 6px;
  padding-bottom: 6px;
}

.home-founding-cta {
  margin-top: 14px;
}

.home-founding-item--fallback {
  background: rgba(255, 255, 255, 0.92);
}

.home-founding-item {
  padding: 10px 14px;
}

.home-founding-item .home-partner-logo {
  max-width: 156px;
  max-height: 60px;
}

/* Logo tiles: never show a letter beside an image */
.home-founding-item:has(.home-partner-logo) .home-founding-initial {
  display: none !important;
}

.home-founding-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: #452d5c;
  letter-spacing: 0.02em;
}

/* Author `display: flex` above must not override the HTML hidden attribute */
.home-founding-initial[hidden] {
  display: none !important;
}

.home-locations {
  padding: 28px 0 20px;
}

.home-locations .home-flow-head {
  margin-bottom: 4px;
}

.home-locations-lede {
  max-width: 40rem;
  margin: 10px 0 0;
  color: var(--home-muted, #625f73);
  line-height: 1.6;
}

.home-locations-scroller {
  position: relative;
  margin: 18px 0 0;
}

.home-locations-scroller::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 10px;
  width: 48px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--home-bg, #f7f4ef));
}

.home-locations-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 2px;
  padding: 6px 40px 14px 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(50, 43, 120, 0.28) transparent;
}

.home-locations-track::-webkit-scrollbar {
  height: 6px;
}

.home-locations-track::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(50, 43, 120, 0.22);
}

.home-location-chip[hidden] {
  display: none;
}

.home-location-chip {
  --chip-accent: #493f95;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 0 0 auto;
  width: 104px;
  height: 104px;
  box-sizing: border-box;
  padding: 12px 10px 10px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--chip-accent) 16%, transparent);
  background: color-mix(in srgb, var(--chip-accent) 7%, transparent);
  color: #3a3650;
  text-decoration: none;
  text-align: center;
  scroll-snap-align: start;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.home-location-chip:hover,
.home-location-chip:focus-visible {
  background: color-mix(in srgb, var(--chip-accent) 12%, transparent);
  border-color: color-mix(in srgb, var(--chip-accent) 32%, transparent);
  color: #1c2040;
  transform: translateY(-2px);
  text-decoration: none;
}

.home-location-chip:focus-visible {
  outline: 2px solid var(--chip-accent);
  outline-offset: 3px;
}

.home-location-chip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--chip-accent);
  opacity: 0.95;
}

.home-location-chip-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--chip-accent) 18%, transparent);
  color: var(--chip-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.home-location-chip-icon svg,
.home-location-chip-icon .region-landmark-chip {
  display: block;
  width: 48px;
  height: 48px;
  overflow: visible;
  object-fit: contain;
  object-position: center center;
}

.home-location-chip-name {
  display: block;
  max-width: 5.6em;
  font-size: 11.5px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0.01em;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.home-location-chip-name--stacked {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 5.4em;
  line-height: 1.05;
  hyphens: none;
  -webkit-hyphens: none;
}

.home-location-chip-name-line {
  display: block;
  hyphens: none;
  -webkit-hyphens: none;
}

.home-location-chip--compact-label .home-location-chip-name:not(.home-location-chip-name--stacked) {
  font-size: 10px;
  max-width: 6.2em;
  letter-spacing: -0.01em;
}

.home-location-chip--online {
  position: relative;
  width: 112px;
  height: 112px;
  margin-right: 6px;
  border-width: 2px;
  background: color-mix(in srgb, var(--chip-accent) 16%, transparent);
  border-color: color-mix(in srgb, var(--chip-accent) 38%, transparent);
  box-shadow: 0 2px 14px color-mix(in srgb, var(--chip-accent) 20%, transparent);
}

.home-location-chip--online .home-location-chip-name {
  font-weight: 700;
}

.home-location-chip--online:hover,
.home-location-chip--online:focus-visible {
  background: color-mix(in srgb, var(--chip-accent) 22%, transparent);
  border-color: color-mix(in srgb, var(--chip-accent) 50%, transparent);
  box-shadow: 0 4px 18px color-mix(in srgb, var(--chip-accent) 26%, transparent);
}

.home-location-chip--online::after {
  content: '';
  position: absolute;
  top: 18%;
  right: -10px;
  bottom: 18%;
  width: 1px;
  background: color-mix(in srgb, var(--chip-accent) 22%, transparent);
  pointer-events: none;
}

.home-location-chip--near-you {
  border-color: color-mix(in srgb, var(--chip-accent) 42%, transparent);
  background: color-mix(in srgb, var(--chip-accent) 12%, #fff);
}

.home-location-chip--near-you .home-location-chip-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--chip-accent) 72%, var(--charcoal));
}

.home-location-chip--near-you .home-location-chip-city {
  font-weight: 700;
}

.home-location-chip--near-you[hidden] {
  display: none !important;
}

.home-locations-more {
  margin: 6px 0 0;
}

.home-locations-more a {
  color: var(--home-purple, #493f95);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.home-locations-more a:hover {
  text-decoration: underline;
}

@supports not (background: color-mix(in srgb, red 10%, white)) {
  .home-location-chip {
    border-color: rgba(50, 43, 120, 0.12);
    background: rgba(50, 43, 120, 0.04);
  }

  .home-location-chip:hover,
  .home-location-chip:focus-visible {
    background: rgba(50, 43, 120, 0.08);
    border-color: rgba(50, 43, 120, 0.22);
  }

  .home-location-chip--online {
    background: rgba(42, 85, 128, 0.12);
    border-color: rgba(42, 85, 128, 0.32);
    box-shadow: 0 2px 14px rgba(42, 85, 128, 0.14);
  }

  .home-location-chip--online:hover,
  .home-location-chip--online:focus-visible {
    background: rgba(42, 85, 128, 0.18);
    border-color: rgba(42, 85, 128, 0.42);
    box-shadow: 0 4px 18px rgba(42, 85, 128, 0.18);
  }
}

@media (max-width: 640px) {
  /* Keep every city — two-row horizontal swipe instead of a tall 4-col grid */
  .home-locations-scroller::after {
    display: block;
    width: 40px;
    bottom: 10px;
    background: linear-gradient(90deg, transparent, var(--home-bg, #f7f4ef));
  }

  .home-locations-track {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, auto);
    grid-auto-columns: max-content;
    gap: 10px 12px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 2px;
    padding: 4px 40px 12px 2px;
    -webkit-overflow-scrolling: touch;
  }

  .home-location-chip,
  .home-location-chip--online {
    width: 76px;
    height: 76px;
    max-width: none;
    aspect-ratio: auto;
    margin-right: 0;
    gap: 4px;
    padding: 8px 4px 6px;
    scroll-snap-align: start;
  }

  .home-location-chip--online::after {
    display: none;
  }

  .home-location-chip-name {
    font-size: 10px;
  }

  .home-location-chip-name--stacked {
    font-size: 9.5px;
  }

  .home-location-chip--compact-label .home-location-chip-name:not(.home-location-chip-name--stacked) {
    font-size: 9px;
  }

  .home-location-chip-icon {
    width: 36px;
    height: 36px;
  }

  .home-locations-more {
    margin-top: 8px;
  }
}
