/* Jürgen Rammlmair — Druckgraphik
   A printmaker's site: warm paper, deep ink, and the three plate colours the
   work itself is built from. Everything else gets out of the way of the images. */

:root {
  --paper:      #FAF8F3;
  --paper-deep: #F2EEE5;
  --ink:        #15141A;
  --ink-soft:   #4A474F;
  --ink-faint:  #8B8781;
  --line:       #E2DCD0;

  --cobalt:     #2B5FD9;
  --vermillion: #C7401F;
  --ochre:      #C88A1E;

  --measure: 62ch;
  --gutter: clamp(1.1rem, 4vw, 4rem);
  --section: clamp(3.4rem, 7vh, 6rem);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

::selection { background: var(--ochre); color: #fff; }

/* ---------------------------------------------------------------- type */

h1, h2, h3, .display {
  /* Instrument Serif: a quiet, high-contrast face that holds its own at
     poster size without the mannerisms of a display grotesque. */
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.04;
  margin: 0;
}

.eyebrow {
  font-family: Inter, sans-serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.section-title { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 4rem); }
.lede {
  font-size: clamp(1.1rem, 1rem + .55vw, 1.42rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 46ch;
}

/* ------------------------------------------------------------ structure */

.shell { padding-inline: var(--gutter); }
section { padding-block: var(--section); position: relative; }
.section-head { margin-bottom: clamp(1.8rem, 3.2vw, 3rem); }
.section-head .eyebrow { display: block; margin-bottom: .8rem; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* The seam between two sections: the three plates being pulled across the
   sheet one after another, between registration marks. It is the press,
   not a horizontal rule. */
.seam {
  position: relative;
  height: clamp(74px, 9vh, 108px);
  display: grid; align-content: center; gap: 5px;
  padding-inline: var(--gutter);
  overflow: hidden;
}
.seam__bar {
  height: 3px; border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.25s var(--ease);
}
.seam__bar:nth-child(1) { background: var(--ochre);      transition-delay: 0ms;   opacity: .85; }
.seam__bar:nth-child(2) { background: var(--cobalt);     transition-delay: 130ms; opacity: .8; }
.seam__bar:nth-child(3) { background: var(--vermillion); transition-delay: 260ms; opacity: .8; }
.seam.is-in .seam__bar { transform: scaleX(1); }

/* registration crosses, one at each end */
.seam::before, .seam::after {
  content: ""; position: absolute; top: 50%; translate: 0 -50%;
  width: 13px; height: 13px; opacity: 0;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
  color: var(--ink-faint);
  transition: opacity .8s var(--ease) .45s;
}
.seam::before { left: calc(var(--gutter) - 26px); }
.seam::after  { right: calc(var(--gutter) - 26px); }
.seam.is-in::before, .seam.is-in::after { opacity: .55; }

/* Tone changes so the page breathes between chapters. */
.tone-deep { background: var(--paper-deep); }
.seam-to-deep   { background: linear-gradient(to bottom, var(--paper), var(--paper-deep)); }
.seam-to-paper  { background: linear-gradient(to bottom, var(--paper-deep), var(--paper)); }
.seam-to-ink    { background: linear-gradient(to bottom, var(--paper-deep), var(--ink)); }
.seam-to-ink .seam__bar { opacity: .95; }
.seam-to-ink::before, .seam-to-ink::after { color: rgba(250,248,243,.6); }

/* ------------------------------------------------------------------ nav */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: .85rem var(--gutter);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transform: translateY(-100%);
  transition: transform .5s var(--ease), border-color .4s linear;
}
.nav.is-visible { transform: none; border-bottom-color: var(--line); }

.nav__brand {
  display: flex; align-items: center; gap: .6rem;
  text-decoration: none; white-space: nowrap;
}
.nav__mark { display: flex; }
.nav__mark i {
  width: 11px; height: 11px; border-radius: 2px;
  mix-blend-mode: multiply; opacity: .9;
  transition: transform .6s var(--ease);
}
.nav__mark i:nth-child(1) { background: var(--ochre); }
.nav__mark i:nth-child(2) { background: var(--cobalt);     margin-left: -4px; }
.nav__mark i:nth-child(3) { background: var(--vermillion); margin-left: -4px; }
/* the plates pull apart into register on hover */
.nav__brand:hover .nav__mark i:nth-child(1) { transform: translate(-3px, -2px); }
.nav__brand:hover .nav__mark i:nth-child(3) { transform: translate(3px, 2px); }

.nav__name {
  font-family: "Instrument Serif", Georgia, serif; font-size: 1.1rem; letter-spacing: -.01em;
}
.nav__links { display: flex; gap: clamp(.9rem, 2vw, 2rem); }
.nav__links a {
  font-size: .82rem; text-decoration: none; color: var(--ink-soft);
  position: relative; padding-block: .2rem;
  transition: color .25s var(--ease-soft);
}
/* each link carries one of the plate colours */
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--plate, currentColor); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__links a:nth-child(3n+1) { --plate: var(--cobalt); }
.nav__links a:nth-child(3n+2) { --plate: var(--vermillion); }
.nav__links a:nth-child(3n+3) { --plate: var(--ochre); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
@media (max-width: 720px) { .nav__links a:nth-child(n+5) { display: none; } }

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

/* A wall of prints, drifting. The columns move at different speeds and the
   whole thing dissolves into the paper, so the name below reads as ink on
   the page rather than as a caption stuck on a photograph. */
.hero {
  position: relative; min-height: 100svh;
  display: grid; align-items: end;
  padding: 0 0 clamp(2.6rem, 7vh, 5.5rem);
  overflow: clip; isolation: isolate;
}

.hero__wall {
  position: absolute; inset: -6% 0 0 0; z-index: 0;
  display: grid; gap: clamp(.5rem, 1.1vw, 1rem);
  grid-template-columns: repeat(2, 1fr);
  padding-inline: clamp(.5rem, 1.1vw, 1rem);
  will-change: transform;
}
@media (min-width: 720px)  { .hero__wall { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .hero__wall { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1560px) { .hero__wall { grid-template-columns: repeat(5, 1fr); } }

.hero__col {
  display: flex; flex-direction: column; gap: clamp(.5rem, 1.1vw, 1rem);
  animation: drift var(--dur, 90s) linear infinite;
  animation-direction: var(--dir, normal);
}
.hero__col img {
  width: 100%; height: auto; display: block;
  background: var(--paper-deep);
  /* Settle the colour a touch so the name stays the loudest thing. */
  filter: saturate(.92) contrast(1.02);
}
@keyframes drift { from { transform: translate3d(0,0,0); } to { transform: translate3d(0,-50%,0); } }

/* Paper wins the bottom of the frame. */
.hero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to bottom,
      color-mix(in srgb, var(--paper) 18%, transparent) 0%,
      transparent 10%,
      transparent 34%,
      color-mix(in srgb, var(--paper) 22%, transparent) 45%,
      color-mix(in srgb, var(--paper) 58%, transparent) 54%,
      color-mix(in srgb, var(--paper) 88%, transparent) 62%,
      var(--paper) 70%,
      var(--paper) 100%);
}

.hero__inner { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(3rem, 1.1rem + 9vw, 10rem);
  line-height: .98; letter-spacing: -.028em;
  text-wrap: balance; color: var(--ink);
}
.hero__sub {
  margin-top: clamp(1rem, 2vw, 1.7rem);
  display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.4rem;
  font-size: clamp(.86rem, .8rem + .3vw, 1rem);
  color: var(--ink-soft);
}
.hero__sub .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .38; }

.hero__cue {
  position: absolute; left: 50%; bottom: 1.5rem; z-index: 3;
  translate: -50% 0; width: 1px; height: 44px;
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--ink) 28%, transparent));
}
.hero__cue::after {
  content: ""; position: absolute; inset: 0;
  background: var(--ink); opacity: .55;
  animation: cue 2.8s var(--ease) infinite;
}
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; }
                 45% { transform: scaleY(1); transform-origin: top; }
                 55% { transform: scaleY(1); transform-origin: bottom; }
                 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ------------------------------------------------------------- progress */

