@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/Onest-VF.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("/assets/fonts/Literata-VF.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --void0: #050403;
  --void1: #0d0b09;
  --void2: #16130f;
  --ink: #f1ebe1;
  --ink2: #bdb1a1;
  --ink3: #8e8374;
  --flame: #ffd9a0;
  --gold: #e0bd78;
  --on-gold: #1a140b;
  --gold-soft: rgba(224, 189, 120, 0.14);
  --glass: rgba(241, 235, 225, 0.07);
  --ring: rgba(241, 235, 225, 0.14);
  --s4: 4px;
  --s8: 8px;
  --s12: 12px;
  --s16: 16px;
  --s20: 20px;
  --s24: 24px;
  --s32: 32px;
  --gutter: 20px;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Onest", -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.16, 0.84, 0.44, 1);
  --section: 64px;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background: var(--void0);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--void0);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  overflow-wrap: break-word;
  hyphens: manual;
  -webkit-font-smoothing: antialiased;
  min-width: 320px;
}
img {
  max-width: 100%;
  height: auto;
}
h1, h2, h3, p, ul, ol, figure {
  margin: 0;
}
ul, ol {
  padding: 0;
  list-style: none;
}
a {
  color: var(--gold);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:hover {
  color: var(--flame);
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.mail {
  overflow-wrap: anywhere;
  hyphens: none;
}

.wrap {
  width: 100%;
  max-width: 1184px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.narrow {
  max-width: 744px;
}
@media (min-width: 700px) {
  :root {
    --gutter: 32px;
  }
}
@media (min-width: 900px) {
  :root {
    --section: 96px;
  }
}

.skip {
  position: absolute;
  left: var(--s16);
  top: -80px;
  background: var(--gold);
  color: var(--on-gold);
  padding: var(--s12) var(--s16);
  border-radius: 12px;
  z-index: 20;
  text-decoration: none;
}
.skip:focus {
  top: var(--s12);
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 10;
  isolation: isolate;
}
.site-head::before {
  content: "";
  position: absolute;
  inset: 0 0 -24px 0;
  z-index: -1;
  background: linear-gradient(rgba(5, 4, 3, 0.9), rgba(5, 4, 3, 0.6));
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  -webkit-mask-image: linear-gradient(#000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(#000 calc(100% - 24px), transparent);
  pointer-events: none;
}
.head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s8);
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s8);
  color: var(--ink);
  text-decoration: none;
  font: 500 12px/1 var(--sans);
  letter-spacing: 0.18em;
}
.brand:hover {
  color: var(--ink);
}
.brand img {
  border-radius: 7px;
  display: block;
}
.head-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}
.head-nav a,
.lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: var(--ink2);
  text-decoration: none;
  font-size: 14px;
  border-radius: 12px;
  padding-inline: var(--s8);
  transition: color 0.24s var(--ease), background-color 0.24s var(--ease);
}
.head-nav a:hover,
.lang a:hover {
  color: var(--ink);
}
.head-nav a[aria-current],
.lang a[aria-current] {
  color: var(--gold);
}
.lang {
  display: flex;
  min-width: 108px;
}
.lang a {
  min-width: 36px;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.lang a[aria-current] {
  background: var(--gold-soft);
}
.hide-sm {
  display: none !important;
}
.brand,
.sound,
.lang {
  flex-shrink: 0;
}

@media (max-width: 479px) {
  .head-nav {
    display: none;
  }
  .site-head .sound {
    margin-left: auto;
  }
}
@media (min-width: 430px) {
  .brand {
    font-size: 13px;
    letter-spacing: 0.24em;
  }
  .head-nav a,
  .lang a {
    padding-inline: var(--s12);
  }
  .lang a {
    min-width: 44px;
  }
  .lang {
    min-width: 132px;
  }
}
@media (min-width: 800px) {
  .hide-sm {
    display: inline-flex !important;
  }
  .head-nav {
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .site-head .brand,
  .site-head .head-nav,
  .site-head .lang {
    animation: nav-in 0.9s var(--ease) both;
  }
  .site-head .brand { animation-delay: 0.35s; }
  .site-head .head-nav { animation-delay: 0.5s; }
  .site-head .lang { animation-delay: 0.65s; }
}
@keyframes nav-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  text-wrap: balance;
}
h1 {
  font-size: clamp(28px, 5.4vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.005em;
}
h3 {
  font-size: 20px;
  line-height: 1.3;
}
p {
  text-wrap: pretty;
  color: var(--ink2);
}
.sub {
  font-size: 18px;
  color: var(--ink2);
  max-width: 52ch;
}

main > section {
  padding-block: var(--section) 0;
}
main > section:first-child {
  padding-top: var(--s32);
}
main {
  padding-bottom: var(--section);
}

.hero {
  position: relative;
  isolation: isolate;
  padding-bottom: var(--s32);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -64px 0 0;
  z-index: -1;
  background:
    radial-gradient(48% 56% at 74% 36%, rgba(255, 190, 110, 0.13), transparent 70%),
    radial-gradient(36% 40% at 8% 0%, rgba(224, 189, 120, 0.06), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s32);
  align-items: center;
}
.hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s20);
}
.hero-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  box-shadow: 0 0 60px -10px rgba(255, 190, 110, 0.3);
}
.eyebrow {
  font-size: 15px;
  color: var(--flame);
  opacity: 0.9;
}
.lead {
  font-size: 18px;
  line-height: 1.65;
  max-width: 54ch;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s12);
  padding: var(--s12) var(--s20);
  border-radius: 999px;
  background: var(--glass);
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--flame);
  box-shadow: 0 0 12px 2px rgba(255, 190, 110, 0.55);
}

