/* ATLASSO — hero prototype · lichtreveal (ronde 1, 13-10-2026). Lokaal experiment, niet de live site. */
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/nunito-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 200 1000; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Unbounded';
  src: url('../fonts/unbounded-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 200 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Nunito Sans';
  src: url('../fonts/nunito-sans-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 200 1000; font-style: normal; font-display: swap;
}

:root {
  --black: #050505;
  --ivory: #f6f0e4;
  --whisky: #c9924f;
  --display: 'Nunito', ui-rounded, 'SF Pro Rounded', 'Segoe UI', system-ui, sans-serif;
  --sans: 'Nunito Sans', 'Helvetica Neue', 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--black); }
body { font-family: var(--sans); color: var(--ivory); -webkit-font-smoothing: antialiased; }

.hero {
  /* --mx/--my = midden van het licht, --r = straal (px); hero.js zet ze elke frame */
  --mx: 60vw; --my: 46vh; --r: 0px;
  /* --tx/--ty/--tr = het licht dat op de tekst valt: normaal de lamp, boven de bubble een eigen licht */
  --tx: 60vw; --ty: 46vh; --tr: 300px;
  position: relative; height: 100vh; height: 100svh; min-height: 520px;
  overflow: hidden; background: var(--black); isolation: isolate;
}
@media (hover: hover) and (pointer: fine) { .js .hero { cursor: none; } }

.hero__photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%; z-index: 0;
  user-select: none; pointer-events: none;
}
/* Het donker: één laag over de foto met een zacht rond gat waar het licht valt. Buiten het licht blijft een zweem (4 %). */
.hero__dark {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(circle at var(--mx) var(--my),
      rgba(5,5,5,0) 0, rgba(5,5,5,.04) calc(var(--r) * .34), rgba(5,5,5,.30) calc(var(--r) * .56),
      rgba(5,5,5,.66) calc(var(--r) * .76), rgba(5,5,5,.90) calc(var(--r) * .92), rgba(5,5,5,.96) var(--r)),
    /* leesvlak: de wand achter titel en zin blijft ook in het licht rustig donker */
    linear-gradient(100deg, rgba(5,5,5,.62) 0, rgba(5,5,5,.46) 30%, rgba(5,5,5,0) 50%);
}
html:not(.js) .hero__dark { background: linear-gradient(100deg, rgba(5,5,5,.78) 0, rgba(5,5,5,.5) 40%, rgba(5,5,5,.15) 70%); }

/* ---------- titel + zin: op de rustige wand links ---------- */
.hero__copy {
  position: absolute; z-index: 2; left: clamp(22px, 4.6vw, 96px); top: clamp(56px, 12.5vh, 140px);
  width: min(41vw, 96vh); pointer-events: none;
}
.hero__copy > * { pointer-events: auto; }
.hero__title {
  margin: 0; font-family: 'Unbounded', var(--display); font-weight: 900; line-height: .8;
  font-size: min(6.3vw, 14.2vh); letter-spacing: .012em; white-space: nowrap;
  perspective: 1100px; color: var(--ivory);
}
.hero__title span {
  display: inline-block; transform-origin: 50% 60%;
  /* V1 Final: altijd spierwit; de lamp verlicht de foto, niet de letters */
  color: #fff;
  filter: drop-shadow(0 2px 18px rgba(0,0,0,.55));
  transition: filter .6s ease;
}
/* woordmerk: ruim gespatieerd, met de paren A-T en L-A optisch bijgetrokken */
.hero__title span:nth-child(2) { margin-left: -.05em; }
.hero__title span:nth-child(4) { margin-left: -.045em; }
.hero__title span:last-child { letter-spacing: 0; }
.hero__claim { margin: clamp(20px, 3.6vh, 40px) 0 0 .06em; }
/* één fijne whisky-lijn tussen naam en belofte */
.hero__claim::before { content: ''; display: block; width: clamp(40px, 3.4vw, 64px); height: 2px; border-radius: 2px; margin-bottom: clamp(16px, 2.6vh, 26px);
  background: linear-gradient(90deg, var(--whisky), rgba(201,146,79,.25)); }
.hero__claim span {
  display: block; width: fit-content; white-space: nowrap; color: #fff;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)) drop-shadow(0 2px 16px rgba(0,0,0,.55));
  transition: filter .6s ease;
}
/* eerste deel spreekt: rond en stevig · tweede deel ondersteunt: licht, fijn, iets kleiner */
/* de hoofdzin draagt nu: twee regels, allebei spierwit; de tweede iets lichter van gewicht */
.hero__claim-a {
  font-family: var(--display); font-weight: 800; font-size: min(2.85vw, 6.1vh); line-height: 1.08; letter-spacing: -.018em;
}
.hero__claim-b {
  margin-top: .18em; font-family: var(--display); font-weight: 500; font-size: min(2.85vw, 6.1vh); line-height: 1.08; letter-spacing: -.018em;
}

/* belofte: één rustige zin, smal gezet */
.hero__belofte {
  margin: clamp(16px, 3vh, 30px) 0 0 .08em; max-width: 25em; color: #fff;
  font-family: var(--display); font-weight: 500; font-size: clamp(16px, 1.22vw, 21px); line-height: 1.5;
  text-shadow: 0 1px 14px rgba(0,0,0,.6);
}

