/* Tabea Kuller · Studio Nonsense — skandinavisch, ruhig, grau/beige/schwarz */

@font-face { font-family: "Manrope"; src: url("../fonts/manrope.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --paper: #f4f1ec;
  --paper-2: #ece7df;
  --sand: #ddd5c8;
  --stone: #b9b2a6;
  --gray: #85807a;
  --ink-2: #45423e;
  --ink: #161514;
  --line: rgba(22, 21, 20, 0.14);

  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 3px; }

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

.label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gray);
}
.serif { font-family: var(--serif); font-weight: 400; }
em, .it { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: baseline; gap: 12px; white-space: nowrap; }
.brand-name { font-family: var(--serif); font-size: 26px; letter-spacing: -0.01em; line-height: 1; }
.brand-sub { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray); font-weight: 600; }
.nav { display: flex; gap: 34px; align-items: center; }
.nav a { font-size: 13px; letter-spacing: 0.04em; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: currentColor; transition: right .35s var(--ease); }
.nav a:hover::after, .nav a.active::after { right: 0; }
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--ink); background: transparent; border-radius: 999px;
  padding: 7px 14px; font-size: 13px; transition: background .25s, color .25s;
}
.cart-btn:hover { background: var(--ink); color: var(--paper); }
.cart-count { min-width: 18px; height: 18px; border-radius: 9px; background: var(--ink); color: var(--paper); font-size: 11px; display: inline-grid; place-items: center; padding: 0 5px; font-weight: 600; }
.cart-btn:hover .cart-count { background: var(--paper); color: var(--ink); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 5px 0; transition: transform .3s; }

/* ---------- Hero ---------- */
.hero { padding: clamp(32px, 5vw, 72px) 0 clamp(56px, 7vw, 100px); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(46px, 6.6vw, 104px);
  line-height: 0.95; letter-spacing: -0.025em; margin: 20px 0 30px;
}
.hero h1 em { color: var(--gray); }
.hero-lead { max-width: 30em; font-size: 17px; color: var(--ink-2); margin: 0 0 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-figure { position: relative; margin: 0; max-width: 520px; justify-self: end; width: 100%; }
.hero-figure img { max-height: calc(100vh - 200px); min-height: 380px; }
.hero-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--sand); }
.hero-figure figcaption { display: flex; justify-content: space-between; margin-top: 12px; font-size: 12px; color: var(--gray); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-size: 14px; letter-spacing: 0.02em;
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn.full { width: 100%; justify-content: center; }

/* ---------- Marquee / Keywords ---------- */
.keywords { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 18px 0; }
.keywords-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.keywords span { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 34px); white-space: nowrap; color: var(--ink-2); }
.keywords span::after { content: "·"; margin-left: 48px; color: var(--stone); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { scroll-margin-top: 72px; }
.section { padding: clamp(80px, 11vw, 160px) 0; }
.section.alt { background: var(--paper-2); }
.section.dark { background: var(--ink); color: var(--paper); }
.section.dark .label { color: var(--stone); }
.section-head { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 5vw, 80px); margin-bottom: clamp(48px, 6vw, 88px); align-items: end; }
.section-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.6vw, 80px); line-height: 1; letter-spacing: -0.02em; margin: 14px 0 0; }
.section-head p { margin: 0; color: var(--ink-2); max-width: 34em; }
.section.dark .section-head p { color: var(--stone); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 7vw, 120px); align-items: start; }
.about-grid figure { margin: 0; position: sticky; top: 110px; }
.about-grid figure img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.statement { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 52px); line-height: 1.12; letter-spacing: -0.015em; margin: 18px 0 44px; }
.statement em { color: var(--gray); }
.about-text { columns: 2; column-gap: 40px; color: var(--ink-2); }
.about-text p { margin: 0 0 1em; break-inside: avoid; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 56px; }
.values div { padding: 26px 24px 0 0; }
.values div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.values b { display: block; font-family: var(--serif); font-weight: 400; font-size: 28px; margin-bottom: 6px; }
.values p { margin: 0; font-size: 14px; color: var(--gray); }

/* ---------- Portfolio ---------- */
.works { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2.4vw, 32px); row-gap: clamp(40px, 5vw, 72px); }
.work { grid-column: span 6; cursor: pointer; background: none; border: 0; padding: 0; text-align: left; }
.work:nth-child(1) { grid-column: 1 / span 7; }
.work:nth-child(2) { grid-column: 9 / span 4; margin-top: 18%; }
.work:nth-child(3) { grid-column: 1 / span 5; }
.work:nth-child(4) { grid-column: 7 / span 6; margin-top: -12%; }
.work-img { overflow: hidden; background: var(--sand); position: relative; }
.work-img img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; filter: saturate(0.92); }
.work:hover .work-img img { transform: scale(1.04); filter: saturate(1); }
.work-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.work-meta h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 0; line-height: 1.1; }
.work-meta .label { white-space: nowrap; }
.work-index { position: absolute; top: 14px; left: 16px; font-size: 11px; letter-spacing: .16em; color: var(--paper); mix-blend-mode: difference; }

