/* Lux Ulonska – first design draft.
   Dark, cinematic, image-led; magenta as the pulse, bone-white as the human warmth.
   All colours/type are tokens. */

:root {
  /* black · bone · magenta */
  --black: #0b0a0c;
  --ink: #16131a;          /* raised surfaces */
  --ink-2: #221d27;
  --bone: #f3ede6;         /* warm white: skin, paper, humanity */
  --bone-dim: #b9b0a8;
  --magenta: #e5197f;
  --pink: #ff9cc8;

  --bg: var(--black);
  --surface: var(--ink);
  --text: var(--bone);
  --muted: var(--bone-dim);
  --accent: var(--magenta);
  --accent-soft: var(--pink);
  --line: rgba(243, 237, 230, .12);
  --media-bg: #050405;
  --on-accent: #fff;

  --font-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --font-voice: "Fraunces", Georgia, serif;   /* italic, the emotional "voice" */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --space: clamp(16px, 3.2vw, 40px);
  --max: 1360px;
  --radius: 2px;
  --gap: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
/* film grain */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--accent); color: var(--on-accent); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-soft); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3 { margin: 0 0 .5em; font-weight: 400; }
h1, h2, .display { font-family: var(--font-display); text-transform: uppercase; line-height: .92; letter-spacing: .005em; }
h1 { font-size: clamp(3rem, 11vw, 9.5rem); }
h2 { font-size: clamp(2rem, 5.5vw, 4.2rem); }
h3 { font-family: var(--font-body); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--accent-soft); }
p { margin: 0 0 1em; }
.voice { font-family: var(--font-voice); font-style: italic; font-weight: 300; }
.kicker { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: var(--accent); }
.small { font-size: .85rem; }
.muted { color: var(--muted); }
.lead { font-family: var(--font-voice); font-style: italic; font-weight: 300; font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.4; max-width: 38ch; }
.note { border-left: 3px solid var(--accent); padding: .3em 1em; color: var(--muted); }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--bone); color: var(--black); padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- header / nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 18px var(--space);
  transition: background .3s var(--ease), padding .3s var(--ease);
}
/* the frosted background lives on a pseudo-element: a backdrop-filter on the header itself would trap the
   full-screen mobile menu (position: fixed) inside the header bar */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; pointer-events: none;
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); transition: opacity .3s var(--ease); }
.site-header.scrolled { padding-block: 10px; }
.site-header.scrolled::before { opacity: 1; }
html.menu-open { overflow: hidden; }
html.menu-open .site-header::before { opacity: 0; }
.brand { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; letter-spacing: .02em; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }
.site-nav ul a {
  color: var(--text); text-decoration: none; font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .18em; padding: 6px 0; position: relative;
}
.site-nav ul a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--accent); transition: right .3s var(--ease); }
.site-nav ul a:hover::after, .site-nav ul a[aria-current="page"]::after { right: 0; }
.nav-extras { display: flex; align-items: center; gap: .25rem; }
.icon-link { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--text); }
.icon-link:hover { color: var(--accent); background: rgba(229, 25, 127, .12); }
.icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.icon .fill { fill: currentColor; stroke: none; }
.lang-switch { font-size: .72rem; font-weight: 700; letter-spacing: .14em; color: var(--text); text-decoration: none; border: 1px solid var(--line); padding: 4px 10px; margin-left: .4rem; }
.lang-switch:hover { border-color: var(--accent); }
.menu-toggle { display: none; }

@media (max-width: 800px) {
  .menu-toggle {
    display: block; position: relative; z-index: 2; font: 600 .75rem var(--font-body); letter-spacing: .18em; text-transform: uppercase;
    background: none; border: 1px solid var(--text); padding: 8px 14px; color: var(--text); cursor: pointer;
  }
  .site-nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; align-items: flex-start; gap: 3rem;
    padding: var(--space); background: var(--bg);
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  }
  .site-nav.open { opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: .4rem; }
  .site-nav ul a { font: 400 clamp(2.8rem, 14vw, 4.5rem)/1 var(--font-display); letter-spacing: 0; }
}