.phone {
  --w: 208px;
  --r: 29px;
  position: relative;
  width: var(--w);
  max-width: 100%;
  border-radius: var(--r);
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 1px var(--ring), 0 24px 48px -24px rgba(0, 0, 0, 0.9);
  transform: translateZ(0);
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-phones {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--s16);
  padding-bottom: var(--s32);
}
.hero-phones .phone {
  --w: min(calc((100vw - 2 * var(--gutter) - var(--s16)) / 2), 240px);
  --r: clamp(24px, 6vw, 34px);
}
.hero-phones .phone-b {
  margin-top: var(--s32);
}
.hero-phones .phone-a {
  box-shadow: 0 0 0 1px var(--ring), 0 24px 80px -20px rgba(255, 190, 110, 0.18), 0 24px 48px -24px rgba(0, 0, 0, 0.9);
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 64px;
  }
  .hero-phones {
    justify-content: flex-end;
    gap: var(--s24);
  }
  .hero-phones .phone-b {
    margin-top: 64px;
  }
  .hero-phones .phone-a {
    margin-top: -16px;
  }
}

.facts-sec {
  padding-top: var(--s32) !important;
}
.facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s20);
}
.facts li {
  display: flex;
  align-items: center;
  gap: var(--s20);
}
.facts .num {
  min-width: 72px;
}
@media (min-width: 700px) {
  .facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s24);
  }
  .facts li {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s8);
  }
}
.num {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1;
  color: var(--gold);
}
.cap {
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink2);
  max-width: 24ch;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s24);
  align-items: start;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
  }
}
.split-head {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: var(--s16);
}
.prose {
  display: flex;
  flex-direction: column;
  gap: var(--s20);
  max-width: 62ch;
}
.sec-head {
  display: flex;
  flex-direction: column;
  gap: var(--s16);
  margin-bottom: var(--s32);
}

.inside-list {
  display: flex;
  flex-direction: column;
  gap: var(--s12);
}
.row-card,
.step-card {
  background: var(--void2);
  border-radius: 32px;
  padding: var(--s20);
}
.row-card {
  display: flex;
  align-items: flex-start;
  gap: var(--s16);
  min-height: 112px;
}
.row-card h3,
.step-card h3 {
  margin-bottom: var(--s8);
}
.row-card p,
.step-card p {
  font-size: 16px;
  line-height: 1.6;
}
.plate {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--gold);
}
.plate-num {
  font: 500 20px/1 var(--serif);
  margin-bottom: var(--s16);
}
.steps-grid {
  display: grid;
  gap: var(--s12);
}
.step-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@media (min-width: 900px) {
  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s16);
  }
}
.note {
  margin-top: var(--s24);
  font-size: 15px;
  color: var(--ink3);
  max-width: 62ch;
}

.shots-scroll {
  overflow-x: auto;
  padding: var(--s24) var(--gutter) var(--s32);
  scroll-padding-inline: var(--gutter);
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.shots-scroll::-webkit-scrollbar {
  display: none;
}
.shots-list {
  display: flex;
  gap: var(--s16);
  width: max-content;
}
.shot-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: var(--s16);
}
.shot-card figcaption {
  font-size: 15px;
  color: var(--ink2);
  max-width: 208px;
}
@media (min-width: 1000px) {
  .shots-scroll {
    overflow: visible;
    max-width: 1184px;
    margin-inline: auto;
    padding: var(--s24) var(--gutter) 0;
  }
  .shots-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: auto;
    gap: var(--s20);
  }
  .shot-card .phone {
    --w: 100%;
    --r: 28px;
  }
  .shot-card figcaption {
    max-width: none;
  }
}

.legal-address {
  font-style: normal;
  color: var(--ink);
  line-height: 1.7;
}
.legal-address strong {
  font-weight: 500;
}
.contact-line {
  color: var(--ink);
}

.legal {
  padding-top: var(--s32) !important;
}
.legal h1 {
  margin-bottom: var(--s12);
}
.legal .meta {
  color: var(--ink3);
  font-size: 15px;
  margin-bottom: var(--s32);
}
.legal h2 {
  font-size: 24px;
  margin: var(--s32) 0 var(--s12);
}
.legal p,
.legal ul {
  margin-bottom: var(--s16);
}
.legal ul {
  padding-left: var(--s20);
  list-style: disc;
  color: var(--ink2);
}
.legal li + li {
  margin-top: var(--s8);
}
.legal li::marker {
  color: var(--ink3);
}
.legal address {
  margin-bottom: var(--s16);
}
.support .lead {
  margin-bottom: var(--s32);
}
.contact-card {
  background: var(--gold-soft);
  border-radius: 24px;
  padding: var(--s24);
}
.contact-card h2 {
  margin: 0 0 var(--s12);
  font-size: 24px;
}
.contact-card p {
  margin: 0;
  color: var(--ink);
}
.faq-h {
  margin-top: var(--s32) !important;
  margin-bottom: var(--s16) !important;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--s12);
  padding: 0 !important;
  list-style: none !important;
}
.faq-list li + li {
  margin-top: 0 !important;
}
.faq-card {
  background: var(--void2);
  border-radius: 24px;
  padding: var(--s20) var(--s24);
}
.faq-card h3 {
  font-size: 19px;
  margin-bottom: var(--s8);
}
.faq-card p {
  margin: 0 !important;
  font-size: 16px;
}

.site-foot {
  padding-block: var(--s32);
  background: linear-gradient(transparent, var(--void1) 48px);
}
.foot-grid {
  display: grid;
  gap: var(--s24);
  padding-top: var(--s32);
  padding-bottom: var(--s32);
}
.foot-brand {
  display: flex;
  flex-direction: column;
  gap: var(--s8);
}
.foot-brand .brand {
  margin-bottom: var(--s8);
}
.foot-brand p {
  font-size: 14px;
  color: var(--ink3);
  max-width: 44ch;
}
.foot-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s4);
}
.foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink2);
  text-decoration: none;
  font-size: 15px;
}
.foot-links a:hover {
  color: var(--ink);
}
@media (min-width: 800px) {
  .foot-grid {
    grid-template-columns: 1fr auto;
    gap: 64px;
  }
}
.credit {
  background: var(--void2);
  border-radius: 16px;
  padding: var(--s12) var(--s16);
  font-size: 14px;
  text-align: center;
}
.credit a {
  color: var(--ink2);
  text-decoration: none;
}
.credit a:hover {
  color: var(--flame);
}

