/* ==========================================================================
   LumiKidLab — "lab notebook": night-blue torch sections, graph paper,
   handwritten notes, index cards, tickets, sticky notes.
   ========================================================================== */
:root {
    --blue: #3A8CC1;
    --blue-dark: #2D6E99;
    --blue-light: #8EC5E8;
    --tint: #E8F4FC;
    --yellow: #F5C42A;
    --yellow-dark: #D4A820;
    --navy: #1E2A38;
    --night: #15202B;
    --ink: #1E2A38;
    --muted: #4A5568;
    --soft: #F4F8FC;
    --line: #E2E8F0;
    --white: #FFFFFF;
    --note-yellow: #FFF1B8;
    --note-blue: #DCEFFB;
    --grid: rgba(58, 140, 193, 0.10);

    --font-body: "Poppins", "Segoe UI", system-ui, sans-serif;
    --font-hand: "Architects Daughter", "Comic Sans MS", cursive;

    --wrap: 1120px;
    --gutter: 32px;
    --radius: 10px;
    --radius-lg: 18px;
    --shadow-card: 0 2px 4px rgba(30, 42, 56, 0.06), 0 12px 28px rgba(30, 42, 56, 0.08);
    --shadow-lift: 0 2px 4px rgba(30, 42, 56, 0.06), 0 20px 40px rgba(30, 42, 56, 0.14);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.65; }
/* Footer stays at the bottom even when a page is short */
body { display: flex; flex-direction: column; min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px)); }
.site-main { flex: 1 0 auto; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue-dark); }
h1, h2, h3 { line-height: 1.2; text-wrap: balance; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--navy); padding: 10px 16px; border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.site-main:focus { outline: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
@media (max-width: 640px) { :root { --gutter: 18px; } }
.band { padding-block: 76px; }
@media (max-width: 640px) { .band { padding-block: 54px; } }
.band--navy { background: var(--navy); color: var(--white); }
.graph { background-color: var(--soft); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }
.hand { font-family: var(--font-hand); font-weight: 400; }
.label { margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.h2 { margin: 6px 0 10px; font-size: clamp(27px, 3.4vw, 38px); font-weight: 700; letter-spacing: -0.01em; }
.lede { margin: 0; max-width: 58ch; color: var(--muted); font-size: 17px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.link { font-weight: 600; font-size: 15px; color: var(--blue-dark); text-decoration: none; }
.link:hover { text-decoration: underline; }
.icon { width: 1.1em; height: 1.1em; flex: none; }
.plain-list { display: grid; gap: 8px; padding-left: 1.2em; }
.prose { max-width: 70ch; font-size: 17px; }

.section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; margin-bottom: 24px; }
.section-head .h2 { margin: 0; }
.section-head--split { justify-content: space-between; align-items: end; }
.section-head__note { color: var(--blue); font-size: 20px; transform: rotate(-3deg); display: inline-block; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: var(--radius); border: 2px solid transparent; font: 600 15px/1.2 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform 0.15s ease, background-color 0.15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--yellow { background: var(--yellow); color: var(--navy); }
.btn--yellow:hover { background: var(--yellow-dark); color: var(--navy); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.6); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); color: var(--white); }
.btn--line { border-color: var(--blue); color: var(--blue-dark); }
.btn--sm { padding: 8px 16px; font-size: 14px; border-radius: 9px; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.admin-bar .site-head { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-head { top: 46px; } }
.site-head__in { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.site-logo { display: flex; align-items: center; gap: 9px; color: var(--navy); text-decoration: none; font-weight: 700; font-size: 18px; flex: none; }
.site-logo__mark { width: 36px; height: 36px; }
.site-nav { flex: 1; display: flex; justify-content: center; }
.site-nav__menu { display: flex; gap: 24px; margin: 0; padding: 0; list-style: none; }
.site-nav__menu a { position: relative; display: inline-block; padding: 6px 2px; color: var(--muted); font-size: 15px; font-weight: 500; text-decoration: none; }
.site-nav__menu a:hover { color: var(--navy); }
.site-nav__menu .current-menu-item > a, .site-nav__menu .current_page_item > a, .site-nav__menu .current-menu-ancestor > a { color: var(--navy); font-weight: 600; }
.site-nav__menu .current-menu-item > a::after, .site-nav__menu .current_page_item > a::after, .site-nav__menu a:hover::after {
    content: ""; position: absolute; left: -4px; right: -4px; bottom: -6px; height: 9px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 9' preserveAspectRatio='none'%3E%3Cpath d='M2 6 C 12 1, 20 9, 31 5 S 50 2, 58 6' fill='none' stroke='%23F5C42A' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.site-nav__menu a:hover::after { opacity: 0.55; }
.site-nav__menu .current-menu-item > a:hover::after, .site-nav__menu .current_page_item > a:hover::after { opacity: 1; }
.nav-dot { position: absolute; top: 2px; right: -9px; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 2px var(--white); }
.site-nav__cta { display: none; }
.site-head__end { display: flex; align-items: center; gap: 12px; flex: none; }

.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--navy); font: 600 13px var(--font-body); cursor: pointer; }
.lang__btn .icon { width: 14px; height: 14px; transition: transform 0.2s ease; }
.lang__btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.lang__list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px; margin: 0; padding: 6px; list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-card); z-index: 60; }
.lang__list a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); font-size: 14px; text-decoration: none; }
.lang__list a:hover { background: var(--soft); }
.lang__list a[aria-current] { font-weight: 600; color: var(--blue-dark); }

.burger { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger i { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform 0.2s ease, opacity 0.2s ease; }
.burger[aria-expanded="true"] i:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(3) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
    .site-head__in { justify-content: space-between; gap: 12px; }
    .burger { display: flex; }
    .site-head__cta { display: none; }
    .site-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 14px; padding: 16px var(--gutter) 22px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(30, 42, 56, 0.12); }
    .site-nav.is-open { display: flex; }
    .site-nav__menu { flex-direction: column; gap: 2px; }
    .site-nav__menu a { display: block; padding: 10px 4px; font-size: 17px; }
    .site-nav__menu .current-menu-item > a::after, .site-nav__menu .current_page_item > a::after { left: 0; right: auto; width: 80px; bottom: 2px; }
    .site-nav__menu a:hover::after { display: none; }
    .site-nav__cta { display: inline-flex; align-self: flex-start; }
}

/* ---------- doodles + torch ---------- */
.doodles { position: absolute; inset: 0; pointer-events: none; }
.doodles svg { display: block; width: 100%; height: 100%; }
.doodles text { font-family: var(--font-hand); fill: currentColor; }
.doodles--base { color: var(--blue-light); opacity: 0.13; }
.doodles--lit { color: #CFE9FA; -webkit-mask-image: radial-gradient(230px circle at var(--x) var(--y), #000 25%, transparent 72%); mask-image: radial-gradient(230px circle at var(--x) var(--y), #000 25%, transparent 72%); }
.doodles--faint { color: var(--blue-light); opacity: 0.06; }
.torch { position: relative; overflow: hidden; --x: 72%; --y: 42%; background: var(--night); color: var(--white); }
.torch::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px circle at var(--x) var(--y), rgba(58, 140, 193, 0.34), rgba(58, 140, 193, 0.08) 45%, transparent 70%); }

/* ---------- home: hero ---------- */
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 32px; align-items: center; padding-block: 88px 96px; }
@media (max-width: 860px) { .hero__in { grid-template-columns: 1fr; padding-block: 56px 64px; } }
.hero__kicker { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); }
.hero__title { margin: 14px 0 18px; font-size: clamp(38px, 5.6vw, 66px); line-height: 1.04; font-weight: 800; letter-spacing: -0.02em; }
.hero__why { position: relative; display: inline-block; font-family: var(--font-hand); font-weight: 400; color: var(--yellow); white-space: nowrap; }
.squiggle { position: absolute; left: -4%; bottom: -0.18em; width: 108%; height: 0.32em; overflow: visible; }
.hero__sub { margin: 0 0 30px; max-width: 46ch; font-size: 18px; color: rgba(255, 255, 255, 0.8); }
.torch-hint { display: flex; align-items: center; gap: 8px; margin: 28px 0 0; color: var(--blue-light); font-size: 18px; }
.torch-hint svg { width: 34px; height: 22px; }
.hero__brain { position: relative; justify-self: center; width: min(100%, 380px); }
@media (max-width: 860px) { .hero__brain { width: min(70%, 280px); } .torch-hint { display: none; } }
.hero__brain .brain { width: 100%; height: auto; overflow: visible; }
.hero__tag { position: absolute; right: -6px; bottom: 6%; padding: 4px 12px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); font-size: 18px; transform: rotate(-6deg); }

