/* ==========================================================================
   Chaos Exigency – official website
   Pure CSS, mobile-first. Colours taken from the film poster.
   ========================================================================== */

:root {
  --bg: #0c0c0e;
  --surface: #16161a;
  --surface-2: #1d1d22;
  --border: #2a2a30;
  --text: #ecebe7;
  --muted: #a4a4ab;
  --orange: #f7a51c;
  --pink: #ff3d6e;

  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Black", "Arial Black", "Helvetica Neue", system-ui, sans-serif;

  --radius: 10px;
  --container: 1100px;
  --header-offset: 7rem;
}

/* ---------- Base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--orange);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

a:hover { color: #ffc25c; }

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

h1, h2, h3, h4 {
  line-height: 1.1;
  margin: 0 0 0.75rem;
}

p { margin: 0 0 1rem; }

ul { padding: 0; margin: 0; list-style: none; }

figure { margin: 0; }

address { font-style: normal; }

[id] { scroll-margin-top: var(--header-offset); }

.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--orange);
  color: #000;
  font-weight: 700;
  border-radius: var(--radius);
}

.skip-link:focus { top: 1rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(12 12 14 / 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-block: 0.6rem 0;
}

.brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

.brand span { color: var(--orange); }
.brand:hover { color: var(--text); }

.site-nav ul {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  margin-inline: -0.6rem;
  padding-bottom: 0.4rem;
}

.site-nav ul::-webkit-scrollbar { display: none; }

.site-nav a {
  display: block;
  white-space: nowrap;
  padding: 0.45rem 0.6rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.15s, background-color 0.15s;
}

.site-nav a:hover {
  color: var(--text);
  background: var(--surface-2);
}

@media (min-width: 64rem) {
  :root { --header-offset: 5rem; }

  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-block: 0.75rem;
  }

  .site-nav ul {
    margin: 0;
    padding: 0;
  }
}

.site-nav a.nav-cta {
  color: #111;
  background: var(--orange);
  margin-left: 0.25rem;
}

.site-nav a.nav-cta:hover {
  color: #111;
  background: #ffbd4a;
}

/* ---------- Press page header ---------- */

.page-hero {
  padding-block: 2rem 3rem;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(50rem 24rem at 90% 0%, rgb(255 61 110 / 0.14), transparent 60%),
    var(--bg);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--orange);
}

.page-hero .alt-titles { margin-bottom: 1.5rem; }

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0 0 1.5rem;
  list-style: none;
  font-size: 0.85rem;
  color: var(--muted);
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 0.5rem;
}

.lead {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  line-height: 1.6;
  max-width: 48rem;
}

.more-link {
  margin-top: 1.5rem;
  color: var(--muted);
}

.section .h3-like {
  font-size: 1.4rem;
  margin: 0 0 0.75rem;
}

.section .h3-like::after { display: none; }

.contact-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.15s, background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn small { font-weight: 500; opacity: 0.8; }

.btn-primary {
  background: var(--orange);
  color: #111;
}

.btn-primary:hover {
  background: #ffbd4a;
  color: #111;
}

.btn-ghost {
  border: 2px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--text);
}

@media (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: translateY(-2px); }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: 2.5rem 3.5rem;
  background:
    radial-gradient(60rem 30rem at 85% 10%, rgb(255 61 110 / 0.16), transparent 60%),
    radial-gradient(50rem 30rem at 0% 100%, rgb(247 165 28 / 0.12), transparent 60%),
    var(--bg);
}

/* subtle film grain */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
}

.hero-poster {
  width: min(22rem, 80%);
  margin-inline: auto;
}

.hero-poster img {
  border-radius: var(--radius);
  box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 0.6), 0 0 0 1px rgb(255 255 255 / 0.06);
}

.eyebrow {
  color: var(--pink);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(2.75rem, 11vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.alt-titles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
}

.alt-titles [aria-hidden] { color: var(--muted); }

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.meta li {
  padding: 0.2rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.03);
  font-size: 0.85rem;
  color: var(--muted);
}

/* laurel badges (CSS + inline SVG, no image files) */
.laurels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.5rem;
}

.laurel {
  --branch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 48'%3E%3Cpath d='M15 46C7 38 4 24 11 3' fill='none' stroke='%23f7a51c' stroke-width='1.4'/%3E%3Cg fill='%23f7a51c'%3E%3Cellipse cx='6' cy='40' rx='2' ry='4.5' transform='rotate(-50 6 40)'/%3E%3Cellipse cx='3.5' cy='31' rx='2' ry='4.5' transform='rotate(-25 3.5 31)'/%3E%3Cellipse cx='3' cy='22' rx='2' ry='4.5' transform='rotate(-5 3 22)'/%3E%3Cellipse cx='5' cy='13' rx='2' ry='4.5' transform='rotate(15 5 13)'/%3E%3Cellipse cx='9' cy='5' rx='1.8' ry='4' transform='rotate(35 9 5)'/%3E%3Cellipse cx='11' cy='36' rx='1.8' ry='4' transform='rotate(40 11 36)'/%3E%3Cellipse cx='9' cy='26' rx='1.8' ry='4' transform='rotate(20 9 26)'/%3E%3Cellipse cx='9.5' cy='16' rx='1.8' ry='4' transform='rotate(5 9.5 16)'/%3E%3C/g%3E%3C/svg%3E");
  display: grid;
  grid-template-columns: 1.4rem auto 1.4rem;
  align-items: center;
  column-gap: 0.4rem;
  text-align: center;
  line-height: 1.2;
}

