/* ==========================================================================
   ЖКХ · 2026 — конференция, Тюмень
   ========================================================================== */

:root {
  --ink: #0B1524;
  --ink-2: #0F1C30;
  --ink-3: #16263F;
  --paper: #F3EFE7;
  --paper-2: #E9E3D7;
  --card-l: #FBF9F5;

  --hot: #FF7A45;
  --hot-2: #FFB36B;
  --hot-d: #C24E1C;
  --cold: #5CC8E8;
  --cold-2: #A5E6F6;
  --cold-d: #1C7C9C;
  --leaf: #A6D17A;
  --leaf-d: #4F7F2A;

  --txt-d: #EEF2F7;
  --muted-d: rgba(233, 238, 245, .62);
  --muted-l: rgba(11, 21, 36, .62);
  --line-d: rgba(255, 255, 255, .1);
  --line-l: rgba(11, 21, 36, .12);

  --f-display: 'Unbounded', system-ui, sans-serif;
  --f-body: 'Onest', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  --r: 24px;
  --container: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 76px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  background: var(--ink);
  color: var(--txt-d);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; }
::selection { background: var(--hot); color: var(--ink); }

/* film grain */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.muted { color: var(--muted-d); }
.light .muted { color: var(--muted-l); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); transition: height .4s var(--ease); }
.header.is-scrolled { background: rgba(11, 21, 36, .74); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line-d); }
.header.is-scrolled .header__inner { height: 64px; }

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__mark { width: 38px; height: 38px; }
.logo__mark .p1, .logo__mark .p2 { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 1.4s var(--ease) .3s forwards; }
.logo__mark .p2 { animation-delay: .55s; }
.logo__text { font-family: var(--f-display); font-weight: 600; font-size: 15px; letter-spacing: .01em; line-height: 1.15; }
.logo__text b { color: var(--hot); font-weight: 600; }
.logo__text small { display: block; font-family: var(--f-mono); font-weight: 400; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; padding: 8px 14px; border-radius: 99px; font-size: 14.5px; color: var(--muted-d); transition: color .25s, background .25s; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--hot); }
.nav .nav__cta { display: none; }
.header__actions { display: flex; align-items: center; gap: 10px; }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-d); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.nav-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 54px; padding: 0 28px; border-radius: 99px;
  font-weight: 600; font-size: 15.5px; white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
  overflow: hidden; isolation: isolate;
}
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn--hot { background: var(--hot); color: var(--ink); }
.btn--hot::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--hot-2), var(--hot)); transform: translateX(-101%); transition: transform .5s var(--ease); }
.btn--hot:hover::before { transform: none; }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .24); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-3); }
.btn--line { border: 1px solid var(--line-l); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }

/* ---------- chip / eyebrow / headings ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 99px;
  border: 1px solid var(--line-d); background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-d);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--hot); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 122, 69, .55); } 70% { box-shadow: 0 0 0 10px rgba(255, 122, 69, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 122, 69, 0); } }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--hot); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.light .eyebrow { color: var(--hot-d); }

.h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 4.4vw, 62px); line-height: 1.06; letter-spacing: -.025em; margin-top: 22px; text-wrap: balance; }
.h2 .soft { color: var(--muted-d); }
.light .h2 .soft { color: rgba(11, 21, 36, .38); }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--muted-d); text-wrap: pretty; }
.light .lead { color: var(--muted-l); }

.section { position: relative; padding: clamp(88px, 11vw, 168px) 0; }
.light { background: var(--paper); color: var(--ink); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section-head > div { max-width: 820px; }

/* ---------- network canvas ---------- */
.net {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2;
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 62% 40%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 75% at 62% 40%, #000 25%, transparent 78%);
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 150px 0 44px; overflow: hidden; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 21, 36, 0) 40%, rgba(11, 21, 36, .92) 100%); pointer-events: none; }
.glow { position: absolute; z-index: -3; border-radius: 50%; filter: blur(40px); pointer-events: none; }
.glow--hot { width: 820px; height: 820px; right: -260px; top: -320px; background: radial-gradient(closest-side, rgba(255, 122, 69, .30), transparent); animation: drift 18s ease-in-out infinite alternate; }
.glow--cold { width: 760px; height: 760px; left: -300px; bottom: -380px; background: radial-gradient(closest-side, rgba(92, 200, 232, .22), transparent); animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-60px, 40px) scale(1.08); } }

