/* Layout: dark graphite editorial page, full-bleed bands, mist-blue contact band.
   Coral is reserved for accents: underlines, speed lines, one button, active states. */
:root {
  --graphite: #222526;
  --graphite-deep: #1a1c1d;
  --graphite-raised: #2b2f31;
  --mist: #ccdcef;
  --mist-soft: rgba(204, 220, 239, 0.66);
  --mist-faint: rgba(204, 220, 239, 0.14);
  --coral: #ff6574;

  --font-display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.72rem, 0.68rem + 0.15vw, 0.8rem);
  --step-0: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  --step-1: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
  --step-3: clamp(2rem, 1.4rem + 2.4vw, 3.4rem);
  --step-hero: clamp(2.6rem, 0.8rem + 7.2vw, 7rem);

  /* fluid layout: 16px side margins on phones, growing to 64px; content widens on big and ultrawide screens */
  --gutter: max(clamp(16px, 4vw, 64px), env(safe-area-inset-left, 0px));
  --gutter-r: max(clamp(16px, 4vw, 64px), env(safe-area-inset-right, 0px));
  --maxw: clamp(1320px, 84vw, 2300px);
  --header-h: 64px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
/* everything sized in rem grows a little on large monitors (16px up to 1440px wide, ~21px on 2560px+) */
html { font-size: 100%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (min-width: 1600px) { html { font-size: clamp(16px, 0.42vw + 9.5px, 21px); } }
[hidden] { display: none !important; }
::selection { background: var(--coral); color: var(--graphite); }
html { scrollbar-color: var(--graphite-raised) var(--graphite-deep); accent-color: var(--coral); }
input, textarea { caret-color: var(--coral); }
a { text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--graphite);
  color: var(--mist);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--coral); color: var(--graphite); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 16px; }

