/*
Theme Name: Nesterkov Literary Club
Theme URI: https://nesterkov.com/
Author: Yuriy Nesterkov
Description: Авторская тема для Литературного клуба.
Version: 1.5.5
Text Domain: nesterkov-literary-club
*/

:root {
  --ink: #0b1734;
  --ink-soft: #13213f;
  --paper: #f6f1e7;
  --paper-strong: #fffdf8;
  --pine: #176b5d;
  --coral: #c95b43;
  --gold: #d5ae73;
  --line: rgba(11, 23, 52, 0.16);
  --light-line: rgba(255, 253, 248, 0.2);
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Iowan Old Style, Baskerville, Georgia, ui-serif, serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}


* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin-top: 0; }

.container { width: min(1200px, calc(100% - 64px)); margin: 0 auto; }
.section { padding: 144px 0; }
.skip-link { position: fixed; z-index: 999; top: -80px; left: 24px; padding: 12px 16px; background: var(--paper-strong); border-radius: 10px; transition: top 160ms var(--ease-out); }
.skip-link:focus { top: 18px; }

.site-header { position: fixed; z-index: 20; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 23px max(32px, calc((100vw - 1200px) / 2)); color: var(--paper-strong); transition: background 220ms var(--ease-out), color 220ms var(--ease-out), padding 220ms var(--ease-out), box-shadow 220ms var(--ease-out); }
.site-header.is-scrolled { padding-top: 13px; padding-bottom: 13px; background: rgba(255, 253, 248, 0.94); color: var(--ink); box-shadow: 0 8px 28px rgba(11, 23, 52, 0.07); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.brand-mark { display: block; width: 84px; height: 84px; flex: 0 0 84px; }
.brand-dot { color: var(--coral); }
.site-nav { display: flex; align-items: center; gap: 24px; font-size: 13px; font-weight: 600; }
.site-nav a { opacity: 0.86; transition: opacity 160ms ease; }
.site-nav a:hover { opacity: 1; }
.nav-cta { position: relative; isolation: isolate; overflow: hidden; border: 0; padding: 11px 15px; border-radius: 999px; background: var(--coral); color: #fff; font-size: 12px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 0 rgba(11, 23, 52, 0.16); transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out), filter 240ms ease; }
.nav-cta::before, .button::before { position: absolute; z-index: -1; inset: 0; content: ""; background: rgba(255, 255, 255, 0.17); transform: translateX(-104%) skewX(-18deg); transition: transform 420ms var(--ease-out); }
.nav-cta:hover { filter: brightness(1.05); transform: translateY(-2px); box-shadow: 0 8px 0 rgba(11, 23, 52, 0.15); }
.nav-cta:hover::before, .button:hover::before { transform: translateX(104%) skewX(-18deg); }
.nav-cta:active, .button:active { transform: translateY(1px) scale(0.98); box-shadow: none; }
.menu-toggle { display: none; border: 0; background: transparent; color: inherit; }

.hero { position: relative; display: flex; min-height: 780px; min-height: 100svh; overflow: hidden; color: var(--paper-strong); background: var(--ink); }
.hero-video, .final-video-wrap video { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; }
.hero-video { opacity: 1; transform: scale(1.02); }
.hero-shade { position: absolute; inset: 0; background: radial-gradient(circle at 77% 20%, rgba(227, 175, 112, 0.12), transparent 25%), linear-gradient(90deg, rgba(7, 15, 34, 0.78) 0%, rgba(7, 15, 34, 0.48) 49%, rgba(7, 15, 34, 0.24) 100%); }
.hero-grain { position: absolute; inset: 0; pointer-events: none; opacity: 0.16; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }
.hero-inner { position: relative; z-index: 1; align-self: center; padding-top: 124px; padding-bottom: 104px; }
.eyebrow, .section-kicker, .label { margin-bottom: 24px; color: var(--pine); font-size: 11px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.eyebrow.light, .section-kicker.light { color: var(--gold); }
.hero h1 { max-width: 910px; margin-bottom: 28px; font-family: var(--serif); font-size: clamp(3.8rem, 8vw, 7.7rem); font-weight: 400; letter-spacing: -0.065em; line-height: 0.89; }
h1 em, h2 em { color: var(--gold); font-style: italic; font-weight: 400; }
.hero-copy { max-width: 570px; margin-bottom: 34px; color: rgba(255, 253, 248, 0.82); font-size: clamp(17px, 1.7vw, 21px); line-height: 1.52; }
.hero-actions { display: flex; align-items: center; gap: 25px; }
.button { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 13px; border: 1px solid transparent; padding: 15px 20px; border-radius: 999px; font-size: 13px; font-weight: 800; cursor: pointer; box-shadow: 0 5px 0 rgba(11, 23, 52, 0.13); transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out), background 260ms ease, border-color 260ms ease, color 260ms ease; }
.icon { width: 18px; height: 18px; flex: 0 0 18px; transition: transform 260ms var(--ease-out); }
.button-primary { background: var(--paper-strong); color: var(--ink); }
.button-primary:hover { background: var(--gold); transform: translateY(-3px); box-shadow: 0 9px 0 rgba(11, 23, 52, 0.14); }
.button-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.button-outline:hover { background: var(--ink); color: var(--paper-strong); transform: translateY(-3px); box-shadow: 0 9px 0 rgba(255, 253, 248, 0.14); }
.button-dark { width: 100%; background: var(--ink); color: var(--paper-strong); }
.button-dark:hover { background: var(--pine); transform: translateY(-3px); box-shadow: 0 9px 0 rgba(11, 23, 52, 0.18); }
.button:hover .icon-arrow-up-right { transform: translate(3px, -3px); }
.text-link { display: inline-flex; align-items: center; gap: 9px; position: relative; border-bottom: 1px solid transparent; padding-bottom: 5px; font-size: 13px; font-weight: 700; transition: color 220ms ease, opacity 220ms ease; }
.text-link::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; content: ""; background: currentColor; transform-origin: right; transform: scaleX(0.28); transition: transform 280ms var(--ease-out); }
.text-link:hover { opacity: 0.78; }
.text-link:hover::after { transform-origin: left; transform: scaleX(1); }
.text-link:hover .icon-arrow-down { transform: translateY(3px); }
.text-link.light { color: var(--paper-strong); }
.text-link.dark { color: var(--ink); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 0; margin-top: 90px; color: rgba(255, 253, 248, 0.72); font-size: 12px; }
.hero-meta span { padding: 0 18px; border-left: 1px solid rgba(255, 253, 248, 0.3); }
.hero-meta span:first-child { padding-left: 0; border-left: 0; }
.hero-note { position: absolute; z-index: 2; right: max(32px, calc((100vw - 1200px) / 2)); bottom: 46px; width: min(320px, calc(100vw - 64px)); border-top: 1px solid rgba(255, 253, 248, 0.5); padding-top: 16px; }
.hero-note-label { display: block; margin-bottom: 9px; color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.hero-note p { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.18; }

.section-kicker { border-top: 1px solid var(--line); padding-top: 14px; }
.intro, .program, .faq, .format-section, .host, .final-cta { position: relative; overflow: hidden; }
.intro > :not(.outline-motif), .program > :not(.outline-motif), .faq > :not(.outline-motif) { position: relative; z-index: 1; }
.format-section .container, .host-grid, .final-cta-inner { position: relative; z-index: 1; }
.outline-motif { --facing: 1; position: absolute; z-index: 0; display: block; width: auto; height: auto; pointer-events: none; user-select: none; transform-origin: center; animation: contour-drift 12s var(--ease-in-out) infinite; }
.outline-pushkin { --facing: -1; top: 32px; right: -20px; width: 300px; opacity: 0.34; mix-blend-mode: multiply; }
.outline-gogol { top: 55px; left: -20px; width: 340px; opacity: 0.34; mix-blend-mode: screen; animation-delay: -3s; }
.outline-dostoevsky { --facing: -1; top: 94px; right: -26px; width: 300px; opacity: 0.3; mix-blend-mode: multiply; animation-delay: -6s; }
.outline-bulgakov { --facing: -1; top: 42px; right: -34px; width: 250px; opacity: 0.16; mix-blend-mode: multiply; animation-delay: -1s; }
.outline-kuprin { --facing: -1; right: -16px; bottom: 8px; width: 270px; opacity: 0.28; mix-blend-mode: multiply; animation-delay: -8s; }
.outline-final-city { right: -8%; bottom: -12px; width: 120%; opacity: 0.32; mix-blend-mode: screen; animation-delay: -4s; }
@keyframes contour-drift { 0%, 100% { transform: translate3d(0, 0, 0) scaleX(var(--facing)); } 50% { transform: translate3d(11px, -8px, 0) scaleX(var(--facing)); } }
.display { margin-bottom: 0; font-family: var(--serif); font-size: clamp(2.8rem, 5.1vw, 5.6rem); font-weight: 400; letter-spacing: -0.06em; line-height: 0.93; }
.display em { color: var(--coral); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.7fr); gap: 88px; align-items: end; }
.intro-copy { padding-bottom: 8px; }
.intro-copy p, .host-lead { font-size: 19px; line-height: 1.58; }
.benefit-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: 95px; align-items: start; }
.benefit-card { min-height: 260px; border: 1px solid var(--line); border-radius: 22px; padding: 24px; background: var(--paper-strong); transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out), border-color 320ms ease, background 320ms ease; }
.benefit-card:nth-child(1) { grid-column: span 5; min-height: 304px; }
.benefit-card:nth-child(2) { grid-column: span 4; min-height: 262px; margin-top: 60px; }
.benefit-card:nth-child(3) { grid-column: span 3; min-height: 342px; margin-top: 18px; }
.benefit-card:hover { border-color: rgba(11, 23, 52, 0.28); transform: translateY(-8px) rotate(-0.35deg); box-shadow: 0 18px 36px rgba(11, 23, 52, 0.11); }
.benefit-card:nth-child(2):hover { transform: translateY(-8px) rotate(0.35deg); }
.card-number { display: block; color: var(--coral); font-family: var(--serif); font-size: 27px; }
.benefit-card h3 { margin: 75px 0 11px; font-family: var(--serif); font-size: 28px; font-weight: 400; letter-spacing: -0.04em; }
.benefit-card p { margin: 0; color: rgba(11, 23, 52, 0.7); font-size: 14px; line-height: 1.55; }

