/* NVIEC homepage (nviec.cz). Plain CSS so its tokens do not clash with the OPTIONS Tailwind theme.
   Desktop values come from the 1440px design; tablet and mobile are derived from it. */

:root {
    --ink: #16161A;
    --cream: #EFE8DA;
    --indigo: #14224A;
    --ochre: #F1BB6B;
    --red: #C4473F;
    --blue: #2F5AA8;
    --green-dark: #2F7A45;
    --muted: #4A463F;
    --logo-red: #E47171;
    --logo-blue: #6E9BF2;
    --logo-green: #77CD61;

    --opt-navy: #1B457F;
    --opt-coral: #D0694C;
    --opt-peach: #EDB47B;
    --opt-green: #7DBE6B;
    --opt-phone: #13294F;

    --sans: "Be Vietnam Pro", system-ui, sans-serif;
    --display: "Anton", Impact, "Arial Narrow", sans-serif;
    --serif: "Newsreader", Georgia, serif;
    --grotesque: "Bricolage Grotesque", "Be Vietnam Pro", sans-serif;

    --gutter: clamp(16px, 4.45vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; }
.band-a :focus-visible, .join :focus-visible { outline-color: var(--ink); }

/* One span per language, only the active one is shown */
.l { display: none; }
html[lang="cs"] .l[data-l="cs"],
html[lang="vi"] .l[data-l="vi"],
html[lang="en"] .l[data-l="en"] { display: inline; }

.skip {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    background: var(--ink); color: var(--ochre); padding: 12px 18px; font-weight: 700;
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- Shared motifs ---------- */
.eyebrow {
    font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; line-height: 1.5;
}
.serif { font-family: var(--serif); font-weight: 500; }
.serif em { font-style: italic; }

.tape {
    position: absolute; z-index: 3;
    background: var(--ochre); color: var(--indigo);
    padding: 8px 16px; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
    white-space: nowrap; transform-origin: left top;
    box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.5);
}
.tape-cream { background: var(--cream); }

.slash { position: absolute; width: 6px; height: 64px; background: #E0584F; transform: rotate(22deg); }

.echo > div { color: transparent; -webkit-text-stroke: 1.5px var(--ochre); }
.echo > div:first-child { color: var(--cream); -webkit-text-stroke: 0; }
.echo > div:last-child { -webkit-text-stroke-color: #E3A64E; }
.echo-one { color: transparent; font-family: var(--display); line-height: 0.8; white-space: nowrap; }

/* Hatched placeholder for photos NVIEC still has to supply */
.ph {
    background-color: #D6CAB3;
    background-image: repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.04) 0 2px, transparent 2px 12px);
    color: #6E6556; display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
}
.ph-dark {
    background-color: #3A3A3F;
    background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 14px);
    color: #B9B6AE;
}

.link-arrow { font-size: 15px; font-weight: 700; text-underline-offset: 6px; align-self: flex-start; }
.link-arrow:hover { text-decoration-thickness: 2px; }

