:root {
  --radius: 1rem;
  --red: #e3000f;
  --red-bright: #ff2a35;
  --red-soft: #ff6b70;
  --red-glow: rgba(255, 30, 45, 0.55);
  --ink: #070102;
  --ink-2: #120305;
  --text: #ffffff;
  --text-80: rgba(255, 255, 255, 0.8);
  --text-60: rgba(255, 255, 255, 0.6);
  --text-50: rgba(255, 255, 255, 0.5);
  --text-30: rgba(255, 255, 255, 0.3);
  --font-display: 'Poppins', system-ui, sans-serif;
  --font-serif: 'Source Serif 4', Georgia, serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { font-weight: 500; margin: 0; line-height: 1.1; }
h1 em, h2 em, h3 em, h1 i, h2 i, h3 i, .serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--red-soft); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Liquid glass ---------- */
.liquid-glass,
.liquid-glass-strong {
  position: relative;
  overflow: hidden;
  border: none;
  background: rgba(255, 255, 255, 0.01);
  background-blend-mode: luminosity;
}
.liquid-glass {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}
.liquid-glass-strong {
  -webkit-backdrop-filter: blur(50px);
  backdrop-filter: blur(50px);
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}
.liquid-glass::before,
.liquid-glass-strong::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 20%, transparent 40%, transparent 60%, rgba(255,255,255,0.15) 80%, rgba(255,255,255,0.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box exclude, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.liquid-glass-strong::before {
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.2) 20%, transparent 40%, transparent 60%, rgba(255,255,255,0.2) 80%, rgba(255,255,255,0.5) 100%);
}
/* Red neon variant used by agenda cards, echoing the key visual */
.glass-neon::before {
  background: linear-gradient(180deg, rgba(255,90,95,0.95) 0%, rgba(255,40,50,0.45) 30%, rgba(255,40,50,0.25) 50%, rgba(255,40,50,0.45) 70%, rgba(255,90,95,0.95) 100%);
}
.glass-neon { box-shadow: 0 0 34px rgba(255, 20, 35, 0.28), inset 0 0 26px rgba(255, 30, 40, 0.16); }

.scale-hover { transition: transform 0.35s var(--ease-out), background-color 0.3s; }
.scale-hover:hover { transform: scale(1.05); }
.scale-hover:active { transform: scale(0.95); }
.icon-wrap {
  width: 2rem; height: 2rem; flex: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex; align-items: center; justify-content: center;
}
.icon-wrap svg { width: 1rem; height: 1rem; }
.pill { border-radius: 999px; }
.text-red { color: var(--red-bright); }

/* ---------- Page backdrop ---------- */
.backdrop {
  position: fixed; inset: 0; z-index: 0;
  background: url('/assets/bg.jpg') 50% 50% / cover no-repeat;
  transform: scale(1.04);
  animation: drift 26s ease-in-out infinite alternate;
  scale: calc(1 + var(--hp, 0) * 0.2);
}
.backdrop::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, transparent 0%, rgba(7,1,2,0.25) 55%, rgba(7,1,2,0.7) 100%);
  transition: background-color 0.6s;
}
.backdrop-vignette {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(7, 1, 2, 0.88) 0%, rgba(7, 1, 2, 0.4) 32%, transparent 58%);
  opacity: clamp(0, 1 - var(--hp, 0) * 1.4, 1);
}
.backdrop-dim {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: rgba(7, 1, 2, 0.58);
  opacity: 0;
}
@keyframes drift { from { transform: scale(1.04) translate3d(0,0,0); } to { transform: scale(1.1) translate3d(-0.6%, 0.4%, 0); } }
main, footer { position: relative; z-index: 10; }

