/* Self-hosted fonts (SIL Open Font License) — no requests to Google */
@font-face {
  font-family: "Anton"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(assets/fonts/anton-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Anton"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(assets/fonts/anton-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(assets/fonts/instrument-sans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(assets/fonts/instrument-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* SELVMADE — brand tokens */
:root {
  --paper: #F1F1F1;
  --ink: #161616;
  --rust: #632412;
  --white: #FFFFFF;
  --rust-deep: #4C1B0D;
  --line: rgba(22, 22, 22, 0.14);
  --muted: rgba(22, 22, 22, 0.68);
  --on-dark-muted: rgba(241, 241, 241, 0.7);

  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 3vw, 40px);
  --max: 1320px;
  --radius-lg: 18px;
  --radius-sm: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; border-radius: 4px; }

.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 {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip:focus { top: 16px; }

/* ---------- type ---------- */
.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.75rem, 7vw, 6.5rem);
  line-height: 1;
  letter-spacing: 0.005em;
}
.display--md { font-size: clamp(2.25rem, 5vw, 4.5rem); }
.lead { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.35; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 0.95rem/1 var(--body);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--rust { background: var(--rust); color: var(--paper); }
.btn--rust:hover { background: var(--rust-deep); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--rust); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--white); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 50;
  top: 12px; left: 50%; transform: translateX(-50%);
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 12px 10px 22px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 0 var(--line);
}
.nav__logo img { height: 18px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav__menu a {
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.01em;
  text-decoration: none; padding: 6px 0;
}
.nav__menu a:not(.nav__cta):hover { color: var(--rust); }
.nav__cta {
  background: var(--rust); color: var(--paper);
  padding: 10px 18px !important; border-radius: 999px;
}
.nav__cta:hover { background: var(--rust-deep); }
.nav__toggle { display: none; }

@media (max-width: 900px) {
  .nav { padding: 8px 8px 8px 18px; }
  .nav__toggle {
    display: grid; place-items: center;
    width: 44px; height: 44px; border: 0; border-radius: 999px;
    background: var(--ink); cursor: pointer;
  }
  .nav__toggle span[aria-hidden] {
    width: 18px; height: 2px; background: var(--paper); position: relative;
    transition: background-color .2s;
  }
  .nav__toggle span[aria-hidden]::before,
  .nav__toggle span[aria-hidden]::after {
    content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--paper);
    transition: transform .25s;
  }
  .nav__toggle span[aria-hidden]::before { transform: translateY(-6px); }
  .nav__toggle span[aria-hidden]::after { transform: translateY(6px); }
  .nav__toggle[aria-expanded="true"] span[aria-hidden] { background: transparent; }
  .nav__toggle[aria-expanded="true"] span[aria-hidden]::before { transform: rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span[aria-hidden]::after { transform: rotate(-45deg); }

  .nav__menu {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-radius: var(--radius-sm);
    padding: 8px 18px 18px;
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu a { font-size: 1.05rem; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__menu .nav__cta { margin-top: 14px; text-align: center; border: 0; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow-x: clip;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(92px, 11vw, 120px) var(--gutter) clamp(40px, 6vw, 72px);
  text-align: center;
}
.hero__title {
  font-family: var(--display); font-weight: 400;
  text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center;
  line-height: 0.95; /* script.js adds extra space where diacritics would touch */
  letter-spacing: -0.005em;
}
/* --fill goes 1 → 0 as a line scrolls away (set in script.js); the stroke stays, so the word turns into an outline */
.hero__line {
  display: block; white-space: nowrap; font-size: 12vw;
  padding-top: 0.08em;
  color: rgba(22, 22, 22, var(--fill, 1));
  -webkit-text-stroke: clamp(1px, 0.16vw, 2.5px) var(--ink);
  will-change: translate;
}
.hero__line--accent {
  color: rgba(99, 36, 18, var(--fill, 1));
  -webkit-text-stroke-color: var(--rust);
}

/* horizontal booking bar right below "z SELVMADE": hidden at first, fades in as it scrolls into view
   (--reveal 0 → 1 is set in script.js) */
.hero__stage { position: relative; }
.book {
  --reveal: 1;
  position: relative; z-index: 2;
  width: min(1040px, 100%);
  margin: clamp(28px, 4vw, 48px) auto 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  text-align: left;
  display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto; gap: 28px; align-items: center;
  box-shadow: 0 24px 60px -20px rgba(22, 22, 22, 0.35);
  opacity: var(--reveal);
  transform: translateY(calc((1 - var(--reveal)) * 48px));
}
.js .book { --reveal: 0; }
.book.is-hidden { visibility: hidden; }
.book h2 { font-size: 1.35rem; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 6px; }
.book__text p { color: var(--muted); font-size: 0.975rem; max-width: 52ch; }
.book__meta {
  display: grid; gap: 4px;
  padding: 4px 28px; border-inline: 1px solid var(--line);
}
.book__meta strong { font-family: var(--display); font-weight: 400; font-size: 2.25rem; line-height: 1; color: var(--ink); }
.book__meta span { font-size: 0.875rem; color: var(--muted); white-space: nowrap; }

.book__ring {
  position: relative;
  width: 96px; aspect-ratio: 1; border-radius: 50%;
  background: var(--rust); color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--display); font-size: 1.6rem;
}
.book__ring svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.book__ring text { fill: currentColor; font: 600 17.5px var(--body); letter-spacing: 0.06em; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__foot {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  text-align: left;
  margin-top: clamp(28px, 4vw, 56px);
}
.hero__foot p {
  max-width: 44ch; margin-inline: auto;
  font-size: clamp(1.25rem, 1.7vw, 1.6rem); line-height: 1.45;
  color: var(--muted);
  text-align: justify; hyphens: auto; -webkit-hyphens: auto;
}
/* text on top, the two buttons side by side below it (they wrap under each other only on narrow phones) */
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.hero__actions .btn { flex: 0 1 260px; }
@media (max-width: 560px) { .hero__actions .btn { flex: 1 1 100%; } }

/* load sequence */
.js .hero__line { opacity: 0; transform: translateY(30%); }
.is-loaded .hero__line { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.is-loaded .hero__line:nth-child(2) { transition-delay: .08s; }
.is-loaded .hero__line:nth-child(3) { transition-delay: .16s; }
.is-loaded .hero__line:nth-child(4) { transition-delay: .24s; }

@media (max-width: 1000px) {
  .book { grid-template-columns: 80px minmax(0, 1fr) auto; gap: 16px 22px; }
  .book__ring { width: 80px; font-size: 1.35rem; }
  .book__meta { border-inline-end: 0; padding-inline-end: 0; }
  .book .btn { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .hero__foot { grid-template-columns: 1fr; }
  .book { margin-top: 32px; grid-template-columns: 1fr; gap: 14px; padding: 24px 22px; }
  .book h2 { padding-right: 72px; }
  .book__ring { position: absolute; width: 80px; top: -30px; right: -6px; }
  .book__meta { border-inline: 0; border-block: 1px solid var(--line); padding: 12px 0; grid-template-columns: auto 1fr; align-items: baseline; gap: 12px; }
}

/* ---------- sections ---------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 128px) var(--gutter);
}
.split-head {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 20px 56px; align-items: end;
  margin-bottom: clamp(32px, 5vw, 64px);
}
.split-head p { max-width: 46ch; color: var(--muted); font-size: 1.125rem; }
@media (max-width: 800px) { .split-head { grid-template-columns: 1fr; } }
/* heading on its own full-width row, kept to one line on wider screens */
.split-head--stack { grid-template-columns: 1fr; }
@media (min-width: 801px) {
  .display--line { white-space: nowrap; font-size: min(7.4vw, 6.5rem); }
  /* longer heading: slightly smaller so it spans the same full width on one line */
  .display--line-long { font-size: min(5.6vw, 5.05rem); }
}

/* ---------- intro cards ---------- */
.intro {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: clamp(380px, 38vw, 520px);
  color: var(--paper);
  display: flex; align-items: flex-end;
  padding: clamp(24px, 3.5vw, 44px);
  isolation: isolate;
}
.card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.card--video::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(22,22,22,.78), rgba(22,22,22,0) 55%);
}
.card--rust video { filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; opacity: .55; }
.card--rust { background: var(--rust); align-items: center; }
.card h2 {
  font-family: var(--body); font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.08; letter-spacing: -0.01em;
  max-width: 19ch;
}
.card__body { display: grid; gap: 18px; justify-items: start; }
.card__body p { max-width: 42ch; color: rgba(241,241,241,.88); }
@media (max-width: 800px) { .intro { grid-template-columns: 1fr; } }

/* ---------- about ---------- */
.about {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px); align-items: center;
}
.about__photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 88%;
  border-radius: var(--radius-lg);
}
.about__text { display: grid; gap: 20px; }
.about__text > p:not(.lead) { max-width: 60ch; color: var(--muted); }
.about__text .display { margin-bottom: 8px; }
.about__quote {
  margin: 8px 0 0; padding: 4px 0 4px 20px;
  border-left: 3px solid var(--rust);
}
.about__quote p {
  font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.35; font-weight: 600;
  letter-spacing: -0.01em; color: var(--ink); max-width: 36ch;
}
.facts { margin-top: 12px; border-top: 1px solid var(--line); }
.facts div {
  display: grid; grid-template-columns: 11rem 1fr; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.facts dt { font-weight: 600; }
.facts dd { color: var(--muted); }
@media (max-width: 800px) {
  .about { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- who ---------- */
.who {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
  margin-bottom: clamp(64px, 9vw, 120px);
}
.who li {
  background: var(--white); border-radius: var(--radius-sm);
  padding: 24px 22px 28px;
  display: grid; align-content: start; gap: 10px;
}
.who h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.9rem; line-height: 1; }
.who p { color: var(--muted); font-size: 1rem; }
@media (max-width: 1000px) { .who { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .who { grid-template-columns: 1fr; } }

/* ---------- problems ---------- */
#problems { margin-bottom: clamp(24px, 4vw, 48px); }
.problems { border-top: 1.5px solid var(--ink); }
.problem {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 12px 56px; padding: clamp(20px, 2.6vw, 32px) 0;
  border-bottom: 1px solid var(--line);
}
.problem__q { font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; max-width: 26ch; }
.problem__a { color: var(--muted); max-width: 52ch; padding-top: 4px; }
@media (max-width: 800px) { .problem { grid-template-columns: 1fr; } }

.not-for {
  margin-top: clamp(40px, 5vw, 64px);
  background: var(--ink); color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 40px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px 48px;
}
.not-for h3 { font-size: 1.25rem; font-weight: 600; }
.not-for p { color: var(--on-dark-muted); max-width: 58ch; }
.not-for p + p { margin-top: 10px; }
@media (max-width: 800px) { .not-for { grid-template-columns: 1fr; } }

/* ---------- plates ---------- */
.section.plates { padding-top: 0; }
.plates__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(180px, 20vw, 280px);
  gap: 12px;
}
.plate { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--line); }
.plate--tall { grid-row: span 2; }
.plate img, .plate video { width: 100%; height: 100%; object-fit: cover; }
.plate figcaption {
  position: absolute; left: 10px; bottom: 10px;
  background: var(--paper); color: var(--ink);
  font-size: 0.8125rem; font-weight: 600;
  padding: 6px 10px; border-radius: 999px;
}
@media (max-width: 900px) {
  .plates__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; }
}

/* ---------- process ---------- */
.process { background: var(--ink); color: var(--paper); }
.process__inner {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(72px, 10vw, 144px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px); align-items: start;
}
.process__aside { position: sticky; top: 100px; display: grid; gap: 32px; }
.process__aside video {
  width: min(100%, 320px); aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius-lg);
}
.steps { counter-reset: none; }
.steps li {
  display: grid; grid-template-columns: clamp(80px, 9vw, 128px) 1fr; gap: 24px;
  padding: clamp(24px, 3vw, 36px) 0;
  border-top: 1px solid rgba(241,241,241,.18);
}
.steps li:last-child { border-bottom: 1px solid rgba(241,241,241,.18); }
.steps__n {
  font-family: var(--display); font-size: clamp(3rem, 6vw, 5rem); line-height: .85;
  color: transparent; -webkit-text-stroke: 1.5px var(--paper);
}
.steps li:last-child .steps__n { color: var(--paper); -webkit-text-stroke: 0; }
.steps h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 600; margin-bottom: 8px; }
.steps p { color: var(--on-dark-muted); max-width: 52ch; }
@media (max-width: 900px) {
  .process__inner { grid-template-columns: 1fr; }
  .process__aside { position: static; }
  .process__aside video { display: none; }
}