@media (min-width: 900px) {
  .row-card {
    padding: var(--s24) var(--s24);
  }
  .step-card {
    padding: var(--s24);
  }
}
@media (min-width: 900px) {
  .row-card,
  .step-card {
    border-radius: 36px;
  }
}

:root {
  --reveal-dur: 1.3s;
  --reveal-ease: cubic-bezier(.16, .84, .44, 1);
  --reveal-tracks:
    rv-in    var(--reveal-dur) var(--reveal-ease) both,
    rv-rise  var(--reveal-dur) var(--reveal-ease) backwards,
    rv-focus calc(var(--reveal-dur) * .6) var(--reveal-ease) backwards;
}
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; }
  .rv.is-rv-in { animation: var(--reveal-tracks); }
  .js .rv-first { opacity: 0; }
  html[data-page-ready] .rv-first {
    animation: var(--reveal-tracks);
    animation-delay: calc(.45s + var(--i, 0) * .28s);
  }
}
@media (prefers-reduced-motion: no-preference) {
  html:not([data-rv-ready]) :is(:is(main, [data-reveal-root]) > section, .rv-first) { visibility: hidden; animation: rv-wait 0s 2.5s forwards; }
}
@keyframes rv-wait  { to { visibility: visible; } }
@keyframes rv-in    { from { opacity: 0; } to { opacity: 1; } }
@keyframes rv-rise  { from { transform: translateY(34px) scale(.94); } }
@keyframes rv-focus { from { filter: blur(10px); } }
html[lang="ru"] h1,
html[lang="tr"] h1 {
  font-size: clamp(28px, 3.7vw, 46px);
}
html[lang="ru"] .hero h1 {
  font-size: clamp(28px, 3.5vw, 46px);
}

:root {
  --plaster: #efe8dc;
  --plaster1: #f7f2e9;
  --plaster-ink: #1f1a15;
  --plaster-ink2: #5c5248;
  --gold-ink: #7a5718;
  --cinnabar: #d9775a;
  --lx: 70vw;
  --ly: 45vh;
  --lr: 0px;
}

#world,
.glow,
#dust {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#world {
  z-index: 0;
}
.glow {
  z-index: 3;
  background: radial-gradient(circle calc(var(--lr) * 1.6) at var(--lx) var(--ly), rgba(255, 196, 120, 0.085), rgba(255, 170, 90, 0.03) 45%, transparent 75%);
  mix-blend-mode: screen;
  transition: opacity 0.8s var(--ease);
}
#dust {
  z-index: 4;
  mix-blend-mode: screen;
}
html.day .glow,
html.day #dust {
  opacity: 0;
}
.page-wrapper {
  position: relative;
  z-index: 1;
}
.site-head {
  z-index: 10;
}

.layer {
  position: absolute;
  overflow: hidden;
}
.layer img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}
html:not(.cave) .layer img {
  filter: brightness(0.62) contrast(1.05);
}
html.cave .layer img {
  opacity: 0 !important;
}
html:not(.cave) .layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle var(--er, 0px) at var(--ex, 50%) var(--ey, 50%), rgba(5, 4, 3, 0) 0, rgba(5, 4, 3, 0.04) 40%, rgba(5, 4, 3, 0.5) 66%, rgba(5, 4, 3, 0.9) 86%, #050403 100%);
}

