@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;1,600;1,700&display=swap');

:root { --paper: #ffffff; --ink: #000000; --muted: #565155; --line: #daacb9; --coral: #82162f; --pink: #daacb9; --gray: #565155; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; overflow-x: clip; color: var(--ink); background: var(--paper); font-family: Manrope, sans-serif; }
a { color: inherit; text-decoration: none; }
.site-header { height: 82px; display: flex; align-items: center; justify-content: space-between; max-width: 1280px; margin: auto; padding: 0 42px; border-bottom: 1px solid var(--line); }
.brand, footer > span:first-child { font-size: 18px; font-weight: 800; letter-spacing: .08em; }
.brand { display: inline-flex; align-items: flex-end; line-height: 1.12; }
.brand .brand-dot, .dot { color: var(--coral); font-size: 12px; margin-left: 4px; }
@media (max-width: 480px) { .brand { font-size: 12px; } .site-header { gap: 10px; } .header-link { flex-shrink: 0; } }
nav { display: flex; gap: 34px; font-size: 13px; color: var(--muted); }
nav a:hover, .header-link:hover, .text-link:hover { color: var(--coral); }
.header-link, .text-link, .back-link { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; }
svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero { max-width: 1280px; min-height: 670px; margin: auto; padding: 72px 42px 82px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; overflow: clip; }
.eyebrow { font: 500 11px 'DM Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); margin: 0 0 22px; }
h1, h2, h3, p { margin-top: 0; } h1, h2 { letter-spacing: -.045em; line-height: .98; } h1 { font-size: clamp(48px, 6.2vw, 88px); margin-bottom: 27px; } h2 { font-size: clamp(40px, 5vw, 68px); } h3 { font-size: 24px; letter-spacing: -.04em; margin: 10px 0; } em { font-family: 'Playfair Display', serif; font-weight: 600; }
.hero-word { display: inline-block; transition: opacity 300ms ease; }
.hero-word.is-changing { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .hero-word { transition: none; } }
.hero-note { font-size: 16px; line-height: 1.55; color: var(--muted); margin-bottom: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 52px; padding: 0 20px; border: 0; font: 700 12px Manrope, sans-serif; cursor: pointer; transition: transform .2s, background .2s; } .button:hover { transform: translateY(-2px); } .button-dark { color: var(--paper); background: var(--ink); } .button-dark:hover { background: var(--coral); } .button-coral { color: #fff; background: var(--coral); }
.hero-art { min-width: 0; min-height: 500px; position: relative; display: flex; align-items: center; justify-content: center; } .hero-photo { width: min(100%, 560px); aspect-ratio: 16 / 9; overflow: hidden; transform: rotate(4deg); border: 10px solid #fff; box-shadow: 0 24px 40px #0000001c; } .hero-photo img, .event-image img, .detail-image img { width: 100%; height: 100%; object-fit: cover; display: block; } .hero-photo img { filter: grayscale(1) contrast(.9); } .hero-sticker { position: absolute; z-index: 1; left: 2%; top: 17%; background: var(--pink); border-radius: 50%; width: 132px; height: 132px; display: grid; place-content: center; text-align: center; font-weight: 800; font-size: 18px; line-height: 1.08; transform: rotate(-12deg); }
.events-section { max-width: 1280px; margin: auto; padding: 88px 42px 120px; border-top: 1px solid var(--line); } .section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 52px; } .section-heading h2 { margin-bottom: 0; } .event-tools { display: flex; align-items: center; gap: 22px; } .search-box { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--ink); padding: 8px 0; } .search-box input { width: 195px; border: 0; background: transparent; outline: 0; font: 13px Manrope, sans-serif; color: var(--ink); direction: ltr; text-align: left; unicode-bidi: plaintext; caret-color: var(--ink); } .event-count { color: var(--muted); font: 11px 'DM Mono', monospace; }
.events-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; } .event-card { cursor: pointer; min-width: 0; animation: reveal .6s both; animation-delay: var(--delay); } .event-image { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--pink); } .event-card:nth-child(2) .event-image { background: var(--gray); } .event-card:nth-child(3) .event-image { background: var(--coral); } .event-card:nth-child(4) .event-image { background: var(--pink); } .event-image img { transition: transform .5s; } .event-card:hover img { transform: scale(1.06); } .event-category { position: absolute; top: 14px; left: 14px; padding: 7px 10px; background: var(--paper); font: 10px 'DM Mono', monospace; text-transform: uppercase; } .event-card-body { padding: 19px 3px; } .event-date { color: var(--coral); font: 11px 'DM Mono', monospace; text-transform: uppercase; } .event-place { color: var(--muted); font-size: 12px; margin-bottom: 24px; } .text-link { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.manifesto { background: var(--ink); color: var(--paper); padding: 72px max(42px, calc((100vw - 1196px) / 2)) 110px; display: grid; grid-template-columns: 1.1fr .9fr; grid-template-areas: "eyebrow eyebrow" "title description" ". link" "gallery gallery" "join join"; column-gap: 10%; row-gap: 34px; align-items: start; } .manifesto .eyebrow { color: var(--pink); grid-area: eyebrow; margin-bottom: 0; } .manifesto-title { grid-area: title; margin: 0; } .manifesto-description { grid-area: description; color: var(--pink); line-height: 1.7; font-size: 15px; max-width: 350px; margin: 0; } .manifesto-link { grid-area: link; color: var(--pink); align-self: start; }
.manifesto-title em { margin-left: .12em; }
footer { max-width: 1280px; margin: auto; padding: 28px 42px; display: flex; justify-content: space-between; align-items: center; gap: 28px; font-size: 11px; color: var(--muted); }
.footer-brand { display: flex; align-items: center; }
.footer-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
footer a { color: var(--ink); font-weight: 700; }
.social-links { display: flex; gap: 12px; align-items: center; }
.social-icon { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; background: var(--paper); transition: all 0.25s ease; color: var(--ink); overflow: hidden; }
.social-icon svg { width: 22px; height: 22px; stroke: none; fill: currentColor; display: block; margin: 0 auto; transition: transform 0.25s ease; }
.social-icon:hover { background: var(--coral); border-color: var(--coral); color: #fff; transform: translateY(-3px) scale(1.08); box-shadow: 0 6px 16px rgba(130, 22, 47, 0.25); }
.social-icon:hover svg { transform: scale(1.1); }
.vk-icon svg { width: 24px; height: 24px; }
.telegram-icon svg { width: 20px; height: 20px; transform: translateX(1px); }
.tiktok-icon svg { width: 21px; height: 21px; transform: translateX(-1px); }
.admin-footer-link { font-size: 20px; font-weight: 500; letter-spacing: -.04em; color: var(--ink); }
.footer-brand span { font-size: 18px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 800px) { footer { padding: 25px 20px; gap: 15px; flex-wrap: wrap; } .footer-actions { width: 100%; justify-content: flex-end; } .admin-footer-link { font-size: 18px; } }
.detail-page, .register-page { max-width: 1280px; margin: auto; padding: 40px 42px 110px; } .back-link { color: var(--muted); margin-bottom: 54px; } .back-link:hover { color: var(--coral); } .detail-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 8%; align-items: center; } .detail-image { aspect-ratio: 16 / 9; position: relative; } .detail-info h1 { font-size: clamp(50px, 6vw, 88px); } .detail-description { max-width: 460px; color: var(--muted); line-height: 1.7; font-size: 15px; margin-bottom: 40px; } .detail-divider { width: 100%; height: 1px; background: var(--coral); margin: 18px 0 28px; }
.form-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 6vw, 100px); align-items: start; } .form-intro { position: sticky; top: 30px; } .form-intro h1 { font-size: clamp(40px, 4vw, 70px); margin-bottom: 24px; } .form-intro > p:not(.eyebrow) { color: var(--muted); line-height: 1.6; max-width: 320px; } .selected-event { margin-top: 0; margin-bottom: 28px; border-left: 3px solid var(--coral); padding: 4px 0 4px 18px; } .selected-event span, .selected-event strong, .selected-event small { display: block; } .selected-event span, .selected-event small { color: var(--muted); font-size: 11px; } .selected-event strong { font-size: 18px; margin: 8px 0; } .role-meta { margin-bottom: 18px; } .role-count { margin: 0 0 12px; font: 500 11px 'DM Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); } .role-description { max-width: 52ch; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; } .registration-form { min-width: 0; background: #fff; padding: 38px 42px 42px; } .form-progress { display: flex; gap: 18px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 25px; margin-bottom: 28px; } .form-progress > span { display: grid; place-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--coral); color: white; font: 11px 'DM Mono', monospace; } .form-progress b, .form-progress small { display: block; } .form-progress b { font-size: 13px; } .form-progress small { color: var(--muted); font-size: 11px; margin-top: 3px; } .registration-form label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 20px; } .registration-form input:not([type=checkbox]), .registration-form select, .registration-form textarea { width: 100%; display: block; margin-top: 8px; border: 1px solid var(--line); background: #fff; padding: 13px; outline: 0; font: 13px Manrope, sans-serif; color: var(--ink); resize: vertical; } .registration-form input:focus, .registration-form select:focus, .registration-form textarea:focus { border-color: var(--coral); } .field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .optional { color: var(--muted); font-weight: 400; margin-left: 5px; } .consent { display: flex !important; gap: 9px; align-items: start; font-weight: 400 !important; color: var(--muted); } .consent input { accent-color: var(--coral); margin-top: 2px; } .registration-form > .button { width: 100%; margin-top: 5px; } .form-status { color: var(--coral); text-align: center; font-size: 12px; margin: 15px 0 0; } .success-state { text-align: center; padding: 100px 20px; } .success-state h2 { font-size: 52px; } .success-state p:not(.eyebrow) { color: var(--muted); margin-bottom: 35px; } .success-icon { width: 64px; height: 64px; display: grid; place-content: center; border-radius: 50%; background: var(--pink); margin: 0 auto 30px; } .success-icon svg { width: 25px; }
.admin-page { max-width: 1280px; margin: auto; padding: 70px 42px 110px; } .admin-login-page { max-width: 1280px; min-height: 70vh; margin: auto; padding: 100px 42px; display: grid; place-items: center; } .admin-login-form { width: min(460px, 100%); padding: 42px; background: var(--pink); } .admin-login-form h1 { font-size: 58px; margin-bottom: 38px; } .admin-login-form label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 18px; } .admin-login-form input { width: 100%; display: block; margin-top: 8px; border: 1px solid var(--line); background: #fff; padding: 13px; outline: 0; font: 13px Manrope, sans-serif; color: var(--ink); } .admin-heading, .admin-settings, .admin-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; } .admin-heading { padding-bottom: 75px; border-bottom: 1px solid var(--line); } .admin-heading h1 { margin-bottom: 22px; } .admin-heading p:not(.eyebrow), .admin-settings p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 350px; } .admin-heading-actions { display: flex; align-items: center; gap: 12px; } .admin-settings { padding: 65px 0; border-bottom: 1px solid var(--line); align-items: center; } .admin-settings h2, .admin-section-heading h2 { margin: 0; } .admin-hero-form { width: min(600px, 100%); } .admin-hero-form label, .event-form label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 18px; } .admin-hero-form input, .event-form input, .event-form textarea { width: 100%; display: block; margin-top: 8px; border: 1px solid var(--line); background: #fff; padding: 13px; outline: 0; font: 13px Manrope, sans-serif; color: var(--ink); resize: vertical; } .admin-hero-form input:focus, .event-form input:focus, .event-form textarea:focus { border-color: var(--coral); } .roles-editor { margin: 8px 0 26px; } .roles-editor-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; } .roles-editor-header span { font-size: 12px; font-weight: 700; } .roles-editor-list { display: flex; flex-direction: column; gap: 12px; } .role-editor-row { display: grid; grid-template-columns: minmax(0, 1.8fr) 120px auto; gap: 12px; align-items: center; } .role-editor-row input { margin-top: 0; } .delete-role-row { width: 36px; height: 36px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; } .delete-role-row:hover { border-color: var(--coral); color: var(--coral); } .admin-events { padding-top: 65px; } .admin-section-heading { margin-bottom: 30px; } .admin-event-list { border-top: 1px solid var(--ink); } .admin-event-row { display: grid; grid-template-columns: 72px 1fr auto auto; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); } .admin-event-row img { width: 72px; height: 58px; object-fit: cover; } .admin-event-row strong, .admin-event-row small { display: block; } .admin-event-row strong { font-size: 15px; } .admin-event-row small { color: var(--muted); font-size: 11px; margin-top: 5px; } .icon-button { border: 1px solid var(--ink); background: transparent; padding: 10px 12px; font: 700 10px Manrope, sans-serif; cursor: pointer; } .icon-button:hover { color: var(--coral); border-color: var(--coral); } .icon-button.danger { color: var(--coral); border-color: var(--coral); } .event-editor { margin-top: 42px; padding: 35px 42px 42px; background: var(--pink); } .event-editor[hidden] { display: none; } .editor-header { display: flex; justify-content: space-between; align-items: start; margin-bottom: 30px; } .editor-header h2 { margin: 0; font-size: 34px; } .event-form { max-width: 850px; } .event-form textarea { min-height: 100px; } .editor-actions { display: flex; align-items: center; gap: 12px; margin-top: 25px; } .button-light { background: #fff; color: var(--ink); } .admin-status { color: var(--coral); font-size: 11px; margin: 0 0 0 8px; } .admin-footer-link { font-size: 10px; color: var(--muted); } .empty-state { color: var(--muted); } @keyframes reveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 800px) { .site-header { padding: 0 20px; height: 70px; } nav { display: none; } .header-link { font-size: 10px; } .hero, .detail-hero, .form-layout { grid-template-columns: 1fr; gap: 45px; } .hero { padding: 58px 20px 75px; } .hero-art { min-height: 410px; } .hero-photo { width: 80%; } .hero-sticker { left: 5%; top: 12%; } .events-section, .detail-page, .register-page, .admin-page { padding-left: 20px; padding-right: 20px; } .section-heading { display: block; } .event-tools { margin-top: 32px; justify-content: space-between; } .events-grid { grid-template-columns: 1fr 1fr; gap: 24px 14px; } .manifesto { padding: 75px 20px; display: block; } .manifesto p:not(.eyebrow) { margin-top: 30px; } footer { padding: 25px 20px; gap: 15px; flex-wrap: wrap; } footer > span:nth-child(2) { order: 3; width: 100%; } .form-intro { position: static; } .selected-event { margin-top: 35px; } .registration-form, .event-editor { padding: 28px 20px; } .admin-heading, .admin-settings, .admin-section-heading { display: block; } .admin-heading .button, .admin-section-heading .button { margin-top: 25px; } .admin-settings { padding: 45px 0; } .admin-hero-form { margin-top: 30px; } .admin-event-row { grid-template-columns: 54px 1fr; } .admin-event-row img { width: 54px; height: 54px; grid-row: span 2; } .admin-event-row .icon-button { grid-row: 2; } .editor-actions { flex-wrap: wrap; } }
@media (max-width: 480px) { .events-grid { grid-template-columns: 1fr; } .field-row { grid-template-columns: 1fr; gap: 0; } .search-box input { width: 150px; } }
.image-editor { margin-bottom: 22px; }
.image-preview-frame { width: min(100%, 360px); aspect-ratio: 16 / 9; overflow: hidden; margin-top: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.consent a { color: var(--coral); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; font-weight: 700; }
.consent a::after { content: ' ↗'; font-size: 0.9em; }
.consent a:hover { color: var(--ink); }
.image-preview-frame img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .2s ease; }
.image-editor-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.image-editor-tools label { display: flex; align-items: center; gap: 10px; margin: 0; }
.image-editor-tools output { min-width: 38px; color: var(--coral); font: 11px 'DM Mono', monospace; }
.image-editor-tools input[type=range] { width: 150px; accent-color: var(--coral); }
.image-editor-hint { display: block; color: var(--muted); font-size: 11px; margin-top: 8px; }
.empty-state span { display: block; }
@media (max-width: 800px) { .manifesto-description { margin-top: 30px; } .manifesto-link { display: inline-block; margin-top: 24px; } }

.registration-options { margin: 30px 0; padding: 24px; border: 1px solid var(--line); background: #fff; }
.registration-options h3 { font-size: 18px; margin-bottom: 22px; }
.registration-options .toggle-field { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.registration-options .toggle-field input { width: 18px; height: 18px; margin: 0; accent-color: var(--coral); }
.registration-form textarea[name="extra_question_answer"]::placeholder { color: #757575; opacity: 1; }
@media (max-width: 800px) { .hero { overflow: clip; } .hero-photo { max-width: 100%; } .form-layout, .detail-hero { grid-template-columns: minmax(0, 1fr); } .registration-options { padding: 18px; } }

.about-gallery { grid-area: gallery; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 35px; }
.about-card { min-width: 0; margin: 0; }
.about-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(1); }
.about-card figcaption { margin-top: 16px; color: var(--pink); font-size: 13px; line-height: 1.5; }
.admin-about { padding: 65px 0; border-bottom: 1px solid var(--line); }
.admin-about > p, .admin-about > div > p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.6; }
.admin-about-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 35px; }
.admin-about-card { min-width: 0; padding: 24px; background: var(--pink); }
.admin-about-card h3 { margin: 0 0 20px; }
.admin-about-card label { display: block; font-size: 12px; font-weight: 700; }
.admin-about-card textarea { display: block; width: 100%; min-height: 90px; margin-top: 8px; padding: 13px; border: 1px solid var(--line); background: #fff; font: 13px Manrope, sans-serif; resize: vertical; }
.admin-about-form > .editor-actions { grid-column: 1 / -1; }
@media (max-width: 800px) { .manifesto { padding-top: 50px; } .about-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 45px; } }
@media (max-width: 480px) { .about-gallery, .admin-about-form { grid-template-columns: 1fr; } }

.about-join { grid-area: join; padding-top: 42px; margin-top: 22px; border-top: 1px solid #565155; text-align: center; }
.about-join p { max-width: 800px; margin: 0 auto 26px; color: #e5d4da; font-size: clamp(20px, 2.3vw, 30px); font-weight: 500; line-height: 1.35; }
.about-join .button { min-width: 240px; background: #312329; color: #e9cbd4; border: 1px solid #8b6571; }
.about-join .button:hover { background: #49323b; }
.about-join .button:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; }
.registration-closed { max-width: 850px; margin: 80px auto 0; text-align: center; }
.registration-closed h1 { font-size: clamp(32px, 5vw, 64px); line-height: 1.12; margin-bottom: 36px; }
@media (max-width: 800px) { .registration-closed { margin-top: 45px; } }
@media (max-width: 800px) { .about-join { margin-top: 38px; } }
