/* =====================================================
   RAMZ — مؤتمر رمز التقني
   ===================================================== */

/* ---------- Fonts ---------- */
@font-face { font-family: "Thmanyah Display"; src: url("fonts/thmanyahserifdisplay-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Thmanyah Display"; src: url("fonts/thmanyahserifdisplay-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("fonts/thmanyahsans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("fonts/thmanyahsans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("fonts/thmanyahsans-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --burgundy: #3E101F;
  --burgundy-deep: #280812;
  --burgundy-ink: #1C050C;
  --burgundy-soft: #5B2436;
  --rose: #C9A3AE;
  --cream: #FFF6E5;
  --paper: #F8EBD2;
  --sand: #EFDCB8;
  --gold: #E3C38A;
  --gold-deep: #C9A15E;
  --ink: #2A0914;
  --muted: #6E5059;
  --line: rgba(62, 16, 31, .13);
  --line-light: rgba(255, 246, 229, .14);
  --danger: #B3261E;

  --display: "Thmanyah Display", "Times New Roman", serif;
  --sans: "Thmanyah Sans", "Segoe UI", Tahoma, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --shadow: 0 24px 60px -28px rgba(40, 8, 18, .5);
  --shadow-lg: 0 40px 100px -40px rgba(0, 0, 0, .7);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  background-color: var(--cream);
  background-image: radial-gradient(rgba(62, 16, 31, .045) 1px, transparent 1.2px);
  background-size: 7px 7px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.2; margin: 0; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--burgundy); color: var(--cream); }

.skip { position: fixed; top: -60px; right: 16px; z-index: 200; background: var(--gold); color: var(--burgundy); padding: 10px 18px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-deep)); transform-origin: right; transform: scaleX(0); }

/* ---------- Type helpers ---------- */
.h2 { font-size: clamp(34px, 4.8vw, 60px); color: var(--burgundy-deep); margin-bottom: 20px; letter-spacing: -.01em; }
.h2--light { color: var(--cream); }
.h2 em, .final h2 em { font-style: normal; color: var(--burgundy); position: relative; z-index: 0; white-space: nowrap; }
.h2 em::after {
  content: ""; position: absolute; inset-inline: -.08em; bottom: .1em; height: .3em; z-index: -1;
  background: var(--sand); border-radius: 4px;
  transform: scaleX(0); transform-origin: right; transition: transform .9s var(--ease) .25s;
}
.h2.is-in em::after, .is-in .h2 em::after { transform: scaleX(1); }
.h2--light em { color: var(--gold); }
.h2--light em::after { background: rgba(227, 195, 138, .16); }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: #4d2c37; }
.muted { color: var(--muted); }
.opt { font-weight: 400; font-size: .82em; color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 14px; letter-spacing: .03em;
  color: var(--muted); margin: 0 0 16px;
}
.eyebrow--gold { color: var(--gold); }
.eyebrow--center { display: flex; justify-content: center; }
.pix {
  width: 14px; height: 14px; flex: none;
  background:
    linear-gradient(currentColor 0 0) 0 0 / 5px 5px no-repeat,
    linear-gradient(currentColor 0 0) 9px 0 / 5px 5px no-repeat,
    linear-gradient(currentColor 0 0) 4.5px 4.5px / 5px 5px no-repeat,
    linear-gradient(currentColor 0 0) 0 9px / 5px 5px no-repeat,
    linear-gradient(currentColor 0 0) 9px 9px / 5px 5px no-repeat;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--burgundy); --fg: var(--cream);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: 16px; line-height: 1;
  padding: 15px 28px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--lg { padding: 19px 34px; font-size: 17px; }
