/* isabelle-duchene.com — the “plakat” design
   The motion designer's side: a poster. Isabelle's own colours (pink, orange,
   rose, ink) as full colour blocks that stack like sheets, a heavy grotesque in
   lowercase, and her Playfair italic kept for the one word that matters. */

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url(/assets/fonts/bricolage.woff2) format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url(/assets/fonts/playfair-italic.woff2) format("woff2");
  font-weight: 400 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url(/assets/fonts/figtree.woff2) format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}

:root {
  --ink: #121417;
  --paper: #f6f2ea;
  --pink: #ff85e0;
  --orange: #fc5316;
  --rose: #d9b3a6;
  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --r: clamp(1.1rem, 2.2vw, 2rem);        /* frames and cards */
  --sheet: clamp(1.6rem, 4vw, 3.2rem);    /* top corners of a colour block */
  --header-h: 84px;
  /* a block sets these four; everything inside reads them */
  --bg: var(--paper); --fg: var(--ink); --accent: var(--orange); --card: #ebe4d6;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); background: var(--ink); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, iframe { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul { padding: 0; margin: 0; list-style: none; }
figure { margin: 0; }
::selection { background: var(--ink); color: var(--pink); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: .92;
  margin: 0 0 .45em;
  text-transform: lowercase;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 10.4vw, 10rem); line-height: .88; letter-spacing: -.025em; }
h2 { font-size: clamp(2.3rem, 6.4vw, 5.4rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1; letter-spacing: -.015em; }
/* the one italic word: her serif, in the block's accent colour */
em, .accent, .rotator > span {
  font: italic 500 1.04em/1 var(--serif); letter-spacing: -.03em; color: var(--accent);
}

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.narrow { max-width: 46rem; }
.eyebrow, .kind {
  display: inline-block; margin-bottom: 1.4rem;
  padding: .55em 1.1em; border-radius: 999px;
  background: var(--fg); color: var(--bg);
  font: 700 .7rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
}
.lead { font-size: clamp(1.12rem, 1.6vw, 1.35rem); line-height: 1.45; font-weight: 500; max-width: 36rem; }
.muted { opacity: .75; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: .5rem 1rem; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--fg); outline-offset: 3px; }

/* --- colour blocks: each one is a sheet lying on top of the one before --- */
.block, .section {
  position: relative;
  background: var(--bg); color: var(--fg);
  padding-block: clamp(4rem, 9vw, 7.5rem) calc(clamp(4rem, 9vw, 7.5rem) + var(--sheet));
  margin-top: calc(-1 * var(--sheet));
  border-radius: var(--sheet) var(--sheet) 0 0;
}
main > :first-child { margin-top: 0; border-radius: 0; padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)); }
.block--ink { --bg: var(--ink); --fg: var(--paper); --accent: var(--pink); --card: #20242a; }
.block--pink { --bg: var(--pink); --fg: var(--ink); --accent: var(--ink); --card: #ffa3e8; }
.block--orange { --bg: var(--orange); --fg: var(--ink); --accent: var(--paper); --card: #ff7443; }
.block--rose { --bg: var(--rose); --fg: var(--ink); --accent: var(--ink); --card: #e6c8bd; }
.section__head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 60rem) {
  .section__head--split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: end; }
  .section__head--split > :last-child { margin-bottom: 1.6rem; }
}

/* --- buttons: fat pills that lift off the sheet --- */
.btn {
  display: inline-flex; align-items: center; gap: .7em;
  padding: 1.05em 1.5em 1.05em 1.7em; border-radius: 999px;
  background: var(--fg); color: var(--bg);
  font: 700 1rem/1 var(--sans); text-decoration: none;
  transition: translate .2s, box-shadow .2s;
}
.btn::after { content: "→"; font-size: 1.15em; line-height: .8; transition: translate .2s; }
.btn:hover { translate: -2px -4px; box-shadow: 4px 7px 0 var(--accent); }
.btn:hover::after { translate: 3px 0; }
.btn--ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 2px var(--fg); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--fg), 4px 7px 0 var(--accent); }
.block--pink .btn:hover, .block--rose .btn:hover { box-shadow: 4px 7px 0 var(--paper); }
.block--pink .btn--ghost:hover, .block--rose .btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--fg), 4px 7px 0 var(--paper); }
.link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; }
.link:hover { text-decoration-thickness: 4px; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* --- header: a floating pill --- */
.site-header {
  position: fixed; top: 14px; left: 50%; translate: -50% 0; z-index: 50;
  display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.2rem);
  max-width: calc(100% - 2 * var(--gutter)); width: max-content;
  padding: .5rem .55rem .5rem 1.3rem; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  box-shadow: 0 0 0 1px rgb(246 242 234 / .16), 0 14px 30px -14px rgb(0 0 0 / .5);
}
.brand { display: block; flex: none; }
.brand__logo { width: 46px; height: auto; }
.site-nav ul { display: flex; align-items: center; gap: clamp(.9rem, 1.8vw, 1.7rem); }
.site-nav a { font: 600 .92rem/1 var(--sans); text-decoration: none; text-transform: lowercase; white-space: nowrap; transition: color .2s; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--pink); }
.site-nav li:last-child a { display: block; padding: .8em 1.2em; border-radius: 999px; background: var(--pink); color: var(--ink); transition: background .2s; }
.site-nav li:last-child a:hover, .site-nav li:last-child a[aria-current] { background: var(--orange); color: var(--ink); }
.nav-toggle, .nav-close { display: none; }