main > section.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  padding: 0;
  overflow: hidden;
  isolation: auto;
}
.hero::before {
  display: none;
}
.hero .hero-layer {
  inset: 0;
}
@media (min-width: 900px) {
  .hero .hero-layer {
    left: 34%;
  }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 4, 3, 0.92) 0, rgba(5, 4, 3, 0.5) 32%, rgba(5, 4, 3, 0) 58%);
  pointer-events: none;
}
@media (min-width: 900px) {
  .hero::after {
    background: linear-gradient(to right, rgba(5, 4, 3, 0.88) 0, rgba(5, 4, 3, 0.5) 30%, rgba(5, 4, 3, 0) 52%);
  }
}
.hero-text {
  position: absolute;
  z-index: 2;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(56px, 10vh, 112px);
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s20);
}
.hero h1,
html[lang] .hero h1 {
  font-size: clamp(36px, 5.6vw, 80px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero .lead {
  max-width: 46ch;
  font-size: clamp(16px, 1.4vw, 19px);
}
.kicker {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.hero .kicker {
  max-width: 52ch;
}
.cue {
  display: inline-flex;
  align-items: center;
  gap: var(--s12);
  font-size: 13px;
  color: var(--ink3);
}
.cue i {
  width: 1px;
  height: 32px;
  background: linear-gradient(var(--gold), transparent);
  animation: cue 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes cue {
  0% { transform: scaleY(0); }
  50% { transform: scaleY(1); }
  100% { transform: scaleY(1); opacity: 0; }
}
.hero-cap {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: 24px;
  max-width: 34ch;
  text-align: right;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink3);
}
@media (max-width: 899px) {
  .hero-cap {
    left: var(--gutter);
    text-align: left;
    max-width: none;
    bottom: 16px;
  }
  .hero-text {
    bottom: 64px;
  }
}

.field,
.map {
  position: relative;
  padding: 0 !important;
}
.field {
  height: 560vh;
}
.map .run {
  height: 360vh;
}
.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.field .field-layer {
  inset: 0;
}
.field-intro,
.field-panel {
  position: absolute;
  z-index: 3;
  left: var(--gutter);
}
.field-intro {
  top: 50%;
  width: min(520px, 42vw);
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: var(--s16);
}
.field-intro h2,
.map-head h2 {
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.012em;
  font-weight: 400;
}
.field-panel {
  top: 50%;
  width: min(460px, 38vw);
  transform: translateY(-50%);
  padding: 28px;
  border-radius: 28px;
  background: rgba(10, 8, 6, 0.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  backdrop-filter: blur(22px) saturate(1.25);
  border: 1px solid var(--ring);
  opacity: 0;
  visibility: hidden;
}
.field-panel .kicker {
  display: flex;
  justify-content: space-between;
  gap: var(--s12);
}
.field-panel .kicker span + span {
  color: var(--ink3);
}
.ticks {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s4);
  margin: var(--s16) 0 var(--s24);
}
.ticks i {
  position: relative;
  height: 2px;
  border-radius: 2px;
  background: rgba(241, 235, 225, 0.14);
  overflow: hidden;
}
.ticks i b {
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform-origin: left;
  transform: scaleX(0);
}
.swap {
  transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
}
.swap.out {
  opacity: 0;
  transform: translateY(8px);
}
.field-panel .lbl {
  font-size: 13px;
  color: var(--ink3);
}
.field-panel .show {
  margin: var(--s4) 0 var(--s20);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink2);
}
.field-panel h3 {
  font-size: 26px;
  line-height: 1.15;
  margin-bottom: var(--s12);
}
.field-panel .say {
  margin-top: var(--s4);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
}
.field-end {
  position: absolute;
  z-index: 3;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(48px, 9vh, 96px);
  max-width: 560px;
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.25;
  color: var(--ink);
  opacity: 0;
}
.field-cap {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: 16px;
  font-size: 12px;
  color: var(--ink3);
  max-width: 40ch;
  text-align: right;
}
@media (max-width: 899px) {
  .field-intro {
    top: auto;
    bottom: 56px;
    transform: none;
    width: auto;
    right: var(--gutter);
  }
  .field-panel {
    top: auto;
    bottom: 40px;
    transform: none;
    width: auto;
    right: var(--gutter);
    padding: 20px;
  }
  .field-panel h3 {
    font-size: 22px;
  }
  .field-panel .say {
    font-size: 16px;
  }
  .field-panel .show {
    margin-bottom: var(--s12);
    font-size: 14px;
  }
  .ticks {
    margin: var(--s12) 0 var(--s16);
  }
  .field-cap {
    left: var(--gutter);
    text-align: left;
    bottom: 12px;
    max-width: none;
  }
  .field-end {
    bottom: 56px;
  }
}
.steps-static {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.map .stage {
  display: grid;
  align-content: center;
  gap: var(--s24);
  padding: 88px var(--gutter) 24px;
  max-width: 1320px;
  margin-inline: auto;
}
.map-head {
  display: flex;
  flex-direction: column;
  gap: var(--s16);
  position: relative;
  z-index: 2;
}
.map-head .lead {
  max-width: 46ch;
  font-size: 17px;
}
.century {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(64px, 11vw, 160px);
  line-height: 0.9;
  color: var(--gold);
  min-height: 0.9em;
  letter-spacing: -0.02em;
}
.lit-count {
  font-size: 15px;
  color: var(--ink2);
}
.map-box {
  position: relative;
}
.map-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.land {
  fill: rgba(241, 235, 225, 0.035);
  stroke: rgba(241, 235, 225, 0.16);
  stroke-width: 1;
  stroke-linejoin: round;
}
.cand {
  cursor: pointer;
  outline: none;
}
.cand .hit {
  fill: transparent;
}
.cand .halo {
  opacity: 0;
  transition: opacity 1s var(--ease);
}
.cand .core {
  fill: #3a3128;
  transition: fill 0.8s var(--ease);
}
.cand.on .halo {
  opacity: 1;
}
.cand.on .core {
  fill: var(--flame);
}
.cand.fresh .halo {
  animation: pulse 1.6s var(--ease);
}
@keyframes pulse {
  0% { transform: scale(0.4); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.cand .halo {
  transform-box: fill-box;
  transform-origin: center;
}
.cand.on .core {
  filter: brightness(calc(1 + var(--near, 0) * 0.5));
}
.cand:focus-visible .core {
  stroke: var(--gold);
  stroke-width: 1.4;
}
.map-tip {
  position: absolute;
  z-index: 3;
  transform: translate(-50%, -100%);
  min-width: 180px;
  max-width: 260px;
  padding: var(--s12) var(--s16);
  border-radius: 16px;
  background: rgba(10, 8, 6, 0.62);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--ring);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  font-size: 13px;
  line-height: 1.35;
  color: var(--ink2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), left 0.4s var(--ease), top 0.4s var(--ease);
}
.map-tip.on {
  opacity: 1;
}
.map-tip b {
  font: 500 14px/1.3 var(--sans);
  color: var(--ink);
}
@media (min-width: 900px) {
  .map .stage {
    grid-template-columns: minmax(0, 6fr) minmax(0, 7fr);
    gap: 48px;
    align-items: center;
  }
}
.mon-all {
  padding-block: var(--s32) 0;
}
.mon-all summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--s20);
  border-radius: 999px;
  background: var(--glass);
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  font-size: 15px;
}
.mon-all summary::-webkit-details-marker {
  display: none;
}
.mon-list {
  display: grid;
  gap: var(--s4) var(--s24);
  margin-top: var(--s20);
}
.mon-list li {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: var(--s12);
  padding: var(--s8) 0;
  font-size: 14px;
  color: var(--ink2);
}
.mon-list li span:first-child {
  color: var(--ink);
}
@media (max-width: 699px) {
  .mon-list li {
    grid-template-columns: 1fr auto;
  }
  .mon-list li span:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
    color: var(--ink3);
  }
}
@media (min-width: 1000px) {
  .mon-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

main > section.inside {
  position: relative;
  padding: var(--section) 0;
}
.soft {
  position: relative;
  overflow: hidden;
}
.soft::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle var(--er, 0px) at var(--ex, 50%) var(--ey, 50%), rgba(255, 196, 120, 0.2), rgba(255, 170, 90, 0.07) 55%, transparent 100%);
  opacity: var(--near, 0);
}
.soft > * {
  position: relative;
}
.screens-head {
  margin-top: var(--section);
}
main > section.offline {
  padding: var(--section) 0 0;
}
.airplane {
  display: grid;
  gap: var(--s16);
  margin-bottom: var(--s32);
}
@media (min-width: 900px) {
  .airplane {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--s32);
    align-items: start;
  }
}
.toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--s16);
  min-height: 64px;
  padding: 0 var(--s20);
  border: 0;
  border-radius: 32px;
  background: var(--void2);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  justify-self: start;
  text-align: left;
}
.toggle .sw {
  position: relative;
  width: 48px;
  height: 28px;
  border-radius: 14px;
  background: rgba(241, 235, 225, 0.16);
  transition: background-color 0.3s var(--ease);
  flex: none;
}
.toggle .sw i {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
.toggle[aria-pressed="true"] .sw {
  background: var(--gold);
}
.toggle[aria-pressed="true"] .sw i {
  transform: translateX(20px);
  background: var(--on-gold);
}
.toggle .ts {
  color: var(--ink3);
  font-size: 14px;
}
.off-list {
  display: flex;
  flex-direction: column;
  gap: var(--s8);
}
.off-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s16);
  min-height: 56px;
  padding: var(--s12) var(--s20);
  border-radius: 20px;
  background: var(--void2);
  color: var(--ink);
}
.off-row b {
  font-weight: 500;
  font-size: 14px;
  text-align: right;
}
.off-row .ok {
  color: var(--gold);
}
.off-row .no {
  color: var(--cinnabar);
}
.airplane.on .off-row:last-child {
  opacity: 0.8;
}

