/*! BOMEX GROUP — page composition.
    §6.3 home hero is a layout replica of the reference board's website card;
    §6.4 brand board replicates the rest of it in BOMEX colours. */

/* =========================================================== 1. HERO SHELL */
.hero {
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  padding: var(--card-inset);
  position: relative;
  /* The one line the bottom-anchored hero cards sit on. It is derived from the
     same two FAB tokens the assistant and back-to-top buttons read, so the AI
     button can never clip the Knauf card's corner at any width (QA asserts it
     at all six viewports). */
  --hero-fab-line: calc(var(--fab-bottom) + var(--fab-size) + 12px);
}
@media (max-width: 767px) { .hero { min-height: 560px; } }

.hero__card {
  position: relative;
  height: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--slate-700);
  box-shadow: var(--shadow-card);
  isolation: isolate;
}
@media (prefers-reduced-motion: no-preference) {
  .js .hero__card { transform: scale(1.06); transition: transform 1100ms var(--ease-out); }
  .js.is-ready .hero__card { transform: none; }
}

/* ---- slider ---- */
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1200ms var(--ease-inout);
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .hero-slide.is-active img { animation: kenburns 6500ms var(--ease-out) forwards; }
  .hero-slide:nth-child(2).is-active img { transform-origin: 70% 40%; }
  .hero-slide:nth-child(3).is-active img { transform-origin: 30% 65%; }
}
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-slide img { transform-origin: 40% 50%; }

/* ---- §2 overlay stack: directional base + bottom lift + vignette + grain ----
   Four layers instead of one flat dim, so the photograph keeps its depth while
   every headline glyph still clears 4.5:1 (sampled by the QA canvas probe). */
.scrim-stack { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.scrim-stack > span { position: absolute; inset: 0; display: block; }
.scrim-stack__base {
  background: linear-gradient(105deg,
      rgba(20, 24, 27, .78) 0%, rgba(20, 24, 27, .64) 40%,
      rgba(20, 24, 27, .32) 70%, rgba(20, 24, 27, .44) 100%);
}
.scrim-stack__bottom { background: linear-gradient(0deg, rgba(20, 24, 27, .62), transparent 48%); }
.scrim-stack__vignette {
  background: radial-gradient(118% 88% at 50% 45%,
      rgba(20, 24, 27, 0) 46%, rgba(20, 24, 27, .34) 100%);
}
.scrim-stack__grain {
  opacity: .05; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'>\
<filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/>\
</filter><rect width='180' height='180' filter='url(%23g)'/></svg>");
  background-size: 180px 180px;
}
/* on a phone the headline sits over the upper third, so the base gradient turns
   vertical — a 105deg wash leaves the top-right corner of a portrait crop bare */
@media (max-width: 767px) {
  .scrim-stack__base {
    background: linear-gradient(176deg,
        rgba(20, 24, 27, .78) 0%, rgba(20, 24, 27, .58) 42%,
        rgba(20, 24, 27, .28) 66%, rgba(20, 24, 27, .38) 100%);
  }
}

/* every composed element sits above the scrims */
.hero__card > :not(.hero-slider):not(.scrim-stack) { position: absolute; z-index: 2; }

/* ---- progress: three hairlines + mono counter ---- */
.hero__progress {
  /* clears the bottom-right note, which now stands on the FAB line */
  right: 28px; bottom: calc(var(--hero-fab-line) + 128px);
  display: flex; align-items: center; gap: .75rem;
  color: var(--gypsum-50);
}
@media (max-width: 1023px) { .hero__progress { bottom: calc(var(--hero-fab-line) + 96px); } }
.hero__bars { display: flex; gap: 6px; }
.hero__bars button {
  width: 28px; height: 2px; background: rgba(255, 255, 255, .35);
  position: relative; overflow: hidden;
}
.hero__bars button i {
  position: absolute; inset: 0; width: 0; background: var(--gypsum-50);
}
.hero__bars button[aria-current="true"] i { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .hero__bars button[aria-current="true"] i {
    width: 0; animation: bar-fill 6500ms linear forwards;
  }
  .hero.is-paused .hero__bars button[aria-current="true"] i { animation-play-state: paused; }
}
@keyframes bar-fill { to { width: 100%; } }
.hero__counter { font-size: var(--fs-micro); letter-spacing: .06em; }
@media (max-width: 767px) { .hero__progress { right: 16px; bottom: auto; top: 64px; } }

/* ---- headline (§2) ---- */
/* The dimension label and the three lines are one block so the label always
   tracks the headline's top edge instead of floating at a fixed offset. */
.hero__lead-in { left: 28px; top: 20%; right: 28px; }
.hero__dimline {
  display: flex; align-items: center; gap: .75rem;
  max-width: min(62vw, 980px);
  color: rgba(255, 255, 255, .82);
  font-family: var(--ff-mono); font-size: var(--fs-micro);
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: clamp(.75rem, .4rem + .7vw, 1.25rem);
}
.hero__dimline::after { content: ""; flex: 1; height: 1px; background: var(--oak-400); opacity: .8; }
.hero__dimline > span { position: relative; padding-inline: .1rem; white-space: nowrap; }
.hero__dimline > span::before, .hero__dimline > span::after {
  content: ""; position: absolute; top: 50%; width: 1px; height: 9px;
  background: var(--oak-400); transform: translateY(-50%);
}
.hero__dimline > span::before { left: -.55rem; }
.hero__dimline > span::after { right: -.55rem; }
@media (max-width: 767px) { .hero__dimline { font-size: 10px; letter-spacing: .06em; } }

.hero__title {
  position: static;
  max-width: 62vw;
  color: var(--white);
  font-size: var(--fs-display);
  font-weight: 300;
  letter-spacing: .035em;
  line-height: .96;
  text-shadow: 0 2px 28px rgba(16, 20, 23, .32);
}
.hero__title .line-mask > span { display: block; }
.hero__title .btn {
  margin-left: .6rem;
  vertical-align: middle;
  padding: 10px 26px; min-height: 0;
  font-family: var(--ff-text); font-size: 13px;
  letter-spacing: 0; white-space: nowrap;
  transform: translateY(-.14em);
}
/* 1024-1279: the cluster narrows and the display steps down 12% so the two
   never share a column (checked at every QA width) */
@media (max-width: 1279px) {
  .hero__title { font-size: calc(var(--fs-display) * .88); max-width: 66vw; }
}
@media (max-width: 1023px) { .hero__lead-in { top: 19%; } .hero__title { max-width: 74vw; } }
@media (max-width: 767px) {
  .hero__lead-in { left: 18px; right: 18px; top: 16%; }
  .hero__title {
    max-width: none;
    font-size: clamp(2.6rem, 12vw, 4rem);
    letter-spacing: .02em;
  }
  .hero__title .btn { display: inline-flex; margin-left: 0; margin-top: .85rem; transform: none; }
}

/* ---- top-right cluster ---- */
.hero__cluster {
  right: 24px; top: calc(var(--nav-h) + 22px);
  width: 34%; max-width: 420px;
  display: grid; gap: .875rem; justify-items: end;
}
/* pairs with the 12% display step-down above: at 1024-1279 the headline grows
   into the middle third, so the cluster gives ground */
@media (max-width: 1279px) { .hero__cluster { width: 30%; } }
@media (max-width: 1023px) { .hero__cluster { width: 44%; top: 78px; } }
.hero__cluster .chip-row { justify-content: flex-end; }
@media (max-width: 767px) {
  .hero__cluster {
    left: 0; right: 0; top: auto; bottom: calc(46% + 8px);
    width: auto; max-width: none; justify-items: stretch;
  }
  /* the row scrolls on a phone — flex-end would hide the first chip off-screen */
  .hero__cluster .chip-row { padding-inline: 18px; justify-content: flex-start; }
}

.hero__stolarski {
  position: relative;
  width: 100%;
  border-radius: var(--r-md);
  padding: 1rem 1.125rem;
  overflow: visible;
}
@media (max-width: 767px) { .hero__stolarski { display: none; } }
.hero__stolarski h2 { font-family: var(--ff-text); font-size: 13px; font-weight: 600;
  text-transform: none; letter-spacing: 0; line-height: 1.3; margin-bottom: .35rem; }
.hero__stolarski p { font-size: 11.5px; line-height: 1.5; max-width: 30ch; }
.hero__stolarski .breakout {
  position: absolute; top: -20px; right: -18px;
  width: 110px; height: 124px;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 14px 34px -14px rgba(16, 20, 23, .6);
  border: 2px solid rgba(255, 255, 255, .55);
}
.hero__stolarski .breakout img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1150px) { .hero__stolarski .breakout { display: none; } }