/* ---------- layout ---------- */
main { min-height: 60vh; }
.section { max-width: var(--max); margin: 0 auto; padding: calc(var(--space) * 2.5) var(--space); }
.page-head { padding-top: calc(var(--space) * 2 + 80px); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.section-head h2 { margin: 0; }
.prose { max-width: 70ch; }

.button {
  display: inline-flex; align-items: center; gap: .6em; padding: .95em 1.6em;
  background: var(--accent); color: var(--on-accent); text-decoration: none; border: 1px solid var(--accent);
  font: 600 .78rem var(--font-body); text-transform: uppercase; letter-spacing: .16em; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.button:hover { background: transparent; color: var(--text); }
.button--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.button--ghost:hover { border-color: var(--accent); color: var(--text); }
.arrow-link { font: 600 .78rem var(--font-body); text-transform: uppercase; letter-spacing: .16em; color: var(--text); text-decoration: none; }
.arrow-link:hover { color: var(--accent); }

.credit { font-size: .7rem; letter-spacing: .04em; color: var(--muted); padding-top: .4rem; }

/* scroll reveal (JS adds .in) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- home ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; margin: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(.35) contrast(1.08); animation: hero-in 2.9s var(--ease) both; }
.hero-media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(to top, var(--bg) 2%, transparent 55%),
  radial-gradient(120% 90% at 85% 10%, rgba(229, 25, 127, .28), transparent 60%); mix-blend-mode: normal; }
.hero-media .credit { position: absolute; right: var(--space); bottom: var(--space); z-index: 1; font-size: .6rem; opacity: .45; }
@keyframes hero-in { from { opacity: 0; transform: scale(1.06); } }
.hero-text { position: relative; width: 100%; max-width: var(--max); margin: 0 auto; padding: var(--space); padding-bottom: calc(var(--space) * 1.5); }
.hero h1 { font-size: clamp(3.6rem, 15vw, 13rem); margin: 0 0 .15em; }
.hero h1 .line { display: block; }
.hero h1 .line:last-child { color: var(--accent); }
.hero .tagline { font: 600 clamp(.75rem, 1.2vw, .95rem) var(--font-body); text-transform: uppercase; letter-spacing: .28em; color: color-mix(in srgb, var(--text) 85%, transparent); margin: .6rem 0 0; }

.motto { padding: calc(var(--space) * 2.5) var(--space); overflow: hidden; }
.motto p { margin: 0; display: flex; justify-content: space-between; gap: .4em; white-space: nowrap;
  font-family: var(--font-display); text-transform: uppercase; line-height: 1; font-size: clamp(2.2rem, 10.5vw, 11rem); }
.motto span:nth-child(2) { color: var(--accent); }

/* full-screen film loop */
.film { position: relative; height: 100svh; min-height: 420px; overflow: hidden; background: var(--media-bg); }
.film-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.film::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(var(--bg), transparent 18%, transparent 70%, var(--bg)); }
.film-caption { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; max-width: var(--max); margin: 0 auto; padding: var(--space);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: baseline; }
.film-toggle { position: absolute; z-index: 1; top: var(--space); right: var(--space); cursor: pointer;
  font: 600 .65rem var(--font-body); text-transform: uppercase; letter-spacing: .16em;
  background: rgba(0, 0, 0, .4); color: var(--text); border: 1px solid var(--line); padding: .6em 1em; }
.film-toggle:hover { border-color: var(--accent); }

.closing { text-align: center; padding: calc(var(--space) * 3.5) var(--space); border-top: 1px solid var(--line); }
.closing h2 { font-size: clamp(2.6rem, 9vw, 7rem); margin-bottom: .2em; }
.closing-mail { font-family: var(--font-voice); font-style: italic; font-weight: 300; font-size: clamp(1.3rem, 3.4vw, 2.6rem); margin: 0; }
.closing-mail a { color: var(--text); text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease), color .3s; }
.closing-mail a:hover { color: var(--accent); background-size: 100% 2px; }
.closing .actions { justify-content: center; margin-top: 2rem; }
.actions { justify-content: center; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }

/* ---------- cards ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: calc(var(--space) * 1.2) var(--space); }
.cards--landscape { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--landscape .card:first-child { grid-column: 1 / -1; }
.cards--portrait { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--small { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space) calc(var(--space) * .6); }
.page-head .cards { margin-top: calc(var(--space) * 2); }
.card a { display: block; color: var(--text); text-decoration: none; }
.card-media { display: block; overflow: hidden; background: var(--media-bg); aspect-ratio: 4 / 5; }
.cards--landscape .card-media { aspect-ratio: 3 / 2; }
.cards--landscape .card:first-child .card-media { aspect-ratio: 16 / 8; }
.card-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); transition: transform .9s var(--ease), filter .6s var(--ease); }
.card a:hover img, .card a:focus-visible img { filter: none; transform: scale(1.03); }
.card-text { display: flex; flex-direction: column; gap: .3rem; padding-top: .9rem; }
.card-title { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.3rem, 2.2vw, 1.9rem); line-height: 1; transition: color .25s var(--ease); }
.cards--landscape .card:first-child .card-title { font-size: clamp(1.8rem, 4vw, 3.2rem); }
.cards--small .card-title { font-size: clamp(1.05rem, 1.5vw, 1.35rem); }
.card-meta { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.card a:hover .card-title, .card a:focus-visible .card-title { color: var(--accent); }
@media (hover: none) { .card-media img { filter: none; } }
@media (max-width: 900px) {
  .cards--portrait, .cards--small { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .cards--landscape, .cards--portrait { grid-template-columns: minmax(0, 1fr); }
  .cards--landscape .card:first-child .card-media { aspect-ratio: 3 / 2; }
}
.intro-text { max-width: 68ch; color: color-mix(in srgb, var(--text) 85%, transparent); }

.commission {
  margin-top: calc(var(--space) * 2.5); padding: calc(var(--space) * 1.5);
  background: var(--accent); color: var(--on-accent);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.commission p { margin: 0; font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.6rem, 3.5vw, 2.8rem); line-height: 1; max-width: 22ch; }
.commission .button { background: var(--black); border-color: var(--black); color: #fff; }
.commission .button:hover { background: transparent; border-color: #fff; }

/* ---------- gallery lightbox ---------- */
.lightbox { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; padding: 0; border: 0; background: #050405; color: #fff; overflow: hidden; }
.lightbox::backdrop { background: #050405; }
.lightbox[open] { animation: modal-in .3s var(--ease); }
@keyframes modal-in { from { opacity: 0; } }
.lightbox-body, .lightbox .slideshow { width: 100%; height: 100%; }
.lightbox .slideshow { aspect-ratio: auto; }
.modal-close {
  position: absolute; top: 12px; right: 14px; z-index: 5; width: 46px; height: 46px;
  font-size: 1.7rem; line-height: 1; border: 1px solid rgba(255, 255, 255, .3); cursor: pointer;
  background: rgba(0, 0, 0, .5); color: #fff;
}
.modal-close:hover { background: var(--accent); border-color: var(--accent); }

.slideshow { position: relative; aspect-ratio: 4 / 3.4; flex: none; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .5s var(--ease); }
.slide.active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: contain; }
.slide figcaption { position: absolute; right: 14px; bottom: 12px; z-index: 3; font-size: .6rem; letter-spacing: .04em; color: #fff; opacity: .5; text-shadow: 0 0 6px rgba(0, 0, 0, .8); }
.slide-nav {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .3); cursor: pointer;
  background: rgba(0, 0, 0, .45); color: #fff; font-size: 1.4rem;
}
.slide-nav:hover { background: var(--accent); border-color: var(--accent); }
.slide-nav.prev { left: 12px; }
.slide-nav.next { right: 12px; }
.dots { position: absolute; bottom: 10px; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; flex-wrap: wrap; }
.dots button { width: 22px; height: 22px; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dots button::before { content: ""; width: 14px; height: 2px; background: rgba(255, 255, 255, .4); }
.dots button[aria-current="true"]::before { background: var(--accent); }

.videos { padding: 14px; display: grid; gap: 14px; }
.video { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
.video-credit { font-size: .6rem; color: var(--muted); opacity: .7; text-align: right; margin: 4px 0 0; }
.video button { all: unset; cursor: pointer; position: absolute; inset: 0; display: grid; place-items: center; }
.video button img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6) brightness(.6); transition: filter .4s var(--ease); }
.video button:hover img { filter: none; }
.video button span { position: relative; background: var(--accent); color: #fff; padding: .8em 1.4em; font: 600 .75rem var(--font-body); text-transform: uppercase; letter-spacing: .16em; }
.video button:focus-visible span { outline: 2px solid #fff; outline-offset: 3px; }
.video-label { color: var(--pink); font: 600 .7rem var(--font-body); text-transform: uppercase; letter-spacing: .16em; margin: 0 0 6px; }
.video-notice { color: var(--muted); font-size: .7rem; margin: 0; }

/* ---------- about / contact ---------- */
.about { display: grid; grid-template-columns: 1fr 1.25fr; gap: calc(var(--space) * 2); align-items: start; }
.about--reverse { grid-template-columns: 1.25fr 1fr; }
.about--reverse .about-media { order: 2; }
.about-media, .contact-media { margin: 0; position: sticky; top: 100px; }
.about-media img, .contact-media img { width: 100%; filter: grayscale(.25) contrast(1.05); }
.about-text { max-width: 62ch; }
.about-text p:first-of-type::first-letter { font-family: var(--font-display); float: left; font-size: 4.4em; line-height: .85; padding: .05em .12em 0 0; color: var(--accent); }
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: calc(var(--space) * 2); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 3rem; display: grid; gap: .2rem; }
.contact-list li { display: flex; align-items: center; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
.contact-list a { color: var(--text); text-decoration: none; }
.contact-list a:hover { color: var(--accent); }
.contact h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
@media (max-width: 880px) {
  .about, .about--reverse, .contact { grid-template-columns: 1fr; }
  .about--reverse .about-media { order: 0; }
  .about-media, .contact-media { position: static; }
}

.contact-form { display: grid; gap: 1.2rem; max-width: 580px; }
.contact-form label { display: grid; gap: .4rem; font: 600 .72rem var(--font-body); text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: 400 1rem var(--font-body); letter-spacing: 0; text-transform: none; padding: .8em .9em;
  border: 1px solid var(--line); border-radius: 0; background: var(--surface); color: var(--text);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); outline: none; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form [aria-invalid="true"] { border-color: var(--accent); }
.form-status { min-height: 1.5em; font-weight: 600; }
.form-status.ok { color: var(--pink); }
.form-status.err { color: #ff6b8a; }
.contact-form .button { justify-self: start; }

/* ---------- footer ---------- */
.site-footer { margin-top: calc(var(--space) * 2); padding: calc(var(--space) * 2) var(--space) var(--space); border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: end; }
.footer-name { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2.4rem, 8vw, 6rem); line-height: .9; color: var(--text); margin: 0; }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; padding: 0; margin: 0 0 .8rem; justify-content: flex-end; }
.site-footer ul a { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; text-decoration: none; }
.site-footer ul a:hover { color: var(--accent); }
.footer-icons { display: flex; justify-content: flex-end; gap: .2rem; }
.site-footer .small { grid-column: 1 / -1; margin: 1rem 0 0; font-size: .72rem; }
@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; }
  .site-footer ul, .footer-icons { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- home blocks & features ---------- */
.home-block { padding-top: calc(var(--space) * 3); }
.home-block-head { display: grid; grid-template-columns: 1fr 1.6fr auto; gap: var(--space); align-items: end; margin-bottom: calc(var(--space) * 1.5); }
.home-block-head h2 { margin: 0; }
.home-block-head p { margin: 0; max-width: 52ch; color: color-mix(in srgb, var(--text) 85%, transparent); }
@media (max-width: 900px) { .home-block-head { grid-template-columns: 1fr; align-items: start; gap: 1rem; } }

.feature-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space); }
.feature-pair--page { margin: calc(var(--space) * 2) 0 calc(var(--space) * 2.5); }
.page-head .intro-text { font-size: 1.1rem; margin-bottom: calc(var(--space) * 2.5); }
.page-head > h2 { margin-top: 0; }