/* ---------- offers ---------- */
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.form__status a { color: var(--rust); }
.offer {
  background: var(--white); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column;
}
.offer h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; min-height: 2.6em; }
.offer__price { font-family: var(--display); font-size: clamp(3.25rem, 5vw, 4.5rem); line-height: 1; margin-top: 20px; }
.offer__unit { color: var(--muted); font-size: 0.95rem; margin-top: 4px; }
.offer ul { margin: 28px 0 32px; border-top: 1px solid var(--line); flex: 1; }
.offer li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.98rem; }
.offer .btn { align-self: stretch; }
.offer--featured { background: var(--rust); color: var(--paper); }
.offer--featured .offer__unit { color: rgba(241,241,241,.75); }
.offer--featured ul, .offer--featured li { border-color: rgba(241,241,241,.22); }
@media (max-width: 900px) {
  .offers { grid-template-columns: 1fr; }
  .offer h3 { min-height: 0; }
}

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 64px; align-items: start; }
.faq__list { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--rust); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 62ch; }
@media (max-width: 800px) { .faq { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact {
  max-width: var(--max);
  margin: 0 auto clamp(12px, 2vw, 24px);
  width: calc(100% - 2 * var(--gutter));
  background: var(--rust); color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 72px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px clamp(32px, 6vw, 96px);
}
.contact__info { display: grid; align-content: start; gap: 20px; }
.contact__info > p { color: rgba(241,241,241,.82); max-width: 40ch; font-size: 1.125rem; }
.contact__links { margin-top: 16px; border-top: 1px solid rgba(241,241,241,.25); }
.contact__links li {
  display: grid; grid-template-columns: 7rem 1fr; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid rgba(241,241,241,.25);
}
.contact__links span { color: rgba(241,241,241,.7); }
.contact__links a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact__links a:hover { text-decoration: underline; }
.contact :focus-visible { outline-color: var(--paper); }

.form {
  background: var(--paper); color: var(--ink);
  border-radius: var(--radius-sm);
  padding: clamp(20px, 3vw, 32px);
  display: grid; gap: 16px; align-content: start;
}
.form :focus-visible { outline-color: var(--rust); }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.875rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  padding: 12px 14px; min-height: 48px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(99,36,18,.25); }
.field [aria-invalid="true"] { border-color: var(--rust); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--rust); flex: none; }
.form .btn { justify-self: start; }
.form__status { font-size: 0.95rem; font-weight: 600; min-height: 1.4em; }
.form__status.is-error { color: var(--rust); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer {
  background: var(--ink); color: var(--paper);
  padding: clamp(40px, 6vw, 72px) var(--gutter) 28px;
  overflow: hidden;
}
.footer__mark {
  font-family: var(--display); text-transform: uppercase;
  line-height: .8; text-align: center; white-space: nowrap;
  font-size: 22vw;
  color: transparent; -webkit-text-stroke: 1.5px rgba(241,241,241,.55);
  width: max-content; margin: 0 auto;
}
/* dust effect: the canvas draws outline + dust, so the CSS outline is hidden once it runs */
.footer__markwrap { position: relative; }
.footer__dust { position: absolute; pointer-events: none; }
.footer__markwrap.has-dust .footer__mark { -webkit-text-stroke-color: transparent; }
.footer__row {
  max-width: var(--max); margin: clamp(28px, 4vw, 48px) auto 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  font-size: 0.9rem; color: var(--on-dark-muted);
}
.footer__row nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__row a { text-decoration: none; }
.footer__row a:hover { color: var(--paper); }

/* ---------- cookie banner ---------- */
.cookies {
  position: fixed; z-index: 60;
  left: var(--gutter); bottom: var(--gutter);
  width: min(560px, calc(100% - 2 * var(--gutter)));
  background: var(--white); color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  box-shadow: 0 24px 60px -16px rgba(22, 22, 22, 0.45);
  display: grid; gap: 12px;
}
.cookies[hidden] { display: none; }
.cookies h2 { font-size: 1.15rem; font-weight: 600; }
.cookies p { font-size: 0.95rem; color: var(--muted); }
.cookies a { color: var(--rust); }
.cookies__settings { display: grid; gap: 10px; padding: 12px 0; border-block: 1px solid var(--line); }
.cookies__settings[hidden] { display: none; }
.cookies__settings label { display: flex; gap: 10px; align-items: flex-start; font-size: 0.925rem; }
.cookies__settings input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--rust); flex: none; }
.cookies__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookies__actions .btn { min-height: 44px; padding: 0 18px; flex: 1 1 auto; }
.cookies__actions [hidden] { display: none; }