/* ---- bottom composed cards ---- */
.hero__cards { inset: 0; pointer-events: none; }
.hero__cards > * { position: absolute; pointer-events: auto; }

.hero__knauf {
  left: 28px; bottom: var(--hero-fab-line);
  width: 26%; min-width: 260px; max-width: 360px;
  border-radius: var(--r-md);
  padding: .75rem;
  display: grid; grid-template-columns: 78px 1fr; gap: .875rem; align-items: center;
}
.hero__knauf img { width: 78px; height: 86px; object-fit: cover; border-radius: 16px; }
.hero__knauf h2 { font-family: var(--ff-text); font-size: 13px; font-weight: 600;
  text-transform: none; letter-spacing: 0; line-height: 1.25; }
.hero__knauf p { font-size: 11.5px; line-height: 1.45; margin-block: .3rem .4rem; }
.hero__knauf .arrow-link { font-size: 11.5px; }

.hero__stat {
  left: 30%; bottom: calc(var(--hero-fab-line) + 8px);
  display: grid; gap: .5rem; justify-items: start;
}
@media (max-width: 1250px) {
  .hero__stat { left: auto; right: 28px; bottom: calc(var(--hero-fab-line) + 122px); }
}
.hero__stat .avatars { margin-bottom: .25rem; }
.hero__stat .counter { font-size: clamp(2.25rem, 3.4vw, 3.25rem); color: var(--white); }
.hero__stat p { font-size: 11px; line-height: 1.4; max-width: 22ch; color: var(--white);
  text-shadow: 0 1px 14px rgba(16, 20, 23, .55); }

.hero__note {
  right: 28px; bottom: var(--hero-fab-line); max-width: 280px;
  display: grid; gap: .5rem; justify-items: start;
  color: var(--white);
}
.hero__note p { font-size: 12px; line-height: 1.5; text-shadow: 0 1px 14px rgba(16, 20, 23, .55); }
@media (max-width: 1023px) { .hero__note { display: none; } }

/* mobile: the three become a snap carousel anchored to the bottom */
@media (max-width: 767px) {
  .hero__cards {
    /* same derived line as the desktop cards: never below the FAB row */
    inset: auto 0 var(--hero-fab-line) 0;
    display: flex; gap: .625rem;
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    padding-inline: 18px;
  }
  .hero__cards::-webkit-scrollbar { display: none; }
  .hero__cards > * {
    position: relative; inset: auto;
    flex: 0 0 78%; max-width: none; min-width: 0; width: auto;
    scroll-snap-align: center;
    border-radius: var(--r-md);
    background: var(--glass-bg-strong);
    border: 1px solid rgba(255, 255, 255, .5);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
    backdrop-filter: blur(var(--glass-blur)) saturate(140%);
    color: var(--graphite-900);
    padding: .875rem;
  }
  .hero__note, .hero__stat p, .hero__stat .counter { color: var(--graphite-900); text-shadow: none; }
  .hero__note { display: grid; }
  .hero__stat { justify-items: start; }
  .hero__knauf { display: grid; }
}