/* ---------- detail page ---------- */
.piece-hero { position: relative; min-height: 92svh; display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
.piece-hero-media { position: absolute; inset: 0; margin: 0; z-index: -1; }
.piece-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; animation: hero-in 1.8s var(--ease) both; }
.piece-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 4%, rgba(11, 10, 12, .35) 45%, transparent 75%); }
.piece-hero-media .credit { position: absolute; right: var(--space); bottom: var(--space); z-index: 1; font-size: .6rem; opacity: .45; }
.piece-hero-text { width: 100%; max-width: var(--max); margin: 0 auto; padding: var(--space); padding-bottom: calc(var(--space) * 1.5); }
.piece-hero-text h1 { font-size: clamp(2.8rem, 8.5vw, 8rem); margin: .3em 0 .25em; max-width: 14ch; }
.back-link { font: 600 .72rem var(--font-body); text-transform: uppercase; letter-spacing: .16em; color: var(--text); text-decoration: none; }
.back-link:hover { color: var(--accent); }
.piece-what { font: 600 .8rem/1.6 var(--font-body); text-transform: uppercase; letter-spacing: .14em; color: var(--pink); margin-bottom: .6rem; max-width: 70ch; }
.piece-role { font-size: .95rem; margin: 0; }
.piece-role span { font: 600 .68rem var(--font-body); text-transform: uppercase; letter-spacing: .16em; color: var(--muted); margin-right: .6em; }

