/* tarski.net — the public site. Tokens and measurements from design/README.md. */

:root {
  color-scheme: light dark;
  --paper: light-dark(#F2EFE8, #141413);
  --ink: light-dark(#121212, #F2EFE8);
  --on-ink: light-dark(#F2EFE8, #141413);
  --muted: light-dark(#5A5751, #A8A39A);
  --body: light-dark(#3A3833, #CFCAC0);
  --line: light-dark(#D9D4C9, #2E2D2A);
  --surface: light-dark(#FFFFFF, #1C1B19);
  --shot-bg: light-dark(#E4DFD4, #232220);
  --photo-bg: light-dark(#DCD6C9, #232220);
  --header-bg: light-dark(rgba(242, 239, 232, 0.92), rgba(20, 20, 19, 0.88));
  --accent: #5E5B55;
  --on-accent: #FFFFFF;
  --accent-mark: light-dark(#5E5B55, #8A8780);
  --accent-deep: light-dark(#5E5B55, #C9C6BF);

  --display: 'Gloock', Georgia, serif;
  --sans: 'Bricolage Grotesque', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --pad: clamp(20px, 4vw, 56px);
  --col-gap: clamp(20px, 2.4vw, 36px);
}
[data-theme="light"] { color-scheme: light; }
[data-theme="dark"] { color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { color: var(--accent-deep); }
input, textarea, button { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
p { text-wrap: pretty; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }

.display { font-family: var(--display); font-weight: 400; letter-spacing: -0.03em; line-height: 0.9; }
.mark { color: var(--accent-mark); }
.mark--fill { color: var(--accent); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); display: inline-block; flex: none; }
.eyebrow { font-family: var(--mono); font-size: 14px; color: var(--muted); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* Languages on the 404: both are in the page, <html lang> picks one. */
html[lang="sv"] [data-l="en"], html[lang="en"] [data-l="sv"] { display: none; }

/* ------------------------------------------------------------ buttons -- */

.btn {
  display: inline-block;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-ink);
  padding: 13px 22px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  transition: background 0.15s;
}
.btn:hover { background: var(--accent); color: var(--on-accent); }
.btn--outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); padding: 12px 20px; }
.btn--outline:hover { background: var(--ink); color: var(--on-ink); }
.btn--lg { font-size: 18px; padding: 15px 28px; }
.btn--xl { font-size: 18px; padding: 16px 28px; align-self: flex-start; }
.btn:disabled { opacity: 0.6; cursor: default; }

/* ------------------------------------------------------------- header -- */

.top { background: var(--header-bg); border-bottom: 1px solid var(--line); }
.top--sticky { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.top__in {
  --gap: clamp(14px, 2.4vw, 32px);
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  gap: 12px var(--gap);
  flex-wrap: wrap;
}
.logo { font-family: var(--display); font-size: 22px; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.nav { margin-left: auto; display: flex; align-items: center; gap: var(--gap); flex-wrap: wrap; font-family: var(--mono); font-size: 14px; }
.nav > a { text-decoration: none; }
.switches { display: flex; align-items: center; gap: var(--gap); }
/* Narrow: the switches beside the logo, right-aligned; the menu links on the row below.
   That header is two rows tall (three on the narrowest screens) — taller than the space
   above a section's heading — so anchor jumps keep its height (--header-h, measured in
   site.js) clear. Wide screens jump as before: the section's own padding is enough there. */
@media (max-width: 760px) {
  /* 16 px less than the header: the section's divider slips under it and the
     heading lands 41 px below it — the same as a wide screen. */
  html { scroll-padding-top: calc(var(--header-h, 96px) - 16px); }
  .switches { order: 2; margin-left: auto; }
  .nav { order: 3; flex-basis: 100%; margin-left: 0; gap: 8px clamp(14px, 5vw, 24px); }
}
.toggle { display: flex; border: 1.5px solid var(--ink); border-radius: 999px; padding: 2px; gap: 2px; }
.toggle--lang { margin-left: calc(var(--gap) / -2); }
.toggle > * {
  border: 0;
  border-radius: 999px;
  padding: 5px 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
}
.toggle--lang > * { padding: 5px 11px; font-family: var(--mono); font-size: 12px; font-weight: 500; line-height: 16px; }
.toggle > *:hover { color: var(--ink); }
/* The chosen one keeps light-on-ink also under the pointer and while clicked —
   "inherit" there gave ink on ink. */
.toggle > [aria-pressed="true"], .toggle > [aria-pressed="true"]:hover,
.toggle > [aria-current="true"], .toggle > [aria-current="true"]:hover { background: var(--ink); color: var(--on-ink); }

/* --------------------------------------------------------------- hero -- */

.hero__name { margin: 0; font-size: clamp(64.6px, 11.4vw, 186.2px); }
.hero__intro { margin: 0; max-width: 30ch; font-size: clamp(24px, 2.5vw, 36px); line-height: 1.22; letter-spacing: -0.015em; font-weight: 500; }
.hl { text-decoration: none; padding: 0 0.2em; border-radius: 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hl--ink, .hl--ink:hover { background: var(--ink); color: var(--on-ink); }
.hl--accent, .hl--accent:hover { background: var(--accent); color: var(--on-accent); }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 10px; }

.hero--wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 104px) var(--pad) clamp(56px, 8vw, 120px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(400px, 36%);
  gap: clamp(24px, 3vw, 40px) clamp(28px, 5vw, 80px);
  align-items: start;
}
.hero--wide .eyebrow { grid-column: 1; grid-row: 1; }
.hero__text { grid-column: 1; grid-row: 2; min-width: 0; display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); }
.hero__photo { grid-column: 2; grid-row: 2; align-self: start; min-width: 0; position: relative; }
.photo { aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--photo-bg); }
.photo img, .cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; filter: grayscale(1) contrast(1.05); }

.sticker {
  position: absolute;
  top: -16px;
  right: -12px;
  width: clamp(76px, 8vw, 104px);
  height: clamp(76px, 8vw, 104px);
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1;
  transform: rotate(-12deg);
  box-shadow: 0 6px 0 var(--ink);
}
.sticker--sm { top: 16px; right: 16px; width: 68px; height: 68px; font-size: 20px; box-shadow: 0 4px 0 var(--ink); }

.hero--cover { display: none; padding: 24px 20px 56px; flex-direction: column; gap: 24px; }
.cover { position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--photo-bg); }
.cover img { position: absolute; inset: 0; object-position: 50% 22%; }
.cover__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 18, 18, 0) 40%, rgba(18, 18, 18, 0.85) 100%); }
.cover__text { position: absolute; left: 18px; right: 18px; bottom: 20px; display: flex; flex-direction: column; gap: 12px; color: #F2EFE8; }
.eyebrow--light { color: #F2EFE8; font-size: 13px; gap: 8px; }
.eyebrow--light .dot { width: 8px; height: 8px; }
.cover .hero__name { font-size: min(17.1vw, 123.5px); color: #F2EFE8; }
/* Mobile hero 1a "Avatar" (design: heroA). */
.avatar { display: flex; flex-direction: column; gap: 22px; }
.avatar__row { display: flex; align-items: center; gap: 16px; }
.avatar__photo { position: relative; flex: none; width: 80px; height: 80px; }
.avatar__photo img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; background: var(--photo-bg); filter: grayscale(1) contrast(1.05); }
.sticker--xs { top: -8px; right: -14px; width: 40px; height: 40px; font-size: 13px; box-shadow: 0 4px 0 var(--ink); }
.avatar__role { display: flex; flex-direction: column; gap: 3px; font-family: var(--mono); font-size: 13px; line-height: 1.4; color: var(--muted); }
.avatar__name { font-size: min(19vw, 142.5px); }
.hero--cover .hero__intro { font-size: 22px; line-height: 1.28; letter-spacing: -0.01em; max-width: none; }
.hero--cover .hl { border-radius: 5px; }
.hero__buttons--grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hero__buttons--grid .btn { text-align: center; font-size: 15px; padding: 12px 6px; white-space: nowrap; }
.hero__buttons--grid .btn:first-child { grid-column: 1 / -1; font-size: 17px; padding: 15px 20px; }

@media (max-width: 609.98px) {
  .hero--wide { display: none; }
  .hero--cover { display: flex; }
}

/* ----------------------------------------------------------- sections -- */

.band { border-top: 1px solid var(--line); }
.band__in {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 104px) var(--pad) clamp(64px, 8vw, 120px);
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 5vw, 64px);
}
.band__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.band__title { display: flex; align-items: flex-start; gap: 16px; }
.h2 { margin: 0; font-size: clamp(60.8px, 9.5vw, 152px); }
.count { font-family: var(--mono); font-size: 15px; color: var(--muted); padding-top: 10px; }
.band__intro { margin: 0; max-width: 34ch; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.35; color: var(--body); }

.cards { display: flex; flex-wrap: wrap; gap: clamp(28px, 3vw, 44px) var(--col-gap); }
.card {
  flex: 1 1 max(min(100%, 300px), calc((100% - 2 * var(--col-gap)) / 3 - 1px));
  min-width: 0;
  cursor: pointer;
  outline-offset: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.25s ease;
}
.card:hover { transform: translateY(-4px); }
.shot {
  position: relative;
  aspect-ratio: 16 / 10;
  max-height: 520px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: var(--shot-bg);
  border: 1px solid var(--line);
}
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.shot__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.card__title { font-family: var(--display); font-size: clamp(30px, 2.8vw, 42px); letter-spacing: -0.02em; line-height: 1; transition: color 0.15s; }
.card__domain { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.card__desc { margin: 0; font-size: 18px; line-height: 1.45; color: var(--body); max-width: 42ch; }

/* Card pictures in greyscale until the card is pointed at (site.grayscaleCards).
   Gallery pictures in the drawer stay in colour. Without hover (touch) there is
   no way to reveal the colour, so there they stay in colour. */
@media (hover: hover) {
  .cards-gray .shot img { filter: grayscale(1); transition: filter 0.35s ease; }
  .cards-gray .card:hover .shot img, .cards-gray .card:focus-visible .shot img { filter: none; }
}

/* Spel: a dark band in both themes. */
.band--dark {
  --muted: #A8A39A;
  --body: #CFCAC0;
  background: light-dark(#121212, #1C1B19);
  color: #F2EFE8;
  border-top: 1px solid light-dark(#121212, #2E2D2A);
  border-bottom: 1px solid light-dark(#121212, #2E2D2A);
}
.band--dark .shot { background: #242322; border-color: #33312E; }
.band--dark .card { transition: transform 0.3s cubic-bezier(.3, 1.6, .5, 1); }
.band--dark .card:hover { transform: rotate(-1.5deg) translateY(-6px); }
.band--dark .card:nth-child(even):hover { transform: rotate(1.5deg) translateY(-6px); }
/* The design's accent hover is too faint on #121212 (README → Colours); a lighter grey instead. */
.band--dark .card:hover .card__title { color: #C9C6BF; }
.band--dark .card:focus-visible { outline-color: #F2EFE8; }

/* ------------------------------------------------------------ contact -- */

.contact {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 104px) var(--pad) clamp(56px, 7vw, 96px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(40px, 6vw, 96px);
}
.contact__info { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: clamp(28px, 3vw, 44px); }
.contact__intro { margin: 0; max-width: 30ch; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.3; color: var(--body); }
.rows { display: flex; flex-direction: column; border-top: 1.5px solid var(--ink); }
.row {
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.row__label { font-family: var(--mono); font-size: 13px; color: var(--muted); min-width: 90px; }
.row__value { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.02em; overflow-wrap: anywhere; }

.formcard {
  flex: 1 1 440px;
  min-width: 0;
  align-self: flex-end;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: 24px;
  padding: clamp(24px, 3vw, 44px);
  box-shadow: 8px 8px 0 var(--ink);
}
.form { display: flex; flex-direction: column; gap: 26px; }
.form .btn { align-self: flex-start; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.field input, .field textarea {
  border: 0;
  border-bottom: 1.5px solid var(--ink);
  background: transparent;
  padding: 8px 0;
  font-size: 22px;
  outline: none;
  color: var(--ink);
  border-radius: 0;
}
.field textarea { resize: vertical; line-height: 1.35; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--accent); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.formcard__done { display: none; flex-direction: column; gap: 18px; min-height: 340px; justify-content: center; }
.formcard__done p { margin: 0; font-size: 20px; line-height: 1.4; color: var(--body); max-width: 28ch; }
.formcard__done .btn { align-self: flex-start; font-size: 16px; padding: 11px 20px; }
.formcard__big { font-size: clamp(45.6px, 4.75vw, 68.4px); line-height: 0.95; }
.formcard[data-state="sent"] .form, .formcard[data-state="error"] .form { display: none; }
.formcard[data-state="sent"] [data-done], .formcard[data-state="error"] [data-error] { display: flex; }

/* ------------------------------------------------------------- footer -- */

.foot { border-top: 1px solid var(--line); }
.foot__in {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}
.foot__links { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.foot__links button, .foot__links a { background: none; border: 0; padding: 0; font-family: var(--mono); font-size: 13px; color: var(--muted); text-decoration: none; }
.foot__links button:hover, .foot__links a:hover { color: var(--ink); }

/* ------------------------------------------------------------ cookies -- */

.consent {
  position: fixed;
  right: clamp(12px, 2vw, 24px);
  bottom: clamp(12px, 2vw, 24px);
  z-index: 45;
  width: min(440px, calc(100% - 24px));
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 22px;
  padding: clamp(20px, 2.4vw, 28px);
  box-shadow: 6px 6px 0 var(--ink);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateY(calc(100% + 48px));
  visibility: hidden;
  transition: transform 0.5s cubic-bezier(.3, 1.3, .5, 1), visibility 0.5s;
}
.consent.open { transform: translateY(0); visibility: visible; }
.consent__title { margin: 0; font-size: 34px; line-height: 1; letter-spacing: -0.02em; }
.consent p { margin: 0; font-size: 17px; line-height: 1.45; color: var(--body); }
.consent__buttons { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 4px; }
.consent .btn { font-size: 16px; }

/* ------------------------------------------------------------- drawer -- */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(18, 18, 18, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 51;
  width: min(600px, 100%);
  background: var(--paper);
  color: var(--ink);
  border-left: 1.5px solid var(--ink);
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.45s cubic-bezier(.2, .9, .2, 1), visibility 0.45s;
  outline: none;
}
.drawer.open { transform: translateX(0); visibility: visible; }
.drawer__bar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 14px clamp(20px, 4vw, 40px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.drawer__close {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--ink);
  background: transparent;
  border-radius: 999px;
  padding: 8px 10px 8px 16px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
}
.drawer__close span { font-size: 18px; line-height: 1; }
.drawer__close:hover { background: var(--ink); color: var(--on-ink); }
.drawer__body { padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 40px) 56px; }
.detail { display: flex; flex-direction: column; gap: clamp(28px, 3vw, 40px); }
.detail__head { display: flex; flex-direction: column; gap: 14px; }
.detail__eyebrow { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.detail__title { margin: 0; font-size: clamp(49.4px, 6.65vw, 83.6px); overflow-wrap: anywhere; }
.detail__block { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; }
.detail__block--first { border-top: 1.5px solid var(--ink); }
.detail__block h3 { margin: 0; font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--muted); }
.detail__block p { margin: 0; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.45; }

/* The post's gallery in the drawer (WTA-12): thumbnails, then a lightbox. */
.gallery { display: flex; flex-direction: column; gap: 12px; }
.gallery__label { margin: 0; font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--muted); }
.gallery__label span { opacity: 0.8; }
.gallery__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.gallery__grid a { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--shot-bg); border: 1px solid var(--line); }
.gallery__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.gallery__grid a:hover img { transform: scale(1.04); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(18, 18, 18, 0.92);
  color: #F2EFE8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px clamp(12px, 6vw, 96px);
}
.lightbox[hidden] { display: none !important; }
.lightbox__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; max-height: 100%; }
.lightbox__fig img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; border-radius: 12px; }
.lightbox__fig figcaption { font-size: 16px; line-height: 1.4; color: #CFCAC0; text-align: center; max-width: 60ch; }
.lightbox__fig figcaption:empty { display: none; }
.lightbox__btn, .lightbox__close {
  position: absolute;
  border: 1.5px solid #F2EFE8;
  background: transparent;
  color: #F2EFE8;
  border-radius: 999px;
  font-family: var(--mono);
}
.lightbox__btn { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 20px; }
.lightbox__btn--prev { left: clamp(8px, 2vw, 24px); }
.lightbox__btn--next { right: clamp(8px, 2vw, 24px); }
.lightbox__btn:hover, .lightbox__close:hover { background: #F2EFE8; color: #121212; }
.lightbox__btn[hidden] { display: none; }
.lightbox__close { top: 14px; right: clamp(12px, 2vw, 24px); display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 16px; font-size: 13px; }
.lightbox__close span { font-size: 18px; line-height: 1; }
.lightbox__count { position: absolute; top: 22px; left: clamp(12px, 2vw, 24px); font-family: var(--mono); font-size: 13px; color: #A8A39A; }

/* ---------------------------------------------------------------- 404 -- */

.nf-page { min-height: 100vh; display: flex; flex-direction: column; }
.nf {
  flex: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 80px) var(--pad) clamp(56px, 8vw, 104px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(24px, 3.4vw, 48px);
}
.nf__status { color: var(--ink); }
.nf__big { display: flex; align-items: baseline; font-size: clamp(142.5px, 28.5vw, 437px); line-height: 0.8; }
.nf__zero { position: relative; }
.sticker--nf {
  top: 0.02em;
  right: -0.12em;
  z-index: 1;
  width: clamp(72px, 9vw, 128px);
  height: clamp(72px, 9vw, 128px);
  font-size: clamp(16px, 2vw, 26px);
  box-shadow: 0 5px 0 var(--ink);
}
.nf__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
  border-top: 1.5px solid var(--ink);
  padding-top: clamp(20px, 2.4vw, 32px);
}
.nf__title { margin: 0; font-size: clamp(38px, 4.75vw, 72px); line-height: 0.95; text-wrap: balance; }
.nf__side { display: flex; flex-direction: column; gap: 24px; }
.nf__text { margin: 0; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.35; color: var(--body); max-width: 34ch; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .consent, .drawer, .overlay { transition: none; }
}

/* ------------------------------------------------------------- closed -- */

.closed { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: var(--pad); }
.closed__mark { margin: 0; font-size: clamp(56px, 12vw, 180px); }