@media (min-width: 60.01rem) {
  .site-nav[popover] {
    display: block; position: static; inset: auto; margin: 0; padding: 0;
    border: 0; background: none; color: inherit; overflow: visible; width: auto; height: auto;
  }
}
@media (max-width: 60rem) {
  .site-header { width: calc(100% - 2 * var(--gutter)); justify-content: space-between; }
  .nav-toggle {
    display: block; padding: .85em 1.3em; border: 0; border-radius: 999px; cursor: pointer;
    background: var(--pink); color: var(--ink); font: 700 .9rem/1 var(--sans);
  }
  .site-nav[popover] {
    inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none;
    margin: 0; border: 0; padding: 5.5rem var(--gutter) 2rem;
    background: var(--pink); color: var(--ink);
  }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: .35rem; }
  .site-nav a, .site-nav li:last-child a { display: block; padding: 0; background: none; font: 800 clamp(2.4rem, 12vw, 3.6rem)/1.02 var(--display); letter-spacing: -.025em; white-space: normal; }
  .site-nav a:hover, .site-nav a[aria-current], .site-nav li:last-child a:hover, .site-nav li:last-child a[aria-current] { background: none; color: var(--paper); }
  .nav-close {
    display: block; position: absolute; top: 20px; right: var(--gutter);
    padding: .85em 1.3em; border: 0; border-radius: 999px; cursor: pointer;
    background: var(--ink); color: var(--paper); font: 700 .9rem/1 var(--sans);
  }
}

/* --- frames --- */
.screen { position: relative; border-radius: var(--r); overflow: hidden; background: var(--card); }
.screen > img, .screen > video { width: 100%; height: 100%; object-fit: cover; }
.loop { width: 100%; }
.screen--wide { aspect-ratio: 16 / 10; }
@media (min-width: 52rem) { .screen--wide { aspect-ratio: 2.4 / 1; } }

/* --- home hero --- */
.hero h1 { margin-bottom: .3em; }
.hero__row { margin-bottom: clamp(3.2rem, 5vw, 3.5rem); }
@media (min-width: 52rem) { .hero__row { padding-right: 14rem; } }
.hero__row .actions { margin-top: 1.6rem; }
.hero__stage { position: relative; }
.hero__stage .screen { aspect-ratio: 16 / 10; }
@media (min-width: 52rem) { .hero__stage .screen { aspect-ratio: 2.2 / 1; } }

/* round sticker with text running around it */
.badge { position: absolute; z-index: 2; width: clamp(6.5rem, 14vw, 11.5rem); height: auto; top: 0; right: clamp(.5rem, 4vw, 4rem); translate: 0 -62%; animation: spin 22s linear infinite; }
.badge circle { fill: var(--pink); }
.badge text { font: 700 13.5px var(--sans); letter-spacing: .02em; text-transform: uppercase; fill: var(--ink); }
.badge path.star { stroke: var(--ink); stroke-width: 9; stroke-linecap: round; fill: none; }
@keyframes spin { to { rotate: 360deg; } }

