/* 2027 서울인문포럼. The ShF logo is the design system: five colours measured from its pixels, one deep ink derived from
   the teal hue for text and dark scenes, one paper white. Shapes come from the mark: the diagonal fold and quarter circles.
   Tokens, contrast pairs and rules: docs/DESIGN.md. */
:root {
  --shf-teal: #3CC4BC;
  --shf-mint: #84CCA4;
  --shf-sand: #FCD48C;
  --shf-coral: #F46C6C;
  --shf-orange: #FC9C3C;
  --ink: #0B3331;
  --ink-2: #3F5F5D;
  --paper: #FBF7EF;
  --card: #FFFFFF;
  --on-ink-2: #C3D4D1;
  --line: #D9D3C6;
  --field-line: #6B807D;
  --danger: #B3261E;
  --danger-soft: #FCEDEC;
  --radius: 6px;
  --gutter: clamp(20px, 4.4vw, 64px);
  --wrap: 1320px;
  --top-h: 68px;
  --focus: var(--ink);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); }
html.is-locked { overflow: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.65; letter-spacing: -0.005em;
  word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(980px, 100% - 2 * var(--gutter)); }

.skip { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 12px 16px; background: var(--ink); color: var(--paper); text-decoration: none; transform: translateY(-200%); transition: transform .15s; }
.skip:focus { transform: none; }

/* ---------- scenes: every section is one full-bleed colour field ---------- */
.scene { position: relative; padding: clamp(72px, 9vw, 136px) 0; overflow: hidden; }
.scene--paper { background: var(--paper); color: var(--ink); }
.scene--ink { background: var(--ink); color: var(--paper); --focus: var(--shf-sand); }
.scene--sand { background: var(--shf-sand); color: var(--ink); }
.scene--teal { background: var(--shf-teal); color: var(--ink); }
.scene--coral { background: var(--shf-coral); color: var(--ink); }
.scene--mint { background: var(--shf-mint); color: var(--ink); }

/* ---------- type ---------- */
.eyebrow { display: inline-block; font-size: 14px; font-weight: 750; letter-spacing: .06em; color: var(--ink); margin-bottom: 16px; padding-left: 22px; position: relative; }
.eyebrow::before { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 14px; margin-top: -8px; background: var(--shf-teal); border-radius: 100% 0 0 0; }
.eyebrow--sand { color: var(--shf-sand); }
.eyebrow--sand::before { background: var(--shf-sand); }
.eyebrow--ink::before { background: var(--ink); }
.display { font-size: clamp(32px, 4.8vw, 64px); line-height: 1.15; font-weight: 850; letter-spacing: -0.04em; max-width: 18ch; }
.display--light { color: var(--paper); }
.h3 { font-size: 20px; line-height: 1.35; font-weight: 750; letter-spacing: -0.015em; }
.lead { margin-top: 20px; font-size: clamp(17px, 1.3vw, 19px); max-width: 60ch; }
.lead--light { color: var(--on-ink-2); }
.prose p { font-size: 17px; max-width: 62ch; }
.prose p + p { margin-top: 1em; }
.prose--light p { color: var(--on-ink-2); }
.head { margin-bottom: clamp(36px, 5vw, 64px); }
.head--center { text-align: center; }
.head--center .display { margin-inline: auto; }
.head--center .eyebrow { padding-left: 22px; }

/* ---------- shapes from the mark ---------- */
.shape { position: absolute; display: block; width: var(--s, 120px); height: var(--s, 120px); }
.shape--q { border-radius: 100% 0 0 0; }
.shape--q.shape--flip { border-radius: 0 100% 0 0; }
.shape--fold { clip-path: polygon(0 0, 100% 100%, 0 100%); }
.shape--dot { border-radius: 50%; }
.shape--teal { background: var(--shf-teal); }
.shape--mint { background: var(--shf-mint); }
.shape--sand { background: var(--shf-sand); }
.shape--coral { background: var(--shf-coral); }
.shape--orange { background: var(--shf-orange); }
.sq { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; background: var(--shf-teal); color: var(--ink); font-size: 14px; font-weight: 800; line-height: 1; border-radius: 2px; }
.sq--lg { width: 44px; height: 44px; font-size: 20px; }
.sq--sand { background: var(--shf-sand); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border: 2px solid transparent; border-radius: 999px;
  font-size: 15px; font-weight: 750; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--shf-teal); color: var(--ink); }
