/* Gloed: one ember disc, read like an instrument. One stylesheet, no build step. */

@font-face { font-family: "Tenor Sans"; src: url("fonts/tenor-latin.woff2") format("woff2"); font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Tenor Sans"; src: url("fonts/tenor-latin-ext.woff2") format("woff2"); font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Familjen Grotesk"; src: url("fonts/familjen-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Familjen Grotesk"; src: url("fonts/familjen-latin-ext.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ember: #B9361A;
  --ember-deep: #5A1A12;
  --ember-hot: #DE6B26;
  --flare: #F4C35E;
  --night: #0D0907;
  --pit: #070403;
  --basalt: #1A1310;
  --line: #7A6858;
  --sand: #C9B79C;
  --sand-2: #E7D8C3;
  --bone: #EFE6D8;
  --on-ember: #FBF8F4;
  --rock-1: #742615; --rock-2: #531B10; --rock-3: #36130C; --rock-4: #1F0E0A;

  --display: "Tenor Sans", "Familjen Grotesk", system-ui, sans-serif;
  /* cast concrete: panel joints and tie holes */
  --concrete: radial-gradient(circle at 1.25rem 1.25rem, rgba(0, 0, 0, .55) 0 .17rem, rgba(0, 0, 0, 0) .21rem) 0 0 / 7rem 8.5rem,
    repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0) 0 8.4375rem, rgba(0, 0, 0, .42) 8.4375rem 8.5rem),
    repeating-linear-gradient(to right, rgba(0, 0, 0, 0) 0 13.9375rem, rgba(0, 0, 0, .3) 13.9375rem 14rem);
  --font: "Familjen Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --step: clamp(4rem, 9vh, 5.5rem);
  --max: 82rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--concrete), linear-gradient(to bottom, #24110B 0, #1C0E0A 22%, #130A08 55%, #0A0605 82%, var(--pit) 100%); color: var(--bone); font-family: var(--font); font-size: 1.0625rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--flare); outline-offset: 3px; }
.i18n-wait [data-i18n] { visibility: hidden; }
section { position: relative; isolation: isolate; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -4rem; z-index: 20; padding: .75rem 1rem; background: var(--bone); color: var(--night); }
.skip:focus { top: .75rem; }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* Film grain over the whole page */
body::after { content: ""; position: fixed; inset: 0; z-index: 5; pointer-events: none; opacity: .11;
  background-image: 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 .92  0 0 0 0 .8  0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Type */
.kicker { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .24em; font-size: clamp(.875rem, .35vw + .8rem, 1.0625rem); line-height: 1.4; color: var(--sand); }
.statement { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .08em; font-size: clamp(2.25rem, 6.2vw, 5.25rem); line-height: 1.14; max-width: 16em; text-wrap: balance; }

/* Top bar */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 10; background: rgba(13, 9, 7, .94); border-bottom: 1px solid rgba(201, 183, 156, .14); }
.bar__inner { display: flex; align-items: center; gap: 1.25rem; min-height: 4rem; }
.wordmark { font-family: var(--display); text-transform: uppercase; font-size: 1.125rem; letter-spacing: .34em; text-decoration: none; margin-right: auto; padding-block: .6rem; }
.lang { display: flex; align-items: center; gap: .125rem; color: var(--sand); }
.lang button { font: inherit; font-size: .9375rem; color: inherit; background: none; border: 0; min-width: 2.75rem; min-height: 2.75rem; cursor: pointer; }
.lang button[aria-pressed="true"] { color: var(--bone); text-decoration: underline; text-underline-offset: .3em; }
.bar__cta { font-size: .9375rem; text-underline-offset: .3em; padding-block: .75rem; }
@media (max-width: 30rem) { .bar__cta { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0 1.75rem; background: var(--ember); color: var(--on-ember); font: inherit; font-weight: 600; text-decoration: none; border: 0; border-radius: 0; cursor: pointer; transition: background-color .2s; }
.btn:hover { background: #9C2B14; }
.btn:active { background: #8E2316; }
.btn:disabled { background: #4A2A20; color: var(--sand); cursor: default; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }

/* ---------- 1. The disc rises behind the slabs ---------- */
.hero {
  --hz: 100%; --sun: clamp(24rem, 112vw, 56rem); --s: 0;
  overflow: hidden; min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: minmax(17rem, 1fr) auto;
  background: transparent;
}
.scene, .scene > * { position: absolute; }
.scene { inset: 0; z-index: -1; }
.hero .scene { position: relative; inset: auto; grid-row: 1; overflow: hidden; background: linear-gradient(to bottom, var(--night) 0%, #150B08 45%, #3A130C 100%); }
.halo { left: 60%; top: var(--hz); width: calc(var(--sun) * 2); aspect-ratio: 1; transform: translate(-50%, -58%); background: radial-gradient(closest-side, rgba(222, 107, 38, .3), rgba(185, 54, 26, .16) 45%, rgba(185, 54, 26, 0)); }
.sun { left: 60%; top: var(--hz); width: var(--sun); aspect-ratio: 1; transform: translate(-50%, calc(-64% + var(--s) * .55px)); }
.sun-rise { position: absolute; inset: 0; }
.disc { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #E9802F, #D2501F 36%, var(--ember) 70%, #8E2316); }
.ground { left: 0; right: 0; top: 100%; height: 100vh; background: linear-gradient(to bottom, #1C0D09, rgba(13, 9, 7, .9) 5rem, rgba(13, 9, 7, 0) 14rem); }
.slabs { left: 50%; width: max(100%, 64rem); transform: translateX(-50%); bottom: calc(100% - var(--hz) - 1px); display: block; }
.slabs--far { height: clamp(7rem, 18vh, 11rem); fill: #4A170D; }
.slabs--near { height: clamp(8.5rem, 24vh, 15rem); fill: #110907; }
.slabs__edge { fill: #7A2715; }
.haze { left: 0; right: 0; top: calc(var(--hz) - 7rem); height: 9rem; background: linear-gradient(to bottom, rgba(120, 38, 18, 0), rgba(110, 34, 17, .5) 70%, rgba(40, 15, 9, .85)); }

.hero__content { grid-row: 2; grid-column: 1; padding-block: clamp(1.75rem, 5vh, 3.5rem) clamp(2.5rem, 7vh, 5rem); }
/* A faint afterglow on the ground just under the horizon, fading into the wall. */
.hero::after { content: ""; grid-row: 2; grid-column: 1; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, rgba(58, 19, 12, .6), rgba(28, 13, 9, .3) 3rem, rgba(13, 9, 7, 0) 9rem); }
.hero h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 1; }
.hero h1 .h1a { display: block; font-size: clamp(3.75rem, 18vw, 10rem); letter-spacing: .04em; margin-left: -.05em; }
.hero h1 .h1b { display: block; margin-top: 1rem; font-size: clamp(.9375rem, 4vw, 1.625rem); letter-spacing: .2em; line-height: 1.45; max-width: 22em; text-wrap: balance; }
.lead { margin-top: 1.5rem; color: var(--sand); }
.lead span { display: block; }
.hero .btn { margin-top: 1.75rem; }
@media (min-width: 60rem) {
  .hero { --sun: clamp(36rem, 56vw, 58rem); grid-template-rows: minmax(22rem, 1fr) auto; }
  .hero__content { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 4rem; }
  .hero__side { padding-bottom: .5rem; }
  .lead { margin-top: 0; }
}

/* ---------- 2. Protocol 01, on a concrete wall ---------- */
.protocol { --heat: 1; --t: 80; padding-block: clamp(6rem, 16vh, 10rem) calc(1.5 * var(--step)); }
.tag { margin-top: 1rem; font-size: clamp(1.125rem, .5vw + 1rem, 1.375rem); color: var(--sand); }
.spec { margin-top: clamp(2rem, 5vh, 3rem); display: grid; font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: clamp(1.375rem, 4.4vw, 2.75rem); line-height: 1.1; }
.spec li:not(.gauge) { white-space: nowrap; padding-block: .55em .5em; border-top: 2px solid rgba(0, 0, 0, .55); box-shadow: inset 0 1px 0 rgba(239, 230, 216, .12); }
.spec li:last-child { border-bottom: 2px solid rgba(0, 0, 0, .55); box-shadow: inset 0 1px 0 rgba(239, 230, 216, .12), 0 1px 0 rgba(239, 230, 216, .12); }
.gauge { order: -1; position: relative; width: min(100%, 24rem); margin: 0 auto clamp(2rem, 6vh, 3rem); }
.gauge svg { display: block; width: 100%; height: auto; fill: none; }
.gauge__blocks { stroke-width: 40; stroke-dasharray: 9.1 .9; }
.gauge__blocks--cold { stroke: #0C0705; }
.gauge__blocks--hot { stroke: var(--ember); }
.gauge__mask { stroke: #fff; stroke-width: 44; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--t)); }
.gauge__num { position: absolute; inset: 12% 0 0; display: grid; place-items: center; font-size: clamp(2.75rem, 13vw, 4.5rem); letter-spacing: .02em; color: var(--flare); font-variant-numeric: tabular-nums; }
@media (min-width: 60rem) {
  .spec { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(3rem, 7vw, 7rem); align-items: center; }
  .gauge { order: 0; grid-column: 1; grid-row: 1 / 4; width: min(100%, 30rem); margin: 0; }
  .spec li:not(.gauge) { grid-column: 2; align-self: stretch; display: flex; align-items: center; }
  .gauge__num { font-size: clamp(4rem, 6.4vw, 6rem); }
}

/* ---------- 3. Why sauna: four slabs ---------- */
.why { padding-block: calc(1.5 * var(--step)); }
.why__head { padding-bottom: clamp(2rem, 5vh, 3rem); }
.strata { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.strata li { border-top: 2px solid rgba(0, 0, 0, .55); box-shadow: inset 0 1px 0 rgba(239, 230, 216, .12); }
.strata .stratum { padding-inline: 0; }
.strata li:last-child { border-bottom: 2px solid rgba(0, 0, 0, .55); box-shadow: inset 0 1px 0 rgba(239, 230, 216, .12), 0 1px 0 rgba(239, 230, 216, .12); }
.stratum { padding-block: clamp(1.75rem, 4.5vh, 2.75rem); display: grid; gap: .875rem; }
.stratum h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .08em; font-size: clamp(1.25rem, 1.3vw + .95rem, 1.875rem); line-height: 1.2; text-wrap: balance; }
.stratum p { color: var(--sand-2); max-width: 34rem; }
@media (min-width: 60rem) { .stratum { grid-template-columns: 5fr 6fr 1fr; column-gap: 3rem; align-items: start; } .stratum p { padding-top: .3rem; padding-left: clamp(1.5rem, 4vw, 4rem); } }

/* ---------- 4. Prices, on the wall ---------- */
.prices { padding-block: calc(1.5 * var(--step)); }
.price-row { margin-top: clamp(2rem, 5vh, 3rem); display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(.75rem, 3vw, 3rem); }
.price-row li { display: contents; }
.price-row::before { content: ""; grid-area: 1 / 1 / 2 / -1; align-self: end; border-bottom: 2px solid rgba(0, 0, 0, .55); box-shadow: 0 1px 0 rgba(239, 230, 216, .12); }
.price-row b { grid-row: 1; align-self: end; font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 7vw, 4.25rem); line-height: 1; letter-spacing: .02em; padding-bottom: .22em; font-variant-numeric: tabular-nums; }
.price-row span { grid-row: 2; padding-top: 1.25rem; font-size: clamp(.875rem, .4vw + .78rem, 1.0625rem); line-height: 1.4; color: var(--sand); hyphens: auto; }
.price-row li:nth-child(1) > * { grid-column: 1; } .price-row li:nth-child(2) > * { grid-column: 2; } .price-row li:nth-child(3) > * { grid-column: 3; }

/* ---------- 5. The studio: a quiet last word ---------- */
.studio { padding-block: calc(1.5 * var(--step)); }
.studio .statement { font-size: clamp(1.5rem, 4vw, 2.5rem); }
.studio__p { margin-top: 1rem; color: var(--sand); }

/* The orbit: one body lit, the others still dark. It rises from the footer line at the end of the page,
   the counterpart of the sun setting at the horizon at the top. */
.studio { overflow: hidden; min-height: clamp(30rem, 72vw, 44rem); }
.orbits { left: 50%; bottom: 0; width: min(170vw, 76rem); height: auto; transform: translate(-50%, 50%); overflow: visible;
  -webkit-mask-image: linear-gradient(to bottom, transparent 4%, #000 34%); mask-image: linear-gradient(to bottom, transparent 4%, #000 34%); }
.rings circle { fill: none; stroke: rgba(201, 183, 156, .3); stroke-width: 1; }
.rings .belt { stroke: rgba(201, 183, 156, .13); stroke-width: 30; }
.orbit { transform-box: view-box; transform-origin: 400px 400px; }

/* ---------- 6. The list, on the same wall ---------- */
.close { padding-block: calc(1.5 * var(--step)); }
.join { margin-top: clamp(2rem, 5vh, 3rem); max-width: 34rem; display: grid; gap: 1.25rem; }
.field { display: grid; gap: .4rem; min-width: 0; }
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.label { font-size: .9375rem; }
.label small { font-size: inherit; color: var(--sand); }
.input { width: 100%; min-height: 3.25rem; padding: 0 1rem; font: inherit; color: var(--bone); background: var(--basalt); border: 1px solid var(--line); border-radius: 0; appearance: none; -webkit-appearance: none; }
.input:hover { border-color: var(--sand); }
.input:focus-visible { outline: 2px solid var(--ember-hot); outline-offset: 2px; border-color: var(--ember-hot); }
.input[aria-invalid="true"] { border-color: var(--ember-hot); }
.select { padding-right: 2.75rem; text-overflow: ellipsis; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' fill='none' stroke='%23EFE6D8' stroke-width='1.5'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.select option { background: var(--basalt); color: var(--bone); }
.consent { display: grid; grid-template-columns: auto 1fr; gap: .875rem; align-items: start; min-height: 3rem; font-size: .9375rem; color: var(--sand); }
.consent input { appearance: none; -webkit-appearance: none; width: 1.75rem; height: 1.75rem; margin: 0; background: var(--basalt); border: 1px solid var(--line); border-radius: 0; cursor: pointer; }
.consent input:checked { background: var(--ember) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FBF8F4' stroke-width='2.5'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 100% no-repeat; border-color: var(--ember); }
.consent input[aria-invalid="true"] { border-color: var(--ember-hot); }
.consent .err { grid-column: 1 / -1; }
.consent a { color: var(--bone); text-underline-offset: .25em; }
.join .btn { justify-self: start; }
.status { margin: 0; min-height: 1.5rem; }
.status[data-tone="error"] { color: #F2A77E; }
.status[data-tone="ok"] { color: var(--flare); font-size: 1.125rem; }
.err:empty { display: none; }
.err { min-height: 0; font-size: .9375rem; }

.foot { border-top: 1px solid rgba(201, 183, 156, .22); font-size: .9375rem; color: var(--sand); }
.foot__inner { display: flex; justify-content: space-between; gap: 1.5rem; padding-block: 1.5rem; }
.foot__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .25rem 1.5rem; }
.foot a { text-underline-offset: .25em; display: inline-block; padding-block: .8rem; margin-block: -.8rem; }

/* ---------- Privacy page ---------- */
.doc { padding-block: 8rem 5rem; }
.doc__inner > * { max-width: 40rem; }
.doc h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .08em; font-size: clamp(2.25rem, 6.4vw, 4rem); line-height: 1.1; }
.doc .lead { margin-top: 1.25rem; }
.doc h2 { font-size: 1.125rem; font-weight: 600; margin-top: 2.5rem; }
.doc p { margin-top: .5rem; color: var(--sand-2); }
.doc a { text-underline-offset: .25em; }
.doc .doc__date { margin-top: 2.5rem; color: var(--sand); }
.doc ul { margin-top: .5rem; color: var(--sand-2); }
.doc ul li { position: relative; padding: .3rem 0 .3rem 1.25rem; }
.doc ul li::before { content: ""; position: absolute; left: 0; top: .95em; width: .5rem; height: 2px; background: var(--ember-hot); }
.papers { list-style: none; margin: 2rem 0 0; padding: 0; counter-reset: paper; }
.papers li { counter-increment: paper; padding: 1.5rem 0 1.5rem 3rem; border-top: 1px solid rgba(201, 183, 156, .22); position: relative; }
.papers li::before { content: counter(paper, decimal-leading-zero); position: absolute; left: 0; top: 1.6rem; font-family: var(--display); color: var(--ember-hot); }
.papers .papers__what { margin-top: 0; color: var(--bone); }
.papers .papers__cite { font-size: .9375rem; color: var(--sand); }
.fill { color: var(--flare); }
html[lang="nl"] [data-only="en"], html:not([lang="nl"]) [data-only="nl"] { display: none; }

/* ---------- Motion: slow, and only if welcome ---------- */
@media (prefers-reduced-motion: no-preference) {
  .sun-rise { animation: rise 2.6s cubic-bezier(.16, .7, .2, 1) both; }
  .halo { animation: glow 2.6s ease-out both; }
  .rings { transform-box: view-box; transform-origin: 400px 400px; animation: turn 600s linear infinite reverse; }
  .orbit--1 { animation: turn 90s linear infinite; } .orbit--2 { animation: turn 150s linear infinite; }
  .orbit--3 { animation: turn 230s linear infinite; } .orbit--4 { animation: turn 320s linear infinite; }
  @keyframes rise { from { transform: translateY(9%); } to { transform: none; } }
  @keyframes glow { from { opacity: .35; } to { opacity: 1; } }
  @keyframes turn { to { transform: rotate(360deg); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } .hero { --s: 0 !important; } }