@media (prefers-reduced-motion: reduce) {
  .field,
  .map .run {
    height: auto;
  }
  .stage {
    position: relative;
    height: auto;
    min-height: 0;
    padding-block: 96px 32px;
  }
  .field .stage {
    display: grid;
    gap: var(--s24);
    padding: 96px var(--gutter) 32px;
  }
  .field .field-layer {
    position: relative;
    inset: auto;
    aspect-ratio: 1800 / 923;
    border-radius: 24px;
  }
  .field-intro {
    position: static;
    transform: none;
    width: auto;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .field-panel,
  .field-end {
    display: none;
  }
  .field-cap {
    position: static;
    text-align: left;
    max-width: none;
  }
  .steps-static {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
    white-space: normal;
    max-width: 1320px;
    margin-inline: auto;
    padding: 0 var(--gutter) var(--section);
    display: block;
  }
  .steps-static h3 {
    margin-bottom: var(--s16);
  }
  .steps-static ol {
    display: grid;
    gap: var(--s12);
  }
  .fs-card {
    background: var(--void2);
    border-radius: 24px;
    padding: var(--s20) var(--s24);
  }
  .fs-card p {
    font-size: 16px;
  }
  .fs-n {
    font-size: 13px;
    color: var(--gold) !important;
  }
  .html html,
  .layer img {
    filter: none !important;
  }
  html:not(.cave) .layer::after {
    display: none;
  }
  .glow,
  #dust {
    display: none;
  }
  .map .stage {
    min-height: 0;
  }
}
html:not(.js) .field,
html:not(.js) .map .run {
  height: auto;
}
html:not(.js) .stage {
  position: relative;
  height: auto;
}
html:not(.js) .steps-static {
  position: static;
  width: auto;
  height: auto;
  clip: auto;
  white-space: normal;
  padding: var(--s32) var(--gutter);
}
html:not(.js) .field-intro {
  position: static;
  transform: none;
  width: auto;
}
html:not(.js) .field-panel,
html:not(.js) .field-end {
  display: none;
}

.hero-text,
.field-intro,
.map-head {
  text-shadow: 0 1px 18px rgba(5, 4, 3, 0.55);
}

.nw {
  white-space: nowrap;
}
@media (max-width: 899px) {
  .hero-text {
    left: 16px;
    right: 16px;
    bottom: 56px;
    padding: var(--s20);
    gap: var(--s16);
    border-radius: 28px;
    background: rgba(10, 8, 6, 0.5);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    backdrop-filter: blur(18px) saturate(1.2);
    border: 1px solid var(--ring);
    text-shadow: none;
  }
  .hero .lead {
    font-size: 15px;
    line-height: 1.55;
  }
  .hero::after {
    background: linear-gradient(to top, rgba(5, 4, 3, 0.7) 0, rgba(5, 4, 3, 0) 40%);
  }
  .field-panel {
    bottom: 56px;
  }
  .field-cap {
    bottom: 16px;
  }
  .map-tip {
    position: static;
    transform: none;
    margin-top: var(--s12);
    max-width: none;
    left: auto !important;
    top: auto !important;
  }
  .map .stage {
    padding-top: 80px;
    gap: var(--s16);
  }
  .century {
    font-size: 72px;
  }
}

.spot {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}
.spot i {
  position: absolute;
  left: -5px;
  top: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--flame);
  box-shadow: 0 0 0 5px rgba(255, 217, 160, 0.22), 0 0 22px 6px rgba(255, 190, 110, 0.55);
}
.spot span {
  position: absolute;
  left: 18px;
  top: -16px;
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(10, 8, 6, 0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--ring);
  font-size: 13px;
  color: var(--ink);
}
.spot.left span {
  left: auto;
  right: 18px;
}
.field-end {
  padding: var(--s20) var(--s24);
  border-radius: 24px;
  background: rgba(10, 8, 6, 0.5);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--ring);
  width: min(560px, calc(100% - 2 * var(--gutter)));
  right: auto;
}
@media (prefers-reduced-motion: reduce) {
  .spot {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) {
    animation: vt-out 0.32s cubic-bezier(0.4, 0, 1, 1) both;
  }
  ::view-transition-new(root) {
    animation: vt-in 0.7s cubic-bezier(0.16, 0.84, 0.44, 1) 0.1s both;
  }
}
@keyframes vt-out {
  to { opacity: 0; filter: brightness(0.4); }
}
@keyframes vt-in {
  from { opacity: 0; filter: brightness(0.5); }
}