/* ---------- Site header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 40; padding: 1rem 1.5rem; }
.site-header .bar { max-width: 72rem; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.5rem 0.5rem 0.5rem 1.4rem; border-radius: 999px; transition: background-color 0.4s; }
.site-header.scrolled .bar { background: rgba(24, 3, 6, 0.5); }
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-mark { font-weight: 700; font-size: 1.5rem; letter-spacing: -0.06em; line-height: 1; }
.brand-sub { font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text-60); border-left: 1px solid rgba(255,255,255,0.25); padding-left: 0.75rem; line-height: 1.35; }
.nav-links { display: flex; gap: 0.15rem; }
.nav-links a { padding: 0.45rem 0.9rem; border-radius: 999px; font-size: 0.85rem; color: var(--text-60); transition: color 0.3s, background-color 0.3s; }
.nav-links a:hover, .nav-links a[aria-current] { color: #fff; background: rgba(255,255,255,0.07); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.menu-btn { display: none; align-items: center; gap: 0.5rem; padding: 0.55rem 1rem; font-size: 0.85rem; color: var(--text-80); }
.menu-btn svg { width: 1rem; height: 1rem; }

.cta {
  display: inline-flex; align-items: center; gap: 0.9rem;
  padding: 0.55rem 0.6rem 0.55rem 1.6rem;
  border-radius: 999px; font-size: 1rem; font-weight: 500;
}
.cta .cta-icon { width: 1.9rem; height: 1.9rem; border-radius: 999px; background: rgba(255,255,255,0.15); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.cta .cta-icon svg { width: 1rem; height: 1rem; }
.cta-red { background: linear-gradient(135deg, rgba(255,40,50,0.55), rgba(180,0,15,0.35)); box-shadow: 0 10px 40px rgba(255,20,35,0.35), inset 0 1px 1px rgba(255,255,255,0.25); }
.cta-red:hover { background: linear-gradient(135deg, rgba(255,50,60,0.7), rgba(200,0,20,0.5)); }
.cta-ghost { padding: 0.55rem 1.5rem; color: var(--text-80); }
.cta-sm { padding: 0.35rem 0.4rem 0.35rem 1.1rem; font-size: 0.85rem; gap: 0.6rem; }
.cta-sm .cta-icon { width: 1.65rem; height: 1.65rem; }

.eyebrow { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 0.72rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--text-60); }
.eyebrow::before, .eyebrow::after { content: ''; width: 2rem; height: 1px; background: var(--red-bright); box-shadow: 0 0 10px var(--red-glow); }

/* ---------- Hero: one centred column, like the key visual ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 6.5rem 1.5rem 5rem; }
.hero > * { position: relative; z-index: 1; }
.hero-stage { width: 100%; max-width: 40rem; height: clamp(260px, 50vh, 560px); }
.hero-stage canvas { width: 100% !important; height: 100% !important; filter: drop-shadow(0 0 26px rgba(255, 30, 45, 0.55)); }
.hero-stage.fallback { display: flex; align-items: center; justify-content: center; }
.hero-stage.fallback img { height: 90%; width: auto; filter: drop-shadow(0 0 24px rgba(255,30,45,0.6)); }
.hero-title { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 1.25rem; font-size: clamp(1.45rem, 3vw, 2.5rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.hero-title::before, .hero-title::after { content: ''; flex: none; width: clamp(1.5rem, 7vw, 6rem); height: 1.5px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.85)); }
.hero-title::after { background: linear-gradient(90deg, rgba(255,255,255,0.85), transparent); }
.hero-title .text-red { text-shadow: 0 0 28px rgba(255, 30, 45, 0.6); }
.hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 0; margin-top: 1rem; font-size: 0.74rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--text-80); }
.hero-tags span { padding: 0 1rem; }
.hero-tags span + span { border-left: 1.5px solid var(--red-bright); }
.meta-pill { display: inline-flex; flex-wrap: wrap; justify-content: center; row-gap: 0.4rem; padding: 0.6rem 0.4rem; border-radius: 999px; margin-top: 1.6rem; font-size: 0.88rem; color: var(--text-80); }
.meta-pill span { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0 1rem; }
.meta-pill span + span { border-left: 1px solid rgba(255,255,255,0.18); }
.meta-pill svg { width: 1rem; height: 1rem; color: var(--red-soft); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 1.75rem; }
.scroll-hint { position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%); z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-50); }
.scroll-hint i { display: block; width: 1px; height: 2.2rem; background: linear-gradient(var(--red-bright), transparent); transform-origin: top; animation: scrollLine 2.2s var(--ease-out) infinite; }
@media (max-height: 820px), (max-width: 640px) { .scroll-hint { display: none; } }
section[id], #formCard { scroll-margin-top: 5.5rem; }
/* Scroll-linked hero exit: layers drift up at different speeds and fade */
.hero-stage { opacity: clamp(0, 1 - var(--hp, 0) * 1.15, 1); }
.hero-fade { opacity: clamp(0, 1 - var(--hp, 0) * var(--fo, 1.8), 1); translate: 0 calc(var(--hp, 0) * var(--dy, -60px)); }
.scroll-hint { opacity: clamp(0, 1 - var(--hp, 0) * 8, 1); }