/* twee feiten onder een witte haarlijn; bij hover/focus licht de lijn erboven op (zelfde LED-taal als de bubbel) */
.feiten {
  list-style: none; margin: clamp(18px, 3.4vh, 34px) 0 0 .08em; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 0 clamp(26px, 2.6vw, 48px);
}
.feit { position: relative; display: grid; gap: 6px; padding-top: 16px; outline: none; cursor: default; }
.feit__lijn { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(255,255,255,.34); }
.feit__lijn::after {
  content: ''; position: absolute; inset: -1px 0; border-radius: 2px; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, #fff, rgba(255,240,214,.9) 70%, rgba(255,232,196,.3));
  box-shadow: 0 0 12px rgba(255,232,196,.75), 0 0 28px rgba(255,214,160,.35);
  transition: transform .7s var(--ease);
}
.feit__label { font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.66); transition: color .4s ease; }
.feit__tekst { font-family: var(--display); font-weight: 700; font-size: clamp(15px, 1.1vw, 18px); color: #fff; white-space: nowrap; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
/* de uitleg schuift zacht open onder het feit (alleen extra: dezelfde info staat bij de tarieven) */
.feit__meer {
  max-width: 19em; font-family: var(--display); font-weight: 500; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.8);
  opacity: 0; transform: translateY(-4px); transition: opacity .45s ease, transform .6s var(--ease); pointer-events: none;
  position: absolute; top: 100%; left: 0; padding-top: 10px;
}
.feit:hover .feit__lijn::after, .feit:focus-visible .feit__lijn::after { transform: scaleX(1); }
.feit:hover .feit__label, .feit:focus-visible .feit__label { color: #fff; }
.feit:hover .feit__meer, .feit:focus-visible .feit__meer { opacity: 1; transform: none; }
.feit:focus-visible .feit__tekst { text-decoration: underline; text-decoration-color: rgba(255,232,196,.6); text-underline-offset: 5px; }
/* muis boven de bubble: de lamp is uit, de tekst geeft zelf licht */
.hero.is-nav .hero__title span { filter: drop-shadow(0 0 22px rgba(255,232,196,.42)) drop-shadow(0 0 60px rgba(255,214,160,.22)); }
.hero.is-nav .hero__claim span { filter: drop-shadow(0 0 14px rgba(255,232,196,.4)); }

/* ---------- navigatiebubble ---------- */
.bubble {
  position: absolute; z-index: 3; left: 50%; bottom: clamp(18px, 4.4vh, 40px); transform: translateX(-50%);
  display: flex; align-items: center; gap: 2px; padding: 7px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(60,56,50,.52), rgba(22,20,18,.58));
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 0 0 1px rgba(255,255,255,.07), 0 14px 36px rgba(5,5,5,.8);
  cursor: default;
}
.bubble a {
  position: relative; z-index: 1; display: block; padding: 13px clamp(18px, 2vw, 30px); border-radius: 999px;
  font-family: var(--display); font-weight: 700; font-size: clamp(15px, 1.08vw, 17px); letter-spacing: .01em;
  color: rgba(246,240,228,.74); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: color .35s var(--ease), letter-spacing .5s var(--ease);
}
.bubble a:hover, .bubble a:focus-visible, .bubble a.is-on { color: #fff; letter-spacing: .028em; }
.bubble a:focus-visible { outline: 2px solid var(--whisky); outline-offset: 2px; }
/* het glijdende lichtje dat het item volgt */
.bubble__glide {
  position: absolute; z-index: 0; left: 0; top: 7px; bottom: 7px; width: 0; border-radius: 999px; opacity: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.20), rgba(255,255,255,.07));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 0 0 1px rgba(201,146,79,.28), 0 6px 22px rgba(201,146,79,.16);
  transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s ease;
}
.bubble__glide.is-on { opacity: 1; }

/* ---------- opening: stukken wachten tot hero.js ze binnenbrengt ---------- */
.js .hero[data-state="pre"] .hero__title span { opacity: 0; }
.js [data-piece] { transition: opacity .8s ease, translate .9s var(--ease); }
.js .hero[data-state="pre"] [data-piece], .js .hero[data-state="fly"] [data-piece] { opacity: 0; translate: 0 14px; }

/* ---------- gsm / staand: zelfde verhaal, tekst boven, monitor in beeld ---------- */
@media (max-aspect-ratio: 1/1) {
  .hero__photo { object-position: 74% 50%; }
  .hero__dark { background:
    radial-gradient(circle at var(--mx) var(--my), rgba(5,5,5,0) 0, rgba(5,5,5,.05) calc(var(--r) * .34), rgba(5,5,5,.34) calc(var(--r) * .58),
      rgba(5,5,5,.74) calc(var(--r) * .8), rgba(5,5,5,.96) var(--r)),
    linear-gradient(180deg, rgba(5,5,5,.82) 0, rgba(5,5,5,.74) 40%, rgba(5,5,5,.45) 60%, rgba(5,5,5,0) 74%); }
  .hero__copy { left: 6vw; right: 6vw; top: 7%; width: auto; }
  .hero__title { font-size: min(13.4vw, 10.5vh); letter-spacing: .02em; }
  .hero__claim span { white-space: normal; }
  .hero__claim-a, .hero__claim-b { font-size: clamp(24px, 7.4vw, 38px); }
  .hero__belofte { font-size: clamp(15px, 4.2vw, 18px); max-width: 22em; }
  .feiten { gap: 0 22px; }
  .feit__tekst { white-space: normal; font-size: 15px; }
  .feit__meer { display: none; }
  .bubble { width: calc(100% - 28px); max-width: 460px; justify-content: space-between; }
  .bubble a { padding: 13px clamp(5px, 2vw, 16px); font-size: clamp(13px, 3.5vw, 15px); }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-piece], .bubble__glide, .bubble a { transition-duration: .01s; }
}