.btn--line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--sand { background: var(--shf-sand); color: var(--ink); }
.btn--sand:hover { background: var(--paper); }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 26px; line-height: 1; transition: background-color .18s; }
.icon-btn:hover { background: var(--shf-sand); }
.icon-btn--dark { background: transparent; border-color: rgba(251,247,239,.55); color: var(--paper); }
.icon-btn--dark:hover { background: rgba(251,247,239,.15); border-color: var(--paper); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 20px; height: var(--top-h); }
.brand { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; margin-right: auto; text-decoration: none; }
.brand__logo { width: auto; height: 34px; }
.brand__year { font-size: 15px; font-weight: 650; color: var(--ink-2); letter-spacing: .02em; }
.nav__list { display: flex; gap: 2px; }
.nav__list a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 11px; font-size: 15px; font-weight: 650; color: var(--ink); text-decoration: none;
  background-image: linear-gradient(var(--shf-teal), var(--shf-teal)); background-repeat: no-repeat; background-size: 0 3px; background-position: 11px 78%;
  transition: background-size .22s var(--ease);
}
.nav__list a:hover, .nav__list a[aria-current="true"] { background-size: calc(100% - 22px) 3px; }
.top__cta { flex: none; }
.menu-btn { display: none; }
@media (max-width: 1199px) {
  .menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border: 2px solid var(--ink); border-radius: 50%; background: transparent; }
  .menu-btn__bar, .menu-btn__bar::before, .menu-btn__bar::after { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: transform .2s, background-color .2s; }
  .menu-btn__bar::before, .menu-btn__bar::after { content: ""; position: absolute; left: 0; }
  .menu-btn__bar::before { top: -6px; }
  .menu-btn__bar::after { top: 6px; }
  .menu-btn[aria-expanded="true"] .menu-btn__bar { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-btn__bar::before { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-btn__bar::after { transform: translateY(-6px) rotate(-45deg); }
  .nav { position: fixed; inset: var(--top-h) 0 0 0; z-index: 49; background: var(--paper); padding: 12px var(--gutter) 40px; overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .18s, visibility 0s .18s; }
  .nav.is-open { visibility: visible; opacity: 1; transition: opacity .18s; }
  .nav__list { flex-direction: column; gap: 0; max-width: 640px; margin-inline: auto; }
  .nav__list li { border-bottom: 1px solid var(--line); }
  .nav__list a { display: flex; min-height: 60px; padding: 0; font-size: 22px; font-weight: 750; background-position: 0 78%; }
  .nav__list a:hover, .nav__list a[aria-current="true"] { background-size: 48px 3px; }
}
@media (max-width: 380px) {
  .top__in { gap: 10px; }
  .brand__year { display: none; }
  .brand__logo { height: 30px; }
  .top__cta { padding-inline: 14px; }
}

/* ---------- hero: a poster ---------- */
.hero { padding: clamp(48px, 7vw, 112px) 0 clamp(32px, 4vw, 48px); min-height: min(calc(100svh - var(--top-h)), 980px); display: flex; flex-direction: column; justify-content: space-between; }
.hero__in { position: relative; z-index: 1; }
.hero__text { max-width: min(860px, 64%); }
.hero__kicker { font-size: clamp(15px, 1.3vw, 18px); font-weight: 750; color: var(--ink); margin-bottom: 18px; }
.hero__title { display: flex; flex-direction: column; font-size: clamp(46px, 8.2vw, 132px); line-height: 1.02; font-weight: 850; letter-spacing: -0.055em; }
.hero__line { display: block; }
.hero__year { position: relative; top: -1.55em; margin-left: .25em; font-size: clamp(16px, 1.9vw, 30px); font-weight: 700; letter-spacing: 0; vertical-align: baseline; }
.disc { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; margin-top: clamp(28px, 3.5vw, 44px); max-width: 760px; }
.disc li { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 6px; border-radius: 0 22px 0 0; font-size: clamp(15px, 1.2vw, 17px); font-weight: 750; color: var(--ink); white-space: nowrap; }
.disc li:nth-child(5n+1) { background: var(--shf-teal); }
.disc li:nth-child(5n+2) { background: var(--shf-mint); }
.disc li:nth-child(5n+3) { background: var(--shf-sand); }
.disc li:nth-child(5n+4) { background: var(--shf-coral); }
.disc li:nth-child(5n+5) { background: var(--shf-orange); }
.hero__lead { margin-top: clamp(24px, 3vw, 36px); font-size: clamp(17px, 1.3vw, 19px); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__shapes { position: absolute; inset: 0; pointer-events: none; }
.hero__mark { position: absolute; right: max(var(--gutter), calc((100% - var(--wrap)) / 2)); top: clamp(48px, 7vw, 112px); width: clamp(220px, 27vw, 420px); height: auto; aspect-ratio: 320 / 420; }
.hero__s1 { --s: clamp(80px, 9vw, 150px); right: calc(max(var(--gutter), calc((100% - var(--wrap)) / 2)) + clamp(220px, 27vw, 420px) - 30px); top: calc(clamp(48px, 7vw, 112px) + clamp(220px, 27vw, 420px) * 1.31 - var(--s)); }
.hero__s2 { --s: clamp(48px, 5vw, 84px); right: calc(max(var(--gutter), calc((100% - var(--wrap)) / 2)) - 8px); top: calc(clamp(48px, 7vw, 112px) + clamp(220px, 27vw, 420px) * 1.31 + 20px); }
.hero__s3 { --s: clamp(44px, 4vw, 72px); right: calc(max(var(--gutter), calc((100% - var(--wrap)) / 2)) + clamp(220px, 27vw, 420px) * .86); top: calc(clamp(48px, 7vw, 112px) - 8px); }
.hero__s4 { --s: 18px; right: calc(max(var(--gutter), calc((100% - var(--wrap)) / 2)) + clamp(220px, 27vw, 420px) * .7); top: calc(clamp(48px, 7vw, 112px) + clamp(220px, 27vw, 420px) * 1.31 + 36px); }
.strip { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px 32px; margin-top: clamp(48px, 6vw, 80px); padding-top: 18px; border-top: 2px solid var(--ink); }
.strip dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.strip dd { font-size: clamp(15px, 1.25vw, 18px); font-weight: 750; letter-spacing: -0.01em; }
.strip__item--en dd { text-align: center; }
.strip__item--end dd { text-align: right; }

[data-enter] { animation: enter .7s var(--ease) both; }
.strip[data-enter] { animation-delay: .18s; }
.hero__mark { animation: enter .9s var(--ease) .1s both; }
@keyframes enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- overview on ink ---------- */
.facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.facts__big { font-size: clamp(30px, 3.8vw, 54px); line-height: 1.18; font-weight: 800; letter-spacing: -0.035em; color: var(--paper); }
.ask { margin-top: clamp(64px, 8vw, 120px); padding-top: 32px; border-top: 2px solid var(--shf-teal); }
.ask__label { font-size: 14px; font-weight: 750; color: var(--shf-teal); letter-spacing: .06em; }
.ask__text { margin-top: 14px; font-size: clamp(26px, 3.4vw, 48px); line-height: 1.3; font-weight: 800; letter-spacing: -0.03em; color: var(--paper); max-width: 26ch; }
.ask__link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 18px; font-size: 17px; font-weight: 750; color: var(--shf-sand); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.ask__link:hover { color: var(--paper); }
.vat { font-size: .5em; font-weight: 750; white-space: nowrap; letter-spacing: 0; }

/* ---------- speaker wall ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 28px 0 0; padding: 0; border: 0; min-width: 0; }
.filter { min-height: 44px; padding: 8px 18px; border: 2px solid var(--ink); border-radius: 999px; background: transparent; font-size: 15px; font-weight: 700; transition: background-color .18s, color .18s; }
.filter:hover { background: var(--shf-sand); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.filter__n { margin-left: 6px; font-weight: 500; }
.people { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 18px 8px; }
.person { display: block; width: 100%; padding: 0; border: 0; background: transparent; text-align: left; }
.person__photo { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--line); border-radius: 0 28px 0 0; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.person:hover .person__photo img { transform: scale(1.03); }
.person__name { display: block; margin-top: 8px; font-size: 15px; font-weight: 800; line-height: 1.3; letter-spacing: -0.02em; }
.person__role { display: block; font-size: 13px; color: var(--ink-2); line-height: 1.35; }
.person:hover .person__name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- programme rows ---------- */
.rows { border-top: 2px solid var(--ink); }
.row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; width: 100%;
  padding: 24px 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: inherit; text-align: left;
}
button.row { cursor: pointer; }
button.row:hover .row__line { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.row__chip { display: inline-block; padding: 3px 10px; background: var(--ink); color: var(--chip, var(--shf-sand)); font-size: 13px; font-weight: 800; letter-spacing: .02em; border-radius: 2px; }
.row__line { display: block; margin-top: 12px; font-size: clamp(19px, 1.9vw, 26px); line-height: 1.38; font-weight: 800; letter-spacing: -0.025em; max-width: 30ch; }
.row__by { display: block; margin-top: 10px; font-size: 15px; font-weight: 600; }
.row__by b { font-weight: 800; }
.row__by i { font-style: normal; margin: 0 8px; }
.row__note { display: block; margin-top: 10px; font-size: 16px; max-width: 56ch; }
.row__photo { width: clamp(84px, 9vw, 120px); aspect-ratio: 4 / 5; overflow: hidden; border-radius: 0 32px 0 0; background: rgba(11, 51, 49, .12); }
.row__photo img { width: 100%; height: 100%; object-fit: cover; }
.jump { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 48px; }
.jump a { display: block; min-height: 120px; padding: 20px 22px; color: var(--ink); text-decoration: none; border-radius: 0 40px 0 0; transition: transform .18s var(--ease); }
.jump a:hover { transform: translateY(-2px); }
.jump__label { display: block; font-size: 24px; font-weight: 850; letter-spacing: -0.03em; }
.jump__lead { display: block; margin-top: 6px; font-size: 15px; font-weight: 600; }
.jump .is-keynote { background: var(--shf-teal); }
.jump .is-session2 { background: var(--shf-coral); }
.jump .is-session3 { background: var(--shf-mint); }

.session__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.session__no { font-size: 15px; font-weight: 800; letter-spacing: .08em; }
.session__name { font-size: clamp(44px, 7vw, 104px); line-height: 1; font-weight: 850; letter-spacing: -0.05em; margin-top: 8px; }
.session__format { margin-top: 14px; font-size: 18px; font-weight: 700; }
.session__mark { width: clamp(72px, 9vw, 132px); height: clamp(72px, 9vw, 132px); position: relative; }
.session__mark span { position: absolute; inset: 0; border-radius: 100% 0 0 0; background: var(--ink); opacity: .9; }
.session__mark span + span { inset: 40% 0 0 40%; border-radius: 0 100% 0 0; background: var(--paper); opacity: 1; }
.debate { padding: 24px 0; border-bottom: 1px solid currentColor; }
.debate__text { margin-top: 12px; font-size: 17px; max-width: 60ch; }
.scene--teal .row__chip { --chip: var(--shf-teal); }
.scene--coral .row__chip { --chip: var(--shf-coral); }
.scene--mint .row__chip { --chip: var(--shf-mint); }

/* ---------- posters ---------- */
.posters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.poster { display: block; width: 100%; padding: 0; border: 0; background: #1c1440; overflow: hidden; border-radius: 0 28px 0 0; }
.poster img { width: 100%; aspect-ratio: 2200 / 1555; object-fit: cover; transition: transform .4s var(--ease); }
.poster:hover img { transform: scale(1.02); }
.poster-label { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 15px; font-weight: 700; color: var(--paper); }
.poster-label span:last-child { color: var(--on-ink-2); font-weight: 500; }
.lightbox { width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: #071c1b; color: var(--paper); }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.lightbox::backdrop { background: #071c1b; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--gutter); }
.lightbox__count { font-size: 15px; color: var(--on-ink-2); }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 var(--gutter) 24px; }
.lightbox__img { width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 92px); object-fit: contain; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: max(8px, calc(var(--gutter) - 52px)); }
.lightbox__nav--next { right: max(8px, calc(var(--gutter) - 52px)); }

/* ---------- profile panel ---------- */
dialog { color: var(--ink); }
dialog::backdrop { background: rgba(11, 51, 49, .55); }
.profile { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(560px, 100%); max-width: 100%; padding: 0; border: 0; background: var(--paper); overflow: hidden; --band: var(--shf-teal); }
.profile[data-session="session2"] { --band: var(--shf-coral); }
.profile[data-session="session3"] { --band: var(--shf-mint); }
.profile[open] { animation: slide .28s var(--ease); }
@keyframes slide { from { transform: translateX(32px); opacity: 0; } to { transform: none; opacity: 1; } }
.profile__in { position: relative; height: 100%; overflow-y: auto; }
.profile__close { position: absolute; top: 16px; right: 16px; z-index: 2; }
.profile__body { padding: 0 0 48px; }
.profile__head { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 22px; align-items: end; padding: 72px clamp(20px, 5vw, 44px) 28px; background: var(--band); }
.profile__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper); border-radius: 0 32px 0 0; }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile__role { display: inline-block; padding: 3px 10px; background: var(--ink); color: var(--band); font-size: 13px; font-weight: 800; border-radius: 2px; }
.profile__name { margin-top: 10px; font-size: 34px; line-height: 1.12; font-weight: 850; letter-spacing: -0.035em; }
.profile__en { margin-top: 4px; font-size: 15px; font-weight: 600; }
.profile__rest { padding: 0 clamp(20px, 5vw, 44px); }
.profile__quote { margin-top: 28px; padding-bottom: 24px; border-bottom: 2px solid var(--ink); font-size: 21px; line-height: 1.5; font-weight: 800; letter-spacing: -0.02em; }
.profile__block { margin-top: 28px; }
.profile__label { font-size: 13px; font-weight: 800; color: var(--ink-2); letter-spacing: .04em; margin-bottom: 8px; }
.profile__list li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.profile__list li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 8px; background: var(--band); border-radius: 100% 0 0 0; }
.profile__session { margin-top: 28px; font-size: 15px; color: var(--ink-2); }