/* Shared type ---------------------------------------------------------- */
.meta-line, .label, .section-note {
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.label { color: var(--mist-soft); margin: 0; }
.section-title {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: var(--step-3);
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
.section-title::after {
  content: ""; display: block; width: 56px; height: 3px; margin-top: 0.9rem;
  background: var(--coral); transform: skewX(-30deg); transform-origin: left;
}

/* Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.4rem;
  border: 0;
  border-radius: 2px;
  font-weight: 700;
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  transform: skewX(-8deg);
}
.btn > * { transform: skewX(8deg); }
.btn svg { width: 14px; height: 14px; fill: currentColor; }
.btn:hover { transform: skewX(-8deg) translateX(3px); }
.btn-coral { background: var(--coral); color: var(--graphite); }
.btn-ghost { background: transparent; color: var(--mist); box-shadow: inset 0 0 0 1px var(--mist-faint); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--mist); }
.btn-graphite { background: var(--graphite); color: var(--mist); }
.btn-graphite:hover { background: var(--graphite-deep); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Header ---------------------------------------------------------------- */
body::before {
  content: ""; position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--graphite);
}
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgba(34, 37, 38, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mist-faint);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.logo { min-width: 0; }
.nav { flex-shrink: 0; }
.logo-img, .logo-mark { flex-shrink: 0; }
@media (max-width: 380px) { .logo-name { font-size: 0.82rem; font-stretch: 110%; } }
.logo-mark { display: inline-flex; gap: 3px; transform: skewX(-24deg); }
.logo-mark i { width: 7px; height: 22px; background: var(--mist); }
/* custom logo file, tinted coral through a mask so any single-colour artwork works */
.logo-img { display: block; height: 30px; width: var(--logo-w, 28px); background: var(--coral);
  -webkit-mask: var(--logo-src) center / contain no-repeat; mask: var(--logo-src) center / contain no-repeat; }
.logo-mark i + i { background: var(--coral); }
.logo-name {
  font-family: var(--font-display); font-stretch: 125%; font-style: italic;
  font-weight: 800; text-transform: uppercase; font-size: 1rem; letter-spacing: 0.02em; white-space: nowrap;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
/* the header name stays hidden while the big hero name is on screen */
.js-name-swap .logo-name { opacity: 0; transform: translateX(-6px); pointer-events: none; }
.js-name-swap.name-out .logo-name { opacity: 1; transform: none; pointer-events: auto; }
.nav { display: flex; align-items: center; gap: clamp(0.9rem, 2.5vw, 2.2rem); }
.nav a {
  font-size: var(--step--1); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; color: var(--mist-soft); padding-block: 0.3rem;
  background: linear-gradient(var(--coral), var(--coral)) 0 100% / 0 2px no-repeat;
  transition: background-size 0.25s ease, color 0.2s;
}
.nav a:hover, .nav a.is-active { color: var(--mist); background-size: 100% 2px; }
.nav a.nav-cta { color: var(--mist); }
@media (max-width: 560px) {
  .nav a:not(.nav-cta) { display: none; }
  .hero-id .meta-line { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
  .hero-id .meta-line .sep { display: none; }
}

/* Hero ------------------------------------------------------------------ */
.hero { position: relative; isolation: isolate; padding-block: clamp(4.5rem, 11vw, 9rem) clamp(4rem, 9vw, 7rem); overflow: hidden; }
.hero-id { display: grid; gap: 0.9rem; }
.meta-line { margin: 0; color: var(--mist-soft); display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.meta-line > span:not(.sep) { white-space: nowrap; }
.meta-line .sep { width: 14px; height: 2px; background: var(--coral); transform: skewX(-30deg); }
/* optional looping clip behind the hero (content.js: heroVideo) */
.hero-video { position: absolute; inset: 0; z-index: -1; }
.hero-video video, .hero-video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.hero-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--graphite) 15%, rgba(34, 37, 38, 0.45) 70%, var(--graphite)), linear-gradient(transparent 60%, var(--graphite)); }

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: var(--step-hero);
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.hw { display: block; width: max-content; max-width: 100%; }
.hw-last::after {
  content: ""; display: block; width: 0.9em; height: 0.06em; min-height: 3px; margin-top: 0.22em;
  background: var(--coral); transform: skewX(-30deg); transform-origin: left;
}

/* tagline | intro | buttons on one row when there's room; the parts wrap onto new rows
   (never squeeze) at in-between widths */
.hero-foot {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  display: flex; flex-wrap: wrap;
  gap: 1.5rem 3rem;
  align-items: flex-end;
}
.hero-foot .hero-id { flex: 0 1 auto; }
.hero-foot .intro { flex: 1 1 30ch; min-width: min(30ch, 100%); }
.hero-foot .hero-actions { flex: 0 0 auto; }
.tagline { margin: 0; font-weight: 700; font-size: var(--step-1); line-height: 1.2; font-style: italic; }
.intro { margin: 0; color: var(--mist-soft); max-width: 52ch; }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
@media (max-width: 900px) {
  .hero-foot { flex-direction: column; align-items: stretch; }
  .hero-foot .intro { flex-basis: auto; }
}

/* one quiet entrance: the name settles in from the left (visible at rest) */
@media (prefers-reduced-motion: no-preference) {
  .hw { animation: settle 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .hw + .hw { animation-delay: 0.08s; }
  .hw-last::after { animation: line-in 0.6s 0.45s cubic-bezier(0.16, 1, 0.3, 1) both; }
}
@keyframes settle { from { transform: translateX(-3%); opacity: 0.35; } to { transform: none; opacity: 1; } }
@keyframes line-in { from { transform: skewX(-30deg) scaleX(0); } to { transform: skewX(-30deg) scaleX(1); } }

/* Sections -------------------------------------------------------------- */
.section { padding-block: clamp(5rem, 11vw, 9.5rem); }
.work { border-top: 1px solid var(--mist-faint); }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem 2rem;
  flex-wrap: wrap; margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-note { color: var(--mist-soft); margin: 0; }

/* Filters --------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.filter {
  border: 0; background: transparent; cursor: pointer;
  padding: 0.5rem 0.9rem; font-size: var(--step--1); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--mist-soft); box-shadow: inset 0 0 0 1px var(--mist-faint); border-radius: 2px;
  transition: color 0.2s, box-shadow 0.2s, background 0.2s;
}
.filter:hover { color: var(--mist); box-shadow: inset 0 0 0 1px var(--mist-soft); }
.filter[aria-selected="true"] { color: var(--graphite); background: var(--mist); box-shadow: none; }

/* Project grid ---------------------------------------------------------- */
.grid {
  display: grid;
  --cols: 3;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 24px);
}
@media (min-width: 2200px) { .grid { --cols: 4; } }
@media (max-width: 960px) { .grid { --cols: 2; } }
@media (max-width: 560px) { .grid { --cols: 1; } }

.tile {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; text-align: left;
  aspect-ratio: 4 / 5; overflow: hidden; background: var(--graphite-raised); color: var(--mist);
  isolation: isolate;
}
.grid .tile { aspect-ratio: auto; height: 100%; } /* row height and spans are set by main.js */
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.tile:hover img { transform: scale(1.04); }

/* quiet placeholder when no thumbnail is set */
.tile-art { position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, #2f3537 0%, var(--graphite-raised) 55%, #262a2b 100%); }
.tile-art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 70% at 80% 15%, rgba(204, 220, 239, 0.08), transparent 70%); transition: opacity 0.4s; opacity: 0.6; }
.tile:hover .tile-art::after { opacity: 1; }