/* dots and the swipe hint are centred, so they pass between the two corner FABs */
.hero__dots {
  left: 0; right: 0; display: none;
  bottom: calc(var(--fab-bottom) + var(--fab-size) - 26px);
}
@media (max-width: 767px) { .hero__dots { display: flex; justify-content: center; } }

.hero__swipe {
  left: 50%; bottom: calc(var(--fab-bottom) + 2px); transform: translateX(-50%);
  display: none; align-items: center; gap: .4rem;
}
@media (max-width: 767px) { .hero__swipe { display: inline-flex; } }
.hero__swipe svg { width: 12px; height: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .hero__swipe svg { animation: nudge 1.6s var(--ease-inout) infinite; }
}
@keyframes nudge { 50% { transform: translateX(4px); } }

/* ====================================================== 2. PAGE HERO (inner) */
.pagehero { padding: var(--card-inset); }
.pagehero__card {
  position: relative;
  height: 78vh; height: 78svh; min-height: 520px;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--slate-700);
  box-shadow: var(--shadow-card);
  display: grid;
}
@media (max-width: 767px) { .pagehero__card { height: 70svh; min-height: 440px; } }
.pagehero__bg { position: absolute; inset: 0; }
.pagehero__bg img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .pagehero__bg img { animation: kenburns-slow 24s var(--ease-inout) infinite alternate; }
}
@keyframes kenburns-slow { from { transform: scale(1); } to { transform: scale(1.09); } }
.pagehero__body {
  position: relative; z-index: 2;
  align-self: end;
  padding: clamp(1.25rem, .8rem + 2vw, 2.5rem);
  display: grid; gap: 1rem; justify-items: start;
  color: var(--white);
}
.pagehero h1 { max-width: 20ch; }
.pagehero .lead { max-width: 52ch; text-shadow: 0 1px 18px rgba(16, 20, 23, .5); }
.pagehero__index {
  position: absolute; right: clamp(1.25rem, .8rem + 2vw, 2.5rem);
  bottom: clamp(1.25rem, .8rem + 2vw, 2.5rem); z-index: 2;
  font-family: var(--ff-mono); font-size: var(--fs-micro);
  color: rgba(255, 255, 255, .8); letter-spacing: .06em;
}
@media (max-width: 767px) { .pagehero__index { display: none; } }
/* The fact card is the last item in the hero body, so it lands bottom-left
   naturally. Absolute positioning would stack it on top of the chips row,
   which occupies the same corner. */
.pagehero__fact {
  justify-self: start;
  border-radius: var(--r-sm);
  padding: .625rem .875rem;
}
.pagehero__fact .mono { font-size: var(--fs-micro); letter-spacing: .04em; }

.crumbs {
  display: inline-flex; align-items: center; gap: .4rem; flex-wrap: wrap;
  padding: .3rem .85rem; border-radius: var(--r-pill);
  font-size: var(--fs-micro); font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase;
}
.crumbs li { display: inline-flex; align-items: center; gap: .4rem; }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a:hover { box-shadow: inset 0 -1px 0 0 currentColor; }

/* ======================================================= 3. BRAND BOARD */
.board { padding-inline: var(--card-inset); }
.board__labels {
  display: flex; justify-content: space-between;
  padding: 1.5rem .5rem .875rem;
  color: rgba(242, 245, 246, .85);
}
.board__grid { display: grid; gap: var(--gap); grid-template-columns: repeat(12, 1fr); }
@media (max-width: 899px) { .board__grid { grid-template-columns: 1fr; } }

.board__tiles { grid-column: span 2; display: grid; gap: var(--gap); grid-template-rows: auto auto 1fr; }
@media (max-width: 899px) {
  .board__tiles { grid-column: 1 / -1; grid-template-rows: none; grid-template-columns: 1fr 1fr 1fr; }
}
.tile { border-radius: var(--r-md); display: grid; place-items: center; padding: 1rem; }
.tile--square { aspect-ratio: 1; }
.tile--square img { width: 54%; height: auto; }
.tile--pill { border-radius: var(--r-pill); padding: .75rem 1rem; }
/* Both dimensions auto with max constraints: a fixed height plus max-width:100%
   squashed the wordmark on narrow tiles (Lighthouse image-aspect-ratio). */
.tile--pill img { width: auto; height: auto; max-height: 20px; max-width: 100%; }
.tile--photo { position: relative; overflow: hidden; min-height: 190px; padding: 0; }
.tile--photo img { width: 100%; height: 100%; object-fit: cover; }
.tile__play {
  position: absolute; inset: 0; margin: auto;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .28);
  border: 1px solid rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--white);
  transition: transform var(--dur-1) var(--ease-out), background-color var(--dur-1) var(--ease-out);
}
.tile__play:hover { transform: scale(1.06); background: rgba(255, 255, 255, .42); }
.tile__play svg { width: 18px; height: 18px; margin-left: 2px; }

/* Split composition, not type-over-photo. The legacy hotel photograph is 640px
   wide and a full-bleed card stretched it to 1166px at 1440 (1.82x, past the
   §5.6 cap). Confining it to the right 52% brings it back to ~600px — its own
   size — and the heading gains a solid graphite panel to sit on. */