/* ---------- tracks ---------- */
.tracks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.track { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 40px); background: var(--card); border: 2px solid var(--ink); border-radius: 0 48px 0 0; }
.track__tag { align-self: flex-start; padding: 4px 12px; font-size: 13px; font-weight: 800; border-radius: 2px; }
.track--free .track__tag { background: var(--shf-teal); }
.track--general .track__tag { background: var(--shf-sand); }
.track__name { margin-top: 16px; font-size: clamp(28px, 3vw, 38px); font-weight: 850; letter-spacing: -0.035em; }
.track__who { margin-top: 6px; font-size: 16px; color: var(--ink-2); }
.track__price { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.track__price-name { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.track__price-value { display: block; margin-top: 2px; font-size: clamp(34px, 3.6vw, 48px); line-height: 1.1; font-weight: 850; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.track__price-note { font-size: 14px; color: var(--ink-2); }
.track__terms { margin: 22px 0 28px; display: grid; gap: 12px; }
.track__terms li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.track .btn { margin-top: auto; align-self: flex-start; }
.account { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 20px; padding: 22px clamp(20px, 3vw, 40px); background: var(--shf-sand); border-radius: 0 32px 0 0; }
.account__label { font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.account__value { font-size: clamp(17px, 4.8vw, 20px); font-weight: 850; font-variant-numeric: tabular-nums; white-space: nowrap; }
.account__holder { font-size: 15px; }
.copy-status { font-size: 14px; font-weight: 700; min-height: 1.4em; }

/* ---------- registration: the destination ---------- */
.scene--form { padding-top: 0; }
.divider { display: flex; height: 56px; overflow: hidden; margin-bottom: clamp(56px, 7vw, 104px); }
.divider .shape { position: static; flex: 0 0 56px; width: 56px; height: 56px; }
.reg { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 4vw, 64px); align-items: start; }
.reg__aside { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--top-h) + 24px); }
.reg__main { grid-column: 1; grid-row: 1; min-width: 0; }
.pay { padding: 30px; background: var(--ink); color: var(--paper); border-radius: 0 48px 0 0; --focus: var(--shf-sand); }
.pay__label { font-size: 13px; font-weight: 800; color: var(--on-ink-2); letter-spacing: .04em; }
.pay__amount { margin-top: 4px; font-size: 44px; line-height: 1.1; font-weight: 850; letter-spacing: -0.035em; color: var(--shf-sand); font-variant-numeric: tabular-nums; }
.pay__amount.pay__amount--empty { font-size: 20px; line-height: 1.4; font-weight: 750; letter-spacing: -0.01em; color: var(--paper); }
.pay__note { margin-top: 6px; font-size: 14px; color: var(--on-ink-2); }
.pay__acct { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(251, 247, 239, .25); }
.pay__acct .account__value { display: block; margin-top: 4px; color: var(--paper); }
.pay__acct .account__holder { color: var(--on-ink-2); }
.pay__acct .btn { margin-top: 14px; }
.pay__acct .copy-status { color: var(--shf-sand); }
.pay__steps { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(251, 247, 239, .25); display: grid; gap: 12px; }
.pay__steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--paper); }