/* ---------- Werdegang ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(244, 241, 236, 0.18); }
.timeline li {
  display: grid; grid-template-columns: 80px 1fr 1.3fr; gap: clamp(16px, 4vw, 64px);
  padding: 30px 0; border-bottom: 1px solid rgba(244, 241, 236, 0.18);
  transition: padding-left .4s var(--ease);
}
.timeline li:hover { padding-left: 12px; }
.timeline .num { font-size: 12px; letter-spacing: .16em; color: var(--stone); padding-top: 10px; }
.timeline h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1; margin: 0; }
.timeline .when { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); margin-bottom: 8px; }
.timeline p { margin: 6px 0 0; color: #cfc9bf; max-width: 36em; }
.timeline li.now h3 em { color: var(--stone); }

/* ---------- Shop ---------- */
.shop-info { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 13px; color: var(--gray); margin-top: 18px; }
.shop-info span::before { content: "— "; color: var(--stone); }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.product { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; }
.product-img { position: relative; overflow: hidden; background: var(--sand); aspect-ratio: 4 / 5; }
.product-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform 1.1s var(--ease); }
.product-img img.alt { opacity: 0; }
.product:hover .product-img img.alt { opacity: 1; }
.product:hover .product-img img { transform: scale(1.03); }
.badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--paper); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; padding: 5px 10px; font-weight: 600; }
.badge.sold { background: var(--ink); color: var(--paper); }
.product-meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; gap: 12px; }
.product-meta h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 0; line-height: 1.1; }
.product-meta .price { font-size: 14px; font-weight: 500; white-space: nowrap; }
.product .short { margin: 4px 0 0; font-size: 14px; color: var(--gray); }
.product.is-sold { opacity: .55; }

.custom-note { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; border: 1px solid var(--line); padding: clamp(24px, 3.5vw, 40px); }
.custom-note h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); margin: 0 0 4px; line-height: 1.1; }
.custom-note p { margin: 0; color: var(--ink-2); }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: end; }
.contact h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 7.5vw, 112px); line-height: .95; letter-spacing: -0.025em; margin: 16px 0 0; }
.contact h2 em { color: var(--gray); }
.contact-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.contact-list li { border-bottom: 1px solid var(--line); }
.contact-list a, .contact-list div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 17px; }
.contact-list a:hover .arrow { transform: translate(3px, -3px); }
.contact-list .arrow { transition: transform .3s var(--ease); color: var(--gray); }
.contact-list small { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gray); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: 13px; color: var(--gray); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer a:hover { color: var(--ink); }

/* ---------- Overlays (Modal / Drawer) ---------- */
.overlay { position: fixed; inset: 0; z-index: 80; background: rgba(22, 21, 20, 0.42); opacity: 0; pointer-events: none; transition: opacity .35s; }
.overlay.open { opacity: 1; pointer-events: auto; }

.modal {
  position: fixed; z-index: 90; inset: clamp(0px, 4vw, 48px);
  max-width: 1180px; margin: auto; max-height: calc(100vh - 2 * clamp(0px, 4vw, 48px));
  background: var(--paper); display: grid; grid-template-columns: 1.1fr 1fr;
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .35s, transform .45s var(--ease);
  overflow: hidden;
}
.modal.open { opacity: 1; transform: none; pointer-events: auto; }
.modal-gallery { background: var(--sand); position: relative; min-height: 0; display: flex; flex-direction: column; }
.modal-gallery .main { flex: 1; min-height: 0; position: relative; }
.modal-gallery .main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal-thumbs { display: flex; gap: 8px; padding: 10px; background: var(--paper-2); }
.modal-thumbs button { width: 64px; height: 64px; padding: 0; border: 1px solid transparent; background: none; opacity: .6; transition: opacity .2s; }
.modal-thumbs button.active, .modal-thumbs button:hover { opacity: 1; border-color: var(--ink); }
.modal-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: clamp(28px, 4vw, 56px); overflow-y: auto; display: flex; flex-direction: column; }
.modal-body h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; letter-spacing: -0.02em; margin: 14px 0 8px; }
.modal-body .price { font-size: 20px; margin-bottom: 24px; }
.modal-body .price small { font-size: 12px; color: var(--gray); margin-left: 6px; }
.modal-body p { color: var(--ink-2); margin: 0 0 20px; }
.modal-body ul { list-style: none; padding: 0; margin: 0 0 32px; border-top: 1px solid var(--line); }
.modal-body ul li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.modal-body .actions { margin-top: auto; display: grid; gap: 12px; }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: var(--paper); display: grid; place-items: center; font-size: 22px; line-height: 1;
}
.modal-close:hover { background: var(--ink); color: var(--paper); }

/* Work modal: Bild größer */
.modal.work-modal { grid-template-columns: 1.4fr 1fr; }