.brain { display: block; overflow: visible; }
/* Glowing dots pulse, each on its own random timing (main.js) */
.brain--glow .brain__dot { filter: drop-shadow(0 0 10px rgba(245, 196, 42, 0.85)); transform-box: fill-box; transform-origin: center; }
.brain--draw .brain__line { stroke-dasharray: 1; animation: draw 1.6s cubic-bezier(0.6, 0, 0.3, 1) both; }
.brain--draw .brain__line:nth-child(2) { animation-delay: 0.15s; }
.brain--draw .brain__line:nth-child(3) { animation-delay: 0.3s; }
.brain--draw .brain__line:nth-child(4) { animation-delay: 0.45s; }
.brain--draw .brain__line:nth-child(5) { animation-delay: 0.6s; }
.brain--draw .brain__dot { transform-box: fill-box; transform-origin: center; animation: pop 0.5s ease-out 1.3s both; }
.brain--draw .brain__dot:nth-child(2) { animation-delay: 1.5s; }
.brain--draw .brain__dot:nth-child(3) { animation-delay: 1.7s; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(0); } 70% { transform: scale(1.3); } to { transform: scale(1); } }

/* ---------- home: numbers ---------- */
.stats { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 24px; padding-block: 44px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; } }
.stat { position: relative; }
.stat b { display: block; font-size: clamp(36px, 4.4vw, 50px); line-height: 1; font-weight: 800; color: var(--blue); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat > span:not(.stat__note) { display: block; margin-top: 6px; color: var(--muted); font-size: 14.5px; font-weight: 500; }
.stat__ring { position: absolute; left: -16px; top: -14px; width: 132px; height: 74px; overflow: visible; pointer-events: none; }
.stat__note { position: absolute; left: 118px; top: -6px; color: var(--navy); font-size: 16px; white-space: nowrap; transform: rotate(-5deg); }
.stat__note--lang { left: 44px; top: 4px; }
@media (max-width: 760px) { .stat__note { display: none; } }

/* ---------- home: who are you ---------- */
.who__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.who__head .h2 { margin-bottom: 0; }
.who__switch { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); }
.who__switch button { padding: 9px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 600 14px var(--font-body); cursor: pointer; }
.who__switch button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
@media (max-width: 560px) { .who__switch { border-radius: 18px; } .who__switch button { flex: 1 1 100%; text-align: left; border-radius: 12px; } }
.who__panel { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 28px; align-items: start; }
.who__panel.is-in .picks { animation: rise 0.35s ease both; }
@media (max-width: 820px) { .who__panel { grid-template-columns: 1fr; } }
.who__intro p { margin: 0; font-size: 23px; line-height: 1.35; font-weight: 600; text-wrap: balance; }
.who__intro .hand { display: block; margin-top: 10px; color: var(--blue); font-size: 19px; }
.picks { display: grid; gap: 10px; }
.pick { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 15px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); color: var(--ink); text-decoration: none; transition: border-color 0.2s ease, transform 0.2s ease; }
.pick:hover { border-color: var(--blue); transform: translateX(4px); }
.pick__kind { padding: 4px 8px; border-radius: 6px; background: var(--tint); color: var(--blue-dark); font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.pick strong { font-weight: 600; font-size: 15.5px; line-height: 1.35; }
.pick .icon { color: var(--blue); width: 20px; height: 20px; }
@media (max-width: 520px) { .pick { grid-template-columns: 1fr auto; } .pick__kind { grid-column: 1 / -1; justify-self: start; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- home: index cards ---------- */
.index-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 36px; }
@media (max-width: 860px) { .index-cards { grid-template-columns: 1fr; gap: 36px; } }
.index-card { position: relative; padding: 30px 24px 26px; border-radius: 6px; background: var(--white); box-shadow: var(--shadow-card); transition: transform 0.25s ease, box-shadow 0.25s ease;
    background-image: linear-gradient(transparent 52px, rgba(232, 92, 92, 0.25) 52px, rgba(232, 92, 92, 0.25) 53px, transparent 53px), repeating-linear-gradient(transparent 0 27px, rgba(58, 140, 193, 0.12) 27px 28px);
    background-position: 0 0, 0 53px; }
.index-card:nth-child(1) { transform: rotate(-1.6deg); }
.index-card:nth-child(2) { transform: rotate(1.2deg); }
.index-card:nth-child(3) { transform: rotate(-0.6deg); }
.index-card:hover { transform: rotate(0) translateY(-6px); box-shadow: var(--shadow-lift); }
.index-card::before { content: ""; position: absolute; top: -12px; left: 50%; width: 96px; height: 26px; border-radius: 2px; background: rgba(245, 196, 42, 0.55); transform: translateX(-50%) rotate(-3deg); }
.index-card:nth-child(2)::before { background: rgba(142, 197, 232, 0.6); transform: translateX(-50%) rotate(4deg); }
.index-card svg { width: 84px; height: 84px; margin-bottom: 10px; }
.index-card h3 { margin: 0 0 6px; font-size: 19px; }
.index-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- home: next event ticket ---------- */
.ticket { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: stretch; overflow: hidden; border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 14px 36px rgba(30, 42, 56, 0.12); }
.ticket__stub { position: relative; display: grid; place-content: center; padding: 18px 8px; text-align: center; background: var(--yellow); border-right: 2px dashed rgba(30, 42, 56, 0.35); }
.ticket__stub b { display: block; font-size: 46px; line-height: 1; font-weight: 800; }
.ticket__stub span { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.ticket__stub::before, .ticket__stub::after { content: ""; position: absolute; right: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); }
.ticket__stub::before { top: -10px; }
.ticket__stub::after { bottom: -10px; }
.ticket__body { display: grid; gap: 6px; align-content: center; padding: 22px 26px; }
.ticket__kind { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.ticket__body h3 { margin: 0; font-size: 22px; }
.ticket__body h3 a { color: var(--ink); text-decoration: none; }
.ticket__body h3 a:hover { color: var(--blue-dark); }
.ticket__meta { margin: 0; color: var(--muted); font-size: 14.5px; }
.ticket__places { display: flex; align-items: center; gap: 10px; margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }
.ticket__places i { display: block; width: 140px; height: 8px; overflow: hidden; border-radius: 999px; background: var(--line); }
.ticket__places i::before { content: ""; display: block; width: var(--fill, 0%); height: 100%; background: var(--yellow); }
.ticket__go { display: grid; align-content: center; justify-items: start; gap: 10px; padding: 22px 26px 22px 0; }
.ticket__full { font-weight: 700; color: var(--muted); }

/* Narrow: the date stub runs down the whole left side, the button sits under the text */
@media (max-width: 720px) {
    .ticket { grid-template-columns: 110px minmax(0, 1fr); }
    .ticket__stub { grid-row: 1 / span 2; }
    .ticket__go { grid-column: 2; padding: 0 20px 20px !important; }
}
/* Phone: the stub becomes a strip across the top, torn along a dashed line */
@media (max-width: 560px) {
    .ticket { grid-template-columns: minmax(0, 1fr); }
    .ticket__stub { grid-row: auto; display: flex; align-items: baseline; justify-content: flex-start; gap: 8px; padding: 12px 20px; border-right: 0; border-bottom: 2px dashed rgba(30, 42, 56, 0.35); text-align: left; }
    .ticket__stub b { font-size: 30px; }
    .ticket__stub::before, .ticket__stub::after { top: auto; bottom: -11px; }
    .ticket__stub::before { left: -11px; right: auto; }
    .ticket__stub::after { right: -11px; }
    .ticket__body { padding: 16px 20px 4px; }
    .ticket__go { grid-column: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 20px 20px !important; }
    .ticket__places i { width: 90px; flex: none; }
}

/* ---------- home: worksheets ---------- */
.sheets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 860px) { .sheets { grid-template-columns: 1fr; } }
.sheet { position: relative; display: grid; gap: 10px; align-content: start; padding: 26px 22px 22px; border: 1px solid var(--line); border-radius: 4px 22px 4px 4px; background: var(--white); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.sheet::before { content: ""; position: absolute; top: -1px; right: -1px; width: 30px; height: 30px; border-bottom-left-radius: 6px; background: linear-gradient(225deg, var(--soft) 50%, var(--tint) 50%); transition: width 0.25s ease, height 0.25s ease; }
.sheet:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(30, 42, 56, 0.12); }
.sheet:hover::before { width: 44px; height: 44px; }
.sheet h3 { margin: 0; font-size: 17px; line-height: 1.35; }
.sheet h3 a { color: var(--ink); text-decoration: none; }
.sheet h3 a:hover { color: var(--blue-dark); }
.sheet p { margin: 0; color: var(--muted); font-size: 14px; }
.sheet__lines { height: 64px; border-radius: 2px; background: repeating-linear-gradient(transparent 0 15px, var(--line) 15px 16px); }
.sheet__stamp { position: absolute; right: 18px; bottom: 60px; padding: 3px 9px; border: 2px solid var(--blue); border-radius: 6px; background: rgba(255, 255, 255, 0.88); color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: 0.16em; transform: rotate(-12deg); }
.sheet__action { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; border: 0; background: none; color: var(--blue-dark); font: 600 14px var(--font-body); text-decoration: none; cursor: pointer; }
.sheet__action:hover { text-decoration: underline; }

/* ---------- home: sticky notes ---------- */
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 36px; }
@media (max-width: 860px) { .notes { grid-template-columns: 1fr; } }
.note { position: relative; margin: 0; padding: 28px 24px 22px; box-shadow: 0 2px 2px rgba(30, 42, 56, 0.06), 0 14px 26px rgba(30, 42, 56, 0.12); transition: transform 0.25s ease; }
.note:nth-child(3n+1) { background: var(--note-yellow); transform: rotate(-2deg); }
.note:nth-child(3n+2) { background: var(--note-blue); transform: rotate(1.6deg) translateY(14px); }
.note:nth-child(3n) { background: var(--white); transform: rotate(-0.8deg); }
.note:hover { transform: rotate(0) scale(1.02); }
.note blockquote { margin: 0 0 14px; font-family: var(--font-hand); font-size: 19px; line-height: 1.45; color: var(--navy); }
.note figcaption { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.note__pin { position: absolute; top: 10px; left: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--blue); box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3); transform: translateX(-50%); }