.hero__inner { width: 100%; }
.hero__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero__coords { color: var(--muted-d); }
.hero__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(34px, 6.7vw, 100px); line-height: 1.02; letter-spacing: -.035em; margin: 32px 0 44px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; animation-delay: calc(.15s + var(--i, 0) * .12s); }
.hero__title em, .grad { font-style: normal; background: linear-gradient(95deg, var(--hot) 0%, var(--hot-2) 38%, var(--cold-2) 70%, var(--cold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes rise { to { transform: none; } }

.hero__bottom { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.hero__lead { max-width: 560px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp 1s var(--ease) forwards; animation-delay: var(--d, .6s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.facts { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-d); }
.fact { padding: 22px 24px 0 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line-d); }
.fact .mono { color: var(--muted-d); font-size: 11px; }
.fact b { display: block; margin-top: 8px; font-family: var(--f-display); font-weight: 500; font-size: clamp(15px, 1.3vw, 19px); letter-spacing: -.01em; }

.scroll-hint { position: absolute; right: var(--gutter); bottom: 44px; width: 1px; height: 64px; background: var(--line-d); overflow: hidden; }
.scroll-hint::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--hot); animation: scrollHint 2.2s var(--ease) infinite; }
@keyframes scrollHint { to { top: 110%; } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding: 28px 0; border-block: 1px solid var(--line-d); background: var(--ink); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: flex; align-items: center; gap: 36px; padding-right: 36px; font-family: var(--f-display); font-weight: 500; font-size: clamp(26px, 3.8vw, 54px); letter-spacing: -.02em; white-space: nowrap; }
.marquee__item .o { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .38); }
.marquee__item .star { width: .5em; height: .5em; color: var(--hot); flex-shrink: 0; }
.marquee__item .star.c { color: var(--cold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- about + stats ---------- */
.about { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: end; }
.about__text p + p { margin-top: 18px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(64px, 8vw, 112px); border-top: 1px solid var(--line-l); }
.stat { padding: 30px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line-l); }
.stat b { display: block; font-family: var(--f-display); font-weight: 500; font-size: clamp(48px, 6.4vw, 96px); line-height: 1; letter-spacing: -.05em; }
.stat b sup { font-size: .35em; vertical-align: top; margin-left: 4px; color: var(--hot-d); letter-spacing: 0; }
.stat span { display: block; margin-top: 14px; max-width: 210px; font-size: 15px; color: var(--muted-l); }

/* ---------- theme cards ---------- */
.t-infra { --c: var(--hot); --c-d: var(--hot-d); --c-rgb: 255, 122, 69; }
.t-nok { --c: var(--cold); --c-d: var(--cold-d); --c-rgb: 92, 200, 232; }
.t-env { --c: var(--leaf); --c-d: var(--leaf-d); --c-rgb: 166, 209, 122; }
.t-welcome { --c: #fff; --c-d: var(--ink); --c-rgb: 255, 255, 255; }

.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 72px; }
.theme-card {
  position: relative; display: flex; flex-direction: column; min-height: 560px; padding: 30px;
  border: 1px solid var(--line-d); border-radius: var(--r); overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01));
  transition: transform .6s var(--ease), border-color .4s;
}
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(var(--c-rgb), .16), transparent 62%);
}
.spot:hover::before { opacity: 1; }
.theme-card:hover { transform: translateY(-8px); border-color: rgba(var(--c-rgb), .45); }
.theme-card__top { display: flex; justify-content: space-between; align-items: center; }
.theme-card__num { font-family: var(--f-display); font-size: 15px; font-weight: 500; color: var(--c); }
.theme-card__art { margin: 28px -10px 22px; color: var(--c); }
.theme-card__art svg { width: 100%; height: auto; overflow: visible; }
.theme-card h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(21px, 1.8vw, 25px); line-height: 1.2; letter-spacing: -.015em; text-wrap: balance; }
.theme-card p { margin-top: 12px; font-size: 15.5px; color: var(--muted-d); }
.theme-card__foot { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line-d); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.theme-card__foot .mono { color: var(--muted-d); font-size: 11px; }
.arrow-circle { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-d); display: grid; place-items: center; transition: background .35s, color .35s, border-color .35s, transform .5s var(--ease); }
.theme-card:hover .arrow-circle, .sched-row:hover .arrow-circle { background: var(--c, var(--hot)); border-color: transparent; color: var(--ink); transform: rotate(-45deg); }