.laurel::before,
.laurel::after {
  content: "";
  grid-row: 1 / span 2;
  height: 3.4rem;
  background: var(--branch) center / contain no-repeat;
}

.laurel::before { grid-column: 1; }
.laurel::after { grid-column: 3; transform: scaleX(-1); }

.laurel-result,
.laurel-event { grid-column: 2; }

.laurel-result {
  align-self: end;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  color: var(--orange);
}

.laurel-event {
  align-self: start;
  max-width: 13rem;
  font-size: 0.8rem;
  color: var(--text);
}

.logline {
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  line-height: 1.5;
  max-width: 38rem;
  margin-bottom: 1.75rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (min-width: 48rem) {
  .hero { padding-block: 4rem 5rem; }

  .hero-inner {
    grid-template-columns: minmax(16rem, 22rem) 1fr;
    align-items: center;
    gap: 3.5rem;
  }

  .hero-poster { width: 100%; }
}

/* ---------- Sections ---------- */

.section { padding-block: 3.5rem; }

.section-alt {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

@media (min-width: 48rem) {
  .section { padding-block: 5rem; }
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 5vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.section h2::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 5px;
  margin-top: 0.6rem;
  background: var(--pink);
  transform: skewX(-20deg);
}

.section h3 {
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.section-intro {
  color: var(--muted);
  max-width: 42rem;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}

/* ---------- Factsheet ---------- */

.facts {
  margin: 0;
  border-top: 1px solid var(--border);
}

.facts > div {
  display: grid;
  gap: 0.15rem;
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--border);
}

.facts dt {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.facts dd { margin: 0; }

.lang-tag {
  display: inline-block;
  min-width: 2.2rem;
  margin-right: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--pink);
}

@media (min-width: 40rem) {
  .facts > div {
    grid-template-columns: 13rem 1fr;
    gap: 1.5rem;
    align-items: baseline;
  }
}

/* ---------- Synopsis ---------- */

.synopsis-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 64rem) {
  .synopsis-grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
  padding: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.section .card h3 { margin-top: 0; }

.card p { margin: 0; }

/* ---------- Awards & festivals ---------- */

.awards-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid var(--border);
}

.awards-list li {
  position: relative;
  display: grid;
  gap: 0.25rem 2rem;
  padding: 0 0 2rem 1.75rem;
}

.awards-list li:last-child { padding-bottom: 0; }

.awards-list li::before {
  content: "";
  position: absolute;
  left: -0.45rem;
  top: 0.35rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px var(--bg);
}

.awards-list p { margin: 0; }

.award-date {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.award-result {
  font-size: 1.35rem;
  font-weight: 800;
}

.award-win { color: var(--orange); }

.award-event span { color: var(--muted); }

@media (min-width: 40rem) {
  .awards-list li { grid-template-columns: 9rem 1fr; }
}

/* ---------- Trailer ---------- */

.trailer {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  isolation: isolate;
}

.trailer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
  transition: filter 0.3s, transform 0.6s;
}

.trailer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.75), transparent 55%);
}

.play {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: clamp(4rem, 12vw, 6.5rem);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 0.6rem rgb(255 61 110 / 0.25);
  transition: scale 0.2s;
}

.play::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 36%;
  height: 40%;
  translate: 10% 0;
  background: #fff;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.trailer-label {
  position: absolute;
  z-index: 1;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(1rem, 3vw, 1.6rem);
}

.trailer-label small {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  text-transform: none;
  font-size: 0.7em;
  color: var(--muted);
}

.trailer:hover img { filter: brightness(0.7); }
.trailer:hover .play { scale: 1.08; }

@media (prefers-reduced-motion: no-preference) {
  .trailer:hover img { transform: scale(1.03); }
}

/* ---------- Cast & crew ---------- */

.director {
  display: grid;
  gap: 0.1rem;
  padding: 1.5rem;
  border-left: 5px solid var(--orange);
  background: var(--bg);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.role {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.role:not(:first-child) { margin-top: 1rem; }

.name {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 800;
}

.name-sm { font-size: 1.15rem; }

.cast-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.cast-cards li {
  display: grid;
  gap: 0.2rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--pink);
  border-radius: var(--radius);
}

.actor {
  font-size: 1.25rem;
  font-weight: 800;
}

.character {
  color: var(--muted);
  font-style: italic;
}

.credits {
  display: grid;
  gap: 1.5rem 2rem;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
}

.credit h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

.credit li {
  padding-block: 0.15rem;
  font-weight: 600;
}

.section .credit h3 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

.credit li { padding-block: 0.3rem; }

.person { font-weight: 600; }

.credit-role {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted);
}