/* ---------- home: association band ---------- */
.assoc { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 34px; align-items: center; }
@media (max-width: 820px) { .assoc { grid-template-columns: 1fr; gap: 20px; } }
.assoc__mark { width: 96px; height: 96px; }
.assoc__name { margin: 0; color: var(--yellow); font-size: 18px; }
.assoc h2 { margin: 2px 0 6px; font-size: 27px; color: var(--white); }
.assoc p:last-child { margin: 0; max-width: 60ch; color: rgba(255, 255, 255, 0.76); }

/* ---------- newsletter ---------- */
.newsletter { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 40px 42px; border-radius: 22px; background: var(--white); box-shadow: 0 14px 36px rgba(30, 42, 56, 0.10); }
@media (max-width: 820px) { .newsletter { grid-template-columns: 1fr; padding: 30px 22px; } }
.newsletter h2 { margin: 4px 0 8px; font-size: 27px; }
.newsletter p { margin: 0; color: var(--muted); }
.newsletter__form { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter__form input, .envelope__form input { flex: 1 1 220px; min-width: 0; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); font: 15px var(--font-body); }
.newsletter__form input[aria-invalid="true"], .envelope__form input[aria-invalid="true"] { border-color: #A52A1F; }
.newsletter__fine { margin-top: 10px !important; font-size: 13px; }
.newsletter__msg { margin-top: 10px !important; font-weight: 600; color: #A52A1F !important; }
.newsletter__msg.is-ok { font-family: var(--font-hand); font-weight: 400; font-size: 20px; color: var(--blue-dark) !important; }
.newsletter__plane { position: absolute; top: -26px; right: 36px; width: 74px; height: 56px; color: var(--blue); }
.newsletter__plane.is-flying { animation: fly 1.4s cubic-bezier(0.5, 0, 0.6, 1) both; }
@keyframes fly { 0% { transform: none; opacity: 1; } 60% { transform: translate(140px, -90px) rotate(-14deg); opacity: 1; } 61% { opacity: 0; } 62% { transform: translate(-60px, 30px); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* ---------- download envelope (email before a resource download) ---------- */
.envelope { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(21, 32, 43, 0.6); }
.envelope__card { position: relative; display: grid; gap: 12px; width: min(100%, 440px); padding: 28px 26px 24px; border-radius: 20px; background: var(--white); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3); text-align: center; }
.envelope__art { justify-self: center; width: 110px; height: 76px; overflow: visible; }
.envelope__flap { transform-box: fill-box; transform-origin: 50% 0; transform: rotateX(180deg); transition: transform 0.45s ease; }
.envelope__card.is-sent .envelope__flap { transform: rotateX(0deg); }
.envelope__card h2 { margin: 0; font-size: 22px; }
.envelope__text { margin: 0; color: var(--muted); font-size: 14.5px; }
.envelope__form { display: flex; flex-wrap: wrap; gap: 8px; }
.envelope__msg { margin: 0; font-size: 14px; font-weight: 600; color: #A52A1F; }
.envelope__msg.is-ok { font-family: var(--font-hand); font-weight: 400; font-size: 20px; color: var(--blue-dark); }
.envelope__close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--soft); color: var(--navy); cursor: pointer; }

/* ---------- generic page (pages without their own design yet) ---------- */
.page-hero { padding-block: 56px 48px; }
.page-hero__title { margin: 0; font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; letter-spacing: -0.02em; }

/* ---------- footer ---------- */
.site-foot { position: relative; overflow: hidden; background: var(--night); color: rgba(255, 255, 255, 0.78); }
.site-foot a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.site-foot a:hover { color: var(--white); }
.site-foot__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 60px 38px; }
@media (max-width: 820px) { .site-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-foot__brand { grid-column: 1 / -1; } }
.site-foot__logo { display: inline-flex; align-items: center; gap: 10px; color: var(--white) !important; font-size: 19px; font-weight: 700; }
.site-foot__logo .brain { width: 40px; height: 40px; }
.site-foot__motto { margin: 12px 0 18px; color: var(--yellow); font-size: 19px; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 50%; }
.socials svg { width: 17px; height: 17px; }
.site-foot__title { margin: 0 0 12px; color: var(--white); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.site-foot ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; }
.site-foot__bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 18px 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13.5px; }
.site-foot__bottom .hand { color: var(--blue-light); font-size: 16px; }

/* Blog topics: a handwritten sentence, the chosen topic marked with a highlighter */
.topics { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 0 0 32px; font-size: clamp(20px, 2.6vw, 26px); font-weight: 700; }
.topics__lead { display: inline-block; color: var(--blue); font-size: 0.85em; transform: rotate(-3deg); }
.topics a { padding: 0 2px; color: var(--muted); text-decoration: none; text-transform: lowercase; background: linear-gradient(transparent 60%, rgba(245, 196, 42, 0.75) 60%, rgba(245, 196, 42, 0.75) 92%, transparent 92%) no-repeat 0 0 / 0% 100%; transition: background-size 0.35s ease, color 0.2s ease; }
.topics a:hover { color: var(--ink); background-size: 35% 100%; }
.topics a[aria-current] { color: var(--ink); background-size: 100% 100%; animation: marker 0.6s ease 0.15s both; }
.topics sup { margin-left: 3px; color: var(--blue); font-size: 0.5em; font-weight: 600; }
.topics__sep { color: var(--line); font-weight: 400; }