/* rotating words (pure CSS) */
.rotator { display: inline-grid; vertical-align: baseline; }
.rotator > span { grid-area: 1 / 1; justify-self: start; opacity: 0; animation: rotate-word 10s infinite; }
.rotator > span:nth-child(2) { animation-delay: 2.5s; }
.rotator > span:nth-child(3) { animation-delay: 5s; }
.rotator > span:nth-child(4) { animation-delay: 7.5s; }
@keyframes rotate-word {
  0% { opacity: 0; transform: translateY(.35em) rotate(4deg); }
  4%, 21% { opacity: 1; transform: none; }
  25%, 100% { opacity: 0; transform: translateY(-.35em) rotate(-4deg); }
}
.rotator--3 > span { animation-name: rotate-word-3; animation-duration: 7.5s; }
@keyframes rotate-word-3 {
  0% { opacity: 0; transform: translateY(.35em) rotate(4deg); }
  5.33%, 28% { opacity: 1; transform: none; }
  33.33%, 100% { opacity: 0; transform: translateY(-.35em) rotate(-4deg); }
}

/* --- ticker --- */
.ticker { overflow: hidden; background: var(--ink); color: var(--pink); padding-block: clamp(1rem, 2.2vw, 1.6rem) calc(clamp(1rem, 2.2vw, 1.6rem) + var(--sheet)); margin-top: calc(-1 * var(--sheet)); border-radius: var(--sheet) var(--sheet) 0 0; position: relative; }
.ticker__track { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.ticker__track > ul { display: flex; flex: none; }
.ticker li { display: flex; align-items: center; font: 800 clamp(1.6rem, 4.2vw, 3.4rem)/1 var(--display); letter-spacing: -.02em; text-transform: lowercase; white-space: nowrap; }
.ticker li::after { content: ""; width: .42em; height: .42em; border-radius: 50%; background: var(--orange); margin-inline: .7em; }
.ticker li:nth-child(even) { font: italic 500 clamp(1.7rem, 4.4vw, 3.6rem)/1 var(--serif); letter-spacing: -.03em; color: var(--paper); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* --- poster: top of the other pages --- */
.poster h1 { margin-bottom: .35em; hyphens: manual; }
.poster__grid { display: grid; gap: 2rem; align-items: end; }
.poster__grid .screen { aspect-ratio: 16 / 10; }
@media (min-width: 60rem) {
  .poster__grid { grid-template-columns: 1fr 1.7fr; gap: 3.5rem; }
  .poster__grid .screen { aspect-ratio: 16 / 9; }
}

/* --- category tiles --- */
.tiles { display: grid; gap: clamp(.9rem, 1.6vw, 1.4rem); }
@media (min-width: 46rem) { .tiles { grid-template-columns: 1fr 1fr; } }
.tile {
  --bg: var(--paper); --fg: var(--ink);
  display: grid; grid-template-columns: 1fr; gap: 1.4rem;
  padding: clamp(1.1rem, 2vw, 1.6rem); border-radius: var(--r);
  background: var(--bg); color: var(--fg); text-decoration: none;
  transition: translate .3s cubic-bezier(.2,.7,.2,1), rotate .3s cubic-bezier(.2,.7,.2,1);
}
.tile:nth-child(4n+2) { --bg: var(--orange); }
.tile:nth-child(4n+3) { --bg: var(--pink); }
.tile:nth-child(4n+4) { --bg: var(--rose); }
.tile > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--r) * .7); transition: rotate .4s cubic-bezier(.2,.7,.2,1), scale .4s cubic-bezier(.2,.7,.2,1); }
.tile__text { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.tile h3 { font-size: clamp(1.6rem, 2.35vw, 2.1rem); margin-bottom: .45em; }
.tile p { font-weight: 500; line-height: 1.4; margin-bottom: 1rem; }
.tile__no { font: 700 .75rem/1 var(--sans); letter-spacing: .1em; margin-bottom: auto; padding-bottom: 1.6rem; }
.tile__go { margin-top: 1.2rem; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 1.2rem; transition: rotate .3s; }
.tile:hover { translate: 0 -5px; }
.tile:hover > img { scale: 1.03; }
.tile:hover .tile__go { rotate: -45deg; }
@media (min-width: 34rem) {
  .tile { grid-template-columns: 1.15fr 1fr; align-items: stretch; }
  .tile > img { order: 2; height: 100%; aspect-ratio: 1 / 1; }
}
/* Home page: the categories one below the other, each with a wide picture.
   (Own colour order here: paper, orange, rose, pink.) */
.tiles--rows { grid-template-columns: 1fr; }
.tiles--rows .tile:nth-child(4n+3) { --bg: var(--rose); }
.tiles--rows .tile:nth-child(4n+4) { --bg: var(--pink); }
.tiles--rows .tile > img { aspect-ratio: 16 / 9; height: auto; }
@media (min-width: 46rem) {
  .tiles--rows .tile { grid-template-columns: 1fr 1.5fr; align-items: stretch; gap: clamp(1.4rem, 3vw, 2.6rem); }
  .tiles--rows .tile > img { order: 2; align-self: center; }
  .tiles--rows .tile h3 { font-size: clamp(2rem, 3.4vw, 3rem); }
  .tiles--rows .tile p { max-width: 26rem; }
}
@media (min-width: 34rem) and (max-width: 45.99rem) {
  .tiles--rows .tile { grid-template-columns: 1fr; }
  .tiles--rows .tile > img { order: 0; }
}
/* Calmer here: the picture stays still, the row only lifts a little on hover
   and fades in without the bounce. */
.tiles--rows .tile:hover { translate: 0 -3px; }
.tiles--rows .tile:hover > img { scale: none; }
@media (prefers-reduced-motion: no-preference) {
  .tiles--rows .tile { transition: opacity .5s ease, transform .5s ease, translate .3s ease; }
  .tiles--rows .tile.reveal { transform: translateY(12px); }
  .tiles--rows .tile.reveal.is-visible { transform: none; }
}
.tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.tags li { font: 600 .74rem/1 var(--sans); padding: .45em .8em; border: 1.5px solid currentColor; border-radius: 999px; }

/* --- split layout --- */
.split { display: grid; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (min-width: 52rem) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-media { grid-template-columns: 1.2fr 1fr; }
  .split--wide-media-right { grid-template-columns: 1fr 1.2fr; align-items: start; }
}
.split .screen > img { height: auto; }
/* a cut-out picture: no card behind it, the section colour shows through */
.screen--bare { background: none; border-radius: 0; }

.quote { margin: 2.2rem 0 0; }
.quote p { font: italic 500 clamp(1.7rem, 3.2vw, 2.6rem)/1.12 var(--serif); letter-spacing: -.02em; margin-bottom: .7rem; }
.quote cite { font: 700 .72rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }

/* --- CTA --- */
.cta { text-align: center; }
.cta h2 { font-size: clamp(2.8rem, 10.5vw, 9.5rem); line-height: .88; letter-spacing: -.025em; }
.cta .narrow { max-width: 70rem; }
.cta .lead { margin-inline: auto; }
.cta .actions { justify-content: center; }
/* a picture fills the whole top of the page, the words sit on it (no veil over the picture) */
.poster--cover { display: grid; align-items: end; min-height: min(100svh, 60rem); overflow: hidden; }
.poster__bg { position: absolute; inset: 0; }
.poster__bg img, .poster__bg video { width: 100%; height: 100%; object-fit: cover; }
.poster__bg .focus-upper { object-position: 50% 30%; }  /* when cropped, keep the upper part (a face) */
.poster--cover .wrap { position: relative; }
.poster--orange { --fg: var(--orange); --accent: var(--orange); }
.poster--rose { --fg: var(--rose); --accent: var(--rose); }
.poster--cover h1, .poster--cover .lead, .poster--cover .eyebrow { text-shadow: 0 1px 18px rgb(0 0 0 / .45); }
.poster--cover.block--pink :is(h1, .lead, .eyebrow) { text-shadow: none; }  /* dark words on a light picture need none */


/* --- works --- */
.works { display: grid; gap: clamp(1rem, 2vw, 1.6rem); counter-reset: work; }
.work {
  display: grid; gap: 1.4rem 2.5rem; align-items: center;
  padding: clamp(.7rem, 1.2vw, 1rem); border-radius: calc(var(--r) + .6rem);
  background: var(--card);
}
.work > div:last-child { padding: .4rem clamp(.6rem, 2vw, 1.6rem) 1.2rem; }
.work > div:last-child::before {
  counter-increment: work; content: counter(work, decimal-leading-zero);
  display: block; margin-bottom: .25em;
  font: 800 clamp(3rem, 6vw, 5rem)/.9 var(--display); letter-spacing: -.04em; color: var(--accent);
}
@media (min-width: 52rem) {
  .work { grid-template-columns: 1.7fr 1fr; }
  .work:nth-child(even) { grid-template-columns: 1fr 1.7fr; }
  .work:nth-child(even) > :first-child { order: 2; }
  .work > div:last-child { padding-block: 1rem; }
}
.work h3 { margin-bottom: .5em; }
.work .kind { margin-bottom: .9rem; }
.credits { font-size: .92rem; line-height: 1.5; opacity: .8; }
.credits li { padding-block: .1rem; }

@media (min-width: 52rem) {
  .works--grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .works--grid .work, .works--grid .work:nth-child(even) { grid-template-columns: 1fr; align-items: start; }
  .works--grid .work:nth-child(even) > :first-child { order: 0; }
}
.works--grid .work > div:last-child { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1.1rem; align-items: start; padding-block: .2rem 1rem; }
.works--grid .work > div:last-child::before { grid-row: 1 / span 2; font-size: clamp(2.2rem, 3.6vw, 3rem); margin: 0; }
.works--grid .kind { justify-self: start; margin: .2rem 0 .5rem; }
.works--grid h3 { grid-column: 2; font-size: clamp(1.25rem, 1.9vw, 1.6rem); margin: 0; }

/* films: the picture is the project. Full width, square corners, a quiet line of text below. */
.works--film { gap: clamp(3.5rem, 8vw, 7rem); }
.works--film .work, .works--film .work:nth-child(even) { grid-template-columns: 1fr; gap: 1.1rem; padding: 0; border-radius: 0; background: none; }
.works--film .work:nth-child(even) > :first-child { order: 0; }
.works--film .embed { border-radius: 0; }
.works--film .work > div:last-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; padding: 0; }
.works--film .work > div:last-child::before { margin: 0; font: 700 .8rem/1 var(--sans); letter-spacing: .1em; }
.works--film h3 { margin: 0; font-size: clamp(1.3rem, 2.2vw, 1.8rem); }
.works--film .credits { flex: 1 1 18rem; max-width: 34rem; margin-left: auto; }
.works--film .strip { gap: clamp(.3rem, .6vw, .5rem); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 46rem) { .works--film .strip { grid-template-columns: repeat(3, 1fr); } }
.works--film .strip a { display: block; overflow: hidden; cursor: zoom-in; }
.works--film .strip img { border-radius: 0; transition: scale .5s cubic-bezier(.2,.7,.2,1); }
.works--film .strip a:hover img { scale: 1.04; }
body:has(.works--film) .lightbox img { border-radius: 0; }

