/* ==========================================================
   BARBAAS · coming soon
   Kleuren (modern-industrieel)
   ========================================================== */
:root {
  --kalk: #EEECE7;
  --steen: #D9D4CC;
  --beton: #B9B5AE;
  --warmgrijs: #8A857D;
  --grafiet: #3A3936;
  --inkt: #1C1B1A;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --gutter: clamp(20px, 5vw, 48px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #2B2A28;
  color: var(--kalk);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-underline-offset: 4px; }
:focus-visible { outline: 1px solid var(--kalk); outline-offset: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- achtergrond: beton + warm licht ---------- */
.bg {
  position: fixed; inset: 0; z-index: -1;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .28 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(172deg, #6E6A64 0%, #45423E 42%, #242321 100%);
}
.bg .glow {
  position: absolute; width: 90vmax; height: 90vmax; left: 50%; top: -38vmax;
  transform: translateX(-10%);
  background: radial-gradient(closest-side, rgba(238, 205, 156, .34), rgba(238, 205, 156, .08) 55%, transparent 72%);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translateX(-40%) translateY(4vmax); } }

/* ---------- balk boven / onder ---------- */
.bar, .foot {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: calc(env(safe-area-inset-top, 0px) + 22px) var(--gutter) 22px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--steen);
}
.foot {
  padding: 22px var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 22px);
  flex-wrap: wrap; justify-content: center; column-gap: 28px; row-gap: 6px;
  color: var(--beton); letter-spacing: .1em;
}
.foot a { text-decoration: none; }
.foot a:hover { color: var(--kalk); }
.lang { display: flex; align-items: center; gap: 6px; }
.lang button {
  font: inherit; letter-spacing: inherit; color: var(--beton);
  background: none; border: 0; padding: 8px 4px; cursor: pointer;
}
.lang button[aria-pressed="true"] { color: var(--kalk); text-decoration: underline; text-underline-offset: 6px; }

/* ---------- midden ---------- */
.main {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: clamp(20px, 3.2vh, 32px);
  padding: 24px var(--gutter) 40px;
}
.eyebrow {
  margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--steen);
}
.logo {
  margin: 0;
  font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 400;
  font-size: clamp(30px, 8.4vw, 92px); line-height: 1;
  letter-spacing: .42em; margin-right: -.42em; /* optisch centreren */
  color: var(--kalk);
}
.lead { margin: 0; font-size: clamp(16px, 2vw, 19px); color: var(--steen); max-width: 36ch; }

.count {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(238,236,231,.28); border-bottom: 1px solid rgba(238,236,231,.28);
  width: min(100%, 460px);
}
.count div { display: grid; gap: 2px; padding: 14px 4px; }
.count div + div { border-left: 1px solid rgba(238,236,231,.18); }
.count b {
  font-family: var(--mono); font-weight: 400; font-size: clamp(24px, 4.4vw, 36px);
  font-variant-numeric: tabular-nums; letter-spacing: .02em; color: var(--kalk);
}
.count span { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--beton); }
.opened { margin: 0; font-size: 18px; }

/* ---------- formulier ---------- */
.signup { width: min(100%, 460px); display: grid; gap: 12px; text-align: left; }
.hp { position: absolute; left: -9999px; }
.field { display: flex; border: 1px solid rgba(238,236,231,.5); background: rgba(28,27,26,.28); backdrop-filter: blur(6px); }
.field:focus-within { border-color: var(--kalk); }
.field input {
  flex: 1; min-width: 0; font: 400 16px/1 var(--body); color: var(--kalk);
  background: transparent; border: 0; padding: 16px; outline: none;
}
.field input::placeholder { color: var(--beton); }
.field button {
  font: 600 11px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase;
  background: var(--kalk); color: var(--inkt); border: 0; padding: 0 18px; cursor: pointer;
  transition: background .25s ease;
}
.field button:hover { background: var(--steen); }
.field button[disabled] { opacity: .6; cursor: default; }
.consent { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 13px; color: var(--steen); line-height: 1.5; cursor: pointer; }
.consent input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--kalk); }
.msg { margin: 0; min-height: 1.5em; font-size: 14px; }
.msg.err { color: #F0C9B8; }
.msg.ok { color: var(--kalk); }

@media (max-width: 440px) {
  .field { flex-direction: column; }
  .field button { padding: 16px; }
}

.insta { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.insta:hover { color: var(--steen); }

/* ---------- rustige entree ---------- */
.reveal { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.main > .reveal:nth-child(2) { animation-delay: .08s; }
.main > .reveal:nth-child(3) { animation-delay: .18s; }
.main > .reveal:nth-child(4) { animation-delay: .28s; }
.main > .reveal:nth-child(6) { animation-delay: .38s; }
.main > .reveal:nth-child(7) { animation-delay: .46s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .reveal, .bg .glow { animation: none; }
}