/* Resource categories: tilted sticky notes; the chosen one straightens up and gets a pin */
.stickies { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 34px; padding-top: 8px; }
.stickies button { position: relative; min-width: 140px; padding: 20px 16px 12px; border: 0; color: var(--navy); font: 400 19px/1.2 var(--font-hand); text-align: left; cursor: pointer; box-shadow: 0 2px 2px rgba(30, 42, 56, 0.06), 0 8px 16px rgba(30, 42, 56, 0.12); transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1), opacity 0.2s ease; }
.stickies button small { display: block; margin-top: 4px; color: var(--muted); font: 500 12px var(--font-body); }
.stickies button:nth-child(3n+1) { background: var(--note-yellow); transform: rotate(-3deg); }
.stickies button:nth-child(3n+2) { background: var(--note-blue); transform: rotate(2deg); }
.stickies button:nth-child(3n) { background: var(--white); transform: rotate(-1deg); }
.stickies button[aria-pressed="false"] { opacity: 0.65; }
.stickies button[aria-pressed="false"]:hover { opacity: 1; }
.stickies button[aria-pressed="true"] { opacity: 1; transform: rotate(0) translateY(-4px) scale(1.04); }
.stickies button[aria-pressed="true"]::before { content: ""; position: absolute; top: 6px; left: 50%; width: 13px; height: 13px; border-radius: 50%; background: var(--blue); box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3); transform: translateX(-50%); }
@media (max-width: 560px) { .stickies { gap: 12px; } .stickies button { min-width: 0; flex: 1 1 40%; } }

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

/* ==========================================================================
   Shared page parts
   ========================================================================== */
.center { text-align: center; }
.label--yellow { color: var(--yellow); }
.band--navy .h2 { color: var(--white); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }
.two-col--top { align-items: start; }
.two-col__pinned { position: sticky; top: 110px; }
@media (max-width: 860px) { .two-col__pinned { position: static; } }
.prose p { margin: 0 0 16px; color: var(--muted); }
.prose h2 { margin: 28px 0 10px; font-size: 24px; }
.polaroid { position: relative; max-width: 440px; margin: 0 auto; padding: 12px 12px 52px; background: var(--white); box-shadow: 0 4px 8px rgba(30, 42, 56, 0.08), 0 24px 48px rgba(30, 42, 56, 0.18); transform: rotate(2.4deg); }
.polaroid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; color: var(--navy); font-size: 18px; }
.polaroid::before { content: ""; position: absolute; top: -14px; left: 50%; z-index: 1; width: 110px; height: 28px; background: rgba(245, 196, 42, 0.6); transform: translateX(-50%) rotate(-4deg); }
.polaroid--tilt-left { transform: rotate(-2.5deg); }

/* ---------- O meni ---------- */
.me-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 72px 80px; }
@media (max-width: 900px) { .me-hero { grid-template-columns: 1fr; padding-block: 48px 56px; } }
.me-hero__title, .ud-hero__title { margin: 10px 0 16px; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; }
.me-hero__title em { font-style: normal; color: var(--blue); }
.me-hero__text, .ud-hero__text p { margin: 0 0 26px; max-width: 48ch; color: var(--muted); font-size: 17px; }
.pol { position: relative; padding: 46px 150px 56px 0; }
.ann { position: absolute; display: flex; align-items: center; gap: 4px; color: var(--blue-dark); font-size: 17px; white-space: nowrap; animation: fade 0.6s ease both; }
.ann svg { width: 56px; height: 34px; flex: none; overflow: visible; }
.ann path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; animation: draw 0.9s ease both; }
.ann--1 { top: 0; left: 0; transform: rotate(-4deg); animation-delay: 0.3s; }
.ann--1 path { animation-delay: 0.5s; }
.ann--2 { top: 30%; right: 0; width: 140px; flex-direction: column; align-items: flex-start; white-space: normal; line-height: 1.25; transform: rotate(4deg); animation-delay: 0.7s; }
.ann--2 path { animation-delay: 0.9s; }
.ann--3 { bottom: 0; left: 8%; transform: rotate(-2deg); animation-delay: 1.1s; }
.ann--3 path { animation-delay: 1.3s; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.ann-tags { display: none; }
@media (max-width: 900px) {
    .pol { padding: 20px 8px 8px; }
    .ann { display: none; }
    .ann-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 26px 0 0; }
    .ann-tags span { padding: 3px 12px; border-radius: 999px; background: var(--tint); color: var(--blue-dark); font-size: 16px; }
}
.myth { margin: 8px 0 0; max-width: 24ch; font-size: clamp(25px, 3.2vw, 36px); line-height: 1.35; font-weight: 700; }
.myth s { position: relative; display: inline-block; color: var(--muted); text-decoration: none; }
.myth s::after { content: ""; position: absolute; left: -4%; top: 54%; width: 108%; height: 4px; border-radius: 4px; background: var(--blue); transform: rotate(-3deg); }
.myth s:nth-of-type(2)::after { transform: rotate(2deg); }
.myth.play s::after { animation: strike 0.45s ease-out both; }
.myth.play s:nth-of-type(1)::after { animation-delay: 0.2s; }
.myth.play s:nth-of-type(2)::after { animation-delay: 0.55s; }
.myth.play s:nth-of-type(3)::after { animation-delay: 0.9s; }
@keyframes strike { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.truth { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; color: var(--blue); font-size: clamp(22px, 2.6vw, 29px); line-height: 1.3; transform: rotate(-1.5deg); }
.truth svg { width: 46px; height: 30px; flex: none; }
.helps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 30px; }
@media (max-width: 860px) { .helps { grid-template-columns: 1fr; } }
.help { display: grid; gap: 8px; align-content: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); color: var(--ink); text-decoration: none; transition: transform 0.2s ease, border-color 0.2s ease; }
.help:hover { transform: translateY(-4px); border-color: var(--blue); }
.help svg { width: 72px; height: 72px; }
.help h3 { margin: 4px 0 0; font-size: 19px; }
.help p { margin: 0; color: var(--muted); font-size: 15px; }
.stamps { display: flex; flex-wrap: wrap; justify-content: center; gap: 34px; margin: 34px 0 0; padding: 0; list-style: none; }
.stamp { display: grid; place-items: center; width: 170px; aspect-ratio: 1; padding: 30px; border: 3px solid currentColor; border-radius: 50%; outline: 1.5px solid currentColor; outline-offset: -13px; color: var(--blue); text-align: center; font-size: 12.5px; font-weight: 700; line-height: 1.35; letter-spacing: 0.06em; text-transform: uppercase; transition: transform 0.3s ease; }
.stamp:nth-child(3n+1) { transform: rotate(-8deg); }
.stamp:nth-child(3n+2) { transform: rotate(6deg); color: var(--navy); }
.stamp:nth-child(3n) { transform: rotate(-3deg); }
.stamp:hover { transform: rotate(0) scale(1.06); }
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; padding: 36px 40px; border-radius: 22px; background: var(--navy); color: var(--white); }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; padding: 28px 22px; } }
.cta-band__note { margin: 0 0 4px; color: var(--yellow); font-size: 20px; }
.cta-band h2 { margin: 0; font-size: 27px; color: var(--white); }
.sparkle-list { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.sparkle-list li { display: flex; gap: 10px; color: rgba(255, 255, 255, 0.84); }
.sparkle-list li::before { content: "✦"; color: var(--yellow); }

/* ---------- Udruga ---------- */
.ud-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 64px 72px; }
@media (max-width: 900px) { .ud-hero { grid-template-columns: 1fr; padding-block: 44px 52px; } }
.name-lab { display: grid; justify-items: center; gap: 18px; }
.name-lab__brain { width: min(100%, 300px); height: auto; }
.name-lab__brain .brain__dot { stroke: var(--navy); stroke-width: 10; transition: filter 0.3s ease; }
.name-lab.is-lit .brain__dot { filter: drop-shadow(0 0 14px rgba(245, 196, 42, 0.95)); }
.name-lab__words { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; width: 100%; max-width: 500px; }
.word { display: grid; justify-items: center; gap: 4px; padding: 10px 6px 12px; border: 2px dashed transparent; border-radius: 14px; background: transparent; color: inherit; font: inherit; text-align: center; cursor: default; transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.word b { font-size: clamp(28px, 4vw, 40px); line-height: 1; font-weight: 800; letter-spacing: -0.02em; }
.word:nth-child(1) b { color: var(--yellow); -webkit-text-stroke: 1.5px var(--navy); }
.word:nth-child(2) b { color: var(--navy); }
.word:nth-child(3) b { color: var(--blue); }
.word span { color: var(--muted); font-size: 15px; line-height: 1.3; }
.word:hover, .word:focus-visible { border-color: var(--blue-light); background: var(--white); transform: translateY(-4px); }
@media (max-width: 480px) { .name-lab__words { grid-template-columns: 1fr; } }
.mission { margin: 8px 0 0; max-width: 32ch; font-size: clamp(25px, 3.4vw, 38px); line-height: 1.4; font-weight: 700; }
.mission mark { padding: 0 2px; color: inherit; background: linear-gradient(transparent 58%, rgba(245, 196, 42, 0.7) 58%, rgba(245, 196, 42, 0.7) 92%, transparent 92%) no-repeat 0 0 / 100% 100%; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.mission.play mark { animation: marker 1.2s ease both; }
@keyframes marker { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
.langs { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.langs span { padding: 2px 14px; border-radius: 999px; background: var(--tint); color: var(--blue-dark); font-size: 18px; }
.pegs { justify-self: center; width: 100%; max-width: 440px; }
.pegs svg { display: block; width: 100%; height: auto; overflow: visible; }
.pegs text { font-family: var(--font-hand); font-size: 15px; fill: #5A6A7B; }
.pegs__star { transform-box: fill-box; transform-origin: center; }
.pegs:hover .pegs__star { animation: wiggle 0.6s ease-in-out 2; }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 30px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }
.value { display: grid; gap: 8px; align-content: start; padding: 26px 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.value svg { width: 96px; height: 96px; transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1); }
.value--understanding:hover svg { transform: rotate(-8deg) scale(1.06); }
.value--empowerment:hover svg { transform: translateY(-10px); }
.value--community:hover svg { transform: scale(1.1); }
.value h3 { margin: 4px 0 0; font-size: 20px; }
.value p { margin: 0; color: var(--muted); font-size: 15px; }
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 26px; }
@media (max-width: 860px) { .doors { grid-template-columns: 1fr; } }
.door { display: grid; gap: 8px; align-content: start; padding: 24px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.06); color: var(--white); text-decoration: none; transition: background-color 0.2s ease, transform 0.2s ease; }
.door:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-4px); }
.door .hand { color: var(--yellow); font-size: 19px; }
.door h3 { margin: 0; font-size: 20px; }
.door p { margin: 0; color: rgba(255, 255, 255, 0.74); font-size: 15px; }

