/*
Theme Name: Kulturfahrschule
Theme URI: https://kulturfahrschule.de/
Author: Kulturfahrschule
Description: Eigenständiges WordPress-Theme für den Neustart der Kulturfahrschule in Ulm. Mit Projektarchiv, Fassadenvideo, Impressum und Datenschutz.
Version: 1.4.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: kulturfahrschule
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

@font-face { font-family: "Archivo Black"; src: url("assets/fonts/archivo-black.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("assets/fonts/dm-sans-400.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("assets/fonts/dm-sans-500.ttf") format("truetype"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("assets/fonts/dm-sans-600.ttf") format("truetype"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("assets/fonts/dm-sans-700.ttf") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }

:root {
  --pink: #e94272;
  --pink-dark: #e94272;
  --ink: #11152f;
  --cream: #f5f0e7;
  --paper: #fffdf7;
  --yellow: #f6d641;
  --blue: #4458d9;
  --purple: #7547d8;
  --green: #35a369;
  --line: rgba(17, 21, 47, .18);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 1rem; z-index: 99; background: var(--yellow); padding: .8rem 1rem; font-weight: 700; }
.skip-link:focus { top: 1rem; }

.site-header { height: 88px; max-width: var(--max); margin: auto; padding: 0 28px; display: flex; align-items: center; gap: 3rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-family: "Archivo Black", sans-serif; font-size: .95rem; line-height: .82; text-transform: uppercase; letter-spacing: -.045em; }
.brand img { width: 62px; height: 62px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.site-nav-list { display: flex; align-items: center; gap: 1.6rem; margin: 0; padding: 0; list-style: none; }
.site-nav a { font-size: .88rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover { color: var(--pink); }
.header-cta { padding: .75rem 1.05rem; border: 1px solid var(--ink); font-weight: 700; text-decoration: none; font-size: .88rem; }
.header-cta:hover { color: white; background: var(--ink); }
.menu-toggle { display: none; }

.hero { position: relative; overflow: hidden; min-height: 780px; padding: 80px max(28px, calc((100vw - var(--max)) / 2 + 28px)) 110px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr); gap: 4vw; align-items: center; background: var(--cream); }
.hero::before { content: "KULTUR"; position: absolute; z-index: 0; left: -1.8rem; bottom: -2rem; font-family: "Archivo Black", sans-serif; font-size: clamp(9rem, 22vw, 21rem); color: rgba(255,255,255,.62); letter-spacing: -.09em; line-height: .8; }
.hero-copy, .hero-visual { position: relative; z-index: 2; }
.hero-logo { width: clamp(285px, 28vw, 390px); height: auto; margin: -2.4rem 0 1.2rem; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin: 0 0 1.6rem; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { display: block; width: 38px; height: 3px; background: var(--pink); }
h1, h2, h3 { margin-top: 0; }
h1 { margin-bottom: 1.7rem; font-family: "Archivo Black", sans-serif; font-size: clamp(4rem, 7.8vw, 7.8rem); letter-spacing: -.075em; line-height: .82; text-transform: uppercase; }
h1 em, .restart h2 em { color: var(--pink); font-style: normal; }
.hero-intro { max-width: 570px; margin: 0; font-size: clamp(1.06rem, 1.5vw, 1.28rem); line-height: 1.6; }
.hero-intro p, .editable-copy > :first-child { margin-top: 0; }
.hero-intro p, .editable-copy > :last-child { margin-bottom: 0; }
.hero-actions { margin-top: 2rem; display: flex; align-items: center; gap: 1.8rem; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .45rem; min-height: 52px; padding: .85rem 1.25rem; border: 0; border-radius: 0; font: 700 .9rem "DM Sans", sans-serif; text-decoration: none; cursor: pointer; }
.button-primary { color: white; background: var(--pink); box-shadow: 6px 6px 0 var(--ink); }
.button-primary:hover { transform: translate(3px,3px); box-shadow: 3px 3px 0 var(--ink); }
.text-link { font-weight: 700; text-underline-offset: 4px; }
.hero-visual { transform: rotate(1.8deg); box-shadow: 18px 18px 0 var(--pink); }
.hero-visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.88) contrast(1.06); }
.hero-sticker { position: absolute; right: -18px; top: -42px; width: 154px; height: 154px; padding: 37px 15px 15px; border-radius: 50%; color: var(--ink); background: var(--yellow); text-align: center; font-size: .75rem; line-height: 1.1; transform: rotate(9deg); box-shadow: 4px 6px 0 var(--ink); }
.hero-sticker strong { font-family: "Archivo Black", sans-serif; font-size: .95rem; text-transform: uppercase; }
.hero-caption { position: absolute; left: 20px; bottom: 18px; padding: .6rem .75rem; color: white; background: var(--ink); font-weight: 700; line-height: 1.1; transform: rotate(-2deg); }
.route-line { position: absolute; border: 4px dashed var(--pink); border-color: var(--pink) transparent transparent transparent; border-radius: 50%; pointer-events: none; }
.route-one { width: 360px; height: 210px; right: 38%; top: -78px; transform: rotate(-5deg); opacity: .8; }
.ticker { position: absolute; z-index: 3; bottom: 0; left: -1%; width: 102%; overflow: hidden; color: white; background: var(--pink); border-block: 3px solid var(--ink); transform: rotate(-1.1deg); }
.ticker-track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.ticker-group { flex: none; padding: .75rem 0; font-family: "Archivo Black", sans-serif; font-size: 1rem; text-transform: uppercase; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .ticker-track { animation: none; } }

.manifesto { max-width: var(--max); margin: auto; padding: 125px 28px; display: grid; grid-template-columns: 180px 1fr; gap: 3rem; }
.section-index { padding-top: .55rem; font-size: .72rem; font-weight: 700; letter-spacing: .14em; white-space: nowrap; }
.section-index.light { color: rgba(255,255,255,.6); }
.kicker { margin: 0 0 1.4rem; color: var(--pink); font-weight: 700; }
.manifesto h2, .formats h2, .history h2, .restart h2 { font-family: "Archivo Black", sans-serif; font-size: clamp(2.7rem, 5.4vw, 5.2rem); line-height: .98; letter-spacing: -.055em; text-transform: uppercase; }
.manifesto h2 { max-width: 900px; margin-bottom: 3rem; }
.manifesto h2 span { color: var(--pink); }
.manifesto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.manifesto-grid p { margin: 0; font-size: 1.12rem; line-height: 1.7; }
.archive-quote { margin: 3rem 0 0; padding: 1.6rem 2rem; color: white; background: var(--pink); font-family: "Archivo Black", sans-serif; font-size: clamp(1.35rem, 2.6vw, 2.3rem); line-height: 1.15; transform: rotate(-.5deg); }
.archive-quote cite { display: block; margin-top: 1rem; font: 600 .72rem "DM Sans", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.access-panel { margin-top: 4rem; padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); color: white; background: var(--ink); }
.access-copy h3 { margin-bottom: 1rem; font-family: "Archivo Black", sans-serif; font-size: clamp(2rem, 4vw, 3.7rem); line-height: .95; text-transform: uppercase; }
.access-copy > p:last-child { margin-bottom: 0; color: rgba(255,255,255,.75); line-height: 1.65; }
.access-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.22); }
.access-steps li { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.access-steps strong { color: var(--pink); font-family: "Archivo Black", sans-serif; }
.access-steps span { font-weight: 700; }

.formats { padding: 110px max(28px, calc((100vw - var(--max)) / 2 + 28px)) 125px; color: white; background: var(--ink); }
.formats-heading { display: grid; grid-template-columns: 1fr .55fr; gap: 4rem; align-items: end; }
.formats-heading h2 { margin: 2.2rem 0 0; }
.formats-heading > p { max-width: 470px; margin: 0 0 .7rem; color: rgba(255,255,255,.75); font-size: 1.1rem; line-height: 1.65; }
.format-list { margin-top: 4rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.format-card { position: relative; min-height: 390px; padding: 1.6rem; display: flex; flex-direction: column; color: var(--ink); background: var(--pink); overflow: hidden; transition: transform .2s ease; outline-offset: 5px; }
.format-card:hover, .format-card:focus-visible, .format-card:focus-within { transform: translateY(-8px) rotate(-.6deg); }
.format-card.accent-yellow { background: var(--yellow); }
.format-card.accent-blue { color: white; background: var(--blue); }
.format-card.accent-cream { background: var(--cream); }
.format-card.accent-purple { color: white; background: var(--purple); }
.format-card.accent-green { color: white; background: var(--green); }
.format-number { align-self: flex-end; font-weight: 700; }
.format-icon { margin-top: 2.7rem; font-size: 3.8rem; line-height: 1; }
.format-card h3 { margin: auto 0 .7rem; font-family: "Archivo Black", sans-serif; font-size: 2rem; text-transform: uppercase; }
.format-card p { max-width: 310px; margin: 0 0 2rem; line-height: 1.55; }
.format-tag { align-self: flex-start; padding: .35rem .5rem; border: 1px solid currentColor; font-size: .68rem; font-weight: 700; letter-spacing: .1em; }
.format-detail { position: absolute; z-index: 3; inset: 0; padding: 1.55rem; display: flex; flex-direction: column; justify-content: center; color: white; background: rgba(17,21,47,.96); opacity: 0; transform: translateY(14px); transition: opacity .22s ease, transform .22s ease; pointer-events: none; }
.format-card:hover .format-detail, .format-card:focus-visible .format-detail, .format-card:focus-within .format-detail { opacity: 1; transform: none; }
.format-detail p { max-width: none; margin: .65rem 0; font-size: .93rem; line-height: 1.5; }
.format-detail strong { display: block; margin-bottom: .25rem; color: var(--yellow); font-family: "Archivo Black", sans-serif; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }

.story-section { padding: 115px max(28px, calc((100vw - var(--max)) / 2 + 28px)) 125px; background: var(--blue); color: white; }
.story-heading { display: grid; grid-template-columns: 180px 1fr; gap: 3rem; }
.story-heading > div:last-child { max-width: 900px; }
.story-heading h2 { margin-bottom: 1.5rem; font-family: "Archivo Black", sans-serif; font-size: clamp(2.7rem, 5.4vw, 5.2rem); line-height: .98; letter-spacing: -.055em; text-transform: uppercase; }
.story-heading > div:last-child > p:last-child { max-width: 730px; color: rgba(255,255,255,.75); font-size: 1.08rem; line-height: 1.7; }
.story-grid { position: relative; margin-top: 4rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.22); }
.story-grid::before { content: ""; position: absolute; left: 50%; top: -4rem; bottom: -4rem; border-left: 2px dashed var(--yellow); opacity: .45; }
.story-grid article { position: relative; z-index: 1; min-height: 250px; padding: clamp(1.5rem, 4vw, 3rem); background: var(--blue); }
.story-grid article:nth-child(4n+2), .story-grid article:nth-child(4n+3) { background: #173e87; }
.story-grid article > span { color: var(--yellow); font-weight: 800; font-size: .72rem; letter-spacing: .12em; }
.story-grid h3 { margin: 1.1rem 0 .8rem; font-family: "Archivo Black", sans-serif; font-size: clamp(1.45rem, 3vw, 2.25rem); line-height: 1; text-transform: uppercase; }
.story-grid p { max-width: 520px; margin: 0; color: rgba(255,255,255,.8); line-height: 1.65; }

.archive-gallery { padding: 115px max(28px, calc((100vw - var(--max)) / 2 + 28px)) 125px; background: var(--paper); overflow: hidden; }
.archive-heading { display: grid; grid-template-columns: 180px 1fr; gap: 3rem; }
.archive-heading > div:last-child { max-width: 900px; }
.archive-heading h2 { margin-bottom: 1.5rem; font-family: "Archivo Black", sans-serif; font-size: clamp(2.7rem, 5.4vw, 5.2rem); line-height: .98; letter-spacing: -.055em; text-transform: uppercase; }
.archive-heading > div:last-child > p:last-child { max-width: 700px; font-size: 1.08rem; line-height: 1.7; }
.archive-stage { position: relative; margin-top: 3.5rem; min-height: clamp(480px, 61vw, 720px); background: var(--ink); box-shadow: 14px 14px 0 var(--pink); }
.archive-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .65s ease; }
.archive-slide.is-active { opacity: 1; visibility: visible; }
.archive-slide img, .archive-slide video { width: 100%; height: 100%; object-fit: contain; object-position: center; background: var(--ink); }
.archive-slide video { display: block; background: var(--ink); }
.archive-slide figcaption { position: absolute; left: clamp(18px, 4vw, 48px); bottom: clamp(18px, 4vw, 42px); max-width: calc(100% - 160px); padding: .9rem 1rem; color: white; background: var(--ink); box-shadow: 6px 6px 0 var(--pink); }
.archive-slide figcaption strong, .archive-slide figcaption span, .archive-slide figcaption small { display: block; }
.archive-slide figcaption strong { font-family: "Archivo Black", sans-serif; font-size: clamp(1rem, 2vw, 1.5rem); text-transform: uppercase; }
.archive-slide figcaption span { margin-top: .3rem; color: rgba(255,255,255,.7); font-size: .72rem; }
.archive-slide figcaption small { margin-top: .2rem; color: var(--yellow); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.gallery-controls { position: absolute; z-index: 4; right: 20px; bottom: 20px; display: flex; align-items: center; color: var(--ink); background: var(--yellow); border: 2px solid var(--ink); }
.gallery-controls button { width: 48px; height: 48px; border: 0; color: inherit; background: transparent; font-size: 1.25rem; cursor: pointer; }
.gallery-controls button:hover, .gallery-controls button:focus-visible { color: white; background: var(--pink); }
.gallery-status { min-width: 68px; text-align: center; font-weight: 700; }

.history { display: grid; grid-template-columns: 1fr 1fr; min-height: 810px; }
.history-image { position: relative; min-height: 650px; background: var(--pink); overflow: hidden; }
.history-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17,21,47,.4), transparent 45%); }
.history-image img { width: 100%; height: 100%; object-fit: cover; }
.history-detail { position: absolute; z-index: 2; right: clamp(18px, 4vw, 55px); bottom: 65px; width: clamp(145px, 29%, 245px); margin: 0; padding: 9px 9px 12px; background: var(--paper); box-shadow: 9px 9px 0 var(--pink); transform: rotate(4deg); }
.history-detail img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.history-detail figcaption { padding: .7rem .2rem .1rem; font-weight: 700; font-size: .78rem; }
.photo-note { position: absolute; z-index: 1; left: 1.5rem; bottom: 1.5rem; padding: .45rem .6rem; color: white; background: var(--pink); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.history-content { padding: 100px clamp(28px, 6vw, 90px); background: var(--cream); }
.history-content .kicker { margin-top: 2.5rem; }
.history-content h2 { margin-bottom: 1.5rem; }
.history-content > p:last-of-type { max-width: 650px; line-height: 1.7; }
.history-facts { margin: 2rem 0; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.history-facts div { padding: 1rem .75rem 1rem 0; }
.history-facts strong { display: block; color: var(--pink); font-family: "Archivo Black", sans-serif; font-size: 2rem; }
.history-facts span { display: block; font-size: .76rem; font-weight: 700; line-height: 1.3; }
.work-model { margin: 2.6rem 0 0; padding: 1.6rem; color: white; background: var(--ink); box-shadow: 8px 8px 0 var(--pink); }
.work-model h3 { margin: 0 0 1rem; font-family: "Archivo Black", sans-serif; font-size: 1.35rem; text-transform: uppercase; }
.work-model ol { margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; list-style: none; }
.work-model li { padding: .9rem 1rem .9rem 0; border-top: 1px solid rgba(255,255,255,.18); }
.work-model li:nth-child(odd) { margin-right: 1rem; }
.work-model strong, .work-model span { display: block; }
.work-model strong { color: var(--yellow); font-size: .82rem; text-transform: uppercase; }
.work-model span { margin-top: .35rem; color: rgba(255,255,255,.72); font-size: .82rem; line-height: 1.5; }
.timeline { margin-top: 2.7rem; border-top: 1px solid var(--line); }
.timeline div { display: grid; grid-template-columns: 84px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.timeline time { color: var(--pink); font-family: "Archivo Black", sans-serif; font-size: .85rem; }
.timeline span { font-weight: 600; }
.timeline .now { margin-top: .7rem; padding-inline: .75rem; color: white; background: var(--pink); border: 0; transform: rotate(-.5deg); }
.timeline .now time { color: white; }

.restart { position: relative; min-height: 690px; padding: 130px 28px 105px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: var(--yellow); }
.restart::before, .restart::after { content: ""; position: absolute; width: 170px; height: 170px; border: 30px solid var(--pink); border-radius: 50%; }
.restart::before { left: -95px; top: 80px; }
.restart::after { right: -110px; bottom: 60px; width: 230px; height: 230px; }
.eyebrow.centered { justify-content: center; }
.restart h2 { position: relative; margin-bottom: 1.5rem; }
.restart h2 em { display: inline-block; padding: 0 .2em .08em; color: white; background: var(--pink); transform: rotate(-1deg); }
.restart-copy { position: relative; max-width: 820px; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.restart-copy p { margin: 0; font-size: 1.05rem; line-height: 1.65; }
.restart-grid { position: relative; width: min(1120px, 100%); margin: 3rem 0 .5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: left; }
.restart-grid article { padding: 1.5rem; background: rgba(255,255,255,.55); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--pink); }
.restart-grid span { color: var(--pink); font-family: "Archivo Black", sans-serif; }
.restart-grid h3 { margin: .8rem 0 .6rem; font-family: "Archivo Black", sans-serif; font-size: 1.4rem; text-transform: uppercase; }
.restart-grid p { margin: 0; font-size: .9rem; line-height: 1.55; }
.restart-copy { max-width: 650px; margin: 0; font-size: 1.15rem; line-height: 1.65; }
.restart-actions { display: flex; gap: .75rem; margin: 2rem 0 1.3rem; flex-wrap: wrap; justify-content: center; }
.button-dark { color: white; background: var(--ink); }
.button-dark:hover { background: var(--pink); }
.button-ghost { border: 2px solid var(--ink); background: transparent; }
.button-ghost:hover { background: rgba(255,255,255,.45); }
.restart small { font-size: .72rem; }
.restart small a { font-weight: 700; text-underline-offset: 3px; }
.restart-orbit { position: absolute; left: 50%; top: 48%; width: 1050px; height: 1050px; border: 2px dashed rgba(17,21,47,.25); border-radius: 50%; transform: translate(-50%,-50%); font-size: 0; pointer-events: none; }

.site-footer { padding: 70px max(28px, calc((100vw - var(--max)) / 2 + 28px)) 25px; color: white; background: var(--ink); }
.footer-brand { display: inline-block; padding: .2rem; background: white; box-shadow: 8px 8px 0 var(--pink); transform: rotate(-1deg); }
.footer-brand img { width: 330px; height: auto; }
.site-footer > p { max-width: 760px; margin: 2rem 0; color: rgba(255,255,255,.7); font-size: 1.1rem; line-height: 1.65; }
.footer-status strong { display: block; margin-bottom: .35rem; color: white; font-family: "Archivo Black", sans-serif; font-size: clamp(1.25rem, 2.4vw, 2rem); line-height: 1.05; text-transform: uppercase; }
.footer-map { margin: 3.5rem auto; padding-block: 2.5rem; display: grid; grid-template-columns: repeat(3, minmax(180px, 260px)); justify-content: center; gap: clamp(2.5rem, 5vw, 5rem); border-block: 1px solid rgba(255,255,255,.15); }
.footer-map nav { display: flex; align-items: flex-start; flex-direction: column; gap: .75rem; }
.footer-map h2 { margin: 0 0 .65rem; color: white; font-family: "Archivo Black", sans-serif; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; }
.footer-map a { color: var(--pink); font-weight: 700; text-decoration: none; }
.footer-map a:hover, .footer-map a:focus-visible { color: var(--yellow); text-decoration: underline; text-underline-offset: 4px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.7rem; padding-bottom: 3rem; }
.footer-links a { color: var(--pink); font-weight: 700; }
.footer-links span { color: rgba(255,255,255,.45); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.5); font-size: .75rem; }
.footer-bottom a { color: white; }

.idea-dialog { max-width: 520px; padding: 3rem; border: 0; color: var(--ink); background: var(--paper); box-shadow: 12px 12px 0 var(--pink); }
.idea-dialog::backdrop { background: rgba(17,21,47,.82); }
.idea-dialog h2 { margin: .5rem 0 1rem; font-family: "Archivo Black", sans-serif; font-size: 2.4rem; text-transform: uppercase; line-height: 1; }
.idea-dialog p { line-height: 1.65; }
.dialog-close { position: absolute; right: 1rem; top: .7rem; border: 0; background: none; font-size: 2rem; cursor: pointer; }
.dialog-mark { color: var(--pink); font-size: 2.8rem; }

.legal-page { background: var(--cream); }
.legal-header .site-nav { margin-left: auto; }
.legal-hero { padding: 90px max(28px, calc((100vw - var(--max)) / 2 + 28px)) 70px; color: white; background: var(--ink); overflow: hidden; }
.legal-hero .eyebrow { color: var(--yellow); }
.legal-hero h1 { max-width: var(--max); margin: 0; font-size: clamp(3.3rem, 8vw, 7rem); }
.legal-main { max-width: 980px; margin: 0 auto; padding: 80px 28px 110px; }
.legal-card { padding: clamp(28px, 5vw, 60px); background: var(--paper); border: 1px solid var(--line); box-shadow: 10px 10px 0 var(--pink); }
.legal-card h2 { margin: 3.2rem 0 1rem; font-family: "Archivo Black", sans-serif; font-size: clamp(1.55rem, 3vw, 2.25rem); line-height: 1.1; text-transform: uppercase; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card h3 { margin: 2rem 0 .7rem; font-size: 1.08rem; }
.legal-card p, .legal-card li { line-height: 1.7; }
.legal-card ul { padding-left: 1.3rem; }
.legal-card a { color: var(--pink-dark); font-weight: 700; text-underline-offset: 3px; }
.legal-card .button-primary { color: white; }
.legal-card address { font-style: normal; line-height: 1.7; }
.legal-note { margin-top: 2.7rem; padding: 1rem 1.2rem; background: var(--yellow); border-left: 5px solid var(--pink); }

@media (max-width: 900px) {
  .site-header { height: 76px; }
  .menu-toggle { margin-left: auto; width: 42px; height: 42px; padding: 9px; display: grid; align-content: center; gap: 5px; border: 0; background: transparent; }
  .menu-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--ink); }
  .site-nav { position: absolute; z-index: 20; left: 0; right: 0; top: 76px; padding: 1.5rem 28px; display: none; align-items: flex-start; flex-direction: column; background: var(--paper); border-bottom: 3px solid var(--ink); }
  .site-nav-list { width: 100%; align-items: flex-start; flex-direction: column; gap: 1.2rem; }
  .site-nav.is-open { display: flex; }
  .legal-header .site-nav { position: static; margin-left: auto; padding: 0; display: flex; align-items: center; flex-direction: row; gap: .9rem; border: 0; background: transparent; }
  .legal-header .site-nav a { font-size: .76rem; }
  .header-cta { display: none; }
  .hero { min-height: auto; grid-template-columns: minmax(0, 1fr); padding-top: 65px; gap: 5rem; }
  .hero-copy { max-width: 700px; }
  .hero-visual { width: calc(100% - 20px); max-width: 700px; justify-self: center; }
  .manifesto { grid-template-columns: 1fr; gap: 2rem; }
  .access-panel { grid-template-columns: 1fr; }
  .formats-heading { grid-template-columns: 1fr; }
  .format-list { grid-template-columns: 1fr 1fr; }
  .format-card { min-height: 310px; }
  .story-heading { grid-template-columns: 1fr; gap: 2rem; }
  .story-grid::before { display: none; }
  .archive-heading { grid-template-columns: 1fr; gap: 2rem; }
  .history { grid-template-columns: 1fr; }
  .history-image { min-height: 540px; }
}

@media (max-width: 600px) {
  .site-header { padding-inline: 18px; }
  .brand img { width: 54px; height: 54px; }
  .brand span { font-size: .86rem; }
  .hero-logo { width: 255px; margin: -1.5rem 0 1rem; }
  .hero-copy { min-width: 0; width: 100%; }
  .hero-intro { max-width: 100%; }
  .hero { padding: 50px 18px 90px; }
  h1 { font-size: clamp(3.05rem, 14.5vw, 4.35rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-visual { box-shadow: 10px 10px 0 var(--pink); }
  .hero-sticker { right: -8px; top: -55px; width: 130px; height: 130px; padding-top: 30px; }
  .hero-sticker strong { font-size: .78rem; }
  .manifesto { padding: 90px 18px; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .formats { padding: 85px 18px 95px; }
  .format-list { grid-template-columns: 1fr; }
  .format-card { min-height: 380px; }
  .story-section { padding: 85px 18px 95px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-grid article { min-height: auto; }
  .archive-gallery { padding: 85px 18px 95px; }
  .archive-stage { min-height: 520px; box-shadow: 8px 8px 0 var(--pink); }
  .archive-slide figcaption { max-width: calc(100% - 36px); left: 18px; right: 18px; bottom: 82px; }
  .gallery-controls { right: 18px; bottom: 18px; }
  .history-image { min-height: 410px; }
  .history-content { padding: 75px 18px; }
  .timeline div { grid-template-columns: 65px 1fr; }
  .history-facts { grid-template-columns: 1fr 1fr 1fr; }
  .history-facts div { padding-right: .35rem; }
  .history-facts strong { font-size: 1.55rem; }
  .work-model ol { grid-template-columns: 1fr; }
  .work-model li:nth-child(odd) { margin-right: 0; }
  .restart { padding-inline: 18px; }
  .restart h2 { font-size: clamp(2.3rem, 12vw, 4rem); }
  .restart-copy, .restart-grid { grid-template-columns: 1fr; }
  .footer-map { grid-template-columns: minmax(0, 280px); justify-content: center; gap: 2.5rem; }
  .restart-actions { width: 100%; flex-direction: column; }
  .site-footer { padding-inline: 18px; }
  .footer-brand img { width: min(300px, calc(100vw - 52px)); }
  .footer-bottom { gap: 1rem; flex-direction: column; }
  .idea-dialog { width: calc(100% - 36px); padding: 2.3rem 1.5rem; }
  .legal-hero { padding: 65px 18px 50px; }
  .legal-main { padding: 50px 18px 80px; }
  .legal-card { padding: 28px 20px; box-shadow: 6px 6px 0 var(--pink); }
}