/* Drawer */
.drawer {
  position: fixed; z-index: 90; top: 0; right: 0; bottom: 0; width: min(460px, 100vw);
  background: var(--paper); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .45s var(--ease);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 28px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 0; }
.drawer-head button { background: none; border: 0; font-size: 26px; line-height: 1; padding: 4px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 28px 24px; }
.drawer-foot { padding: 20px 28px 26px; border-top: 1px solid var(--line); background: var(--paper-2); }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 72px; height: 90px; object-fit: cover; background: var(--sand); }
.cart-item h4 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 0; line-height: 1.1; }
.cart-item .sub { font-size: 12px; color: var(--gray); }
.cart-item .remove { background: none; border: 0; font-size: 12px; color: var(--gray); text-decoration: underline; text-underline-offset: 3px; padding: 0; margin-top: 4px; }
.cart-empty { text-align: center; padding: 60px 0; color: var(--gray); }
.cart-empty .serif { font-size: 28px; color: var(--ink); display: block; margin-bottom: 6px; }
.sum-row { display: flex; justify-content: space-between; font-size: 14px; padding: 3px 0; }
.sum-row.total { font-size: 17px; font-weight: 600; padding-top: 10px; margin-top: 8px; border-top: 1px solid var(--line); }
.sum-note { font-size: 12px; color: var(--gray); margin: 10px 0 16px; }

/* Checkout form */
.form { display: grid; gap: 14px; padding-top: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; }
.field label { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--gray); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--stone); padding: 8px 0; border-radius: 0;
  transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 70px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.segmented { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); border-radius: 999px; overflow: hidden; }
.segmented label { text-align: center; padding: 10px; font-size: 13px; cursor: pointer; transition: background .2s, color .2s; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented input:checked + span { font-weight: 600; }
.segmented label:has(input:checked) { background: var(--ink); color: var(--paper); }
.check { display: flex; gap: 10px; font-size: 13px; color: var(--ink-2); align-items: flex-start; }
.check input { margin-top: 4px; accent-color: var(--ink); }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #8a2c1f; font-size: 13px; min-height: 1em; margin: 0; }
.back-link { background: none; border: 0; padding: 0; font-size: 13px; color: var(--gray); text-decoration: underline; text-underline-offset: 3px; justify-self: start; }
.success { text-align: center; padding: 56px 8px; }
.success .serif { font-size: 40px; line-height: 1.05; display: block; margin: 18px 0 12px; }
.success p { color: var(--ink-2); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 100; transform: translate(-50%, 20px);
  background: var(--ink); color: var(--paper); padding: 12px 22px; border-radius: 999px; font-size: 14px;
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* TODO-Markierung nur mit ?todo=1 sichtbar */
.show-todo [data-todo] { outline: 2px dashed #d4a017; outline-offset: 2px; background: rgba(255, 214, 0, .12); }

/* Legal pages */
.legal { padding: clamp(56px, 8vw, 110px) 0; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 76px); line-height: 1; letter-spacing: -0.02em; margin: 14px 0 40px; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 44px 0 10px; line-height: 1.15; }
.legal h3 { font-size: 15px; margin: 24px 0 6px; }
.legal p, .legal li { color: var(--ink-2); }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal .box { border: 1px solid var(--line); padding: 20px 24px; margin: 18px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap, .about-grid, .contact, .section-head { grid-template-columns: 1fr; }
  .hero-figure { max-width: 460px; }
  .about-grid figure { position: static; max-width: 420px; }
  .products { grid-template-columns: 1fr 1fr; }
  .works .work { grid-column: span 12 !important; margin-top: 0 !important; }
  .works { grid-template-columns: repeat(12, 1fr); }
  .works .work:nth-child(even) { grid-column: 3 / span 10 !important; }
  .modal, .modal.work-modal { grid-template-columns: 1fr; overflow-y: auto; }
  .modal-gallery .main { min-height: 56vh; }
  .modal-body { overflow: visible; }
}
@media (max-width: 760px) {
  .nav {
    position: fixed; inset: 72px 0 auto 0; background: var(--paper); flex-direction: column; align-items: flex-start;
    gap: 0; padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { font-family: var(--serif); font-size: 30px; letter-spacing: 0; padding: 8px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .menu-toggle { display: block; }
  .brand-sub { display: none; }
  .header-right { display: flex; align-items: center; gap: 6px; }
  .about-text { columns: 1; }
  .values { grid-template-columns: 1fr; }
  .values div, .values div + div { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .timeline .num { padding-top: 0; }
  .products { grid-template-columns: 1fr; }
  .custom-note { grid-template-columns: 1fr; }
  .works .work:nth-child(even) { grid-column: span 12 !important; }
  .modal { inset: 0; max-height: 100vh; }
  .form .row { grid-template-columns: 1fr; }
}
@media (min-width: 761px) { .header-right { display: flex; align-items: center; gap: 28px; } }

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