.board__feature {
  grid-column: span 10; position: relative; overflow: hidden;
  border-radius: var(--r-lg); min-height: 420px;
  background: var(--slate-700);
}
@media (max-width: 899px) { .board__feature { grid-column: 1 / -1; min-height: 360px; } }
/* The photo is capped at its own pixel width so a 1920 viewport cannot stretch
   a 640px legacy scan past the 1.25x limit; the scrim fade is anchored to the
   same expression so the two always meet. */
.board__feature { --shot: min(52%, 660px); }
.board__feature picture.bg {
  inset: 0 0 0 auto; width: var(--shot); height: 100%;
}
.board__feature .card__scrim {
  z-index: 1;
  background: linear-gradient(90deg,
      var(--slate-700) calc(100% - var(--shot) - 20px),
      rgba(78, 89, 96, .6) calc(100% - var(--shot) + 90px),
      transparent calc(100% - var(--shot) + 240px));
}
.board__feature__body {
  position: relative; z-index: 2;
  height: 100%; display: grid; align-content: space-between;
  padding: clamp(1.25rem, .8rem + 2vw, 2rem);
}
.board__feature h2 { color: var(--white); max-width: 12ch; }
@media (max-width: 599px) {
  .board__feature picture.bg { inset: 0; width: 100%; }
  .board__feature .card__scrim {
    background: linear-gradient(0deg, rgba(20, 24, 27, .88), rgba(20, 24, 27, .35) 55%, transparent);
  }
}
.board__feature .row { display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; }

/* row B */
.board__emboss { grid-column: span 8; border-radius: var(--r-lg); position: relative; overflow: hidden;
  min-height: 300px; display: grid; place-items: center; padding: 2rem;
  background-color: #E4E2DC;
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'>\
<filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='4' stitchTiles='stitch'/>\
<feColorMatrix type='saturate' values='0'/></filter>\
<rect width='220' height='220' filter='url(%23n)' opacity='.36'/></svg>");
}
@media (max-width: 899px) { .board__emboss { grid-column: 1 / -1; min-height: 220px; } }
.board__emboss img {
  width: min(58%, 420px); height: auto;
  filter: grayscale(1) opacity(.85)
          drop-shadow(1px 1px 0 rgba(255, 255, 255, .85))
          drop-shadow(-1px -1px 0 rgba(0, 0, 0, .18));
}
.board__emboss .frame {
  position: absolute; inset: 22px; border-radius: var(--r-md);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(0, 0, 0, .12),
              inset 1px 0 0 rgba(255, 255, 255, .6), inset -1px 0 0 rgba(0, 0, 0, .08);
  pointer-events: none;
}
.board__emboss .micro { position: absolute; left: 34px; bottom: 32px; color: rgba(27, 27, 27, .55); }
.board__emboss .sweep {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .5) 50%, transparent 62%);
  transform: translateX(-110%);
}
@media (prefers-reduced-motion: no-preference) {
  .board__emboss .sweep { animation: sweep 7s var(--ease-inout) 1.5s infinite; }
}
@keyframes sweep { 0% { transform: translateX(-110%); } 55%, 100% { transform: translateX(110%); } }

.board__stat {
  grid-column: span 4; border-radius: var(--r-lg);
  padding: clamp(1.25rem, .8rem + 2vw, 2rem);
  display: grid; align-content: center; gap: .625rem; justify-items: start;
}
@media (max-width: 899px) { .board__stat { grid-column: 1 / -1; } }
.board__stat .counter { font-size: clamp(3rem, 5vw, 4.5rem); }
.board__stat p { font-size: var(--fs-sm); max-width: 26ch; }

/* row C */
.board__chart { grid-column: span 6; border-radius: var(--r-lg); padding: clamp(1.25rem, .8rem + 2vw, 1.75rem); }
.board__mockup { grid-column: span 6; border-radius: var(--r-lg); background: var(--slate-600);
  overflow: hidden; padding: clamp(1.5rem, 1rem + 2.4vw, 3rem); display: grid; place-items: center;
  perspective: 1200px; }
@media (max-width: 899px) { .board__chart, .board__mockup { grid-column: 1 / -1; } }

.board__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  flex-wrap: wrap; padding: 1.25rem .5rem 0; color: rgba(242, 245, 246, .85);
}

/* ---- chart ---- */
.chart__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  flex-wrap: wrap; margin-bottom: 1.25rem; }
.chart__head h2 { font-family: var(--ff-text); font-size: var(--fs-sm); font-weight: 700;
  text-transform: none; letter-spacing: 0; }
/* Two rows: the plot (which must have a DEFINITE height so the columns'
   percentage heights resolve) and the x-axis labels underneath it. */
.chart {
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: minmax(190px, 1fr) auto;
  gap: .5rem;
}
.chart__y {
  grid-column: 1; grid-row: 1;
  display: grid; align-content: space-between; text-align: right;
  font-family: var(--ff-mono); font-size: 10px; color: rgba(242, 245, 246, .65);
}
.chart__plot {
  grid-column: 2; grid-row: 1;
  position: relative;
  display: flex; align-items: stretch;          /* stretch => bars get a height */
  gap: clamp(4px, 1.2vw, 12px);
  border-bottom: 1px solid var(--hairline);
}
.chart__plot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(0deg, var(--hairline) 0 1px, transparent 1px 25%);
  opacity: .5;
}
.chart__bar {
  position: relative; flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.chart__bar .col {
  width: 100%; border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .18));
  height: 0;
  transition: height var(--dur-3) var(--ease-out);
}
.chart.is-in .chart__bar .col { height: var(--h, 0%); }
@media (prefers-reduced-motion: reduce) {
  .chart__bar .col { height: var(--h, 0%); transition: none; }
}
.chart__bar--hl .col { background: linear-gradient(180deg, var(--oak-400), var(--oak-500)); }
.chart__bubble {
  position: absolute; bottom: calc(var(--h, 0%) + 8px); left: 50%; transform: translateX(-50%);
  padding: .2rem .5rem; border-radius: var(--r-pill);
  background: var(--gypsum-50); color: var(--graphite-900);
  font-family: var(--ff-mono); font-size: 10px; font-weight: 600; white-space: nowrap;
  opacity: 0; transition: opacity var(--dur-2) var(--ease-out) 500ms;
}
.chart.is-in .chart__bubble { opacity: 1; }
.chart__bar:hover .chart__bubble, .chart__bar:focus-within .chart__bubble { opacity: 1; }