.format-section { padding: 124px 0 78px; background: var(--ink); color: var(--paper-strong); }
.format-top { display: grid; grid-template-columns: 1.1fr 0.65fr; gap: 96px; align-items: end; }
.format-top .display em { color: var(--gold); }
.format-lead { margin: 0 0 5px; color: rgba(255, 253, 248, 0.78); font-size: 19px; line-height: 1.5; }
.route { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 94px; border-top: 1px solid var(--light-line); }
.route article { min-height: 266px; border-right: 1px solid var(--light-line); padding: 24px 24px 25px 0; }
.route article + article { padding-left: 24px; }
.route article:last-child { border-right: 0; }
.route span { color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; }
.route h3 { margin: 69px 0 12px; font-family: var(--serif); font-size: 28px; font-weight: 400; letter-spacing: -0.04em; }
.route p { max-width: 220px; margin: 0; color: rgba(255, 253, 248, 0.68); font-size: 14px; line-height: 1.55; }
.format-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 35px; }
.pill { border: 1px solid rgba(255, 253, 248, 0.32); border-radius: 999px; padding: 10px 14px; font-size: 12px; font-weight: 700; }
.plus { color: var(--gold); font-size: 20px; }
.format-footer p { width: 100%; margin: 17px 0 0; color: rgba(255, 253, 248, 0.57); font-size: 13px; }

