@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --nar: #8c1c27;
  --nar-deep: #6e141d;
  --zeytin: #1f5446;
  --zeytin-deep: #163d33;
  --bugday: #d88a2e;
  --tas: #efe5d6;
  --ink: #17211d;
  --muted: #5d6762;
  --line: #e2e6e3;
  --mist: #f3f6f4;
  --white: #fff;
  --radius: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; line-height: 1.05; margin: 0; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
p { margin: 0; }
.wrap { width: min(1200px, 100% - 2 * clamp(20px, 5vw, 56px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--bugday); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid var(--nar); background: var(--nar); color: #fff; font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--spring); }
.btn:hover { background: var(--nar-deep); border-color: var(--nar-deep); }
.btn:active { transform: scale(.97); }
.btn-line { background: transparent; color: var(--nar); }
.btn-line:hover { background: var(--nar); color: #fff; }
.btn-small { min-height: 42px; padding: 0 20px; font-size: .94rem; }

/* Header */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; padding-top: env(safe-area-inset-top, 0px); }
.topbar.scrolled { border-color: var(--line); }
.topbar-inner { width: min(1200px, 100% - 2 * clamp(20px, 5vw, 56px)); margin-inline: auto; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 52px; height: auto; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; color: var(--nar); }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 34px); }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; color: var(--ink); position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--nar); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