.tile-meta {
  position: absolute; inset: auto 0 0 0; padding: clamp(1rem, 2vw, 1.4rem);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem;
  background: linear-gradient(transparent, rgba(26, 28, 29, 0.75));
}
.tile-meta .t-title { display: block;
  margin: 0; font-family: var(--font-display); font-stretch: 110%; font-style: italic; font-weight: 700;
  text-transform: uppercase; font-size: var(--step-1); line-height: 1.1;
}
.tile-meta .t-sub { display: block; margin: 0.35rem 0 0; font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; opacity: 0.72; }
.tile-meta .t-sub::before { content: ""; display: block; width: 28px; height: 2px; background: var(--coral); margin-bottom: 0.55rem; transition: width 0.3s; }
.tile:hover .tile-meta .t-sub::before { width: 56px; }
.tile-year { font-size: var(--step--1); font-weight: 700; letter-spacing: 0.1em; opacity: 0.7; font-variant-numeric: tabular-nums; }
.tile-play {
  position: absolute; top: clamp(1rem, 2vw, 1.4rem); right: clamp(1rem, 2vw, 1.4rem);
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  background: var(--graphite); color: var(--mist);
}
.tile-play svg { width: 12px; height: 12px; fill: currentColor; margin-left: 2px; }
.grid-empty { grid-column: 1 / -1; color: var(--mist-soft); padding: 2rem 0; }

/* Showreels ------------------------------------------------------------- */
.reels { background: var(--graphite-deep); }
.reel-feature h3, .reel-feature .t-title { font-weight: 800; }
.reel-feature {
  position: relative; display: block; width: 100%; border: 0; padding: 0; cursor: pointer; text-align: left;
  aspect-ratio: 16 / 7; min-height: 260px; max-height: 75vh; overflow: hidden; color: var(--mist); isolation: isolate;
  background: var(--graphite-raised);
}
.reel-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.reel-feature .reel-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, var(--graphite-raised) 35%, #344150 100%);
}
.reel-feature-body {
  position: absolute; inset: auto auto 0 0; padding: clamp(1.2rem, 3vw, 2.4rem);
  display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap;
}
.play-big {
  width: clamp(64px, 8vw, 96px); aspect-ratio: 1; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: var(--coral); color: var(--graphite); transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.play-big svg { width: 34%; height: 34%; fill: currentColor; margin-left: 6%; }
.reel-feature:hover .play-big { transform: scale(1.08); }
@media (max-width: 420px) { .reel-feature .t-title { font-size: 1.5rem !important; } }
.reel-feature .t-title { display: block;
  margin: 0; font-family: var(--font-display); font-stretch: 125%; font-style: italic; font-weight: 900;
  text-transform: uppercase; font-size: var(--step-3); line-height: 0.9;
}
.reel-feature .t-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0.6rem 0 0; max-width: 52ch; color: var(--mist); font-size: var(--step-0, 1rem); line-height: 1.45; text-align: left; }
@media (max-width: 560px) { .reel-feature .t-desc { display: none; } }
.reel-feature .t-sub { display: block; margin: 0.5rem 0 0; font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--mist-soft); }