.embed { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; }
.embed img, .embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.embed img { transition: scale .6s cubic-bezier(.2,.7,.2,1); }
.embed:hover img { scale: 1.04; }
.embed__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: clamp(4rem, 7vw, 5.5rem); aspect-ratio: 1; border-radius: 50%;
  background: var(--orange); transition: scale .25s, background .25s;
}
.embed__play::after {
  content: ""; position: absolute; left: 54%; top: 50%; translate: -50% -50%;
  border-style: solid; border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--ink);
}
.embed:hover .embed__play { scale: 1.14; background: var(--pink); }
.embed__note {
  position: absolute; left: .8rem; bottom: .8rem;
  font: 600 .7rem/1 var(--sans); color: var(--paper); background: var(--ink); padding: .5em .9em; border-radius: 999px;
}
.embed.is-playing .embed__play, .embed.is-playing .embed__note { display: none; }

.strip { display: grid; gap: .5rem; grid-template-columns: repeat(3, 1fr); }
.strip img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: calc(var(--r) * .45); width: 100%; }

/* --- looping motion videos --- */
.loops { display: grid; gap: clamp(.8rem, 1.6vw, 1.2rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); align-items: start; }
.loops figure { background: var(--card); border-radius: var(--r); padding: .6rem .6rem .1rem; transition: rotate .3s, translate .3s; }
.loops figure:hover { translate: 0 -4px; }
.loops video { border-radius: calc(var(--r) * .7); }
/* one wide film and three square ones in a single row, all the same height:
   the wide one simply takes more of the width (16:9 next to 1:1) */