/* illustration animations */
.flow { stroke-dasharray: 4 12; animation: flow 1.2s linear infinite; }
.flow--slow { animation-duration: 2s; }
.flow--rev { animation-direction: reverse; }
@keyframes flow { to { stroke-dashoffset: -32; } }
.spin { transform-box: fill-box; transform-origin: center; animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.needle { transform-box: view-box; animation: needle 3.4s ease-in-out infinite alternate; }
@keyframes needle { from { transform: rotate(-38deg); } to { transform: rotate(32deg); } }
.bar { transform-box: fill-box; transform-origin: bottom; transform: scaleY(.08); transition: transform 1.1s var(--ease); transition-delay: var(--bd, 0s); }
.is-in .bar, .bars-on .bar { transform: none; }
.pop { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .7s cubic-bezier(.3, 1.6, .5, 1) 1s; }
.is-in .pop, .bars-on .pop { transform: none; }
.win { animation: win 5s ease-in-out infinite; animation-delay: var(--wd, 0s); }
@keyframes win { 0%, 100% { fill-opacity: .08; } 40%, 60% { fill-opacity: .9; } }
.sway { transform-box: fill-box; transform-origin: bottom center; animation: sway 5s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-2.5deg); } to { transform: rotate(2.5deg); } }
.float { animation: float 6s ease-in-out infinite alternate; }
@keyframes float { to { transform: translateY(-6px); } }

/* ---------- speakers ---------- */
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; margin-top: 64px; }
.sp-card {
  --c: var(--hot); --c2: var(--cold);
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: 26px;
  background: var(--card-l); border: 1px solid var(--line-l); border-radius: var(--r);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s, opacity .4s;
}
.sp-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(11, 21, 36, .28); border-color: rgba(11, 21, 36, .2); }
.sp-card.is-hidden { display: none; }
.sp-card.t-nok { --c: var(--cold); --c2: #2A5BD7; }
.sp-card.t-infra { --c: var(--hot); --c2: #FFD166; }
.sp-card.t-welcome { --c: var(--ink-3); --c2: var(--hot); }
.sp-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sp-card__idx { font-family: var(--f-mono); font-size: 12px; color: var(--muted-l); }
.tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; border: 1px solid currentColor; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.tag--infra { color: var(--hot-d); }
.tag--nok { color: var(--cold-d); }
.tag--env { color: var(--leaf-d); }
.tag--welcome { color: var(--ink); opacity: .7; }
.tag--tbc { color: var(--muted-l); border-style: dashed; }

.avatar { position: relative; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; isolation: isolate; }
.avatar::before { content: ""; position: absolute; inset: 0; z-index: -2; border-radius: 50%; background: conic-gradient(from 0deg, var(--c), transparent 35%, var(--c2) 65%, var(--c)); animation: spin 8s linear infinite; animation-play-state: paused; }
.sp-card:hover .avatar::before, .mini-sp:hover .avatar::before { animation-play-state: running; }
.avatar::after { content: ""; position: absolute; inset: 3px; z-index: -1; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #fff, var(--paper-2)); }
.avatar span { font-family: var(--f-display); font-weight: 600; font-size: 25px; letter-spacing: -.02em; color: var(--ink); }
.sp-card__name { font-family: var(--f-display); font-weight: 400; font-size: 17px; line-height: 1.3; letter-spacing: -.01em; }
.sp-card__name b { display: block; font-weight: 600; font-size: 24px; letter-spacing: -.02em; margin-bottom: 2px; }
.sp-card__role { font-size: 14.5px; line-height: 1.5; color: var(--muted-l); }
.sp-card__talk { margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line-l); font-size: 15px; line-height: 1.5; }
.sp-card__talk .mono { display: block; margin-bottom: 8px; font-size: 10.5px; color: var(--muted-l); }
.sp-card__talk.is-empty { color: var(--muted-l); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line-l); color: var(--ink); font-size: 14.5px; font-weight: 500; transition: background .3s, color .3s, border-color .3s; }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter .n { font-family: var(--f-mono); font-size: 11px; opacity: .6; }

/* ---------- schedule rows (home) ---------- */
.sched { margin-top: 64px; border-top: 1px solid var(--line-d); }
.sched-row { position: relative; display: grid; grid-template-columns: 240px 1fr auto; gap: 32px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line-d); isolation: isolate; }
.sched-row::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: linear-gradient(90deg, rgba(255, 122, 69, .09), rgba(92, 200, 232, .06)); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.sched-row:hover::before { transform: none; }
.sched-row__time { font-family: var(--f-display); font-weight: 500; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.03em; }
.sched-row__time span { color: var(--muted-d); font-weight: 300; }
.sched-row h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -.01em; line-height: 1.3; }
.sched-row p { color: var(--muted-d); font-size: 15px; margin-top: 4px; }
.note { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--muted-d); }
.light .note { color: var(--muted-l); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(110px, 14vw, 210px) 0; background: var(--ink-2); }
.cta .net { -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 10%, transparent 75%); opacity: .8; }
.cta__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(42px, 8.5vw, 132px); line-height: .98; letter-spacing: -.045em; margin: 26px auto 30px; max-width: 12ch; text-wrap: balance; }
.cta .lead { max-width: 600px; margin: 0 auto 44px; }
.cta__btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.cta .glow--hot { top: auto; bottom: -420px; right: 10%; }
.cta .glow--cold { bottom: auto; top: -420px; left: 10%; }