.reel-list { list-style: none; margin: clamp(1.5rem, 3vw, 2.5rem) 0 0; padding: 0; border-top: 1px solid var(--mist-faint); }
.reel-row {
  display: grid; width: 100%; border: 0; background: transparent; cursor: pointer; text-align: left;
  grid-template-columns: 6rem minmax(0, 1fr) minmax(0, 1fr) 2.5rem;
  align-items: center; gap: 1rem; padding: 1.3rem 0.25rem; border-bottom: 1px solid var(--mist-faint);
  color: var(--mist); transition: background 0.25s, padding 0.25s;
}
.reel-row:hover { background: rgba(204, 220, 239, 0.04); padding-left: 1rem; }
.reel-year {
  font-family: var(--font-display); font-stretch: 125%; font-style: italic; font-weight: 900; font-size: var(--step-1);
  font-variant-numeric: tabular-nums; color: var(--mist-soft);
}
.reel-row:hover .reel-year { color: var(--coral); }
.reel-name { font-weight: 700; font-size: var(--step-1); line-height: 1.2; }
.reel-focus { font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--mist-soft); }
.reel-arrow { justify-self: end; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--mist-faint); transition: background 0.25s, color 0.25s; }
.reel-arrow svg { width: 11px; height: 11px; fill: currentColor; margin-left: 2px; }
.reel-row:hover .reel-arrow { background: var(--coral); color: var(--graphite); box-shadow: none; }
@media (max-width: 700px) {
  .reel-row { grid-template-columns: 4rem minmax(0, 1fr) 2.5rem; row-gap: 0.2rem; }
  .reel-focus { grid-column: 2; grid-row: 2; }
  .reel-arrow { grid-column: 3; grid-row: 1 / span 2; }
}

/* About ----------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 2.5rem 4rem; }
@media (max-width: 860px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }
.about-text p { margin: 0 0 1em; }
.about-text p:last-child { margin-bottom: 0; }
.about-text { margin: 0 0 2.5rem; font-size: var(--step-1); line-height: 1.5; max-width: 60ch; text-wrap: pretty; }
.about-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
@media (max-width: 560px) { .about-cols { grid-template-columns: minmax(0, 1fr); } }
.chips { list-style: none; padding: 0; margin: 0.9rem 0 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chips li { padding: 0.4rem 0.75rem; font-size: 0.85rem; box-shadow: inset 0 0 0 1px var(--mist-faint); border-radius: 2px; }
.chips li.more { box-shadow: none; padding-inline: 0.25rem; color: var(--mist-soft); font-style: italic; }

/* Contact (mist band) --------------------------------------------------- */
.contact { background: var(--mist); color: var(--graphite); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: end; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-title {
  margin: 0; font-family: var(--font-display); font-stretch: 125%; font-style: italic; font-weight: 900;
  text-transform: uppercase; font-size: var(--step-3); line-height: 0.92; letter-spacing: -0.01em; text-wrap: balance;
}
.contact-title em { color: var(--coral); font-style: italic; }
.contact-copy { margin: 0 0 2rem; max-width: 44ch; color: rgba(34, 37, 38, 0.78); }
.contact .label { color: rgba(34, 37, 38, 0.76); }
.email-row { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; padding-block: 1rem; border-block: 1px solid rgba(34, 37, 38, 0.18); }
.email { font-weight: 700; font-size: var(--step-1); overflow-wrap: anywhere; color: inherit; text-decoration: none; background: linear-gradient(var(--coral), var(--coral)) 0 100% / 0 2px no-repeat; transition: background-size .25s; }
.email:hover { background-size: 100% 2px; }
.copy {
  margin-left: auto; border: 0; cursor: pointer; background: transparent; padding: 0.4rem 0.7rem;
  font-size: var(--step--1); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(34, 37, 38, 0.3); border-radius: 2px; color: var(--graphite);
}
.copy:hover { box-shadow: inset 0 0 0 1px var(--graphite); }
.socials { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; }
.socials a {
  text-decoration: none; font-weight: 700; font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase;
  background: linear-gradient(var(--coral), var(--coral)) 0 100% / 0 2px no-repeat; padding-bottom: 0.2rem; transition: background-size 0.25s;
}
.socials a:hover { background-size: 100% 2px; }


/* Footer ---------------------------------------------------------------- */
.site-footer { padding-block: 2rem calc(2rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--mist-faint); }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: var(--step--1); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mist-soft); }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: var(--coral); }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ---------- legal pages (Impressum, Datenschutz) ---------- */
.legal-header { padding-block: 1.4rem; border-bottom: 1px solid var(--mist-faint); }
.legal-header a { text-decoration: none; font-family: var(--font-display); font-stretch: 125%; font-style: italic; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; }
.legal-header a:hover { color: var(--coral); }
.legal { padding-block: clamp(3rem, 8vw, 6rem); }
.legal-body { max-width: 68ch; }
.legal h1 { margin: 0 0 2.5rem; font-family: var(--font-display); font-stretch: 125%; font-style: italic; font-weight: 900; text-transform: uppercase; font-size: var(--step-3); line-height: 0.95; }
.legal h1 { overflow-wrap: anywhere; hyphens: manual; }
/* keep the long surname on one line on small phones */
@media (max-width: 520px) { .hero-title { font-size: min(var(--step-hero), 10.5vw); } }
@media (max-width: 420px) { .legal h1 { font-size: clamp(1.7rem, 9vw, 2.4rem); } }
.legal h2 { margin: 2.6rem 0 0.8rem; font-family: var(--font-display); font-stretch: 112%; font-style: italic; font-weight: 800; text-transform: uppercase; font-size: var(--step-1); letter-spacing: 0.01em; }
.legal h3 { margin: 1.6rem 0 0.4rem; font-size: var(--step-0); font-weight: 700; }
.legal p, .legal li { color: rgba(204, 220, 239, 0.86); line-height: 1.65; }
.legal p { margin: 0 0 1rem; }
.legal ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.legal a { color: var(--mist); text-decoration-color: var(--coral); text-underline-offset: 3px; }
.legal address { font-style: normal; line-height: 1.65; margin-bottom: 1rem; }
.legal .missing { color: var(--coral); font-weight: 700; }
.legal .stand { margin-top: 3rem; color: var(--mist-soft); font-size: var(--step--1); }