.progress {
  position: fixed; inset: 0 auto auto 0; z-index: 70;
  height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--cobalt), var(--vermillion), var(--ochre));
}

/* ---------------------------------------------------------------- intro */

.intro__grid {
  display: grid; gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .intro__grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.intro__plate { margin-top: clamp(2.2rem, 4vw, 3.4rem); max-width: 30rem; perspective: 1100px; }
.intro__cap { font-size: .8rem; color: var(--ink-faint); margin-top: .8rem; }

.pull {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.6rem, 1.1rem + 2.3vw, 3.1rem);
  line-height: 1.16; letter-spacing: -.02em;
  text-wrap: balance;
}
.pull em { font-style: italic; }

.intro__body p { margin: 0 0 1.1rem; color: var(--ink-soft); max-width: 48ch; }
.intro__body p:first-child { color: var(--ink); }

.facts { display: flex; flex-wrap: wrap; gap: clamp(1.4rem, 3vw, 2.8rem); margin-top: 2rem; }
.fact__n {
  font-family: "Instrument Serif", Georgia, serif; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.9rem);
  line-height: 1; display: block;
}
.fact__l { font-size: .78rem; color: var(--ink-faint); margin-top: .35rem; }

/* ---------------------------------------------------------------- werke */

.filters { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 2.4rem; }
.filter {
  font: inherit; font-size: .8rem; cursor: pointer;
  padding: .42rem .9rem; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--ink-soft);
  transition: background .3s var(--ease-soft), color .3s var(--ease-soft),
              border-color .3s var(--ease-soft), transform .3s var(--ease);
}
.filter:hover { border-color: var(--ink-faint); transform: translateY(-1px); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.grid {
  columns: 1; column-gap: clamp(.9rem, 2vw, 1.8rem);
}
@media (min-width: 620px)  { .grid { columns: 2; } }
@media (min-width: 1040px) { .grid { columns: 3; } }
@media (min-width: 1600px) { .grid { columns: 4; } }

.card {
  break-inside: avoid; margin-bottom: clamp(.9rem, 1.8vw, 1.5rem);
  position: relative; cursor: pointer;
  perspective: 1100px;
}
.card.is-hidden { display: none; }

/* A sheet behind glass: paper mat, a hairline where the glass sits, and a
   shadow that puts it a few millimetres off the wall. */
.frame {
  position: relative;
  background: linear-gradient(168deg, #FFFEFB 0%, #F7F3EA 100%);
  padding: clamp(10px, 1.5vw, 20px);
  transform-style: preserve-3d;
  clip-path: inset(0 0 100% 0);
  box-shadow:
    inset 0 0 0 1px rgba(26,22,16,.08),
    0 1px 1px rgba(26,22,16,.05),
    0 10px 20px -12px rgba(26,22,16,.32);
  transition:
    clip-path 1.05s var(--ease),
    box-shadow .55s var(--ease),
    transform .55s var(--ease);
  transition-delay: var(--d, 0ms);
}
.card.is-in .frame, .tile.is-in .frame { clip-path: inset(0 0 0 0); }

.frame__mat { position: relative; transform: translateZ(14px); }
.frame__mat img { width: 100%; display: block; }
/* the glass line */
.frame__mat::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(26,22,16,.13);
}
.card:hover .frame {
  box-shadow:
    inset 0 0 0 1px rgba(26,22,16,.09),
    0 3px 5px rgba(26,22,16,.07),
    0 30px 50px -20px rgba(26,22,16,.42);
}

.card__meta {
  position: absolute; inset: auto 0 0 0;
  padding: 2.4rem 1rem .9rem;
  color: #fff;
  background: linear-gradient(to top, rgba(14,12,16,.86), rgba(14,12,16,0));
  opacity: 0; transform: translateY(6px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.card:hover .card__meta, .card:focus-visible .card__meta { opacity: 1; transform: none; }
.card__title { font-family: "Instrument Serif", Georgia, serif; font-size: 1.05rem; line-height: 1.2; }
.card__sub { font-size: .76rem; opacity: .78; margin-top: .2rem; }

/* Shared by the "Neue Blätter" tiles. */
.tile { margin: 0; cursor: pointer; perspective: 1100px; }
.tile .frame { padding: clamp(8px, 1.1vw, 14px); }
.tile:hover .frame {
  transform: translateY(-3px);
  box-shadow:
    inset 0 0 0 1px rgba(26,22,16,.09),
    0 3px 5px rgba(26,22,16,.07),
    0 26px 44px -20px rgba(26,22,16,.4);
}

/* ------------------------------------------------------------ werkstatt */

.werkstatt { background: #131217; color: #F3F0EA; }
.werkstatt .eyebrow { color: rgba(243,240,234,.5); }
.werkstatt .lede { color: rgba(243,240,234,.72); }

.strip {
  display: grid; gap: clamp(.6rem, 1.4vw, 1.1rem);
  grid-template-columns: repeat(2, 1fr);
  margin-top: clamp(2.2rem, 5vw, 3.6rem);
}
@media (min-width: 760px)  { .strip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .strip { grid-template-columns: repeat(4, 1fr); } }
.strip figure { margin: 0; overflow: hidden; background: #1C1B21; aspect-ratio: 4 / 3; cursor: pointer; }
.tile--photo {
  opacity: 0; transform: translateY(14px) scale(.985);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  transition-delay: var(--d, 0ms);
}
.tile--photo.is-in { opacity: 1; transform: none; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .6s; }
.strip figure:hover img { transform: scale(1.06); }
.strip figure:nth-child(4n+1) { grid-row: span 1; }

.film {
  position: relative; margin-top: clamp(2.4rem, 5vw, 4rem);
  aspect-ratio: 16 / 9; overflow: hidden; background: #000; cursor: pointer;
}
.film img { width: 100%; height: 100%; object-fit: cover; opacity: .62; transition: opacity .6s var(--ease), transform .9s var(--ease); }
.film:hover img { opacity: .48; transform: scale(1.03); }
.film iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* One centred column — a two-row grid put the label in the lower half. */
.film__play {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; color: #fff; text-align: center; pointer-events: none;
}
.film__disc {
  width: clamp(58px, 7vw, 84px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.55); display: grid; place-items: center;
  transition: background .4s var(--ease-soft), transform .5s var(--ease), border-color .4s;
}
.film:hover .film__disc { background: rgba(255,255,255,.14); transform: scale(1.06); border-color: #fff; }
.film__disc svg { width: 26%; translate: 12% 0; }
.film__label { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.film__corner {
  position: absolute; left: clamp(.9rem, 2vw, 1.6rem); bottom: clamp(.9rem, 2vw, 1.6rem);
  font-size: .72rem; letter-spacing: .12em; color: rgba(255,255,255,.55);
  font-variant-numeric: tabular-nums; pointer-events: none;
}

/* -------------------------------------------------------- ausstellungen */

.ex { border-top: 1px solid var(--line); }
.ex__item {
  display: grid; gap: clamp(.6rem, 2vw, 2.4rem);
  grid-template-columns: 1fr;
  padding-block: clamp(1.5rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background .4s var(--ease-soft);
}
@media (min-width: 880px) {
  .ex__item { grid-template-columns: 8rem 1fr 11rem; align-items: center; }
}
.ex__item:hover { background: color-mix(in srgb, var(--paper-deep) 60%, transparent); }

.ex__year {
  font-family: "Instrument Serif", Georgia, serif; font-size: 1.45rem; color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.ex__title { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(1.15rem, 1rem + .7vw, 1.7rem); line-height: 1.2; }
.ex__where { color: var(--ink-soft); font-size: .92rem; margin-top: .35rem; }
.ex__note  { color: var(--ink-faint); font-size: .84rem; margin-top: .3rem; }
.ex__dates { color: var(--ink-faint); font-size: .86rem; font-variant-numeric: tabular-nums; }
@media (min-width: 880px) { .ex__dates { text-align: right; } }

.ex__poster {
  margin-top: .9rem; width: min(190px, 46%); cursor: pointer;
  border: 1px solid var(--line); background: #fff;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.ex__poster:hover { transform: translateY(-3px) rotate(-.5deg); box-shadow: 0 16px 36px -16px rgba(20,18,15,.35); }

/* ----------------------------------------------------------------- vita */

.vita__grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: 1fr; }
@media (min-width: 900px) { .vita__grid { grid-template-columns: .9fr 1.1fr; } }

.vita__list { list-style: none; margin: 0; padding: 0; }
.vita__list li {
  display: grid; gap: .1rem .5rem; padding-block: .95rem;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 9rem 1fr;
}
@media (max-width: 620px) { .vita__list li { grid-template-columns: 1fr; } }
.vita__when { font-size: .82rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; padding-top: .15rem; }
.vita__what { font-weight: 500; }
.vita__detail { font-size: .86rem; color: var(--ink-faint); grid-column: 2; }
@media (max-width: 620px) { .vita__detail { grid-column: 1; } }

.portrait { background: var(--paper-deep); overflow: hidden; }
.portrait img { width: 100%; will-change: transform; }

/* --------------------------------------------------------------- presse */

.quote {
  border-left: 2px solid var(--vermillion);
  padding-left: clamp(1.1rem, 2.5vw, 2rem);
  max-width: 54ch;
}
.quote p {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.15rem, 1rem + .9vw, 1.65rem);
  line-height: 1.34; margin: 0 0 1rem;
}
.quote__src { font-size: .84rem; color: var(--ink-faint); }
.quote__src a { color: var(--cobalt); text-underline-offset: 3px; }

/* -------------------------------------------------------------- kontakt */

.kontakt { background: var(--ink); color: var(--paper); }
.kontakt .eyebrow { color: rgba(250,248,243,.45); }
.kontakt a { text-decoration: none; }

.kontakt__call {
  font-size: clamp(2.2rem, 1.3rem + 3.8vw, 4.6rem);
  line-height: 1.02; letter-spacing: -.02em;
  margin-top: 1.4rem;
}
.kontakt__line {
  margin: 1.4rem 0 0;
  max-width: 44ch;
  font-size: clamp(1rem, .95rem + .35vw, 1.2rem);
  color: rgba(250,248,243,.66);
}

.mailto {
  display: inline-block; margin-top: 2.6rem;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.25rem, .85rem + 2.2vw, 2.6rem);
  letter-spacing: -.02em; line-height: 1.1;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .55s var(--ease);
  word-break: break-word;
}
.mailto:hover { background-size: 100% 1px; }

.kontakt__meta {
  display: flex; flex-wrap: wrap; gap: 1rem 2.6rem; margin-top: 2.8rem;
  font-size: .9rem; color: rgba(250,248,243,.66);
}
.kontakt__meta a { border-bottom: 1px solid rgba(250,248,243,.28); padding-bottom: 1px; }
.kontakt__meta a:hover { border-bottom-color: currentColor; }

.foot {
  padding: clamp(2.6rem, 6vw, 4.4rem) var(--gutter) 2.6rem;
  background: var(--ink); color: rgba(250,248,243,.38);
  border-top: 1px solid rgba(250,248,243,.12);
}

/* The three plates, overprinting — the same mark as the app. */
.foot__mark { display: flex; }
.foot__mark i {
  width: 22px; height: 22px; border-radius: 3px;
  mix-blend-mode: screen; opacity: .78;
}
.foot__mark i:nth-child(1) { background: var(--ochre); }
.foot__mark i:nth-child(2) { background: var(--cobalt); margin-left: -7px; }
.foot__mark i:nth-child(3) { background: var(--vermillion); margin-left: -7px; }

.foot__coda {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.3rem, 1rem + 1.6vw, 2.2rem);
  line-height: 1.2; letter-spacing: -.01em;
  color: rgba(250,248,243,.82);
  margin: 1.2rem 0 clamp(2.4rem, 5vw, 3.6rem);
  max-width: 24ch;
}

.foot__row {
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem;
  justify-content: space-between;
  font-size: .76rem;
  border-top: 1px solid rgba(250,248,243,.1);
  padding-top: 1.4rem;
}

/* ------------------------------------------------------------- lightbox */

.lb {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(12,11,14,.94);
  display: grid; grid-template-rows: 1fr auto; place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0; pointer-events: none;
  transition: opacity .42s var(--ease);
}
.lb.is-open { opacity: 1; pointer-events: auto; }
.lb__img {
  max-width: 100%; max-height: 74svh; object-fit: contain;
  transform: scale(.97); opacity: 0;
  transition: transform .5s var(--ease), opacity .4s var(--ease);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.9);
}
.lb.is-open .lb__img { transform: none; opacity: 1; }
.lb__cap { color: #fff; text-align: center; margin-top: 1.4rem; max-width: 60ch; }
.lb__t { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(1.1rem, 1rem + .7vw, 1.6rem); }
.lb__s { font-size: .86rem; color: rgba(255,255,255,.62); margin-top: .35rem; }
.lb__btn {
  position: fixed; top: 50%; translate: 0 -50%;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.2);
  color: #fff; cursor: pointer; display: grid; place-items: center;
  transition: background .3s, transform .3s var(--ease);
}
.lb__btn:hover { background: rgba(255,255,255,.2); transform: translateY(-50%) scale(1.06); }
.lb__prev { left: clamp(.5rem, 2vw, 2rem); }
.lb__next { right: clamp(.5rem, 2vw, 2rem); }
.lb__close { position: fixed; top: clamp(.8rem, 2vw, 1.6rem); right: clamp(.8rem, 2vw, 1.6rem); translate: 0; }
@media (max-width: 620px) { .lb__prev, .lb__next { display: none; } }

/* --------------------------------------------------------------- reveal */

[data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* Headings arrive word by word.
   The mask has to be taller than the line box or it shaves the descenders
   off "Jürgen" and the accents off "Ü". Padding grows the clipping box;
   the matching negative margin keeps the layout exactly where it was. */
[data-split] { --wd: 0ms; }
[data-split] .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-block: .16em .28em;
  margin-block: -.16em -.28em;
}
[data-split] .word > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform .95s var(--ease);
  transition-delay: calc(var(--i, 0) * 75ms + var(--wd));
}
[data-split].is-in .word > span { transform: none; }

/* A whisper of tilt under the pointer — the sheet leans, the frame with it. */
.card.is-tilting .frame {
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-5px);
  transition: transform .2s linear, box-shadow .55s var(--ease), clip-path 1.05s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .frame { clip-path: none !important; }
  .tile--photo { opacity: 1 !important; transform: none !important; }

  [data-split] .word > span { transform: none !important; }
  .hero__col { animation: none !important; }
  .seam__bar { transform: none !important; }
  .hero__cue::after { animation: none; }
  .progress { display: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
