/* RaSiKe "Neem plaats": a room built around a screen. Velvet black, warm LED step lights, the cool white of the screen.
   League Gothic (cinema-poster condensed) + Hanken Grotesk. Photos in the screen's own ratio, 2.39:1. */
@font-face { font-family: "League Gothic"; src: url("/fonts/league-gothic-latin.woff2") format("woff2"); font-stretch: 75% 100%; font-display: swap; }
:root {
  --bg: #0C0A0B; --bg2: #141113; --bg3: #1C181A; --fg: #F2EDE6; --fg2: #C4BBB2; --mute: #8F867F; --line: rgba(242, 237, 230, .12);
  --led: #FFDDB0; --screen: #F1F0EB; --ink: #141113;
  --acc: #FFDDB0; --on-acc: #141113;
  --f-t: "Hanken Grotesk", system-ui, sans-serif;
  --f-d: "League Gothic", "Arial Narrow", sans-serif;
  --mark-font: 400 30px/1 var(--f-d); --mark-ls: .03em;
  --sheet-font: 400 clamp(40px, 11vw, 64px)/1.05 var(--f-d);
  --ft-bg: #0C0A0B;
  --hd-fg: #F2EDE6;
  --scope: 2.39;
}
.d-btn--light { background: var(--fg); color: var(--ink); }
.d-btn--light:hover { background: var(--led); color: var(--ink); }
.d-btn--dark { background: var(--ink); color: var(--screen); }
.d-btn--dark:hover { background: #2A2427; color: #fff; }
.d-btn--line { color: var(--fg); }
.d-btn--line:hover { background: var(--fg); color: var(--ink); }
.dsheet nav a { text-transform: uppercase; }

/* type */
.p-kick { margin: 0 0 14px; font-size: 14px; font-weight: 500; color: var(--fg2); }
.p-row { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 14px; font-weight: 600; color: var(--led); }
.p-row::before { content: ""; width: 7px; height: 7px; border-radius: 1px; background: var(--led); box-shadow: 0 0 10px 2px rgba(255, 221, 176, .55); }
.p-h1, .p-h2, .p-seat__n, .p-card__n, .p-screen__h, .p-state { font-family: var(--f-d); font-weight: 400; text-transform: uppercase; letter-spacing: .012em; }
.p-h1 { margin: 0 0 16px; font-size: clamp(104px, 17vw, 300px); line-height: .82; color: var(--fg); }
.p-h2 { margin: 0; font-size: clamp(54px, 7vw, 120px); line-height: .88; }
.p-sub { margin: 0; max-width: 24em; font-size: clamp(18px, 1.5vw, 22px); color: var(--fg2); }

/* step light: the LED strip on the edge of every tier */
.p-step { height: 2px; margin: 0 auto clamp(46px, 6vw, 90px); max-width: calc(var(--maxw)); background: var(--led); box-shadow: 0 0 14px 2px rgba(255, 221, 176, .45), 0 0 50px 4px rgba(255, 221, 176, .12); transform: scaleX(0); transform-origin: center; transition: transform 1.8s var(--ease); }
.p-step.is-in { transform: none; }

/* screen-ratio frames that open like a projector shutter */
.p-scope { position: relative; margin: 0; }
.p-scope picture { aspect-ratio: var(--scope) / 1; overflow: hidden; background: var(--bg2); clip-path: inset(49% 0 49% 0); transition: clip-path 1.5s var(--ease); }
.p-scope.is-in picture { clip-path: inset(0 0 0 0); }
.p-scope img { transform: scale(1.06); transition: transform 2.4s var(--ease); }
.p-scope.is-in img { transform: none; }
.p-scope figcaption { display: flex; gap: 14px; margin-top: 12px; font-size: 14px; color: var(--fg2); }
.p-scope figcaption span { color: var(--mute); white-space: nowrap; }

/* ---------------------------------------------------------------- hero */
.p-hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; padding: 0; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.p-hero__bg { position: absolute; inset: 0; }
.p-bg { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.p-bg.is-on { opacity: 1; }
.p-bg picture { height: 100%; }
.p-bg img { transform: scale(1.04); transition: transform 6s linear; }
.p-bg.is-on img { transform: scale(1); }
.p-hero::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(12, 10, 11, .62) 0%, rgba(12, 10, 11, 0) 22%),
  linear-gradient(90deg, rgba(12, 10, 11, .72) 0%, rgba(12, 10, 11, .25) 48%, rgba(12, 10, 11, 0) 70%),
  linear-gradient(0deg, rgba(12, 10, 11, .96) 0%, rgba(12, 10, 11, .55) 26%, rgba(12, 10, 11, 0) 50%); pointer-events: none; }