.piece-hook { max-width: var(--max); margin: 0 auto; padding: calc(var(--space) * 2.5) var(--space); }
.piece-hook .voice { font-size: clamp(1.8rem, 4.2vw, 3.6rem); line-height: 1.18; max-width: 26ch; margin: 0; border-left: 3px solid var(--accent); padding-left: .6em; }

.piece-videos { max-width: var(--max); margin: 0 auto; padding: 0 var(--space) calc(var(--space) * 2); display: grid; gap: var(--space); }
.piece-videos--multi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.piece-videos figure { margin: 0; }
.piece-videos .video-notice, .piece-videos .video-credit { margin-top: .5rem; }
@media (max-width: 760px) { .piece-videos--multi { grid-template-columns: 1fr; } }

.piece-body { max-width: var(--max); margin: 0 auto; padding: calc(var(--space) * 1.5) var(--space); display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: calc(var(--space) * 2); }
.piece-text p { font-size: 1.08rem; max-width: 64ch; }
.piece-text h3, .piece-facts h3 { margin-top: 2.2em; }
.piece-facts { border-left: 1px solid var(--line); padding-left: var(--space); font-size: .95rem; }
.piece-facts h3:first-child, .piece-facts dl:first-child { margin-top: 0; }
.piece-facts dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .5rem 1.1rem; margin: 0 0 1em; }
.piece-facts dt { font-weight: 600; color: var(--muted); }
.piece-facts dd { margin: 0; }
.piece-facts dd.full { grid-column: 1 / -1; }
.piece-facts ul { list-style: none; padding: 0; margin: 0; }
.piece-facts li { padding: .5em 0; border-bottom: 1px solid var(--line); }
@media (max-width: 860px) {
  .piece-body { grid-template-columns: 1fr; }
  .piece-facts { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: var(--space); }
}