/* ---------- page hero ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(150px, 16vw, 210px) 0 clamp(64px, 8vw, 110px); border-bottom: 1px solid var(--line-d); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 50%, var(--ink)); pointer-events: none; }
.crumbs { display: flex; gap: 10px; align-items: center; color: var(--muted-d); margin-bottom: 30px; }
.crumbs a:hover { color: #fff; }
.page-title { font-family: var(--f-display); font-weight: 600; font-size: clamp(46px, 10vw, 150px); line-height: .94; letter-spacing: -.05em; }
.page-title .line { display: block; overflow: hidden; padding-bottom: .05em; }
.page-title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) .1s forwards; }
.page-hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-top: 36px; }
.page-lead { max-width: 640px; }
.anchors { display: flex; gap: 8px; flex-wrap: wrap; }
.anchor { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 8px; border-radius: 99px; border: 1px solid var(--line-d); font-size: 14.5px; transition: border-color .3s, background .3s; }
.anchor i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--f-mono); font-size: 11px; background: rgba(var(--c-rgb), .16); color: var(--c); }
.anchor:hover { border-color: rgba(var(--c-rgb), .6); background: rgba(var(--c-rgb), .06); }

/* ---------- agenda blocks ---------- */
.agenda-block { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); }
.agenda-aside { position: sticky; top: 110px; align-self: start; }
.big-num { font-family: var(--f-display); font-weight: 600; font-size: clamp(110px, 16vw, 230px); line-height: .8; letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 1.5px var(--c); }
.light .big-num { -webkit-text-stroke-color: var(--c-d); }
.agenda-art { margin-top: 44px; color: var(--c); max-width: 440px; }
.light .agenda-art { color: var(--c-d); }
.agenda-art svg { width: 100%; height: auto; overflow: visible; }
.agenda-main .h2 { margin-top: 18px; }
.agenda-main .lead { margin-top: 26px; }
.agenda-sub { margin-top: 64px; }
.agenda-sub > .mono { display: block; padding-bottom: 16px; border-bottom: 1px solid var(--line-d); color: var(--muted-d); }
.light .agenda-sub > .mono { border-color: var(--line-l); color: var(--muted-l); }
.qlist { counter-reset: q; }
.qlist li { counter-increment: q; display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line-d); font-family: var(--f-display); font-weight: 400; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.35; letter-spacing: -.01em; transition: padding .4s var(--ease), color .3s; }
.light .qlist li { border-color: var(--line-l); }
.qlist li::before { content: counter(q, decimal-leading-zero); font-family: var(--f-mono); font-size: 12px; color: var(--c); }
.light .qlist li::before { color: var(--c-d); }
.qlist li:hover { padding-left: 10px; }
.pending { margin-top: 40px; padding: 30px; border: 1px dashed rgba(var(--c-rgb), .5); border-radius: var(--r); display: flex; gap: 20px; align-items: center; }
.pending__icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--c-rgb), .14); color: var(--c); }
.pending p { color: var(--muted-d); }

