/* ==========================================================================
   Studio LONAR — landing page
   Kleuren: zwart #0A0A0A · wit #FFFFFF · accent (LONAR-blauw) #00218F
   ========================================================================== */

:root {
  --black: #0A0A0A;
  --white: #FFFFFF;
  --accent: #00218F;
  --pad: 40px;
  --maxw: 1560px;
}

* { box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--black);
  font-family: 'Geist', Helvetica, Arial, sans-serif;
}

::selection { background: var(--accent); color: var(--white); }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

img, svg { display: block; }

/* Contactblokken die in config.js leeg zijn gelaten, blijven verborgen — ook
   zonder JavaScript, en ook al zet hun eigen regel display:flex */
[hidden] { display: none !important; }

/* Zichtbaar voor screenreaders, onzichtbaar op het scherm */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap { max-width: var(--maxw); margin: 0 auto; }

/* --------------------------------------------------------------------------
   Animaties
   -------------------------------------------------------------------------- */
@keyframes lonar-blink { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
@keyframes lonar-cue {
  0%   { transform: translateY(0); opacity: .35; }
  50%  { opacity: 1; }
  100% { transform: translateY(9px); opacity: .35; }
}
@keyframes lonar-spin     { to { transform: rotate(360deg); } }
@keyframes lonar-spin-rev { to { transform: rotate(-360deg); } }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}

.nav {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px var(--pad);
}

/* NL / EN schakelaar */
.lang {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--white);
}
.lang__nl, .lang__en { transition: opacity .3s ease; }
.lang__nl { opacity: .4; }
.lang__en { opacity: 1; }
body[data-lang="NL"] .lang__nl { opacity: 1; }
body[data-lang="NL"] .lang__en { opacity: .4; }

.lang__track {
  width: 42px;
  height: 21px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .5);
  position: relative;
  display: inline-block;
}
.lang__knob {
  position: absolute;
  top: 2px;
  left: 24px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--white);
  transition: left .3s cubic-bezier(.5, 0, .2, 1);
}
body[data-lang="NL"] .lang__knob { left: 2px; }

.nav__links { display: flex; align-items: center; gap: 10px; }

.pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(8px);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  transition: background .25s ease, color .25s ease;
}
.pill:hover { background: var(--white); color: var(--black); }

.hero__body {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--pad);
}

.hero__lines {
  position: relative;
  height: 44vh;
  min-height: 300px;
}

.hero__line {
  position: absolute;
  left: 0;
  bottom: 0;
  margin: 0;
  max-width: calc(100% - 300px);
  font-size: clamp(40px, 7.6vw, 140px);
  font-weight: 500;
  line-height: .94;
  letter-spacing: -.035em;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.4, 0, .2, 1);
}
.hero__line > span { display: block; }

/* De LONAR-komma achter elke regel */
.komma {
  height: .29em;
  width: auto;
  display: inline-block;
  vertical-align: -.162em;
  margin-left: .12em;
}

/* Het woordmerk in de laatste hero-regel */
.wordmark-inline {
  height: .82em;
  width: auto;
  display: inline-block;
  vertical-align: -.04em;
  overflow: visible;
}

.hero__bottom {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 36px;
  flex-wrap: wrap;
  margin-top: 52px;
  padding-bottom: 40px;
  max-width: calc(100% - 300px);
}

.hero__ctas { display: flex; gap: 22px; align-items: center; }

/* Onderstreepte link met pijl die uitschuift bij hover */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, .4);
  padding-bottom: 5px;
  transition: gap .22s ease, color .22s ease, border-color .22s ease;
}
.arrow-link:hover { gap: 16px; color: var(--white); border-color: var(--white); }

.arrow-link--muted {
  color: rgba(255, 255, 255, .7);
  border-bottom-color: rgba(255, 255, 255, .22);
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}
.scroll-cue__arrow {
  display: inline-block;
  animation: lonar-cue 1.8s ease-in-out infinite;
}

/* Verticale kolom rechts: tagline, streep, wisselende iconen */
.dock {
  position: absolute;
  right: var(--pad);
  top: 150px;
  bottom: 250px;
  width: 30px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  overflow: hidden;
  pointer-events: none;
}
.dock__tagline {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .24em;
  color: rgba(255, 255, 255, .72);
  line-height: 1.3;
  text-align: left;
  min-height: 0;
  flex-shrink: 1;
  overflow: hidden;
}
.dock__rule {
  width: 1px;
  height: clamp(32px, 7vh, 72px);
  background: rgba(255, 255, 255, .45);
  position: relative;
  flex-shrink: 0;
}
.dock__rule::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: -4px;
  width: 0;
  height: 0;
  border-left: 4.5px solid transparent;
  border-right: 4.5px solid transparent;
  border-top: 8px solid rgba(255, 255, 255, .45);
}
.dock__glyphs {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--white);
  opacity: .55;
  flex-shrink: 0;
}

/* Raster met kleine iconen in de rechteronderhoek */
.scatter {
  position: absolute;
  right: 26px;
  bottom: 22px;
  width: 300px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  color: var(--white);
  opacity: .3;
  pointer-events: none;
  clip-path: polygon(100% 0, 100% 100%, 0% 100%);
}