.chart__labels {
  grid-column: 2; grid-row: 2;
  display: flex; gap: clamp(4px, 1.2vw, 12px);
}
.chart__labels span {
  flex: 1 1 0; min-width: 0;
  font-size: 10px; line-height: 1.2; text-align: center;
  color: rgba(242, 245, 246, .78);
  overflow-wrap: anywhere;
}

/* ---- 3D browser mockup ---- */
.mockup {
  width: 100%; max-width: 460px; border-radius: 12px; overflow: hidden;
  background: #2B3237; box-shadow: 0 40px 80px -30px rgba(10, 13, 15, .8);
  transform: rotateY(-14deg) rotateX(6deg);
  transform-style: preserve-3d;
  transition: transform var(--dur-3) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .mockup[data-tilt] { will-change: transform; } }
.mockup__bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; background: #3A4247; }
.mockup__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.mockup__bar span { margin-left: 8px; height: 12px; flex: 1; border-radius: 6px; background: rgba(255, 255, 255, .12); }
.mockup__shot { position: relative; aspect-ratio: 16 / 10; }
.mockup__shot img { width: 100%; height: 100%; object-fit: cover; }
.mockup__meta { position: absolute; left: 0; right: 0; bottom: 0; padding: .875rem 1rem;
  background: linear-gradient(0deg, rgba(16, 20, 23, .82), transparent);
  color: var(--white); }
.mockup__meta h3 { font-family: var(--ff-text); font-size: var(--fs-xs); font-weight: 700;
  text-transform: none; letter-spacing: 0; }
.mockup__meta p { font-family: var(--ff-mono); font-size: 10px; opacity: .8; }

/* ==================================================== 4. SERVICES / BENTO */
.services__grid { display: grid; gap: 14px; }
/* Explicit rows, not auto rows: with grid-auto-rows the left card sized itself
   to its own content and stopped short of the third right-hand card, leaving a
   slate hole under it. Three equal rows plus a 1/4 row span make both columns
   start and end on the same two lines (QA asserts <= 1px at four widths). */
@media (min-width: 900px) {
  .services__grid {
    grid-template-columns: 1fr 1fr;
    /* 286px is the tallest right-hand card's content (heading + lead + four
       bullets + link + padding) plus clearance for the corner index */
    grid-template-rows: repeat(3, minmax(286px, auto));
    align-items: stretch;
  }
  .services__grid > :nth-child(1) { grid-column: 1; grid-row: 1 / 4; }
  .services__grid > :nth-child(2) { grid-column: 2; grid-row: 1; }
  .services__grid > :nth-child(3) { grid-column: 2; grid-row: 2; }
  .services__grid > :nth-child(4) { grid-column: 2; grid-row: 3; }
}
.svc {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  min-height: 260px; display: grid; align-content: end;
  padding: clamp(1.1rem, .8rem + 1.4vw, 1.75rem);
  /* the corner index lives in the top padding — keep the bottom-anchored
     content from ever reaching it */
  padding-top: calc(clamp(1.1rem, .8rem + 1.4vw, 1.75rem) + 1.5rem);
  color: var(--white);
}
/* the fill rules for picture.bg live in tokens.css */
/* the bullet lists sit over busy blueprint and ceiling photos — the default
   card scrim was not enough to hold 14px white type */
/* Alpha FLOOR, not a taper. The previous stack tapered to .32 at the top on the
   assumption that the text block was bottom-anchored — true only of the tall
   left card. In the six right-hand cards the copy runs the full height, so the
   first lines and the `01` index landed on the .32 end. Measured with
   _dev/qa/card_contrast.py (brightest pixel inside each glyph run's ink box):
   these photos contain genuine 255-white pixels, and white text over .32 there
   is 1.0:1 — invisible, not merely thin.

   Solving 4.5:1 for the worst case (a 255 pixel, text rgba(255,255,255,.92))
   puts the minimum overlay at a = .58; .64 is used for margin and still leaves
   36% of the photograph reading through. */
.svc .card__scrim {
  z-index: 1;
  background: linear-gradient(0deg,
      rgba(20, 24, 27, .93) 0%, rgba(20, 24, 27, .84) 40%,
      rgba(20, 24, 27, .74) 72%, rgba(20, 24, 27, .64) 100%);
}
/* :not() the two absolutely-positioned layers. `.svc > *` and `.card__scrim`
   both score (0,1,0); pages.css loads last, so the bare `> *` silently won and
   reset the scrim to position:relative — an empty in-flow div of zero height.
   The services cards therefore had NO scrim at all, whatever the gradient above
   said, which is why 14px white type was sitting on bare 255-white photography.
   picture.bg survived only because (0,1,1) outranks it. Same defect that was
   fixed on .mega__feature; the lesson is that `> *` is never safe in a
   component that stacks absolute layers. */