.form { display: grid; gap: 20px; }
.hp { position: absolute; width: 0; height: 0; overflow: hidden; visibility: hidden; }
.group { margin: 0; padding: clamp(22px, 3vw, 36px); border: 2px solid var(--ink); background: var(--card); border-radius: 0 40px 0 0; min-width: 0; }
.group__title { display: flex; align-items: center; gap: 14px; padding: 0; margin-bottom: 24px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 850; letter-spacing: -0.03em; float: left; width: 100%; }
.group__title + * { clear: both; }
.sub { margin: 22px 0 0; padding: 0; border: 0; min-width: 0; }
.sub--note { font-size: 15px; }
.label { display: block; padding: 0; margin-bottom: 8px; font-size: 15px; font-weight: 750; color: var(--ink); }
legend.label { float: left; width: 100%; }
legend.label + * { clear: both; }
.opt { font-weight: 500; color: var(--ink-2); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.input { display: block; width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid var(--field-line); border-radius: var(--radius); background: var(--paper); font-size: 16px; line-height: 1.4; transition: border-color .15s, box-shadow .15s, background-color .15s; }
.input::placeholder { color: var(--ink-2); }
.input:hover { border-color: var(--ink-2); }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(60, 196, 188, .45); background: var(--card); }
.input--area { resize: vertical; min-height: 120px; }
.input[aria-invalid="true"] { border-color: var(--danger); background: var(--danger-soft); }
.hint { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.hint--count { text-align: right; font-variant-numeric: tabular-nums; }
#question-perk { margin: 0 0 10px; max-width: 60ch; }
.field-error { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--danger); }
.choices { display: grid; gap: 10px; }
.choices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choices--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.choice { position: relative; display: block; min-width: 0; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice__body { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; align-items: start; height: 100%; min-height: 56px; padding: 14px 16px; border: 2px solid var(--field-line); border-radius: var(--radius); background: var(--paper); transition: border-color .15s, background-color .15s; }
.choice__dot { grid-row: 1 / span 3; width: 22px; height: 22px; margin-top: 1px; border: 2px solid var(--ink); border-radius: 50%; background: var(--card); transition: border-width .15s; }
.choice__title { font-size: 16px; font-weight: 800; line-height: 1.45; }
.choice__meta { font-size: 14px; line-height: 1.5; }
.choice__price { margin-top: 6px; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.choice:hover .choice__body { border-color: var(--ink); }
.choice input:checked + .choice__body { border-color: var(--ink); background: var(--shf-mint); }
.choice input:checked + .choice__body .choice__dot { border-width: 7px; }
.choice input:focus-visible + .choice__body { outline: 3px solid var(--ink); outline-offset: 2px; }
.choices.is-invalid .choice__body { border-color: var(--danger); }
.consent { display: grid; gap: 10px; }
.check { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; min-height: 44px; padding: 10px 0; cursor: pointer; }
.check input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.check__box { width: 24px; height: 24px; border: 2px solid var(--ink); border-radius: 4px; background: var(--card); position: relative; }
.check input:checked + .check__box { background: var(--ink); }
.check input:checked + .check__box::after { content: ""; position: absolute; left: 6px; top: 1px; width: 7px; height: 13px; border: solid var(--shf-sand); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.check input:focus-visible + .check__box { outline: 3px solid var(--ink); outline-offset: 2px; }
.check input[aria-invalid="true"] + .check__box { border-color: var(--danger); }
.check__text { font-size: 16px; font-weight: 700; line-height: 1.5; }
.consent__detail { margin-left: 38px; }
.consent__detail summary { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.consent__list { margin: 4px 0 8px; padding: 14px 16px; background: var(--paper); border-left: 4px solid var(--shf-teal); }
.consent__list div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 6px 0; font-size: 14px; }
.consent__list dt { font-weight: 800; }
.submit { display: grid; gap: 14px; }
.form-status { padding: 14px 16px; border-radius: var(--radius); border: 2px solid var(--danger); background: var(--danger-soft); color: var(--danger); font-size: 15px; font-weight: 700; line-height: 1.55; }
.form-status a { color: inherit; }
.done { padding: clamp(28px, 4vw, 48px); background: var(--card); border: 2px solid var(--ink); border-radius: 0 48px 0 0; }
.done:focus { outline: none; }
.done__kicker { display: inline-block; padding: 3px 10px; background: var(--shf-mint); font-size: 13px; font-weight: 800; border-radius: 2px; }
.done__title { margin-top: 12px; font-size: clamp(26px, 3vw, 36px); line-height: 1.22; font-weight: 850; letter-spacing: -0.03em; }
.done__id { margin-top: 20px; display: inline-flex; flex-direction: column; padding: 14px 20px; background: var(--ink); color: var(--paper); border-radius: 0 24px 0 0; }
.done__id span { font-size: 13px; font-weight: 700; color: var(--on-ink-2); }
.done__id strong { font-size: 28px; font-weight: 850; letter-spacing: .02em; color: var(--shf-sand); font-variant-numeric: tabular-nums; }
.done__list { margin-top: 24px; border-top: 2px solid var(--ink); }
.done__list div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.done__list dt { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.done__list dd { font-size: 16px; font-weight: 700; }
.done__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- about on teal ---------- */
.about { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about__year { margin-top: 24px; font-size: clamp(96px, 15vw, 220px); line-height: .9; font-weight: 850; letter-spacing: -0.06em; color: var(--ink); }
.about__slogan { margin-top: 36px; padding-top: 28px; border-top: 2px solid var(--ink); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.35; font-weight: 850; letter-spacing: -0.025em; }
.about__shapes { position: absolute; right: 0; bottom: 0; width: clamp(140px, 22vw, 320px); height: clamp(140px, 22vw, 320px); pointer-events: none; }
.about__s1 { --s: 100%; right: 0; bottom: 0; opacity: .9; }
.about__s2 { --s: 50%; right: 50%; bottom: 0; }

/* ---------- partners on ink ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tier { padding: 28px; border: 2px solid rgba(251, 247, 239, .35); border-radius: 0 40px 0 0; }
.tier .sq { background: var(--shf-sand); }
.tier__name { margin-top: 18px; font-size: clamp(28px, 3vw, 40px); font-weight: 850; letter-spacing: -0.035em; color: var(--paper); }
.tier__role { font-size: 16px; color: var(--on-ink-2); }
.perks { margin-top: 48px; display: grid; gap: 20px; justify-items: start; }
.perks .h3 { color: var(--paper); }
.perks__list { display: flex; flex-wrap: wrap; gap: 8px; }
.perks__list li { padding: 8px 16px; border: 2px solid rgba(251, 247, 239, .4); border-radius: 999px; font-size: 15px; font-weight: 700; color: var(--paper); }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.contact > div { padding: 24px; border: 2px solid var(--ink); border-radius: 0 32px 0 0; background: var(--card); }
.contact dt { font-size: 13px; font-weight: 800; color: var(--ink-2); letter-spacing: .04em; }
.contact dd { margin-top: 8px; font-size: 20px; font-weight: 800; }
.contact dd a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--shf-teal); }
.contact dd a:hover { text-decoration-color: var(--ink); }
.contact__links { display: grid; justify-items: start; }

/* ---------- footer ---------- */
.foot { background: var(--paper); border-top: 2px solid var(--ink); padding: 40px 0 56px; }
.foot__in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 16px 28px; align-items: center; }
.foot__logo { width: auto; height: 48px; }
.foot__name { font-size: 16px; font-weight: 800; }
.foot__meta { font-size: 14px; color: var(--ink-2); }
.foot__top { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 2px solid var(--ink); border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 750; }
.foot__top:hover { background: var(--shf-sand); }
.foot__share { display: flex; align-items: center; gap: 14px; }
.foot__qr { width: 88px; height: 88px; border: 2px solid var(--ink); background: #fff; }
.noscript { padding: 20px; text-align: center; }

/* ---------- widths ---------- */
@media (max-width: 1199px) {
  .reg { grid-template-columns: minmax(0, 1fr) 330px; }
}
@media (min-width: 840px) and (max-width: 1279px) {
  .hero__s1 { display: none; }
}
@media (max-width: 1023px) {
  .people { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px 10px; }
  .reg { grid-template-columns: minmax(0, 1fr); }
  .reg__aside, .reg__main { grid-column: 1; grid-row: auto; }
  .reg__aside { position: static; }
  .facts, .about { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 839px) {
  .hero { min-height: 0; }
  .hero__text { max-width: none; }
  .hero__shapes { position: relative; inset: auto; height: 190px; order: 2; margin: 32px var(--gutter) 0; }
  .hero__mark { top: 0; right: 0; width: 132px; }
  .hero__s1 { --s: 86px; right: 156px; top: 72px; }
  .hero__s2 { display: none; }
  .hero__s3 { --s: 48px; right: 168px; top: 0; }
  .hero__s4 { right: 230px; top: 150px; }
  .about__shapes { display: none; }
  .hero__in { order: 1; }
  .hero > .wrap:last-child { order: 3; }
  .disc { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 460px; }
  .strip { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .strip__item--en dd, .strip__item--end dd { text-align: left; }
  .jump { grid-template-columns: minmax(0, 1fr); }
  .jump a { min-height: 0; }
  .tracks, .tiers, .contact { grid-template-columns: minmax(0, 1fr); }
  .posters { gap: 12px; }
  .choices--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .session__head { grid-template-columns: minmax(0, 1fr); }
  .session__mark { display: none; }
}
@media (max-width: 599px) {
  .people { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 8px; }
  .person__name { font-size: 14px; }
  .person__role { font-size: 12px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .choices--2, .choices--3, .choices--4 { grid-template-columns: minmax(0, 1fr); }
  .posters { grid-template-columns: minmax(0, 1fr); }
  .row { grid-template-columns: minmax(0, 1fr) 76px; gap: 14px; align-items: start; }
  .row__photo { width: 76px; }
  .profile__head { grid-template-columns: 104px minmax(0, 1fr); gap: 16px; }
  .profile__name { font-size: 28px; }
  .account { flex-direction: column; align-items: stretch; }
  .account .btn { width: 100%; }
  .pay { padding: 22px; }
  .pay__amount { font-size: 38px; }
  .done__list div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .foot__in { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .lightbox__nav { top: auto; bottom: 16px; transform: none; }
  .lightbox__stage { padding-bottom: 76px; }
  .lightbox__nav--prev { left: var(--gutter); }
  .lightbox__nav--next { right: var(--gutter); }
}
@media (max-width: 359px) {
  .people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .disc li { font-size: 14px; padding-inline: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