html.cave .hero-cap {
  display: none;
}
html.cave .hero::after {
  background: linear-gradient(to right, rgba(5, 4, 3, 0.55) 0, rgba(5, 4, 3, 0.2) 40%, rgba(5, 4, 3, 0) 60%);
}
@media (max-width: 899px) {
  html.cave .hero::after {
    background: linear-gradient(to top, rgba(5, 4, 3, 0.55) 0, rgba(5, 4, 3, 0) 45%);
  }
}
.walk {
  position: relative;
  height: 520vh;
  padding: 0 !important;
}
.walk-note {
  position: absolute;
  z-index: 3;
  left: var(--gutter);
  top: 88px;
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink2);
}
.walk-cap {
  position: absolute;
  z-index: 3;
  left: var(--gutter);
  bottom: 56px;
  width: min(420px, 38vw);
  padding: 24px;
  border-radius: 28px;
  background: rgba(10, 8, 6, 0.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  backdrop-filter: blur(22px) saturate(1.25);
  border: 1px solid var(--ring);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
}
.walk-cap.out {
  transform: translateY(8px);
}
.walk-cap .kicker {
  display: flex;
  justify-content: space-between;
  gap: var(--s12);
}
.walk-cap .kicker span + span {
  color: var(--ink3);
}
.walk-cap h3 {
  font-size: 26px;
  line-height: 1.15;
  margin: var(--s12) 0 var(--s8);
}
.walk-cap .wp {
  color: var(--ink2);
  font-size: 15px;
}
.walk-cap .wcr {
  margin-top: var(--s12);
  font-size: 12px;
  color: var(--ink3);
}
.plan {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: 56px;
  width: min(300px, 30vw);
  opacity: 0;
}
.plan-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.plan-svg .pl-floor,
.plan-svg .pl-roof,
.plan-svg .pl-arch {
  fill: none;
  stroke: rgba(241, 235, 225, 0.28);
  stroke-width: 0.5;
  stroke-linejoin: round;
}
.plan-svg .pl-stop circle {
  fill: rgba(241, 235, 225, 0.25);
  transition: fill 0.4s var(--ease);
}
.plan-svg .pl-stop.on circle {
  fill: var(--gold);
}
.plan-svg .pl-dot {
  fill: var(--flame);
}
.plan-svg .pl-halo {
  fill: rgba(255, 190, 110, 0.18);
}
.plan-svg text {
  font: 400 2.8px var(--sans);
  fill: var(--ink3);
  text-anchor: middle;
}
.sound {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink2);
  cursor: pointer;
}
.sound .w {
  opacity: 0.25;
}
.sound[aria-pressed="true"] {
  color: var(--gold);
  background: var(--gold-soft);
}
.sound[aria-pressed="true"] .w {
  opacity: 1;
}
@media (max-width: 899px) {
  .walk-note {
    top: 76px;
    right: var(--gutter);
    max-width: none;
  }
  .walk-cap {
    left: 16px;
    right: 16px;
    width: auto;
    bottom: 40px;
    padding: 20px;
  }
  .walk-cap h3 {
    font-size: 22px;
  }
  .plan {
    right: auto;
    left: var(--gutter);
    width: 180px;
    bottom: auto;
    top: 130px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .walk {
    height: auto;
  }
  .walk .stage,
  .walk-cap,
  .plan,
  .walk-note {
    display: none;
  }
}
html:not(.js) .walk {
  height: auto;
}
html:not(.js) .walk .stage {
  display: none;
}

#world {
  filter: contrast(1.08) saturate(1.05);
}
html.cave body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 70% at 60% 50%, transparent 35%, rgba(5, 4, 3, 0.55) 100%);
}

.lantern {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 6;
  pointer-events: none;
  transform-origin: 50% 4%;
  mix-blend-mode: screen;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .lantern {
    display: none;
  }
}
html:not(.js) .lantern {
  display: none;
}

.room-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: #050403 url("/assets/tex/chapel.webp") center / cover no-repeat;
  filter: brightness(0.5) saturate(0.95);
}
.room-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 80% at 50% 45%, rgba(5, 4, 3, 0.3), rgba(5, 4, 3, 0.86));
}
body.room main,
body.room .site-foot {
  position: relative;
  z-index: 1;
}
body.room .legal .narrow {
  padding: var(--s24);
  border-radius: 32px;
  background: rgba(10, 8, 6, 0.58);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid var(--ring);
}
body.room .faq-card {
  background: rgba(22, 19, 15, 0.7);
}
body.room .site-foot {
  background: linear-gradient(transparent, rgba(13, 11, 9, 0.85) 48px);
}
@media (max-width: 699px) {
  body.room .legal .narrow {
    padding: var(--s20);
    border-radius: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .room-bg {
    filter: brightness(0.4);
  }
}

.page-shell {
  position: relative;
  z-index: 1;
}
.lantern {
  view-transition-name: lantern;
}
html.plain #world {
  opacity: 0;
}
.room-bg {
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.room-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  filter: brightness(2);
  -webkit-mask-image: radial-gradient(circle var(--lr, 0px) at var(--lx, 50%) var(--ly, 50%), #000 0, transparent 100%);
  mask-image: radial-gradient(circle var(--lr, 0px) at var(--lx, 50%) var(--ly, 50%), #000 0, transparent 100%);
}
.credits-note {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink3);
  max-width: 78ch;
  margin-bottom: var(--s16);
}
.cr-a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
}
.cr-a:hover {
  color: var(--ink2);
}
html.home:not(.cave) body::after {
  display: none;
}