/* Modal ----------------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) var(--gutter-r) max(16px, env(safe-area-inset-bottom, 0px)) var(--gutter); }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20, 22, 23, 0.92); }
.modal-panel {
  /* wide enough on big screens, but the 16:9 video always fits the screen height (landscape phones, laptops) */
  position: relative; width: min(100%, max(1100px, 62vw), max(520px, calc((100dvh - 230px) * 16 / 9))); max-height: 100%; overflow: auto;
  background: var(--graphite); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); border-top: 3px solid var(--coral);
}
.modal-close {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(34, 37, 38, 0.85); color: var(--mist); display: grid; place-items: center;
}
.modal-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.modal-close:hover { background: var(--coral); color: var(--graphite); }
.modal-media { aspect-ratio: 16 / 9; background: #000; position: relative; }
.modal-media iframe, .modal-media video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.media-empty {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 1.5rem;
  background: linear-gradient(105deg, var(--graphite-raised) 30%, #3a4a5c 100%); color: var(--mist-soft);
}
.media-empty strong { display: block; color: var(--mist); font-family: var(--font-display); font-stretch: 125%; font-style: italic; font-weight: 900; text-transform: uppercase; font-size: var(--step-1); margin-bottom: 0.4rem; }
.media-empty code { color: var(--coral); }
.modal-info { padding: clamp(1.2rem, 3vw, 2.2rem); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.5rem 3rem; }
@media (max-width: 700px) { .modal-info { grid-template-columns: minmax(0, 1fr); } }
.modal-info h3 {
  margin: 0 0 0.8rem; font-family: var(--font-display); font-stretch: 125%; font-style: italic; font-weight: 900;
  text-transform: uppercase; font-size: var(--step-3); line-height: 0.9;
}
.modal-info p { margin: 0; color: var(--mist-soft); max-width: 60ch; }
.modal-info p + p { margin-top: 0.9em; }
.facts { margin: 0; display: grid; gap: 0.9rem; }
.facts div { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 1rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--mist-faint); }
.facts dt { font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--mist-soft); }
.facts dd { margin: 0; }
.modal-gallery { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.ext-link { display: inline-block; margin-top: 1rem; font-size: var(--step--1); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral); }
body.modal-open { overflow: hidden; }

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