/* Lenis smooth scrolling */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

@keyframes scrollLine { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* Reserve call-to-action on the landing page */
.reserve-card { max-width: 60rem; margin: 0 auto; border-radius: 2.5rem; padding: 3.5rem 2.5rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.reserve-card h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -0.045em; }
.reserve-card h2 em { color: var(--text-80); }
.reserve-card > p { color: var(--text-60); font-weight: 300; max-width: 34rem; }
.reserve-card .cta { margin-top: 0.5rem; }

/* ---------- Menu overlay ---------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  background: rgba(7, 1, 2, 0.55);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}
.menu-overlay.open { opacity: 1; visibility: visible; }
.menu-overlay nav { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.menu-overlay nav a { font-size: clamp(2rem, 6vw, 3.4rem); letter-spacing: -0.04em; color: var(--text-60); transition: color 0.3s, transform 0.4s var(--ease-out); }
.menu-overlay nav a:hover { color: #fff; transform: translateX(6px); }
.menu-overlay nav a em { color: var(--red-soft); }
.menu-close { position: absolute; top: 1.75rem; right: 1.75rem; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 7rem 1.5rem; }
.container { max-width: 72rem; margin: 0 auto; }
.section-title { display: flex; align-items: center; gap: 1.5rem; justify-content: center; margin-bottom: 3.5rem; text-align: center; }
.section-title::before, .section-title::after { content: ''; flex: 1; max-width: 18rem; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,60,70,0.8)); box-shadow: 0 0 8px var(--red-glow); }
.section-title::after { background: linear-gradient(90deg, rgba(255,60,70,0.8), transparent); }
.section-title h2 { font-size: 0.85rem; letter-spacing: 0.5em; text-transform: uppercase; font-weight: 400; color: var(--text-80); padding-left: 0.5em; }

/* Invitation */
.invitation { text-align: center; }
.invitation h2.display { font-size: clamp(2.4rem, 5.4vw, 4.4rem); letter-spacing: -0.04em; margin: 1.25rem 0 1.75rem; }
.invitation h2.display .text-red { text-shadow: 0 0 30px rgba(255, 30, 45, 0.5); }
/* CEO signature — traced from Materials/Signed.jpg, written on with a pen-order mask */
.signature-svg { display: block; width: min(100%, 21rem); height: auto; margin: 0 auto; color: #fff; overflow: visible; filter: drop-shadow(0 0 12px rgba(255, 30, 45, 0.35)); }
.sig-stroke { visibility: hidden; }
.reveal.in .sig-stroke-1 { animation: sig-write 0.8s cubic-bezier(0.45, 0.05, 0.55, 0.95) 0.35s forwards; }
.reveal.in .sig-stroke-2 { animation: sig-write 1.6s cubic-bezier(0.4, 0.05, 0.6, 0.95) 1.25s forwards; }
@keyframes sig-write { from { visibility: visible; } to { visibility: visible; stroke-dashoffset: 0; } }
.signature-caption { font-size: 0.9rem; color: var(--text-60); margin-top: 0.25rem; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 2rem 0; }
.tags span { padding: 0.5rem 1.1rem; border-radius: 999px; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-80); }
.invitation .lead { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);  max-width: 46rem; margin: 0 auto; font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--text-80); font-weight: 300; line-height: 1.85; }

