/* ITIHAAS home page: scroll-driven redesign. Plain CSS, scoped to body.hx-home. Motion lives in assets/js/home.js. */

.hx-home {
  --p: #74158f; --pl: #8f35a9; --pd: #55006c; --m: #c21873; --pk: #fe4fa1;
  --lav: #e8d9ea; --tint: #fcd7ff; --plum: #1c101d; --deep: #150b16; --ivory: #faf8f5; --ink: #201a20;
  --serif: 'Instrument Serif', Georgia, serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  overflow-x: clip;
}

/* Hidden start-states exist only while the pre-flag is set (see enqueue.php); home.js clears it. */
html.hx-pre [data-a], html.hx-pre .hx-word__in, html.hx-pre .hx-hero .hx-arch, html.hx-pre .hx-hero__ctl { opacity: 0; }

.hx-wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 1.5rem; position: relative; }
@media (min-width: 768px) { .hx-wrap { padding: 0 3rem; } }

/* ---------- Type ---------- */
.hx-kicker { display: inline-flex; align-items: center; gap: 0.75rem; margin: 0 0 1.25rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--m); }
.hx-kicker::before { content: ''; width: 2.25rem; height: 1px; background: currentColor; }
.hx-kicker--light { color: var(--pk); }
.hx-home { --h2: clamp(2.2rem, 4.4vw, 3.8rem); }
.hx-h2 { margin: 0 0 1.25rem; font-size: var(--h2); font-weight: 300; line-height: 1.06; letter-spacing: -0.035em; color: var(--ink); }
.hx-h2--xl { font-size: var(--h2); font-weight: 300; letter-spacing: -0.035em; line-height: 1.06; }
.hx-h2--light { color: #fff; }
.hx-lead { max-width: 40rem; margin: 0; font-size: 1.05rem; font-weight: 300; line-height: 1.75; color: rgba(32, 26, 32, 0.7); }
.hx-lead--light { color: rgba(232, 217, 234, 0.82); }
.hx-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.24em; margin-bottom: -0.24em; }
.hx-w > i { display: inline-block; font-style: inherit; will-change: transform; }
.hx-h2 em, .hx-closing__title em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

.hx-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--p); text-decoration: none; transition: color 0.25s, gap 0.3s; }
.hx-link:hover { color: var(--m); gap: 0.9rem; }
.hx-link--big { padding: 0.9rem 1.5rem; border: 1px solid rgba(116, 21, 143, 0.3); border-radius: 999px; white-space: nowrap; }
.hx-link--big:hover { background: var(--p); color: #fff; border-color: var(--p); }

/* ---------- Buttons ---------- */
.hx-btn { position: relative; display: inline-flex; align-items: center; gap: 0.75rem; padding: 0.95rem 1.6rem; border: 1px solid transparent; border-radius: 999px; font: inherit; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: box-shadow 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s; will-change: transform; }
.hx-btn__ico { transition: transform 0.4s var(--ease); font-size: 1.15rem !important; }
.hx-btn:hover .hx-btn__ico { transform: translate(3px, -3px) rotate(8deg); }
.hx-btn--solid { color: #fff; background: linear-gradient(110deg, var(--m), var(--p) 70%); box-shadow: 0 10px 40px -10px rgba(194, 24, 115, 0.7); }
.hx-btn--solid:hover { box-shadow: 0 16px 50px -8px rgba(194, 24, 115, 0.95); }
.hx-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(6px); }
.hx-btn--ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }
.hx-btn--light { color: var(--p); background: #fff; }
.hx-btn--light:hover { background: var(--tint); box-shadow: 0 14px 40px -10px rgba(252, 215, 255, 0.6); }
.hx-btn--lg { padding: 1.35rem 2.4rem; font-size: 0.82rem; }

.hx-arrows { display: flex; gap: 0.6rem; flex-shrink: 0; }
.hx-arrows button { width: 3.4rem; height: 3.4rem; display: grid; place-items: center; border: 1px solid rgba(116, 21, 143, 0.3); border-radius: 50%; background: transparent; color: var(--p); cursor: pointer; transition: background 0.3s, color 0.3s, transform 0.3s var(--ease); }
.hx-arrows button:hover { background: var(--p); color: #fff; transform: scale(1.08); }
.hx-arrows--light button { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.hx-arrows--light button:hover { background: #fff; color: var(--p); }

.hx-split-head { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 3.5rem; }
@media (min-width: 768px) { .hx-split-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.hx-split-head__wide { max-width: 52rem; }

/* ---------- Hero ---------- */
.hx-hero { position: relative; display: flex; align-items: center; min-height: 100vh; min-height: 100svh; margin-top: calc(var(--header-top) * -1); padding: calc(var(--header-top) + 2.5rem) 0 5.5rem; background: var(--plum); color: #fff; overflow: clip; isolation: isolate; }
.hx-hero__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 85% 20%, rgba(143, 53, 169, 0.55), transparent 70%), radial-gradient(60% 50% at 0% 100%, rgba(194, 24, 115, 0.4), transparent 70%), linear-gradient(180deg, #1c101d, #150b16); }
.hx-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; }
.hx-orb--a { width: 34rem; height: 34rem; top: -10rem; right: 5%; background: var(--p); }
.hx-orb--b { width: 24rem; height: 24rem; bottom: -6rem; left: 10%; background: var(--m); opacity: 0.4; }
.hx-orb--c { width: 16rem; height: 16rem; top: 40%; left: 45%; background: var(--pl); opacity: 0.35; }
.hx-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(252, 215, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(252, 215, 255, 0.06) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000, transparent 80%); mask-image: radial-gradient(70% 70% at 60% 40%, #000, transparent 80%); }
.hx-hero__inner { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hx-hero__inner { grid-template-columns: 1.15fr 0.85fr; gap: 2rem; } }

.hx-eyebrow { display: inline-flex; align-items: center; gap: 0.7rem; margin: 0 0 1.75rem; padding: 0.5rem 1rem; border: 1px solid rgba(252, 215, 255, 0.22); border-radius: 999px; background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(8px); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tint); }
.hx-eyebrow__dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--pk); box-shadow: 0 0 0 0 rgba(254, 79, 161, 0.7); animation: hxPulse 2s infinite; }
@keyframes hxPulse { 70% { box-shadow: 0 0 0 10px rgba(254, 79, 161, 0); } 100% { box-shadow: 0 0 0 0 rgba(254, 79, 161, 0); } }

.hx-hero__title { margin: 0 0 1.4rem; font-weight: 800; }
.hx-line { display: block; overflow: hidden; padding: 0.02em 0 0.1em; }
.hx-word { display: block; padding: 0; border: 0; background: none; font: inherit; font-size: clamp(2.6rem, 7vw, 6rem); font-weight: 800; line-height: 0.95; letter-spacing: -0.05em; text-align: left; cursor: pointer; color: rgba(252, 215, 255, 0.17); transition: color 0.4s, transform 0.5s var(--ease); }
.hx-word__in { display: inline-block; }
.hx-word:hover { color: rgba(252, 215, 255, 0.5); }
.hx-word.is-active { color: transparent; }
.hx-word.is-active .hx-word__in { padding-right: 0.06em; background: linear-gradient(110deg, var(--m), var(--p) 70%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hx-hero__lead { margin: 0 0 1rem; font-family: var(--serif); font-size: clamp(1.25rem, 1.9vw, 1.65rem); font-style: italic; line-height: 1.25; color: var(--tint); }
.hx-hero__text { margin: 0 0 2rem; max-width: 32rem; font-size: 0.93rem; font-weight: 300; line-height: 1.8; color: rgba(255, 255, 255, 0.78); }
.hx-hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hx-hero__visual { position: relative; display: flex; flex-direction: column; align-items: center; }
@media (min-width: 1024px) { .hx-hero__visual { align-items: flex-end; } }
.hx-arch { position: relative; width: min(100%, 24rem); aspect-ratio: 3 / 4.1; }
.hx-arch::before { content: ''; position: absolute; inset: -0.9rem; border: 1px solid rgba(252, 215, 255, 0.28); border-radius: 999px 999px 1.8rem 1.8rem; }
.hx-arch__frame { position: absolute; inset: 0; overflow: hidden; border-radius: 999px 999px 1.4rem 1.4rem; background: var(--pd); box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1); }
.hx-arch__img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hx-arch__shade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(116, 21, 143, 0.15), transparent 40%, rgba(28, 16, 29, 0.55)); pointer-events: none; }
.hx-ring { position: absolute; left: -4.2rem; bottom: 1.5rem; width: 11.5rem; height: 11.5rem; z-index: 3; animation: hxSpin 22s linear infinite; }
.hx-ring text { font-size: 11.5px; font-weight: 700; letter-spacing: 0.22em; fill: var(--tint); }
@keyframes hxSpin { to { transform: rotate(360deg); } }
.hx-badge { position: absolute; left: -2.05rem; bottom: 3.65rem; width: 7.2rem; height: 7.2rem; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(135deg, var(--m), var(--p)); box-shadow: 0 16px 40px -8px rgba(194, 24, 115, 0.8); text-align: center; }
.hx-badge strong { font-size: 2.3rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.hx-badge span { font-size: 0.5rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.3; margin-top: 0.2rem; }
@media (max-width: 1023px) { .hx-ring { left: -1.2rem; bottom: -1.2rem; } .hx-badge { left: 0.95rem; bottom: 0.95rem; } .hx-arch { width: min(100%, 22rem); } }

.hx-hero__ctl { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: min(100%, 24rem); margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.hx-hero__count { font-family: ui-monospace, Menlo, monospace; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; color: var(--tint); }
.hx-hero__dots { display: flex; align-items: center; gap: 0.4rem; }
.hx-hero__arrows { display: flex; gap: 0.5rem; }
.hx-hero__arrows button { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%; background: rgba(255, 255, 255, 0.05); color: #fff; cursor: pointer; transition: background 0.3s; }
.hx-hero__arrows button:hover { background: var(--m); }

.hx-scroll { position: absolute; left: 3rem; bottom: 1.6rem; display: none; align-items: center; gap: 0.9rem; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--tint); text-decoration: none; }
.hx-scroll i { position: relative; width: 3.5rem; height: 1px; background: rgba(252, 215, 255, 0.3); overflow: hidden; }
.hx-scroll i::after { content: ''; position: absolute; inset: 0; background: var(--pk); animation: hxLine 2s var(--ease) infinite; }
@keyframes hxLine { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
@media (min-width: 1024px) { .hx-scroll { display: flex; } }

/* hero polish: floating glass chips + vignette */
.hx-chip { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1rem 0.6rem 0.7rem; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px; background: rgba(28, 16, 29, 0.55); backdrop-filter: blur(14px); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; white-space: nowrap; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.6); }
.hx-chip .material-symbols-outlined { width: 1.7rem; height: 1.7rem; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--pk), var(--p)); font-size: 1rem; }
.hx-chip--a { top: 12%; right: -1.2rem; }
.hx-chip--b { top: 46%; left: -2.2rem; }
@media (max-width: 1023px) { .hx-chip--a { right: 0; } .hx-chip--b { left: 0; top: 40%; } }
.hx-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 50% 110%, rgba(21, 11, 22, 0.9), transparent 60%); pointer-events: none; }