.glyph {
  display: inline-flex;
  line-height: 0;
  transition: opacity .7s ease;
}

/* --------------------------------------------------------------------------
   Intro
   -------------------------------------------------------------------------- */
.intro {
  background: var(--white);
  color: var(--black);
  padding: 120px var(--pad) 110px;
}
.intro__lead {
  margin: 0 0 28px;
  font-size: clamp(23px, 2.7vw, 44px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -.022em;
  text-wrap: pretty;
  max-width: 1240px;
}
.intro__lead:last-child { margin-bottom: 0; }
.intro__lead .accent { color: var(--accent); }

.intro__cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: 4.4em;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--black);
  border-bottom: 1px solid rgba(10, 10, 10, .3);
  padding-bottom: 5px;
  transition: gap .22s ease, color .22s ease, border-color .22s ease;
}
.intro__cta:hover { gap: 16px; color: var(--accent); border-color: var(--accent); }

/* --------------------------------------------------------------------------
   Applicaties
   -------------------------------------------------------------------------- */
.apps {
  background: var(--white);
  color: var(--black);
  padding: 20px var(--pad) 130px;
}

.section-head {
  border-top: 1px solid rgba(10, 10, 10, .16);
  padding-top: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 78px);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -.035em;
}
.section-head__lead {
  margin: 0;
  max-width: 330px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(10, 10, 10, .7);
}

.cards {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.card {
  min-height: 620px;
  position: relative;
  border: 1px solid rgba(10, 10, 10, .16);
  overflow: hidden;
  background: var(--white);
}
.card--wide   { grid-column: span 7; }
.card--narrow { grid-column: span 5; }

.card canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
/* Witte vervaging onderaan zodat de tekst leesbaar blijft over de animatie */
.card__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #FFFFFF 22%, rgba(255, 255, 255, 0) 66%);
}

.card__badge {
  position: absolute;
  top: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: var(--white);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}
.card__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: lonar-blink 1.8s ease-in-out infinite;
}

.card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 38px;
}
.card__name {
  margin: 0 0 14px;
  font-size: clamp(34px, 3.6vw, 62px);
  font-weight: 600;
  line-height: .94;
  letter-spacing: -.03em;
  color: var(--accent);
}
.card__title {
  margin: 0 0 18px;
  font-size: clamp(26px, 2.7vw, 44px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.03em;
  max-width: 22ch;
}
.card--narrow .card__title { max-width: 20ch; }

.card__desc {
  margin: 0 0 30px;
  max-width: 46ch;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(10, 10, 10, .75);
}
.card--narrow .card__desc { max-width: 42ch; }
.card__desc--tight { margin-bottom: 16px; }

.card__foot {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  border-top: 1px solid rgba(10, 10, 10, .14);
  padding-top: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 14px 22px;
  border-radius: 100px;
  background: var(--accent);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .22s ease, gap .22s ease;
}
.btn:hover { background: var(--black); color: var(--white); gap: 16px; }

.card__note {
  font-size: 11.5px;
  letter-spacing: .04em;
  color: rgba(10, 10, 10, .75);
}
.card__status {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, .75);
}

/* --------------------------------------------------------------------------
   Visie
   -------------------------------------------------------------------------- */
.vision {
  position: relative;
  background: var(--black);
  color: var(--white);
  padding: 130px var(--pad) 140px;
  overflow: hidden;
}
.vision__stage {
  position: relative;
  width: min(620px, 84vw);
  aspect-ratio: 1;
  margin: 0 auto;
}
.vision__ring { position: absolute; inset: 0; }

.vision__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}
.vision__eyebrow {
  margin: 0;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  max-width: 24ch;
  line-height: 1.6;
}
.vision__word {
  margin: 0;
  font-size: clamp(56px, 11vw, 180px);
  font-weight: 500;
  line-height: .88;
  letter-spacing: -.05em;
}
.vision__down {
  margin-top: 20px;
  display: inline-flex;
  color: rgba(255, 255, 255, .6);
  animation: lonar-cue 1.8s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact {
  background: var(--white);
  color: var(--black);
  padding: 120px var(--pad) 110px;
}
.contact__head {
  border-top: 1px solid rgba(10, 10, 10, .16);
  padding-top: 28px;
  margin-bottom: 64px;
}
.contact__head h2 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 78px);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -.035em;
  max-width: 16ch;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 64px 32px;
}
.two-col__left  { grid-column: span 5; }
.two-col__right { grid-column: 7 / -1; }

.eyebrow {
  margin: 0 0 32px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, .55);
}

/* Vult per rij, niet per kolom: het aantal contactgegevens hangt af van
   config.js, en zo blijven de kolommen bij elk aantal in balans */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 32px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
}
.contact__item {
  display: flex;
  align-items: center;
  gap: 11px;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 24px;
}
.form label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, .6);
}
.form__full { grid-column: 1 / -1; }

