/* Humboldt & Schmidt Press — design tokens: see 03_DESIGN-SYSTEM.md */

@font-face {
  font-family: "Source Serif";
  src: url("/assets/fonts/source-serif-4-latin.woff2") format("woff2-variations");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif";
  src: url("/assets/fonts/source-serif-4-latin-italic.woff2") format("woff2-variations");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --green: #07331e;
  --green-2: #0d4a2d;
  --copper: #c96638;
  --copper-text: #a14e28;
  --ink: #161816;
  --muted: #5b5f5a;
  --paper: #ffffff;
  --paper-2: #f6f4ef;
  --line: #e3e0d8;

  --serif: "Source Serif", Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 8vw, 112px);

  --shadow-cover: 0 1px 2px rgba(0, 0, 0, .10), 0 10px 22px -8px rgba(0, 0, 0, .30);
  --shadow-cover-hover: 0 2px 4px rgba(0, 0, 0, .10), 0 18px 32px -10px rgba(0, 0, 0, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.12; letter-spacing: -.01em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  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: 16px; top: -60px; z-index: 100;
  background: var(--green); color: #fff; padding: 10px 16px; font-family: var(--sans); font-size: .9rem;
}
.skip-link:focus { top: 12px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--sans); font-size: .75rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--copper-text);
  margin-bottom: 1rem;
}
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.eyebrow--light { color: #e59a74; }
.section-title { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
.section-lead { color: var(--muted); max-width: 44rem; margin-top: .75rem; }
.page-title { font-size: clamp(2.25rem, 5.5vw, 4.25rem); letter-spacing: -.02em; }
.page-lead { font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: var(--muted); max-width: 46rem; margin-top: 1.25rem; line-height: 1.5; }
.prose-lg { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.55; max-width: 40rem; }
.quote {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.4; font-style: italic;
  color: var(--green); max-width: 42rem;
}
.tag {
  display: inline-block; vertical-align: middle;
  font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--copper-text); border: 1px solid currentColor; padding: .3em .7em .25em; line-height: 1.2;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; padding: 1rem 1.6rem; border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-2); }