.svc > :not(picture):not(.card__scrim) { position: relative; z-index: 2; }
.svc__idx { position: absolute; top: clamp(1.1rem, .8rem + 1.4vw, 1.75rem);
  left: clamp(1.1rem, .8rem + 1.4vw, 1.75rem); z-index: 2;
  font-family: var(--ff-mono); font-size: var(--fs-micro); color: rgba(255, 255, 255, .85); }
.svc h3 { color: var(--white); margin-bottom: .4rem; }
.svc p { font-size: var(--fs-sm); color: rgba(255, 255, 255, .92); max-width: 42ch; }
.svc ul { margin-top: .75rem; display: grid; gap: .25rem; }
.svc li { font-size: 14px; color: rgba(255, 255, 255, .92); padding-left: 1rem; position: relative; }
.svc li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 1px;
  background: currentColor; opacity: .7; }
.svc .arrow-link { margin-top: .875rem; }

/* mobile: sticky stacking deck */
@media (max-width: 899px) {
  .services__grid { gap: 0; }
  .services__grid .svc {
    position: sticky;
    top: calc(var(--nav-h) + var(--i, 0) * 14px);
    margin-bottom: 14px;
    box-shadow: 0 -8px 30px -12px rgba(16, 20, 23, .6);
  }
}
@media (prefers-reduced-motion: reduce) and (max-width: 899px) {
  .services__grid .svc { position: static; }
}

/* ========================================================== 5. PROCESS */
.process { position: relative; }
.process__line { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.process__line path { fill: none; stroke: rgba(255, 255, 255, .45); stroke-width: 1;
  stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000);
  transition: stroke-dashoffset 1600ms var(--ease-out); }
.process.is-in .process__line path { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .process__line path { stroke-dashoffset: 0; } }
.process__steps { display: grid; gap: clamp(1.25rem, 1rem + 2vw, 2.5rem); position: relative; }
@media (min-width: 900px) { .process__steps { grid-template-columns: repeat(5, 1fr); } }
.step { display: grid; gap: .5rem; align-content: start; }
.step__n { font-family: var(--ff-mono); font-size: var(--fs-xs); color: var(--gypsum-50); opacity: .8; }
.step__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gypsum-50); }
.step h3 { font-family: var(--ff-text); font-size: var(--fs-sm); font-weight: 700;
  text-transform: none; letter-spacing: 0; color: var(--graphite-900); }
.step p { font-size: var(--fs-xs); color: var(--graphite-800); max-width: 32ch; }

/* ================================================== 6. PROGRAM / PROJECTS */
.progcard {
  width: clamp(230px, 58vw, 340px);
  border-radius: var(--r-lg); overflow: hidden; position: relative;
  /* slate-600 put 13px gypsum text at 3.4:1 (Lighthouse colour-contrast).
     slate-700 takes the same text to 5.6:1 with no change to the composition. */
  background: var(--slate-700);
}
.progcard .card__media { aspect-ratio: 4 / 3; }
.progcard__body { padding: .875rem 1rem 1.125rem; }
.progcard h3 { font-family: var(--ff-text); font-size: var(--fs-sm); font-weight: 700;
  text-transform: none; letter-spacing: 0; color: var(--gypsum-50); }
.progcard p { font-size: var(--fs-xs); color: rgba(242, 245, 246, .92); margin-top: .25rem; }
.progcard .n { font-family: var(--ff-mono); font-size: 10px; color: rgba(242, 245, 246, .85); }

.projects__grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.projects__grid--bento { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 899px) { .projects__grid--bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 559px) { .projects__grid--bento { grid-template-columns: 1fr; } }
/* 3+3 / 2+2+2 / 3+3. Nothing spans more than half the grid: the legacy photos
   are 640px wide and a full-width card would upscale one past the 1.25x cap. */
.projects__grid--bento > :nth-child(1) { grid-column: span 3; }
.projects__grid--bento > :nth-child(2) { grid-column: span 3; }
.projects__grid--bento > :nth-child(3) { grid-column: span 2; }
.projects__grid--bento > :nth-child(4) { grid-column: span 2; }
.projects__grid--bento > :nth-child(5) { grid-column: span 2; }
.projects__grid--bento > :nth-child(6) { grid-column: span 3; }
.projects__grid--bento > :nth-child(7) { grid-column: span 3; }
@media (max-width: 899px) { .projects__grid--bento > * { grid-column: span 1 !important; } }

.proj {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--slate-600); display: grid;
}
.proj .card__media { aspect-ratio: 4 / 3; }
.projects__grid--bento .proj:nth-child(1) .card__media,
.projects__grid--bento .proj:nth-child(2) .card__media,
.projects__grid--bento .proj:nth-child(6) .card__media,
.projects__grid--bento .proj:nth-child(7) .card__media { aspect-ratio: 16 / 9; }
.proj__body {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 1rem; display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1rem; color: var(--white);
}
.proj__body h3 { font-family: var(--ff-text); font-size: var(--fs-sm); font-weight: 700;
  text-transform: none; letter-spacing: 0; }
.proj__body .place { font-size: var(--fs-micro); opacity: .85; }
.proj__tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
}
.proj__n { font-family: var(--ff-mono); font-size: 10px; opacity: .9; white-space: nowrap; }

/* FLIP filtering */
.is-filtering .proj, .is-filtering .ref-item { transition: transform var(--dur-2) var(--ease-out); }
.proj[hidden], .ref-item[hidden] { display: none !important; }

/* ========================================================= 7. REFERENCES */
.counters { display: grid; gap: var(--gap); grid-template-columns: repeat(3, 1fr); }
@media (max-width: 639px) { .counters { grid-template-columns: 1fr; } }
.counters .card { padding: clamp(1.25rem, .8rem + 2vw, 2rem); display: grid; gap: .3rem; }
.counters .counter { font-size: clamp(2.5rem, 5vw, 4rem); }