@media (min-width: 34rem) {
  .loops--feature { grid-template-columns: repeat(3, 1fr); }
  .loops--feature figure:first-child { grid-column: 1 / -1; }
}
@media (min-width: 46rem) {
  .loops--feature { grid-template-columns: 16fr 9fr 9fr 9fr; }
  .loops--feature figure:first-child { grid-column: auto; }
}
/* a second, smaller clip below the main video of a section */
.second-clip { margin-top: 1.2rem; max-width: 24rem; }
.loops figcaption, .caption { font: 700 .82rem/1.2 var(--sans); margin: .8rem .5rem .9rem; }

.getlist { margin-top: 1.5rem; border-top: 2px solid var(--fg); }
.getlist li { padding: .8rem 0 .8rem 2rem; border-bottom: 2px solid var(--fg); position: relative; font-weight: 600; }
.getlist li::before { content: ""; position: absolute; left: .1rem; top: 1.2rem; width: .85rem; height: .85rem; border-radius: 50%; background: var(--accent); }
.block--pink .getlist li::before { background: var(--orange); }

.offer { display: grid; gap: clamp(.9rem, 1.6vw, 1.4rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); counter-reset: offer; }
.offer > div { padding: 1.6rem 1.6rem 1.9rem; border-radius: var(--r); background: var(--pink); color: var(--ink); display: flex; flex-direction: column; align-items: flex-start; }
.offer > div:nth-child(3n+2) { background: var(--orange); }
.offer > div:nth-child(3n+3) { background: var(--rose); }
.offer > div::before { counter-increment: offer; content: counter(offer, decimal-leading-zero); font: 800 3.4rem/.9 var(--display); letter-spacing: -.06em; margin-bottom: 2.2rem; }
.offer p { font-weight: 500; line-height: 1.45; }
.offer .link { margin-top: auto; }