/* ==========================================================================
   Events
   ========================================================================== */
.page-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 36px; align-items: center; padding-block: 60px 64px; }
@media (max-width: 820px) { .page-head { grid-template-columns: 1fr; padding-block: 44px 48px; } }
.page-head__title, .ev-hero__title { margin: 10px 0 14px; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; }
.stack { display: grid; gap: 56px; }
.section-head__count { color: var(--muted); font-size: 14.5px; font-weight: 500; }
.empty-note { margin: 18px 0 0; color: var(--muted); font-size: 20px; }
.back { display: inline-block; margin-bottom: 14px; color: var(--blue-dark); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.back:hover { text-decoration: underline; }

.cal { position: relative; justify-self: center; width: min(100%, 300px); margin-bottom: 36px; overflow: visible; border-radius: 14px; background: var(--white); box-shadow: 0 14px 30px rgba(30, 42, 56, 0.14); transform: rotate(3deg); }
.cal__month { padding: 10px; border-radius: 14px 14px 0 0; background: var(--blue); color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-align: center; text-transform: uppercase; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 14px; color: var(--muted); font-size: 12.5px; text-align: center; font-variant-numeric: tabular-nums; }
.cal__grid b { color: var(--navy); }
.cal__grid span { position: relative; padding: 4px 0; }
.cal__hit { color: var(--navy) !important; font-weight: 700; }
.cal__hit::before { content: ""; position: absolute; inset: -8px -4px -7px -6px; transform: rotate(-6deg);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 46' preserveAspectRatio='none'%3E%3Cpath d='M40 7 C 22 1, 5 10, 6 25 C 7 39, 36 45, 51 33 C 62 23, 52 6, 33 6 C 27 6, 21 8, 15 12' fill='none' stroke='%23F5C42A' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.cal__note { position: absolute; right: -6px; bottom: -34px; color: var(--blue-dark); font-size: 17px; transform: rotate(-4deg); }

.tickets { display: grid; gap: 18px; }

.tabs { display: flex; flex-wrap: wrap; align-items: end; gap: 4px; margin-bottom: 30px; border-bottom: 2px solid var(--navy); }
.tabs button { position: relative; margin-bottom: -2px; padding: 9px 16px 8px; border: 2px solid var(--navy); border-bottom: 0; border-radius: 10px 10px 0 0; background: var(--soft); color: var(--muted); font: 600 14px var(--font-body); cursor: pointer; }
.tabs button[aria-pressed="true"] { padding-bottom: 10px; background: var(--white); color: var(--navy); }
.tabs button[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--white); }
.tabs__gap { flex: 1; }

.polas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; }
@media (max-width: 860px) { .polas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .polas { grid-template-columns: 1fr; } }
.pola { position: relative; display: grid; gap: 6px; padding: 10px 10px 16px; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: 0 3px 6px rgba(30, 42, 56, 0.08), 0 16px 30px rgba(30, 42, 56, 0.12); transition: transform 0.25s ease; }
.pola:nth-child(3n+1) { transform: rotate(-2deg); }
.pola:nth-child(3n+2) { transform: rotate(1.5deg) translateY(10px); }
.pola:nth-child(3n) { transform: rotate(-0.8deg); }
.pola:hover { z-index: 2; transform: rotate(0) translateY(-6px) scale(1.02); }
.pola:nth-child(2n)::before { content: ""; position: absolute; top: -10px; left: 50%; z-index: 1; width: 80px; height: 22px; background: rgba(142, 197, 232, 0.6); transform: translateX(-50%) rotate(-3deg); }
.pola__photo { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint); }
.pola__photo img { width: 100%; height: 100%; object-fit: cover; }
.pola__empty { display: grid; place-items: center; height: 100%; color: var(--blue); }
.pola__empty svg { width: 42px; height: 42px; }
.pola__count { position: absolute; right: 8px; bottom: 8px; padding: 2px 9px; border-radius: 999px; background: rgba(30, 42, 56, 0.8); color: var(--white); font-size: 12px; font-weight: 600; }
.pola__title { padding: 6px 4px 0; color: var(--navy); font-size: 19px; line-height: 1.25; }
.pola__meta { padding: 0 4px; color: var(--muted); font-size: 13px; }

.notify { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 28px; align-items: center; padding: 28px 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--soft); }
.notify .lkl-event-art { width: 132px; height: 132px; }
.notify h3 { margin: 0 0 6px; font-size: 21px; }
.notify p { margin: 0; max-width: 56ch; color: var(--muted); }
.notify .newsletter__form { margin-top: 16px; max-width: 520px; }
.notify--compact { grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 20px 24px; }
.notify--compact .lkl-event-art { width: 64px; height: 64px; }
.notify--compact h3 { font-size: 17px; }
@media (max-width: 640px) { .notify, .notify--compact { grid-template-columns: 1fr; padding: 22px 20px; } .notify .lkl-event-art { width: 88px; height: 88px; } }
.types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 760px) { .types { grid-template-columns: 1fr; } }
.type { display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; }
.type .lkl-event-art { width: 76px; height: 76px; }
.type h3 { margin: 6px 0 0; font-size: 18px; }
.type p { margin: 0; color: var(--muted); font-size: 15px; }
.type__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.type__tags span { padding: 3px 10px; border-radius: 999px; background: var(--tint); color: var(--blue-dark); font-size: 12.5px; font-weight: 500; }
.cta-band__text { margin: 6px 0 0; max-width: 58ch; color: rgba(255, 255, 255, 0.78); }