.btn--outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn--outline:hover { background: var(--green); color: #fff; }
.btn--light { background: #fff; color: var(--green); }
.btn--light:hover { background: var(--paper-2); }
.btn--link { padding: 1rem 0; color: var(--green); }
.btn--link:hover { color: var(--copper-text); }
.btn--disabled { background: var(--paper-2); color: var(--muted); border-color: var(--line); cursor: default; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 2rem; min-height: 76px; }

.brand { display: inline-flex; align-items: baseline; gap: .6rem; text-decoration: none; color: var(--green); margin: 0; }
.brand__name { font-family: var(--serif); font-size: 1.45rem; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.brand__amp { color: var(--copper); font-style: italic; }
.brand__press { font-family: var(--sans); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 2rem; }
.main-nav a {
  font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: var(--ink); padding: .5rem 0; border-bottom: 1px solid transparent;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { border-bottom-color: var(--copper); }

.lang-switch { display: flex; gap: .5rem; align-items: center; padding-left: 1.5rem; border-left: 1px solid var(--line); }
.lang-switch__flag {
  display: block; width: 28px; height: 19px; line-height: 0;
  outline-offset: 3px; opacity: .45; filter: grayscale(.6);
  transition: opacity .2s, filter .2s;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
}
.lang-switch__flag svg { width: 100%; height: 100%; }
.lang-switch__flag:hover { opacity: .85; filter: none; }
.lang-switch__flag[aria-current="true"] { opacity: 1; filter: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 3px #fff, 0 0 0 4px var(--copper); }

.menu-toggle { display: none; }

@media (max-width: 900px) {
  .site-header__inner { gap: 1rem; min-height: 64px; }
  .brand__name { font-size: 1.2rem; }
  .brand__press { font-size: .62rem; }
  .lang-switch { margin-left: auto; padding-left: 0; border-left: 0; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; cursor: pointer;
  }
  .menu-toggle__bar, .menu-toggle__bar::before, .menu-toggle__bar::after {
    display: block; width: 22px; height: 1.5px; background: var(--ink); position: relative; transition: transform .25s var(--ease), background-color .25s;
  }
  .menu-toggle__bar::before, .menu-toggle__bar::after { content: ""; position: absolute; left: 0; }
  .menu-toggle__bar::before { top: -7px; }
  .menu-toggle__bar::after { top: 7px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bar { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: .5rem var(--gutter) 1.25rem; }
  .main-nav li + li { border-top: 1px solid var(--line); }
  .main-nav a { display: block; padding: 1rem 0; border-bottom: 0; }
}
@media (max-width: 400px) {
  .site-header .brand__press { display: none; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--tight { padding-top: 0; }
.section--rule { border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.section-head__link {
  font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green); text-decoration: none;
}
.section-head__link:hover { color: var(--copper-text); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2rem 4rem; align-items: start; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

.page-head { padding-block: clamp(48px, 7vw, 104px) clamp(40px, 5vw, 72px); }
.page-head--center { text-align: center; min-height: 60vh; display: flex; align-items: center; }
.page-head--center .page-lead { margin-inline: auto; }
.thanks-mark { font-size: 5rem; line-height: 1; color: var(--copper); font-style: italic; margin-bottom: 1rem; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 104px) clamp(56px, 7vw, 96px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.hero__title { font-size: clamp(2.4rem, 5.6vw, 4.6rem); letter-spacing: -.025em; line-height: 1.04; }
.hero__lead { font-size: clamp(1.15rem, 1.7vw, 1.35rem); color: var(--muted); max-width: 34rem; margin-top: 1.5rem; line-height: 1.5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .5rem 2rem; align-items: center; margin-top: 2rem; }
.hero__actions--center { justify-content: center; gap: 1rem; }

.hero__covers { position: relative; height: clamp(320px, 38vw, 480px); }
.hero__cover { position: absolute; bottom: 0; }
.hero__cover .cover { height: 100%; width: auto; }
/* Staircase: each cover overlaps the right edge of the one behind, so every title stays readable */
.hero__cover--1 { left: 0; height: 60%; z-index: 1; }
.hero__cover--2 { left: 27%; height: 86%; z-index: 2; }
.hero__cover--3 { right: 0; height: 52%; z-index: 3; }
.hero__covers::after {
  content: ""; position: absolute; left: -4%; right: -4%; bottom: -1px; height: 1px; background: var(--line);
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__covers { height: 300px; max-width: 460px; }
}

/* ---------- Covers ---------- */
.cover {
  aspect-ratio: var(--ar, 2/3);
  background: var(--paper-2);
  box-shadow: var(--shadow-cover);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  container-type: inline-size;
  overflow: hidden;
}
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover__inner {
  height: 100%; display: flex; flex-direction: column; align-items: flex-start;
  padding: 11cqi 10cqi 9cqi;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, .10), rgba(0, 0, 0, 0) 5%);
}
.cover__series {
  font-family: var(--sans); font-size: max(7px, 5.5cqi); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; opacity: .8;
}
.cover__title { font-family: var(--serif); font-size: 13cqi; line-height: 1.05; margin-top: auto; letter-spacing: -.01em; }
.cover__rule { display: block; width: 22cqi; height: 1px; background: currentColor; opacity: .6; margin: 7cqi 0 6cqi; }
.cover__mark { font-family: var(--serif); font-size: 7cqi; letter-spacing: .04em; }
.cover__mark em { color: var(--copper); }

.cover--lernen-spielen { background-color: #e6c170; color: #2a2213; }
.cover--glaube         { background-color: #f1eadb; color: var(--green); box-shadow: var(--shadow-cover), inset 0 0 0 1px rgba(7, 51, 30, .08); }
.cover--praxis         { background-color: #2e3a3f; color: #efe9de; }
.cover--geschichten    { background-color: #0f1214; color: #ece5d8; }
.cover--geschichten .cover__rule { background: var(--copper); opacity: 1; }
.cover--bildung        { background-color: #9db8a2; color: #0f2718; }

/* ---------- Shelf (covers clean on white with a soft shadow) ---------- */
.shelf {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(140px, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-top: 2.5rem; padding: 12px 4px 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.shelf__item { min-width: 0; scroll-snap-align: start; }
.shelf__item[hidden] { display: none; }
.shelf__link { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
/* Equal width, true proportions, covers standing on one baseline */
.shelf__cover { aspect-ratio: 5/8; display: flex; align-items: flex-end; }
.shelf__cover .cover { width: 100%; }
.shelf__link:hover .cover, .shelf__link:focus-visible .cover { transform: translateY(-6px); box-shadow: var(--shadow-cover-hover); }
.shelf__title { font-size: 1.05rem; line-height: 1.25; margin-top: 1.25rem; }
.shelf__meta { font-size: .95rem; color: var(--muted); font-style: italic; margin-top: .2rem; }
.shelf__status {
  font-family: var(--sans); font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--copper-text); margin-top: .6rem;
}
.shelf--catalog {
  grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(150px, 180px));
  overflow: visible; margin-top: 0; padding: 0;
}
@media (max-width: 480px) { .shelf--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; margin-top: 2rem; border-bottom: 1px solid var(--line); }
.tabs[hidden] { display: none; }
.tabs__tab {
  background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); padding: .8rem 0; cursor: pointer;
}
.tabs__tab:hover { color: var(--ink); }
.tabs__tab[aria-selected="true"] { color: var(--green); border-bottom-color: var(--copper); }

/* ---------- Series list ---------- */
.series-list { margin-top: 3rem; border-top: 1px solid var(--ink); }
.series-list__item { border-bottom: 1px solid var(--line); }
.series-list__item a {
  display: grid; grid-template-columns: 4rem minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.6fr); gap: 1.5rem;
  align-items: baseline; padding: 1.75rem 0; text-decoration: none; color: inherit;
  transition: background-color .2s;
}
.series-list__item a:hover { background: var(--paper-2); }
.series-list__num { font-family: var(--sans); font-size: .8rem; font-weight: 700; color: var(--copper-text); letter-spacing: .08em; padding-left: .5rem; }
.series-list__name { font-size: 1.6rem; line-height: 1.2; }
.series-list__name .tag { margin-left: .5rem; }
.series-list__formats { font-family: var(--sans); font-size: .82rem; color: var(--muted); letter-spacing: .02em; }
.series-list__text { color: var(--muted); font-size: 1rem; }
@media (max-width: 900px) {
  .series-list__item a { grid-template-columns: 3rem 1fr; gap: .4rem 1rem; }
  .series-list__formats, .series-list__text { grid-column: 2; }
}

/* ---------- Green band ---------- */
.band { background: var(--green); color: #f3efe6; padding-block: var(--section); }
.band__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3rem 5rem; align-items: center; }
.band__title { font-size: clamp(2rem, 4.2vw, 3.4rem); letter-spacing: -.02em; color: #fff; }
.band__text { font-size: 1.2rem; line-height: 1.55; color: rgba(243, 239, 230, .85); margin: 1.5rem 0 2rem; max-width: 36rem; }
.band__steps { counter-reset: step; border-top: 1px solid rgba(255, 255, 255, .2); }
.band__steps li {
  counter-increment: step; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 1.1rem 0; border-bottom: 1px solid rgba(255, 255, 255, .2);
}
.band__steps li::before { content: "0" counter(step); font-family: var(--sans); font-size: .75rem; font-weight: 700; color: #e59a74; width: 2.5rem; }
.band__what { font-size: 1.4rem; flex: 1; }
.band__who { order: 2; font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(243, 239, 230, .7); }
@media (max-width: 860px) { .band__grid { grid-template-columns: 1fr; } }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin-top: 3rem; border-top: 1px solid rgba(255, 255, 255, .25); }
.steps__item { padding: 1.5rem 1.5rem 0 0; }
.steps__item + .steps__item { padding-left: 1.5rem; border-left: 1px solid rgba(255, 255, 255, .15); }
.steps__num { display: block; font-family: var(--sans); font-size: .75rem; font-weight: 700; color: #e59a74; }
.steps__who {
  display: inline-block; margin-top: 1.5rem; font-family: var(--sans); font-size: .66rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; padding: .3em .7em; border: 1px solid rgba(255, 255, 255, .35);
}
.steps__who--human { background: #fff; color: var(--green); border-color: #fff; }
.steps__title { font-size: 1.5rem; color: #fff; margin: 1rem 0 .6rem; }
.steps__item p { color: rgba(243, 239, 230, .8); font-size: 1rem; }
@media (max-width: 1000px) {
  .steps { grid-template-columns: 1fr; }
  .steps__item, .steps__item + .steps__item { padding: 1.5rem 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
}

/* ---------- Name ---------- */
.name-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 3rem; margin: 3rem 0 1rem; }
.name-grid__word { font-size: clamp(2rem, 3.6vw, 3rem); color: var(--green); line-height: 1; margin-bottom: 1rem; }
.name-grid__press { font-family: var(--sans); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: .62em; }
.name-grid__item { border-top: 1px solid var(--ink); padding-top: 1.5rem; }
.name-grid__item p:last-child { color: var(--muted); }
@media (max-width: 800px) { .name-grid { grid-template-columns: 1fr; } }

/* ---------- Values ---------- */
.values li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.values li:last-child { border-bottom: 1px solid var(--line); }
.values__num { font-size: 1.6rem; color: var(--copper); font-style: italic; line-height: 1.2; }
.values__title { font-size: 1.4rem; margin-bottom: .4rem; }
.values p { color: var(--muted); margin: 0; }

/* ---------- Catalog ---------- */
.jump ul { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.jump a {
  font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green); text-decoration: none;
}
.jump a:hover { color: var(--copper-text); }
.catalog { border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 80px); }
.catalog__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 2.5rem 4rem; align-items: start; }
.catalog__num { font-family: var(--sans); font-size: .8rem; font-weight: 700; color: var(--copper-text); letter-spacing: .08em; margin-bottom: .75rem; }
.catalog__formats { font-family: var(--sans); font-size: .82rem; color: var(--muted); margin: .75rem 0 1rem; }
.catalog__intro p:last-child { color: var(--muted); font-size: 1rem; }
.catalog__empty { color: var(--muted); font-style: italic; align-self: center; }
@media (max-width: 860px) { .catalog__grid { grid-template-columns: 1fr; } }

/* ---------- Book detail ---------- */
.book { padding-block: 2rem var(--section); }
.book__back { margin-bottom: 2.5rem; }
.book__back a {
  font-family: var(--sans); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
}
.book__back a:hover { color: var(--green); }
.book__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 3rem 6rem; align-items: start; }
.book__cover { display: flex; justify-content: center; padding: clamp(24px, 4vw, 56px); }
.book__cover .cover { width: min(100%, 360px); }
.book__title { font-size: clamp(2.2rem, 4.5vw, 3.6rem); letter-spacing: -.02em; }
.book__subtitle { font-size: 1.3rem; font-style: italic; color: var(--muted); margin: .5rem 0 0; }
.book__author { font-size: 1.15rem; margin: 1.25rem 0 0; }
.book__status { margin: 1.5rem 0; }
.book__buy { display: flex; flex-wrap: wrap; gap: .75rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.book__blurb { font-size: 1.2rem; line-height: 1.6; margin: 2rem 0; max-width: 38rem; }
.book__facts { margin: 0 0 2rem; border-top: 1px solid var(--line); }
.book__facts div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.book__facts dt { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: .3em; }
.book__facts dd { margin: 0; }
.book__ai { font-size: 1rem; color: var(--muted); font-style: italic; }
.book__ai a { color: var(--copper-text); }
@media (max-width: 860px) {
  .book__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .book__cover { background: none; padding: 0 0 1rem; }
  .book__cover .cover { width: min(70%, 280px); }
}

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 3rem 5rem; align-items: start; }
.form__row { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.5rem; }
.form label { font-family: var(--sans); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea {
  font: inherit; font-size: 1.05rem; color: var(--ink); background: #fff;
  border: 0; border-bottom: 1px solid #9a9a93; border-radius: 0; padding: .65rem 0;
  width: 100%; appearance: none;
}
.form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%;
  background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2rem;
}
.form textarea { resize: vertical; border: 1px solid #9a9a93; padding: .75rem; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 1px 0 0 var(--green); }
.form__note { font-size: .95rem; color: var(--muted); }
.form__note a { color: var(--copper-text); }
.contact__aside { border-top: 1px solid var(--ink); padding-top: 1.5rem; }
.contact__mail { font-size: 1.3rem; }
.contact__mail a { color: var(--green); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Legal ---------- */
.legal { max-width: 760px; padding-block: clamp(48px, 7vw, 96px); }
.legal h1 { margin-bottom: 2rem; }
.legal h2 { font-size: 1.35rem; margin: 2.25rem 0 .75rem; }
.legal p, .legal li { font-size: 1.05rem; color: #333; }
.legal ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1em; }
.legal a { color: var(--copper-text); }
.todo { background: #fff1b8; padding: 0 .2em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green); color: rgba(243, 239, 230, .82); font-size: 1rem; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem 4rem; padding-block: 72px 48px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer li { margin-bottom: .6rem; }
.brand--footer { color: #fff; margin-bottom: 1.5rem; }
.brand--footer .brand__name { font-size: 1.9rem; }
.brand--footer .brand__amp { color: #e0875d; }
.site-footer__about { max-width: 26rem; }
.site-footer__tagline { font-style: italic; color: #e59a74; }
.site-footer__head {
  font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; margin-bottom: 1.25rem;
}
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .18); padding-block: 1.5rem 2rem;
  font-family: var(--sans); font-size: .8rem;
}
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; gap: 1.5rem; }
@media (max-width: 800px) { .site-footer__grid { grid-template-columns: 1fr; padding-top: 56px; } }

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