/* optional profile links (IMDb · Wikidata · TMDB · ČSFD · Website) */
.profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.6rem;
  margin-top: 0.15rem;
  font-size: 0.8rem;
}

.profiles:empty { display: none; }

.profiles a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgb(247 165 28 / 0.35);
}

.profiles a:hover { border-bottom-color: var(--orange); }

.section .thanks-title { margin-top: 3rem; }

.thanks {
  columns: 12rem;
  column-gap: 2rem;
  color: var(--muted);
}

.thanks li {
  break-inside: avoid;
  padding-block: 0.1rem;
}

/* ---------- Images ---------- */

.press-download {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.5rem;
}

.press-poster { max-width: 16rem; }

.download-box {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgb(247 165 28 / 0.16), rgb(255 61 110 / 0.12));
  border: 1px solid var(--border);
}

.section .download-box h3 {
  margin-top: 0;
  color: var(--text);
}

.download-box p { color: var(--muted); }

@media (min-width: 48rem) {
  .press-download { grid-template-columns: 16rem 1fr; gap: 2.5rem; }
}

.gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
}

.tile a,
.press-poster a {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.4s, opacity 0.2s;
}

.tile a:hover img,
.press-poster a:hover img { opacity: 0.85; }

@media (prefers-reduced-motion: no-preference) {
  .tile a:hover img { transform: scale(1.04); }
}

figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* stills: portrait image on the left, two landscape images stacked right */
@media (min-width: 48rem) {
  .gallery-stills {
    grid-template-columns: 4fr 5fr;
    grid-template-rows: auto auto;
  }

  .tile-portrait { grid-row: span 2; display: flex; flex-direction: column; }
  .tile-portrait a { flex: 1; }

  .tile-portrait img {
    height: 100%;
    aspect-ratio: auto;
    object-position: center 30%;
  }
}

/* ---------- Media coverage ---------- */

.coverage {
  display: grid;
  gap: 1rem 3rem;
}

@media (min-width: 64rem) {
  .coverage { grid-template-columns: 2fr 1fr; }
}

.section .coverage h3 { margin-top: 1rem; }

.press-list {
  display: grid;
  gap: 0.75rem;
}

.press-list a {
  display: grid;
  gap: 0.1rem;
  padding: 1rem 3rem 1rem 1.25rem;
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.15s;
}

.press-list a::after {
  content: "↗";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  translate: 0 -50%;
  color: var(--muted);
}

.press-list a:hover { border-color: var(--orange); }

.outlet {
  color: var(--text);
  font-weight: 700;
}

.detail {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Contact ---------- */

.contact-card {
  display: grid;
  gap: 0.1rem;
  max-width: 32rem;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 5px solid var(--pink);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.contact-card p:last-child {
  margin: 0.75rem 0 0;
  font-size: 1.1rem;
  overflow-wrap: anywhere;
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 2rem;
  border-top: 1px solid var(--border);
  background: #08080a;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.footer-inner p { margin: 0; }
.footer-inner strong { color: var(--text); }

.to-top {
  color: var(--muted);
  text-decoration: none;
}

.to-top:hover { color: var(--orange); }

/* ---------- Cookie consent ---------- */

.consent {
  position: fixed;
  z-index: 90;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 36rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1rem 3rem rgb(0 0 0 / 0.6);
  font-size: 0.95rem;
}

.consent p { margin: 0 0 1rem; }

.consent-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* Accept and Reject look the same on purpose */
.consent-btn {
  min-height: 2.75rem;
  border: 2px solid var(--orange);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.consent-btn:hover {
  background: var(--orange);
  color: #111;
}

.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.link-button:hover { color: var(--orange); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}

.footer-legal a { color: var(--muted); }

/* ---------- Privacy page ---------- */

.prose { max-width: 46rem; }

.page-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--orange);
  margin-bottom: 2rem;
}

.section .prose h2 {
  font-size: 1.3rem;
  margin: 2.25rem 0 0.75rem;
}

.section .prose h2::after { display: none; }

.prose-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.prose code {
  padding: 0.1rem 0.35rem;
  background: var(--surface-2);
  border-radius: 4px;
  font-size: 0.9em;
}

.prose mark {
  background: var(--pink);
  color: #fff;
  padding: 0.1rem 0.3rem;
}

/* ---------- Print ---------- */

@media print {
  :root {
    --bg: #fff;
    --surface: #fff;
    --surface-2: #fff;
    --border: #ccc;
    --text: #000;
    --muted: #444;
    --orange: #000;
    --pink: #000;
  }

  .site-header,
  .skip-link,
  .actions,
  .trailer,
  .download-box .btn,
  .to-top { display: none; }

  .hero::after { display: none; }
  .hero { background: none; padding-block: 1rem; }
  .section { padding-block: 1.5rem; }
  a { color: #000; }
}