.mini-list { display: grid; }
.mini-sp { --c: var(--hot); --c2: var(--cold); display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line-d); }
.light .mini-sp { border-color: var(--line-l); }
.mini-sp.t-nok { --c: var(--cold); --c2: #2A5BD7; }
.mini-sp .avatar { width: 56px; height: 56px; }
.mini-sp .avatar span { font-size: 16px; }
.mini-sp .avatar::after { inset: 2px; }
.mini-sp b { font-family: var(--f-display); font-weight: 500; font-size: 17px; letter-spacing: -.01em; }
.mini-sp p { font-size: 14.5px; color: var(--muted-d); line-height: 1.45; margin-top: 2px; }
.light .mini-sp p { color: var(--muted-l); }
.mini-sp .talk { color: inherit; margin-top: 8px; font-size: 15px; }
.light .mini-sp .talk { color: var(--ink); }

/* ---------- timeline (program) ---------- */
.timeline { --tl-x: 230px; position: relative; margin-top: 72px; }
.timeline::before { content: ""; position: absolute; left: var(--tl-x); top: 12px; bottom: 0; width: 1px; background: var(--line-l); }
.timeline__progress { position: absolute; left: var(--tl-x); top: 12px; width: 2px; margin-left: -.5px; height: 0; background: linear-gradient(180deg, var(--hot), var(--cold)); border-radius: 2px; }
.tl-item { position: relative; display: grid; grid-template-columns: var(--tl-x) 1fr; padding-bottom: 72px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: calc(var(--tl-x) - 8px); top: 12px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid rgba(11, 21, 36, .25); transition: background .5s, border-color .5s, box-shadow .5s; }
.tl-item.is-in::before { background: var(--hot); border-color: var(--hot); box-shadow: 0 0 0 6px rgba(255, 122, 69, .18); }
.tl-time { padding-right: 48px; font-family: var(--f-display); font-weight: 500; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.1; letter-spacing: -.04em; }
.tl-time span { display: block; color: var(--muted-l); font-weight: 300; font-size: .62em; letter-spacing: -.02em; margin-top: 6px; }
.tl-body { padding-left: 56px; }
.tl-body > .mono { color: var(--muted-l); }
.tl-body h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.2; letter-spacing: -.02em; margin-top: 8px; }
.tl-body > p { margin-top: 10px; color: var(--muted-l); }

.session { --c: var(--hot); --c-d: var(--hot-d); margin-top: 28px; padding: clamp(24px, 3vw, 36px); background: var(--card-l); border: 1px solid var(--line-l); border-radius: var(--r); position: relative; overflow: hidden; }
.session::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.session.t-nok { --c: var(--cold); --c-d: var(--cold-d); }
.session.t-env { --c: var(--leaf); --c-d: var(--leaf-d); }
.session__head { display: flex; gap: 20px; align-items: flex-start; justify-content: space-between; }
.session__num { font-family: var(--f-display); font-weight: 600; font-size: 44px; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.2px var(--c-d); }
.session h4 { font-family: var(--f-display); font-weight: 500; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.25; letter-spacing: -.015em; }
.session__sub { color: var(--muted-l); margin-top: 6px; font-size: 15px; }
.talks { margin-top: 22px; }
.talks li { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line-l); }
.talks b { font-weight: 600; }
.talks .who p { font-size: 14px; color: var(--muted-l); line-height: 1.45; margin-top: 2px; }
.talks .what { font-size: 15.5px; line-height: 1.5; }
.talks .what.is-empty { color: var(--muted-l); }
.welcome-list { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.welcome-list li { padding: 18px; border-radius: 16px; background: var(--card-l); border: 1px solid var(--line-l); }
.welcome-list b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 16px; letter-spacing: -.01em; }
.welcome-list p { font-size: 13.5px; line-height: 1.45; color: var(--muted-l); margin-top: 6px; }