/* --- gallery --- */
.gallery { columns: 3 16rem; column-gap: clamp(.7rem, 1.4vw, 1.1rem); }
.gallery a { display: block; margin-bottom: clamp(.7rem, 1.4vw, 1.1rem); break-inside: avoid; border-radius: calc(var(--r) * .7); overflow: hidden; background: var(--card); transition: rotate .3s, scale .3s; }
.gallery img { width: 100%; }
.gallery a:hover { scale: 1.02; }
/* With JS: the same three columns of large photos, but filled evenly (each photo goes to the
   column that is shortest so far) and the last photo of each column reaches down to a common
   bottom line, trimmed a little at the sides if needed. */
.gallery--cols { columns: auto; display: flex; gap: clamp(.7rem, 1.4vw, 1.1rem); }
.gallery__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: clamp(.7rem, 1.4vw, 1.1rem); }
.gallery--cols a { margin: 0; }
.gallery--cols a:last-child { flex: 1 0 auto; display: grid; grid-template-rows: minmax(0, 1fr); }
.gallery--cols a:last-child img { height: 100%; object-fit: cover; }

.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: rgb(18 20 23 / .97); color: var(--paper);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: 92vw; max-height: 86dvh; width: auto; height: auto; object-fit: contain; border-radius: 1rem; }
.lightbox button {
  position: absolute; border: 0; border-radius: 50%; color: var(--ink); cursor: pointer;
  background: var(--pink);
  font: 400 1.9rem/1 var(--sans); width: 52px; height: 52px; padding: 0 0 .15em;
  transition: background .2s, scale .2s;
}
.lightbox .lb-close { top: .9rem; right: .9rem; }
.lightbox .lb-prev { left: .9rem; top: 50%; translate: 0 -50%; }
.lightbox .lb-next { right: .9rem; top: 50%; translate: 0 -50%; }
.lightbox button:hover { background: var(--orange); scale: 1.08; }
html:has(.lightbox[open]) { overflow: hidden; }