/* ---------- single event ---------- */
.ev-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; align-items: center; padding-block: 48px 64px; }
@media (max-width: 900px) { .ev-hero { grid-template-columns: 1fr; } }
.ev-hero__chip { display: inline-block; margin: 0 0 14px; padding: 2px 14px; border-radius: 8px; background: var(--yellow); color: var(--navy); font-size: 21px; transform: rotate(-3deg); }
.ev-hero__chip--held { background: var(--navy); color: var(--white); }
.ev-hero__photo { transform: rotate(-2.5deg); }
.polaroid__empty { display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--soft); }
.polaroid__empty svg { width: 40%; height: auto; }
.ev-meta { display: grid; gap: 8px; margin: 18px 0 24px; padding: 0; list-style: none; color: var(--muted); font-size: 15.5px; }
.ev-meta li { display: flex; align-items: center; gap: 10px; }
.ev-meta .lkl-event-icon { width: 20px; height: 20px; flex: none; color: var(--blue); }
.ev-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.ev-stats div { min-width: 80px; padding: 8px 16px; border-radius: 12px; background: var(--white); box-shadow: var(--shadow-card); }
.ev-stats b { display: block; color: var(--blue); font-size: 24px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.ev-stats span { color: var(--muted); font-size: 13px; }
.ev-cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.ev-cols--single { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 960px) { .ev-cols { grid-template-columns: 1fr; } }
.ev-main { display: grid; gap: 40px; min-width: 0; }
.ev-h2 { margin: 0 0 14px; font-size: 24px; }
.notebook { margin: 0; padding: 6px 0; list-style: none; border: 1px solid var(--line); border-radius: 6px; background: var(--white);
    background-image: linear-gradient(90deg, transparent 80px, rgba(232, 92, 92, 0.35) 80px, rgba(232, 92, 92, 0.35) 81px, transparent 81px), repeating-linear-gradient(transparent 0 41px, rgba(58, 140, 193, 0.16) 41px 42px); }
.notebook li { display: grid; grid-template-columns: 80px 1fr; align-items: center; min-height: 42px; }
.notebook time { color: var(--blue-dark); font-size: 18px; text-align: center; }
.notebook span { padding: 6px 12px 6px 18px; font-size: 15.5px; }
.checklist { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.check { display: flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; color: var(--ink); font: 15.5px var(--font-body); text-align: left; cursor: pointer; }
.check svg { width: 28px; height: 28px; flex: none; }
.check__tick { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.3s ease; }
.check[aria-pressed="true"] .check__tick { stroke-dashoffset: 0; }
.check[aria-pressed="true"] span { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--blue); }
.checklist__hint { margin: 10px 0 0; color: var(--blue); font-size: 17px; }

.signup { position: sticky; top: 100px; display: grid; gap: 14px; overflow: hidden; padding: 26px; border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 16px 40px rgba(30, 42, 56, 0.14); scroll-margin-top: 100px; }
@media (max-width: 960px) { .signup { position: relative; top: 0; } }
.signup h2 { margin: 0; font-size: 22px; }
.seats { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.seat { position: relative; aspect-ratio: 1; border-radius: 8px 8px 4px 4px; background: var(--navy); }
.seat::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: -5px; height: 4px; border-radius: 2px; background: inherit; }
.seat--free { background: var(--white); box-shadow: inset 0 0 0 2.5px var(--yellow); }
.seat--free::after { background: var(--yellow); }
.seat--mine { background: var(--yellow); animation: pop 0.5s ease both; }
.bar { height: 8px; overflow: hidden; border-radius: 999px; background: var(--line); }
.bar i { display: block; height: 100%; background: var(--yellow); transition: width 0.4s ease; }
.signup__left { margin: 2px 0 0; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; font-size: 14.5px; }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; color: var(--muted); }
.signup__form { display: grid; gap: 6px; }
.signup__form label { margin-top: 6px; font-size: 13px; font-weight: 600; }
.signup__form input[type="text"], .signup__form input[type="email"] { width: 100%; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); font: 15px var(--font-body); }
.signup__form .btn { margin-top: 10px; }
.signup__consent { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px !important; color: var(--muted); font-size: 13px !important; font-weight: 400 !important; }
.signup__consent input { margin-top: 3px; }
.signup__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup__error { margin: 6px 0 0; padding: 8px 12px; border-radius: var(--radius); background: #FDECEA; color: #A52A1F; font-size: 14px; }
.signup__small { margin: 4px 0 0; color: var(--muted); font-size: 12.5px; }
.signup__notice { margin: 0; padding: 12px 14px; border-radius: var(--radius); background: var(--soft); color: var(--muted); font-size: 14.5px; }
.signup__done { position: absolute; inset: 0; display: grid; place-content: center; gap: 12px; padding: 24px; background: rgba(255, 255, 255, 0.94); text-align: center; }
.signup__done b { justify-self: center; padding: 6px 18px; border: 4px solid var(--blue); border-radius: 10px; color: var(--blue); font-size: 26px; letter-spacing: 0.12em; text-transform: uppercase; transform: rotate(-10deg); animation: thump 0.45s cubic-bezier(0.3, 1.6, 0.5, 1) both; }
.signup__done p { margin: 0; color: var(--navy); font-size: 15px; }
@keyframes thump { from { transform: rotate(-10deg) scale(2.4); opacity: 0; } to { transform: rotate(-10deg) scale(1); opacity: 1; } }

.frames { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.frame { width: 150px; aspect-ratio: 4 / 5; padding: 10px 10px 34px; background: var(--white); box-shadow: 0 8px 20px rgba(30, 42, 56, 0.1); }
.frame:nth-child(1) { transform: rotate(-4deg); }
.frame:nth-child(2) { transform: rotate(3deg); }
.frame:nth-child(3) { transform: rotate(-1deg); }
.frame i { display: block; width: 100%; height: 100%; border: 2px dashed var(--line); }
.frames p { margin: 0; max-width: 34ch; color: var(--muted); font-size: 20px; }

.ev-past { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
@media (max-width: 900px) { .ev-past { grid-template-columns: 1fr; } }
.ev-quote { align-self: start; background: var(--note-yellow); transform: rotate(-1.5deg); }
.gallery { columns: 3 240px; column-gap: 12px; }
.gallery__photo { display: block; width: 100%; margin: 0 0 12px; padding: 0; overflow: hidden; border: 0; border-radius: 10px; background: var(--tint); cursor: zoom-in; break-inside: avoid; }
.gallery__photo img { width: 100%; transition: transform 0.3s ease; }
.gallery__photo:hover img { transform: scale(1.03); }
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; grid-template-rows: auto 1fr auto; gap: 8px; padding: 12px 16px 16px; background: rgba(15, 21, 28, 0.95); color: var(--white); }
.lightbox__top { display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.lightbox__count { opacity: 0.8; font-variant-numeric: tabular-nums; }
.lightbox__stage { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; min-height: 0; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 8rem); margin: 0 auto; border-radius: 6px; object-fit: contain; }
.lightbox__btn { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: var(--white); font-size: 26px; line-height: 1; cursor: pointer; }
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox__btn .icon { width: 22px; height: 22px; }
.lightbox__caption { margin: 0; text-align: center; font-size: 14px; opacity: 0.8; }
@media (max-width: 640px) { .lightbox__stage { grid-template-columns: 1fr; } .lightbox__stage [data-lb="prev"], .lightbox__stage [data-lb="next"] { display: none; } }

/* ==========================================================================
   Resources, FAQ, blog, article, contact, 404, search, plain pages
   ========================================================================== */
.wrap--narrow { max-width: 820px; }
.page-head--single { grid-template-columns: minmax(0, 1fr); }
.search-box { position: relative; display: flex; align-items: center; max-width: 540px; margin-top: 26px; }
.search-box > .icon { position: absolute; left: 16px; width: 22px; height: 22px; color: var(--navy); pointer-events: none; }
.search-box input { flex: 1; min-width: 0; padding: 15px 18px 15px 50px; border: 2px solid var(--navy); border-radius: 14px; background: var(--white); color: var(--ink); font: 16px var(--font-body); box-shadow: 4px 4px 0 var(--yellow); }
.search-box__hint { position: absolute; right: 6px; top: -28px; color: var(--blue); font-size: 17px; transform: rotate(-3deg); }
.search-box--form { gap: 10px; }
.search-box--form input { box-shadow: none; }
.torch .search-box input { border-color: var(--white); }

/* resources */
.free-stamp { justify-self: center; display: grid; place-items: center; width: 210px; height: 210px; border: 4px solid var(--blue); border-radius: 50%; outline: 2px solid var(--blue); outline-offset: -14px; color: var(--blue); text-align: center; transform: rotate(-12deg); }
.free-stamp b { display: block; font-size: 30px; font-weight: 800; letter-spacing: 0.1em; }
.free-stamp span { color: var(--navy); font-size: 18px; }
@media (max-width: 820px) { .free-stamp { display: none; } }
.tabs small { margin-left: 2px; font-weight: 500; opacity: 0.7; }
.sheets--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .sheets--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .sheets--grid { grid-template-columns: 1fr; } }
.sheet__kind { margin: 0; font-size: 11.5px !important; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue) !important; }
.sheet__sticker { position: absolute; top: -12px; left: -10px; padding: 4px 10px; border-radius: 999px; background: var(--yellow); color: var(--navy); font-size: 12px; font-weight: 700; transform: rotate(-8deg); box-shadow: 0 3px 8px rgba(30, 42, 56, 0.18); }
.sheet__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sheet__tag { padding: 2px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: 11.5px; font-weight: 700; text-transform: uppercase; }
.sheet__tag--request { border-color: var(--yellow); background: var(--note-yellow); color: var(--navy); }
.sheet .sheet__price { color: var(--navy); font-size: 28px; font-weight: 800; }
.sheet--big { padding: 34px 30px 30px; }
.sheet--big h2 { margin: 0; font-size: 22px; }
.sheet--big .sheet__stamp { bottom: 96px; }

