:root {
  --navy: #061a35;
  --navy-2: #0b2850;
  --ink: #07182c;
  --paper: #f4f7fa;
  --white: #ffffff;
  --muted: #9bb0c5;
  --line: rgba(180, 213, 236, .24);
  --cyan: #18c7f3;
  --turquoise: #31d6c7;
  --blue: #1870df;
  --coral: #ff6f7d;
  --magenta: #dc4f9d;
  --indigo: #5960e9;
  --violet: #9a6cf2;
  --glass: #dff8ff;
  --equipment: var(--turquoise);
  --negotiation: var(--coral);
  --lecture: var(--violet);
  --max: 1440px;
  color-scheme: dark;
  font-family: "Bahnschrift", "Aptos", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--navy); }
body { margin: 0; min-width: 320px; background: var(--navy); color: var(--white); }
button, a { font: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; }

.skip-link {
  position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 16px;
  transform: translateY(-150%); background: var(--white); color: var(--ink);
}
.skip-link:focus { transform: translateY(0); }

.topbar {
  position: fixed; z-index: 100; inset: 0 0 auto; height: 72px; display: flex;
  align-items: center; gap: 36px; padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid transparent; transition: background .3s ease, border-color .3s ease;
}
.topbar.is-scrolled { background: rgba(6, 26, 53, .88); border-color: var(--line); backdrop-filter: blur(18px); }
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; letter-spacing: .02em; }
.wordmark-mark { width: 38px; height: 8px; border-radius: 20px 2px 20px 2px; background: var(--cyan); transform: skewX(-24deg); }
.topbar nav { display: flex; gap: 28px; margin-left: auto; }
.topbar nav a { color: #d5e2ee; text-decoration: none; font-size: 14px; }
.topbar nav a:hover, .topbar nav a:focus-visible { color: var(--cyan); }
.top-download { padding: 10px 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; text-decoration: none; font-size: 14px; }
.top-download:hover, .top-download:focus-visible { border-color: var(--cyan); background: rgba(24,199,243,.1); }

.hero { position: relative; min-height: 790px; height: 100svh; overflow: hidden; isolation: isolate; }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; transform: scale(1.015); animation: settle 1.4s cubic-bezier(.2,.8,.2,1) both; }
.hero-shade {
  background:
    linear-gradient(90deg, rgba(6,26,53,.98) 0%, rgba(6,26,53,.88) 27%, rgba(6,26,53,.22) 58%, rgba(6,26,53,.06) 100%),
    linear-gradient(0deg, rgba(6,26,53,.86) 0%, transparent 34%);
}
.hero-copy { position: relative; z-index: 2; width: min(600px, 48vw); padding: clamp(150px, 20vh, 220px) 0 0 max(32px, calc((100vw - var(--max)) / 2)); }
.eyebrow, .section-label { margin: 0 0 28px; color: var(--cyan); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; }
.hero h1 { margin: 0; font-family: "Bahnschrift SemiCondensed", "Aptos Display", sans-serif; font-size: clamp(74px, 8.6vw, 142px); line-height: .78; letter-spacing: -.06em; text-transform: uppercase; }
.hero h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 2px rgba(255,255,255,.95); }
.hero-lead { width: min(500px, 90%); margin: 38px 0 0; color: #d6e4ef; font-size: clamp(18px, 1.55vw, 24px); line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border-radius: 3px; text-decoration: none; font-weight: 700; }
.button-primary { background: var(--cyan); color: var(--ink); }
.button-primary:hover, .button-primary:focus-visible { background: var(--white); }
.button-ghost { border: 1px solid rgba(255,255,255,.35); }
.button-ghost:hover, .button-ghost:focus-visible { border-color: var(--cyan); color: var(--cyan); }
.hero-metrics { position: absolute; z-index: 3; right: max(32px, calc((100vw - var(--max)) / 2)); bottom: 46px; display: flex; gap: 0; margin: 0; background: rgba(6,26,53,.78); border: 1px solid var(--line); backdrop-filter: blur(16px); }
.hero-metrics div { min-width: 150px; padding: 22px 25px; border-left: 1px solid var(--line); }
.hero-metrics div:first-child { border-left: 0; }
.hero-metrics dt { font-size: 24px; font-weight: 800; color: var(--white); }
.hero-metrics dd { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.scroll-cue { position: absolute; z-index: 3; left: max(32px, calc((100vw - var(--max)) / 2)); bottom: 48px; display: flex; align-items: center; gap: 14px; color: var(--muted); text-decoration: none; font-size: 13px; }
.scroll-cue i { width: 54px; height: 1px; background: var(--cyan); position: relative; }
.scroll-cue i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-right: 1px solid var(--cyan); border-bottom: 1px solid var(--cyan); transform: rotate(-45deg); }

.section { width: min(calc(100% - 64px), var(--max)); margin-inline: auto; padding: 130px 0; }
.section-label span { display: inline-flex; width: 42px; margin-right: 12px; color: rgba(255,255,255,.48); }
.manifesto { position: relative; }
.manifesto::before { content: ""; position: absolute; width: 62vw; height: 62vw; max-width: 950px; max-height: 950px; left: -40vw; top: -15vw; border: 1px solid rgba(24,199,243,.12); border-radius: 50%; box-shadow: 0 0 130px rgba(24,199,243,.04) inset; pointer-events: none; }
.manifesto-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 90px; align-items: start; }
.manifesto h2, .zones h2, .deck h2, .section-heading h2 { margin: 0; font-family: "Bahnschrift SemiCondensed", "Aptos Display", sans-serif; font-size: clamp(46px, 5.7vw, 86px); line-height: .98; letter-spacing: -.04em; font-weight: 600; }
.manifesto h2 strong, .zones h2 strong { color: var(--cyan); font-weight: 600; }
.manifesto-copy { padding-top: 8px; color: #c6d5e3; font-size: 20px; line-height: 1.6; }
.manifesto-copy p:first-child { margin-top: 0; }
.journey { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 100px 0 0; padding: 0; border-top: 1px solid var(--line); }
.journey li { position: relative; padding: 34px 30px 0 0; border-right: 1px solid var(--line); }
.journey li:last-child { border-right: 0; padding-left: 30px; }
.journey li:nth-child(2) { padding-left: 30px; }
.journey span { display: block; color: var(--cyan); font-size: 13px; font-weight: 700; margin-bottom: 30px; }
.journey strong { display: block; font-size: 30px; }
.journey small { display: block; margin-top: 9px; color: var(--muted); font-size: 15px; }

.gallery { width: 100%; max-width: none; padding-inline: max(32px, calc((100vw - var(--max)) / 2)); background: var(--paper); color: var(--ink); }
.gallery .section-label { color: var(--blue); }
.gallery .section-label span { color: #8da4b7; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 60px; }
.section-heading h2 { text-align: right; }
.render-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 22px; }
.render-card { position: relative; min-width: 0; overflow: hidden; margin: 0; padding: 0; border: 1px solid rgba(7,24,44,.08); background: #dfe7ed; box-shadow: 0 18px 48px rgba(7,24,44,.08); cursor: zoom-in; color: var(--white); text-align: left; }
.render-card-wide { grid-column: 1 / -1; }
.render-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .7s ease; }
.render-card:hover img, .render-card:focus-visible img { transform: scale(1.018); filter: saturate(1.08); }
.render-card span { position: absolute; inset: auto 0 0; padding: 26px; background: linear-gradient(transparent, rgba(6,26,53,.9)); font-size: 19px; font-weight: 700; }
.render-card span b { color: var(--cyan); margin-right: 12px; font-size: 13px; }
.render-card-wide span { padding-block: 32px; font-size: 22px; }

.zones { padding-bottom: 150px; }
.zones h2 { max-width: 850px; }
.zone-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 42px 0 0; padding: 0; }
.zone-legend li { --zone: var(--cyan); display: grid; grid-template-columns: 10px auto; gap: 2px 11px; min-width: 208px; padding: 13px 16px; border: 1px solid color-mix(in srgb, var(--zone) 42%, transparent); background: color-mix(in srgb, var(--zone) 8%, transparent); }
.zone-legend i { grid-row: 1 / 3; align-self: stretch; width: 3px; min-height: 32px; background: var(--zone); box-shadow: 0 0 20px color-mix(in srgb, var(--zone) 66%, transparent); }
.zone-legend span { color: var(--white); font-size: 14px; font-weight: 700; }
.zone-legend small { color: color-mix(in srgb, var(--zone) 70%, white); font-size: 11px; letter-spacing: .05em; }
.zone-legend .zone-legend-equipment { --zone: var(--equipment); }
.zone-legend .zone-legend-negotiation { --zone: var(--negotiation); }
.zone-legend .zone-legend-lecture { --zone: var(--lecture); }
.zone-legend-equipment i { background: linear-gradient(var(--cyan), var(--turquoise)); }
.zone-legend-negotiation i { background: linear-gradient(var(--coral), var(--magenta)); }
.zone-legend-lecture i { background: linear-gradient(var(--indigo), var(--violet)); }
.zone-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.zone-card { --zone: var(--cyan); position: relative; min-height: 410px; display: flex; flex-direction: column; overflow: hidden; padding: 30px; border: 1px solid color-mix(in srgb, var(--zone) 30%, var(--line)); background: linear-gradient(145deg, color-mix(in srgb, var(--zone) 8%, transparent), rgba(255,255,255,.012)); }
.zone-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--zone); box-shadow: 0 0 36px color-mix(in srgb, var(--zone) 65%, transparent); }
.zone-card::after { content: ""; position: absolute; z-index: 0; width: 150px; height: 150px; right: -85px; top: 42px; border: 1px solid color-mix(in srgb, var(--zone) 24%, transparent); transform: rotate(18deg); pointer-events: none; }
.zone-card > * { position: relative; z-index: 1; }
.zone-card-equipment { --zone: var(--equipment); }
.zone-card-negotiation { --zone: var(--negotiation); }
.zone-card-lecture { --zone: var(--lecture); }
.zone-card-equipment::before { background: linear-gradient(90deg, var(--cyan), var(--turquoise)); }
.zone-card-negotiation::before { background: linear-gradient(90deg, var(--coral), var(--magenta)); }
.zone-card-lecture::before { background: linear-gradient(90deg, var(--indigo), var(--violet)); }
.zone-card-art { --zone: var(--glass); border-color: rgba(210, 246, 255, .42); background: linear-gradient(145deg, rgba(215,248,255,.08), rgba(255,111,125,.025) 46%, rgba(154,108,242,.055)); box-shadow: 0 24px 80px rgba(24,199,243,.055); }
.zone-card-art::before { background: linear-gradient(90deg, var(--cyan), var(--coral), var(--violet)); }
.zone-number { color: var(--zone); font-size: 13px; font-weight: 700; }
.zone-card h3 { margin: 64px 0 18px; font-size: 31px; }
.zone-card p { margin: 0; color: #b9ccdc; font-size: 17px; line-height: 1.55; }
.zone-card > strong { margin-top: auto; color: var(--zone); font-size: 24px; }

.deck { display: grid; grid-template-columns: minmax(0, .92fr) minmax(380px, 1.08fr); gap: 90px; align-items: center; border-top: 1px solid var(--line); }
.deck-preview { position: relative; max-height: 760px; overflow: hidden; border: 1px solid var(--line); background: #e7edf2; }
.deck-preview::after { content: "Нажмите, чтобы открыть все слайды"; position: absolute; inset: auto 0 0; padding: 18px; background: rgba(6,26,53,.9); color: var(--white); text-align: center; font-size: 14px; pointer-events: none; }
.deck-preview img { width: 100%; height: 760px; object-fit: cover; object-position: top; transition: transform .7s ease; }
.deck-preview:hover img { transform: scale(1.012); }
.deck-copy h2 { font-size: clamp(46px, 5.1vw, 78px); }
.deck-copy > p { margin: 36px 0 24px; color: #bfd0df; font-size: 19px; line-height: 1.6; }
.deck-copy ul { padding: 0; margin: 0 0 40px; list-style: none; color: #bfd0df; }
.deck-copy li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.download-stack { display: grid; gap: 10px; }
.download-card { display: flex; align-items: center; justify-content: space-between; min-height: 78px; padding: 16px 22px; border: 1px solid var(--line); text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.download-card:hover, .download-card:focus-visible { transform: translateX(4px); border-color: var(--cyan); }
.download-card span { display: grid; gap: 4px; }
.download-card small { color: var(--muted); }
.download-card i { color: var(--cyan); font-style: normal; font-size: 26px; }
.download-card-primary { background: var(--cyan); color: var(--ink); border-color: var(--cyan); }
.download-card-primary small, .download-card-primary i { color: #17425b; }

footer { display: grid; grid-template-columns: 1fr minmax(320px, 1fr); gap: 60px; padding: 44px max(32px, calc((100vw - var(--max)) / 2)); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer div { display: grid; gap: 8px; }
footer strong { color: var(--white); font-size: 16px; }
footer p { margin: 0; line-height: 1.55; }

.lightbox { width: min(94vw, 1500px); max-width: none; padding: 0; border: 1px solid rgba(255,255,255,.2); background: var(--navy); color: var(--white); box-shadow: 0 40px 140px rgba(0,0,0,.65); }
.lightbox::backdrop { background: rgba(0,8,18,.88); backdrop-filter: blur(12px); }
.lightbox img { width: 100%; max-height: 86vh; object-fit: contain; }
.lightbox p { margin: 0; padding: 14px 20px; color: #c4d5e4; }
.lightbox-close { position: fixed; z-index: 2; top: 18px; right: 24px; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(6,26,53,.78); color: var(--white); font-size: 30px; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes settle { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1.015); } }

@media (max-width: 1180px) {
  .zone-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .topbar { height: 62px; padding-inline: 20px; }
  .topbar nav { display: none; }
  .top-download { margin-left: auto; }
  .hero { min-height: 820px; }
  .hero-media img { object-position: 60% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(6,26,53,1) 0%, rgba(6,26,53,.86) 46%, rgba(6,26,53,.1) 100%); }
  .hero-copy { width: auto; padding: 360px 24px 0; }
  .hero h1 { font-size: clamp(68px, 18vw, 104px); }
  .hero-lead { width: 100%; }
  .hero-metrics { left: 24px; right: 24px; bottom: 24px; }
  .hero-metrics div { min-width: 0; flex: 1; padding: 15px; }
  .hero-metrics dt { font-size: 19px; }
  .hero-metrics dd { font-size: 11px; }
  .scroll-cue { display: none; }
  .section { width: min(calc(100% - 40px), var(--max)); padding: 90px 0; }
  .manifesto-grid, .deck { grid-template-columns: 1fr; gap: 45px; }
  .journey { grid-template-columns: 1fr; }
  .zone-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey li, .journey li:nth-child(2), .journey li:last-child { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 0; }
  .journey span { margin-bottom: 10px; }
  .gallery { width: 100%; padding-inline: 20px; }
  .section-heading { display: block; }
  .section-heading h2 { margin-top: 26px; text-align: left; }
  .render-grid { grid-template-columns: 1fr; }
  .render-card-wide { grid-column: auto; }
  .render-card-wide span { padding-block: 26px; font-size: 19px; }
  .zone-card { min-height: 320px; }
  .zone-card h3 { margin-top: 45px; }
  .deck-preview, .deck-preview img { max-height: 560px; height: 560px; }
  footer { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 520px) {
  .topbar { gap: 12px; }
  .wordmark span:last-child { display: none; }
  .top-download { display: none; }
  .hero-copy { padding-top: 330px; }
  .hero h1 { line-height: .83; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-metrics div { padding: 13px 10px; }
  .hero-metrics dt { font-size: 17px; }
  .manifesto h2, .zones h2, .deck h2, .section-heading h2 { font-size: 45px; }
  .render-card span { padding: 18px; font-size: 16px; }
  .render-card-wide span { padding: 18px; font-size: 16px; }
  .zone-legend { display: grid; }
  .zone-legend li { min-width: 0; }
  .zone-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