.program-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.next-cycle { display: flex; justify-content: space-between; min-height: 354px; margin-top: 78px; overflow: hidden; border-radius: 25px; padding: 42px; background: var(--pine); color: var(--paper-strong); }
.next-cycle-copy { position: relative; z-index: 1; max-width: 450px; }
.next-cycle .label { display: block; color: var(--gold); }
.next-cycle h3 { margin-bottom: 14px; font-family: var(--serif); font-size: clamp(2.6rem, 4.5vw, 4.6rem); font-weight: 400; letter-spacing: -0.06em; line-height: 0.92; }
.next-cycle p { max-width: 360px; margin: 0; color: rgba(255, 253, 248, 0.76); font-size: 16px; line-height: 1.52; }
.next-cycle-symbol { align-self: center; display: grid; width: 270px; height: 270px; place-items: center; border: 1px solid rgba(255, 253, 248, 0.24); border-radius: 50%; transform: rotate(-9deg); }
.next-cycle-symbol::before { position: absolute; content: ""; width: 210px; height: 210px; border: 1px solid rgba(255, 253, 248, 0.18); border-radius: 50%; }
.next-cycle-symbol span { font-family: var(--serif); font-size: 150px; line-height: 1; }
.archive { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 20px; }
.archive-head { display: flex; justify-content: space-between; margin-bottom: 25px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; }
.archive-head small { color: rgba(11, 23, 52, 0.54); font-size: 10px; letter-spacing: 0.05em; }
.archive-years { display: grid; gap: 12px; }
.archive-year { border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 253, 248, 0.55); overflow: hidden; }
.archive-year summary { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; color: var(--ink); cursor: pointer; font-size: 15px; font-weight: 800; list-style: none; transition: background 220ms ease, color 220ms ease; }
.archive-year summary::-webkit-details-marker { display: none; }
.archive-year summary::after { content: "+"; color: var(--coral); font-family: var(--serif); font-size: 25px; font-weight: 400; line-height: 1; transition: transform 240ms var(--ease-out); }
.archive-year summary:hover { background: var(--ink); color: var(--paper-strong); }
.archive-year details[open] summary { border-bottom: 1px solid var(--line); }
.archive-year details[open] summary::after { transform: rotate(45deg); }
.archive-months { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; padding: 4px 18px 20px; }
.archive-month { border-top: 1px solid var(--line); padding: 20px 0 4px; }
.archive-month:nth-child(-n + 2) { border-top: 0; }
.archive-month h3 { margin: 0 0 9px; color: var(--coral); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.archive-month-list { margin: 0; padding: 0; list-style: none; }
.archive-month-list li { display: grid; grid-template-columns: 25px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 7px 0; font-family: var(--serif); font-size: 17px; letter-spacing: -0.02em; line-height: 1.25; }
.archive-item-number { color: var(--coral); font-family: var(--sans); font-size: 10px; font-weight: 800; letter-spacing: 0.05em; }
.archive-complete { color: var(--pine); font-family: var(--sans); font-size: 13px; font-weight: 800; }

.host { background: #ece4d5; }
.host-grid { display: grid; grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr); gap: 120px; align-items: center; }
.portrait-card { position: relative; min-height: 512px; overflow: hidden; border-radius: 26px; background: var(--ink); box-shadow: 0 22px 45px rgba(11, 23, 52, 0.16); }
.portrait-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, rgba(11, 23, 52, 0) 45%, rgba(11, 23, 52, 0.18)); pointer-events: none; }
.portrait-card img { display: block; width: 100%; height: 100%; min-height: inherit; object-fit: cover; object-position: center top; transition: transform 700ms var(--ease-out); }
.portrait-card:hover img { transform: scale(1.035); }
.host .section-kicker { border-color: var(--line); }
.host-lead { max-width: 600px; margin: 31px 0 34px; }
.credentials { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.credentials li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.45; }
.credentials li::before { position: absolute; left: 0; top: 0.33em; content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }

.quote-band { padding: 105px 0; background: var(--coral); color: var(--paper-strong); }
.quote-band p { max-width: 1060px; margin: 0; font-family: var(--serif); font-size: clamp(2.5rem, 5.5vw, 6rem); letter-spacing: -0.065em; line-height: 0.94; }
.quote-band em { color: #ffd8bd; }

.faq { display: grid; grid-template-columns: 0.86fr 1fr; gap: 100px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 23px 36px 23px 0; cursor: pointer; font-family: var(--serif); font-size: 24px; letter-spacing: -0.04em; line-height: 1.1; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { position: absolute; right: 3px; top: 18px; content: "+"; color: var(--coral); font-family: var(--sans); font-size: 27px; font-weight: 300; transition: transform 180ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 590px; margin: -2px 0 24px; color: rgba(11, 23, 52, 0.72); font-size: 15px; line-height: 1.6; }

.final-cta { position: relative; overflow: hidden; padding: 137px 0; color: var(--paper-strong); background: var(--ink); }
.final-video-wrap { position: absolute; inset: 0; opacity: 0.78; }
.final-video-wrap::after { position: absolute; content: ""; inset: 0; background: rgba(6, 15, 33, 0.54); }
.final-cta-inner { position: relative; z-index: 1; text-align: center; }
.final-cta h2 { margin: 12px 0 21px; font-family: var(--serif); font-size: clamp(3.2rem, 7vw, 7.2rem); font-weight: 400; letter-spacing: -0.075em; line-height: 0.88; }
.final-cta h2 em { color: var(--gold); }
.final-cta p { max-width: 550px; margin: 0 auto 32px; color: rgba(255, 253, 248, 0.79); font-size: 18px; line-height: 1.52; }

.site-footer { padding: 53px 0 22px; background: var(--ink); color: var(--paper-strong); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 1fr 0.8fr; gap: 28px; padding-bottom: 49px; }
.footer-brand { align-self: start; }
.footer-label { display: block; margin-bottom: 11px; color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-grid p, .footer-grid a { margin: 0; color: rgba(255, 253, 248, 0.68); font-size: 12px; line-height: 1.55; }
.footer-grid a { border-bottom: 1px solid rgba(255, 253, 248, 0.35); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--light-line); padding-top: 17px; color: rgba(255, 253, 248, 0.46); font-size: 10px; }

.join-dialog { width: min(560px, calc(100vw - 32px)); border: 0; border-radius: 24px; padding: 36px; background: var(--paper-strong); color: var(--ink); box-shadow: 0 22px 80px rgba(4, 8, 19, 0.35); }
.join-dialog::backdrop { background: rgba(4, 11, 27, 0.66); backdrop-filter: blur(4px); }
.join-dialog h2 { margin: 5px 0 12px; font-family: var(--serif); font-size: 44px; font-weight: 400; letter-spacing: -0.06em; }
.join-dialog > p { max-width: 440px; color: rgba(11, 23, 52, 0.7); font-size: 14px; line-height: 1.5; }
.dialog-close { position: absolute; top: 14px; right: 16px; border: 0; background: transparent; color: var(--ink); font-size: 30px; line-height: 1; cursor: pointer; }
.join-dialog form { display: grid; gap: 14px; margin-top: 23px; }
.join-dialog label { display: grid; gap: 6px; font-size: 12px; font-weight: 800; }
.optional { color: rgba(11, 23, 52, 0.48); font-weight: 500; }
.join-dialog input[type="text"], .join-dialog input[type="email"], .join-dialog textarea { width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 13px; background: #fff; outline: none; font-size: 15px; transition: border-color 160ms ease, box-shadow 160ms ease; }
.join-dialog textarea { resize: vertical; min-height: 92px; line-height: 1.45; }
.join-dialog textarea:focus { border-color: var(--pine); box-shadow: 0 0 0 3px rgba(23, 107, 93, 0.14); }
.join-dialog input:focus { border-color: var(--pine); box-shadow: 0 0 0 3px rgba(23, 107, 93, 0.14); }
.consent { display: flex !important; grid-template-columns: 18px 1fr; align-items: start; color: rgba(11, 23, 52, 0.65); font-size: 11px !important; font-weight: 500 !important; line-height: 1.4; }
.consent input { margin: 2px 0 0; accent-color: var(--pine); }
.form-message { min-height: 1.2em; margin: 14px 0 0 !important; color: var(--pine) !important; font-weight: 700; }
.captcha-row { display: grid; grid-template-columns: 1fr 120px; gap: 12px; align-items: end; }
.captcha-row input { width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 13px; background: #fff; outline: none; font-size: 15px; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.policy-page { min-height: 100vh; padding: 150px 0 100px; background: var(--paper); }
.policy-page h1 { max-width: 900px; margin: 0 0 48px; font-family: var(--serif); font-size: clamp(3rem, 7vw, 6rem); font-weight: 400; letter-spacing: -0.06em; line-height: .92; }
.policy-page .entry-content { max-width: 760px; font-size: 17px; line-height: 1.65; }
.policy-page .entry-content h2 { margin: 42px 0 14px; font-family: var(--serif); font-size: 32px; font-weight: 400; letter-spacing: -.04em; }
.policy-page .entry-content ul { padding-left: 22px; }

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

@media (max-width: 850px) {
  .container { width: min(100% - 40px, 1200px); }
  .site-header { padding: 16px 20px; }
  .brand-mark { width: 60px; height: 60px; flex-basis: 60px; }
  .site-nav { position: absolute; top: 100%; right: 12px; left: 12px; display: none; align-items: stretch; gap: 0; border-radius: 17px; padding: 9px; background: var(--paper-strong); color: var(--ink); box-shadow: 0 14px 32px rgba(11, 23, 52, 0.15); }
  .site-nav.is-open { display: flex; flex-direction: column; }
  .site-nav a, .nav-cta { padding: 14px; }
  .nav-cta { text-align: left; }
  .menu-toggle { display: grid; gap: 5px; width: 38px; height: 38px; place-content: center; color: inherit; cursor: pointer; }
  .menu-toggle span { display: block; width: 20px; height: 1px; background: currentColor; transition: transform 180ms var(--ease-out); }
  .menu-toggle.is-active span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle.is-active span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .hero { min-height: 720px; }
  .hero-inner { padding-top: 144px; }
  .hero h1 { font-size: clamp(3.4rem, 14vw, 5.6rem); }
  .hero-note { right: 20px; bottom: 26px; }
  .hero-meta { margin-top: 55px; }
  .hero-meta span { padding: 0 10px; }
  .outline-pushkin { top: 26px; right: -72px; width: 240px; opacity: 0.2; }
  .outline-gogol { top: 46px; left: -110px; width: 250px; opacity: 0.18; }
  .outline-dostoevsky { top: 145px; right: -58px; width: 210px; opacity: 0.2; }
  .outline-bulgakov { --facing: -1; top: 46px; right: -58px; width: 190px; opacity: 0.16; }
  .outline-kuprin { right: -48px; bottom: 8px; display: block; width: 185px; opacity: 0.15; }
  .outline-final-city { right: -70%; width: 230%; opacity: 0.26; }
  .section { padding: 92px 0; }
  .intro-grid, .format-top, .host-grid, .faq { grid-template-columns: 1fr; gap: 42px; }
  .benefit-grid, .route { grid-template-columns: 1fr; }
  .benefit-grid { margin-top: 55px; }
  .benefit-card, .benefit-card:nth-child(n) { min-height: 205px; margin-top: 0; grid-column: auto; }
  .benefit-card h3 { margin-top: 38px; }
  .format-section { padding-top: 88px; }
  .route { margin-top: 54px; }
  .route article, .route article + article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--light-line); padding: 22px 0; }
  .route article:last-child { border-bottom: 0; }
  .route h3 { margin: 24px 0 9px; }
  .program-heading { display: block; }
  .program-heading .button { margin-top: 32px; }
  .next-cycle { min-height: 315px; margin-top: 48px; padding: 28px; }
  .next-cycle-symbol { width: 150px; height: 150px; align-self: end; margin-right: -35px; margin-bottom: -35px; }
  .next-cycle-symbol::before { width: 110px; height: 110px; }
  .next-cycle-symbol span { font-size: 85px; }
  .archive-months { grid-template-columns: 1fr; gap: 0; }
  .archive-month:nth-child(-n + 2) { border-top: 1px solid var(--line); }
  .archive-month:first-child { border-top: 0; }
  .host-grid { gap: 50px; }
  .portrait-card { min-height: 380px; }
  .quote-band { padding: 76px 0; }
  .faq { gap: 45px; }
  .faq summary { font-size: 22px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 20px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 500px) {
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-meta { display: grid; gap: 9px; }
  .hero-meta span { border: 0; padding: 0; }
  .hero-note { display: none; }
  .next-cycle { min-height: 360px; }
  .next-cycle h3 { font-size: 44px; }
  .archive-head { flex-direction: column; gap: 7px; }
  .footer-grid { grid-template-columns: 1fr; }
  .join-dialog { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-video, .final-video-wrap { display: none; }
.outline-motif { animation: none; }
}

/* Research-reading edition: 2026-08-28. */
.route-six { grid-template-columns: repeat(3, 1fr); }
.route-six article { min-height: 238px; border-bottom: 1px solid var(--light-line); }
.route-six article:nth-child(3n) { border-right: 0; }
.route-six article:nth-child(4) { padding-left: 0; }
.route-six article:nth-child(n + 4) { border-bottom: 0; }
.route-six h3 { margin-top: 48px; }

.reading-map { position: relative; overflow: hidden; background: #e9dfce; }
.reading-map-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(430px, .72fr); gap: 110px; align-items: center; }
.reading-map-copy .display em { color: var(--pine); }
.map-lead { max-width: 600px; margin: 34px 0 38px; font-size: 19px; line-height: 1.6; }
.map-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.map-legend li { min-height: 128px; border-top: 1px solid var(--line); padding-top: 15px; }
.map-legend strong { display: block; color: var(--coral); font-family: var(--serif); font-size: 50px; font-weight: 400; line-height: 1; }
.map-legend span { display: block; max-width: 130px; margin-top: 8px; font-size: 12px; font-weight: 700; line-height: 1.35; }
.map-sheet { position: relative; border: 1px solid rgba(11, 23, 52, .18); border-radius: 3px; padding: 42px 42px 34px; background: var(--paper-strong); box-shadow: 22px 25px 0 rgba(11, 23, 52, .08), 0 22px 65px rgba(11, 23, 52, .12); transform: rotate(1.5deg); }
.map-sheet::before { position: absolute; top: 20px; left: -9px; width: 18px; height: 68px; content: ""; background: var(--coral); opacity: .82; }
.map-sheet-head { display: flex; justify-content: space-between; gap: 20px; color: rgba(11, 23, 52, .55); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.map-sheet h3 { margin: 34px 0 18px; font-family: var(--serif); font-size: 42px; font-weight: 400; letter-spacing: -.05em; line-height: 1; }
.map-rule { height: 1px; margin-bottom: 25px; background: var(--line); }
.map-label { margin: 20px 0 8px; color: var(--pine); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.map-sheet > p:not(.map-label):not(.map-foot), .map-sheet li { font-family: var(--serif); font-size: 17px; line-height: 1.45; }
.map-sheet ol { margin: 7px 0 0; padding-left: 20px; }
.map-sheet blockquote { margin: 9px 0 0; border-left: 2px solid var(--gold); padding-left: 16px; font-family: var(--serif); font-size: 24px; font-style: italic; line-height: 1.25; }
.map-sheet .map-foot { margin: 28px 0 0; border-top: 1px solid var(--line); padding-top: 16px; color: rgba(11, 23, 52, .58); font-size: 11px; line-height: 1.5; }

.schedule-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 78px; }
.schedule-month { border: 1px solid var(--line); border-radius: 24px; padding: 28px; background: rgba(255, 253, 248, .72); }
.schedule-month-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 22px; border-bottom: 1px solid var(--line); padding-bottom: 17px; }
.schedule-month-head h3 { margin: 0; color: var(--coral); font-family: var(--serif); font-size: 32px; font-weight: 400; }
.schedule-month-head span { color: rgba(11, 23, 52, .52); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.schedule-month ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.schedule-month li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; border-bottom: 1px solid rgba(11, 23, 52, .1); padding: 15px 0; }
.schedule-month li:last-child { border-bottom: 0; }
.schedule-month time { color: var(--pine); font-size: 11px; font-weight: 800; line-height: 1.4; }
.schedule-month strong, .schedule-month li span { display: block; }
.schedule-month strong { font-family: var(--serif); font-size: 18px; font-weight: 400; line-height: 1.25; }
.schedule-month li span { margin-top: 3px; color: rgba(11, 23, 52, .62); font-size: 13px; line-height: 1.35; }
.schedule-note { margin: 24px 0 0; color: rgba(11, 23, 52, .6); font-size: 12px; }

.participation { background: var(--ink); color: var(--paper-strong); }
.participation-head { display: grid; grid-template-columns: 1.08fr .7fr; gap: 90px; align-items: end; }
.participation .display em { color: var(--gold); }
.participation-lead { margin: 0 0 7px; color: rgba(255, 253, 248, .76); font-size: 19px; line-height: 1.55; }
.join-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 78px; border-top: 1px solid var(--light-line); }
.join-steps article { min-height: 230px; border-right: 1px solid var(--light-line); padding: 23px 22px 24px 0; }
.join-steps article + article { padding-left: 22px; }
.join-steps article:last-child { border-right: 0; }
.join-steps span { color: var(--gold); font-size: 11px; font-weight: 800; }
.join-steps h3 { margin: 54px 0 11px; font-family: var(--serif); font-size: 27px; font-weight: 400; }
.join-steps p { margin: 0; color: rgba(255, 253, 248, .64); font-size: 13px; line-height: 1.5; }
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 42px; }
.price-card { min-height: 430px; border: 1px solid var(--light-line); border-radius: 25px; padding: 34px; background: var(--ink-soft); }
.price-card-accent { background: var(--pine); }
.price-label { color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.price { margin: 33px 0 7px; font-family: var(--serif); font-size: clamp(3.4rem, 6vw, 6rem); letter-spacing: -.06em; line-height: .9; }
.price-caption { max-width: 410px; margin: 0 0 25px; color: rgba(255, 253, 248, .72); font-size: 14px; }
.price-card ul { margin: 0 0 30px; padding-left: 18px; color: rgba(255, 253, 248, .78); font-size: 13px; line-height: 1.7; }
.price-saving { max-width: 430px; margin: 30px 0 42px; border-top: 1px solid rgba(255, 253, 248, .24); padding-top: 20px; color: rgba(255, 253, 248, .8); font-size: 13px; line-height: 1.55; }
.legacy-note { margin: 22px 0 0; color: rgba(255, 253, 248, .54); font-size: 11px; }
.offer-note { margin-top: 22px; border: 1px solid rgba(213, 174, 115, .52); border-radius: 16px; padding: 18px 20px; background: rgba(213, 174, 115, .09); color: rgba(255, 253, 248, .82); font-size: 13px; line-height: 1.55; }
.offer-note strong { color: var(--gold); }

@media (max-width: 850px) {
  .site-nav { max-height: calc(100vh - 90px); overflow-y: auto; }
  .route-six, .reading-map-grid, .schedule-grid, .participation-head, .price-grid { grid-template-columns: 1fr; }
  .route-six article, .route-six article:nth-child(n) { min-height: auto; border-right: 0; border-bottom: 1px solid var(--light-line); padding: 22px 0; }
  .route-six article:last-child { border-bottom: 0; }
  .reading-map-grid { gap: 60px; }
  .map-sheet { transform: none; }
  .join-steps { grid-template-columns: repeat(2, 1fr); }
  .join-steps article:nth-child(2) { border-right: 0; }
  .join-steps article:nth-child(-n + 2) { border-bottom: 1px solid var(--light-line); }
  .participation-head { gap: 36px; }
}

@media (max-width: 500px) {
  .map-legend, .join-steps { grid-template-columns: 1fr; }
  .map-legend li { min-height: auto; padding-bottom: 18px; }
  .map-sheet { padding: 32px 25px 26px; }
  .map-sheet h3 { font-size: 34px; }
  .schedule-month { padding: 22px 18px; }
  .schedule-month li { grid-template-columns: 78px minmax(0, 1fr); gap: 10px; }
  .join-steps article, .join-steps article:nth-child(n) { min-height: auto; border-right: 0; border-bottom: 1px solid var(--light-line); padding: 22px 0; }
  .join-steps article:last-child { border-bottom: 0; }
  .price-card { min-height: auto; padding: 28px 22px; }
}
