/* De Beijer — Lookbook · Overzicht (index.html) only. Linked after site.css (README C1).
   The hero, the intro's stone, the implementation cards' image pair, the neck-label thumbs, the
   colour tiles with their tint-ladder drawers (N5) and the styling grid as links to the Styling
   page (N11). The tertiary link and the closing CTA are shared (site.css). */

/* ---------------------------------------------------------------- hero */
.hero {
  --focus: var(--blauw);   /* a dark ground: site.css's focus ring turns Blauw */
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh; background: var(--leigrijs-900); color: var(--wit);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero .slot { position: absolute; inset: 0; z-index: -1; border-radius: 0; }
/* hero video (hero-5 animated, D-028): sits over the still, which stays as poster and fallback */
.hero .hero-video { z-index: 1; }
@media (prefers-reduced-motion: reduce) { .hero .hero-video { display: none; } }
.hero .slot.has-photo::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 55%), linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,0) 30%); }
/* a light shade from the left behind the H1 and copy (hero-7: the group stands left of centre); on a phone the text spans the width, so the shade comes from below instead */
.hero .slot.has-photo::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(to right, rgba(20,24,28,.58), rgba(20,24,28,.36) 38%, rgba(20,24,28,0) 66%); }
@media (max-width: 767px) { .hero .slot.has-photo::before { background: linear-gradient(to top, rgba(20,24,28,.42), rgba(20,24,28,.20) 50%, rgba(20,24,28,0) 78%); } }
.hero-text { position: relative; padding-bottom: clamp(88px, 12vh, 140px); padding-top: 120px; }
/* "Bedrijfskleding richtlijnen" sets in two lines. "Bedrijfskleding" is one unbreakable word,
   6.5 × the font size wide: 13vw keeps it inside a 320 px phone; from ~340 px up --fs-hero rules. */
.hero-text .h-hero { margin-top: 20px; font-size: min(var(--fs-hero), 13vw); font-weight: 500; letter-spacing: -.03em; line-height: 1; max-width: 16ch; }
.hero-text .body { color: rgba(241, 238, 233, .82); margin-top: 24px; max-width: 30rem; }
.hero-text .pill { margin-top: 32px; }
/* the stepped notch: a Zacht Taupe block cut into the bottom of the hero (site hero); shape: --notch */
.notch {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 52px; z-index: 2; background: var(--taupe);
  clip-path: var(--notch);
  pointer-events: none;
}

/* hero placeholder composition */
.hero .ph-mark { height: 150%; right: -12%; top: -34%; }
.hero .ph-garment { height: auto; }
.hero .ph-garment.back { width: min(22vw, 350px); right: calc(4% + min(21vw, 330px)); bottom: 20%; }
.hero .ph-garment.front { width: min(33vw, 520px); right: 4%; bottom: 8%; }
.hero .ph-tag { top: 96px; right: max(var(--pad), calc((100vw - var(--container)) / 2 + var(--pad))); }

/* ---------------------------------------------------------------- intro statement: tertiary link (site.css) + stone */
.statement .tlink { margin-top: 32px; }
/* z-index 2: the stone hangs below its band, so it lies over the next band's step instead of being cut by it */
.stone { position: absolute; z-index: 2; pointer-events: none; filter: drop-shadow(0 18px 22px rgba(44,41,31,.22)); }

/* ---------------------------------------------------------------- implementation cards: the Styling card shows a pair */
.card-pic--pair img.back { left: 38%; top: 13%; height: 72%; }
.card-pic--pair img.front { left: 61%; top: 9%; height: 80%; }