/* ---------- Ticker ---------- */
.hx-ticker-wrap { position: relative; z-index: 5; overflow-x: clip; overflow-y: visible; }
.hx-ticker { position: relative; width: 104%; margin: -1.4rem -2% -1.4rem; padding: 1.1rem 0; background: linear-gradient(90deg, var(--pd), var(--m) 60%, var(--p)); color: #fff; overflow: hidden; transform: rotate(-1.4deg); box-shadow: 0 18px 50px -14px rgba(116, 21, 143, 0.6); }
.hx-ticker__row { display: flex; width: max-content; will-change: transform; }
.hx-ticker__set { display: flex; align-items: center; flex-shrink: 0; gap: 2rem; padding-right: 2rem; }
.hx-ticker__set span { font-size: clamp(1.3rem, 2.8vw, 2.2rem); font-weight: 300; letter-spacing: -0.01em; text-transform: uppercase; white-space: nowrap; }
.hx-ticker__set em { font-style: normal; color: var(--tint); font-size: 1.2rem; }

/* ---------- Stats ---------- */
.hx-stats { position: relative; padding: 11rem 0 7rem; background: linear-gradient(165deg, #55006c 0%, #2c0b36 50%, #1c101d 100%); color: #fff; overflow: clip; }
.hx-stats__ghost { position: absolute; right: -2rem; top: 3rem; font-size: clamp(14rem, 34vw, 38rem); font-weight: 800; line-height: 0.8; letter-spacing: -0.07em; color: rgba(252, 215, 255, 0.045); pointer-events: none; user-select: none; }
.hx-stats__head { position: relative; display: grid; gap: 1.5rem; margin-bottom: 5rem; }
@media (min-width: 1024px) { .hx-stats__head { grid-template-columns: 7fr 5fr; align-items: end; gap: 4rem; } }
.hx-stats__grid { position: relative; display: grid; grid-template-columns: 1fr; border-top: 1px solid rgba(255, 255, 255, 0.14); }
@media (min-width: 640px) { .hx-stats__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hx-stats__grid { grid-template-columns: repeat(4, 1fr); } }
.hx-stat { position: relative; display: flex; flex-direction: column; padding: 2.25rem 1.75rem 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.14); transition: background 0.4s; }
@media (min-width: 640px) { .hx-stat:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, 0.14); } }
@media (min-width: 1024px) { .hx-stat { border-bottom: 0; border-left: 1px solid rgba(255, 255, 255, 0.14); } .hx-stat:first-child { border-left: 0; padding-left: 0; } }
.hx-stat:hover { background: rgba(255, 255, 255, 0.04); }
.hx-stat__eyebrow { margin-bottom: 1.2rem; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--tint); }
.hx-stat__num { display: flex; align-items: flex-start; gap: 0.15rem; margin-bottom: 1.1rem; font-size: clamp(3.6rem, 6.4vw, 6.2rem); font-weight: 800; line-height: 1; letter-spacing: -0.055em; }
.hx-stat__num .stat-num { background: linear-gradient(180deg, #fff 30%, var(--tint)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.hx-stat__num sup { margin-top: 0.35em; font-size: 0.4em; font-weight: 300; color: var(--pk); }
.hx-stat__bar { height: 2px; margin-bottom: 1.1rem; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.hx-stat__bar .metric-underline { height: 100%; background: linear-gradient(90deg, var(--pk), var(--pl)); }
.hx-stat__label { margin: 0; font-size: 1.15rem; font-weight: 700; color: #fff; }
.hx-stat__note { margin-top: 0.4rem; font-size: 0.82rem; line-height: 1.6; color: rgba(232, 217, 234, 0.7); }
.hx-stat .hx-link { margin-top: 1rem; color: var(--tint); }

/* ---------- Events (horizontal scroll) ---------- */
.hx-events { position: relative; overflow: clip; background: radial-gradient(55% 60% at 100% 0%, rgba(143, 53, 169, 0.28), transparent 70%), radial-gradient(50% 55% at 0% 100%, rgba(194, 24, 115, 0.18), transparent 70%), linear-gradient(135deg, #ecd5f3 0%, #f6e6f6 35%, #fbeff7 65%, #fbd9e8 100%); }
.hx-events__pin { display: flex; flex-direction: column; justify-content: center; padding: 6rem 0 4rem; }
.hx-events__head { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
.hx-events__head .hx-h2 { margin-bottom: 0.8rem; }
@media (min-width: 768px) { .hx-events__head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.hx-events__viewport { overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; padding: 0.5rem 0 1rem; }
.hx-events__viewport::-webkit-scrollbar { display: none; }
.hx-events__track { display: flex; gap: 1.5rem; width: max-content; padding: 0 1.5rem; }
@media (min-width: 1024px) { .hx-events__track { padding-left: max(3rem, calc((100vw - 1440px) / 2 + 3rem)); padding-right: 3rem; } }
html.hx-on .hx-events__viewport { overflow: visible; scroll-snap-type: none; }
@media (max-width: 1023px) { html.hx-on .hx-events__viewport { overflow-x: auto; scroll-snap-type: x mandatory; } }
.hx-progress { height: 2px; margin-top: 2rem; background: rgba(116, 21, 143, 0.15); overflow: hidden; }
.hx-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--m), var(--p)); transform: scaleX(0); transform-origin: left; }
@media (max-width: 1023px) { .hx-progress { display: none; } }

.hx-ev { position: relative; display: flex; flex-direction: column; flex: 0 0 auto; width: min(82vw, 22rem); min-height: 26rem; padding: 1.9rem; border: 1px solid var(--lav); border-radius: 1.4rem; background: #fff; scroll-snap-align: start; overflow: hidden; transition: background 0.5s var(--ease), color 0.4s, transform 0.5s var(--ease), box-shadow 0.5s; }
@media (min-width: 1024px) { .hx-ev { width: clamp(21rem, 26vw, 26rem); } }
.hx-ev::before { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(155deg, var(--p), var(--plum)); opacity: 0; transition: opacity 0.5s var(--ease); }
.hx-ev > * { position: relative; z-index: 1; }
.hx-ev.is-active { transform: translateY(-10px); box-shadow: 0 30px 60px -24px rgba(116, 21, 143, 0.55); border-color: var(--p); }
.hx-ev.is-active::before { opacity: 1; }
.hx-ev__top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; margin-bottom: 1.2rem; border-bottom: 1px solid rgba(116, 21, 143, 0.14); transition: border-color 0.4s; }
.hx-ev__type { padding: 0.35rem 0.8rem; border-radius: 999px; background: var(--tint); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pd); transition: background 0.4s, color 0.4s; }
.hx-ev__n { font-size: 0.8rem; font-weight: 700; color: rgba(32, 26, 32, 0.35); }
.hx-ev__date { display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 0.9rem; }
.hx-ev__date b { font-size: 4.6rem; font-weight: 200; line-height: 0.9; letter-spacing: -0.05em; color: var(--p); transition: color 0.4s; }
.hx-ev__date span { display: flex; flex-direction: column; font-size: 0.95rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.15; }
.hx-ev__date small { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; opacity: 0.55; }
.hx-ev__date em { margin-left: auto; font-style: normal; font-size: 0.75rem; opacity: 0.6; }
.hx-ev__title { margin: 0 0 0.7rem; font-size: 1.4rem; font-weight: 500; line-height: 1.25; letter-spacing: -0.015em; }
.hx-ev__title a { color: inherit; text-decoration: none; }
.hx-ev__title a::after { content: ''; position: absolute; inset: 0; z-index: 2; }
.hx-ev__text { margin: 0 0 1rem; font-size: 0.88rem; line-height: 1.7; color: rgba(32, 26, 32, 0.68); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.4s; }
.hx-ev__venue { display: flex; align-items: center; gap: 0.4rem; margin: 0 0 1.4rem; font-size: 0.8rem; color: rgba(32, 26, 32, 0.6); transition: color 0.4s; }
.hx-ev__cta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1rem; border-top: 1px solid rgba(116, 21, 143, 0.14); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--p); text-decoration: none; transition: color 0.4s; }
.hx-ev.is-active { color: #fff; }
.hx-ev.is-active .hx-ev__date b, .hx-ev.is-active .hx-ev__cta { color: var(--tint); }
.hx-ev.is-active .hx-ev__text, .hx-ev.is-active .hx-ev__venue, .hx-ev.is-active .hx-ev__n { color: rgba(255, 255, 255, 0.78); }
.hx-ev.is-active .hx-ev__top, .hx-ev.is-active .hx-ev__cta { border-color: rgba(255, 255, 255, 0.2); }
.hx-ev.is-active .hx-ev__type { background: rgba(255, 255, 255, 0.16); color: #fff; }
.hx-ev--all { justify-content: space-between; width: min(60vw, 16rem); min-height: 0; background: linear-gradient(155deg, var(--m), var(--pd)); border: 0; color: #fff; text-decoration: none; font-size: 2rem; font-weight: 300; line-height: 1.1; letter-spacing: -0.03em; }
.hx-ev--all::before { display: none; }
.hx-ev--all .material-symbols-outlined { align-self: flex-end; font-size: 3rem; transition: transform 0.5s var(--ease); }
.hx-ev--all:hover .material-symbols-outlined { transform: translate(6px, -6px) rotate(10deg); }

/* ---------- Walk with us (stacking cards) ---------- */
.hx-walk { position: relative; padding: 8rem 0 7rem; background: radial-gradient(50% 40% at 15% 0%, rgba(143, 53, 169, 0.35), transparent 70%), radial-gradient(40% 40% at 100% 70%, rgba(194, 24, 115, 0.22), transparent 70%), var(--plum); color: #fff; overflow: clip; }
.hx-walk__head { max-width: 58rem; margin-bottom: 4.5rem; }
.hx-stack { position: relative; }
.hx-card { --dim: 0; position: relative; display: grid; grid-template-columns: 1fr; margin-bottom: 1.6rem; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 1.8rem; overflow: hidden; background: linear-gradient(135deg, var(--p), #3b0a49); box-shadow: 0 -20px 60px -30px rgba(0, 0, 0, 0.8); transform-origin: 50% 0; will-change: transform; }
.hx-card:nth-child(2) { background: linear-gradient(135deg, var(--m), var(--pd)); }
.hx-card:nth-child(3) { background: linear-gradient(135deg, var(--pl), #26082f); }
.hx-card::after { content: ''; position: absolute; inset: 0; z-index: 5; border-radius: inherit; background: var(--deep); opacity: var(--dim); pointer-events: none; }
@media (min-width: 900px) {
  .hx-card { position: sticky; top: calc(var(--header-top) + 1.2rem + var(--i) * 1.6rem); grid-template-columns: 1.05fr 0.95fr; min-height: min(68vh, 32rem); margin-bottom: 3rem; }
}
.hx-card__body { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 2.2rem 1.6rem 2.4rem; }
@media (min-width: 900px) { .hx-card__body { padding: 3.2rem 3.4rem; } }
.hx-card__n { margin-bottom: 0.6rem; font-size: clamp(4.5rem, 9vw, 8rem); font-weight: 800; line-height: 0.85; letter-spacing: -0.06em; color: rgba(252, 215, 255, 0.28); }
.hx-card__title { margin: 0 0 1rem; font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 400; line-height: 1.12; letter-spacing: -0.03em; }
.hx-card__text { margin: 0 0 2rem; max-width: 30rem; font-size: 1rem; font-weight: 300; line-height: 1.75; color: rgba(255, 255, 255, 0.82); }
.hx-card__media { position: relative; min-height: 15rem; overflow: hidden; }
.hx-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hx-card__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28, 16, 29, 0.55), transparent 45%); }
@media (max-width: 899px) { .hx-card__media { order: -1; } .hx-card__veil { background: linear-gradient(0deg, rgba(28, 16, 29, 0.5), transparent 50%); } }

/* ---------- Gallery ---------- */
.hx-gallery { position: relative; padding: 8rem 0 9rem; background: var(--ivory); overflow: clip; }
.hx-gallery__head { max-width: 58rem; margin-bottom: 4rem; }
/* "Load more": photographs after the first three rows start hidden and are added three rows at a time (initGalleryMore in main.js). */
.hx-shot[hidden], .hx-gallery__more button[hidden] { display: none; }
.hx-gallery__more { flex-wrap: wrap; gap: 0.8rem; }
.hx-shot--in { animation: hxShotIn 0.9s var(--ease) both; animation-delay: calc(var(--d, 0) * 70ms); }
@keyframes hxShotIn { from { opacity: 0; transform: translateY(40px) scale(0.96); } to { opacity: 1; transform: none; } }
.hx-gallery__more { position: relative; z-index: 2; display: flex; justify-content: center; margin-top: 3.5rem; }
.hx-gallery__more button { background: var(--ivory); font-family: inherit; cursor: pointer; }
.hx-gallery__more button i { display: inline-grid; place-items: center; min-width: 1.7rem; height: 1.7rem; padding: 0 0.4rem; border-radius: 999px; background: linear-gradient(110deg, var(--m), var(--p) 70%); font-style: normal; font-size: 0.66rem; letter-spacing: 0; color: #fff; }
.hx-gallery__more button:hover i { background: #fff; color: var(--p); }
@media (prefers-reduced-motion: reduce) { .hx-shot--in { animation: none; } }
.hx-gallery__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; align-items: start; }
@media (min-width: 768px) { .hx-gallery__cols { grid-template-columns: repeat(4, 1fr); gap: 1.4rem; } }
.hx-gallery__col { display: flex; flex-direction: column; gap: 1rem; will-change: transform; }
@media (min-width: 768px) { .hx-gallery__col { gap: 1.4rem; } .hx-gallery__col:nth-child(2) { margin-top: 5rem; } .hx-gallery__col:nth-child(4) { margin-top: 8rem; } }
@media (max-width: 767px) { .hx-gallery__col:nth-child(2n) { margin-top: 3rem; } }
.hx-shot { position: relative; overflow: hidden; border-radius: 0.9rem; background: var(--pd); cursor: pointer; }
.hx-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), filter 0.6s; }
.hx-shot:hover img { transform: scale(1.09); filter: saturate(1.15); }
.hx-shot::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(85, 0, 108, 0.82), transparent 55%); opacity: 0; transition: opacity 0.5s; }
.hx-shot:hover::after { opacity: 1; }
.hx-shot__cap { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; z-index: 2; font-size: 0.85rem; font-weight: 600; color: #fff; transform: translateY(14px); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.4s; }
.hx-shot:hover .hx-shot__cap { transform: none; opacity: 1; }
.hx-shot__eye { position: absolute; top: 0.9rem; right: 0.9rem; z-index: 2; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--p); transform: scale(0); transition: transform 0.5s var(--ease); }
.hx-shot:hover .hx-shot__eye { transform: scale(1); }

/* ---------- Stories ---------- */
.hx-stories { position: relative; padding: 8rem 0 7rem; background: linear-gradient(160deg, var(--p) 0%, #3b0a49 70%, #26082f 100%); color: #fff; overflow: clip; }
.hx-stories__mark { position: absolute; left: 3%; top: -2rem; font-family: var(--serif); font-size: clamp(20rem, 42vw, 46rem); line-height: 1; color: rgba(252, 215, 255, 0.07); pointer-events: none; user-select: none; }
.hx-stories .stories-track { gap: 1.5rem; }
.hx-quote { display: flex; flex-direction: column; justify-content: space-between; gap: 2.2rem; margin: 0; padding: 2.2rem 1.8rem; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 1.6rem; background: rgba(255, 255, 255, 0.07); backdrop-filter: blur(12px); transition: transform 0.5s var(--ease), background 0.4s, border-color 0.4s; }
@media (min-width: 768px) { .hx-quote { padding: 2.8rem 2.6rem; } }
.hx-quote:hover { transform: translateY(-8px); background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.4); }
.hx-quote blockquote { margin: 0; font-size: clamp(0.98rem, 1.15vw, 1.1rem); font-weight: 400; line-height: 1.75; color: rgba(255, 255, 255, 0.92); }
.hx-quote figcaption { display: flex; align-items: center; gap: 1rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.hx-quote__av { width: 3.2rem; height: 3.2rem; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--pk), var(--pl)); font-weight: 800; font-size: 1.2rem; }
.hx-quote figcaption b, .hx-quote figcaption small, .hx-quote figcaption i { display: block; }
.hx-quote figcaption b { font-size: 1rem; font-weight: 700; }
.hx-quote figcaption small { font-size: 0.8rem; color: rgba(232, 217, 234, 0.8); }
.hx-quote figcaption i { margin-top: 0.15rem; font-style: normal; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pk); }
.hx-dots .stories-dot { background: rgba(255, 255, 255, 0.3); }
.hx-dots .stories-dot:hover { background: rgba(255, 255, 255, 0.6); }
.hx-dots .stories-dot[aria-current='true'] { background: #fff; }

/* ---------- Speakers ---------- */
.hx-speakers { position: relative; padding: 8rem 0 7rem; background: radial-gradient(50% 40% at 0% 100%, rgba(194, 24, 115, 0.1), transparent 70%), #f7f2f8; overflow: clip; }
.hx-spk { display: flex; flex-direction: column; }
.hx-spk__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 1.2rem; background: var(--pd); margin-bottom: 1.1rem; transition: transform 0.6s var(--ease), box-shadow 0.6s; }
.hx-spk__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; filter: grayscale(1) contrast(1.1); transition: filter 0.6s, transform 0.9s var(--ease); }
.hx-spk:hover .hx-spk__img { transform: translateY(-8px); box-shadow: 0 30px 50px -24px rgba(116, 21, 143, 0.6); }
.hx-spk:hover .hx-spk__img img { filter: none; transform: scale(1.06); }
.hx-spk__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(85, 0, 108, 0.55), transparent 50%); pointer-events: none; }
.hx-spk__tag { position: absolute; left: 0.9rem; bottom: 0.9rem; z-index: 2; padding: 0.35rem 0.8rem; border-radius: 999px; background: #fff; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--p); }
.hx-spk h3 { margin: 0 0 0.35rem; font-size: 1.3rem; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); transition: color 0.3s; }
.hx-spk:hover h3 { color: var(--p); }
.hx-spk p { margin: 0; font-size: 0.82rem; line-height: 1.6; color: rgba(32, 26, 32, 0.65); }

/* ---------- Partners ---------- */
.hx-partners { position: relative; padding: 8rem 0 6rem; background: #fff; overflow: clip; }
.hx-partners__head { margin-bottom: 4.5rem; }
.hx-rows { display: flex; flex-direction: column; gap: 0.6rem; }
.hx-row { display: flex; width: max-content; align-items: center; will-change: transform; }
.hx-row__set { display: flex; align-items: center; flex-shrink: 0; }
.hx-row em { margin: 0 2.2rem; font-style: normal; font-size: 1.4rem; color: var(--m); }
.hx-partner { display: inline-flex; align-items: center; font-size: clamp(2rem, 4.6vw, 4.2rem); font-weight: 300; letter-spacing: -0.04em; color: var(--plum); text-decoration: none; white-space: nowrap; transition: color 0.3s; }
.hx-partner img { width: auto; max-height: 4.5rem; max-width: 14rem; object-fit: contain; }
.hx-row--alt .hx-partner { font-weight: 800; color: #d3b4dc; }
.hx-partner:is(a):hover, .hx-rows:hover .hx-partner:hover { color: var(--p); }

/* ---------- Closing ---------- */
.hx-closing { position: relative; padding: 10rem 0 0; text-align: center; background: radial-gradient(60% 55% at 50% 40%, rgba(143, 53, 169, 0.5), transparent 70%), linear-gradient(180deg, #150b16 0%, #3b0a49 70%, #150b16 100%); color: #fff; overflow: clip; }
.hx-closing__orb { position: absolute; left: 50%; top: 35%; width: 40rem; height: 40rem; margin: -20rem 0 0 -20rem; border-radius: 50%; background: conic-gradient(from 0deg, rgba(194, 24, 115, 0.45), rgba(116, 21, 143, 0.1), rgba(254, 79, 161, 0.4), rgba(116, 21, 143, 0.1), rgba(194, 24, 115, 0.45)); filter: blur(60px); opacity: 0.6; animation: hxSpin 30s linear infinite; }
.hx-closing__title { position: relative; margin: 0 auto 3rem; max-width: 62rem; font-size: var(--h2); font-weight: 300; line-height: 1.06; letter-spacing: -0.035em; }
.hx-closing__title em { color: var(--pk); }
.hx-closing__title em .hx-w > i { background: linear-gradient(100deg, var(--pk), var(--tint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hx-closing .monument-band { margin-top: 6rem; padding-top: 0; background: transparent; }
.hx-closing .monument { color: var(--lav); }
.hx-closing .monument svg { opacity: 0.26; }

/* ---------- Progress bar ---------- */
.hx-bar { position: fixed; left: 0; top: 0; z-index: 70; width: 100%; height: 3px; background: linear-gradient(90deg, var(--pk), var(--p)); transform: scaleX(0); transform-origin: left; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .hx-ring, .hx-closing__orb, .hx-eyebrow__dot { animation: none; }
  html.hx-pre [data-a], html.hx-pre .hx-word__in, html.hx-pre .hx-hero .hx-arch, html.hx-pre .hx-hero__ctl { opacity: 1; }
}

/* ================= Header: full-width glass bar (home) ================= */
.hx-home { --header-top: 4.4rem; }
@media (min-width: 1024px) { .hx-home { --header-top: 5rem; } }
body.hx-home #main-header { top: 0; left: 0; width: 100%; border: 0; border-bottom: 1px solid rgba(116, 21, 143, 0.12); border-radius: 0; background: rgba(250, 248, 245, 0.94); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); box-shadow: none; transform: none; transition: transform 0.6s var(--ease), background 0.3s, box-shadow 0.3s; }
body.hx-home #main-header.hx-hide { transform: translateY(-100%); }
body.hx-home #main-header.is-scrolled { box-shadow: 0 10px 30px -14px rgba(28, 16, 29, 0.35); }
body.hx-home #main-header .site-header-row { height: 4.4rem; max-width: 1440px; padding: 0 1.5rem; }
@media (min-width: 768px) { body.hx-home #main-header .site-header-row { padding: 0 3rem; } }
@media (min-width: 1024px) { body.hx-home #main-header .site-header-row { height: 5rem; } }
body.hx-home #main-header .site-logo { height: 2.8rem; mix-blend-mode: multiply; }
@media (min-width: 640px) { body.hx-home #main-header .site-logo { height: 3.2rem; } }
body.hx-home #main-header.is-scrolled .site-header-row { height: 4rem; }
body.hx-home #main-header.is-scrolled .site-logo { height: 2.6rem; }
.hx-nav { gap: 0.2rem !important; padding: 0.3rem; border-radius: 999px; background: rgba(116, 21, 143, 0.06); }
.hx-nav .nav-link { padding: 0.55rem 1.05rem !important; border-radius: 999px; font-size: 0.8rem !important; font-weight: 600 !important; letter-spacing: 0.01em; color: var(--ink) !important; transition: background 0.3s var(--ease), color 0.3s !important; }
.hx-nav .nav-link::after { display: none !important; }
.hx-nav .nav-link:hover { background: rgba(116, 21, 143, 0.12); color: var(--p) !important; }
.hx-nav .nav-link[aria-current='page'] { background: var(--p); color: #fff !important; }
.hx-cta { border-radius: 999px !important; padding: 0.85rem 1.5rem !important; background: linear-gradient(110deg, var(--m), var(--p) 75%) !important; box-shadow: 0 10px 26px -10px rgba(194, 24, 115, 0.8); transition: box-shadow 0.3s, transform 0.3s var(--ease) !important; }
.hx-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(194, 24, 115, 0.95); }
body.hx-home #menu-toggle { border-radius: 50%; border: 0; background: rgba(116, 21, 143, 0.1); }


/* ================= Extra motion helpers ================= */
.hx-kicker::before { transform-origin: left; }
.hx-sw { opacity: 0.18; transition: none; }
.hx-ghostline { display: block; }
.hx-card__title, .hx-card__text { will-change: transform; }
.hx-ev, .hx-quote, .hx-spk { will-change: transform; }
/* ================= Responsive pass ================= */
.hx-events__viewport { scroll-padding-inline: 1.5rem; }
@media (max-width: 639px) {
  .hx-word { font-size: clamp(3rem, 17vw, 4.6rem); color: rgba(252, 215, 255, 0.26); }
  .hx-word:hover, .hx-word.is-active { transform: none; }
  .hx-hero { padding-bottom: 4.5rem; }
  .hx-stats { padding: 7rem 0 4.5rem; }
  .hx-walk, .hx-gallery, .hx-stories, .hx-speakers, .hx-partners { padding-top: 5rem; }
  .hx-walk, .hx-gallery, .hx-speakers { padding-bottom: 4.5rem; }
  .hx-closing { padding-top: 6rem; }
  .hx-closing .monument-band { margin-top: 3.5rem; }
  .hx-card__n { font-size: 4rem; }
  .hx-ev { min-height: 0; }
  .hx-ticker { padding: 0.8rem 0; }
}
@media (max-width: 380px) {
  .hx-eyebrow { letter-spacing: 0.1em; font-size: 0.58rem; }
  .hx-stat { padding-left: 0; padding-right: 0; }
  .hx-badge { width: 6.2rem; height: 6.2rem; }
  .hx-ring { width: 10rem; height: 10rem; }
  .hx-chip { font-size: 0.62rem; padding: 0.45rem 0.8rem 0.45rem 0.5rem; }
  .hx-chip .material-symbols-outlined { width: 1.4rem; height: 1.4rem; font-size: 0.85rem; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .hx-hero__copy { max-width: 42rem; }
  .hx-word { font-size: clamp(4.4rem, 12vw, 7rem); }
  .hx-hero__inner { gap: 4rem; }
  .hx-hero__visual { align-items: center; }
  .hx-stats { padding-top: 9rem; }
  .hx-ev { width: 20rem; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .hx-hero__inner { grid-template-columns: 1.1fr 0.9fr; }
  .hx-arch { width: min(100%, 21rem); }
  .hx-hero__ctl { width: min(100%, 21rem); }
  .hx-ring { left: -3rem; }
  .hx-nav .nav-link { padding: 0.5rem 0.7rem !important; font-size: 0.74rem !important; }
  body.hx-home #main-header .site-header-row { padding: 0 1.2rem; gap: 0.8rem; }
  body.hx-home #main-header .site-logo { height: 2.6rem; }
  .hx-cta { padding: 0.75rem 1.1rem !important; font-size: 0.66rem !important; }
}
@media (min-width: 1800px) {
  .hx-home { --h2: 4.2rem; }
}
.hx-nav .nav-link, .hx-cta { white-space: nowrap; }

/* Events pin must always fit the viewport */
@media (min-width: 1024px) {
  .hx-events__pin { height: 100vh; height: 100svh; padding-top: calc(var(--header-top) + 1rem); padding-bottom: 1.6rem; }
  .hx-events__head { margin-bottom: 1.4rem; }
  .hx-ev { min-height: 0; padding: 1.5rem; }
  .hx-progress { margin-top: 1.2rem; }
}
@media (min-width: 1024px) and (max-height: 860px) {
  .hx-events__head .hx-lead { display: none; }
  .hx-events__head .hx-h2 { margin-bottom: 0; }
  .hx-ev__date b { font-size: 3.4rem; }
  .hx-ev__text { -webkit-line-clamp: 3; margin-bottom: 0.7rem; }
  .hx-ev__title { font-size: 1.2rem; }
  .hx-ev__top { margin-bottom: 0.8rem; padding-bottom: 0.7rem; }
  .hx-ev__venue { margin-bottom: 0.9rem; }
}
@media (min-width: 1024px) and (max-height: 700px) {
  .hx-ev__text { display: none; }
  .hx-events__head .hx-kicker { display: none; }
}
/* Short laptop screens: keep the whole hero in the first view */
@media (min-width: 1024px) and (max-height: 780px) {
  .hx-hero { padding-top: calc(var(--header-top) + 1.2rem); padding-bottom: 3rem; }
  .hx-word { font-size: clamp(2.6rem, 5.6vw, 4.8rem); }
  .hx-eyebrow { margin-bottom: 1rem; }
  .hx-hero__title { margin-bottom: 0.8rem; }
  .hx-hero__text { margin-bottom: 1.2rem; line-height: 1.65; }
  .hx-arch { width: min(100%, 18.5rem); }
  .hx-hero__ctl { width: min(100%, 18.5rem); margin-top: 1.1rem; }
  .hx-scroll { display: none; }
}
/* ================= One button style everywhere (only the background changes) ================= */
.hx-btn, .hx-btn--lg, .hx-link--big, .hx-cta { box-sizing: border-box; min-height: 3rem; padding: 0 1.5rem !important; justify-content: center; font-size: 0.72rem !important; font-weight: 700; line-height: 1; letter-spacing: 0.14em; }
.hx-btn .material-symbols-outlined, .hx-link--big .material-symbols-outlined { font-size: 1.1rem !important; }

/* ================= Mobile rhythm: smaller type, tighter sections ================= */
.hx-eyebrow { white-space: nowrap; }
@media (max-width: 639px) {
  .hx-home { --h2: clamp(1.7rem, 7.2vw, 2.1rem); }
  .hx-eyebrow { max-width: 100%; padding: 0.45rem 0.8rem; font-size: 0.54rem; letter-spacing: 0.08em; overflow: hidden; text-overflow: ellipsis; }
  .hx-hero { padding-top: calc(var(--header-top) + 1.5rem); padding-bottom: 3.5rem; }
  .hx-hero__inner { gap: 2.5rem; }
  .hx-hero__lead { font-size: 1.1rem; margin-bottom: 0.7rem; }
  .hx-hero__text { font-size: 0.88rem; line-height: 1.7; margin-bottom: 1.5rem; }
  .hx-lead { font-size: 0.92rem; line-height: 1.7; }
  .hx-kicker { margin-bottom: 0.9rem; font-size: 0.64rem; }
  .hx-stats { padding: 5.5rem 0 3rem; }
  .hx-stats__head { margin-bottom: 2.5rem; gap: 1rem; }
  .hx-stat { padding: 1.5rem 0 1.7rem; }
  .hx-stat__num { font-size: 3rem; margin-bottom: 0.8rem; }
  .hx-stat__label { font-size: 1rem; }
  .hx-events__pin { padding: 3.5rem 0 3rem; }
  .hx-events__head { margin-bottom: 1.5rem; gap: 1rem; }
  .hx-walk, .hx-gallery, .hx-stories, .hx-speakers { padding: 3.5rem 0; }
  .hx-partners { padding: 3.5rem 0 3rem; }
  .hx-walk__head, .hx-gallery__head, .hx-partners__head { margin-bottom: 2rem; }
  .hx-split-head { gap: 1.2rem; margin-bottom: 2rem; }
  .hx-card__body { padding: 1.5rem 1.3rem 1.7rem; }
  .hx-card__n { font-size: 3.2rem; margin-bottom: 0.3rem; }
  .hx-card__title { font-size: 1.3rem; margin-bottom: 0.7rem; }
  .hx-card__text { font-size: 0.9rem; line-height: 1.65; margin-bottom: 1.3rem; }
  .hx-card__media { min-height: 12rem; }
  .hx-ev { padding: 1.3rem; }
  .hx-ev__date b { font-size: 3.4rem; }
  .hx-ev__title { font-size: 1.15rem; }
  .hx-quote { padding: 1.5rem 1.3rem; gap: 1.4rem; }
  .hx-quote blockquote { font-size: 0.95rem; }
  .hx-spk h3 { font-size: 1.1rem; }
  .hx-partner { font-size: 1.6rem; }
  .hx-closing { padding-top: 4.5rem; }
  .hx-closing__title { margin-bottom: 1.8rem; }
  .hx-closing .monument-band { margin-top: 2.5rem; }
  .itf__cta { padding-top: 3.5rem; padding-bottom: 3rem; }
  .itf__grid { padding-top: 3rem; gap: 2rem; }
}
/* Events strip: one card per swipe, next card peeks */
@media (max-width: 1023px) {
  .hx-ev { scroll-snap-stop: always; }
  .hx-events__track { padding-right: 1.5rem; }
}
@media (max-width: 380px) { .hx-eyebrow__est { display: none; } .hx-eyebrow { max-width: 100%; } }
.hx-eyebrow { width: fit-content; max-width: 100%; box-sizing: border-box; }

/* Mobile: main call-to-action buttons run full width, same 3rem height */
@media (max-width: 639px) {
  .hx-hero__cta { flex-direction: column; gap: 0.8rem; }
  .hx-hero__cta .hx-btn, .hx-closing .hx-btn, .hx-link--big { width: 100%; }
}

@media (max-width: 639px) {
  body.hx-home #main-header .site-logo { height: 2.1rem; }
  body.hx-home #main-header.is-scrolled .site-logo { height: 2rem; }
  body.hx-home #main-header .site-header-row { height: 3.8rem; }
}

/* ================= Mobile menu: animated burger + full-screen purple panel (home) ================= */
body.hx-home #menu-toggle.hx-burger { position: relative; width: 2.9rem; height: 2.9rem; border: 0; border-radius: 50%; background: linear-gradient(135deg, var(--m), var(--p)); color: #fff; box-shadow: 0 8px 22px -8px rgba(194, 24, 115, 0.8); transition: transform 0.4s var(--ease), box-shadow 0.3s; }
body.hx-home #menu-toggle.hx-burger:active { transform: scale(0.92); }
.hx-burger .material-symbols-outlined { position: relative; display: block; width: 1.15rem; height: 2px; font-size: 0; border-radius: 2px; background: currentColor; transition: background 0.2s, transform 0.4s var(--ease); }
.hx-burger .material-symbols-outlined::before, .hx-burger .material-symbols-outlined::after { content: ''; position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.45s var(--ease), width 0.3s; }
.hx-burger .material-symbols-outlined::before { top: -6px; }
.hx-burger .material-symbols-outlined::after { top: 6px; width: 70%; left: auto; right: 0; }
.hx-burger[aria-expanded='true'] .material-symbols-outlined { background: transparent; }
.hx-burger[aria-expanded='true'] .material-symbols-outlined::before { transform: translateY(6px) rotate(45deg); }
.hx-burger[aria-expanded='true'] .material-symbols-outlined::after { width: 100%; transform: translateY(-6px) rotate(-45deg); }
body:has(#menu-toggle[aria-expanded='true']) { overflow: hidden; }

.hx-mm { position: fixed; inset: 0; z-index: 40; flex-direction: column; justify-content: space-between; padding: calc(var(--header-top) + 1.2rem) 1.5rem 1.8rem; overflow-y: auto; background: radial-gradient(80% 50% at 100% 0%, rgba(194, 24, 115, 0.45), transparent 70%), radial-gradient(70% 50% at 0% 100%, rgba(143, 53, 169, 0.5), transparent 70%), linear-gradient(180deg, #2c0b36, #150b16); color: #fff; }
.hx-mm:not(.hidden) { display: flex; animation: hxMmIn 0.6s var(--ease) both; }
@media (min-width: 1024px) { .hx-mm { display: none !important; } }
@keyframes hxMmIn { from { clip-path: circle(0 at calc(100% - 2.4rem) 2.2rem); } to { clip-path: circle(150% at calc(100% - 2.4rem) 2.2rem); } }
.hx-mm__orb { position: absolute; right: -5rem; top: 30%; width: 18rem; height: 18rem; border-radius: 50%; background: var(--p); filter: blur(80px); opacity: 0.35; pointer-events: none; }
.hx-mm__nav { position: relative; display: flex; flex-direction: column; }
.hx-mm__link { display: flex; align-items: center; gap: 1rem; padding: 0.95rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); color: #fff; text-decoration: none; font-size: 1.7rem; font-weight: 300; letter-spacing: -0.03em; line-height: 1.1; transition: padding-left 0.35s var(--ease), color 0.25s; }
.hx-mm__link:active, .hx-mm__link:hover { padding-left: 0.5rem; color: var(--tint); }
.hx-mm__n { width: 1.6rem; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; color: var(--pk); }
.hx-mm__t { flex: 1; }
.hx-mm__go { font-size: 1.2rem !important; color: rgba(255, 255, 255, 0.45); transition: transform 0.35s var(--ease), color 0.25s; }
.hx-mm__link:hover .hx-mm__go { transform: translate(3px, -3px); color: var(--pk); }
.hx-mm:not(.hidden) .hx-mm__link { animation: hxMmLink 0.7s var(--ease) both; animation-delay: calc(0.18s + var(--i, 1) * 0.06s); }
.hx-mm:not(.hidden) .hx-mm__foot { animation: hxMmLink 0.7s var(--ease) 0.6s both; }
@keyframes hxMmLink { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hx-mm__foot { position: relative; display: grid; gap: 1.1rem; margin-top: 2rem; }
.hx-mm__foot .hx-btn { width: 100%; }
.hx-mm__contact { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.4rem 1rem; margin: 0; font-size: 0.8rem; }
.hx-mm__contact a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.hx-mm__contact a:hover { color: #fff; }

/* Walk card (mobile): 1.2rem side padding, 1rem under the number */
@media (max-width: 639px) {
  .hx-card__body { padding-left: 0.8rem; padding-right: 0.8rem; }
  .hx-card__n { margin-bottom: 1rem; }
}

/* Events cards (mobile): lighter type */
@media (max-width: 639px) {
  .hx-ev { padding: 1.1rem; width: min(80vw, 19rem); }
  .hx-ev__top { margin-bottom: 0.8rem; padding-bottom: 0.7rem; }
  .hx-ev__type { padding: 0.28rem 0.65rem; font-size: 0.58rem; }
  .hx-ev__n { font-size: 0.7rem; }
  .hx-ev__date { margin-bottom: 0.6rem; }
  .hx-ev__date b { font-size: 2.5rem; font-weight: 300; }
  .hx-ev__date span { font-size: 0.78rem; }
  .hx-ev__date small { font-size: 0.6rem; }
  .hx-ev__date em { font-size: 0.68rem; }
  .hx-ev__title { font-size: 1rem; margin-bottom: 0.5rem; line-height: 1.3; }
  .hx-ev__text { font-size: 0.78rem; line-height: 1.6; margin-bottom: 0.7rem; }
  .hx-ev__venue { font-size: 0.7rem; margin-bottom: 1rem; }
  .hx-ev__cta { padding-top: 0.8rem; font-size: 0.64rem; }
  .hx-ev__cta .material-symbols-outlined { font-size: 1rem; }
}

/* Partner logos: uniform white cards, full colour */
.hx-partner--logo { height: 5.2rem; padding: 0.9rem 1.8rem; border: 1px solid var(--lav); border-radius: 1.1rem; background: #fff; transition: border-color 0.3s, box-shadow 0.4s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.hx-partner--logo img { height: 100%; width: auto; max-height: none; max-width: 10rem; object-fit: contain; filter: none; opacity: 1; }
.hx-partner--logo:hover { border-color: var(--p); box-shadow: 0 16px 34px -18px rgba(116, 21, 143, 0.6); transform: translateY(-3px); }
.hx-partner--logo:hover img { filter: none; opacity: 1; }
.hx-row--alt .hx-partner--logo { font-weight: inherit; }
@media (max-width: 639px) { .hx-partner--logo { height: 4rem; padding: 0.7rem 1.3rem; } .hx-partner--logo img { max-width: 7.5rem; } }
/* ================= Events cards with featured image ================= */
.hx-ev { padding: 0 !important; }
.hx-ev__media { position: relative; flex: 0 0 auto; height: clamp(7rem, 21vh, 11.5rem); overflow: hidden; background: linear-gradient(135deg, var(--p), var(--plum)); }
.hx-ev__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.hx-ev:hover .hx-ev__img, .hx-ev.is-active .hx-ev__img { transform: scale(1.07); }
.hx-ev__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 16, 29, 0.5), transparent 45%, rgba(28, 16, 29, 0.25)); pointer-events: none; }
/* no featured image: arches + icon on a purple-magenta field */
.hx-ev__media.is-empty { background: radial-gradient(70% 90% at 85% 10%, rgba(254, 79, 161, 0.55), transparent 70%), linear-gradient(135deg, var(--pl), var(--pd) 60%, #2c0b36); }
.hx-ev__media.is-empty::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(252, 215, 255, 0.1) 0 1px, transparent 1px 2.4rem), radial-gradient(circle at 50% 120%, transparent 38%, rgba(252, 215, 255, 0.16) 38.5% 39.5%, transparent 40%); background-size: auto, 4.8rem 100%; }
.hx-ev__ph { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; }
.hx-ev__ph .material-symbols-outlined { display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 50%; background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(6px); color: #fff; font-size: 1.8rem; }
.hx-ev__media .hx-ev__type { position: absolute; z-index: 2; top: 0.85rem; left: 0.85rem; background: rgba(28, 16, 29, 0.55); color: #fff; backdrop-filter: blur(8px); }
.hx-ev__media .hx-ev__n { position: absolute; z-index: 2; top: 0.85rem; right: 1rem; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }
.hx-ev.is-active .hx-ev__media .hx-ev__type { background: rgba(255, 255, 255, 0.2); }
.hx-ev__body { display: flex; flex-direction: column; flex: 1; padding: 1.2rem 1.5rem 1.4rem; }
.hx-ev__date { margin-bottom: 0.6rem; }
.hx-ev__date b { font-size: 3.4rem; }
@media (min-width: 1024px) and (max-height: 860px) { .hx-ev__date b { font-size: 2.8rem; } .hx-ev__body { padding: 1rem 1.3rem 1.2rem; } .hx-ev__text { -webkit-line-clamp: 2; } }
@media (max-width: 639px) {
  .hx-ev__media { height: 8.5rem; }
  .hx-ev__body { padding: 1rem 1.1rem 1.1rem; }
  .hx-ev__date b { font-size: 2.3rem; }
}
/* Last card: keep its own padding (the image cards use 0) */
.hx-ev.hx-ev--all { padding: 1.8rem !important; justify-content: space-between; border-radius: 1.4rem; }
.hx-ev--all > span { max-width: 9rem; }
@media (max-width: 639px) { .hx-ev.hx-ev--all { padding: 1.3rem !important; width: min(52vw, 12rem); font-size: 1.5rem; } }

/* ================= Events card v3: full (uncropped) image, date chip over the edge ================= */
@media (min-width: 1024px) { .hx-ev { width: clamp(17rem, min(26vw, 44vh), 26rem); } }
.hx-ev__media { height: auto; aspect-ratio: 3 / 2; background: #1c101d; }
.hx-ev__media[style]::before { content: ''; position: absolute; inset: -10%; background: var(--bg) center / cover no-repeat; filter: blur(18px) saturate(1.3) brightness(0.85); }
.hx-ev__img { object-fit: contain; z-index: 1; }
.hx-ev:hover .hx-ev__img, .hx-ev.is-active .hx-ev__img { transform: scale(1.03); }
.hx-ev__media::after { z-index: 2; background: linear-gradient(180deg, rgba(28, 16, 29, 0.35), transparent 30%); }
.hx-ev__media .hx-ev__type, .hx-ev__media .hx-ev__n { z-index: 3; }
.hx-ev__media.is-empty::before { z-index: 0; }
.hx-ev .hx-ev__date { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.8rem; margin: -2.3rem 0 0.9rem; position: relative; z-index: 3; }
.hx-ev .hx-ev__chip { display: grid; justify-items: center; min-width: 3.7rem; padding: 0.55rem 0.5rem 0.5rem; border-radius: 1rem; background: #fff; box-shadow: 0 12px 26px -12px rgba(28, 16, 29, 0.55); }
.hx-ev .hx-ev__chip b { font-size: 1.6rem !important; font-weight: 700 !important; line-height: 1; letter-spacing: -0.03em; color: var(--p) !important; }
.hx-ev .hx-ev__chip span { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #201a20 !important; margin-top: 0.15rem; }
.hx-ev .hx-ev__date em { margin: 2.5rem 0 0; font-size: 0.74rem; font-style: normal; font-weight: 600; letter-spacing: 0.06em; opacity: 0.7; }
.hx-ev__body { padding: 0 1.4rem 1.4rem; }
@media (min-width: 1024px) and (max-height: 860px) { .hx-ev__body { padding: 0 1.2rem 1.1rem; } .hx-ev .hx-ev__date { margin-bottom: 0.6rem; } }
@media (max-width: 639px) { .hx-ev__media { aspect-ratio: 3 / 2; height: auto; } .hx-ev__body { padding: 0 1.1rem 1.1rem; } .hx-ev .hx-ev__chip b { font-size: 1.4rem !important; } }
/* ================= Events card v4: full-bleed photo, date + title at rest, everything on hover ================= */
.hx-ev:not(.hx-ev--all) { position: relative; display: block; aspect-ratio: 3 / 4; min-height: 0; border: 0; border-radius: 1.4rem; background: #2c0b36; color: #fff; overflow: hidden; isolation: isolate; }
.hx-ev:not(.hx-ev--all)::before { display: none; }
.hx-ev:not(.hx-ev--all) > .hx-ev__img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 1.1s var(--ease); }
.hx-ev.is-active > .hx-ev__img { transform: scale(1.06); }
.hx-ev__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(21, 11, 22, 0.92) 0%, rgba(21, 11, 22, 0.4) 36%, rgba(21, 11, 22, 0.04) 62%, rgba(21, 11, 22, 0.32) 100%); transition: background 0.6s; pointer-events: none; }
.hx-ev.is-active .hx-ev__shade { background: linear-gradient(0deg, rgba(40, 8, 52, 0.96) 0%, rgba(58, 10, 74, 0.82) 48%, rgba(58, 10, 74, 0.25) 74%, rgba(21, 11, 22, 0.3) 100%); }
.hx-ev .hx-ev__top { position: absolute; z-index: 3; top: 0.9rem; left: 0.9rem; right: 1rem; display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 0; border: 0; }
.hx-ev .hx-ev__top .hx-ev__type { background: rgba(28, 16, 29, 0.55); color: #fff; backdrop-filter: blur(8px); }
.hx-ev .hx-ev__top .hx-ev__n { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }
.hx-ev .hx-ev__body { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: flex; flex: none; flex-direction: column; padding: 1.2rem 1.3rem 1.3rem; }
.hx-ev__head { display: flex; align-items: center; gap: 0.9rem; }
.hx-ev .hx-ev__chip { flex: 0 0 auto; }
.hx-ev .hx-ev__title { margin: 0; font-size: 1.15rem; font-weight: 600; line-height: 1.25; color: #fff; }
.hx-ev__more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.55s var(--ease), opacity 0.4s; }
.hx-ev__more > div { min-height: 0; overflow: hidden; }
.hx-ev.is-active .hx-ev__more { grid-template-rows: 1fr; opacity: 1; }
.hx-ev .hx-ev__when { display: flex; align-items: center; gap: 0.4rem; margin: 0.9rem 0 0.4rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.04em; color: rgba(252, 215, 255, 0.92); }
.hx-ev .hx-ev__text { margin: 0 0 0.6rem; font-size: 0.84rem; line-height: 1.6; color: rgba(255, 255, 255, 0.86); -webkit-line-clamp: 3; }
.hx-ev .hx-ev__venue { margin: 0 0 0.9rem; font-size: 0.76rem; color: rgba(255, 255, 255, 0.78); }
.hx-ev .hx-ev__cta { position: relative; z-index: 3; margin-top: 0; padding-top: 0.8rem; border-top: 1px solid rgba(255, 255, 255, 0.24); color: #fff; }
/* no featured image: arches on a purple-magenta field */
.hx-ev.is-empty:not(.hx-ev--all) { background: radial-gradient(70% 60% at 85% 8%, rgba(254, 79, 161, 0.5), transparent 70%), repeating-linear-gradient(90deg, rgba(252, 215, 255, 0.07) 0 1px, transparent 1px 2.4rem), linear-gradient(160deg, var(--pl), var(--pd) 60%, #2c0b36); }
.hx-ev:not(.hx-ev--all) > .hx-ev__ph { position: absolute; inset: 0 0 45% 0; z-index: 1; display: grid; place-items: center; }
@media (min-width: 1024px) { .hx-ev:not(.hx-ev--all) { width: clamp(16rem, min(25vw, 42vh), 25rem); } }
@media (min-width: 1024px) and (max-height: 860px) { .hx-ev .hx-ev__text { -webkit-line-clamp: 2; } .hx-ev .hx-ev__body { padding: 1rem 1.1rem 1.1rem; } }
@media (max-width: 639px) {
  .hx-ev:not(.hx-ev--all) { width: min(78vw, 19rem); aspect-ratio: 3 / 4.1; }
  .hx-ev .hx-ev__body { padding: 1rem 1.1rem 1.1rem; }
  .hx-ev .hx-ev__title { font-size: 1.05rem; }
  .hx-ev .hx-ev__text { font-size: 0.8rem; }
}
/* Ticker band: straight, full width */
.hx-ticker { width: 100%; margin: 0; transform: none; }

/* ================= Closing: monument on top, then a heading + button band (matches the footer CTA) ================= */
.hx-closing { padding: 0; text-align: left; background: #150b16; }
.hx-closing__orb { top: 70%; opacity: 0.45; }
.hx-closing .monument-band { margin: 0; padding: 4rem 0 0; background: transparent; }
.hx-closing .monument { color: var(--lav); }
.hx-closing .monument svg { opacity: 0.2; }
.hx-closing__band { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 2rem; padding-top: 4.5rem; padding-bottom: 4.5rem; }
@media (min-width: 768px) { .hx-closing__band { flex-direction: row; align-items: flex-end; } }
.hx-closing__title { margin: 0; max-width: 46rem; font-size: var(--h2); font-weight: 300; line-height: 1.06; letter-spacing: -0.035em; }
@media (max-width: 639px) { .hx-closing__band { padding-top: 3rem; padding-bottom: 3rem; } .hx-closing .monument-band { padding-top: 2.5rem; } .hx-closing .hx-btn { width: 100%; } }
.hx-closing__band { padding-top: 5rem; }
@media (max-width: 639px) { .hx-closing__band { padding-top: 3rem; } }

/* ================= Hero: plaster arched window ("model art") ================= */
.hx-arch { aspect-ratio: 360 / 482; width: min(100%, 25rem); }
.hx-arch::before { display: none; }
.hx-arch__frame { inset: auto; left: 13.889%; width: 72.222%; top: 6.639%; height: 78.838%; border-radius: 999px 999px 0 0; background: #2c0b36; box-shadow: inset 0 14px 40px rgba(20, 5, 28, 0.55); }
.hx-win { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; overflow: visible; pointer-events: none; filter: drop-shadow(0 26px 28px rgba(0, 0, 0, 0.55)); }
.hx-arch__shade { background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 30%, rgba(28, 16, 29, 0.4)); }
@media (max-width: 1023px) { .hx-arch { width: min(100%, 21rem); } }
@media (min-width: 1024px) and (max-width: 1199px) { .hx-arch { width: min(100%, 21rem); } }
@media (min-width: 1024px) and (max-height: 780px) { .hx-arch { width: min(100%, 17.5rem); } }
.hx-ring { bottom: 3.2rem; }
.hx-badge { bottom: 5.35rem; }
@media (max-width: 1023px) { .hx-ring { bottom: 1.2rem; } .hx-badge { bottom: 3.35rem; } }
/* ================= Hero: jharokha (cusped arch) ================= */
.hx-arch { aspect-ratio: 360 / 470; }
.hx-arch__frame { inset: 0; left: 0; width: 100%; top: 0; height: 100%; border-radius: 0; box-shadow: none; background: #2c0b36; -webkit-clip-path: url(#hxJClip); clip-path: url(#hxJClip); }
.hx-win { filter: drop-shadow(0 24px 26px rgba(0, 0, 0, 0.5)); }
.hx-arch__shade { background: linear-gradient(180deg, rgba(255, 220, 150, 0.12), transparent 35%, rgba(28, 16, 29, 0.42)); }
/* ================= Hero: jharokha line-art v2 (400 x 500) ================= */
.hx-arch { aspect-ratio: 400 / 500; width: min(100%, 29rem); }
.hx-win { filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.45)); overflow: visible; }
.hx-arch__shade { background: linear-gradient(180deg, rgba(255, 220, 150, 0.1), transparent 35%, rgba(28, 16, 29, 0.42)); }
@media (max-width: 1023px) { .hx-arch { width: min(100%, 23rem); } }
@media (min-width: 1024px) and (max-width: 1199px) { .hx-arch { width: min(100%, 23rem); } }
@media (min-width: 1024px) and (max-height: 780px) { .hx-arch { width: min(100%, 19rem); } }
.hx-ring { bottom: 2.4rem; }
.hx-badge { bottom: 4.55rem; }
@media (max-width: 1023px) { .hx-ring { bottom: 0.6rem; } .hx-badge { bottom: 2.75rem; } }

/* Dome frame: keep the photo clear, push the chips and badge to the edges (desktop) */
@media (min-width: 1024px) {
  .hx-chip--a { right: -1.4rem; top: 6%; }
  .hx-chip--b { left: -4.6rem; top: 52%; }
  .hx-ring { left: -6rem; }
  .hx-badge { left: -3.9rem; }
}

/* ================= Hero: Indian-arch panel (400 x 540) ================= */
.hx-arch { aspect-ratio: 400 / 540; width: min(100%, 24rem); }
.hx-win { filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.4)); }
@media (max-width: 1023px) { .hx-arch { width: min(100%, 21rem); } }
@media (min-width: 1024px) and (max-width: 1199px) { .hx-arch { width: min(100%, 21rem); } }
@media (min-width: 1024px) and (max-height: 780px) { .hx-arch { width: min(100%, 15.5rem); } }
@media (min-width: 1024px) { .hx-hero__ctl { width: min(100%, 24rem); } }

@media (min-width: 1200px) and (min-height: 861px) { .hx-arch { width: min(100%, 26rem); } .hx-hero__ctl { width: min(100%, 26rem); } }

.hx-win { filter: drop-shadow(0 0 12px rgba(236, 211, 160, 0.22)) drop-shadow(0 16px 22px rgba(0, 0, 0, 0.42)); }

.hero-slide.hx-arch__img { transform: none !important; }
@media (min-width: 1200px) and (min-height: 861px) { .hx-arch { width: min(100%, 28rem); } .hx-hero__ctl { width: min(100%, 28rem); } }
/* No filters or tint on photos: hero, speakers and gallery show the original image */
.hx-arch__shade { display: none; }
.hx-win { filter: none; }
.hx-spk__img img, .hx-spk:hover .hx-spk__img img { filter: none; }
.hx-spk__img::after { display: none; }
.hx-shot img, .hx-shot:hover img { filter: none; }
.hx-shot::after { display: none; }
.hx-shot__cap { left: 0.8rem; right: auto; bottom: 0.8rem; padding: 0.4rem 0.75rem; border-radius: 0.5rem; background: rgba(28, 16, 29, 0.72); }

/* Stats: no heading and no ghost number; the intro sits on its own */
.hx-stats__ghost { display: none; }
.hx-stats__head { grid-template-columns: 1fr !important; margin-bottom: 4rem; }
.hx-stats__head .hx-lead { max-width: 46rem; font-size: 1.25rem; }
@media (max-width: 639px) { .hx-stats__head .hx-lead { font-size: 1rem; } .hx-stats__head { margin-bottom: 2.5rem; } }

/* Stats counters: a little smaller */
.hx-stat__num { font-size: clamp(2.8rem, 4.8vw, 4.6rem); }
@media (max-width: 639px) { .hx-stat__num { font-size: 2.5rem; } }

/* Partner logos: every logo sits in the same box; small logos scale up, wide ones scale down (object-fit: contain) */
.hx-partner--logo { box-sizing: border-box; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 13.5rem; height: 6rem; padding: 0.9rem 1.4rem; }
.hx-partner--logo img { display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
@media (max-width: 639px) { .hx-partner--logo { width: 10rem; height: 4.6rem; padding: 0.7rem 1rem; } .hx-partner--logo img { max-width: none; } }

/* Stats: only the four counters now */
.hx-stats { padding: 9rem 0 6rem; }
@media (max-width: 639px) { .hx-stats { padding: 5.5rem 0 3rem; } }

/* Active nav item: same pink-to-purple gradient as the buttons */
.hx-nav .nav-link[aria-current="page"] { background: linear-gradient(110deg, var(--m), var(--p) 70%); color: #fff !important; box-shadow: 0 8px 20px -10px rgba(194, 24, 115, 0.8); }

/* Hero panel: broader (520 x 540) so the photo has room */
.hx-arch { aspect-ratio: 520 / 540; width: min(100%, 31rem); }
@media (min-width: 1200px) and (min-height: 861px) { .hx-arch { width: min(100%, 34rem); } .hx-hero__ctl { width: min(100%, 34rem); } }
@media (min-width: 1024px) { .hx-hero__ctl { width: min(100%, 31rem); } }
@media (max-width: 1023px) { .hx-arch { width: min(100%, 25rem); } }
@media (min-width: 1024px) and (max-width: 1199px) { .hx-arch { width: min(100%, 26rem); } }
@media (min-width: 1024px) and (max-height: 780px) { .hx-arch { width: min(100%, 20rem); } .hx-hero__ctl { width: min(100%, 20rem); } }

/* Speakers: dark purple section (the testimonials above it can be hidden, so this one carries the dark rhythm) */
.hx-speakers { background: radial-gradient(50% 45% at 0% 100%, rgba(194, 24, 115, 0.28), transparent 70%), radial-gradient(45% 40% at 100% 0%, rgba(143, 53, 169, 0.4), transparent 70%), linear-gradient(180deg, #2c0b36 0%, #1c101d 100%); color: #fff; }
.hx-spk h3 { color: #fff; }
.hx-spk:hover h3 { color: var(--tint); }
.hx-spk p { color: rgba(232, 217, 234, 0.75); }
.hx-spk__img { box-shadow: 0 22px 40px -24px rgba(0, 0, 0, 0.7); }
/* Speakers heading: Capitalize Each Word */

/* Hero panel: the first design again, the plain arched photo window with a thin outline, but bigger so more of the photo shows.
   No ornament layer on top of the photo. Sizes are capped in rem, so very wide screens (1980px and up) keep the same panel. */
.hx-win { display: none; }
.hx-arch { aspect-ratio: 4 / 5; width: min(100%, 32rem); }
.hx-arch::before { display: block; inset: -0.9rem; border: 1px solid rgba(252, 215, 255, 0.3); border-radius: 1.8rem; }
.hx-arch__frame { inset: 0; left: 0; top: 0; width: 100%; height: 100%; border-radius: 1.4rem; -webkit-clip-path: none; clip-path: none; background: var(--pd, #2c0b36); box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1); }
.hx-hero__ctl { width: min(100%, 32rem); }
@media (min-width: 1024px) { .hx-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; } .hx-hero__visual { align-items: flex-end; } }
@media (min-width: 1024px) and (max-height: 860px) { .hx-arch, .hx-hero__ctl { width: min(100%, 28rem); } }
@media (min-width: 1024px) and (max-height: 780px) { .hx-arch, .hx-hero__ctl { width: min(100%, 23rem); } }
@media (max-width: 1023px) { .hx-arch, .hx-hero__ctl { width: min(100%, 26rem); } .hx-arch::before { inset: -0.6rem; } }

/* Home hero: the near-black base is lightened to a rich plum (glows unchanged) */
#hero-slider { background: #3a1248; }
#hero-slider .hx-hero__bg { background: radial-gradient(70% 60% at 85% 20%, rgba(166, 78, 196, 0.6), transparent 70%), radial-gradient(60% 50% at 0% 100%, rgba(194, 24, 115, 0.45), transparent 70%), linear-gradient(180deg, #4a1a5e, #35103f); }
#hero-slider::after { background: radial-gradient(120% 90% at 50% 110%, rgba(44, 11, 54, 0.75), transparent 60%); }
/* Home events: no type badge on the cards, so the number sits alone at the top right */
.hx-ev .hx-ev__top { justify-content: flex-end; }

/* Success stories: white section with black text; the testimonial cards keep their purple */
.hx-stories { background: #fff; color: var(--ink); }
.hx-stories__mark { color: rgba(116, 21, 143, 0.07); }
.hx-stories .hx-kicker--light { color: var(--m); }
.hx-stories .hx-h2--light { color: var(--ink); }
.hx-stories .hx-lead--light { color: rgba(32, 26, 32, 0.75); }
.hx-stories .hx-arrows--light button { border-color: rgba(116, 21, 143, 0.3); color: var(--p); }
.hx-stories .hx-arrows--light button:hover { background: var(--p); color: #fff; }
.hx-stories .hx-quote { border-color: transparent; background: linear-gradient(160deg, var(--p) 0%, #3b0a49 100%); color: #fff; backdrop-filter: none; box-shadow: 0 30px 50px -34px rgba(59, 10, 73, 0.7); }
.hx-stories .hx-quote:hover { background: linear-gradient(160deg, var(--pl) 0%, #4a0f5b 100%); border-color: transparent; }
/* Testimonials alternate: odd cards purple (above), even cards pink. */
.hx-stories .hx-quote:nth-child(even) { background: linear-gradient(160deg, var(--m) 0%, #8a0f55 100%); box-shadow: 0 30px 50px -34px rgba(138, 15, 85, 0.7); }
.hx-stories .hx-quote:nth-child(even):hover { background: linear-gradient(160deg, #d62a85 0%, #9c1562 100%); }
.hx-stories .hx-quote:nth-child(even) figcaption i { color: var(--tint); }
.hx-stories .hx-quote:nth-child(even) .hx-quote__av { background: linear-gradient(135deg, var(--pl), var(--pd)); }
.hx-stories .hx-dots .stories-dot { background: rgba(116, 21, 143, 0.25); }
.hx-stories .hx-dots .stories-dot:hover { background: rgba(116, 21, 143, 0.5); }
.hx-stories .hx-dots .stories-dot[aria-current='true'] { background: var(--p); }

/* ---- section headings: same pink-to-purple gradient text as the inner pages (hero and closing banner excluded) ---- */
main .hx-h2 { font-weight: 600; }
main .hx-h2 .hx-w > i { padding-bottom: 0.1em; background: linear-gradient(100deg, var(--m) 0%, var(--p) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
main .hx-h2--light .hx-w > i { background: linear-gradient(100deg, #ff7ac0 0%, #e9a6ff 60%, #ffffff 120%); -webkit-background-clip: text; background-clip: text; }
/* "Success stories" sits on a light background even though it carries the --light class */
main .hx-stories .hx-h2--light .hx-w > i { background: linear-gradient(100deg, var(--m) 0%, var(--p) 100%); -webkit-background-clip: text; background-clip: text; }

/* ---- hero photo: wide landscape rectangle, extended to the left (right edge stays put) ---- */
.hx-arch { aspect-ratio: 5 / 4; width: min(100%, 32rem); }
.hx-hero__ctl { width: min(100%, 32rem); }
@media (min-width: 1024px) {
  .hx-hero__inner { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: 2.5rem; }
  .hx-arch { aspect-ratio: 8 / 5; width: min(100%, 52rem); }
  .hx-hero__ctl { width: min(100%, 52rem); }
}
@media (min-width: 1200px) and (min-height: 861px) { .hx-arch, .hx-hero__ctl { width: min(100%, 55rem); } }
@media (min-width: 1024px) and (max-height: 860px) { .hx-arch, .hx-hero__ctl { width: min(100%, 46rem); } }
@media (min-width: 1024px) and (max-height: 780px) { .hx-arch, .hx-hero__ctl { width: min(100%, 39rem); } }