/* ---------- Nav ---------- */
.nav {
    position: relative; z-index: 20;
    max-width: 1440px; margin: 0 auto; height: 92px;
    padding: 0 var(--gutter);
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-event { max-width: none; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-brand img { height: 28px; width: auto; }
.nav-brand span { font-size: 22px; font-weight: 500; letter-spacing: 0.08em; }
.nav-links { display: flex; align-items: center; gap: 36px; font-size: 14px; font-weight: 500; }
.nav-links a { text-decoration: none; padding: 6px 0; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav-end { display: flex; align-items: center; gap: 24px; }
.lang { display: flex; gap: 4px; }
.lang button {
    background: none; border: 0; cursor: pointer; padding: 6px 4px;
    font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--lang-off);
}
.lang button[aria-pressed="true"] { color: inherit; }
.lang button:hover { color: inherit; }
.nav-cta {
    text-decoration: none; padding: 10px 18px; font-weight: 700; font-size: 13px; white-space: nowrap;
    border: 2px solid currentColor;
}
.nav-cta-menu { display: none; }
.nav-toggle { display: none; }

.nav-calm { color: var(--cream); --lang-off: #8E9BC0; }
.nav-calm .nav-cta { color: var(--ochre); }
.nav-calm .nav-cta:hover { background: var(--ochre); color: var(--indigo); }
.nav-event { color: #fff; --lang-off: #9DB3D6; }
.nav-event .nav-cta { border-color: rgba(255, 255, 255, 0.7); border-radius: 999px; }
.nav-event .nav-cta:hover { background: #fff; color: var(--opt-navy); }

@media (max-width: 1099px) {
    .nav { height: 76px; }
    .nav-toggle {
        display: flex; flex-direction: column; justify-content: center; gap: 5px;
        width: 44px; height: 44px; padding: 0 10px; background: none; border: 0; cursor: pointer;
    }
    .nav-toggle span { display: block; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .nav-end > .nav-cta { display: none; }
    .nav-end { gap: 12px; }
    .nav-links {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 0;
        padding: 8px var(--gutter) 24px; font-size: 18px;
        background: var(--menu-bg); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, 0.5);
    }
    .nav-links.is-open { display: flex; }
    .nav-links a { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
    .nav-links .nav-cta-menu { display: block; margin-top: 16px; text-align: center; padding: 14px; border-bottom: 2px solid currentColor; }
    .nav-calm { --menu-bg: var(--indigo); }
    .nav-event { --menu-bg: var(--opt-navy); }
}

/* ---------- Hero · calm ---------- */
.calm-hero { position: relative; background: var(--cream); overflow: hidden; }
/* Indigo field; its bottom edge runs through the lower part of the illustration */
.calm-hero::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0;
    height: min(780px, calc(332px + 31.11vw));
    background: var(--indigo);
}
.calm-stack {
    position: absolute; left: 0; right: 0; top: 92px; z-index: 0;
    display: flex; flex-direction: column; align-items: center;
    font-family: var(--display); font-size: min(264px, 18.33vw); line-height: 0.8; letter-spacing: 0.005em;
    white-space: nowrap; pointer-events: none;
}
.calm-side {
    position: absolute; left: calc(100% - 48px); top: 150px; z-index: 1;
    transform: rotate(90deg); transform-origin: left top;
    font-size: 11px; font-weight: 700; letter-spacing: 0.4em; text-transform: uppercase; color: var(--cream); white-space: nowrap;
}
.calm-grid {
    position: relative; z-index: 1;
    max-width: 1440px; margin: 0 auto; padding-top: min(240px, 16.67vw);
    display: grid; grid-template-columns: 150fr 500fr 110fr 500fr 180fr;
}
.calm-figure { grid-column: 2; position: relative; }
.calm-figure img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5); }
.calm-tape { left: -42px; top: -16px; transform: rotate(-7deg); }
.calm-text { grid-column: 4; padding-top: 40px; display: flex; flex-direction: column; gap: 22px; color: var(--cream); }
.calm-title { font-size: clamp(40px, 4.17vw, 60px); line-height: 1; letter-spacing: -0.02em; }
.calm-title em { color: var(--ochre); }
.calm-text p { max-width: 430px; font-size: 17px; line-height: 1.6; font-weight: 300; color: #C9D0E4; }
.calm-text .link-arrow { color: var(--ochre); }
.calm-below {
    position: relative; max-width: 1440px; margin: 0 auto; padding: 166px var(--gutter) 70px;
    display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
}
.calm-bleed { position: absolute; left: 0; top: 48px; width: 118px; height: 230px; object-fit: cover; }
.calm-slash { left: 82.4%; top: 18px; }
.calm-motto { font-size: clamp(30px, 3.47vw, 50px); font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; max-width: 1000px; }

@media (max-width: 1099px) {
    .calm-hero::before { display: none; }
    .calm-hero > .nav, .calm-stack, .calm-side { background: var(--indigo); }
    .calm-stack { position: relative; top: 0; font-size: min(200px, 26vw); padding: 8px 0 0; }
    .calm-side { display: none; }
    .calm-grid {
        display: flex; flex-direction: column; gap: 40px; padding: 48px var(--gutter) 0;
        /* keep the colour split running behind the illustration */
        background: linear-gradient(var(--indigo) 0 calc(48px + min(560px, 100vw - 2 * var(--gutter)) / 2), transparent 0);
    }
    .calm-figure { width: 100%; max-width: 560px; margin: 0 auto; }
    .calm-tape { left: -6px; top: -18px; font-size: 11px; transform: rotate(-4deg); }
    .calm-text { color: var(--ink); padding-top: 0; max-width: 560px; margin: 0 auto; }
    .calm-title em { color: var(--red); }
    .calm-text p { color: var(--muted); }
    .calm-text .link-arrow { color: var(--ink); }
    .calm-below { padding-top: 96px; }
    .calm-bleed { display: none; }
    .calm-slash { left: auto; right: 12%; top: 24px; }
}
@media (max-width: 480px) {
    .calm-tape { white-space: normal; max-width: 90%; }
}

/* ---------- Hero · event (OPTIONS banner) ---------- */
.ev-hero { position: relative; background: var(--opt-navy); color: #fff; overflow: hidden; }
.ev-path { position: absolute; left: 0; bottom: -40px; width: 100%; height: 300px; pointer-events: none; }
.ev-inner {
    position: relative; max-width: 1440px; margin: 0 auto;
    padding: 44px var(--gutter) 90px calc(var(--gutter) + 32px);
    display: grid; grid-template-columns: minmax(0, 720px) minmax(0, 1fr); gap: 32px; min-height: 788px;
}
.ev-main { display: flex; flex-direction: column; gap: 26px; }
.ev-lockup { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.ev-logo img { height: 56px; width: auto; }
.ev-by { font-size: 12px; font-weight: 700; padding: 5px 12px; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 999px; }
.ev-open {
    transform: rotate(-3deg); background: var(--opt-green); color: #10301B;
    padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 700; box-shadow: 0 4px 0 rgba(0, 0, 0, 0.15);
}
.ev-title {
    font-family: var(--grotesque); font-weight: 800;
    font-size: clamp(48px, 7.22vw, 104px); line-height: 1.02; letter-spacing: -0.045em;
}
html[lang="vi"] .ev-title { line-height: 1.12; letter-spacing: -0.03em; font-size: clamp(44px, 6.4vw, 92px); }
.ev-pill {
    display: inline-block; background: var(--opt-coral); border-radius: 0.25em;
    padding: 0 0.21em 0.08em; transform: rotate(-2deg); margin-right: 0.14em;
}
.ev-lead { max-width: 580px; font-size: clamp(17px, 1.32vw, 19px); line-height: 1.6; color: #D8E2F2; }
.ev-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; font-weight: 600; }
.ev-chips li {
    display: flex; align-items: center; gap: 8px; padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 999px;
}
.ev-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; padding-top: 4px; }
.ev-cta {
    display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
    background: var(--opt-peach); color: #1B2F55; padding: 19px 30px; border-radius: 999px;
    font-weight: 700; font-size: 17px; box-shadow: 6px 6px 0 var(--opt-coral);
    transition: transform .15s, box-shadow .15s;
}
.ev-cta:hover { transform: translate(2px, 2px); box-shadow: 4px 4px 0 var(--opt-coral); }
.ev-cta:focus-visible { outline-color: #fff; }
.ev-ticket {
    transform: rotate(-3deg); background: #fff; color: #1B2F55; border-radius: 12px; padding: 8px 16px;
    display: flex; flex-direction: column; align-items: center; box-shadow: 5px 5px 0 var(--opt-green);
}
.ev-ticket-k { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #C4543A; }
.ev-ticket-v { font-family: var(--grotesque); font-size: 24px; font-weight: 800; line-height: 1.1; }
.ev-note { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--opt-peach); }
.ev-note svg { flex-shrink: 0; }

.ev-visual { position: relative; }
.ev-phone {
    position: absolute; left: 21%; top: 14px; width: 300px; height: 580px; transform: rotate(4deg);
    background: var(--opt-phone); border-radius: 48px; padding: 12px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}
.ev-screen {
    height: 100%; background: #fff; border-radius: 38px; overflow: hidden; color: #13243D;
    padding: 26px 16px; display: flex; flex-direction: column; gap: 14px;
}
.ev-screen-top { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 700; }
.ev-clock { font-size: 12px; background: #EEF2F7; border-radius: 999px; padding: 4px 9px; }
.ev-tabs { display: flex; gap: 4px; font-size: 12px; font-weight: 600; }
.ev-tabs span { flex-grow: 1; text-align: center; padding: 8px 0; border-radius: 8px; background: #EEF2F7; }
.ev-tabs .on { background: var(--opt-navy); color: #fff; }
.ev-task { font-size: 15px; font-weight: 800; line-height: 1.3; }
.ev-table { border: 1px solid #E1E7EF; border-radius: 10px; overflow: hidden; font-size: 12px; }
.ev-table > div { display: grid; grid-template-columns: minmax(0, 1fr) 44px 36px; padding: 9px 10px; border-top: 1px solid #E1E7EF; }
.ev-table .head { background: #F5F8FB; font-weight: 700; border-top: 0; }
.ev-table .ask { background: #FBEDE6; }
.ev-table .ask span + span { color: #C4543A; font-weight: 700; }
.ev-tip { font-size: 11px; color: #5B6B82; }
.ev-save { text-align: center; background: var(--opt-navy); color: #fff; border-radius: 12px; padding: 13px 0; font-size: 13px; font-weight: 700; }
.ev-badge {
    position: absolute; left: -2%; top: 404px; width: 170px; height: 170px; border-radius: 50%;
    background: var(--opt-peach); color: var(--opt-navy); transform: rotate(-10deg);
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
    font-size: 14px; font-weight: 700; line-height: 1.2; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.5);
}
.ev-badge b { font-family: var(--grotesque); font-size: 40px; font-weight: 800; line-height: 1; }

.ev-band { padding: 96px var(--gutter) 90px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.eyebrow-bars { display: flex; align-items: center; gap: 12px; }
.bars { display: flex; width: 40px; height: 3px; flex-shrink: 0; }
.bars i { flex: 1; }
.bars i:nth-child(1) { background: var(--logo-red); }
.bars i:nth-child(2) { background: var(--logo-blue); }
.bars i:nth-child(3) { background: var(--logo-green); }
.bars i:nth-child(4) { background: var(--ochre); }
.ev-band-line { font-size: clamp(30px, 3.47vw, 50px); font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; }
.ev-band-line em { font-family: var(--serif); font-weight: 500; color: var(--blue); }

@media (max-width: 1099px) {
    .ev-inner { grid-template-columns: minmax(0, 1fr) 240px; padding-left: var(--gutter); min-height: 0; }
    .ev-phone { left: 10px; transform: rotate(4deg) scale(0.8); transform-origin: left top; }
    .ev-badge { left: -40px; top: 360px; }
}
@media (max-width: 899px) {
    /* No room for the phone; keep the 20+ badge */
    .ev-inner { display: flex; flex-direction: column; padding-top: 32px; padding-bottom: 64px; }
    .ev-phone { display: none; }
    .ev-visual { order: -1; height: 0; }
    .ev-badge { left: auto; right: 0; top: -12px; width: 116px; height: 116px; font-size: 11px; }
    .ev-badge b { font-size: 28px; }
    .ev-lockup { padding-right: 110px; }
    .ev-path { top: auto; bottom: 0; }
    .ev-band { padding: 64px var(--gutter); }
}
@media (max-width: 480px) {
    .ev-logo img { height: 44px; }
    .ev-cta { padding: 16px 24px; font-size: 16px; }
    .ev-chips li { width: 100%; }
}

/* ---------- About ---------- */
.about { padding-top: 60px; padding-bottom: 150px; display: flex; gap: 96px; }
.ev-band + main .about, .calm-hero + main .about { padding-top: 60px; }
.about-intro { width: 470px; flex-shrink: 0; display: flex; flex-direction: column; gap: 24px; }
.about-title { font-size: clamp(42px, 4.17vw, 60px); line-height: 1; letter-spacing: -0.025em; }
.about-title em { color: var(--red); }
.about-intro p { font-size: 17px; line-height: 1.7; font-weight: 300; color: #3E3A34; }
.pillars { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; }
.pillar { display: flex; flex-direction: column; gap: 12px; border-top: 3px solid var(--ink); padding-top: 20px; }
.pillar-num { font-family: var(--display); font-size: 56px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--c); }
.pillar h3 { font-size: 22px; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
.pillar p { font-size: 15px; line-height: 1.65; color: var(--muted); }

@media (max-width: 1099px) {
    .about { flex-direction: column; gap: 56px; padding-bottom: 120px; }
    .about-intro { width: auto; max-width: 640px; }
}
@media (max-width: 640px) {
    .pillars { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}

/* ---------- Program bands ---------- */
.band { position: relative; }
.band-inner { position: relative; display: grid; grid-template-columns: 692fr 64fr 470fr 150fr; }
.band-text { display: flex; flex-direction: column; gap: 20px; position: relative; z-index: 2; }
.band-title { font-size: clamp(44px, 5vw, 72px); font-weight: 800; line-height: 0.98; letter-spacing: -0.035em; }
.band-text p { max-width: 480px; font-size: 18px; line-height: 1.6; }
.band-photo { position: relative; z-index: 2; aspect-ratio: 470 / 560; }
.band-photo > img { width: 100%; height: 100%; object-fit: cover; }
.calm-figure, .band-photo, .band-text { min-width: 0; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13px; font-weight: 700; padding: 8px 14px; border: 2px solid var(--ink); }

.band-a { background: var(--ochre); color: var(--ink); }
.band-a .band-inner { min-height: 560px; }
.band-a .band-text { grid-column: 1; padding-top: 110px; padding-bottom: 80px; max-width: 560px; }
.band-a .band-text p { color: #2A2620; }
.band-a .band-photo { grid-column: 3; margin-top: -120px; align-self: start; }
.band-a-slash { left: -30px; top: -30px; }

.band-b { background: var(--indigo); color: var(--cream); z-index: 1; }
.band-b .band-inner { grid-template-columns: 86fr 470fr 120fr 560fr 140fr; min-height: 620px; }
.band-b .band-photo { grid-column: 2; margin-top: -80px; align-self: start; aspect-ratio: 470 / 580; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
.band-b .band-text { grid-column: 4; padding-top: 150px; padding-bottom: 80px; }
.band-b .band-text p { color: #C9D0E4; }
.band-b .eyebrow, .band-b .link-arrow { color: var(--ochre); }
.band-b-tape { left: -40px; top: -16px; transform: rotate(-6deg); color: var(--indigo); }
.band-six { position: absolute; right: -30px; top: 90px; font-size: min(420px, 29vw); -webkit-text-stroke: 1.5px #3E5494; overflow: hidden; }

.band-c { background: var(--red); color: #fff; z-index: 2; }
.band-c .band-inner { min-height: 600px; grid-template-columns: 692fr 64fr 470fr 150fr; }
.band-c .band-text { grid-column: 1; padding-top: 150px; padding-bottom: 80px; max-width: 600px; }
.band-c .band-text p { color: #FFF1EE; max-width: 500px; }
.band-c .eyebrow { color: #FFE3DD; }
.band-c .link-arrow { color: #fff; }
.band-c .band-photo { grid-column: 3; margin-top: -60px; align-self: start; }
.band-c-tape { left: -40px; top: -16px; transform: rotate(5deg); }

@media (max-width: 899px) {
    .band-inner, .band-b .band-inner, .band-c .band-inner { display: flex; flex-direction: column; min-height: 0; gap: 40px; }
    .band-photo, .band-b .band-photo { width: min(100%, 420px); margin-top: -48px !important; aspect-ratio: 4 / 5; }
    .band-a .band-photo, .band-c .band-photo { order: -1; margin-left: auto; }
    .band-text, .band-a .band-text, .band-b .band-text, .band-c .band-text { padding-top: 0; padding-bottom: 72px; }
    .band-a .band-text, .band-b .band-text { padding-bottom: 104px; }
    .band-b-tape, .band-c-tape { left: -6px; font-size: 11px; }
    .band-a-slash { display: none; }
    .band-six { top: auto; bottom: 20px; }
}

/* ---------- Events ---------- */
.events { position: relative; overflow: hidden; padding: 150px 0 140px; }
.events-bg {
    position: absolute; left: 0; right: 0; top: 40px; text-align: center;
    font-size: min(300px, 20.8vw); -webkit-text-stroke: 1.5px #D9CDB6;
}
.events-inner { position: relative; display: flex; flex-direction: column; gap: 48px; }
.events-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 64px; flex-wrap: wrap; }
.events-head > div:first-child { display: flex; flex-direction: column; gap: 18px; }
.h-big { font-size: clamp(44px, 5vw, 72px); font-weight: 800; line-height: 0.98; letter-spacing: -0.035em; }
.h-big em { font-family: var(--serif); font-weight: 500; color: var(--blue); }
.years { display: flex; border: 2px solid var(--ink); }
.years button {
    min-width: 92px; height: 48px; border: 0; background: transparent; cursor: pointer;
    font-family: var(--display); font-size: 22px; letter-spacing: 0.02em;
}
.years button:hover { background: rgba(22, 22, 26, 0.08); }
.years button[aria-pressed="true"] { background: var(--ink); color: var(--ochre); }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 3px solid var(--ink); border-bottom: 1px solid rgba(22, 22, 26, 0.3); }
.stats > div { display: flex; align-items: center; gap: 18px; padding: 22px 24px; }
.stats > div:first-child { padding-left: 0; }
.stats > div + div { border-left: 1px solid rgba(22, 22, 26, 0.3); }
.stat-num { font-family: var(--display); font-size: 64px; line-height: 1; white-space: nowrap; }
.stats > div > span:last-child { font-size: 14px; line-height: 1.45; color: #2A2620; }
.stats strong { font-weight: 800; }

.events-bar { display: flex; justify-content: space-between; align-items: center; }
.events-count { font-size: 14px; font-weight: 700; letter-spacing: 0.04em; }
.pager { display: flex; gap: 8px; }
.pager button {
    width: 48px; height: 48px; border: 2px solid var(--ink); background: transparent; cursor: pointer;
    display: flex; align-items: center; justify-content: center; padding: 0;
}
.pager button:not(:disabled):hover { background: var(--ink); color: var(--cream); }
.pager button:disabled { opacity: 0.3; cursor: default; }
.events-rule { height: 3px; background: var(--ink); margin-top: -24px; }

.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: -28px; min-height: 420px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; min-height: 400px; }
.card[hidden] { display: none; }
.card-date {
    position: absolute; left: 14px; top: -14px; z-index: 1; transform: rotate(-4deg);
    background: var(--dot); color: var(--ink); padding: 6px 12px; font-family: var(--display); font-size: 22px; letter-spacing: 0.02em;
}
.card-photo { position: relative; height: 150px; flex-shrink: 0; justify-content: flex-end; align-items: flex-end; padding: 10px 12px; font-size: 10px; }
.card-photo img { position: absolute; inset: 0; width: 100%; height: 150px; object-fit: cover; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.card-cat { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cat); }
.card h3 { font-size: 22px; font-weight: 800; line-height: 1.15; letter-spacing: -0.015em; }
.card-body p { font-size: 14px; line-height: 1.55; color: var(--muted); }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.card-link { font-weight: 800; color: var(--ink); white-space: nowrap; }
.card-reg { color: var(--red); }

@media (max-width: 1099px) {
    .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
    .stats { grid-template-columns: minmax(0, 1fr); }
    .stats > div, .stats > div:first-child { padding: 18px 0; }
    .stats > div + div { border-left: 0; border-top: 1px solid rgba(22, 22, 26, 0.3); }
}
@media (max-width: 767px) {
    .events { padding: 110px 0 100px; }
    .pager { display: none; }
    /* Horizontal scroll-snap row; the whole year is shown */
    .cards {
        display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
        margin: -28px calc(-1 * var(--gutter)) 0; padding: 20px var(--gutter) 12px; min-height: 0;
    }
    .card { flex: 0 0 82%; scroll-snap-align: start; }
    .years button { min-width: 0; flex: 1; padding: 0 12px; }
    .years { width: 100%; }
}

/* ---------- Vision ---------- */
.vision {
    position: relative; overflow: hidden; background: var(--indigo); color: var(--cream);
    padding: 150px var(--gutter) 160px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 36px;
}
.vision-bg {
    position: absolute; left: 0; right: 0; bottom: -150px; display: flex; flex-direction: column; align-items: center;
    font-family: var(--display); font-size: min(240px, 30vw); line-height: 0.8; white-space: nowrap;
    color: transparent; -webkit-text-stroke: 1.5px #2C3F78;
}
.vision .eyebrow { position: relative; color: var(--ochre); }
.vision-quote { position: relative; max-width: 1080px; font-size: clamp(32px, 4.03vw, 58px); line-height: 1.1; letter-spacing: -0.02em; }
.vision-quote em { color: var(--ochre); }
.vision-sub { position: relative; max-width: 560px; font-size: 17px; line-height: 1.7; font-weight: 300; color: #C9D0E4; }
@media (max-width: 767px) { .vision { padding: 100px var(--gutter) 120px; } }

/* ---------- Join ---------- */
.join { overflow: hidden; background: var(--ochre); color: var(--ink); padding: 110px 0 120px; }
.join-title {
    display: flex; flex-direction: column;
    font-family: var(--display); font-weight: 400; font-size: min(200px, 13.9vw); line-height: 0.82;
    text-transform: uppercase; white-space: nowrap;
}
.join-echo { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.join-grid { display: flex; gap: 80px; align-items: flex-start; margin-top: 56px; }
.join-intro { width: 420px; flex-shrink: 0; display: flex; flex-direction: column; gap: 24px; }
.join-intro p { font-size: 19px; line-height: 1.6; color: #2A2620; }
.join-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.btn-ink { text-decoration: none; background: var(--ink); color: var(--ochre); padding: 18px 30px; font-weight: 800; font-size: 15px; }
.btn-ink:hover { background: var(--indigo); }
.link-plain { font-size: 15px; font-weight: 800; text-underline-offset: 6px; }
.join-rows { flex: 1; display: flex; flex-direction: column; border-top: 3px solid var(--ink); }
.join-rows a {
    text-decoration: none; display: flex; justify-content: space-between; align-items: center; gap: 24px;
    padding: 24px 0; border-bottom: 1px solid rgba(22, 22, 26, 0.35);
    font-size: clamp(20px, 1.95vw, 28px); font-weight: 800; letter-spacing: -0.02em;
}
.join-rows a span:last-child { font-size: 24px; transition: transform .15s; }
.join-rows a:hover span:last-child { transform: translateX(6px); }
@media (max-width: 1099px) {
    .join-grid { flex-direction: column; gap: 48px; }
    .join-intro { width: auto; max-width: 520px; }
    .join-rows { width: 100%; }
}
@media (max-width: 767px) {
    .join { padding: 80px 0 90px; }
    .join-title { font-size: 21vw; }
}

/* ---------- Inquiry form (in the join section) ---------- */
.inquiry {
    margin-top: 72px; background: var(--cream); border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--ink);
    padding: 48px; display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 32px 64px;
    scroll-margin-top: 24px;
}
.inquiry:focus { outline: none; }
.inquiry-head { display: flex; flex-direction: column; gap: 14px; }
.inquiry-head h3, .inquiry-done h3 { font-size: clamp(28px, 2.5vw, 36px); font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; }
.inquiry-done { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.inquiry-done p { font-size: 18px; line-height: 1.6; max-width: 640px; }
#inquiryForm { display: flex; flex-direction: column; gap: 24px; }
.f-summary { background: #FBE3DF; border-left: 6px solid var(--red); padding: 12px 16px; font-weight: 700; font-size: 15px; }
.f-summary:focus { outline: 3px solid var(--ink); outline-offset: 2px; }
.f-topics { border: 0; margin: 0; padding: 0; }
.f-topics legend { padding: 0; margin-bottom: 12px; font-size: 15px; font-weight: 800; }
.f-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.f-chip { position: relative; cursor: pointer; }
.f-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.f-chip > span {
    display: block; padding: 10px 14px; border: 2px solid var(--ink); font-size: 14px; font-weight: 700; line-height: 1.2;
    transition: background .15s, color .15s;
}
.f-chip:hover > span { background: rgba(22, 22, 26, 0.08); }
.f-chip input:checked + span { background: var(--ink); color: var(--ochre); }
.f-chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.f-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.f-wide { grid-column: 1 / -1; }
.f-field { display: flex; flex-direction: column; gap: 8px; }
.f-field label { font-size: 14px; font-weight: 700; }
.f-req { color: var(--red); }
.f-opt { font-weight: 400; color: var(--muted); }
.f-field input, .f-field textarea {
    width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
    border: 2px solid var(--ink); border-radius: 0; padding: 12px 14px; min-height: 52px;
}
.f-field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.f-field input:focus-visible, .f-field textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; }
.f-field [aria-invalid="true"] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.f-err { font-size: 13px; font-weight: 700; color: #A3332C; }
.f-submit { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.f-submit .btn-ink { border: 0; cursor: pointer; }
.f-submit .btn-ink:disabled { opacity: 0.6; cursor: progress; }
.f-note { font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 440px; }
@media (max-width: 1099px) {
    .inquiry { grid-template-columns: minmax(0, 1fr); padding: 36px; }
}
@media (max-width: 640px) {
    .inquiry { margin-top: 56px; padding: 24px 18px; box-shadow: 6px 6px 0 var(--ink); }
    .f-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--cream); padding: 72px 0 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 48px 64px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 20px; max-width: 440px; }
.footer-logo { display: flex; align-items: center; gap: 14px; font-size: 28px; font-weight: 500; letter-spacing: 0.08em; }
.footer-logo img { width: 60px; height: auto; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: #A8A49C; }
.footer-cols { display: grid; grid-template-columns: repeat(3, auto); gap: 32px 72px; font-size: 14px; line-height: 2; }
.footer-cols > div { display: flex; flex-direction: column; }
.footer-h { font-weight: 800; margin-bottom: 8px; }
.footer-cols a, .footer-cols span:not(.l) { color: #A8A49C; text-decoration: none; }
.footer-cols a:hover { color: var(--cream); text-decoration: underline; }
.footer-bottom {
    margin-top: 56px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
    border-top: 1px solid #34353B; padding-top: 24px; font-size: 13px; color: #8E8A83;
}
.footer-motto { font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; font-size: 11px; }
@media (max-width: 640px) {
    .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
