:root {
    --black: #090907;
    --paper: #f5f2ea;
    --ink: #1c1c18;
    --muted: #585950;
    --orange: #ff6b39;
    --line: #c9c8bd;
    --mono: "Liberation Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 16px/1.53 Manrope, Arial, sans-serif; }
a { color: inherit; }
:focus-visible { outline: 3px solid #337dc8; outline-offset: 4px; }
.wrap { width: min(1320px, 89%); margin-inline: auto; }
h1, h2, h3, p, dl, dd, ul { margin: 0; }
.mast, .hero { background: var(--black); color: var(--paper); }
.mast-inner, nav, .hero-actions, .meta, footer { display: flex; align-items: center; }
.mast-inner, footer { justify-content: space-between; }
.mast-inner { min-height: 73px; border-bottom: 1px solid #32332c; }
.brand { display: inline-flex; }
.brand img { display: block; width: 140px; height: auto; }
nav { gap: 30px; }
nav a, footer a { text-decoration: none; }
nav a:hover, footer a:hover { text-decoration: underline; }
nav a { font-size: 13px; font-weight: 700; }
.nav-action { border-bottom: 1px solid #a6a69e; padding-block: 4px; }
.nav-action span { color: var(--orange); margin-left: 7px; }
.hero { overflow: hidden; }
.poster { position: relative; isolation: isolate; display: grid; align-content: center; min-height: clamp(545px, 46vw, 690px); padding-block: 45px 58px; }
.flowers { position: absolute; z-index: -1; top: 0; bottom: 0; right: min(-5.5vw, -20px); width: 63%; height: 100%; object-fit: cover; object-position: 55% 50%; mask-image: linear-gradient(90deg, transparent, black 15%); }
.meta { gap: 10px; font: 600 12px/1.45 var(--mono); letter-spacing: .045em; text-transform: uppercase; }
.dot { height: 8px; width: 8px; border-radius: 50%; background: var(--orange); }
.slash { opacity: .6; }
h1 { margin: 32px 0 25px; width: fit-content; font-size: clamp(68px, 7.65vw, 118px); font-weight: 600; letter-spacing: -.08em; line-height: .96; }
h1 span { color: var(--orange); }
.lede { max-width: min(40vw, 450px); color: #d3d2c8; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.48; }
.hero-actions { margin-top: 26px; }
.button { display: inline-flex; justify-content: space-between; gap: 24px; align-items: center; min-height: 50px; border: 0; border-radius: 60px; padding: 11px 22px; background: var(--orange); color: var(--black); font: 800 15px/1.4 Manrope, Arial, sans-serif; text-decoration: none; cursor: pointer; }
.button:hover { background: #ff8c63; }
.button span { font-size: 20px; font-weight: 500; }
.case { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr); gap: 9%; align-items: center; padding-block: clamp(54px, 6vw, 90px); }
.case h2 { font-size: clamp(24px, 2.45vw, 39px); font-weight: 650; letter-spacing: -.055em; line-height: 1.12; }
.case h2 strong { display: block; margin: 12px 0 7px; font-size: clamp(90px, 10.1vw, 155px); font-weight: 600; letter-spacing: -.09em; line-height: .96; color: #bb421b; }
.case-copy > p:last-child { max-width: 470px; margin-top: 17px; color: var(--muted); }
.receipt { position: relative; padding: clamp(22px, 3vw, 44px); background: #fffcf5; filter: drop-shadow(0 6px 6px #28241912); transform: rotate(1.3deg); }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 8px; background: linear-gradient(135deg,#fffcf5 25%,transparent 25%) 0 0/14px 14px, linear-gradient(225deg,#fffcf5 25%,transparent 25%) 0 0/14px 14px; }
.receipt h3 { font: 700 20px/1.3 var(--mono); }
.receipt-sub { margin: 5px 0 17px; color: var(--muted); font: 12px/1.4 var(--mono); }
.receipt dl { border-top: 1px dashed #aaa99f; padding-top: 13px; }
.receipt dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 4px 0; font: 14px/1.55 var(--mono); }
.receipt dd { font-weight: 700; white-space: nowrap; }
.receipt dl > .total { display: block; border-top: 1px dashed #aaa99f; margin-top: 12px; padding-top: 14px; }
.total dd { margin-top: 5px; font-size: clamp(25px, 2.55vw, 38px); line-height: 1.2; letter-spacing: -.07em; }
.program { border-top: 1px solid var(--line); padding-block: clamp(36px, 4vw, 64px) clamp(55px, 6vw, 95px); }
.program h2, .ticket-title h2 { font-size: clamp(40px, 4.65vw, 76px); line-height: .99; letter-spacing: -.07em; font-weight: 600; }
h2 i { font: italic 1.08em/.96 Georgia, "Liberation Serif", serif; letter-spacing: -.065em; }
.agenda { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4%; padding: 0; margin-top: 36px; list-style: none; }
.agenda li { border-top: 2px solid currentColor; padding-top: 12px; }
.agenda li > span { font: 13px/1.3 var(--mono); color: var(--muted); }
.agenda h3 { font-size: clamp(19px, 1.8vw, 26px); line-height: 1.15; letter-spacing: -.045em; margin: 19px 0 8px; }
.agenda p { color: var(--muted); font-size: 15px; }
.registration { background: var(--ink); padding-block: clamp(35px, 5vw, 76px); }
.ticket { display: grid; grid-template-columns: 1.1fr 1fr; background: #ffb392; border-radius: 9px; }
.ticket-title, form, .success { padding: clamp(24px, 4vw, 64px); }
.ticket-title { position: relative; border-right: 1px dashed #844e37; }
.ticket-title::before, .ticket-title::after { content: ""; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); position: absolute; right: -12px; }
.ticket-title::before { top: -12px; }
.ticket-title::after { bottom: -12px; }
.ticket-title h2 { margin: 24px 0 17px; }
.ticket-title > p:last-child { max-width: 370px; }
form, .success { align-self: center; }
.contact-label { display: block; font-size: 14px; font-weight: bold; margin-bottom: 6px; }
.contact-label:not(:first-of-type) { margin-top: 12px; }
.ticket input:is([type=email], [type=tel], [type=text]) { width: 100%; height: 50px; border: 1px solid #835b49; border-radius: 5px; padding: 0 14px; background: #fff3e7; color: var(--ink); font: inherit; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 20px; font-size: 13px; line-height: 1.45; }
.consent input { width: 18px; height: 18px; flex-shrink: 0; margin: 1px 0 0; accent-color: var(--ink); }
form .button { background: var(--ink); color: white; }
form .button:hover { background: #423e34; }
.error { margin-block: 8px; font-weight: 800; color: #6b1515; }
.success p { margin-top: 8px; }
footer { min-height: 72px; gap: 15px; font-size: 13px; }
footer a:first-child { font-weight: 800; }
@media (max-width: 850px) {
    .case { gap: 5%; }
    .agenda { gap: 3%; }
}
@media (max-width: 670px) {
    .wrap { width: 89%; }
    .mast-inner { min-height: 58px; }
    .brand img { width: 115px; }
    nav { gap: 15px; }
    nav a { font-size: 12px; }
    .poster { min-height: 0; padding-block: 24px 30px; align-content: start; }
    .meta { font-size: 10px; gap: 8px; }
    .flowers { position: relative; grid-row: 3; width: 112.36%; height: clamp(150px, 46vw, 240px); right: auto; margin: -10px -6.18% 9px; object-position: 55% 43%; mask-image: linear-gradient(180deg,transparent 0%,black 12%,black 88%,transparent); }
    h1 { margin: 16px 0 0; font-size: clamp(46px, 11.6vw, 77px); }
    .hero-bottom { grid-row: 4; }
    .lede { max-width: 440px; font-size: 16px; }
    .hero-actions { margin-top: 17px; }
    .case { grid-template-columns: 1fr; gap: 25px; padding-block: 36px 42px; }
    .case h2 strong { font-size: 88px; }
    .case-copy > p:last-child { margin-top: 13px; }
    .receipt { margin: 0 3px; }
    .program { padding-block: 35px; }
    .agenda { grid-template-columns: 1fr; gap: 18px; margin-top: 23px; }
    .agenda li { display: grid; grid-template-columns: 65px 1fr; gap: 0 10px; border-width: 1px; }
    .agenda li > span { grid-row: span 2; padding-top: 2px; }
    .agenda h3 { margin: 0 0 6px; }
    .ticket { grid-template-columns: 1fr; }
    .ticket-title { border-right: 0; border-bottom: 1px dashed #844e37; }
    .ticket-title::before, .ticket-title::after { top: auto; bottom: -10px; width: 20px; height: 20px; }
    .ticket-title::before { left: -10px; }
    .ticket-title::after { right: -10px; }
    .ticket-title h2 { margin: 15px 0 12px; }
    form .button { width: 100%; }
    footer { flex-wrap: wrap; font-size: 12px; }
}
@media (max-width: 375px) {
    .nav-program { display: none; }
}

/* Развороты с примером переписки, расчётом и ответами на вопросы. */
.mast { position: sticky; top: 0; z-index: 3; }
section[id] { scroll-margin-top: 85px; }
.spread { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(30px, 7vw, 105px); padding-block: clamp(46px, 5.5vw, 84px); }
.section-copy h2 { font-size: clamp(38px, 4.5vw, 70px); line-height: 1.03; letter-spacing: -.065em; font-weight: 600; }
.section-copy .meta { margin-bottom: 20px; }
.section-copy > p:not(.meta) { max-width: 500px; margin-top: 14px; color: var(--muted); }
.story { border-bottom: 1px solid var(--line); }
.message-sheet { background: #e0e4d7; padding: clamp(22px, 2.8vw, 44px); margin: 0; }
.message-sheet figcaption { margin-bottom: 19px; color: #424a3a; }
.message-bubble { margin-left: auto; max-width: 345px; background: #fffdf6; border-radius: 12px 12px 2px 12px; overflow: hidden; }
.message-bubble img { display: block; width: 100%; height: clamp(126px, 14vw, 204px); object-fit: cover; object-position: 50% 54%; }
.message-bubble > div { padding: 15px 19px; font-size: 15px; }
.message-link { display: flex; justify-content: space-between; color: #4b593b; font-weight: 800; border-top: 1px solid #d6dacd; padding-top: 10px; margin-top: 12px; }
.workshop { color: var(--paper); background: #25372f; }
.workshop .meta, .workshop h2 i { color: #e6bc9d; }
.workshop .section-copy > p:not(.meta) { color: #e0e4da; }
.worksheet { border-block: 1px solid #869183; padding-block: 16px; }
.worksheet h3 { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; margin-bottom: 17px; font-size: 21px; }
.worksheet small { font: 12px/1.5 var(--mono); color: #d3ddce; }
.worksheet dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-block: 5px; }
.worksheet dd { white-space: nowrap; font-family: var(--mono); }
.worksheet .balance { margin-top: 12px; padding-top: 14px; border-top: 1px dashed #869183; }
.balance dd { font: 600 clamp(28px, 3.2vw, 48px)/1 Manrope, sans-serif; letter-spacing: -.06em; color: #ffba97; }
.audience { background: #eae5da; }
.host { border-left: 2px solid #ae542e; padding-left: clamp(18px, 3vw, 42px); }
.host h3 { font-size: clamp(23px, 2.4vw, 36px); letter-spacing: -.045em; margin: 12px 0; }
.host p:not(.meta), .questions p { color: var(--muted); }
.host a { display: inline-block; font-weight: 800; margin-top: 17px; text-underline-offset: 4px; }
.faq { align-items: start; }
.questions details { border-top: 1px solid var(--line); }
.questions details:last-child { border-bottom: 1px solid var(--line); }
.questions summary { position: relative; list-style: none; padding: 16px 31px 16px 0; font-size: 17px; font-weight: 700; cursor: pointer; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; position: absolute; right: 3px; top: 14px; font-size: 22px; line-height: 1.3; }
.questions details[open] summary::after { content: "−"; }
.questions p { margin: 0 25px 17px 0; font-size: 15px; }
@media (max-width: 670px) {
    .nav-case { display: none; }
    section[id] { scroll-margin-top: 68px; }
    .spread { grid-template-columns: minmax(0,1fr); gap: 24px; padding-block: 35px; }
    .section-copy .meta { margin-bottom: 13px; }
    .message-bubble img { height: 145px; }
    .message-sheet { padding: 17px; }
    .worksheet .balance { flex-wrap: wrap; }
}