@property --ft {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --fb {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
.lec [hidden] {
  display: none !important;
}
.lec {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s16);
  padding-top: var(--s32);
  position: relative;
  z-index: 1;
}
body.lecture .wrap {
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}
.lec-panel {
  padding: var(--s20);
  border-radius: 32px;
  background: rgba(10, 8, 6, 0.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid var(--ring);
}
.lec-intro h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  margin: var(--s12) 0 var(--s16);
}
.lec-intro .kicker {
  font-size: 15px;
}
.lec-intro .lead {
  color: var(--ink2);
}
.lec-note {
  display: flex;
  align-items: flex-start;
  gap: var(--s12);
  margin-top: var(--s16);
  max-width: 54ch;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}
.lec-note svg {
  flex: none;
  margin-top: 2px;
  color: var(--gold);
}
.facts-list {
  margin: var(--s24) 0 0;
}
.facts-list > div {
  display: grid;
  gap: var(--s4);
  padding-block: var(--s12);
}
.facts-list > div:first-child {
  padding-top: 0;
}
.facts-list > div:last-child {
  padding-bottom: 0;
}
.facts-list > div + div {
  border-top: 1px solid var(--ring);
}
.facts-list dt {
  font-size: 14px;
  color: var(--ink3);
}
.facts-list dd {
  margin: 0;
  color: var(--ink);
}
.lec-head {
  display: flex;
  flex-direction: column;
  gap: var(--s8);
  padding: var(--s20);
  border-radius: 32px;
  background: rgba(10, 8, 6, 0.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid var(--ring);
  margin-bottom: var(--s12);
}
.lec-head .sub,
.reg-head .sub {
  font-size: 16px;
}
.ag-list {
  display: grid;
  grid-auto-rows: 1fr;
  gap: var(--s12);
}
.ag-row {
  display: flex;
  align-items: flex-start;
  gap: var(--s16);
  min-height: 112px;
  padding: var(--s20);
  border-radius: 32px;
  background: rgba(22, 19, 15, 0.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.ag-row h3 {
  margin-bottom: var(--s8);
}
.ag-row p {
  font-size: 16px;
  line-height: 1.6;
}
.ag-time {
  width: auto;
  min-width: 48px;
  padding-inline: var(--s8);
  font: 500 16px/1 var(--serif);
  font-variant-numeric: tabular-nums;
}
.lec-data h2 {
  font-size: 24px;
  margin-bottom: var(--s12);
}
.lec-data p {
  font-size: 15px;
  line-height: 1.6;
}
.lec-data p + p {
  margin-top: var(--s12);
}

.lec-reg {
  padding: 0;
}
.reg-scroll {
  padding: var(--s20);
}
.reg-head {
  display: flex;
  flex-direction: column;
  gap: var(--s8);
  margin-bottom: var(--s24);
}
.reg-head h2,
.reg-done h2,
.lec-head h2 {
  font-size: clamp(26px, 3vw, 32px);
}
.reg-head h2:focus {
  outline: none;
}
.reg {
  display: flex;
  flex-direction: column;
  gap: var(--s20);
}
.fld {
  display: flex;
  flex-direction: column;
  gap: var(--s8);
  min-width: 0;
}
.fld > label {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.fld .opt {
  font-weight: 400;
  color: var(--ink3);
}
.fld input[type="text"],
.fld input[type="tel"],
.fld input[type="email"] {
  width: 100%;
  height: 52px;
  padding: 0 var(--s16);
  border-radius: 16px;
  border: 1px solid var(--ring);
  background: rgba(241, 235, 225, 0.06);
  color: var(--ink);
  font: 400 17px/1.2 var(--sans);
  transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.fld input::placeholder {
  color: var(--ink3);
  opacity: 0.8;
}
.fld input[type="text"]:hover,
.fld input[type="tel"]:hover,
.fld input[type="email"]:hover {
  border-color: rgba(241, 235, 225, 0.26);
}
.fld input[type="text"]:focus,
.fld input[type="tel"]:focus,
.fld input[type="email"]:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(241, 235, 225, 0.09);
  box-shadow: 0 0 0 3px rgba(224, 189, 120, 0.18);
}
.fld.bad > input,
.fld.bad > input[type]:focus,
.fld.bad > input[type]:hover {
  border-color: var(--cinnabar);
  box-shadow: 0 0 0 3px rgba(217, 119, 90, 0.14);
}
.f-hint {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink3);
}
.f-err {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  margin-top: calc(var(--s8) * -1);
  transition: grid-template-rows 0.42s var(--ease), opacity 0.42s var(--ease), margin-top 0.42s var(--ease);
}
.f-err > .f-err-t {
  overflow: hidden;
  min-height: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--cinnabar);
}
.fld.bad > .f-err,
[data-f].bad > .f-err,
.form-err.on {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 0;
}
.form-err {
  margin-top: calc(var(--s20) * -1);
}

.checks {
  gap: var(--s12);
}
.check {
  display: flex;
  align-items: flex-start;
  gap: var(--s12);
  position: relative;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink2);
}
.check input {
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.check .box {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 1px solid rgba(241, 235, 225, 0.3);
  background: rgba(241, 235, 225, 0.06);
  color: var(--on-gold);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.check .box svg {
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.25s var(--ease), transform 0.35s var(--ease);
}
.check input:checked + .box {
  background: var(--gold);
  border-color: var(--gold);
}
.check input:checked + .box svg {
  opacity: 1;
  transform: none;
}
.check input:focus-visible + .box {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
[data-f="consent_data"] .box {
  transition: background-color 0.3s var(--ease), border-color 0.42s var(--ease);
}
[data-f="consent_data"].bad .box {
  border-color: var(--cinnabar);
}
[data-f="consent_data"] > .f-err {
  margin-left: 36px;
}
[data-f="consent_data"].bad > .f-err {
  margin-top: var(--s8);
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn-gold,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  min-height: 56px;
  padding: 0 var(--s24);
  border-radius: 28px;
  font: 500 17px/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.2s var(--ease), gap 0.3s var(--ease);
}
.btn-gold {
  border: 0;
  background: var(--gold);
  color: var(--on-gold);
}
.btn-gold:hover {
  background: var(--flame);
  color: var(--on-gold);
}
.btn-gold:active,
.btn-ghost:active {
  transform: scale(0.985);
}
.btn-gold[aria-disabled="true"] {
  cursor: progress;
}
.btn-gold .spin {
  width: 0;
  height: 18px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  opacity: 0;
  transition: width 0.3s var(--ease), opacity 0.3s var(--ease);
}
.btn-gold.busy {
  gap: var(--s12);
}
.btn-gold.busy .spin {
  width: 18px;
  opacity: 1;
  animation: lec-spin 0.8s linear infinite;
}
@keyframes lec-spin {
  to {
    transform: rotate(360deg);
  }
}
.btn-ghost {
  border: 1px solid var(--ring);
  background: rgba(241, 235, 225, 0.06);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: rgba(241, 235, 225, 0.3);
  color: var(--ink);
}
.btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 var(--s16);
  border-radius: 22px;
  border: 1px solid var(--ring);
  background: transparent;
  color: var(--ink2);
  font: 500 15px/1.2 var(--sans);
  cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease), transform 0.2s var(--ease);
}
.btn-small:hover {
  color: var(--ink);
  border-color: rgba(241, 235, 225, 0.3);
  background: rgba(241, 235, 225, 0.06);
}
.btn-small:active {
  transform: scale(0.985);
}

.reg-wrap {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.46s var(--ease), opacity 0.36s var(--ease);
}
.reg-wrap > div {
  overflow: hidden;
  min-height: 0;
  margin: -6px;
  padding: 6px;
}
.reg-wrap.gone {
  grid-template-rows: 0fr;
  opacity: 0;
}
.reg-done {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s8);
}
.reg-done p {
  color: var(--ink2);
}
.reg-done p[data-k="donep"] {
  color: var(--ink);
}
.reg-done .addr {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  hyphens: none;
  color: var(--flame);
}
.reg-done h2:focus {
  outline: none;
}
.done-mark {
  margin-bottom: var(--s8);
}
.reg-done.in {
  animation: var(--reveal-tracks);
}
.cal {
  align-self: stretch;
  margin-top: var(--s16);
}
.cal h3 {
  font-size: 20px;
}
.cal-when {
  margin-top: var(--s4);
  font-size: 15px;
}
.cal-btns {
  display: grid;
  gap: var(--s8);
  margin-top: var(--s16);
}
.cal-btns .btn-ghost {
  gap: var(--s8);
  min-height: 52px;
}
.cal-btns svg {
  flex: none;
  color: var(--gold);
}
.reg-done .btn-small {
  margin-top: var(--s16);
}

.lec-fab {
  position: fixed;
  z-index: 9;
  left: max(var(--s20), env(safe-area-inset-left));
  right: max(var(--s20), env(safe-area-inset-right));
  bottom: calc(var(--s20) + env(safe-area-inset-bottom));
  width: auto;
  max-width: 440px;
  margin-inline: auto;
  box-shadow: 0 0 0 1px rgba(255, 217, 160, 0.3), 0 12px 32px -8px rgba(0, 0, 0, 0.85), 0 4px 12px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px) scale(0.96);
  transition: opacity 0.42s var(--ease), transform 0.42s var(--ease), visibility 0s linear 0.42s, background-color 0.3s var(--ease);
}
.lec-fab.on {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.42s var(--ease), transform 0.42s var(--ease), visibility 0s, background-color 0.3s var(--ease);
}
.lec-fab.on:active {
  transform: scale(0.985);
}
html:not(.js) .lec-fab {
  display: none;
}

body.lecture main::after {
  content: "";
  position: fixed;
  z-index: 8;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(120px + env(safe-area-inset-bottom));
  background: linear-gradient(to bottom, rgba(5, 4, 3, 0), rgba(5, 4, 3, 0.88) 64%, var(--void0));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.42s var(--ease);
}
body.lecture:has(.lec-fab.on) main::after {
  opacity: 1;
}

@media (max-width: 699px) {
  .ag-list {
    grid-auto-rows: auto;
  }
}

@media (min-width: 700px) {
  .lec-panel,
  .lec-head,
  .ag-row {
    border-radius: 36px;
  }
  .lec-panel,
  .reg-scroll,
  .lec-head,
  .ag-row {
    padding: var(--s24);
  }
  .lec-reg {
    padding: 0;
  }
}
@media (min-width: 1024px) {
  .lec {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-rows: auto auto 1fr;
    grid-template-areas: "intro reg" "agenda reg" "data reg";
    column-gap: var(--s24);
    row-gap: var(--s16);
    align-items: start;
  }
  .lec-intro {
    grid-area: intro;
  }
  .lec-agenda {
    grid-area: agenda;
  }
  .lec-data {
    grid-area: data;
  }
  .lec-reg {
    grid-area: reg;
    position: sticky;
    top: calc(64px + var(--s32));
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 64px - var(--s32) * 2);
    max-height: calc(100dvh - 64px - var(--s32) * 2);
    overflow: hidden;
  }
  .reg-scroll {
    flex: 0 1 auto;
    min-height: 0;
    overflow-y: auto;
    scroll-padding-block: var(--s32);
    scrollbar-width: thin;
    scrollbar-color: rgba(241, 235, 225, 0.2) transparent;
    -webkit-mask-image: linear-gradient(transparent, #000 var(--ft), #000 calc(100% - var(--fb)), transparent);
    mask-image: linear-gradient(transparent, #000 var(--ft), #000 calc(100% - var(--fb)), transparent);
    transition: --ft 0.3s var(--ease), --fb 0.3s var(--ease);
  }
  .reg-scroll.ft {
    --ft: 32px;
  }
  .reg-scroll.fb {
    --fb: 32px;
  }
  .lec-fab,
  body.lecture main::after {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .f-err,
  .reg-wrap,
  .btn-gold,
  .btn-small,
  .check .box,
  .check .box svg,
  .reg-scroll,
  .lec-fab,
  .lec-fab.on {
    transition: none;
  }
  .btn-gold.busy .spin {
    animation-duration: 2.4s;
  }
}