.p-hero__in, .p-seats { position: relative; z-index: 1; width: 100%; max-width: calc(var(--maxw) + 2 * var(--gut)); margin: 0 auto; padding-inline: var(--gut); }
.p-hero__in { margin-bottom: auto; padding-top: calc(var(--hd) + clamp(40px, 12vh, 140px)); }
.p-h1 { animation: pIn 1.4s var(--ease) both .15s; }
.p-sub, .p-kick { animation: pIn 1.4s var(--ease) both .35s; }
@keyframes pIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.p-seats { padding-bottom: clamp(22px, 4vh, 40px); }
.p-seats__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.p-seats__l { margin: 0; font-size: 13px; font-weight: 600; color: var(--mute); }
.p-cap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-end; gap: 4px 14px; margin: 0; min-height: 26px; text-align: right; }
.p-cap__n { font-weight: 600; }
.p-cap__l { color: var(--fg2); }
.p-cap__a { display: inline-flex; align-items: center; gap: 8px; color: var(--led); font-weight: 600; }
.p-seats__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; }
.p-seat { position: relative; display: grid; gap: 4px; padding: 14px 6px 4px 0; transition: color .3s; color: var(--fg2); }
.p-seat::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line); transition: background .35s, box-shadow .35s; }
.p-seat__no { font-size: 12px; font-weight: 600; color: var(--mute); }
.p-seat__n { font-size: clamp(22px, 1.9vw, 32px); line-height: 1; }
.p-seat:hover, .p-seat.is-on { color: var(--fg); }
.p-seat.is-on::before { background: var(--led); box-shadow: 0 0 12px 1px rgba(255, 221, 176, .6); }
.p-seat.is-on .p-seat__no { color: var(--led); }

/* ---------------------------------------------------------------- back row + scenes */
.p-back, .p-tier, .p-front, .p-build { max-width: calc(var(--maxw) + 2 * var(--gut)); margin: 0 auto; padding-top: clamp(80px, 10vw, 160px); }
.p-state { margin: 0 0 22px; font-size: clamp(40px, 5.2vw, 88px); line-height: .95; max-width: 17ch; }
.p-lead { margin: 0 0 clamp(50px, 6vw, 90px); max-width: 34em; font-size: clamp(18px, 1.5vw, 22px); color: var(--fg2); }
.p-scenes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px) clamp(14px, 2vw, 28px); }
.p-scope--full { grid-column: 1 / -1; }
.p-scenes .p-scope--half { --scope: 1.6; }
.p-more { margin: 36px 0 0; }

/* ---------------------------------------------------------------- tiers */
.p-tier__h { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 30px; align-items: end; margin-bottom: clamp(30px, 4vw, 56px); }
.p-tier__h .p-row { grid-column: 1 / -1; }
.p-tier__l { margin: 0 0 10px; color: var(--fg2); font-size: 18px; }
.p-tier__seats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.p-tier__seats a { display: block; }
.p-card__img { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg2); }
.p-card__img picture { height: 100%; }
.p-card__img img { transition: transform 1.3s var(--ease), filter .6s; filter: brightness(.9); }
.p-tier__seats a:hover .p-card__img img { transform: scale(1.05); filter: none; }
.p-card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 14px; padding-top: 10px; border-top: 2px solid var(--line); transition: border-color .35s, box-shadow .35s; }
.p-tier__seats a:hover .p-card__row { border-color: var(--led); box-shadow: 0 -8px 16px -12px rgba(255, 221, 176, .7); }
.p-card__no { font-size: 12px; font-weight: 600; color: var(--led); }
.p-card__m { font-size: 12.5px; color: var(--mute); }
.p-card__n { display: block; margin-top: 6px; font-size: clamp(34px, 3vw, 48px); line-height: .95; }
.p-card__l { display: block; margin-top: 4px; font-size: 14.5px; color: var(--fg2); }
/* the four seats of a row as two large cards: the product gets the room it has in a showroom */
@media (min-width: 1081px) {
  .p-tier__seats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: clamp(40px, 4vw, 64px); }
  .p-tier__seats--4 .p-card__img { aspect-ratio: 3 / 2; }
}
/* hover: the same model as a catalogue shot on a light studio floor */
.p-card__img { position: relative; }
.p-card__studio { position: absolute; inset: 0; background: var(--bg); opacity: 0; transition: opacity .6s var(--ease); }
.p-card__studio picture { height: 100%; }
.p-card__studio img { filter: none !important; transform: none !important; }
.p-card__studio .is-cut img { object-fit: contain; padding: 7%; mix-blend-mode: multiply; }   /* cut-out catalogue shots sit on the studio floor */
.p-card__studio::after { content: "Studio"; position: absolute; left: 14px; top: 12px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--led); }
@media (hover: hover) { .p-tier__seats a:hover .p-card__studio { opacity: 1; } }