/* ---------- participate ---------- */
.part { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.form[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field > span, .field legend { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-l); }
.field input, .field textarea, .field select { width: 100%; height: 58px; padding: 0 20px; border-radius: 16px; border: 1px solid var(--line-l); background: var(--card-l); font-size: 16px; color: var(--ink); outline: none; transition: border-color .25s, box-shadow .25s; }
.field textarea { height: 120px; padding: 16px 20px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(11, 21, 36, .08); }
.field input::placeholder, .field textarea::placeholder { color: rgba(11, 21, 36, .35); }
fieldset.field { border: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line-l); background: var(--card-l); font-size: 14.5px; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.pill span:hover { border-color: var(--ink); }
.pill input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pill input:focus-visible + span { box-shadow: 0 0 0 4px rgba(11, 21, 36, .15); }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted-l); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--ink); flex-shrink: 0; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.form__foot .mono { color: var(--muted-l); }
.success { display: none; margin-top: 40px; padding: 40px; border-radius: var(--r); background: var(--ink); color: var(--txt-d); position: relative; overflow: hidden; }
.success.is-on { display: block; animation: fadeUp .8s var(--ease); }
.success h3 { font-family: var(--f-display); font-weight: 500; font-size: 30px; letter-spacing: -.02em; margin: 16px 0 10px; }
.success p { color: var(--muted-d); max-width: 460px; }
.success__check { width: 64px; height: 64px; }
.success__check path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .9s var(--ease) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.venue { position: sticky; top: 100px; border-radius: var(--r); overflow: hidden; background: var(--ink); color: var(--txt-d); }
.venue__map { position: relative; aspect-ratio: 5 / 4; background: var(--ink-2); border-bottom: 1px solid var(--line-d); }
.venue__map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.venue__body { padding: 30px; }
.venue__body h3 { font-family: var(--f-display); font-weight: 500; font-size: 28px; letter-spacing: -.02em; margin-top: 10px; }
.venue__rows { margin-top: 22px; }
.venue__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-d); font-size: 15px; }
.venue__rows span { color: var(--muted-d); }
.venue__rows b { font-weight: 500; text-align: right; }
.pin-pulse { transform-box: fill-box; transform-origin: center; animation: pinPulse 2.4s ease-out infinite; }
@keyframes pinPulse { from { transform: scale(.4); opacity: .9; } to { transform: scale(3); opacity: 0; } }

.faq { margin-top: 56px; border-top: 1px solid var(--line-l); }
.faq details { border-bottom: 1px solid var(--line-l); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; cursor: pointer; list-style: none; font-family: var(--f-display); font-weight: 500; font-size: clamp(18px, 1.7vw, 23px); letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { position: relative; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-l); transition: background .3s, transform .4s var(--ease); }
.faq .plus::before, .faq .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: currentColor; transition: transform .4s var(--ease); }
.faq .plus::after { transform: rotate(90deg); }
.faq details[open] .plus { background: var(--ink); color: var(--paper); transform: rotate(180deg); }
.faq details[open] .plus::after { transform: rotate(0); }
.faq details p { padding: 0 64px 28px 0; color: var(--muted-l); max-width: 820px; }