.form input,
.form textarea {
  width: 100%;
  min-width: 0;
  background: none;
  font-family: inherit;
  font-size: 15px;
  color: var(--black);
  outline: none;
}
.form input {
  border: none;
  border-bottom: 1px solid rgba(10, 10, 10, .3);
  padding: 8px 0;
  transition: border-color .22s ease;
}
.form input:focus { border-bottom-color: var(--accent); }

.form textarea {
  border: 1px solid rgba(10, 10, 10, .3);
  padding: 14px;
  resize: vertical;
  min-height: 160px;
  transition: border-color .22s ease;
}
.form textarea:focus { border-color: var(--accent); }

/* Honeypot: verborgen veld dat alleen bots invullen */
.form__hp {
  position: absolute !important;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form__actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.form__status {
  margin: 0;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: .02em;
  text-transform: none;
  color: rgba(10, 10, 10, .7);
}
.form__status[data-state="ok"]    { color: var(--accent); }
.form__status[data-state="error"] { color: #B00020; }

.form__submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(10, 10, 10, .3);
  cursor: pointer;
  padding: 0 0 6px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap .22s ease, border-color .22s ease, opacity .22s ease;
}
.form__submit:hover { gap: 20px; border-color: var(--accent); }
.form__submit[disabled] { opacity: .45; cursor: progress; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 96px var(--pad) 56px;
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 56px 32px;
}
.footer__brand { grid-column: span 5; }
.footer__wordmark {
  width: 260px;
  max-width: 70vw;
  height: auto;
}
.footer__cols {
  grid-column: 7 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 34px 28px;
  font-size: 12px;
  letter-spacing: .04em;
}
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__label {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .45);
  font-size: 10.5px;
}
/* Instagram in de footer: logo en naam op één lijn */
.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer__bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.footer__bottom-left {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

/* Zelfde vorm als de knoppen in de navigatie, zodat de footer er niet
   met een eigen knopstijl bij komt te staan */
.footer__terms {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .06);
  color: #FFFFFF;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.footer__terms:hover {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--black);
}

/* --------------------------------------------------------------------------
   Terms & Conditions (terms.html)
   -------------------------------------------------------------------------- */
.legal__top {
  background: var(--white);
  padding: 34px var(--pad) 0;
}
.arrow-link--back {
  color: var(--black);
  border-bottom-color: rgba(10, 10, 10, .3);
}
.arrow-link--back:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.legal {
  background: var(--white);
  color: var(--black);
  padding: 70px var(--pad) 110px;
}
.legal__inner { max-width: 860px; margin: 0 auto; }

.legal__title {
  margin: 0 0 14px;
  font-size: clamp(38px, 6vw, 84px);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -.035em;
}
.legal__meta {
  margin: 0 0 48px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, .55);
}

/* Waarschuwing zolang de juridische tekst nog niet is ingevuld — weghalen
   zodra de inhoud er staat */
.legal__notice {
  border-left: 3px solid var(--accent);
  background: rgba(0, 33, 143, .05);
  padding: 18px 22px;
  margin-bottom: 56px;
  font-size: 14px;
  line-height: 1.6;
}
.legal__notice strong { display: block; margin-bottom: 4px; }

.legal__section {
  border-top: 1px solid rgba(10, 10, 10, .16);
  padding-top: 24px;
  margin-bottom: 44px;
}
.legal__section h2 {
  margin: 0 0 14px;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.legal__section p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(10, 10, 10, .78);
}

/* Nog in te vullen tekst, zodat je in één oogopslag ziet wat er mist */
.legal__todo {
  color: rgba(10, 10, 10, .5) !important;
  font-style: italic;
}

.legal__link {
  color: var(--accent);
  border-bottom: 1px solid rgba(0, 33, 143, .35);
}
.legal__link:hover { border-bottom-color: var(--accent); }

/* --------------------------------------------------------------------------
   Responsive — de iconen leven alleen in de rechtermarge op brede schermen,
   zodat de kop nooit ruimte met ze hoeft te delen
   -------------------------------------------------------------------------- */
@media (max-height: 820px), (max-width: 1180px) {
  .dock__tagline { display: none; }
}

@media (max-width: 1180px) {
  .dock { bottom: 210px; gap: 12px; }
  .scatter { width: 180px; gap: 9px; }
  .hero__line { max-width: calc(100% - 150px); }
  .hero__bottom { max-width: calc(100% - 150px); }
}

@media (max-width: 820px) {
  :root { --pad: 20px; }
  .dock, .scatter { display: none; }
  .hero__lines { height: 34vh; }
  .hero__line, .hero__bottom { max-width: 100%; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 420px; }
  .card--wide, .card--narrow { grid-column: auto; }
  .two-col { grid-template-columns: 1fr; }
  .two-col__left, .two-col__right { grid-column: 1 / -1; }
  .contact__grid { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .intro { padding-top: 90px; padding-bottom: 80px; }
  /* display:flex maakt de link blok-niveau, zodat hij op een eigen regel
     onder de alinea komt in plaats van ertegenaan te plakken */
  .intro__cta { margin-left: 0; margin-top: 26px; display: flex; width: fit-content; }
  .footer__brand, .footer__cols { grid-column: 1 / -1; }
}

/* Respecteer de systeemvoorkeur voor minder beweging */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