/* FAQ */
.qmarks { justify-self: center; width: min(100%, 300px); }
.qmarks svg { display: block; width: 100%; height: auto; }
.qmarks text { font-family: var(--font-hand); }
@media (max-width: 820px) { .qmarks { display: none; } }
.faq { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }
.faq__list { display: grid; gap: 14px; }
.qa { border: 1px solid var(--line); border-radius: 16px; background: var(--white); transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.qa.is-open { border-color: var(--navy); box-shadow: 5px 5px 0 var(--yellow); }
.qa__h { margin: 0; font-size: inherit; }
.qa__q { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; width: 100%; padding: 18px 20px; border: 0; background: none; color: var(--ink); font: 600 17px/1.4 var(--font-body); text-align: left; cursor: pointer; }
.qa__mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--tint); color: var(--blue-dark); font-size: 21px; }
.qa.is-open .qa__mark { background: var(--yellow); color: var(--navy); }
.qa__plus { position: relative; width: 20px; height: 20px; transition: transform 0.3s ease; }
.qa__plus::before, .qa__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2.5px; border-radius: 2px; background: var(--navy); transform: translate(-50%, -50%); }
.qa__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa.is-open .qa__plus { transform: rotate(135deg); }
.qa__a { padding: 0 24px 20px 70px; }
@media (max-width: 560px) { .qa__a { padding-left: 22px; } }
.qa__a p:last-child { margin-bottom: 0; }
.ask { position: sticky; top: 100px; display: grid; gap: 10px; padding: 32px 24px 24px; background: var(--note-yellow); box-shadow: 0 3px 4px rgba(30, 42, 56, 0.06), 0 16px 30px rgba(30, 42, 56, 0.14); transform: rotate(1.5deg); }
@media (max-width: 900px) { .ask { position: relative; top: 0; } }
.ask h2 { margin: 0; color: var(--navy); font-size: 25px; font-weight: 400; }
.ask p { margin: 0; font-size: 15px; }
.ask .btn { justify-self: start; }

/* blog */
.cover { display: block; overflow: hidden; background: var(--tint); }
.cover img, .cover svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.post-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); color: var(--ink); text-decoration: none; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.post-card:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(30, 42, 56, 0.12); }
.post-card__cover { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.post-card__cover img, .post-card__cover svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.post-card__body { display: grid; gap: 8px; align-content: start; padding: 18px 20px 22px; }
.post-card__kind { color: var(--blue); font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.post-card__title { font-size: 17.5px; font-weight: 700; line-height: 1.35; }
.post-card__excerpt { color: var(--muted); }
.post-card__meta { color: var(--muted); font-size: 13.5px; }
.post-card--big { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); grid-template-rows: none; margin-bottom: 36px; border: 0; box-shadow: 0 16px 40px rgba(30, 42, 56, 0.12); }
.post-card--big .post-card__cover { aspect-ratio: auto; min-height: 300px; }
.post-card--big .post-card__body { align-content: center; padding: 32px; gap: 12px; }
.post-card--big .post-card__title { font-size: clamp(23px, 2.6vw, 31px); font-weight: 800; line-height: 1.2; }
@media (max-width: 820px) { .post-card--big { grid-template-columns: 1fr; } .post-card--big .post-card__cover { aspect-ratio: 16 / 10; min-height: 0; } }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .post-grid { grid-template-columns: 1fr; } }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 12px; color: var(--ink); font-weight: 600; text-decoration: none; }
.pagination .page-numbers.current { border-color: var(--navy); background: var(--navy); color: var(--white); }