.piece-gallery { max-width: var(--max); margin: 0 auto; padding: calc(var(--space) * 2) var(--space); }
.gallery { list-style: none; margin: 0; padding: 0; columns: 3 260px; column-gap: 8px; }
.gallery li { break-inside: avoid; margin-bottom: 8px; }
.gallery button { all: unset; display: block; cursor: zoom-in; overflow: hidden; }
.gallery img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.gallery button:hover img { transform: scale(1.03); }
.gallery button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.piece .commission { max-width: calc(var(--max) - var(--space) * 2); margin: calc(var(--space) * 2) auto 0; }

.piece-nav { max-width: var(--max); margin: calc(var(--space) * 2) auto 0; padding: 0 var(--space); display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.piece-nav a { display: flex; flex-direction: column; gap: .4rem; padding: var(--space) 0; color: var(--text); text-decoration: none; }
.piece-nav a[rel="next"] { text-align: right; align-items: flex-end; }
.piece-nav span { font: 600 .7rem var(--font-body); text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.piece-nav strong { font: 400 clamp(1.3rem, 3vw, 2.2rem)/1 var(--font-display); text-transform: uppercase; }
.piece-nav a:hover strong { color: var(--accent); }
.press-quote { margin: 0 0 1em; padding-left: 1em; border-left: 2px solid var(--accent); font-family: var(--font-voice); font-style: italic; font-weight: 300; font-size: 1.05rem; }

/* ---------- timeline (About) ---------- */
.timeline-section { border-top: 1px solid var(--line); }
.timeline-past-heading { margin-top: calc(var(--space) * 2.5); }
.timeline-year { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: var(--space); border-top: 1px solid var(--line); padding: 1.2rem 0; }
.timeline-year h3 { font: 400 clamp(1.8rem, 3vw, 2.6rem)/1 var(--font-display); color: var(--accent); letter-spacing: 0; margin: 0; }
.timeline { list-style: none; margin: 0; padding: 0; }
.event { display: grid; grid-template-columns: 7.5rem minmax(0, 1.1fr) minmax(0, 1.4fr); gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.event:last-child { border-bottom: 0; }
.event-date { font: 600 .72rem var(--font-body); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.event-title { font-weight: 600; }
.event-title a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--accent); }
.event-title a:hover { color: var(--accent); }
.event-place { color: var(--muted); font-size: .95rem; }
.timeline--upcoming .event-title { font: 400 1.4rem/1.1 var(--font-display); text-transform: uppercase; }
@media (max-width: 700px) {
  .timeline-year { grid-template-columns: 1fr; gap: .5rem; }
  .event { grid-template-columns: 1fr; gap: .1rem; }
}


/* ---------- featured work: image only, details on hover ---------- */
.feature-link { position: relative; display: block; overflow: hidden; background: var(--media-bg); aspect-ratio: 16 / 9; color: #fff; text-decoration: none; }
.feature--compact .feature-link { aspect-ratio: 4 / 5; }
.feature-link img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform 1.2s var(--ease), filter .6s var(--ease); }
.feature-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: .5rem;
  padding: clamp(1.2rem, 3vw, 2.5rem); background: linear-gradient(to top, rgba(5, 4, 5, .9), rgba(5, 4, 5, .35) 55%, transparent);
  opacity: 0; transition: opacity .45s var(--ease);
}
.feature-link:hover .feature-overlay, .feature-link:focus-visible .feature-overlay { opacity: 1; }
.feature-link:hover img, .feature-link:focus-visible img { transform: scale(1.03); filter: brightness(.8); }
.feature-title { font: 400 clamp(2rem, 5vw, 4.4rem)/.95 var(--font-display); text-transform: uppercase; }
.feature--compact .feature-title { font-size: clamp(1.6rem, 3vw, 2.6rem); }
.feature-what { font: 600 .72rem var(--font-body); text-transform: uppercase; letter-spacing: .14em; color: var(--pink); }
.feature-hook { font-family: var(--font-voice); font-style: italic; font-weight: 300; font-size: clamp(1.1rem, 1.8vw, 1.5rem); line-height: 1.3; max-width: 34ch; }
.feature-overlay .piece-role { color: rgba(255, 255, 255, .85); }
.feature-overlay .arrow-link { color: #fff; margin-top: .3rem; }
.feature-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space); }
@media (max-width: 760px) { .feature-pair { grid-template-columns: 1fr; } }
/* no hover on touch screens: show only the title */
@media (hover: none) {
  .feature-overlay { opacity: 1; background: linear-gradient(to top, rgba(5, 4, 5, .8), transparent 45%); }
  .feature-overlay > :not(.feature-title) { display: none; }
}
.feature-link:hover, .feature-link:focus-visible { color: #fff; }
.feature-link:hover .feature-overlay, .feature-link:focus-visible .feature-overlay { background: linear-gradient(to top, rgba(5, 4, 5, .95), rgba(5, 4, 5, .6) 50%, rgba(5, 4, 5, .15)); }

/* ---------- home effects ---------- */
/* tagline under the name fades in once the visitor scrolls */
.hero .tagline { opacity: 0; transform: translateY(8px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.has-scrolled .hero .tagline, .no-js .hero .tagline { opacity: 1; transform: none; }
/* QUEER · MATERIAL · BODY swaps its colours: on hover (desktop) or while passing the screen centre (touch, via JS) */
.motto span { transition: color .5s var(--ease); }
.motto.swap span { color: var(--accent); }
.motto.swap span:nth-child(2) { color: var(--text); }
@media (hover: hover) {
  .motto p:hover span { color: var(--accent); }
  .motto p:hover span:nth-child(2) { color: var(--text); }
}

@media (max-width: 700px) { .hero-media .credit, .piece-hero-media .credit { bottom: auto; top: 72px; } }

/* section headings on the home page: white -> pink on hover / while passing the screen centre (touch) */
.swap-heading { transition: color .5s var(--ease); }
.swap-heading.swap { color: var(--accent); }
@media (hover: hover) { .swap-heading:hover { color: var(--accent); } }
/* header name: white at the top of the page, pink at the bottom (--scroll-p is set by JS, 0..1) */
.brand { color: color-mix(in srgb, var(--accent) calc(var(--scroll-p, 0) * 100%), var(--text)); }
.brand:hover { color: var(--accent); }

/* ---------- calls to action on the home page ---------- */
.arrow-link--accent { color: var(--accent); }
.arrow-link--accent:hover { color: var(--text); }
.block-cta { margin: calc(var(--space) * 1.2) 0 0; display: flex; justify-content: flex-end; }
.feature-marker {
  position: absolute; right: clamp(.8rem, 2vw, 1.4rem); bottom: clamp(.8rem, 2vw, 1.4rem); z-index: 2;
  width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-size: 1.3rem; transition: transform .4s var(--ease);
}
.feature-link:hover .feature-marker, .feature-link:focus-visible .feature-marker { transform: translateX(4px); }
@media (max-width: 600px) { .block-cta { justify-content: stretch; } .block-cta .button { width: 100%; justify-content: center; } }

/* video caption on the home film: same quiet style as the photo credits */
.film-caption { align-items: center; }
.film-credit { margin: 0 0 0 auto; font: 400 .6rem var(--font-body); letter-spacing: .04em; color: var(--muted); opacity: .45; }

/* ---------- overview cards: title + year below, hook + role over the image on hover ---------- */
.card-media { position: relative; }
.card-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: .5rem;
  padding: clamp(1rem, 2vw, 1.6rem); color: #fff;
  background: linear-gradient(to top, rgba(5, 4, 5, .92), rgba(5, 4, 5, .45) 60%, rgba(5, 4, 5, .1));
  opacity: 0; transition: opacity .4s var(--ease);
}
.card-hook { font-family: var(--font-voice); font-style: italic; font-weight: 300; font-size: clamp(1rem, 1.5vw, 1.3rem); line-height: 1.3; }
.card-role { font: 600 .65rem/1.5 var(--font-body); text-transform: uppercase; letter-spacing: .14em; color: var(--pink); }
.card a:hover .card-overlay, .card a:focus-visible .card-overlay { opacity: 1; }
.cards--small .card-overlay { display: none; }
@media (hover: none) { .card-overlay { display: none; } }


/* footer name stays on one line */
.footer-name { white-space: nowrap; font-size: clamp(1.8rem, 6vw, 4.6rem); }
.footer-inner > div { min-width: 0; }
/* the reduced-motion rule above kills the transition; keep the tagline hidden until the first scroll anyway */
.hero .tagline { opacity: 0; }
.has-scrolled .hero .tagline, .no-js .hero .tagline { opacity: 1; transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.cv-download { margin-top: 2rem; }

/* typography rule: the italic serif is Lux's "voice" (hooks, quotes) only; informational text stays sans-serif */
.lead { font-family: var(--font-body); font-style: normal; font-weight: 300; font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.5; max-width: 48ch; }
.closing-mail { font-family: var(--font-body); font-style: normal; font-weight: 300; letter-spacing: .01em; }

/* home hero: the name fades in just after the image (Lux, then Ulonska) */
.hero h1 .line { animation: name-in 1s var(--ease) both; }
.hero h1 .line:first-child { animation-delay: .5s; }
.hero h1 .line:last-child { animation-delay: .75s; }
@keyframes name-in { from { opacity: 0; transform: translateY(.12em); } }

/* fact lists: long labels wrap instead of stretching the column; long links break */
.piece-facts dl { grid-template-columns: minmax(0, 38%) minmax(0, 1fr); }
.piece-facts, .piece-text { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .piece-facts dl { grid-template-columns: minmax(0, 1fr); gap: .1rem 0; }
  .piece-facts dt { margin-top: .7rem; }
}
/* the large first card on the pieces page stays in colour – dark photos turn to black otherwise */
.cards--landscape .card:first-child .card-media img { filter: none; }

/* "Mehr lesen" on work pages */
.read-more { margin: .5rem 0 0; }
.read-more summary { list-style: none; cursor: pointer; display: inline-block; font: 600 .75rem var(--font-body);
  text-transform: uppercase; letter-spacing: .16em; color: var(--accent); padding: .4rem 0; }
.read-more summary::-webkit-details-marker { display: none; }
.read-more summary:hover { color: var(--text); }
.read-more .when-open, .read-more[open] .when-closed { display: none; }
.read-more[open] .when-open { display: inline; }
.read-more[open] summary { order: 2; margin-top: 1rem; }
.read-more > p:first-of-type, .read-more > h3:first-of-type { margin-top: 1rem; }

/* Aktuell / Zuletzt on the home page */
.home-news .home-block-head { margin-bottom: 1rem; }
.home-timeline .event { grid-template-columns: 8rem minmax(0, 1fr) minmax(0, 1.2fr); padding: .9rem 0; }
.home-timeline .event-title { font: 400 clamp(1.2rem, 2.2vw, 1.7rem)/1.05 var(--font-display); text-transform: uppercase; }

/* legal pages: calm reading layout */
.legal h2 { font: 600 1rem/1.4 var(--font-body); text-transform: none; color: var(--accent); margin: 2rem 0 .5rem; letter-spacing: 0; }
.legal p { color: color-mix(in srgb, var(--text) 85%, transparent); }