/* Hero */
.hero { padding-top: clamp(36px, 5vw, 72px); }
.hero-grid { width: min(1200px, 100% - 2 * clamp(20px, 5vw, 56px)); margin-inline: auto; display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: clamp(32px, 6vw, 96px); }
.hero-tag { color: var(--zeytin); font-weight: 600; font-size: 1.02rem; margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -.04em; color: var(--ink); text-wrap: balance; }
.reveal-lines .line { display: block; overflow: hidden; padding-bottom: .06em; }
.reveal-lines .line > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
.reveal-lines.in .line > span { transform: none; }
.reveal-lines.in .line:nth-child(2) > span { transition-delay: .09s; }
.hero-intro { margin-top: 28px; max-width: 34em; color: var(--muted); font-size: 1.12rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 30px 0 0; }
.hero-facts dt { font-size: .86rem; color: var(--muted); }
.hero-facts dd { margin: 2px 0 0; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-logo { justify-self: end; width: min(100%, 420px); }
.hero-logo img { width: 100%; transform-origin: 50% 60%; animation: logoIn 1.2s var(--ease) .15s both; }
@keyframes logoIn { from { transform: scale(.9) rotate(-3deg); clip-path: circle(0% at 50% 55%); } to { transform: none; clip-path: circle(75% at 50% 55%); } }

/* Mosaic band */
.mosaic { --tile: clamp(16px, 2.1vw, 26px); --gap: 3px; margin-top: clamp(44px, 6vw, 80px); display: grid; grid-auto-flow: column; grid-template-rows: repeat(5, var(--tile)); grid-auto-columns: var(--tile); gap: var(--gap); justify-content: center; overflow: hidden; height: calc(5 * var(--tile) + 4 * var(--gap)); }
.tile { border-radius: 4px 3px 5px 3px; transform: scale(0) rotate(var(--r, 0deg)); transition: transform .7s var(--spring); transition-delay: var(--d, 0s); }
.mosaic.built .tile { transform: scale(1) rotate(var(--r, 0deg)); }
.mosaic.built .tile.lift { transform: scale(.55) rotate(calc(var(--r, 0deg) + 25deg)); transition-delay: 0s; transition-duration: .35s; }
.tile.empty { visibility: hidden; }

/* Countdown */
.countdown { width: min(1200px, 100% - 2 * clamp(20px, 5vw, 56px)); margin: 0 auto; padding: 26px 0 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.countdown > p { color: var(--muted); font-weight: 500; }
.count-units { display: flex; gap: clamp(18px, 4vw, 52px); }
.count-units span { display: flex; align-items: baseline; gap: 8px; }
.count-units b { font-family: var(--display); font-weight: 600; font-size: clamp(1.8rem, 3.2vw, 2.7rem); color: var(--nar); font-variant-numeric: tabular-nums; display: inline-block; min-width: 2ch; text-align: right; }
.count-units b.tick { animation: tick .45s var(--ease); }
@keyframes tick { from { transform: translateY(-35%); clip-path: inset(35% 0 0 0); } to { transform: none; clip-path: inset(0); } }
.count-units small { color: var(--muted); font-size: .9rem; }

/* Festival */
.festival { padding: clamp(80px, 10vw, 140px) 0; }
.festival-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); }
.festival-head p { margin-top: 22px; color: var(--muted); max-width: 30em; font-size: 1.08rem; }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.features li { display: grid; grid-template-columns: 52px 1fr; column-gap: 22px; row-gap: 6px; padding: 26px 0; border-top: 1px solid var(--line); }
.features li:last-child { border-bottom: 1px solid var(--line); }
.features svg { grid-row: span 2; width: 40px; height: 40px; fill: none; stroke: var(--zeytin); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.features h3 { font-size: 1.45rem; }
.features p { color: var(--muted); }

/* Program */
.program { background: var(--zeytin); color: #fff; padding: clamp(80px, 10vw, 130px) 0; }
.program-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.program-head p { color: rgba(255,255,255,.72); max-width: 26em; }
.days { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.days::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--bugday); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease); }
.days.in::before { transform: scaleX(1); }
.days li { padding: 30px 22px 6px 0; position: relative; }
.days li::before { content: ""; position: absolute; top: -6px; left: 0; width: 14px; height: 14px; border-radius: 4px; background: var(--bugday); transform: scale(0) rotate(45deg); transition: transform .5s var(--spring); }
.days.in li::before { transform: scale(1) rotate(45deg); }
.days.in li:nth-child(1)::before { transition-delay: .1s; } .days.in li:nth-child(2)::before { transition-delay: .35s; } .days.in li:nth-child(3)::before { transition-delay: .6s; } .days.in li:nth-child(4)::before { transition-delay: .85s; } .days.in li:nth-child(5)::before { transition-delay: 1.1s; }
.days time { display: block; color: rgba(255,255,255,.72); font-size: .95rem; }
.days time b { display: block; font-family: var(--display); font-weight: 600; font-size: 3rem; line-height: 1; color: #fff; margin-bottom: 6px; letter-spacing: -.03em; }
.days span { display: block; margin-top: 14px; font-weight: 600; font-size: 1.1rem; line-height: 1.35; }

/* Apply */
.apply { background: var(--mist); padding: clamp(80px, 10vw, 140px) 0; }
.apply-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.apply-info { position: sticky; top: 110px; }
.apply-info .lead { margin-top: 20px; color: var(--muted); font-size: 1.08rem; }
.info-list { margin: 34px 0 0; display: grid; gap: 0; }
.info-list div { padding: 18px 0; border-top: 1px solid #d9dfdb; }
.info-list dt { font-weight: 700; color: var(--zeytin); font-size: .95rem; }
.info-list dd { margin: 4px 0 0; color: var(--ink); }
.info-list a { color: var(--nar); font-weight: 600; }

.form-shell { background: var(--white); border-radius: 22px; padding: clamp(24px, 4vw, 48px); box-shadow: 0 1px 0 rgba(23,33,29,.04), 0 24px 60px -30px rgba(31,84,70,.28); position: relative; }
.form { display: grid; gap: 22px; }
.form[hidden] { display: none; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field > label, .field > legend, .label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 8px; padding: 0; }
.opt { font-weight: 400; color: var(--muted); }
input[type=text], input[type=tel], input[type=email], textarea { width: 100%; font: 400 1rem/1.4 var(--body); color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s; resize: vertical; }
input::placeholder, textarea::placeholder { color: #9aa29e; }
input:hover, textarea:hover { border-color: #c9d0cc; }
input:focus, textarea:focus { outline: none; border-color: var(--zeytin); box-shadow: 0 0 0 4px rgba(31,84,70,.12); }
.invalid input, .invalid textarea, input.invalid { border-color: var(--nar); }
.err { color: var(--nar); font-size: .86rem; margin-top: 6px; min-height: 0; }
.err:empty { display: none; }

.segmented { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--mist); border-radius: 14px; padding: 5px; }
.segmented label { position: relative; z-index: 1; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 10px; font-weight: 600; color: var(--muted); transition: color .3s var(--ease); text-align: center; padding: 0 10px; }
.segmented input:checked + span { color: var(--white); }
.segmented input:focus-visible + span { outline: 3px solid var(--bugday); outline-offset: 2px; }
.seg-indicator { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); background: var(--zeytin); border-radius: 10px; transition: transform .45s var(--spring); }
.segmented[data-pos="1"] .seg-indicator { transform: translateX(100%); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 500; transition: background .25s var(--ease), border-color .25s, color .25s, transform .3s var(--spring); }
.chips label:hover span { border-color: #c9d0cc; }
.chips input:checked + span { background: var(--nar); border-color: var(--nar); color: #fff; transform: scale(1.04); }
.chips input:focus-visible + span { outline: 3px solid var(--bugday); outline-offset: 2px; }
.other { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease), margin .4s var(--ease); }
.other > input { min-height: 0; overflow: hidden; }
.other.open { grid-template-rows: 1fr; margin-top: 10px; }
.other:not(.open) > input { padding-block: 0; border-width: 0; }

.stepper { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.step { width: 48px; height: 48px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white); font: 500 1.5rem/1 var(--body); color: var(--ink); cursor: pointer; transition: border-color .2s, transform .25s var(--spring), background .2s; }
.step:hover { border-color: var(--zeytin); }
.step:active { transform: scale(.9); }
.step:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 64px; height: 48px; display: grid; place-items: center; overflow: hidden; font-family: var(--display); font-weight: 600; font-size: 1.6rem; }
.stepper .num { display: inline-block; }
.stepper .num.up { animation: numUp .35s var(--ease); }
.stepper .num.down { animation: numDown .35s var(--ease); }
@keyframes numUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes numDown { from { transform: translateY(-100%); } to { transform: none; } }
.stand-area { margin-left: 8px; color: var(--muted); }
.stand-area span { font-weight: 700; color: var(--zeytin); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.field > label.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; cursor: pointer; font-weight: 400 !important; font-size: .94rem !important; color: var(--muted); line-height: 1.5; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .box { width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid #c9d0cc; display: grid; place-items: center; transition: background .2s, border-color .2s; margin-top: 1px; }
.check .box svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset .35s var(--ease) .05s; }
.check input:checked + .box { background: var(--zeytin); border-color: var(--zeytin); }
.check input:checked + .box svg { stroke-dashoffset: 0; }
.check input:focus-visible + .box { outline: 3px solid var(--bugday); outline-offset: 2px; }
.invalid .check .box { border-color: var(--nar); }

.btn-submit { width: 100%; min-height: 58px; font-size: 1.05rem; position: relative; overflow: hidden; }
.btn-submit .spinner { position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; transform: scale(0); }
.btn-submit.loading .btn-label { transform: translateY(-160%); }
.btn-submit .btn-label { transition: transform .35s var(--ease); }
.btn-submit.loading .spinner { transform: scale(1); animation: spin .8s linear infinite; transition: transform .3s var(--spring); }
.btn-submit.loading { pointer-events: none; }
@keyframes spin { to { transform: scale(1) rotate(360deg); } }
.form-error { color: var(--nar); font-weight: 600; text-align: center; }
.form-error:empty { display: none; }

.done { text-align: center; padding: clamp(30px, 6vw, 70px) 10px; display: grid; justify-items: center; gap: 14px; }
.done[hidden] { display: none; }
.done-mark { width: 84px; height: 84px; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.done-mark circle { stroke: var(--zeytin); stroke-dasharray: 152; stroke-dashoffset: 152; animation: draw .8s var(--ease) forwards; }
.done-mark path { stroke: var(--zeytin); stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .45s var(--ease) .6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h3 { font-size: 1.9rem; margin-top: 8px; }
.done p { color: var(--muted); max-width: 30em; }
.done .btn { margin-top: 10px; }

.kvkk-link { color: var(--nar); font-weight: 600; text-underline-offset: 3px; }

/* KVKK modal */
.kvkk-modal { width: min(760px, 100% - 32px); max-height: min(86vh, 900px); padding: 0; border: 0; border-radius: 22px; background: var(--white); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(23,33,29,.45); overflow: hidden; display: none; flex-direction: column; }
.kvkk-modal[open] { display: flex; animation: modalIn .5s var(--ease); }
.kvkk-modal::backdrop { background: rgba(23,33,29,.45); backdrop-filter: blur(3px); }
@keyframes modalIn { from { transform: translateY(24px) scale(.97); clip-path: inset(8% 4% 8% 4% round 22px); } to { transform: none; clip-path: inset(0 round 22px); } }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px 18px 28px; border-bottom: 1px solid var(--line); }
.modal-head p { font-family: var(--display); font-weight: 600; font-size: 1.2rem; }
.modal-x { width: 42px; height: 42px; border-radius: 12px; border: 0; background: var(--mist); cursor: pointer; display: grid; place-items: center; transition: transform .3s var(--spring); }
.modal-x:hover { transform: rotate(90deg); }
.modal-x svg { width: 18px; height: 18px; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.modal-body { padding: 8px 28px 24px; overflow-y: auto; overscroll-behavior: contain; }
.modal-body h1 { display: none; }
.modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px 16px 28px; border-top: 1px solid var(--line); background: var(--white); flex-wrap: wrap; }
.modal-foot a { color: var(--muted); font-size: .94rem; }

/* Legal text */
.legal-text { font-size: 1rem; line-height: 1.7; }
.legal-text h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.1; }
.legal-text h2 { font-size: 1.2rem; margin: 30px 0 8px; letter-spacing: -.01em; color: var(--zeytin); }
.legal-text p { margin: 0 0 12px; max-width: 72ch; }
.legal-text ul { margin: 0 0 12px; padding-left: 20px; max-width: 72ch; }
.legal-text li { margin-bottom: 6px; }
.legal-text a { color: var(--nar); }
.legal-meta { color: var(--muted); font-size: .92rem; margin-top: 10px !important; }
.placeholder { background: #fff3d6; padding: 1px 6px; border-radius: 4px; }
.legal { padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 110px); }
.legal-page .footer { padding-top: 0; }

/* Location */
.location { padding: clamp(80px, 10vw, 140px) 0; }
.location-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.location-copy p { margin: 20px 0 30px; color: var(--muted); font-size: 1.08rem; max-width: 30em; }
.map { border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 11; background: var(--mist); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85); }
.map-gate { height: 100%; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 24px; background-image: radial-gradient(var(--line) 1.2px, transparent 1.2px); background-size: 18px 18px; }
.map-gate svg { width: 44px; height: 44px; fill: none; stroke: var(--nar); stroke-width: 1.8; }
.map-gate p { color: var(--muted); max-width: 26em; font-size: .95rem; }

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,.78); padding: 64px 0 calc(28px + env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; align-items: start; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand { display: flex; gap: 18px; align-items: center; }
.footer-brand img { width: 76px; background: #fff; border-radius: 16px; padding: 8px; }
.footer-brand strong { color: #fff; font-family: var(--display); font-size: 1.2rem; }
.footer-brand p { line-height: 1.55; font-size: .95rem; }
.footer-links { display: grid; gap: 8px; }
.footer-links a, .footer-contact a { text-decoration: none; transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact { display: grid; gap: 6px; }
.footer-contact span { font-size: .88rem; color: rgba(255,255,255,.55); }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-credit { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: .92rem; color: rgba(255,255,255,.55); }
.medyaz strong { font-family: var(--display); color: #fff; font-size: 1.15rem; letter-spacing: -.01em; margin-left: 6px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-logo { justify-self: start; width: min(70%, 340px); order: -1; }
  .festival-grid, .apply-grid, .location-grid { grid-template-columns: 1fr; }
  .apply-info { position: static; }
  .days { grid-template-columns: 1fr; margin-top: 40px; }
  .days::before { top: 0; bottom: 0; left: 6px; right: auto; width: 2px; height: auto; transform: scaleY(0); transform-origin: top; }
  .days.in::before { transform: scaleY(1); }
  .days li { padding: 0 0 30px 40px; }
  .days li::before { top: 6px; left: 0; }
  .days time b { font-size: 2.3rem; }
  .days span { margin-top: 6px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav a:not(.btn) { display: none; }
  .brand span { display: none; }
  .topbar-inner { height: 64px; }
  .row { grid-template-columns: 1fr; }
  .countdown { flex-direction: column; align-items: flex-start; }
  .count-units { width: 100%; justify-content: space-between; gap: 8px; }
  .count-units span { flex-direction: column; gap: 0; }
  .count-units b { text-align: left; }
  .hero-actions .btn { flex: 1 1 100%; }
  .mosaic { grid-template-rows: repeat(4, var(--tile)); height: calc(4 * var(--tile) + 3 * var(--gap)); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
}

/* 404 */
.notfound { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; padding: 40px 0; }
.notfound img { width: 160px; }
.notfound h1 { font-size: clamp(2rem, 5vw, 3rem); }
.notfound p { color: var(--muted); }
