:root {
  --bg: #070a0d;
  --bg-soft: #0e1318;
  --surface: #12181e;
  --surface-2: #171e25;
  --text: #f4f1e9;
  --muted: #a8adb2;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #ff7a18;
  --accent-light: #ffad4d;
  --success: #25d366;
  --header-h: 72px;
  --shell: min(1320px, calc(100vw - 64px));
  --radius: 4px;
  --ease: cubic-bezier(.2, .75, .25, 1);
  --z-base: 0;
  --z-content: 10;
  --z-header: 40;
  --z-dialog: 100;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
html.is-looping { scroll-behavior: auto !important; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 122, 24, .07), transparent 28rem),
    var(--bg);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.skip-link {
  position: fixed;
  z-index: 200;
  top: 8px;
  left: 8px;
  transform: translateY(-140%);
  padding: 12px 16px;
  color: var(--bg);
  background: var(--text);
}
.skip-link:focus { transform: translateY(0); }

:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 4px; }

.site-header {
  position: fixed;
  z-index: var(--z-header);
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 10, 13, .78);
  backdrop-filter: blur(18px);
  transition: background 240ms ease;
}
.site-header.scrolled { background: rgba(7, 10, 13, .96); }
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; text-decoration: none; font-weight: 850; letter-spacing: .08em; }
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--bg);
  background: var(--accent);
  clip-path: polygon(0 0, 80% 0, 100% 20%, 100% 100%, 20% 100%, 0 80%);
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { min-height: 44px; display: inline-flex; align-items: center; color: #d6d8da; text-decoration: none; font-size: 14px; transition: color 180ms ease; }
.nav-links a:hover { color: var(--accent-light); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 14px; }
.scroll-counter { --counter-progress: 0%; position: relative; min-height: 44px; display: flex; align-items: center; gap: 6px; padding: 0 12px; overflow: hidden; border: 1px solid var(--line); color: #c7cbce; background: rgba(255,255,255,.025); font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.scroll-counter::after { content: ""; position: absolute; left: 0; bottom: 0; width: var(--counter-progress); height: 2px; background: var(--accent); transition: width 260ms var(--ease); }
.scroll-counter-label { margin-right: 4px; color: #737c83; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.scroll-counter strong { color: var(--text); font-size: 14px; }
.scroll-counter-slash { color: #586168; }
.scroll-counter em { margin-left: 5px; color: var(--accent-light); font-style: normal; font-weight: 850; }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border: 1px solid var(--accent);
  border-radius: 0;
  color: #111;
  background: var(--accent);
  box-shadow: 0 0 0 rgba(255, 122, 24, 0);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 180ms var(--ease), background 180ms ease, box-shadow 180ms ease;
}
.button svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.button:hover { background: var(--accent-light); box-shadow: 0 12px 34px rgba(255, 122, 24, .22); transform: translateY(-2px); }
.button:active { transform: scale(.98); }
.button-small { min-height: 44px; padding: 0 18px; font-size: 14px; }
.button-large { min-height: 64px; padding: 0 34px; font-size: 18px; }
.button-full { width: 100%; min-height: 58px; }
.button-outline { color: var(--text); border-color: rgba(255,255,255,.5); background: transparent; }
.button-outline:hover { color: #111; border-color: var(--accent-light); }
.button-outline svg { fill: none; stroke: currentColor; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .75fr);
  align-items: center;
  gap: clamp(40px, 7vw, 120px);
  padding: calc(var(--header-h) + 70px) max(32px, calc((100vw - 1320px) / 2)) 140px;
  isolation: isolate;
  overflow: hidden;
}
.hero-grid, .cta-lines {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 10%, transparent 90%);
}
.hero-glow { position: absolute; z-index: -1; right: -12vw; top: 10%; width: 54vw; height: 54vw; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,24,.16), transparent 65%); filter: blur(30px); }
.hero-copy { position: relative; z-index: var(--z-content); max-width: 790px; }
.eyebrow, .section-index { margin: 0 0 24px; color: var(--accent-light); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero h1, .manifesto h2, .section-heading h2, .program-heading h2, .place h2, .partners h2, .sponsor-cta h2, .final-cta h2, .registration-dialog h2 {
  margin: 0;
  font-size: clamp(64px, 9.3vw, 150px);
  line-height: .82;
  letter-spacing: -.072em;
  text-transform: uppercase;
  font-weight: 950;
}
.hero h1 span, .manifesto h2 span, .section-heading h2 span, .program-heading h2 span, .place h2 span, .partners h2 span, .sponsor-cta h2 span, .final-cta h2 span, .registration-dialog h2 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 241, 233, .52);
}
.manifesto h2 > span { -webkit-text-stroke-color: #ff8a2d; }
.section-heading h2 > span { -webkit-text-stroke-color: #59bfff; }
.program-heading h2 > span { -webkit-text-stroke-color: #d5ef53; }
.place h2 > span { -webkit-text-stroke-color: #58dccd; }
.partners h2 > span { -webkit-text-stroke-color: #ff9c42; }
.final-cta h2 > span { -webkit-text-stroke-color: #ffb25c; }
.kinetic-title { cursor: default; }
.kinetic-word { display: inline-block; white-space: nowrap; font-weight: inherit; }
.kinetic-char {
  display: inline-block;
  font-style: normal;
  transform: translate3d(0, 0, 0) rotate(0deg);
  filter: drop-shadow(0 0 var(--char-glow, 0) rgba(255, 122, 24, .58));
  transition: transform 180ms var(--ease), filter 180ms ease;
  will-change: transform;
}
.hero-lead { max-width: 650px; margin: 38px 0 0; color: #d2d5d7; font-size: clamp(18px, 2vw, 25px); line-height: 1.45; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 36px; }
.text-link { min-height: 48px; display: inline-flex; align-items: center; gap: 12px; color: #d8dadd; text-underline-offset: 6px; }
.capacity-note { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; color: var(--muted); font-size: 13px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(37,211,102,.1); }

.hero-visual { position: relative; justify-self: end; width: min(430px, 100%); perspective: 1200px; }
.poster-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 15;
  border: 1px solid rgba(255, 173, 77, .5);
  background: var(--surface);
  box-shadow: 0 35px 100px rgba(0,0,0,.62), 0 0 60px rgba(255,122,24,.10);
  transform: rotateY(-7deg) rotateX(2deg) translateZ(0);
  transform-origin: center;
}
.poster-frame::before, .poster-frame::after { content: ""; position: absolute; z-index: 2; width: 54px; height: 54px; border-color: var(--accent); pointer-events: none; }
.poster-frame::before { left: 12px; top: 12px; border-left: 2px solid var(--accent); border-top: 2px solid var(--accent); }
.poster-frame::after { right: 12px; bottom: 12px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); }
.poster-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.015); }
.poster-scan { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 49%, rgba(255,255,255,.03) 50%); background-size: 100% 4px; mix-blend-mode: overlay; pointer-events: none; }
.hero-stamp { position: absolute; right: -42px; bottom: 13%; width: 112px; height: 112px; display: grid; place-content: center; text-align: center; color: #111; background: var(--accent); transform: rotate(7deg); box-shadow: 0 18px 38px rgba(0,0,0,.42); clip-path: polygon(8% 0, 92% 0, 100% 8%, 100% 92%, 92% 100%, 8% 100%, 0 92%, 0 8%); }
.hero-stamp span { font-size: 28px; font-weight: 950; line-height: 1; }
.hero-stamp small { font-weight: 800; }

.countdown { position: absolute; z-index: var(--z-content); left: max(32px, calc((100vw - 1320px) / 2)); bottom: 30px; display: flex; align-items: flex-end; gap: 22px; }
.countdown-label { align-self: center; margin-right: 10px; color: var(--muted); font-size: 11px; letter-spacing: .17em; text-transform: uppercase; }
.countdown div { min-width: 58px; display: grid; border-left: 1px solid var(--line); padding-left: 15px; }
.countdown strong { display: inline-block; font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; transform-origin: 50% 100%; }
.countdown strong.is-changing { animation: countdown-tick 340ms var(--ease); }
.countdown small { margin-top: 6px; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

.ticker { --ticker-gap: 28px; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--accent); color: #0a0b0c; }
.ticker-track { width: max-content; display: flex; align-items: center; gap: var(--ticker-gap); padding: 15px var(--ticker-gap) 15px 0; font-size: 15px; font-weight: 950; letter-spacing: .13em; animation: ticker-run 22s linear infinite; will-change: transform; }
.ticker-track i { width: 8px; height: 8px; background: #0a0b0c; transform: rotate(45deg); }
@media (hover: hover) { .ticker:hover .ticker-track { animation-play-state: paused; } }

.section-shell { width: var(--shell); margin: 0 auto; }
.manifesto { padding: 150px 0 170px; }
.manifesto-copy { max-width: 1100px; margin-left: auto; }
.manifesto-copy > p:first-child { margin: 0 0 12px; color: var(--muted); font-size: clamp(18px, 2vw, 28px); }
.manifesto h2 { font-size: clamp(64px, 9vw, 132px); }
.manifesto-body { max-width: 660px; margin: 38px 0 0 auto; color: #c3c6c9; font-size: clamp(18px, 2vw, 24px); }
.format-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 100px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.format-card { min-height: 440px; position: relative; display: flex; flex-direction: column; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,.018), transparent); transition: background 240ms ease, transform 240ms var(--ease); }
.format-card:hover { background: rgba(255, 122, 24, .07); transform: translateY(-4px); }
.format-card > span { color: var(--muted); font-size: 12px; }
.format-card svg { width: 58px; height: 58px; margin: 62px 0 40px; color: var(--accent); }
.format-card h3 { margin: auto 0 20px; font-size: clamp(26px, 3vw, 42px); line-height: .96; text-transform: uppercase; }
.format-card p { max-width: 320px; margin: 0; color: var(--muted); }

.speakers { padding: 80px 0 180px; }
.section-heading { position: sticky; top: 104px; z-index: 2; width: 42%; height: max-content; float: left; padding-right: 56px; }
.section-heading h2 { font-size: clamp(54px, 6.2vw, 90px); }
.section-heading > p:last-child { max-width: 400px; margin-top: 32px; color: var(--muted); }
.speaker-list { width: 56%; margin-left: auto; display: grid; gap: 140px; padding-top: 220px; }
.speaker-card { position: relative; min-height: 780px; overflow: hidden; scroll-margin-top: 96px; background: var(--surface); border: 1px solid var(--line); isolation: isolate; }
.speaker-photo { position: absolute; z-index: -1; inset: 0; overflow: hidden; background: #15181b; }
.speaker-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,7,9,.98) 3%, rgba(5,7,9,.2) 64%, rgba(5,7,9,.05)), linear-gradient(115deg, transparent 55%, color-mix(in srgb, var(--accent), transparent 78%)); }
.speaker-photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--crop-x) var(--crop-y); transform: scale(var(--photo-scale, 1.08)); filter: saturate(.82) contrast(1.06); will-change: transform; }
.speaker-number { position: absolute; top: 24px; right: 28px; color: var(--accent); font-size: 13px; font-weight: 850; letter-spacing: .16em; }
.speaker-info { position: absolute; inset: auto 34px 36px; }
.speaker-info > p { margin: 0 0 12px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.speaker-info h3 { margin: 0; font-size: clamp(42px, 5vw, 72px); line-height: .88; letter-spacing: -.055em; text-transform: uppercase; }
.speaker-info blockquote { max-width: 520px; margin: 24px 0 22px; padding-left: 18px; border-left: 2px solid var(--accent); color: #d7d9da; font-size: 16px; }
.speaker-points { max-width: 540px; margin: -8px 0 22px; padding: 0; list-style: none; color: #c5c8ca; font-size: 13px; line-height: 1.45; }
.speaker-points li { position: relative; padding-left: 18px; }
.speaker-points li + li { margin-top: 7px; }
.speaker-points li::before { content: ""; position: absolute; top: .62em; left: 0; width: 7px; height: 2px; background: var(--accent); }
.speaker-info a { color: var(--accent-light); text-underline-offset: 5px; }
.speakers::after { content: ""; display: table; clear: both; }

.program { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; padding: 130px 0 180px; border-top: 1px solid var(--line); }
.program-heading h2 { position: sticky; top: 120px; font-size: clamp(54px, 6.5vw, 96px); }
.timeline { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 100px 1fr; gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.timeline time { color: var(--accent); font-weight: 850; font-variant-numeric: tabular-nums; }
.timeline h3 { margin: 0 0 8px; font-size: 25px; text-transform: uppercase; }
.timeline p { margin: 0; color: var(--muted); }
.program-note { grid-column: 2; margin: -40px 0 0; color: #777f85; font-size: 12px; }

.place { min-height: 760px; display: grid; grid-template-columns: 1fr 1fr; background: #0c1116; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.place-map { position: relative; overflow: hidden; min-height: 650px; border-right: 1px solid var(--line); }
.map-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 54px 54px; transform: rotate(-10deg) scale(1.2); mask-image: radial-gradient(circle, #000 20%, transparent 75%); }
.map-grid::after { content: ""; position: absolute; inset: 25% -10%; border-top: 9px double rgba(255,122,24,.24); transform: rotate(-17deg); }
.map-ring { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(255,122,24,.3); border-radius: 50%; transform: translate(-50%,-50%); }
.ring-one { width: 260px; height: 260px; }
.ring-two { width: 470px; height: 470px; }
.map-pin { position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; border: 6px solid var(--accent); border-radius: 50% 50% 50% 0; background: var(--bg); transform: translate(-50%,-70%) rotate(-45deg); box-shadow: 0 0 40px rgba(255,122,24,.55); }
.map-label { position: absolute; left: calc(50% + 38px); top: calc(50% - 54px); color: var(--accent-light); font-size: 12px; font-weight: 850; letter-spacing: .08em; }
.place-copy { align-self: center; padding: clamp(50px, 8vw, 130px); }
.place h2 { font-size: clamp(52px, 6.4vw, 94px); }
.place-copy > p:not(.section-index) { margin: 40px 0; color: #d4d6d8; font-size: clamp(18px, 2vw, 23px); }

.partners { padding: 150px 0 180px; }
.partners-heading { display: grid; grid-template-columns: 1fr 1.2fr; column-gap: 80px; align-items: end; }
.partners-heading .section-index { grid-column: 1 / -1; }
.partners h2 { font-size: clamp(62px, 8vw, 118px); }
.partners-heading > p:last-child { max-width: 480px; margin: 0 0 8px; color: var(--muted); font-size: 18px; }
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 90px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.partner-card { position: relative; min-width: 0; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(150deg, rgba(255,255,255,.025), transparent); transition: transform 240ms var(--ease), background 240ms ease; }
.partner-card:hover { transform: translateY(-5px); background: rgba(255, 122, 24, .055); }
.partner-index { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.partner-logo-surface { height: 230px; display: grid; place-items: center; margin: 24px 0; padding: 34px; overflow: hidden; background: #fff; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px)); }
.partner-logo-surface img { width: 100%; max-height: 130px; object-fit: contain; transition: transform 280ms var(--ease); }
.partner-logo-square img { width: 150px; max-height: 150px; }
.partner-card:hover img { transform: scale(1.045); }
.partner-card h3 { margin: 0; color: #d7dadd; font-size: 15px; font-weight: 750; text-transform: uppercase; }

.sponsor-cta {
  position: relative;
  width: var(--shell);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(48px, 7vw, 110px);
  margin: 0 auto 170px;
  padding: clamp(48px, 7vw, 96px);
  overflow: hidden;
  color: #090d10;
  background: var(--accent);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
  isolation: isolate;
}
.sponsor-cta::before { content: ""; position: absolute; z-index: -1; right: -80px; top: -130px; width: 460px; height: 460px; border: 1px solid rgba(7,10,13,.18); border-radius: 50%; box-shadow: 0 0 0 70px rgba(7,10,13,.045), 0 0 0 140px rgba(7,10,13,.025); }
.sponsor-eyebrow { margin: 0 0 26px; font-size: 11px; font-weight: 900; letter-spacing: .17em; }
.sponsor-cta h2 { max-width: 800px; color: #090d10; font-size: clamp(56px, 6.8vw, 104px); }
.sponsor-cta h2 > span { -webkit-text-stroke-color: rgba(9,13,16,.62); }
.sponsor-copy > p:last-child { max-width: 650px; margin: 34px 0 0; font-size: clamp(17px, 1.5vw, 21px); font-weight: 620; }
.contact-grid { align-self: center; display: grid; gap: 12px; }
.contact-card { min-height: 92px; display: grid; grid-template-columns: 48px 1fr 26px; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid rgba(255,255,255,.12); color: var(--text); background: #0a0e11; text-decoration: none; cursor: pointer; transition: transform 220ms var(--ease), border-color 220ms ease, background 220ms ease; }
.contact-card:hover { transform: translateX(6px); border-color: rgba(255,255,255,.35); background: #12181d; }
.contact-icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid currentColor; }
.contact-icon svg { width: 25px; height: 25px; }
.contact-whatsapp .contact-icon svg, .contact-telegram .contact-icon svg { fill: currentColor; stroke: none; }
.contact-telegram .contact-icon { color: #2aabee; }
.contact-whatsapp .contact-icon { color: #25d366; }
.contact-call .contact-icon { color: var(--accent-light); }
.contact-card span:nth-child(2) { min-width: 0; display: grid; }
.contact-card small { color: #899198; font-size: 11px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.contact-card strong { overflow-wrap: anywhere; font-size: 16px; }
.contact-arrow { justify-self: end; color: #8d959b; transition: transform 220ms var(--ease), color 220ms ease; }
.contact-card:hover .contact-arrow { color: var(--text); transform: translate(2px, -2px); }

.final-cta { position: relative; min-height: 810px; display: grid; place-items: center; align-content: center; overflow: hidden; padding: 130px 24px; text-align: center; isolation: isolate; }
.final-cta::before { content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; border-radius: 50%; background: rgba(255,122,24,.12); filter: blur(100px); }
.final-cta h2 { font-size: clamp(70px, 11vw, 166px); }
.final-cta > p:not(.eyebrow) { max-width: 620px; margin: 32px auto; color: #c8cbcd; font-size: 19px; }
.final-cta small { margin-top: 22px; color: var(--muted); }

.site-footer { min-height: 110px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 24px 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.site-footer p:last-child { justify-self: end; }

.loop-gate { min-height: 180px; display: flex; align-items: center; justify-content: center; gap: 22px; padding: 34px; color: #080b0d; background: var(--accent); text-align: center; }
.loop-gate span { font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.loop-gate strong { font-size: clamp(22px, 3vw, 42px); line-height: 1; letter-spacing: -.025em; }
.loop-gate svg { width: 34px; height: 34px; stroke-width: 2.2; }
.loop-transition { position: fixed; z-index: 160; inset: 0; display: grid; place-content: center; gap: 12px; color: var(--text); background: #070a0d; text-align: center; opacity: 0; visibility: hidden; pointer-events: none; transform: scaleY(.03); transform-origin: bottom; transition: transform 260ms var(--ease), opacity 180ms ease, visibility 260ms; }
.loop-transition::before { content: ""; position: absolute; inset: 50% 0 auto; height: 2px; background: var(--accent); box-shadow: 0 0 50px rgba(255,122,24,.75); }
.loop-transition > span { color: var(--accent-light); font-size: 11px; font-weight: 850; letter-spacing: .2em; }
.loop-transition strong { font-size: clamp(72px, 15vw, 190px); line-height: .8; letter-spacing: -.08em; }
.loop-transition.is-active { opacity: 1; visibility: visible; transform: scaleY(1); }

.mobile-cta { display: none; }

.registration-dialog {
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 0;
  border: 1px solid rgba(255,122,24,.5);
  color: var(--text);
  background: #0c1116;
  box-shadow: 0 50px 150px #000;
}
.registration-dialog::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(10px); }
.registration-dialog[open] { animation: dialog-in 320ms var(--ease); }
.dialog-accent { height: 6px; background: var(--accent); }
.dialog-close { position: sticky; z-index: 2; top: 16px; float: right; width: 48px; height: 48px; margin: 16px 16px -64px 0; display: grid; place-items: center; border: 1px solid var(--line); color: var(--text); background: rgba(12,17,22,.9); cursor: pointer; }
.registration-content, .registration-success { padding: 64px clamp(24px, 7vw, 64px); }
.registration-dialog h2 { font-size: clamp(48px, 9vw, 80px); }
.registration-content > p:not(.section-index), .registration-success > p:not(.section-index) { color: var(--muted); }
.registration-dialog form { display: grid; margin-top: 34px; }
.registration-dialog label:not(.checkbox-row) { margin: 15px 0 8px; font-size: 13px; font-weight: 750; }
.registration-dialog input[type="text"], .registration-dialog input[type="tel"] { min-height: 56px; width: 100%; border: 1px solid rgba(255,255,255,.22); border-radius: 0; padding: 0 16px; color: var(--text); background: #121920; font-size: 16px; }
.registration-dialog input[aria-invalid="true"] { border-color: #ff6b5e; }
.registration-dialog input::placeholder { color: #737b82; }
.field-error { min-height: 20px; margin-top: 5px; color: #ff8f84; font-size: 12px; }
.checkbox-row { display: grid; grid-template-columns: 24px 1fr; align-items: start; gap: 12px; margin: 16px 0 0; color: #c8cbce; font-size: 13px; cursor: pointer; }
.checkbox-row input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.prototype-note { margin: 18px 0 0; font-size: 11px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.registration-telegram { margin-bottom: 12px; text-decoration: none; }
.success-icon { width: 74px; height: 74px; display: grid; place-items: center; margin-bottom: 34px; border: 1px solid var(--success); color: var(--success); }
.success-icon svg { width: 48px; height: 48px; stroke-width: 2; }
.ticket-code { margin: 34px 0; padding: 20px; border: 1px dashed var(--accent); color: var(--accent-light); text-align: center; font-size: 28px; font-weight: 900; letter-spacing: .12em; }
.toast { position: fixed; z-index: 120; left: 50%; bottom: 24px; max-width: calc(100vw - 32px); padding: 14px 20px; color: #111; background: var(--text); transform: translate(-50%, 140%); transition: transform 220ms var(--ease); }
.toast.visible { transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 650ms var(--ease), transform 650ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes dialog-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes countdown-tick {
  0% { opacity: .25; transform: translateY(-8px) scale(.92); }
  60% { opacity: 1; transform: translateY(2px) scale(1.06); }
  100% { transform: translateY(0) scale(1); }
}
@keyframes ticker-run { to { transform: translate3d(-50%, 0, 0); } }

@media (max-width: 1050px) {
  :root { --shell: min(100% - 40px, 900px); }
  .nav-links { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .hero { grid-template-columns: 1fr .62fr; gap: 40px; padding-inline: 28px; }
  .hero-visual { width: 330px; }
  .hero h1 { font-size: clamp(70px, 10vw, 112px); }
  .hero-stamp { right: -20px; width: 92px; height: 92px; }
  .section-heading { position: relative; top: 0; width: 100%; float: none; padding: 0 0 70px; }
  .speaker-list { width: 100%; padding-top: 0; gap: 70px; }
  .speaker-card { min-height: 720px; }
  .program { grid-template-columns: 1fr; gap: 70px; }
  .program-heading h2 { position: static; }
  .program-note { grid-column: 1; margin-top: -35px; }
  .place-copy { padding: 54px; }
}

@media (max-width: 760px) {
  :root { --header-h: 62px; --shell: calc(100% - 32px); }
  body { padding-bottom: 72px; }
  .site-header { height: var(--header-h); padding: 0 16px; }
  .header-actions > .button { display: none; }
  .header-actions { gap: 8px; }
  .scroll-counter { min-height: 38px; padding: 0 9px; gap: 4px; }
  .scroll-counter-label { display: none; }
  .brand { font-size: 13px; }
  .brand-mark { width: 30px; height: 30px; }
  .hero { min-height: auto; display: flex; flex-direction: column; align-items: stretch; gap: 42px; padding: 110px 16px 130px; }
  .hero-copy { display: contents; }
  .hero .eyebrow { order: 0; margin-bottom: -18px; }
  .hero h1 { order: 1; font-size: clamp(58px, 19vw, 86px); }
  .hero-lead { order: 2; margin-top: -18px; font-size: 17px; }
  .hero-visual { order: 3; width: min(86vw, 390px); margin: 0 auto; justify-self: center; }
  .poster-frame { transform: none; }
  .hero-stamp { right: -8px; bottom: 12%; }
  .hero-actions { order: 4; margin-top: 0; }
  .hero-actions .button { width: 100%; }
  .text-link, .capacity-note { display: none; }
  .countdown { left: 16px; right: 16px; bottom: 28px; justify-content: center; gap: 12px; }
  .countdown-label { display: none; }
  .countdown div { flex: 1; min-width: 0; }
  .ticker { --ticker-gap: 18px; }
  .ticker-track { font-size: 12px; }
  .manifesto { padding: 100px 0 110px; }
  .manifesto-copy { margin-top: 70px; }
  .manifesto h2 { font-size: clamp(52px, 16vw, 76px); }
  .manifesto-body { font-size: 17px; }
  .format-grid { grid-template-columns: 1fr; margin-top: 54px; }
  .format-card { min-height: 0; display: grid; grid-template-columns: 48px 1fr; align-items: start; gap: 8px 16px; padding: 20px; }
  .format-card > span { position: absolute; top: 16px; right: 18px; }
  .format-card svg { grid-row: 1 / 3; width: 42px; height: 42px; margin: 2px 0 0; }
  .format-card h3 { margin: 0; padding-right: 28px; font-size: 25px; line-height: 1; }
  .format-card p { grid-column: 2; font-size: 14px; line-height: 1.45; }
  .speakers { padding: 40px 0 110px; }
  .section-heading h2, .program-heading h2 { font-size: clamp(48px, 15vw, 70px); }
  .speaker-list { gap: 34px; }
  .speaker-card { min-height: 610px; }
  .speaker-info { inset: auto 20px 24px; }
  .speaker-info h3 { font-size: 42px; }
  .speaker-info blockquote { font-size: 14px; }
  .program { gap: 48px; padding: 100px 0 120px; }
  .timeline li { grid-template-columns: 70px 1fr; gap: 15px; }
  .timeline h3 { font-size: 19px; }
  .place { grid-template-columns: 1fr; }
  .place-map { min-height: 430px; border-right: 0; border-bottom: 1px solid var(--line); }
  .place-copy { padding: 70px 16px 90px; }
  .place h2 { font-size: clamp(48px, 15vw, 72px); }
  .place-copy .button { width: 100%; }
  .partners { padding: 100px 0 120px; }
  .partners-heading { grid-template-columns: 1fr; gap: 28px; }
  .partners h2 { font-size: clamp(52px, 16vw, 76px); }
  .partners-heading > p:last-child { font-size: 16px; }
  .partner-grid { grid-template-columns: 1fr; margin-top: 54px; }
  .partner-card { padding: 18px; }
  .partner-logo-surface { height: 150px; margin: 16px 0; padding: 24px; }
  .partner-logo-surface img { max-height: 92px; }
  .partner-logo-square img { width: 92px; max-height: 92px; }
  .sponsor-cta { grid-template-columns: 1fr; gap: 44px; margin-bottom: 100px; padding: 48px 20px; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px)); }
  .sponsor-cta h2 { font-size: clamp(46px, 14vw, 68px); }
  .sponsor-copy > p:last-child { margin-top: 26px; font-size: 16px; }
  .contact-card { min-height: 78px; grid-template-columns: 44px 1fr 22px; gap: 12px; padding: 12px; }
  .contact-icon { width: 44px; height: 44px; }
  .contact-card strong { font-size: 14px; }
  .final-cta { min-height: 720px; padding-inline: 16px; }
  .final-cta h2 { font-size: clamp(64px, 20vw, 95px); }
  .site-footer { grid-template-columns: 1fr; justify-items: start; padding: 32px 16px; }
  .site-footer p { margin: 0; }
  .site-footer p:last-child { justify-self: start; }
  .loop-gate { min-height: 150px; flex-direction: column; gap: 10px; padding: 28px 16px 96px; }
  .loop-gate svg { width: 28px; height: 28px; }
  .mobile-cta { position: fixed; z-index: var(--z-header); left: 8px; right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); min-height: 56px; display: block; border: 1px solid var(--accent); color: #111; background: var(--accent); font-weight: 850; box-shadow: 0 14px 40px rgba(0,0,0,.55); }
  .registration-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 58px; }
  .speaker-card { min-height: 560px; }
  .speaker-info h3 { font-size: 36px; }
  .speaker-info blockquote { margin-block: 18px; }
  .hero-stamp { width: 80px; height: 80px; }
  .hero-stamp span { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .speaker-photo img, .poster-frame { transform: none !important; }
  .ticker-track { animation: none; transform: none; }
  .kinetic-char { transform: none !important; filter: none !important; }
}