/* article */
.reading-line { position: fixed; left: 0; right: 0; top: 0; z-index: 60; height: 5px; pointer-events: none; }
.admin-bar .reading-line { top: 32px; }
.reading-line i { position: relative; display: block; width: 0; height: 100%; background: var(--yellow); }
.reading-line i::after { content: ""; position: absolute; right: -10px; top: -3.5px; border-left: 10px solid var(--navy); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.post-head { max-width: 860px; padding-block: 48px 30px; }
.post-head__title { margin: 10px 0 14px; font-size: clamp(32px, 4.4vw, 50px); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }
.byline { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--muted); font-size: 14.5px; }
.byline img { width: 44px; height: 44px; border: 2px solid var(--white); border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--yellow); }
.byline b { color: var(--ink); }
.post-cover { display: block; aspect-ratio: 21 / 8; margin-top: 10px; overflow: hidden; border-radius: 22px; background: var(--tint); }
.post-cover img, .post-cover svg { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .post-cover { aspect-ratio: 16 / 10; } }
.post-body { display: grid; grid-template-columns: 64px minmax(0, 700px); gap: 32px; justify-content: center; padding-block: 48px 70px; }
@media (max-width: 780px) { .post-body { grid-template-columns: minmax(0, 1fr); } }
.share { position: sticky; top: 110px; align-self: start; display: grid; justify-items: center; gap: 10px; }
.share a, .share button { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 50%; background: var(--white); color: var(--navy); font: 700 14px var(--font-body); text-decoration: none; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--blue); }
.share__note { color: var(--blue); font-size: 16px; writing-mode: vertical-rl; transform: rotate(180deg); }
@media (max-width: 780px) { .share { position: static; display: flex; justify-content: flex-start; } .share__note { writing-mode: horizontal-tb; transform: none; } }
.prose--article { max-width: 700px; color: #2D3748; font-size: 17.5px; line-height: 1.8; }
.prose--article p { color: inherit; margin-bottom: 22px; }
.prose--article > p:first-child::first-letter { float: left; padding: 6px 10px 0 0; color: var(--blue); font-family: var(--font-hand); font-size: 66px; line-height: 0.9; }
.prose--article h2 { margin: 36px 0 12px; color: var(--ink); font-size: 26px; }
.prose--article h3 { margin: 28px 0 10px; color: var(--ink); font-size: 21px; }
.prose--article blockquote { margin: 30px 0; padding: 0 0 0 20px; border-left: 4px solid var(--yellow); color: var(--ink); font-size: 23px; font-weight: 700; line-height: 1.45; }
.prose--article blockquote p { margin: 0; }
.prose--article ul, .prose--article ol { margin: 0 0 22px; padding-left: 1.3em; }
.prose--article li { margin-bottom: 8px; }
.prose--article li::marker { color: var(--blue); }
.prose--article a { color: var(--blue-dark); text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose--article img { border-radius: 12px; }
.author-box { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 30px; align-items: center; margin-bottom: 48px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
@media (max-width: 640px) { .author-box { grid-template-columns: 1fr; } }
.author-box__photo { max-width: 170px; margin: 0; padding: 8px 8px 30px; transform: rotate(-3deg); }
.author-box__photo::before { width: 70px; height: 20px; top: -10px; }
.author-box__photo img { aspect-ratio: 1; }
.author-box h2 { margin: 4px 0 6px; font-size: 21px; }
.author-box p { margin: 0 0 10px; color: var(--muted); }

/* comments */
.comments__list { display: grid; gap: 18px; margin: 20px 0 40px; padding: 0; list-style: none; }
.comments__list .children { display: grid; gap: 18px; margin: 18px 0 0 28px; padding: 0; list-style: none; }
.comment-note > article { padding: 20px 22px; border-radius: 4px; background: var(--note-blue); box-shadow: 0 8px 18px rgba(30, 42, 56, 0.08); }
.comment-note:nth-child(2n) > article { background: var(--note-yellow); }
.comment-note__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.comment-note__head img { border-radius: 50%; }
.comment-note__head time { margin-left: auto; color: var(--muted); font-size: 13px; }
.comment-note__text p { margin: 0 0 10px; }
.comment-note__pending { margin: 0 0 8px; color: var(--muted); font-style: italic; }
.comment-note__reply { margin: 0; font-size: 14px; font-weight: 600; }
.comment-form { display: grid; gap: 12px; }
.comment-form label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 600; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); font: 15px var(--font-body); }
.comment-form .form-submit { margin: 0; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; padding-block: 56px 76px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact__quote { margin: 0 0 30px; max-width: 30ch; color: var(--blue-dark); font-size: 23px; line-height: 1.4; }
.postcard { position: relative; display: grid; gap: 12px; max-width: 440px; padding: 28px 26px; border-radius: 10px; background: var(--white); box-shadow: 0 14px 32px rgba(30, 42, 56, 0.12); transform: rotate(-1.5deg); }
.postcard__stamp { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 66px; height: 78px; background: var(--tint); border: 3px dotted var(--white); outline: 1px solid var(--line); }
.postcard__stamp .brain { width: 44px; height: 44px; }
.postcard__mark { position: absolute; top: 40px; right: 62px; display: grid; place-items: center; width: 84px; height: 84px; border: 2px solid rgba(58, 140, 193, 0.5); border-radius: 50%; color: rgba(58, 140, 193, 0.75); font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-align: center; transform: rotate(-14deg); }
.postcard__eyebrow { margin: 64px 0 0; color: var(--blue); font-size: 17px; }
.postcard__address { max-width: 70%; padding-bottom: 4px; border-bottom: 1.5px solid var(--line); color: var(--navy); font-size: 23px; text-decoration: none; overflow-wrap: anywhere; }
.postcard__phone { color: var(--navy); font-weight: 600; text-decoration: none; }
.postcard p { margin: 0; color: var(--muted); font-size: 15px; }
.socials--light a { border-color: var(--line); color: var(--navy); font-size: 13px; font-weight: 700; text-decoration: none; }
.letter { position: relative; padding: 30px 32px 28px 92px; border-radius: 6px; background: var(--white); box-shadow: 0 18px 44px rgba(30, 42, 56, 0.14); background-image: linear-gradient(90deg, transparent 66px, rgba(232, 92, 92, 0.35) 66px, rgba(232, 92, 92, 0.35) 67px, transparent 67px); }
@media (max-width: 560px) { .letter { padding: 26px 22px; background-image: none; } }
.letter__dear { margin: 6px 0 10px; color: var(--navy); font-size: 27px; }
.letter__sign { margin: 18px 0 0; color: var(--navy); font-size: 21px; }
.letter__sign b { display: block; min-height: 1.3em; color: var(--blue-dark); font-size: 27px; font-weight: 400; }
.letter__small { margin: 14px 0 0; color: var(--muted); font-size: 13.5px; }
/* WPForms inside the letter: fields as writing lines */
.letter .wpforms-container { margin: 0 !important; }
.letter .wpforms-field { padding: 8px 0 !important; }
.letter .wpforms-field-label { color: var(--muted) !important; font: 700 12px var(--font-body) !important; letter-spacing: 0.08em; text-transform: uppercase; }
.letter .wpforms-field-sublabel { font-size: 12px !important; }
.letter input[type="text"], .letter input[type="email"], .letter input[type="tel"], .letter textarea { width: 100% !important; max-width: none !important; padding: 8px 2px !important; border: 0 !important; border-bottom: 1.5px solid var(--line) !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--ink) !important; font: 16px var(--font-body) !important; }
.letter textarea { min-height: 160px !important; line-height: 32px !important; background-image: repeating-linear-gradient(transparent 0 31px, var(--line) 31px 32px) !important; border-bottom: 0 !important; }
.letter input:focus, .letter textarea:focus { border-bottom-color: var(--blue) !important; outline: none; }
.letter .wpforms-submit-container { padding-top: 14px !important; }
.letter button[type="submit"].wpforms-submit { padding: 12px 22px !important; border: 0 !important; border-radius: var(--radius) !important; background: var(--yellow) !important; color: var(--navy) !important; font: 600 15px var(--font-body) !important; cursor: pointer; }
.letter .wpforms-confirmation-container-full { padding: 18px !important; border: 0 !important; border-radius: var(--radius) !important; background: var(--tint) !important; color: var(--navy) !important; font-family: var(--font-hand); font-size: 20px; }

/* 404 */
.hero__in--single { grid-template-columns: minmax(0, 1fr); padding-block: 100px 116px; }
.hero__in--single .hero__title { max-width: 15ch; }
.torch__extra { position: absolute; right: 6%; top: 50%; color: var(--yellow); font-family: var(--font-hand); font-size: clamp(120px, 20vw, 260px); line-height: 1; transform: translateY(-50%) rotate(-6deg); }
.hero__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero__links a { padding: 7px 16px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px; color: var(--white); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.hero__links a:hover { background: rgba(255, 255, 255, 0.08); }

/* search results */
.results { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.result { display: grid; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; transition: border-color 0.2s ease; }
.result:hover { border-color: var(--blue); }
.result__kind { color: var(--blue); font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.result__title { font-size: 18px; font-weight: 700; }
.result__text { color: var(--muted); font-size: 15px; }

/* subscription confirmed */
.confirmed { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 80px 90px; }
@media (max-width: 760px) { .confirmed { grid-template-columns: 1fr; padding-block: 50px; } }
.confirmed__art { position: relative; display: grid; place-items: center; height: 220px; }
.confirmed__stamp { display: grid; place-items: center; width: 190px; height: 190px; border: 4px solid var(--blue); border-radius: 50%; outline: 2px solid var(--blue); outline-offset: -14px; color: var(--blue); font-size: 22px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; transform: rotate(-12deg); animation: thump 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) 0.2s both; }
.confirmed__plane { position: absolute; right: 0; top: 0; width: 80px; height: 60px; color: var(--blue); }
.confirmed .lede { margin-bottom: 14px; }

/* Phone: cards with an illustration put it beside the title, text full width below */
@media (max-width: 640px) {
    .value, .help, .type { grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: none; column-gap: 16px; align-items: center; }
    .value svg, .help svg, .type .lkl-event-art { width: 64px; height: 64px; }
    .value h3, .help h3, .type h3 { margin: 0; }
    .value p, .help p, .help .link, .type p { grid-column: 1 / -1; }
}