/* ---------------------------------------------------------------- neck-label close-up with thumbs */
.label-view img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 62%; border-radius: var(--radius); transition: opacity .3s var(--ease); }
.label-view img.is-swapping { opacity: 0; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.thumbs button { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 8px; border-radius: 36px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; transition: background-color .2s, box-shadow .2s; }
.thumbs button i { width: 20px; height: 20px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(44,41,31,.2); }
.thumbs button:hover { background: var(--taupe-50); }
.thumbs button[aria-pressed="true"] { background: var(--wit); box-shadow: inset 0 0 0 1px var(--ink); }

/* ---------------------------------------------------------------- colour section (on .band--dark) */
.no-js .js-hint { display: none; }
.colour-groups { display: grid; gap: 48px; }
.colour-group h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; font-size: var(--fs-card); letter-spacing: -.01em; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.colour-group h3 span { font-size: 14px; font-weight: 400; color: var(--body); letter-spacing: 0; }
/* dense: an open ladder spans the row under its tile, and the tiles after it close that row up */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 20px; }
/* a tile is a link without JS and a button with it (overzicht.js); both hold spans only */
.tile { display: flex; flex-direction: column; width: 100%; text-align: left; border-radius: var(--radius); }
.tile-pic { position: relative; border-radius: var(--radius); background: var(--panel); aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; }
.tile-pic img.garment { position: absolute; left: 50%; top: 8%; height: 84%; width: auto; max-width: none; translate: -50% 0; filter: drop-shadow(0 14px 18px rgba(0,0,0,.3)); transition: transform .6s var(--ease); }
.tile:hover .tile-pic img.garment { transform: translateY(-5px); }
.tile-pic img.src { position: absolute; right: 10px; bottom: 10px; width: 34%; height: auto; filter: drop-shadow(0 6px 8px rgba(0,0,0,.3)); }
.tile-pic .src-map { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .12; }
.tile-meta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 10px; padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--line); transition: border-color .25s; }
.tile-meta i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(44,41,31,.2); }
.band--dark .tile-meta i { box-shadow: inset 0 0 0 1px rgba(241,238,233,.35); }   /* Diep Leigrijs would vanish into the 900 ground */
.tile-meta b { font-weight: 500; font-size: 16px; line-height: 1.25; }
.tile-meta small { font-size: 13px; color: var(--body); }
.tile-meta .from { grid-column: 2 / -1; font-size: 13px; color: var(--body); line-height: 1.3; }
/* the open cue: the site's Blauw + circle, turned to × while the ladder is open */
.tile-plus { position: absolute; z-index: 1; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; background: var(--blauw); color: var(--ink); transition: rotate .3s var(--ease), background-color .25s; }
.tile-plus::before, .tile-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; }
.tile-plus::after { rotate: 90deg; }
.tile:hover .tile-plus, .tile[aria-expanded="true"] .tile-plus { background: var(--wit); }
.tile[aria-expanded="true"] .tile-plus { rotate: 45deg; }
.tile[aria-expanded="true"] .tile-meta { border-top-color: var(--blauw); }

/* ---------------------------------------------------------------- tint-ladder drawer (N5)
   <li class="ladder" hidden> follows its tile's <li> and spans the full row. A Gebroken Wit sheet
   on the dark band, so the whole ladder, 950 to 50, reads on one neutral ground. overzicht.js fills
   .steps from the C3 tokens, marks the base step and sets --tail to the open tile's centre. */