.btn--sm { padding: 10px 20px; font-size: 14.5px; }
.btn--block { width: 100%; }
.btn--gold { --bg: var(--gold); --fg: var(--burgundy-ink); box-shadow: 0 14px 34px -14px rgba(227, 195, 138, .7); }
.btn--gold:hover { --bg: #EDD3A3; box-shadow: 0 18px 40px -14px rgba(227, 195, 138, .9); }
.btn--line { --bg: transparent; --fg: var(--burgundy); border-color: currentColor; }
.btn--line:hover { --bg: var(--burgundy); --fg: var(--cream); border-color: var(--burgundy); }
.btn--line-light { --bg: transparent; --fg: var(--cream); border-color: rgba(255, 246, 229, .35); }
.btn--line-light:hover { --bg: var(--cream); --fg: var(--burgundy); border-color: var(--cream); }
.btn__arrow { transition: transform .35s var(--ease); font-family: var(--sans); }
.btn:hover .btn__arrow { transform: translateX(-5px); }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }
.linkish { background: none; border: 0; color: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; opacity: .75; padding: 8px; }
.linkish:hover { opacity: 1; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  transition: background .4s, box-shadow .4s, color .4s, transform .45s var(--ease);
  color: var(--ink);
}
.nav.is-solid { background: rgba(255, 246, 229, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(40, 8, 18, .4); }
.nav.is-dark:not(.is-solid) { color: var(--cream); }
.nav.is-glass:not(.is-solid) { background: rgba(40, 8, 18, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-light); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__brand { position: relative; display: block; width: 104px; height: 50px; }
.nav__logo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .35s; }
.nav__logo--dark { opacity: 0; }
.nav.is-solid .nav__logo--dark { opacity: 1; }
.nav.is-solid .nav__logo--light { opacity: 0; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 15.5px; position: relative; padding: 6px 0; opacity: .88; transition: opacity .2s; }
.nav__links a:not(.btn):hover, .nav__links a.is-active { opacity: 1; }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; right: 0; left: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav__links a:not(.btn):hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; color: inherit; position: relative; }
.nav__toggle span { position: absolute; right: 10px; width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle.is-open span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle.is-open span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 48px) 0 110px;
  background: var(--burgundy); color: var(--cream);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__pattern {
  position: absolute; inset: -30%;
  background: url("assets/pattern-r.png") 0 0 / 760px auto;
  filter: brightness(2.6); opacity: .075; transform: rotate(-8deg);
  animation: drift 90s linear infinite;
}
@keyframes drift { to { background-position: -1520px 760px; } }
.hero__glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(55% 60% at 12% 0%, rgba(201, 163, 174, .38), transparent 70%),
    radial-gradient(40% 45% at 100% 100%, rgba(227, 195, 138, .14), transparent 70%),
    linear-gradient(180deg, transparent 60%, rgba(28, 5, 12, .55));
}
.hero__pixels {
  position: absolute; left: 0; bottom: 0; width: 60%; height: 55%;
  background: radial-gradient(rgba(255, 246, 229, .22) 1.3px, transparent 1.6px) 0 0 / 12px 12px;
  -webkit-mask-image: radial-gradient(90% 90% at 0% 100%, #000, transparent 70%);
          mask-image: radial-gradient(90% 90% at 0% 100%, #000, transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; flex: 1; }
.tag {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  padding: 7px 16px 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: rgba(255, 246, 229, .08); border: 1px solid var(--line-light);
}
.tag__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(227, 195, 138, .6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(227, 195, 138, 0); } }

.hero__title { display: flex; flex-direction: column; line-height: 1; margin-bottom: 28px; }
.hero__title > span { display: block; }
.hero__t1 { font-size: clamp(28px, 3.4vw, 44px); color: var(--gold); font-weight: 700; margin-bottom: .1em; }
.hero__t2 { font-size: clamp(110px, 17vw, 232px); font-weight: 900; letter-spacing: -.01em; line-height: 1.08; text-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.hero__t3 {
  font-size: clamp(40px, 5.4vw, 76px); font-weight: 900; margin-top: .05em;
  color: var(--rose); display: flex !important; align-items: center; gap: .35em;
}
.hero__t3::after { content: ""; flex: 1; max-width: 3.2em; height: 2px; background: linear-gradient(90deg, transparent, rgba(201, 163, 174, .6)); margin-top: .1em; }
.hero__lead { font-size: clamp(17px, 1.55vw, 20px); max-width: 32em; color: rgba(255, 246, 229, .8); margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.seats { margin-top: 28px; max-width: 420px; }
.seats__bar { height: 6px; border-radius: 6px; background: rgba(255, 246, 229, .12); overflow: hidden; }
.seats__bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); transition: width 1.6s var(--ease); }
.seats p { margin: 10px 0 0; font-size: 14px; color: rgba(255, 246, 229, .75); }
.seats b { color: var(--gold); }

/* Code editor */
.editor {
  position: relative; border-radius: 22px; isolation: isolate;
  background: linear-gradient(165deg, rgba(40, 8, 18, .92), rgba(22, 3, 9, .94));
  border: 1px solid rgba(227, 195, 138, .22);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 246, 229, .07);
  animation: floatEd 9s ease-in-out infinite;
}
@keyframes floatEd { 50% { transform: translateY(-8px); } }
.editor__glow { position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--a, 0deg), transparent 0 70%, rgba(227, 195, 138, .7) 80%, transparent 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: edSpin 7s linear infinite; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes edSpin { to { --a: 360deg; } }
.editor::after { content: ""; position: absolute; inset: 18% -8% -12% 18%; z-index: -2; background: radial-gradient(closest-side, rgba(227, 195, 138, .22), transparent); filter: blur(20px); }
.editor__bar { display: flex; align-items: flex-end; gap: 4px; padding: 12px 14px 0; border-bottom: 1px solid var(--line-light); }
.editor__dots { display: flex; gap: 7px; padding: 0 6px 13px 2px; margin-inline-end: 8px; }
.editor__dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 246, 229, .18); }
.editor__dots i:first-child { background: #E26D5C; } .editor__dots i:nth-child(2) { background: var(--gold); } .editor__dots i:nth-child(3) { background: #8DB48E; }
.editor__tab { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px 10px; font: 500 12.5px var(--mono); color: rgba(255, 246, 229, .45); border-radius: 10px 10px 0 0; }
.editor__tab svg { width: 14px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; }
.editor__tab.is-on { background: rgba(255, 246, 229, .06); color: var(--cream); box-shadow: inset 0 2px 0 var(--gold); }
.editor__body { display: grid; grid-template-columns: auto 1fr; padding: 18px 0 20px; min-height: 348px; }
.editor__gutter { list-style: none; margin: 0; padding: 0 14px 0 18px; text-align: right; font: 13.5px/2 var(--mono); color: rgba(255, 246, 229, .18); user-select: none; border-right: 1px solid rgba(255, 246, 229, .06); }
.editor__gutter li { transition: color .3s; }
.editor__gutter li.is-on { color: rgba(255, 246, 229, .38); }
.editor__gutter li.is-cur { color: var(--gold); }
.editor__code { margin: 0; padding: 0 18px; font: 14.5px/2 var(--mono); color: rgba(255, 246, 229, .88); text-align: left; white-space: pre; overflow: hidden; }
.editor__code .ln { display: block; min-height: 2em; border-radius: 6px; padding-inline: 6px; margin-inline: -6px; }
.editor__code .ln.is-cur { background: rgba(255, 246, 229, .045); }
.t-c { color: rgba(201, 163, 174, .75); font-style: italic; font-family: var(--sans); unicode-bidi: isolate; }
.t-k { color: var(--rose); } .t-v { color: #F3E4C8; } .t-p { color: #9BC7C0; } .t-n { color: #F0A58F; } .t-f { color: var(--gold); }
.t-s { color: #EFD4A4; font-family: var(--sans); unicode-bidi: isolate; }
.caret { display: inline-block; width: 8px; height: 1.2em; vertical-align: -4px; background: var(--gold); animation: blink 1s steps(1) infinite; margin-inline-start: 1px; }
@keyframes blink { 50% { opacity: 0; } }
.editor__status { display: flex; align-items: center; gap: 16px; padding: 9px 14px 9px 18px; border-top: 1px solid var(--line-light); font: 500 12px var(--mono); color: rgba(255, 246, 229, .5); border-radius: 0 0 22px 22px; background: rgba(0, 0, 0, .18); }
.editor__live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #8DB48E; margin-inline-end: 4px; box-shadow: 0 0 0 0 rgba(141, 180, 142, .6); animation: pingG 2s infinite; }
@keyframes pingG { 70%, 100% { box-shadow: 0 0 0 7px rgba(141, 180, 142, 0); } }
.editor__run { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 8px; background: var(--gold); color: var(--burgundy-ink); text-decoration: none; font-weight: 700; transition: transform .25s var(--ease), background .2s; }
.editor__run b { font: 700 12.5px var(--sans); }
.editor__run:hover { transform: translateY(-1px); background: #EDD3A3; }

/* Hero entrance */
.anim .hero__title > span, .anim .hero__lead, .anim .hero__actions { animation: rise 1.1s var(--ease) both; }
.anim .editor { animation: riseEd 1.3s var(--ease) .4s both, floatEd 9s ease-in-out 1.7s infinite; }
.anim .hero__t1 { animation-delay: .08s; }
.anim .hero__t2 { animation-delay: .16s; }
.anim .hero__t3 { animation-delay: .26s; }
.anim .hero__lead { animation-delay: .38s; }
.anim .hero__actions { animation-delay: .48s; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); filter: blur(6px); } }
@keyframes riseEd { from { opacity: 0; transform: translateY(50px) scale(.97); } }

/* ---------- Marquee (crossing tapes) ---------- */
.marquee { position: relative; height: 170px; overflow: hidden; margin-top: -40px; z-index: 2; pointer-events: none; }
.marquee__row {
  position: absolute; inset-inline: -5%; top: 44px; padding: 16px 0;
  background: var(--gold); color: var(--burgundy-ink); transform: rotate(-2.2deg);
  box-shadow: 0 20px 40px -20px rgba(40, 8, 18, .5);
}
.marquee__row--rev { top: 70px; background: var(--burgundy-deep); color: var(--cream); transform: rotate(1.8deg); z-index: -1; }
.marquee__track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee__row--rev .marquee__track { animation-direction: reverse; animation-duration: 60s; }
.marquee__track span { font-family: var(--display); font-weight: 900; font-size: 30px; line-height: 1.3; white-space: nowrap; padding-inline-end: 10px; }
.marquee__row--rev .marquee__track span { font-family: var(--sans); font-weight: 700; font-size: 20px; }
@keyframes marquee { to { transform: translateX(50%); } }

.section.section--after-marquee { padding-top: 70px; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 120px 0; }
.section--tight { padding: 72px 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--burgundy); color: var(--cream); overflow: hidden; isolation: isolate; }
.section--dark p { color: rgba(255, 246, 229, .8); }
.section__pattern {
  position: absolute; inset: -30%; z-index: -1; pointer-events: none;
  background: url("assets/pattern-r.png") 0 0 / 900px auto; filter: brightness(2.6); opacity: .06; transform: rotate(-7deg);
}
.section__head { margin-bottom: 56px; }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.section__note { max-width: 24em; margin: 0 0 22px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: center; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.pillar {
  background: rgba(255, 255, 255, .55); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 20px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .3s, opacity 1s var(--ease);
}
.pillar:hover { transform: translateY(-6px); background: #fff; box-shadow: var(--shadow); }
.pillar__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--burgundy); display: grid; place-items: center; margin-bottom: 16px; }
.pillar__icon svg { width: 22px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { font-size: 20px; color: var(--burgundy-deep); margin-bottom: 6px; }
.pillar p { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0; }

.about__media { position: relative; margin: 0; }
.about__frame { border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 140px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 4.6; }
.about__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; transform: scale(1.1); transition: transform 1.6s var(--ease); }
.about__media.is-in .about__frame img { transform: scale(1); }
.about__badge {
  position: absolute; bottom: 28px; right: -24px; display: flex; align-items: center; gap: 12px;
  background: var(--cream); padding: 12px 20px 12px 14px; border-radius: 18px; box-shadow: var(--shadow);
}
.about__badge span { display: flex; flex-direction: column; line-height: 1.35; }
.about__badge b { color: var(--burgundy); font-size: 16px; }
.about__badge small { color: var(--muted); font-size: 12.5px; }
.about__stamp { position: absolute; top: -40px; left: -40px; width: 150px; height: 150px; border-radius: 50%; background: var(--burgundy); display: grid; place-items: center; box-shadow: var(--shadow); }
.about__stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.about__stamp text { font: 700 15px var(--display); fill: var(--gold); letter-spacing: .5px; }
.about__stamp img { width: 54px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Details: facts ---------- */
.facts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: var(--r); overflow: hidden; margin-bottom: 72px; }
.fact { background: var(--burgundy); padding: 22px 20px; display: flex; flex-direction: column; gap: 2px; min-width: 0; transition: background .3s; }
.fact:hover { background: #47152A; }
.fact__icon { width: 38px; height: 38px; border-radius: 11px; background: rgba(227, 195, 138, .12); display: grid; place-items: center; margin-bottom: 12px; }
.fact__icon svg { width: 20px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fact small { font-size: 13px; color: rgba(255, 246, 229, .6); }
.fact b { font-family: var(--display); font-size: 19px; line-height: 1.35; overflow-wrap: anywhere; }

/* ---------- Details: tracks (cards) ---------- */
.tracks-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.tracks-head h3 { font-size: 28px; color: var(--cream); }
.tracks-head p { margin: 0; font-size: 15px; }
.tracks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.track {
  position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column;
  padding: 26px 26px 24px; border-radius: 22px; border: 1px solid rgba(227, 195, 138, .18);
  background: linear-gradient(160deg, rgba(74, 22, 40, .9), rgba(46, 10, 22, .9));
  transition: transform .5s var(--ease), border-color .35s, box-shadow .5s var(--ease), opacity 1s var(--ease);
}
.track::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 70% at 0% 0%, rgba(227, 195, 138, .14), transparent 60%); opacity: .6; transition: opacity .4s; }
.track:hover { transform: translateY(-6px); border-color: rgba(227, 195, 138, .45); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.track:hover::before { opacity: 1; }
.track__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.track__no { font: 700 13px var(--mono); color: var(--gold); width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(227, 195, 138, .35); display: grid; place-items: center; }
.track__level { font-size: 12.5px; font-weight: 700; color: rgba(255, 246, 229, .8); background: rgba(255, 246, 229, .07); padding: 4px 12px; border-radius: 99px; }
.track__glyph {
  font: 700 clamp(30px, 3.2vw, 40px)/1.1 var(--mono); letter-spacing: -.03em; text-align: left; margin-bottom: 14px;
  background: linear-gradient(120deg, var(--gold), rgba(227, 195, 138, .35)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.track h4 { font-family: var(--display); font-size: clamp(22px, 2.2vw, 27px); color: var(--cream); margin: 0 0 8px; }
.track > p { font-size: 15.5px; line-height: 1.75; margin: 0 0 18px; }
.track ul { list-style: none; padding: 16px 0 0; margin: auto 0 0; display: grid; gap: 8px; border-top: 1px dashed rgba(255, 246, 229, .14); }
.track li { display: flex; align-items: baseline; gap: 10px; font-size: 14.5px; font-weight: 500; color: rgba(255, 246, 229, .88); line-height: 1.6; }
.track li::before { content: ""; width: 7px; height: 7px; flex: none; background: var(--gold); transform: rotate(45deg) translateY(-2px); }

/* ---------- Schedule ---------- */
.legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13.5px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.lg { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.lg--talk { background: var(--burgundy); }
.lg--workshop { background: var(--gold); }
.lg--break { border: 2px dashed var(--muted); }
.sched-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.sched-actions .btn svg, .faq__aside .btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sched-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 10px; border-radius: 18px; background: rgba(255, 255, 255, .6); border: 1px solid var(--line); margin-bottom: 28px; position: sticky; top: calc(var(--nav-h) + 8px); z-index: 5; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav.is-hidden ~ main .sched-bar { top: 8px; }
.sched-bar .legend { padding-inline-end: 8px; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filter { appearance: none; border: 0; font: inherit; font-weight: 700; font-size: 14.5px; cursor: pointer; padding: 9px 16px; border-radius: 12px; background: transparent; color: var(--ink); display: inline-flex; align-items: center; gap: 7px; transition: background .25s, color .25s; }
.filter i { font-style: normal; font-size: 12px; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--sand); color: var(--burgundy); display: inline-grid; place-items: center; font-family: var(--mono); }
.filter:hover { background: rgba(62, 16, 31, .06); }
.filter.is-on { background: var(--burgundy); color: var(--cream); }
.filter.is-on i { background: rgba(255, 246, 229, .18); color: var(--cream); }

.live-now { display: flex; align-items: center; gap: 14px; background: var(--burgundy); color: var(--cream); border-radius: 16px; padding: 14px 20px; margin-bottom: 22px; }
.live-now .dot { width: 10px; height: 10px; border-radius: 50%; background: #E26D5C; flex: none; animation: ping2 1.6s infinite; }
@keyframes ping2 { 0% { box-shadow: 0 0 0 0 rgba(226, 109, 92, .6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(226, 109, 92, 0); } }
.live-now b { color: var(--gold); }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; max-width: 980px; }
.timeline::before { content: ""; position: absolute; top: 14px; bottom: 14px; right: 110px; width: 2px; background: var(--line); }
.tl { display: grid; grid-template-columns: 94px 1fr; gap: 50px; padding: 8px 0; position: relative; transition: opacity .35s; }
.tl.is-hidden { display: none; }
.tl::before {
  content: ""; position: absolute; right: 104px; top: 30px; width: 14px; height: 14px;
  background: var(--burgundy); border: 3px solid var(--cream); border-radius: 4px; transform: rotate(45deg);
  box-shadow: 0 0 0 1px var(--line); z-index: 1;
}
.tl__time { padding-top: 16px; text-align: right; direction: ltr; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.3; }
.tl__time time { font: 700 19px var(--mono); color: var(--burgundy); }
.tl__time small { font: 500 13px var(--mono); color: var(--muted); }
.tl__card {
  position: relative; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 22px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, border-color .3s;
}
.tl__card:hover { transform: translateX(-6px); background: #fff; box-shadow: var(--shadow); }
.tl__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.tl__type { font-size: 12px; font-weight: 700; color: var(--burgundy); background: rgba(62, 16, 31, .07); padding: 2px 10px; border-radius: 99px; }
.tl__dur { font-size: 12.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.tl__live { display: none; font-size: 12px; font-weight: 700; color: #fff; background: #C0473A; padding: 2px 10px; border-radius: 99px; }
.tl h3 { font-size: 20px; color: var(--burgundy-deep); }
.tl p { margin: 4px 0 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.tl__speaker { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--burgundy); }
.tl__speaker::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='9' r='4' fill='%233E101F'/%3E%3Cpath d='M4 22a8 8 0 0 1 16 0' fill='%233E101F'/%3E%3C/svg%3E") center / 14px no-repeat; }
.tl--break .tl__card { background: transparent; border-style: dashed; }
.tl--break::before { background: var(--cream); box-shadow: 0 0 0 1px var(--muted); }
.tl--workshop .tl__card { background: var(--sand); border-color: transparent; }
.tl--workshop .tl__type { background: rgba(62, 16, 31, .1); }
.tl--workshop::before { background: var(--gold); }
.tl.is-past { opacity: .5; }
.tl.is-now .tl__card { border-color: #C0473A; box-shadow: 0 0 0 2px rgba(192, 71, 58, .25); background: #fff; }
.tl.is-now .tl__live { display: inline-block; }
.tl.is-now::before { background: #C0473A; }

/* ---------- Speakers ---------- */
.speakers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.speaker { appearance: none; border: 0; padding: 0; background: none; font: inherit; color: inherit; text-align: right; cursor: pointer; display: flex; flex-direction: column; border-radius: 22px; transition: transform .5s var(--ease), opacity 1s var(--ease); }
.speaker:hover { transform: translateY(-8px); }
.speaker__img {
  position: relative; aspect-ratio: 4 / 4.5; border-radius: 22px 22px 0 0; overflow: hidden;
  background: radial-gradient(circle at 50% 72%, var(--sand) 0 44%, transparent 45%), var(--cream);
  display: flex; align-items: flex-end; justify-content: center;
}
.speaker__img::after { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(62, 16, 31, .06) 1px, transparent 1.3px) 0 0 / 7px 7px; pointer-events: none; }
.speaker__img svg { width: 76%; fill: var(--burgundy-ink); transition: transform .7s var(--ease); }
.speaker__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.speaker:hover .speaker__img svg, .speaker:hover .speaker__img img { transform: scale(1.05); }
.speaker__plate {
  position: relative; background: var(--burgundy); color: var(--cream); padding: 16px 18px 20px; margin-inline: -6px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.speaker__plate::before { content: ""; position: absolute; inset: 0; background: url("assets/pattern-r.png") center / 380px; filter: brightness(2.6); opacity: .07; }
.speaker__plate > * { position: relative; }
.speaker__plate h3 { font-size: 21px; }
.speaker__role { margin: 2px 0 0; font-size: 14px; opacity: .78; }
.speaker__topic { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 13px; color: var(--gold); font-weight: 700; }
.speaker__topic::before { content: ""; width: 6px; height: 6px; background: currentColor; transform: rotate(45deg); }

/* ---------- Partners (inside details) ---------- */
.partners { margin-top: 84px; padding-top: 64px; border-top: 1px solid var(--line-light); scroll-margin-top: calc(var(--nav-h) + 20px); }
.owner {
  position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px;
  background: var(--cream); color: var(--ink); border-radius: 28px; padding: 30px 36px; box-shadow: var(--shadow-lg);
}
.owner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(rgba(62, 16, 31, .06) 1px, transparent 1.3px) 0 0 / 8px 8px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 60%); mask-image: linear-gradient(90deg, #000, transparent 60%); }
.owner__logo { width: 150px; }
.owner__logo img { width: 100%; height: auto; }
.owner__tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--burgundy); background: var(--sand); padding: 5px 14px; border-radius: 99px; margin-bottom: 12px; }
.owner__tag::before { content: ""; width: 7px; height: 7px; background: var(--burgundy); transform: rotate(45deg); }
.owner h4 { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 3.6vw, 46px); color: var(--burgundy-deep); margin: 0 0 6px; line-height: 1.15; }
.owner h4 span { font-family: var(--sans); font-weight: 700; font-size: .62em; color: var(--gold-deep); letter-spacing: .02em; }
.owner p { margin: 0; color: var(--muted) !important; font-size: 15.5px; line-height: 1.7; }
.owner__mark { font: 700 64px/1 var(--mono); color: rgba(62, 16, 31, .07); letter-spacing: -.04em; direction: ltr; }
.owner__mark b { color: rgba(201, 161, 94, .35); }

.tiers { display: grid; gap: 14px; margin-top: 16px; }
.tier { display: grid; grid-template-columns: 210px 1fr; align-items: stretch; gap: 14px; }
.tier__head { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--cream); padding: 18px; border-radius: 18px; background: rgba(255, 246, 229, .05); border: 1px solid var(--line-light); }
.tier__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.tier__icon svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tier--diamond .tier__icon { background: linear-gradient(135deg, #F3F8FF, #BFD7EA); color: #3D6A8E; }
.tier--gold .tier__icon { background: linear-gradient(135deg, #F6E2B3, var(--gold-deep)); color: #6B4A14; }
.tier--silver .tier__icon { background: linear-gradient(135deg, #F4F4F4, #B9B9BE); color: #55555C; }
.tier--partner .tier__icon { background: rgba(227, 195, 138, .16); color: var(--gold); }
.tier__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.tier--diamond .tier__grid { grid-template-columns: 1fr; }
.sponsor {
  min-height: 96px; padding: 16px 22px; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: var(--cream); color: var(--burgundy); text-decoration: none; text-align: center;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.tier--diamond .sponsor { min-height: 130px; }
a.sponsor:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .7); }
.sponsor img { max-height: 58px; max-width: 80%; width: auto; object-fit: contain; }
.tier--diamond .sponsor img { max-height: 84px; }
.sponsor__cap { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.sponsor__name { font-family: var(--display); font-size: 20px; }
.sponsor--open { grid-column: 1 / -1; flex-direction: row; gap: 14px; background: transparent; color: rgba(255, 246, 229, .8); border: 1.5px dashed rgba(227, 195, 138, .35); }
.sponsor--open:hover { border-color: var(--gold); color: var(--cream); background: rgba(227, 195, 138, .06); }
.sponsor--open span:last-child { display: flex; flex-direction: column; text-align: right; font-weight: 700; line-height: 1.4; }
.sponsor--open small { font-weight: 400; font-size: 13px; color: rgba(255, 246, 229, .6); }
.sponsor__plus { width: 40px; height: 40px; border-radius: 50%; background: rgba(227, 195, 138, .15); color: var(--gold); display: grid; place-items: center; font-size: 22px; line-height: 1; flex: none; }
.become {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 16px;
  padding: 26px 30px; border-radius: 24px; background: linear-gradient(120deg, rgba(227, 195, 138, .16), rgba(227, 195, 138, .04)); border: 1px solid rgba(227, 195, 138, .3);
}
.become h4 { font-family: var(--display); font-size: 26px; color: var(--gold); margin: 0 0 4px; }
.become p { margin: 0; max-width: 46em; }
.become .btn { flex: none; }

/* ---------- Register ---------- */
.register__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.register__copy { position: sticky; top: calc(var(--nav-h) + 40px); }
.checks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.checks li::before {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--gold)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%231C050C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.demo-note { background: rgba(227, 195, 138, .12); border: 1px dashed rgba(227, 195, 138, .6); color: var(--gold); padding: 10px 16px; border-radius: 12px; font-size: 14px; margin-bottom: 14px; }

.form {
  background: var(--cream); color: var(--ink); border-radius: var(--r-lg); padding: 36px;
  box-shadow: var(--shadow-lg);
}
.form__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; gap: 12px; }
.form__head h3 { font-size: 24px; color: var(--burgundy-deep); }
.form__time { font-size: 13px; color: var(--muted); background: var(--sand); padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.field { position: relative; margin-bottom: 16px; }
.field input, .field select {
  width: 100%; height: 60px; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1.5px solid rgba(62, 16, 31, .16); border-radius: 14px;
  padding: 24px 16px 6px; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field select { cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%233E101F' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") left 14px center / 18px no-repeat; }
.field label {
  position: absolute; right: 17px; top: 18px; font-size: 16px; color: var(--muted); pointer-events: none;
  transform-origin: right top; transition: transform .25s var(--ease), color .25s;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field select:focus + label, .field select.has-value + label { transform: translateY(-11px) scale(.76); color: var(--burgundy); font-weight: 700; }
.field input[dir="ltr"] { text-align: right; }
.field input[dir="ltr"]:not(:placeholder-shown) { text-align: left; }
.field input:focus, .field select:focus { outline: none; border-color: var(--burgundy); box-shadow: 0 0 0 4px rgba(62, 16, 31, .1); }

.group { border: 0; padding: 0; margin: 4px 0 18px; min-width: 0; }
.group legend { font-weight: 700; font-size: 15px; color: var(--burgundy-deep); margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; font-weight: 500; font-size: 15px;
  border: 1.5px solid rgba(62, 16, 31, .18); background: #fff; transition: all .25s var(--ease);
}
.chip:hover span { border-color: var(--burgundy); }
.chip input:checked + span { background: var(--burgundy); border-color: var(--burgundy); color: var(--cream); }
.chip input[type="checkbox"]:checked + span::before { content: "✓"; font-size: 13px; color: var(--gold); }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 20px; font-size: 15px; cursor: pointer; position: relative; }
.consent input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.consent__box { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid rgba(62, 16, 31, .35); background: #fff; margin-top: 3px; transition: all .2s; display: grid; place-items: center; }
.consent input:checked + .consent__box { background: var(--burgundy); border-color: var(--burgundy); }
.consent input:checked + .consent__box::after { content: ""; width: 11px; height: 6px; border: 2.5px solid var(--gold); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.consent input:focus-visible + .consent__box { outline: 3px solid var(--gold); outline-offset: 2px; }

.err { display: none; color: var(--danger); font-size: 13px; margin-top: 5px; font-weight: 500; }
.is-invalid .err, .form.consent-invalid .err--consent { display: block; }
.form.consent-invalid .err--consent { margin: -12px 0 16px; }
.is-invalid input, .is-invalid select { border-color: var(--danger); }
.is-invalid .chip span { border-color: rgba(179, 38, 30, .5); }
.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(6px); } 50% { transform: translateX(-6px); } 75% { transform: translateX(3px); } }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(28, 5, 12, .25); border-top-color: var(--burgundy-ink); animation: spin .8s linear infinite; }
.is-loading .spinner { display: inline-block; }
.form__status { margin: 14px 0 0; font-weight: 700; font-size: 15px; text-align: center; }
.form__status:empty { display: none; }
.form__status.is-error { color: var(--danger); }
.form__privacy { margin: 10px 0 0; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- Ticket ---------- */
.ticket-wrap { text-align: center; animation: ticketIn .9s var(--ease) both; }
@keyframes ticketIn { from { opacity: 0; transform: translateY(30px) scale(.94); } }
.ticket-msg { font-family: var(--display); font-size: 26px; color: var(--cream) !important; margin-bottom: 22px; }
/* RTL grid: column 1 = right (main), column 2 = left (stub) */
.ticket {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%;
  position: relative; display: grid; grid-template-columns: 1fr 210px; text-align: right;
  border-radius: 24px; transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .25s ease-out; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45));
  -webkit-mask: radial-gradient(circle 15px at 210px 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 15px at 210px 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle 15px at 210px 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 15px at 210px 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
}
.ticket__shine {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; mix-blend-mode: soft-light;
  background: radial-gradient(500px circle at var(--gx) var(--gy), rgba(255, 255, 255, .75), transparent 40%),
              linear-gradient(115deg, transparent 30%, rgba(227, 195, 138, .35) 45%, rgba(201, 163, 174, .35) 55%, transparent 70%);
}
.ticket__main { grid-column: 1; grid-row: 1; background: var(--cream); color: var(--ink); padding: 28px 30px; border-radius: 0 24px 24px 0; }
.ticket__stub {
  grid-column: 2; grid-row: 1; background: var(--burgundy); color: var(--cream); padding: 24px 18px; border-radius: 24px 0 0 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  border-inline-start: 2px dashed rgba(62, 16, 31, .25); position: relative; overflow: hidden;
}
.ticket__stub::before { content: ""; position: absolute; inset: 0; background: url("assets/pattern-r.png") center / 340px; filter: brightness(2.6); opacity: .08; }
.ticket__stub > * { position: relative; }
.ticket__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.ticket__logo { height: 44px; width: auto; }
.ticket__badge { background: var(--sand); color: var(--burgundy); font-weight: 700; padding: 5px 13px; border-radius: 999px; font-size: 13px; }
.ticket__badge.is-wait { background: var(--burgundy); color: var(--gold); }
.ticket__label { margin: 0; font-size: 13px; color: var(--muted) !important; }
.ticket__name { font-family: var(--display); font-weight: 900; font-size: clamp(26px, 3vw, 34px); line-height: 1.2; color: var(--burgundy-deep) !important; margin: 2px 0 22px; overflow-wrap: anywhere; }
.ticket__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.ticket__meta small { display: block; font-size: 12px; color: var(--muted); }
.ticket__meta b { font-family: var(--display); font-size: 17px; color: var(--burgundy); }
.ticket__qr { background: var(--cream); padding: 10px; border-radius: 14px; width: 150px; height: 150px; }
.ticket__qr svg, .ticket__qr img { width: 100%; height: 100%; }
.ticket__code { font: 700 17px var(--mono); letter-spacing: 2px; color: var(--gold); }
.ticket-sub { margin: -14px 0 22px; font-size: 15px; }
.t-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 26px 0 14px; text-align: right; }
.t-action {
  appearance: none; font: inherit; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px;
  background: rgba(255, 246, 229, .07); border: 1px solid var(--line-light); color: var(--cream); text-align: right;
  transition: background .25s, border-color .25s, transform .35s var(--ease);
}
.t-action:hover { background: rgba(255, 246, 229, .13); border-color: rgba(255, 246, 229, .3); transform: translateY(-2px); }
.t-action:disabled { opacity: .6; cursor: progress; }
.t-action__icon { width: 46px; height: 46px; border-radius: 14px; background: rgba(227, 195, 138, .14); display: grid; place-items: center; flex: none; }
.t-action__icon svg { width: 22px; fill: none; stroke: var(--gold); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.t-action__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.4; }
.t-action__txt b { font-size: 16px; }
.t-action__txt small { font-size: 12.5px; color: rgba(255, 246, 229, .6); }
.t-action--story { grid-column: 1 / -1; background: linear-gradient(120deg, #E3C38A, #EFD4A4 50%, #C9A3AE); color: var(--burgundy-ink); border-color: transparent; padding: 18px 20px; }
.t-action--story:hover { background: linear-gradient(120deg, #EDD3A3, #F5DFB8 50%, #D6B3BD); }
.t-action--story .t-action__icon { background: var(--burgundy); }
.t-action--story .t-action__txt small { color: rgba(28, 5, 12, .65); }
.t-action--story .t-action__txt b { font-size: 18px; }
.t-another {
  appearance: none; font: inherit; font-weight: 700; cursor: pointer; width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px; border-radius: 16px; border: 1.5px dashed rgba(255, 246, 229, .25); background: transparent; color: rgba(255, 246, 229, .85); transition: all .25s;
}
.t-another:hover { border-style: solid; border-color: var(--gold); color: var(--gold); }
.t-another svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Stepper form ---------- */
.stepper { margin-bottom: 26px; }
.stepper__bar { height: 4px; background: var(--sand); border-radius: 4px; overflow: hidden; margin-bottom: 14px; }
.stepper__bar span { display: block; height: 100%; width: 33.33%; background: linear-gradient(90deg, var(--gold-deep), var(--burgundy)); border-radius: 4px; transition: width .6s var(--ease); }
.stepper__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stepper__steps li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); font-weight: 500; }
.stepper__steps b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 700 13px var(--mono); background: #fff; border: 1.5px solid rgba(62, 16, 31, .18); color: var(--muted); flex: none; transition: all .3s; }
.stepper__steps li.is-on { color: var(--burgundy-deep); font-weight: 700; }
.stepper__steps li.is-on b { background: var(--burgundy); border-color: var(--burgundy); color: var(--gold); }
.stepper__steps li.is-done b { background: var(--gold); border-color: var(--gold); color: var(--burgundy-ink); font-size: 0; }
.stepper__steps li.is-done b::after { content: "✓"; font-size: 13px; }
.step { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.step.is-active { display: block; animation: stepIn .45s var(--ease); }
.step.is-back { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(-24px); } }
@keyframes stepBack { from { opacity: 0; transform: translateX(24px); } }
.step__title { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 24px; color: var(--burgundy-deep); margin-bottom: 20px; padding: 0; }
.step__icon { width: 44px; height: 44px; border-radius: 14px; background: var(--burgundy); display: grid; place-items: center; flex: none; }
.step__icon svg { width: 22px; fill: none; stroke: var(--gold); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.group__label { font-weight: 700; font-size: 15px; color: var(--burgundy-deep); margin: 0 0 10px; }
.role-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.role-card { position: relative; cursor: pointer; }
.role-card input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.role-card span {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; border-radius: 16px; text-align: center;
  border: 1.5px solid rgba(62, 16, 31, .15); background: #fff; font-weight: 700; font-size: 14px; transition: all .25s var(--ease);
}
.role-card svg { width: 26px; fill: none; stroke: var(--burgundy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.role-card:hover span { border-color: var(--burgundy); transform: translateY(-2px); }
.role-card input:checked + span { background: var(--burgundy); border-color: var(--burgundy); color: var(--cream); box-shadow: 0 12px 24px -14px rgba(62, 16, 31, .8); }
.role-card input:checked + span svg { stroke: var(--gold); }
.role-card input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.is-invalid .role-card span { border-color: rgba(179, 38, 30, .5); }
.field--area textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid rgba(62, 16, 31, .16);
  border-radius: 14px; padding: 26px 16px 10px; resize: vertical; min-height: 88px; transition: border-color .2s, box-shadow .2s;
}
.field--area textarea:focus { outline: none; border-color: var(--burgundy); box-shadow: 0 0 0 4px rgba(62, 16, 31, .1); }
.field--area textarea:focus + label, .field--area textarea:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.76); color: var(--burgundy); font-weight: 700; }
.hint { display: block; font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.is-invalid .hint { display: none; }
.form__nav { display: flex; gap: 10px; margin-top: 8px; }
.form__nav .btn--lg { flex: 1; }
.btn--primary { --bg: var(--burgundy); --fg: var(--cream); }
.btn--primary:hover { --bg: var(--burgundy-soft); }
.btn--ghost-dark { --bg: transparent; --fg: var(--burgundy); border-color: rgba(62, 16, 31, .2); padding: 19px 22px; font-size: 16px; }
.btn--ghost-dark:hover { border-color: var(--burgundy); }
.form__privacy { display: flex; align-items: center; justify-content: center; gap: 6px; }
.form__privacy svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: calc(24px + env(safe-area-inset-bottom)); left: 50%; transform: translate(-50%, 20px); z-index: 160; background: var(--burgundy-ink); color: var(--cream); padding: 13px 22px; border-radius: 14px; font-weight: 700; font-size: 15px; opacity: 0; pointer-events: none; transition: all .35s var(--ease); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6); max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- News tag / guest badge ---------- */
.tag--news { cursor: pointer; font: inherit; color: inherit; transition: background .25s, border-color .25s; }
.tag--news:hover { background: rgba(255, 246, 229, .14); border-color: rgba(227, 195, 138, .5); }
.tag--news .tag__new { background: var(--gold); color: var(--burgundy-ink); font-size: 12px; font-weight: 700; padding: 1px 9px; border-radius: 99px; }
.tag--news .tag__txt { max-width: 34ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.speaker__guest { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--gold); color: var(--burgundy-ink); font-size: 12px; font-weight: 700; padding: 3px 11px; border-radius: 99px; }
.news-list { display: grid; gap: 12px; }
.news-item { background: #FBF6EE; border-radius: 14px; padding: 14px 16px; }
.news-item h4 { font-family: var(--display); font-size: 18px; color: var(--burgundy-deep); margin: 0 0 4px; }
.news-item p { margin: 0; color: var(--muted); font-size: 15px; }
.news-item small { color: var(--muted); font-size: 12.5px; }
.news-item a { font-weight: 700; color: var(--burgundy); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .75fr 1.25fr; gap: 72px; align-items: start; }
.faq__aside { position: sticky; top: calc(var(--nav-h) + 40px); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 22px 0; font-family: var(--display); font-weight: 700;
  font-size: clamp(18px, 1.8vw, 22px); color: var(--burgundy-deep); display: flex; justify-content: space-between; align-items: center; gap: 20px;
  transition: color .2s;
}
.faq__list summary:hover { color: var(--burgundy); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%233E101F' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .4s var(--ease), background-color .3s;
}
.faq__list details[open] summary::after { transform: rotate(135deg); background-color: var(--gold); }
.faq__list details > div { padding: 0 0 22px; }
.faq__list details[open] > div { animation: fadeDown .45s var(--ease); }
.faq__list details p { color: var(--muted); margin: 0; max-width: 40em; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } }

.faq__list details p a { color: var(--burgundy); font-weight: 700; }
.faq__list details b { color: var(--burgundy-deep); }
.faq__map { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 16px; border-radius: 12px; background: var(--sand); color: var(--burgundy); font-weight: 700; text-decoration: none; transition: background .25s; }
.faq__map:hover { background: var(--gold); }
.faq__map svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.faq__aside .btn { margin-top: 8px; }

/* ---------- Final CTA ---------- */
.final { position: relative; overflow: hidden; isolation: isolate; background: var(--burgundy-deep); color: var(--cream); padding: 130px 0; text-align: center; }
.final__pattern { position: absolute; inset: -30%; z-index: -1; background: url("assets/pattern-r.png") 0 0 / 700px; filter: brightness(2.6); opacity: .07; animation: drift 90s linear infinite reverse; }
.final::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 50% 100%, rgba(227, 195, 138, .18), transparent 70%); }
.final__code { display: inline-block; margin: 0 0 26px; padding: 8px 16px; border-radius: 10px; background: rgba(255, 246, 229, .06); border: 1px solid var(--line-light); font: 500 14px var(--mono); color: rgba(255, 246, 229, .7); }
.final__code b { color: var(--gold); }
.final h2 { font-size: clamp(38px, 5.8vw, 76px); font-weight: 900; margin-bottom: 16px; line-height: 1.15; }
.final h2 em { color: var(--gold); }
.final p { font-size: 19px; opacity: .8; margin-bottom: 36px; }

/* ---------- Footer ---------- */
.footer { background: var(--burgundy-ink); color: rgba(255, 246, 229, .72); padding: 72px 0 26px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1.15fr .8fr 1fr 1fr; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid var(--line-light); }
.footer__brand img { width: 130px; margin-bottom: 16px; }
.footer__brand p { font-size: 15px; line-height: 1.75; }
.footer__social { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 246, 229, .06); border: 1px solid var(--line-light); transition: background .2s, border-color .2s, transform .3s var(--ease); }
.footer__social a:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.footer__social a:hover svg { stroke: var(--burgundy-ink); }
.footer__social svg { width: 19px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer__org { display: flex; flex-direction: column; gap: 10px; }
.footer__org img { width: 64px; height: auto; }
.footer__org p { margin: 0; line-height: 1.75; font-size: 14.5px; }
.footer__org b { color: var(--cream); font-size: 15.5px; }
.footer__col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.footer__col h4 { color: var(--gold); font-size: 17px; margin-bottom: 6px; }
.footer__col > a { text-decoration: none; transition: color .2s; width: fit-content; font-size: 15px; }
.footer__col > a:hover { color: var(--cream); }
.footer__line { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 15px; line-height: 1.6; }
.footer__line svg { width: 18px; flex: none; margin-top: 3px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer__line b { color: var(--cream); font-weight: 700; }
.footer__map { color: var(--gold) !important; font-weight: 700; font-size: 14px; }
.footer__contact { display: flex; flex-direction: column; line-height: 1.35; padding: 10px 14px; border-radius: 14px; background: rgba(255, 246, 229, .05); border: 1px solid var(--line-light); text-decoration: none; transition: border-color .2s, background .2s; width: auto !important; }
.footer__contact:hover { border-color: rgba(227, 195, 138, .5); background: rgba(255, 246, 229, .08); }
.footer__contact small { font-size: 12px; color: rgba(255, 246, 229, .55); }
.footer__contact b { color: var(--cream); font: 700 15px var(--mono); text-align: right; overflow-wrap: anywhere; }
.footer__contact[data-contact="email"] b { font-size: 12.5px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: 13.5px; }
.footer__bottom span[dir="ltr"] { font-family: var(--mono); opacity: .6; }
.footer__bottom { align-items: center; }
.footer__admin { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 99px; border: 1px solid rgba(227, 195, 138, .4); color: var(--gold); text-decoration: none; font-weight: 700; transition: background .2s, color .2s; }
.footer__admin:hover { background: var(--gold); color: var(--burgundy-ink); }
.footer__admin svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- Sticky CTA (mobile) ---------- */
.sticky-cta {
  display: none; position: fixed; z-index: 90; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom));
  background: var(--gold); color: var(--burgundy-ink); text-align: center; text-decoration: none; font-weight: 700;
  padding: 16px; border-radius: 999px; box-shadow: 0 16px 40px -10px rgba(28, 5, 12, .6);
  transform: translateY(160%); transition: transform .5s var(--ease);
}
.sticky-cta.show { transform: none; }

/* ---------- Modal ---------- */
.modal {
  width: min(560px, calc(100% - 32px)); border: 0; padding: 0; border-radius: var(--r-lg); background: var(--cream); color: var(--ink);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.modal::backdrop { background: rgba(28, 5, 12, .6); backdrop-filter: blur(6px); }
.modal[open] { animation: ticketIn .5s var(--ease); }
.modal__close { position: absolute; top: 14px; left: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 246, 229, .92); color: var(--burgundy); font-size: 24px; cursor: pointer; line-height: 1; }
.modal__hero { background: var(--burgundy); color: var(--cream); padding: 30px; display: flex; gap: 20px; align-items: center; }
.modal__avatar { width: 96px; height: 96px; border-radius: 22px; overflow: hidden; background: var(--sand); flex: none; display: flex; align-items: flex-end; justify-content: center; }
.modal__avatar img { width: 100%; height: 100%; object-fit: cover; }
.modal__avatar svg { width: 80%; fill: var(--burgundy-ink); }
.modal__hero h3 { font-size: 26px; }
.modal__hero p { margin: 0; opacity: .8; }
.modal__content { padding: 26px 30px 30px; }
.modal__content p { color: var(--muted); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Presenter badge (hero) ---------- */
.presenter { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 28px; }
.presenter__logo { width: 64px; height: auto; flex: none; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .35)); }
.presenter__txt { display: flex; flex-direction: column; line-height: 1.25; }
.presenter__txt small { font-size: 12.5px; color: var(--gold); font-weight: 700; letter-spacing: .04em; }
.presenter__txt b { font-family: var(--display); font-size: 21px; font-weight: 700; }
.presenter__txt b span { font-family: var(--sans); font-size: .78em; color: rgba(255, 246, 229, .75); letter-spacing: .03em; margin-inline-start: 2px; }
.presenter__sep { width: 1px; height: 36px; background: linear-gradient(transparent, rgba(227, 195, 138, .6), transparent); }
.presenter__ed { padding: 7px 14px; border-radius: 99px; border: 1px solid rgba(227, 195, 138, .45); color: var(--gold); font-weight: 700; font-size: 13px; white-space: nowrap; }
.news-pill { display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; margin: -12px 0 22px; padding: 6px 14px 6px 8px; border-radius: 99px; background: rgba(255, 246, 229, .07); border: 1px solid var(--line-light); color: var(--cream); text-decoration: none; font-size: 14px; }
.news-pill b { background: #E26D5C; color: #fff; font-size: 12px; padding: 2px 9px; border-radius: 99px; }
.news-pill span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-pill:hover { border-color: rgba(227, 195, 138, .5); }
.hero__num { font: 700 .22em var(--mono); vertical-align: super; margin-inline-start: .12em; color: var(--burgundy-ink); background: var(--gold); border-radius: .35em; padding: .1em .38em; letter-spacing: 0; position: relative; top: -.35em; text-shadow: none; }
.lead--sm { font-size: 16.5px; margin-top: -4px; }
.anim .presenter { animation: rise 1.1s var(--ease) both; }
html.splashing .presenter { animation-play-state: paused !important; }

/* ---------- About illustration: a conversation ---------- */
.chat { position: relative; margin: 0; border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 120px; overflow: hidden; isolation: isolate; box-shadow: var(--shadow); color: var(--cream); display: flex; flex-direction: column; }
.chat__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 90% 0%, rgba(201, 163, 174, .3), transparent 70%), radial-gradient(60% 50% at 0% 100%, rgba(227, 195, 138, .18), transparent 70%), linear-gradient(165deg, #4A1628, var(--burgundy-deep)); }
.chat__bg::before { content: ""; position: absolute; inset: -30%; background: url("assets/pattern-r.png") 0 0 / 520px; filter: brightness(2.6); opacity: .05; transform: rotate(-8deg); }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line-light); background: rgba(22, 3, 9, .25); }
.chat__logo { width: 44px; height: 44px; border-radius: 14px; overflow: hidden; flex: none; box-shadow: 0 0 0 2px rgba(227, 195, 138, .35); }
.chat__logo img { width: 100%; height: 100%; }
.chat__title { display: flex; flex-direction: column; line-height: 1.35; }
.chat__title b { font-size: 16px; }
.chat__title small { font-size: 12.5px; color: rgba(255, 246, 229, .6); display: inline-flex; align-items: center; gap: 6px; }
.chat__title i { width: 7px; height: 7px; border-radius: 50%; background: #8DB48E; }
.chat__body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 24px 22px 18px; min-height: 380px; }
.bubble { max-width: 82%; padding: 12px 16px 13px; border-radius: 20px; font-size: 15.5px; line-height: 1.65; font-weight: 500; box-shadow: 0 12px 24px -16px rgba(0, 0, 0, .6); }
.bubble small { display: block; font-size: 11.5px; font-weight: 700; margin-bottom: 3px; opacity: .7; }
.bubble--stu { align-self: flex-start; background: var(--cream); color: var(--ink); border-top-right-radius: 6px; }
.bubble--stu small { color: var(--burgundy); opacity: .85; }
.bubble--dev { align-self: flex-end; background: var(--gold); color: var(--burgundy-ink); border-top-left-radius: 6px; }
.bubble--typing { align-self: flex-start; display: flex; gap: 5px; padding: 14px 16px; background: rgba(255, 246, 229, .1); box-shadow: none; }
.bubble--typing i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 246, 229, .7); animation: typing 1.3s ease-in-out infinite; }
.bubble--typing i:nth-child(2) { animation-delay: .15s; } .bubble--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
.anim .chat .bubble { opacity: 0; transform: translateY(14px) scale(.96); }
.anim .chat.is-play .bubble { animation: bubbleIn .6s var(--ease) forwards; }
.anim .chat.is-play .bubble:nth-child(2) { animation-delay: .7s; }
.anim .chat.is-play .bubble:nth-child(3) { animation-delay: 1.4s; }
.anim .chat.is-play .bubble:nth-child(4) { animation-delay: 2.1s; }
.anim .chat.is-play .bubble:nth-child(5) { animation-delay: 2.8s; }
@keyframes bubbleIn { to { opacity: 1; transform: none; } }
.chat__foot { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 22px 22px; border-top: 1px solid var(--line-light); }
.chat__foot span { font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 99px; background: rgba(255, 246, 229, .07); border: 1px solid var(--line-light); }
.chat__foot span:last-child { background: var(--gold); color: var(--burgundy-ink); border-color: var(--gold); }
@keyframes bobA { 50% { translate: 0 -8px; } }

/* ---------- Schedule: meet type ---------- */
.lg--meet { background: var(--gold); }
.tl--meet .tl__card { background: var(--sand); border-color: transparent; }
.tl--meet .tl__type { background: rgba(62, 16, 31, .1); }
.tl--meet::before { background: var(--gold); }

/* ---------- Archive ---------- */
.archive__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 246, 229, .14); border-radius: var(--r); overflow: hidden; margin-bottom: 22px; box-shadow: var(--shadow); }
.astat { background: var(--burgundy); padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.astat b { font: 900 34px/1.1 var(--display); color: var(--gold); }
.astat b.is-empty { color: rgba(255, 246, 229, .25); }
.astat small { color: rgba(255, 246, 229, .65); font-size: 14px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 12px; }
.gallery__item { position: relative; border-radius: 18px; overflow: hidden; background: rgba(62, 16, 31, .04); border: 1px solid var(--line); cursor: zoom-in; padding: 0; appearance: none; font: inherit; color: var(--cream); }
.gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption, .gallery__cap { position: absolute; inset: auto 0 0; padding: 26px 14px 10px; font-size: 13.5px; text-align: right; background: linear-gradient(transparent, rgba(22, 3, 9, .8)); }
.gallery__ph { cursor: default; display: grid; place-items: center; border-style: dashed; border-color: rgba(62, 16, 31, .18); background: radial-gradient(rgba(62, 16, 31, .08) 1px, transparent 1.3px) 0 0 / 10px 10px; }
.gallery__ph svg { width: 34px; fill: none; stroke: rgba(62, 16, 31, .28); stroke-width: 1.6; }
.gallery__ph:first-child svg { width: 56px; }
.archive__soon { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 22px 0 0; font-weight: 700; color: var(--burgundy); }
.modal.modal--wide { width: min(1000px, calc(100% - 32px)); background: #140309; }
.modal--wide .lightbox p { color: var(--cream); }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; background: #000; }
.lightbox p { padding: 14px 20px; margin: 0; }

/* ---------- Registration closed / ticket warning ---------- */
.reg-closed { background: var(--cream); color: var(--ink); border-radius: var(--r-lg); padding: 44px 30px; text-align: center; box-shadow: var(--shadow-lg); }
.reg-closed__icon { width: 64px; height: 64px; border-radius: 20px; background: var(--burgundy); display: grid; place-items: center; margin: 0 auto 16px; }
.reg-closed__icon svg { width: 30px; fill: none; stroke: var(--gold); stroke-width: 1.9; }
.reg-closed h3 { font-size: 26px; color: var(--burgundy-deep); margin-bottom: 6px; }
.reg-closed p { color: var(--muted) !important; margin: 0; }
.ticket-warn { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13.5px; margin: 16px 0 0; color: var(--gold) !important; }
.ticket-warn svg { width: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- FAQ groups & WhatsApp ---------- */
.faq__group { font-size: 14px; font-weight: 700; font-family: var(--sans); color: var(--gold-deep); letter-spacing: .03em; margin: 34px 0 4px; padding-bottom: 8px; border-bottom: 2px solid var(--sand); scroll-margin-top: calc(var(--nav-h) + 20px); }
.faq__group:first-child { margin-top: 0; }
.faq__cats { display: flex; flex-direction: column; gap: 4px; margin-top: 26px; }
.faq__cats a { text-decoration: none; color: var(--muted); font-weight: 500; padding: 6px 12px; border-inline-start: 2px solid var(--line); transition: all .2s; }
.faq__cats a:hover { color: var(--burgundy); border-color: var(--burgundy); }
.btn--wa { --bg: #1FA855; --fg: #fff; box-shadow: 0 12px 26px -14px rgba(31, 168, 85, .8); margin-top: 8px; }
.btn--wa:hover { --bg: #189248; }
.btn--wa svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; }
@media (max-width: 980px) {
  .archive__stats { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .faq__cats { flex-direction: row; flex-wrap: wrap; }
  .faq__cats a { border: 1px solid var(--line); border-radius: 99px; }
  .chat { max-width: 540px; margin-inline: auto; width: 100%; }
}
@media (max-width: 640px) {
  .presenter { gap: 10px; flex-wrap: wrap; }
  .presenter__logo { width: 52px; }
  .presenter__txt b { font-size: 18px; }
  .chat { border-radius: 22px 22px 22px 70px; }
  .chat__body { min-height: 0; padding: 18px 14px 14px; }
  .bubble { font-size: 14.5px; max-width: 90%; }
  .astat { padding: 16px; } .astat b { font-size: 26px; }
}

/* ---------- Big countdown ---------- */
.cdx-sec { padding: 40px 0 10px; }
.cdx {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; padding: 52px 40px 44px; text-align: center;
  background: linear-gradient(160deg, #4A1628 0%, var(--burgundy) 45%, var(--burgundy-deep) 100%); color: var(--cream);
  box-shadow: 0 40px 80px -40px rgba(40, 8, 18, .7);
}
.cdx__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 110%, rgba(227, 195, 138, .22), transparent 70%), radial-gradient(40% 50% at 0% 0%, rgba(201, 163, 174, .25), transparent 70%); }
.cdx__bg::before { content: ""; position: absolute; inset: -30%; background: url("assets/pattern-r.png") 0 0 / 640px; filter: brightness(2.6); opacity: .06; transform: rotate(-8deg); animation: drift 90s linear infinite; }
.cdx__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--gold); font-weight: 700; font-size: 14px; letter-spacing: .03em; }
.cdx__dot { width: 8px; height: 8px; border-radius: 50%; background: #E26D5C; animation: ping2 1.6s infinite; }
.cdx h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 900; margin-bottom: 14px; }
.cdx h2 em { font-style: normal; color: var(--gold); }
.cdx__when { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 36px; }
.cdx__when span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 99px; background: rgba(255, 246, 229, .07); border: 1px solid var(--line-light); font-size: 15px; }
.cdx__when svg { width: 17px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cdx__when b { font-weight: 700; }
.cdx__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 170px)); justify-content: center; gap: clamp(12px, 3vw, 40px); margin-bottom: 38px; }
.cdx__unit { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cdx__ring { position: relative; width: 100%; max-width: 170px; aspect-ratio: 1; display: grid; place-items: center; }
.cdx__ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.cdx__track { fill: rgba(255, 246, 229, .04); stroke: rgba(255, 246, 229, .1); stroke-width: 5; }
.cdx__arc { fill: none; stroke: url(#cdxGrad); stroke: var(--gold); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; transition: stroke-dashoffset .9s var(--ease); filter: drop-shadow(0 0 6px rgba(227, 195, 138, .45)); }
.cdx__unit[data-u="d"] .cdx__arc { stroke: #EFD4A4; }
.cdx__num { position: relative; font: 700 clamp(34px, 5vw, 60px)/1 var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; color: var(--cream); }
.cdx__num.tick { animation: cdxTick .5s var(--ease); }
@keyframes cdxTick { 0% { transform: translateY(-40%); opacity: 0; filter: blur(4px); } 100% { transform: none; opacity: 1; filter: none; } }
.cdx__lbl { font-size: 15px; font-weight: 700; color: rgba(255, 246, 229, .7); }
.cdx__state { font-family: var(--display); font-weight: 900; font-size: clamp(28px, 4vw, 44px); color: var(--gold); margin: 0 0 30px; }
.cdx__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cdx__actions .btn svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) {
  .cdx-sec { padding: 24px 0 0; }
  .cdx { padding: 36px 16px 30px; border-radius: 24px; }
  .cdx__grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .cdx__track, .cdx__arc { stroke-width: 7; }
  .cdx__num { font-size: 26px; }
  .cdx__lbl { font-size: 13px; }
  .cdx__when span { font-size: 13.5px; padding: 6px 12px; }
  .cdx__actions .btn { flex: 1 1 100%; }
}

/* ---------- Splash ---------- */
.splash {
  position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; overflow: hidden; isolation: isolate;
  background: var(--burgundy); color: var(--cream);
  transition: clip-path 1s cubic-bezier(.77, 0, .18, 1);
  clip-path: inset(0 0 0 0);
}
html.no-splash .splash { display: none; }
html.splashing, html.splashing body { overflow: hidden; }
.splash.is-out { clip-path: inset(0 0 100% 0); }
.splash__pattern {
  position: absolute; inset: -30%; z-index: -1;
  background: url("assets/pattern-r.png") 0 0 / 700px auto; filter: brightness(2.6); opacity: 0; transform: rotate(-8deg) scale(1.1);
  animation: spPattern 2.4s var(--ease) .2s forwards, drift 90s linear infinite;
}
@keyframes spPattern { to { opacity: .08; transform: rotate(-8deg) scale(1); } }
.splash__glow {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(45% 45% at 50% 50%, rgba(227, 195, 138, .18), transparent 70%), radial-gradient(60% 60% at 10% 0%, rgba(201, 163, 174, .3), transparent 70%);
  opacity: 0; animation: spFade 1.6s ease .3s forwards;
}
.splash__center { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 24px; transition: transform 1s cubic-bezier(.77, 0, .18, 1), opacity .6s; }
.splash.is-out .splash__center { transform: translateY(-80px); opacity: 0; }
.splash__eyebrow { margin: 0 0 22px; font-size: 15px; font-weight: 500; letter-spacing: .04em; color: var(--gold); opacity: 0; animation: spUp .9s var(--ease) .15s forwards; }
.splash__logo { width: min(330px, 70vw); clip-path: inset(0 0 0 100%); animation: spReveal 1.3s cubic-bezier(.77, 0, .18, 1) .35s forwards; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .35)); }
.splash__logo img { width: 100%; height: auto; transform: scale(1.12); animation: spSettle 1.8s var(--ease) .35s forwards; }
@keyframes spReveal { to { clip-path: inset(0 0 0 0); } }
@keyframes spSettle { to { transform: scale(1); } }
.splash__tag { margin: 26px 0 0; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 3vw, 30px); opacity: 0; animation: spUp .9s var(--ease) 1.15s forwards; }
.splash__bar { width: min(240px, 60vw); height: 3px; border-radius: 3px; background: rgba(255, 246, 229, .12); margin-top: 30px; overflow: hidden; opacity: 0; animation: spFade .4s ease 1.3s forwards; }
.splash__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); border-radius: inherit; animation: spLoad 1.2s cubic-bezier(.6, 0, .2, 1) 1.35s forwards; }
@keyframes spLoad { to { width: 100%; } }
.splash__cmd { margin: 18px 0 0; font: 500 13.5px var(--mono); color: rgba(255, 246, 229, .55); opacity: 0; animation: spFade .4s ease 1.4s forwards; }
.splash__cmd b { color: var(--gold); font-weight: 600; }
.splash__cmd i { display: inline-block; width: 8px; height: 1.1em; vertical-align: -3px; margin-inline-start: 4px; background: var(--gold); animation: blink 1s steps(1) infinite; }
.splash__skip {
  position: absolute; bottom: calc(28px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%);
  appearance: none; border: 1px solid rgba(255, 246, 229, .2); background: rgba(255, 246, 229, .06); color: rgba(255, 246, 229, .75);
  font: 700 14px var(--sans); padding: 9px 20px; border-radius: 99px; cursor: pointer; opacity: 0; animation: spFade .5s ease 1s forwards; transition: background .2s, color .2s;
}
.splash__skip:hover { background: rgba(255, 246, 229, .14); color: var(--cream); }
@keyframes spUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes spFade { to { opacity: 1; } }
/* hold the hero entrance until the splash leaves */
html.splashing .hero .tag, html.splashing .hero__title > span, html.splashing .hero__lead,
html.splashing .hero__actions, html.splashing .editor { animation-play-state: paused !important; }

/* ---------- Register copy ---------- */
.register__free { margin-top: 26px; padding: 14px 18px; border-radius: 14px; background: rgba(227, 195, 138, .1); border: 1px solid rgba(227, 195, 138, .28); font-size: 15px; }
.register__free b { color: var(--gold); }

/* ---------- Brand select ---------- */
.field--pick { position: relative; }
.pick {
  width: 100%; height: 60px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; cursor: pointer;
  font: inherit; font-size: 16px; color: var(--ink); text-align: right; background: #fff; border: 1.5px solid rgba(62, 16, 31, .16);
  border-radius: 14px; padding: 0 16px 9px; transition: border-color .2s, box-shadow .2s;
}
.pick svg { width: 18px; flex: none; margin-bottom: 3px; fill: none; stroke: var(--burgundy); stroke-width: 2; stroke-linecap: round; transition: transform .3s var(--ease); }
.pick__val { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field--pick.is-open .pick, .pick:focus-visible { outline: none; border-color: var(--burgundy); box-shadow: 0 0 0 4px rgba(62, 16, 31, .1); }
.field--pick.is-open .pick svg { transform: rotate(180deg); }
.pick-label { position: absolute; right: 17px; top: 18px; font-size: 16px; color: var(--muted); pointer-events: none; transform-origin: right top; transition: transform .25s var(--ease), color .25s; }
.field--pick.has-value .pick-label, .field--pick.is-open .pick-label { transform: translateY(-11px) scale(.76); color: var(--burgundy); font-weight: 700; }
.pick__panel {
  position: absolute; z-index: 20; top: 66px; inset-inline: 0; background: #fff; border: 1.5px solid rgba(62, 16, 31, .14); border-radius: 16px;
  box-shadow: 0 30px 60px -24px rgba(40, 8, 18, .45); overflow: hidden; animation: panelDown .25s var(--ease);
}
@keyframes panelDown { from { opacity: 0; transform: translateY(-6px); } }
.form .group__label, .form p.group__label { color: var(--burgundy-deep); }
.field .pick__search { width: calc(100% - 16px); height: 44px; margin: 8px; padding: 0 14px; font-size: 15px; border-radius: 11px; background: var(--cream); }
.field .pick__search:focus { box-shadow: none; }
.pick__search { width: calc(100% - 16px); margin: 8px; height: 44px; border-radius: 11px; border: 1.5px solid rgba(62, 16, 31, .14); background: var(--cream); padding: 0 14px; font: inherit; font-size: 15px; color: var(--ink); }
.pick__search:focus { outline: none; border-color: var(--burgundy); }
.pick__list { list-style: none; margin: 0; padding: 4px 6px 8px; max-height: 260px; overflow-y: auto; overscroll-behavior: contain; }
.pick__list li[role=option] { padding: 10px 12px; border-radius: 10px; cursor: pointer; font-size: 15.5px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pick__list li[role=option]:hover, .pick__list li.is-cur { background: var(--paper); }
.pick__list li[aria-selected="true"] { background: var(--burgundy); color: var(--cream); }
.pick__list li[aria-selected="true"]::after { content: "✓"; color: var(--gold); font-weight: 700; }
.pick__otheropt { color: var(--burgundy); font-weight: 700; border-top: 1px dashed var(--line); margin-top: 4px; }
.pick__none { padding: 10px 12px; color: var(--muted); font-size: 14px; }
.pick__otherf { margin: 10px 0 0; }
.pick__otherf label { position: absolute; right: 17px; top: 18px; font-size: 16px; color: var(--muted); pointer-events: none; transform-origin: right top; transition: transform .25s var(--ease), color .25s; }
.pick__otherf input:focus + label, .pick__otherf input:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.76); color: var(--burgundy); font-weight: 700; }
.field--pick.is-invalid .pick { border-color: var(--danger); }

/* ---------- Contest ---------- */
.contest__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.contest__copy > p { font-size: 18px; max-width: 30em; }
.contest__meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; }
.contest__meta span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px; background: rgba(255, 246, 229, .07); border: 1px solid var(--line-light); font-size: 15px; }
.contest__meta svg { width: 18px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contest__meta b { color: var(--gold); }
.contest__art { position: relative; display: grid; place-items: center; min-height: 420px; }
.contest__art::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(227, 195, 138, .28), transparent); filter: blur(10px); }
.phone { position: relative; width: 230px; aspect-ratio: 9 / 18.5; border-radius: 38px; padding: 12px; background: linear-gradient(160deg, #5B2436, #1C050C); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9), inset 0 0 0 1.5px rgba(227, 195, 138, .35); transform: rotate(-6deg); animation: phoneFloat 7s ease-in-out infinite; }
@keyframes phoneFloat { 50% { transform: rotate(-3deg) translateY(-12px); } }
.phone__notch { position: absolute; top: 18px; left: 50%; width: 70px; height: 18px; margin-left: -35px; border-radius: 99px; background: #140309; z-index: 2; }
.phone__screen { position: relative; height: 100%; border-radius: 28px; overflow: hidden; background: linear-gradient(170deg, #4A1628, #280812); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.phone__grid { position: absolute; inset: 0; background: linear-gradient(rgba(227, 195, 138, .08) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, rgba(227, 195, 138, .08) 1px, transparent 1px) 0 0 / 22px 22px; -webkit-mask-image: radial-gradient(circle, #000, transparent 75%); mask-image: radial-gradient(circle, #000, transparent 75%); }
.phone__badge { position: relative; padding: 5px 14px; border-radius: 99px; background: var(--gold); color: var(--burgundy-ink); font-weight: 700; font-size: 13px; }
.contest.is-live .phone__badge { background: #E26D5C; color: #fff; }
.phone__q { position: relative; width: 104px; height: 104px; border-radius: 28px; display: grid; place-items: center; font: 900 64px/1 var(--display); color: var(--gold); background: rgba(255, 246, 229, .06); border: 1.5px dashed rgba(227, 195, 138, .5); animation: qPulse 2.6s ease-in-out infinite; }
@keyframes qPulse { 50% { box-shadow: 0 0 0 12px rgba(227, 195, 138, .06); } }
.phone__bar { position: relative; width: 60%; height: 6px; border-radius: 6px; background: rgba(255, 246, 229, .1); overflow: hidden; }
.phone__bar span { position: absolute; inset: 0; width: 40%; background: var(--gold); border-radius: inherit; animation: barLoad 2.8s ease-in-out infinite; }
@keyframes barLoad { 0% { transform: translateX(160%); } 100% { transform: translateX(-260%); } }
.phone__keys { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 70%; }
.phone__keys i { height: 30px; border-radius: 10px; background: rgba(255, 246, 229, .07); border: 1px solid rgba(255, 246, 229, .1); }
.phone__keys i:nth-child(2) { background: rgba(227, 195, 138, .22); }
.contest__spark { position: absolute; color: var(--gold); font-size: 26px; animation: spark 3s ease-in-out infinite; }
.contest__spark--1 { top: 12%; right: 18%; }
.contest__spark--2 { bottom: 16%; left: 16%; font-size: 18px; animation-delay: -1.5s; }
@keyframes spark { 50% { transform: scale(1.4) rotate(20deg); opacity: .5; } }

/* ---------- Transport ---------- */
.transport__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.tr-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow); }
.tr-steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tr-steps li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.tr-steps b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--burgundy); font: 700 13px var(--mono); flex: none; }
.locate {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: right; cursor: pointer; font: inherit; color: var(--ink);
  padding: 14px 16px; margin: 4px 0 18px; border-radius: 16px; border: 1.5px dashed rgba(62, 16, 31, .3); background: var(--cream); transition: border-color .2s, background .2s;
}
.locate:hover { border-color: var(--burgundy); }
.locate__icon { width: 46px; height: 46px; border-radius: 14px; background: var(--burgundy); display: grid; place-items: center; flex: none; }
.locate__icon svg { width: 24px; fill: none; stroke: var(--gold); stroke-width: 1.9; stroke-linecap: round; }
.locate__txt { display: flex; flex-direction: column; line-height: 1.4; }
.locate__txt b { font-size: 16px; color: var(--burgundy-deep); }
.locate__txt small { font-size: 13px; color: var(--muted); }
.locate.is-busy .locate__icon svg { animation: spin 1.4s linear infinite; }
.locate.is-ok { border-style: solid; border-color: #2F7D4A; background: #EEF6F0; }
.locate.is-ok .locate__icon { background: #2F7D4A; }
.locate.is-ok .locate__icon svg { stroke: #fff; }
.locate.is-ok .locate__txt b { color: #2F7D4A; }
.locate.is-denied { border-color: var(--danger); background: #FBEFEE; }
.err--show { display: block; margin: -10px 0 14px; }
.btn--block { width: 100%; }
.btn .spinner { border-color: rgba(255, 246, 229, .3); border-top-color: var(--cream); }
.btn--gold .spinner { border-color: rgba(28, 5, 12, .25); border-top-color: var(--burgundy-ink); }
.tr-side { display: grid; gap: 16px; }
.tr-routes { background: var(--paper); border-radius: var(--r-lg); padding: 24px; }
.tr-routes__head { margin: 0 0 14px; font-weight: 700; color: var(--burgundy-deep); font-size: 15px; }
.tr-routes__note { margin: 14px 0 0; font-size: 14.5px; color: var(--muted); line-height: 1.7; }
.route { --rc: var(--gold-deep); background: #fff; border-radius: 16px; padding: 14px 16px; border: 1px solid var(--line); }
.route + .route { margin-top: 10px; }
.route__name { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--burgundy-deep); }
.route__name i { width: 14px; height: 14px; border-radius: 4px; background: var(--rc); transform: rotate(45deg); flex: none; }
.route__name small { margin-inline-start: auto; font: 500 13px var(--sans); color: var(--muted); }
.route ol { list-style: none; margin: 10px 0 0; padding: 0 20px 0 0; border-right: 2px solid var(--rc); display: grid; gap: 6px; }
.route li { position: relative; display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; }
.route li::before { content: ""; position: absolute; right: -27px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2.5px solid var(--rc); }
.route li time { font: 600 13.5px var(--mono); color: var(--muted); }
.route--soon { background: transparent; border-style: dashed; }
.route--soon .route__name { color: var(--muted); font-size: 17px; }
.route--soon .route__name i { background: rgba(62, 16, 31, .15); }
.tr-card { --rc: var(--gold-deep); background: var(--burgundy); color: var(--cream); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-lg); border-top: 6px solid var(--rc); animation: ticketIn .6s var(--ease) both; }
.tr-card > small, .tr-card__stop small, .tr-card__meta small { display: block; font-size: 13px; color: rgba(255, 246, 229, .6); }
.tr-card h4 { font-family: var(--display); font-size: 30px; margin: 2px 0 16px; color: var(--gold); }
.tr-card__stop { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 246, 229, .07); margin-bottom: 14px; }
.tr-card__stop b { font-size: 19px; }
.tr-card__pin { width: 44px; height: 44px; border-radius: 14px; background: var(--rc); display: grid; place-items: center; flex: none; }
.tr-card__pin svg { width: 22px; fill: none; stroke: #fff; stroke-width: 2; }
.tr-card__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.tr-card__meta b { font-size: 18px; }
.tr-card p { margin: 14px 0 0; font-size: 14px; color: rgba(255, 246, 229, .75); }
.tr-card p a { color: var(--gold); font-weight: 700; }
.tr-ok { display: flex; gap: 14px; align-items: flex-start; background: #EEF6F0; border: 1px solid rgba(47, 125, 74, .3); border-radius: 20px; padding: 20px; animation: ticketIn .6s var(--ease) both; }
.tr-ok__icon { width: 40px; height: 40px; border-radius: 50%; background: #2F7D4A; color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.tr-ok b { color: #1F5A34; font-size: 17px; }
.tr-ok p { margin: 4px 0 0; color: #3B5E47; font-size: 15px; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .nav__links { gap: 20px; }
  .nav__links a:not(.btn) { font-size: 14.5px; }
}
@media (max-width: 1100px) {
  .speakers { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  :root { --nav-h: 68px; }
  .hero__grid, .about, .register__grid, .faq, .contest__grid, .transport__grid { grid-template-columns: 1fr; gap: 48px; }
  .transport__grid { gap: 20px; }
  .contest__art { min-height: 360px; order: -1; }
  .sched-bar { position: static; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 40px); }
  .editor { animation: none; }
  .register__copy, .faq__aside { position: static; }
  .owner { grid-template-columns: auto 1fr; }
  .owner__mark { display: none; }
  .tier { grid-template-columns: 1fr; gap: 10px; }
  .tier__head { padding: 12px 14px; font-size: 17px; }

  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); color: var(--ink); padding: 10px 20px 24px;
    box-shadow: 0 30px 40px -30px rgba(40, 8, 18, .5);
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .5s var(--ease), visibility 0s .5s;
  }
  .nav__links.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .5s var(--ease); }
  .nav__links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; opacity: 1; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 18px; padding: 15px; }
  .nav.menu-open, .nav.is-dark.menu-open:not(.is-solid) { background: var(--cream); color: var(--ink); backdrop-filter: none; }
  .nav.menu-open .nav__logo--dark { opacity: 1; }
  .nav.menu-open .nav__logo--light { opacity: 0; }
  .sticky-cta { display: block; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .section { padding: 84px 0; }
  .hero__t2 { font-size: 118px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero { padding-bottom: 90px; }
  .editor__body { min-height: 0; padding: 14px 0 16px; }
  .editor__code, .editor__gutter { font-size: 12px; }
  .editor__gutter { padding: 0 10px 0 12px; }
  .editor__code { padding: 0 12px; }
  .editor__tab:not(.is-on), .editor__status span:nth-child(n+2):not(:last-child) { display: none; }
  .tracks { grid-template-columns: 1fr; }
  .track { padding: 22px 20px 20px; }
  .partners { margin-top: 64px; padding-top: 48px; }
  .owner { grid-template-columns: 1fr; gap: 16px; padding: 24px 22px; text-align: center; }
  .owner__logo { width: 120px; margin-inline: auto; }
  .become { padding: 22px; }
  .become .btn { width: 100%; }
  .tr-form, .tr-routes { padding: 22px 18px; }
  .tr-steps { grid-template-columns: 1fr 1fr 1fr; font-size: 12.5px; }
  .tr-steps li { flex-direction: column; text-align: center; gap: 4px; font-size: 12.5px; }
  .contest__art { min-height: 320px; }
  .phone { width: 190px; }
  .marquee { height: 130px; }
  .marquee__row { top: 30px; padding: 10px 0; }
  .marquee__row--rev { top: 52px; }
  .marquee__track span { font-size: 22px; }
  .marquee__row--rev .marquee__track span { font-size: 16px; }
  .section.section--after-marquee { padding-top: 50px; }
  .pillars { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; margin-bottom: 56px; }
  .fact { padding: 16px; }
  .fact b { font-size: 17px; }
  .speakers { gap: 12px; }
  .speaker__plate { padding: 12px 12px 16px; }
  .speaker__plate h3 { font-size: 17px; }
  .form { padding: 24px 18px; border-radius: 22px; }
  .stepper__steps span { display: none; }
  .stepper__steps li.is-on span { display: inline; }
  .role-cards { grid-template-columns: 1fr 1fr; }
  .step__title { font-size: 21px; }
  .sched-bar { padding: 8px; }
  .sched-bar .legend { display: none; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; padding: 8px 12px; font-size: 14px; }
  .sched-actions { width: 100%; }
  .sched-actions .btn { flex: 1 1 auto; justify-content: center; padding-inline: 12px; }
  .timeline::before { right: 66px; }
  .tl { grid-template-columns: 56px 1fr; gap: 30px; }
  .tl::before { right: 60px; }
  .tl__time time { font-size: 15px; }
  .tl__time small { font-size: 11.5px; }
  .tl__card { padding: 14px 16px; }
  .tl h3 { font-size: 18px; }
  .ticket { grid-template-columns: 1fr; -webkit-mask: none; mask: none; }
  .ticket__main { grid-row: 1; grid-column: 1; border-radius: 22px 22px 0 0; }
  .ticket__stub { grid-row: 2; grid-column: 1; border-radius: 0 0 22px 22px; border-inline-start: 0; border-top: 2px dashed rgba(62, 16, 31, .25); flex-direction: row; justify-content: space-between; padding: 18px 22px; }
  .ticket__qr { width: 118px; height: 118px; }
  .t-actions { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .final { padding: 100px 0 120px; }
}

/* ---------- Print (schedule) ---------- */
@media print {
  body { background: #fff; }
  body * { visibility: hidden; }
  #schedule, #schedule * { visibility: visible; }
  #schedule { position: absolute; inset: 0 0 auto; padding: 0; }
  .sched-actions, .sched-bar, #liveNow { display: none !important; }
  .tl__card { box-shadow: none !important; transform: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