/* Agenda cards */
.agenda-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.details-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* Shared interactive card: tinted glass, tilt (JS), cursor spotlight and sheen */
[data-tilt] {
  background: linear-gradient(180deg, rgba(28, 4, 7, 0.62), rgba(10, 1, 3, 0.72));
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  transition: transform 0.8s var(--ease-out), box-shadow 0.5s, background-color 0.5s;
  will-change: transform;
}
[data-tilt]:hover {
  box-shadow: 0 0 70px rgba(255, 20, 35, 0.5), 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 0 40px rgba(255, 40, 50, 0.28);
}
[data-tilt] > * { position: relative; z-index: 1; }
.card-spot {
  position: absolute !important; inset: 0; z-index: 0 !important; border-radius: inherit; pointer-events: none; overflow: hidden;
  opacity: 0; transition: opacity 0.45s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 40%), rgba(255, 60, 70, 0.16), transparent 50%);
}
.card-spot::after {
  content: ''; position: absolute; inset: -20%;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.14) 48%, transparent 60%);
  transform: translateX(-90%);
}
[data-tilt]:hover .card-spot { opacity: 1; }
[data-tilt]:hover .card-spot::after { transform: translateX(90%); transition: transform 1.2s var(--ease-out); }

.icon3d { position: relative; width: 10rem; height: 10rem; display: flex; align-items: center; justify-content: center; margin: -0.5rem 0 -0.25rem; }
.icon3d > svg { width: 4rem; height: 4rem; color: var(--red-soft); stroke-width: 1.2; filter: drop-shadow(0 0 10px rgba(255, 40, 50, 0.8)); transition: opacity 0.4s; }
.icon3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.8s; filter: drop-shadow(0 0 16px rgba(255, 40, 50, 0.55)); }
.icon3d.ready canvas { opacity: 1; }
.icon3d::before {
  content: ''; position: absolute; inset: 8%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 35, 50, 0.32), rgba(255, 35, 50, 0.08) 45%, transparent 70%);
  transition: transform 0.6s var(--ease-out), opacity 0.6s; opacity: 0.85;
}
[data-tilt]:hover .icon3d::before { transform: scale(1.18); opacity: 1; }
.icon3d.ready > svg { opacity: 0; }
.icon3d-sm { width: 8.5rem; height: 8.5rem; }

.agenda-card { border-radius: 1.75rem; padding: 2rem 1.75rem 2.1rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.85rem; }
.agenda-card h3 { font-size: 1.4rem; letter-spacing: 0.02em; text-transform: uppercase; font-weight: 600; transition: letter-spacing 0.6s var(--ease-out), text-shadow 0.6s; }
.agenda-card:hover h3 { letter-spacing: 0.06em; text-shadow: 0 0 22px rgba(255, 60, 70, 0.7); }
.agenda-card p { color: rgba(255, 255, 255, 0.86); font-weight: 300; }
.agenda-card .by { margin-top: auto; padding-top: 0.9rem; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: #ff8a90; }
.agenda-card .by::before, .detail .k::after { content: ''; position: absolute; top: 0; left: 50%; width: 1.5rem; height: 1px; background: var(--red-bright); transform: translateX(-50%); transition: width 0.6s var(--ease-out); box-shadow: 0 0 8px var(--red-glow); }
.agenda-card:hover .by::before { width: 5rem; }

.detail { border-radius: 1.75rem; padding: 1.75rem 1.5rem 2rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.35rem; }
.detail .k { position: relative; padding-bottom: 0.7rem; margin-bottom: 0.35rem; font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: #ff8a90; }
.detail .k::after { top: auto; bottom: 0; }
.detail:hover .k::after { width: 4rem; }
.detail .v { font-size: 1.25rem; font-weight: 500; line-height: 1.35; }
.detail .s { font-size: 0.88rem; color: rgba(255, 255, 255, 0.72); }

/* Soft red light behind the content sections so they read brighter */
.section.lit::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 60% at 50% 55%, rgba(255, 40, 50, 0.2), transparent 72%);
}
.details-actions { display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; margin-top: 2rem; }
.ghost-btn { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1.3rem; border-radius: 999px; font-size: 0.88rem; color: var(--text-80); }
.ghost-btn svg { width: 1rem; height: 1rem; }