.consent a { color: var(--rust); }

/* ---------- legal page (polityka prywatności) ---------- */
.legal {
  max-width: 760px; margin: 0 auto;
  padding: clamp(110px, 12vw, 150px) var(--gutter) clamp(64px, 8vw, 110px);
}
.legal .display { font-size: clamp(2.5rem, 7vw, 5rem); margin-bottom: 12px; }
.legal__meta { color: var(--muted); margin-bottom: 40px; }
.legal h2 { font-size: 1.35rem; font-weight: 600; margin: 40px 0 12px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--muted); max-width: 68ch; }
.legal p + p { margin-top: 10px; }
.legal ul { list-style: disc; padding-left: 1.25em; display: grid; gap: 6px; margin-top: 10px; }
.legal ol { list-style: decimal; padding-left: 1.5em; display: grid; gap: 8px; margin-top: 10px; }
.legal ol ul { margin-top: 6px; }
.legal__form { border: 1px solid rgba(22, 22, 22, 0.15); border-radius: 8px; padding: 20px 24px; margin-top: 12px; }
.legal a { color: var(--rust); }
.legal strong { color: var(--ink); }
.legal mark { background: rgba(99, 36, 18, 0.12); color: var(--rust); padding: 0 4px; border-radius: 4px; }
.legal__back { display: inline-block; margin-top: 48px; }
.footer--simple { padding-top: 28px; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .book__ring svg { animation: none; }
  .js .hero__line { opacity: 1 !important; transform: none !important; transition: none !important; }
  .book { transform: none; }
}