/* --- FAQ --- */
.faq { display: grid; gap: .6rem; }
.faq details { border-radius: calc(var(--r) * .8); background: var(--card); transition: background .2s; }
.faq details[open] { background: var(--pink); color: var(--ink); }
.block--pink .faq details[open] { background: var(--paper); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.25rem 4rem 1.25rem 1.5rem; position: relative;
  font: 700 1.15rem/1.25 var(--display); letter-spacing: -.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1rem; top: 50%; translate: 0 -50%;
  display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--fg); color: var(--bg); font: 500 1.5rem/1 var(--sans); padding-bottom: .1em; transition: rotate .2s;
}
.faq details[open] summary::after { rotate: 45deg; background: var(--ink); color: var(--paper); }
.faq details p { padding: 0 1.5rem 1.4rem; margin: 0; max-width: 46rem; font-weight: 500; }
@media (min-width: 52rem) { .faq-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; } }

/* --- contact --- */
.contact-grid { display: grid; gap: clamp(.9rem, 1.6vw, 1.4rem); }
@media (min-width: 52rem) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-grid > div { padding: 1.6rem 1.6rem 1.2rem; border-radius: var(--r); background: var(--orange); color: var(--ink); }
.contact-grid > div:nth-child(2) { background: var(--ink); color: var(--paper); }
.contact-grid > div:nth-child(3) { background: var(--rose); }
.contact-grid h3 { font-size: 1.7rem; margin-bottom: .7em; }
.contact-grid p { font-weight: 500; }
.big-mail {
  display: inline-block; font: 800 clamp(1.15rem, 5.9vw, 5.4rem)/1 var(--display); letter-spacing: -.03em;
  text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: .08em; text-underline-offset: .12em;
  overflow-wrap: anywhere; transition: rotate .25s;
}
.big-mail:hover { rotate: -1deg; text-decoration-color: var(--paper); }

/* --- prose (legal pages) --- */
.prose { max-width: 46rem; }
.prose h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); }
.prose h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-top: 3.5rem; }
.prose h3 { font: 700 1.2rem/1.25 var(--display); letter-spacing: -.02em; margin-top: 2.2rem; text-transform: none; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1em; }
.prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4em; }
.prose a { text-decoration-color: var(--orange); text-decoration-thickness: 2px; }

/* --- footer --- */
.site-footer {
  --bg: var(--ink); --fg: var(--paper); --accent: var(--pink);
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--paper);
  margin-top: calc(-1 * var(--sheet)); border-radius: var(--sheet) var(--sheet) 0 0;
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
}
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 2.5rem; }
.site-footer__big { font: italic 500 clamp(1.8rem, 3.6vw, 2.8rem)/1.1 var(--serif); letter-spacing: -.02em; margin-bottom: 1rem; color: var(--pink); }
.site-footer__mail { font: 700 clamp(1.05rem, 2vw, 1.4rem)/1.2 var(--sans); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: .5rem; }
.site-footer__links a { display: block; padding: .7em 1.1em; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgb(246 242 234 / .4); font: 600 .88rem/1 var(--sans); text-decoration: none; transition: background .2s, color .2s; }
.site-footer__links a:hover { background: var(--pink); color: var(--ink); box-shadow: none; }
.site-footer__fine { font-size: .8rem; opacity: .6; margin: 2.5rem 0 0; }
.site-footer__name {
  margin: clamp(1rem, 3vw, 2.5rem) 0 -.17em; text-align: center; white-space: nowrap;
  font: 800 12.6vw/.8 var(--display); letter-spacing: -.035em; text-transform: lowercase; color: var(--pink);
  user-select: none;
}

/* --- reveal on scroll (class added by JS, only below the fold) --- */
.reveal { opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.9,.3,1.2); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .badge, .ticker__track { animation: none; }
  .rotator > span { animation: none; }
  .rotator > span:first-child { opacity: 1; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* --- utilities --- */
.page-top { padding-top: calc(var(--header-h) + 3rem); }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