/* ---------- footer ---------- */
.footer { position: relative; overflow: hidden; padding: 100px 0 32px; background: var(--ink); border-top: 1px solid var(--line-d); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer__grid h4 { font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 18px; }
.footer__grid p { color: var(--muted-d); max-width: 420px; }
.footer__links li + li { margin-top: 8px; }
.footer__links a { position: relative; transition: color .25s; }
.footer__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.footer__links a:hover { color: var(--hot); }
.footer__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer__big { margin: 80px 0 28px; font-family: var(--f-display); font-weight: 600; font-size: clamp(52px, 13.6vw, 206px); line-height: .8; letter-spacing: -.065em; white-space: nowrap; background: linear-gradient(180deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .06) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer__big b { background: linear-gradient(180deg, var(--hot), rgba(255, 122, 69, .1)); -webkit-background-clip: text; background-clip: text; font-weight: 600; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line-d); color: var(--muted-d); font-size: 13px; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="left"] { transform: translateX(-32px); }
.js [data-reveal="scale"] { transform: scale(.96); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .themes { grid-template-columns: 1fr; }
  .theme-card { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto; column-gap: 40px; }
  .theme-card__top { grid-column: 1 / -1; }
  .theme-card__art { grid-row: 2 / 4; grid-column: 2; margin: 20px 0 0; align-self: center; }
  .theme-card__body { grid-column: 1; margin-top: 24px; }
  .theme-card__foot { grid-column: 1; }
  .part { grid-template-columns: 1fr; }
  .venue { position: relative; top: 0; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .header__actions .btn { display: none; }
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: stretch; justify-content: center; gap: 0;
    padding: 90px var(--gutter) 40px; background: var(--ink);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav a { padding: 14px 0; border-radius: 0; background: none !important; font-family: var(--f-display); font-weight: 500; font-size: clamp(30px, 8vw, 48px); letter-spacing: -.03em; color: #fff; border-bottom: 1px solid var(--line-d); transform: translateY(20px); opacity: 0; transition: transform .6s var(--ease), opacity .6s, color .25s; }
  .nav a[aria-current="page"] { color: var(--hot); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .nav__cta { display: inline-flex; margin-top: 32px; border: 0; font-family: var(--f-body); font-size: 16px; letter-spacing: 0; color: var(--ink); padding: 0 28px; background: var(--hot) !important; border-radius: 99px; align-self: flex-start; }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open .nav a { transform: none; opacity: 1; }
  .nav-open .nav a:nth-child(2) { transition-delay: .05s; } .nav-open .nav a:nth-child(3) { transition-delay: .1s; }
  .nav-open .nav a:nth-child(4) { transition-delay: .15s; } .nav-open .nav a:nth-child(5) { transition-delay: .2s; }
  .nav-open .nav a:nth-child(6) { transition-delay: .25s; }
  .nav-open { overflow: hidden; }
  .nav-open .header { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }

  .hero__bottom { grid-template-columns: 1fr; }
  .facts, .stats { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3), .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { margin-top: 20px; border-top: 1px solid var(--line-d); }
  .stat:nth-child(n+3) { margin-top: 28px; border-top: 1px solid var(--line-l); }
  .scroll-hint { display: none; }
  .about { grid-template-columns: 1fr; }
  .agenda-block { grid-template-columns: 1fr; }
  .agenda-aside { position: relative; top: 0; display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: end; }
  .agenda-art { margin-top: 0; }
  .sched-row { grid-template-columns: 1fr auto; gap: 8px 20px; }
  .sched-row__time { grid-column: 1 / -1; }
  .sched-row .arrow-circle { grid-row: 2; grid-column: 2; }
  .welcome-list { grid-template-columns: 1fr; }
  .talks li { grid-template-columns: 1fr; gap: 8px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .theme-card { display: flex; padding: 24px; }
  .theme-card__art { margin: 24px -6px 18px; }
  .theme-card__body { margin-top: 0; }
  .agenda-aside { grid-template-columns: 1fr; }
  .agenda-art { max-width: 320px; }
  .timeline { --tl-x: 7px; }
  .tl-item { grid-template-columns: 1fr; padding-left: 36px; padding-bottom: 56px; }
  .tl-item::before { left: -1px; top: 8px; }
  .tl-time { padding: 0 0 12px; }
  .tl-time span { display: inline; margin-left: 6px; }
  .tl-body { padding-left: 0; }
  .form { grid-template-columns: 1fr; }
  .session__num { font-size: 34px; }
  .sp-grid { grid-template-columns: 1fr; }
  .faq details p { padding-right: 0; }
  .hero { padding-top: 120px; }
  .hero__title { margin: 24px 0 32px; }
  .facts { margin-top: 44px; }
  .footer { padding-top: 72px; }
  .footer__big { margin-top: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero__title .line > span, .page-title .line > span { transform: none; }
  .fade-up { opacity: 1; transform: none; }
}