/* made to measure */
.p-made { max-width: calc(var(--maxw) + 2 * var(--gut)); margin: 0 auto; padding: clamp(80px, 10vw, 160px) var(--gut) 0; }
.p-made__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "head pics" "body pics"; grid-template-rows: auto 1fr; gap: 0 clamp(30px, 5vw, 80px); align-items: start; }
.p-made__head { grid-area: head; }
.p-made__body { grid-area: body; }
.p-made__pics { grid-area: pics; }
.p-made__lead { margin: 18px 0 0; max-width: 26em; font-size: clamp(17px, 1.4vw, 20px); color: var(--fg2); }
.p-made__steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px solid var(--line); }
.p-made__steps li { padding: 12px 8px 0 0; font-size: 14.5px; color: var(--fg); }
.p-made__steps span { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 600; color: var(--led); }
.p-made__mat { margin: 34px 0 0; display: grid; gap: 16px; }
.p-made__mat div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 4px 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.p-made__mat dt { font-weight: 600; font-size: 14.5px; }
.p-made__mat dd { margin: 0; font-size: 14.5px; color: var(--fg2); }
.p-made__cta { margin: 36px 0 0; }
.p-made__pics { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: clamp(12px, 1.4vw, 20px); }
.p-made__f { margin: 0; }
.p-made__f picture { aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg2); }
.p-made__f--tall { grid-row: span 2; display: flex; flex-direction: column; }
.p-made__f--tall picture { flex: 1; aspect-ratio: auto; min-height: 0; }
.p-made__f figcaption { margin-top: 10px; font-size: 13px; color: var(--mute); }
.p-made__f img { transition: transform 1.3s var(--ease); }
.p-made__f:hover img { transform: scale(1.04); }

.p-extra { margin-top: clamp(44px, 5vw, 76px); }
.p-extra .p-card__img { aspect-ratio: 4 / 3; }

/* ---------------------------------------------------------------- front row: Mortsel */
.p-front__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.p-front .p-h2 { margin-bottom: 20px; }
.p-front__t { margin: 0 0 14px; color: var(--fg2); font-size: 18px; max-width: 26em; }
.p-where { margin: 0 0 26px; font-weight: 600; }
.p-front .p-scope { --scope: 1.6; }

/* ---------------------------------------------------------------- behind the screen */
.p-build { padding-bottom: clamp(70px, 9vw, 140px); }
.p-build__in { border-top: 1px solid var(--line); padding-top: clamp(40px, 5vw, 70px); }
.p-build .p-h2 { font-size: clamp(44px, 5.4vw, 92px); max-width: 14ch; margin-bottom: 24px; }
.p-build__mech { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--fg2); }
.p-build__mech li::before { content: "\2014  "; color: var(--mute); }
.p-trade { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin: clamp(48px, 6vw, 80px) 0 0; color: var(--fg2); }