.ladder {
  grid-column: 1 / -1; position: relative; display: grid; gap: 20px 24px;
  grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "top close" "steps steps" "info info";
  padding: clamp(20px, 2.2vw, 32px); border-radius: var(--radius);
  background: var(--wit); color: var(--ink);
  /* a light sheet inside the dark band: its own hairline, body colour and (ink) focus ring */
  --line: rgba(44, 41, 31, .12);
  --body: color-mix(in srgb, var(--ink) 90%, var(--taupe));
  --focus: var(--ink);
  animation: ladder-in .35s var(--ease);
}
.ladder[hidden] { display: none; }
@keyframes ladder-in { from { opacity: 0; translate: 0 -8px; } }
.ladder::before { content: ""; position: absolute; bottom: calc(100% - 1px); left: calc(var(--tail, 50%) - 11px); width: 22px; height: 11px; background: inherit; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.ladder-top { grid-area: top; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; align-self: center; }
.ladder-name { font-size: var(--fs-card); font-weight: 500; letter-spacing: -.01em; line-height: 1.2; }
.ladder-code { font-size: 14px; color: var(--body); font-variant-numeric: tabular-nums; }
.ladder-code span + span::before { content: "·"; margin: 0 .5em; }
.ladder-close { grid-area: close; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .25s; }
.ladder-close:hover { background: var(--taupe-50); }
.ladder-close svg { width: 16px; height: 16px; }
.ladder-info { grid-area: info; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; font-size: 14px; line-height: 1.45; color: var(--body); }
.ladder-info .tlink { margin-left: auto; color: var(--ink); font-size: 15px; }

/* the ladder: 950 → 50 left to right, the base drawn tall as the brandguide does (pp. 26–29).
   Step and hex sit under each swatch, in ink on the sheet: ten mid steps (the 500s, Blauw 600,
   Rood 400 …) can't carry small text at 4.5:1 in either ink or Gebroken Wit. */
.steps { --h: clamp(96px, 8.4vw, 124px); grid-area: steps; display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); align-items: end; }
.steps li { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 12px; line-height: 1.25; font-variant-numeric: tabular-nums; }
.steps i { display: block; height: var(--h); margin-bottom: 9px; background: var(--s); box-shadow: inset 0 0 0 1px rgba(44, 41, 31, .08); }   /* the hairline keeps a step close to the sheet's tone visible */
.steps li:first-child i { border-radius: 6px 0 0 6px; }
.steps li:last-child i { border-radius: 0 6px 6px 0; }
.steps li.is-base i { height: calc(var(--h) + 28px); }
.steps b { font-weight: 500; font-size: 13px; padding-inline: 2px; }
.steps span { color: var(--body); padding-inline: 2px; }
.steps em { order: -1; margin-bottom: 6px; padding-inline: 2px; font-style: normal; font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

/* ---------------------------------------------------------------- styling grid: each slot links to its idea on the Styling page */
.look-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 20px; }
.look { display: flex; border-radius: var(--radius); }
.look > .slot { flex: 1; }
.look-grid > .look:nth-child(1) { grid-row: 1 / 3; }
.look-grid > .look:nth-child(n+2) > .slot { aspect-ratio: 4 / 3; }
.look .slot > .photo { transition: transform .6s var(--ease); }
.look:hover .slot > .photo { transform: scale(1.03); }
.look-arrow {
  position: absolute; z-index: 3; right: 14px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(241, 238, 233, .12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--wit);
  transition: background-color .25s, color .25s;
}
.look:hover .look-arrow { background: var(--blauw); color: var(--ink); }
/* four chapters (D-029): a 2 × 2 grid of 4:3 photos; a bottom shade keeps the caption readable on light photos */
.look-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
.look-grid--four > .look:nth-child(1) { grid-row: auto; }
.look-grid--four > .look > .slot { aspect-ratio: 4 / 3; }
.look .slot.has-photo::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,0) 35%); }
.look .slot.has-photo figcaption { font-size: 15px; font-weight: 500; color: var(--wit); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1024px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* portrait tablet: garments above the text, like on phone */
@media (max-width: 1100px) and (max-aspect-ratio: 1/1) {
  .hero .ph-garment.back { width: 34vw; right: 40vw; bottom: auto; top: 13%; }
  .hero .ph-garment.front { width: 44vw; right: 4vw; bottom: auto; top: 15%; }
  .hero .ph-mark { height: 72%; top: -6%; right: -30%; opacity: .5; }
}
@media (max-width: 767px) {
  .look-grid { grid-template-columns: 1fr; }
  .look-grid > .look:nth-child(1) { grid-row: auto; }
  .look-grid > .look:nth-child(1) > .slot { aspect-ratio: 4 / 5; }
  .look-grid--four > .look:nth-child(1) > .slot { aspect-ratio: 4 / 3; }
  .tiles { gap: 12px; }
  .tile-meta { grid-template-columns: auto 1fr; }
  .tile-meta small, .tile-meta .from { grid-column: 2; }
  .tile-meta b { font-size: 15px; }
  .tile-plus { top: 8px; right: 8px; width: 28px; height: 28px; }
  /* phone: the ladder turns into a column, 950 at the top */
  .ladder { padding: 20px 16px; gap: 16px; }
  .ladder::before { left: calc(var(--tail, 50%) - 9px); width: 18px; height: 9px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { display: grid; grid-template-columns: 84px auto auto minmax(0, 1fr); align-items: center; column-gap: 12px; }
  .steps li > * { grid-row: 1; order: 0; }
  .steps i { grid-column: 1; width: 64px; height: 36px; margin: 0; }
  .steps li.is-base i { width: 84px; height: 36px; }      /* on its side the base is drawn long */
  .steps li:first-child i { border-radius: 6px 6px 0 0; }
  .steps li:last-child i { border-radius: 0 0 6px 6px; }
  .steps b { grid-column: 2; }
  .steps em { grid-column: 3; margin: 0; }
  .steps span { grid-column: 4; justify-self: end; }
  .ladder-info { flex-direction: column; align-items: flex-start; gap: 6px; }
  .ladder-info .tlink { margin: 8px 0 0; }
  .hero .ph-garment.back { width: 40vw; right: 40vw; bottom: auto; top: 96px; }
  .hero .ph-garment.front { width: 52vw; right: 2vw; bottom: auto; top: 110px; }
  .hero .ph-tag { top: 76px; }
  .hero .ph-mark { height: 70%; top: -6%; right: -44%; opacity: .45; }
  .stone { display: none; }
}

/* Bart, 2026-10-06: no hairline above 02 Uitwerking, 03 Het beeldmerk, 04 Kleur and 05 Styling (site.css draws it on .wrap).
   The spacing stays. */
#uitwerking > .wrap, .section[aria-labelledby="beeldmerk-title"] > .wrap.split, #kleuren > .wrap, #zo-draag-je-het > .wrap { background: none; }

/* Bart, 2026-10-07: a hairline under the H2 of 03, 04 and 05 (<hr class="h-rule">; 05 with .sec-head--ruled). Rules in site.css. */