/* Timetable */
.timeline { border-radius: 2rem; padding: 0.75rem; background: linear-gradient(180deg, rgba(255, 70, 80, 0.08), rgba(150, 0, 15, 0.08)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.tt-head, .tt-row { display: grid; grid-template-columns: 11rem 1fr 1.25fr; gap: 1.5rem; align-items: start; }
.tt-head { padding: 1rem 1.5rem; font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.tt-row { position: relative; padding: 1.25rem 1.5rem; border-radius: 1.25rem; background: rgba(255, 255, 255, 0.035); transition: background-color 0.4s; }
.tt-row + .tt-row { margin-top: 0.25rem; }
.tt-row:hover { background: rgba(255, 255, 255, 0.07); }
.tt-row.highlight { background: linear-gradient(90deg, rgba(227, 0, 15, 0.46), rgba(227, 0, 15, 0.32) 55%, rgba(227, 0, 15, 0.4)); box-shadow: inset 0 1px 0 rgba(255,120,120,0.25); }
.tt-row.highlight:hover { background: linear-gradient(90deg, rgba(227, 0, 15, 0.56), rgba(227, 0, 15, 0.42) 55%, rgba(227, 0, 15, 0.5)); }
.tt-time { font-variant-numeric: tabular-nums; font-weight: 500; letter-spacing: 0.02em; display: flex; align-items: center; gap: 0.75rem; white-space: nowrap; }
.tt-time::before { content: ''; width: 0.5rem; height: 0.5rem; border-radius: 999px; background: var(--red-bright); box-shadow: 0 0 10px var(--red-bright); flex: none; }
.tt-content { font-weight: 500; font-size: 1.05rem; }
.tt-note { color: rgba(255, 255, 255, 0.82); font-size: 0.92rem; line-height: 1.6; }
.tt-row.highlight .tt-note { color: rgba(255, 255, 255, 0.95); }
.tt-note span { display: block; }
.tt-caption { text-align: center; margin-top: 1.25rem; font-size: 0.8rem; color: var(--text-60); }

/* Registration */
/* Registration page: one centred column */
.register-page { position: relative; z-index: 10; padding: 7.5rem 1.5rem 5rem; }
.register-page .container { max-width: 46rem; }
.register-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.register-head .logo { height: clamp(130px, 20vh, 190px); width: auto; filter: drop-shadow(0 0 22px rgba(255,30,45,0.6)); margin-bottom: 1.75rem; animation: rise 1.2s var(--ease-out) both; }
.register-head h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -0.045em; margin-top: 1rem; }
.register-head h1 em { color: var(--text-80); }
.register-head > p:not(.meta-pill) { color: var(--text-60); font-weight: 300; max-width: 34rem; margin-top: 1rem; }
.register-page .meta-pill { margin-top: 1.25rem; }
.register-page .steps-inline { margin: 2.25rem auto 1.5rem; }
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.5rem; font-size: 0.85rem; color: var(--text-60); transition: color 0.3s; }
.back-link:hover { color: #fff; }
.back-link svg { width: 1rem; height: 1rem; }
.steps { list-style: none; padding: 0; margin: 2.25rem 0 0; display: grid; gap: 0.75rem; }
.steps-inline { grid-template-columns: repeat(3, 1fr); width: 100%; text-align: left; margin: 1rem 0 0.5rem; }
.step { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.1rem; border-radius: 1.25rem; }
.step-num { width: 2.5rem; height: 2.5rem; flex: none; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.9rem; background: linear-gradient(135deg, rgba(255,40,50,0.6), rgba(150,0,10,0.4)); box-shadow: 0 0 18px rgba(255,30,45,0.35); }
.step h4 { font-size: 0.98rem; }
.step p { font-size: 0.8rem; color: var(--text-60); }

.form-card { border-radius: 2rem; padding: 2.25rem; }
.form-card h3 { font-size: 1.4rem; letter-spacing: -0.02em; margin-bottom: 0.35rem; }
.form-card .sub { font-size: 0.85rem; color: var(--text-60); margin-bottom: 1.75rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-60); }
.field label .req { color: var(--red-soft); }
.field input {
  width: 100%; padding: 0.85rem 1.1rem; border-radius: 0.9rem;
  background: rgba(0, 0, 0, 0.28); color: #fff; font: inherit; font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
}
/* iOS Safari zooms the page when a focused field's text is under 16px; keep form fields at 16px on touch screens. */
@media (hover: none), (max-width: 1023px) {
  .field input, .field textarea, .field select { font-size: 16px; }
}
.field input::placeholder { color: var(--text-30); }
.field input:hover { border-color: rgba(255, 255, 255, 0.24); }
.field input:focus { outline: none; border-color: rgba(255, 100, 105, 0.8); background: rgba(0, 0, 0, 0.4); box-shadow: 0 0 0 4px rgba(255, 40, 50, 0.15); }
.field.invalid input { border-color: #ff5a5f; }
.field .err { font-size: 0.75rem; color: #ff8a8d; min-height: 0; }
.consents { display: grid; gap: 0.85rem; margin: 1.6rem 0 1.5rem; padding: 1.1rem 1.15rem; border-radius: 1.1rem; background: rgba(0, 0, 0, 0.22); }
.check { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 0.82rem; color: var(--text-80); line-height: 1.55; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 1.2rem; height: 1.2rem; margin-top: 0.15rem; border-radius: 0.35rem; border: 1.5px solid rgba(255, 255, 255, 0.4); background: rgba(0,0,0,0.3); display: grid; place-content: center; cursor: pointer; transition: background-color 0.2s, border-color 0.2s; }
.check input::after { content: ''; width: 0.6rem; height: 0.35rem; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) scale(0); margin-top: -0.15rem; transition: transform 0.2s var(--ease-out); }
.check input:checked { background: var(--red); border-color: var(--red-bright); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check a, .link-btn { color: var(--red-soft); text-decoration: underline; text-underline-offset: 3px; }
.check.invalid input { border-color: #ff5a5f; box-shadow: 0 0 0 3px rgba(255, 90, 95, 0.25); }
.check .opt { color: var(--text-50); }
.form-error { display: none; margin-bottom: 1rem; padding: 0.85rem 1rem; border-radius: 0.9rem; background: rgba(255, 60, 70, 0.14); color: #ffb3b5; font-size: 0.85rem; }
.form-error.show { display: block; }
.submit { width: 100%; justify-content: space-between; padding-left: 1.75rem; font-size: 1.02rem; }
.submit[disabled] { opacity: 0.7; cursor: progress; }
.submit .spin { display: none; width: 1rem; height: 1rem; border: 2px solid rgba(255,255,255,0.35); border-top-color: #fff; border-radius: 999px; animation: spin 0.8s linear infinite; }
.submit.loading .spin { display: block; }
.submit.loading .arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.success { display: none; text-align: center; }
.success.show { display: block; animation: rise 0.8s var(--ease-out); }
.success .badge { width: 3.5rem; height: 3.5rem; margin: 0 auto 1rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(255,40,50,0.7), rgba(150,0,10,0.5)); box-shadow: 0 0 30px rgba(255,30,45,0.5); }
.success .badge svg { width: 1.6rem; height: 1.6rem; }
.success h3 { font-size: 1.6rem; }
.success p { color: var(--text-70, var(--text-60)); font-size: 0.92rem; margin-top: 0.5rem; }
.qr-frame { display: inline-block; margin: 1.5rem auto 0.75rem; padding: 0.75rem; background: #fff; border-radius: 1.25rem; box-shadow: 0 0 50px rgba(255, 30, 45, 0.35); }
.qr-frame img { width: 200px; height: 200px; image-rendering: pixelated; }
.ref-label { margin-top: 1.5rem !important; font-size: 0.72rem !important; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-50) !important; }
.success .ref { margin-top: 0.35rem; }
.ref { font-size: 1.3rem; letter-spacing: 0.35em; font-weight: 600; padding-left: 0.35em; }
.success .ghost-btn { margin-top: 1.25rem; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* After registering, the page shows only the thank-you card, centred on the backdrop. */
body.registered .site-header, body.registered footer, body.registered .register-head,
body.registered .steps-inline, body.registered .register-page .back-link { display: none; }
body.registered .register-page { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 2.5rem 1.25rem; }
body.registered .register-page .container { width: 100%; }
.success-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.success .success-nav .ghost-btn { margin-top: 0; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(5, 0, 1, 0.6); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-card { width: 100%; max-width: 44rem; max-height: 86vh; display: flex; flex-direction: column; border-radius: 1.75rem; background: rgba(30, 5, 8, 0.75); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 1.4rem 1.6rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.modal-head h3 { font-size: 1.2rem; }
.modal-body { padding: 1.4rem 1.6rem 1.8rem; overflow-y: auto; font-size: 0.88rem; color: var(--text-80); line-height: 1.75; }
.modal-body h4 { font-size: 0.95rem; color: #fff; margin: 1.3rem 0 0.35rem; font-weight: 600; }
.modal-body ul { padding-left: 1.2rem; margin: 0.3rem 0; }
.modal-body p + p { margin-top: 0.6rem; }

/* Footer */
footer { padding: 3rem 1.5rem 2.5rem; }
.footer-inner { max-width: 72rem; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.8rem; color: var(--text-50); }
.footer-inner img { height: 64px; width: auto; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a:hover, .footer-links button:hover { color: #fff; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay='1'] { transition-delay: 0.12s; }
.reveal[data-delay='2'] { transition-delay: 0.24s; }
.reveal[data-delay='3'] { transition-delay: 0.36s; }
.hero-in > * { animation: rise 1.2s var(--ease-out) backwards; }
.hero-in > *:nth-child(2) { animation-delay: 0.1s; }
.hero-in > *:nth-child(3) { animation-delay: 0.2s; }
.hero-in > *:nth-child(4) { animation-delay: 0.3s; }
.hero-in > *:nth-child(5) { animation-delay: 0.4s; }
.hero-in > *:nth-child(6) { animation-delay: 0.5s; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .backdrop { background-image: url('/assets/bg-mobile.jpg'); }
  .agenda-grid, .details-grid { grid-template-columns: 1fr; max-width: 34rem; margin: 0 auto; }
  .icon3d { width: 9rem; height: 9rem; }
  .icon3d-sm { width: 8rem; height: 8rem; }
  .steps-inline { grid-template-columns: 1fr; max-width: 30rem; }
  .tt-head { display: none; }
  .tt-row { grid-template-columns: 1fr; gap: 0.35rem; padding: 1.1rem 1.15rem; }
  .tt-note:empty { display: none; }
  .tt-note { padding-left: 1.25rem; }
  .tt-content { padding-left: 1.25rem; }
}
@media (max-width: 640px) {
  .site-header { padding: 0.75rem 1rem; }
  .brand-sub { display: none; }
  .header-actions .cta-sm { display: none; }
  .hero { padding: 5.5rem 1rem 4.5rem; }
  .hero-stage { height: clamp(240px, 42vh, 380px); }
  .hero-title { gap: 0.75rem; }
  .hero-title::before, .hero-title::after { display: none; }
  .hero-tags { flex-direction: column; align-items: center; gap: 0.35rem; font-size: 0.66rem; letter-spacing: 0.2em; }
  .hero-tags span + span { border-left: 0; }
  .meta-pill { border-radius: 1.4rem; flex-direction: column; align-items: center; padding: 0.75rem 1rem; }
  .meta-pill span + span { border-left: 0; }
  .reserve-card { padding: 2.5rem 1.25rem; border-radius: 1.75rem; }
  .section { padding: 5rem 1rem; }
  .section-title { gap: 0.9rem; margin-bottom: 2.5rem; }
  .section-title h2 { letter-spacing: 0.32em; font-size: 0.78rem; }
  .form-card { padding: 1.5rem 1.15rem; border-radius: 1.5rem; }
  .form-grid { grid-template-columns: 1fr; }
  .timeline { padding: 0.4rem; border-radius: 1.5rem; }
  .tags span { letter-spacing: 0.14em; font-size: 0.66rem; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .sig-stroke { visibility: visible; stroke-dashoffset: 0; animation: none !important; }
}