.ref-groups { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.ref-group h3 {
  font-family: var(--ff-text); font-size: var(--fs-micro); font-weight: 700;
  letter-spacing: .08em; color: var(--graphite-900);
  padding-bottom: .5rem; margin-bottom: .875rem;
  border-bottom: 1px solid rgba(27, 27, 27, .22);
  display: flex; justify-content: space-between; gap: 1rem;
}
.ref-group h3 .n { font-family: var(--ff-mono); opacity: .6; }
.ref-list { display: grid; gap: .3rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.ref-item {
  display: flex; align-items: baseline; gap: .6rem;
  padding: .4rem .5rem; border-radius: var(--r-xs);
  font-size: var(--fs-sm); color: var(--graphite-900);
}
.ref-item:hover { background: rgba(255, 255, 255, .18); }
.ref-item .place { margin-left: auto; font-size: var(--fs-micro); opacity: .7; white-space: nowrap; }
.ref-item a { display: inline-flex; align-items: baseline; gap: .35rem; }
.ref-item a span { box-shadow: inset 0 -1px 0 0 currentColor; }
.ref-item svg { width: 9px; height: 9px; flex: 0 0 auto; }

.searchbar { display: flex; gap: .625rem; flex-wrap: wrap; align-items: center; }
.searchbar .input { max-width: 320px; }

/* ---- "Reference po tipu i regionu" (§4) ---- */
/* Fills the band that used to open between the marquees and the Kvalitet
   heading. Left is the same chart component the brand board uses (one
   [data-chart] host, one js/chart.js); right is a region grid built from the
   same reference list, so no count is written twice. */
.refmap { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 900px) { .refmap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.refmap__panel { border-radius: var(--r-lg); padding: clamp(1.25rem, .8rem + 2vw, 1.75rem); }
.refmap__panel > .chart__head { margin-bottom: 1.25rem; }

.regiongrid { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .25rem; }
.regionchip {
  display: inline-flex; align-items: baseline; gap: .5rem;
  min-height: 38px; padding: .35rem .85rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, .12);
  color: var(--gypsum-50); font-size: var(--fs-xs); font-weight: 500;
  transition: background-color var(--dur-1) var(--ease-out), transform var(--dur-1) var(--ease-out);
}
.regionchip:hover { background: rgba(255, 255, 255, .24); transform: translateY(-1px); }
.regionchip .n { font-family: var(--ff-mono); font-size: 10px; opacity: .72; }
.refmap__countries {
  display: flex; gap: 1.25rem; flex-wrap: wrap;
  margin-top: 1.125rem; padding-top: .875rem;
  border-top: 1px solid var(--hairline);
}
.refmap__countries li { display: grid; gap: 1px; }
.refmap__countries b { font-family: var(--ff-mono); font-size: var(--fs-sm); color: var(--gypsum-50); }
.refmap__countries span { font-size: 10px; color: rgba(242, 245, 246, .72); letter-spacing: .04em; }

/* Typographic wordmark cards — the clients' own logos are not ours to publish,
   so each is set in type instead (§4: no third-party logo files). */
.wordmarks { display: grid; gap: var(--gap); grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--gap); }
@media (max-width: 559px) { .wordmarks { grid-template-columns: 1fr; } }
.wordmark {
  position: relative; display: grid; gap: .3rem; align-content: center;
  min-height: 132px; padding: 1.125rem 1.25rem;
  border-radius: var(--r-md);
  background: var(--gypsum-50); color: var(--graphite-900);
  overflow: hidden;
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.wordmark:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(20, 24, 27, .35); }
.wordmark b {
  font-family: var(--ff-display); font-weight: 200; font-size: clamp(1.25rem, .9rem + 1.1vw, 1.75rem);
  line-height: 1.02; letter-spacing: -.01em; text-transform: uppercase;
}
.wordmark .mono { font-size: var(--fs-micro); color: var(--slate-700); letter-spacing: .05em; }
.wordmark::after {
  content: ""; position: absolute; right: -28px; top: -28px;
  width: 96px; height: 96px; border-radius: 50%;
  border: 1px solid rgba(27, 27, 27, .1);
}

/* ====================================================== 8. CERTIFICATES */
/* Two-column composition (§4): four cards at 2x2 on the left so they gain size,
   the "what they mean" panel on the right. The previous auto-fill grid laid the
   four cards into the first four of six tracks and left the right half of the
   row empty at 1440. */
.quality { display: grid; gap: clamp(1.25rem, .8rem + 2vw, 2.5rem); grid-template-columns: 1fr; }
@media (min-width: 1000px) { .quality { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.quality .certs { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.certmeaning {
  border-radius: var(--r-lg); padding: clamp(1.25rem, .8rem + 2vw, 1.75rem);
  display: grid; gap: 1rem; align-content: start;
}
.certmeaning h3 {
  font-family: var(--ff-text); font-size: var(--fs-micro); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: rgba(242, 245, 246, .72);
}
.certmeaning__rows { display: grid; }
.certmeaning__rows li {
  display: grid; gap: .2rem;
  padding: .875rem 0; border-top: 1px solid var(--hairline);
}
.certmeaning__rows li:first-child { border-top: 0; padding-top: 0; }
.certmeaning__rows b { font-size: var(--fs-sm); font-weight: 700; color: var(--gypsum-50); }
.certmeaning__rows .issuer { font-family: var(--ff-mono); font-size: 10px; color: rgba(242, 245, 246, .66); }
.certmeaning__rows p { font-size: var(--fs-xs); color: rgba(242, 245, 246, .88); max-width: 46ch; }
.certmeaning .marquee { margin-top: .25rem; padding-block: .75rem; border-top: 1px solid var(--hairline); }
.certmeaning .marquee .h3 { font-size: 1.125rem; color: rgba(242, 245, 246, .82); }

.certs { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.cert { border-radius: var(--r-lg); overflow: hidden; background: var(--gypsum-50); color: var(--graphite-900); }
.cert__shot { position: relative; aspect-ratio: 460 / 656; overflow: hidden; background: var(--mist-100); }
.cert__shot img { width: 100%; height: 100%; object-fit: contain; }
.cert__body { padding: .875rem 1rem 1.125rem; display: grid; gap: .25rem; }
.cert__body h3 { font-family: var(--ff-text); font-size: var(--fs-sm); font-weight: 700;
  text-transform: none; letter-spacing: 0; }
.cert__body .issuer { font-size: var(--fs-micro); color: var(--slate-700); font-weight: 600; }
.cert__body p { font-size: var(--fs-xs); color: var(--slate-700); }

/* ========================================================== 9. AWARD / CTA */
.award {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  border-radius: var(--r-lg); padding: clamp(1rem, .8rem + 1.2vw, 1.5rem) clamp(1.25rem, 1rem + 1.6vw, 2rem);
}
.award__mark { width: 40px; height: 40px; flex: 0 0 auto; }
.award p { font-size: var(--fs-sm); color: var(--graphite-900); }
.award .mono { font-size: var(--fs-micro); color: var(--slate-700); }

.cta {
  border-radius: var(--r-lg); overflow: hidden; position: relative;
  padding: clamp(2rem, 1.5rem + 4vw, 4.5rem) clamp(1.25rem, 1rem + 2vw, 3rem);
  display: grid; gap: 1.5rem; justify-items: start;
}
.cta h2 { color: var(--white); max-width: 16ch; }
.cta__actions { display: flex; gap: .625rem; flex-wrap: wrap; }

/* ========================================================= 10. CONTACT */
.contact__grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.contact-card {
  border-radius: var(--r-lg); padding: clamp(1.1rem, .8rem + 1.4vw, 1.75rem);
  display: grid; gap: .5rem; align-content: start;
}
.contact-card h3 { font-family: var(--ff-text); font-size: var(--fs-micro); font-weight: 700;
  letter-spacing: .08em; color: var(--slate-700); }
.contact-card a, .contact-card address { font-size: var(--fs-lead); color: var(--graphite-900);
  font-weight: 500; font-style: normal; line-height: 1.4; }
.contact-card a:hover { box-shadow: inset 0 -1px 0 0 currentColor; }
.contact-card .mono { font-size: var(--fs-micro); color: var(--slate-700); }

.dept { border-radius: var(--r-md); padding: 1rem 1.125rem; display: grid; gap: .2rem; }
.dept .unit { font-size: var(--fs-micro); font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--slate-700); }
.dept .person { font-size: var(--fs-sm); font-weight: 700; color: var(--graphite-900); }
.dept .title { font-size: var(--fs-xs); color: var(--slate-700); }
.dept a { font-family: var(--ff-mono); font-size: var(--fs-sm); color: var(--graphite-900); margin-top: .25rem; }
.dept a:hover { box-shadow: inset 0 -1px 0 0 currentColor; }

.mapbox { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9;
  background: var(--slate-600); display: grid; place-items: center; }
@media (max-width: 639px) { .mapbox { aspect-ratio: 4 / 3; } }
.mapbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapbox__ph { display: grid; gap: .875rem; justify-items: center; text-align: center; padding: 1.5rem; }
.mapbox__ph p { font-size: var(--fs-xs); color: rgba(242, 245, 246, .85); max-width: 40ch; }

.form-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 639px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid .span-2 { grid-column: 1 / -1; }

/* =========================================================== 11. GALLERY */
.gallery { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.gallery button {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  background: var(--slate-600); aspect-ratio: 4 / 3; width: 100%;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .gallery img { transition: transform var(--dur-2) var(--ease-out); }
  .gallery button:hover img { transform: scale(1.05); }
}
.gallery button::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(16, 20, 23, .18); opacity: 0;
  transition: opacity var(--dur-1) var(--ease-out);
}
.gallery button:hover::after { opacity: 1; }

/* ======================================================= 12. SPEC LISTS */
.speclist { display: grid; gap: .1rem; counter-reset: spec; }
.speclist li {
  display: flex; gap: 1rem; align-items: baseline;
  padding: .75rem .25rem; border-bottom: 1px solid rgba(27, 27, 27, .16);
  color: var(--graphite-900); font-size: var(--fs-sm);
}
.speclist li::before {
  counter-increment: spec; content: counter(spec, decimal-leading-zero);
  font-family: var(--ff-mono); font-size: var(--fs-micro); opacity: .55; flex: 0 0 auto;
}
.spectable th, .spectable td {
  text-align: left; padding: .75rem .5rem; font-size: var(--fs-sm);
  border-bottom: 1px solid rgba(27, 27, 27, .16); color: var(--graphite-900);
}
.spectable th { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: .06em;
  color: var(--slate-700); font-weight: 700; width: 34%; }

/* ========================================================== 13. ARCHIVE */
.archive { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.archive button { position: relative; border-radius: var(--r-md); overflow: hidden;
  aspect-ratio: 16 / 9; background: var(--slate-600); width: 100%; }
.archive img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.86); }
.archive .idx { position: absolute; left: 10px; bottom: 8px; color: var(--white); opacity: .9; }