/* ---------------------------------------------------------------- the screen */
.p-screen { position: relative; overflow: clip; padding-block: clamp(40px, 6vw, 90px) clamp(70px, 9vw, 130px); }
.p-screen::before { content: ""; position: absolute; left: 50%; bottom: -20%; width: 120%; height: 120%; transform: translateX(-50%); background: radial-gradient(50% 45% at 50% 40%, rgba(241, 240, 235, calc(.16 * var(--glow, 0))), transparent 70%); pointer-events: none; }
.p-screen__panel { position: relative; max-width: calc(var(--maxw)); margin: 0 auto; aspect-ratio: var(--scope) / 1; background: var(--screen); color: var(--ink); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: clamp(28px, 4vw, 60px); box-shadow: 0 0 calc(140px * var(--glow, 0)) calc(18px * var(--glow, 0)) rgba(241, 240, 235, .2); transition: box-shadow .2s linear; }
.p-screen__h { margin: 0 0 26px; font-size: clamp(56px, 7.6vw, 132px); line-height: .88; color: var(--ink); }
.p-screen__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 26px; }
.p-screen__tel { font-weight: 600; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.d-p .df { padding-top: 26px; }
.d-p .df__base { border-top: 1px solid var(--line); }
.d-p .df__base a:hover { color: var(--led); }

@media (max-width: 1080px) {
  .p-seats__row { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 10px; }
  .p-tier__seats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
}
@media (max-width: 760px) {
  .p-hero { min-height: 680px; }
  .p-hero::after { background: linear-gradient(180deg, rgba(12, 10, 11, .55) 0%, rgba(12, 10, 11, 0) 18%), linear-gradient(0deg, rgba(12, 10, 11, .95) 0%, rgba(12, 10, 11, .6) 30%, rgba(12, 10, 11, 0) 56%); }
  .p-bg[data-bg="_"] img { filter: brightness(1.08) contrast(1.04); }   /* only the dark opening photo; light studio shots stay as shot */
  .p-hero__in { padding-top: calc(var(--hd) + 24px); }
  .p-seats__top { flex-direction: column; align-items: flex-start; gap: 6px; }
  .p-cap { justify-content: flex-start; text-align: left; }
  .p-seats__row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); gap: 14px; }
  .p-seats__row::-webkit-scrollbar { display: none; }
  .p-seats__row li { flex: 0 0 auto; scroll-snap-align: start; }
  .p-seat { min-width: 84px; }
  .p-scenes { grid-template-columns: 1fr; }
  .p-scope picture { aspect-ratio: 16 / 10; }
  .p-tier__h, .p-front__grid { grid-template-columns: 1fr; }
  .p-made__grid { grid-template-columns: 1fr; grid-template-areas: "head" "pics" "body"; row-gap: 30px; }
  .p-made__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
  .p-made__mat div { grid-template-columns: 1fr; }
  .p-made__pics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-made__f--tall { grid-column: 1 / -1; grid-row: auto; }
  .p-made__f--tall picture { aspect-ratio: 4 / 3; height: auto; min-height: 0; }
  .p-screen__panel { aspect-ratio: auto; min-height: 70svh; }
}
@media (prefers-reduced-motion: reduce) {
  .p-scope picture { clip-path: none; }
  .p-step { transform: none; }
}
.df__note { max-width: var(--maxw); margin: 0 auto; font-size: 12px; color: var(--mute); opacity: .8; }

/* looped clips sit on top of their still and fade in once playing (no layout shift; reduced motion keeps the still) */
.p-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s var(--ease); pointer-events: none; }
.p-vid.is-on { opacity: 1; }
.p-scope__m { position: relative; display: block; }
.p-scope .p-vid { clip-path: inset(49% 0 49% 0); transition: clip-path 1.5s var(--ease), opacity .9s var(--ease); }
.p-scope.is-in .p-vid { clip-path: inset(0 0 0 0); }
.p-made__m { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg2); }
.p-made__m > img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .p-vid { display: none; } .p-scope .p-vid { clip-path: none; } }
/* the seat's one-liner lives in the seat as real text (translatable), shown in the caption by plaats.js */
.p-seat__line { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* logo: signature wordmark */
.dh__mark .mark__sig { display: block; width: 144px; color: #F2EDE6; line-height: 0; }
.dh__mark .mark__sig svg { display: block; width: 100%; height: auto; overflow: visible; }
@media (max-width: 700px) { .dh__mark .mark__sig { width: 100px; } }

/* phone: portrait version of a room photo (outpainted top and bottom, real photo in the middle), framed on the seats */
@media (max-width: 700px) and (orientation: portrait) { picture.has-tall img { object-position: var(--op-tall, 50% 50%) !important; } }
.dh__mark .mark__sig:has(.logo--klassiek) { width: 128px; }
