/* oranjezonnebril.com
   Kleuren: Pantone 151 C (#ff8200) als grond, warme inkt voor tekst, koel zilver als Y2K-tegenhanger.
   Letters: Archivo (breed en zwaar voor koppen), Martian Mono voor labels en cijfers. Beide staan in /fonts. */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("/fonts/martian-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-stretch: 75% 112.5%;
  font-style: normal;
  font-display: swap;
}

:root {
  --oranje: #ff8200;
  --inkt: #1a0e05;
  --inkt-zacht: #4d4239;
  --zilver: #e9edf1;
  --zilver-licht: #f6f8fa;
  --zilver-rand: #c6ced7;
  --raster: #e3e8ed;
  --wit: #ffffff;
  --voet-tekst: #e9e3de;
  --voet-zacht: #b8aea6;
  --fout: #a31d00;
  --breedte: 1200px;
  --goot: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --f-display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --f-tekst: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  background: var(--oranje);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--zilver);
  color: var(--inkt);
  font-family: var(--f-tekst);
  font-size: 1rem;
  font-stretch: 100%;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2.5px; }
:focus-visible { outline: 3px solid var(--inkt); outline-offset: 3px; border-radius: 6px; }
.voet :focus-visible { outline-color: var(--oranje); }

.wrap { width: 100%; max-width: var(--breedte); margin-inline: auto; padding-inline: var(--goot); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Kopbalk ---------- */

.balk {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 20px;
}
.woordmerk {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 450;
  font-stretch: 112%;
  line-height: 1;
  letter-spacing: -.02em;
  text-decoration: none;
}
.woordmerk b { font-weight: 850; }
.label {
  margin: 0;
  font-family: var(--f-mono);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
}

/* ---------- Hero ---------- */

.hero { background: var(--oranje); overflow: hidden; }

/* container-type maakt hiervan een eigen laag: de lens kleurt alleen wat hierin staat,
   daarom heeft dit blok zelf ook de oranje grond. */
.kop-blok {
  position: relative;
  container-type: inline-size;
  background: var(--oranje);
  padding-block: clamp(4px, 2vw, 24px) clamp(36px, 6vw, 76px);
}

.kop {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 900;
  font-stretch: 125%;
  line-height: .84;
  letter-spacing: -.012em;
  text-transform: uppercase;
  font-size: calc((min(100vw, 1200px) - 2 * var(--goot)) / 7);
  font-size: calc(100cqi / 6.69 * .965);
}
.kop .r3 {
  display: block;
  font-size: calc((min(100vw, 1200px) - 2 * var(--goot)) / 6.2);
  font-size: calc(100cqi / 5.917 * .965);
}

.bril {
  position: absolute;
  width: 62%;
  aspect-ratio: 3 / 1;
  left: 37%;
  top: calc(50% - 8.5cqi);
  pointer-events: none; /* de kop blijft selecteerbaar, de bril vangt geen klikken */
}
.bril-laag {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  rotate: -5deg;
  translate: var(--px, 0px) var(--py, 0px);
  transition: translate .6s cubic-bezier(.2, .7, .2, 1);
  animation: land .9s cubic-bezier(.2, .9, .25, 1.15) both, zweef 7s ease-in-out 1s infinite;
}
.bril-glas { mix-blend-mode: multiply; }
.bril-montuur { overflow: visible; }
.bril-schaduw {
  inset: 34% 4% -30% 6%;
  width: auto;
  height: auto;
  background: radial-gradient(closest-side, rgba(90, 32, 0, .34), rgba(90, 32, 0, 0));
  mix-blend-mode: multiply;
}
.glint { animation: glans 9s ease-in-out 1.1s infinite; }
.sticker rect { fill: var(--wit); }
.sticker text {
  fill: var(--inkt);
  font-family: var(--f-mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .08em;
  text-anchor: middle;
}

@keyframes land {
  from { transform: translateY(-10%); }
  to { transform: none; }
}
@keyframes zweef {
  0%, 100% { transform: none; }
  50% { transform: translateY(-2.5%); }
}
@keyframes glans {
  0% { transform: translateX(0) skewX(-18deg); }
  16%, 100% { transform: translateX(1340px) skewX(-18deg); }
}

.hero-onder {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 28px clamp(28px, 6vw, 88px);
  align-items: start;
  padding-block-end: clamp(44px, 7vw, 96px);
}
.intro {
  margin: 0;
  max-width: 36ch;
  font-size: clamp(1.0625rem, 1.7vw, 1.3125rem);
  font-weight: 500;
  line-height: 1.45;
  text-wrap: pretty;
}
.intro strong { font-weight: 800; }

/* ---------- Aanmelden ---------- */

.paneel {
  position: relative;
  background: var(--wit);
  border-radius: var(--radius);
  padding: clamp(18px, 3vw, 28px);
  box-shadow: 0 1px 0 rgba(26, 14, 5, .06), 0 28px 50px -28px rgba(90, 32, 0, .55);
}
.veld-label { display: block; margin-bottom: 8px; font-weight: 650; }
.veld-rij { display: flex; flex-wrap: wrap; gap: 8px; }
.veld-rij input {
  flex: 1 1 230px;
  min-width: 0;
  height: 56px;
  padding: 0 16px;
  border: 2px solid var(--inkt);
  border-radius: 14px;
  background: var(--wit);
  color: var(--inkt);
  font: inherit;
  font-size: 1.0625rem;
}
.veld-rij input::placeholder { color: #8b817a; opacity: 1; }
.veld-rij input:focus-visible { outline-offset: 2px; }
.veld-rij input[aria-invalid="true"] { border-color: var(--fout); }

.knop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: 14px;
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 750;
  font-stretch: 106%;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s, transform .15s;
}
.knop:active { transform: translateY(1px); }
.knop--inkt { background: var(--inkt); color: var(--wit); }
.knop--inkt:hover { background: #40270f; }
.knop--rand { background: var(--wit); color: var(--inkt); border-color: var(--inkt); }
.knop--rand:hover { background: var(--zilver-licht); }
.knop--groot { min-height: 64px; padding-inline: 32px; font-size: 1.125rem; }
.knop[disabled] { cursor: progress; opacity: .75; }
.veld-rij .knop { flex: 0 0 auto; }

.tip, .melding, .uitleg { margin: 10px 0 0; }
.tip { font-size: .9375rem; }
.tip button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--inkt);
  font: inherit;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: .18em;
  cursor: pointer;
}
.melding { font-size: .9375rem; font-weight: 650; color: var(--fout); }
.melding:empty { display: none; }
.uitleg { font-size: .875rem; line-height: 1.5; color: var(--inkt-zacht); }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.aangemeld-nummer {
  display: inline-block;
  margin: 0 0 4px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--oranje);
  font-family: var(--f-mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.aangemeld-kop {
  margin: 6px 0 8px;
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 3.4vw, 2.375rem);
  font-weight: 850;
  font-stretch: 118%;
  line-height: 1;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.aangemeld-kop:focus { outline: none; }
.aangemeld-tekst, .preview-noot, .deel-kop { margin: 0; }
.aangemeld-tekst { overflow-wrap: anywhere; }
.preview-noot {
  margin-top: 10px;
  font-family: var(--f-mono);
  font-size: .75rem;
  color: var(--inkt-zacht);
}
.deel { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--zilver-rand); }
.deel-kop { font-weight: 650; }
.deel-knoppen { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.deel-knoppen .knop { flex: 1 1 auto; min-height: 48px; padding-inline: 18px; font-size: 1rem; }
.tekstknop {
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--inkt-zacht);
  font: inherit;
  font-size: .875rem;
  text-decoration: underline;
  text-underline-offset: .18em;
  cursor: pointer;
}

.teller {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 0 4px;
  font-family: var(--f-mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.teller::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--inkt);
  box-shadow: 0 0 0 4px rgba(26, 14, 5, .16);
}

/* ---------- Band ---------- */

.band { background: var(--inkt); color: var(--wit); }
.band-lijst {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 28px;
  margin: 0 auto;
  padding-block: clamp(22px, 3vw, 30px);
  list-style: none;
}
.band-lijst li {
  display: grid;
  gap: 6px;
  align-content: start;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.band-waarde {
  font-family: var(--f-mono);
  font-size: clamp(1.25rem, 2.3vw, 1.75rem);
  font-weight: 500;
  font-stretch: 112.5%;
  line-height: 1.1;
  color: var(--oranje);
  font-variant-numeric: tabular-nums;
}
.band-label { font-size: .875rem; line-height: 1.35; color: var(--voet-tekst); }

/* ---------- Secties ---------- */

.sectie { padding-block: clamp(64px, 9vw, 120px); }
.sectie-kop {
  max-width: 16ch;
  margin: 0 0 clamp(28px, 4vw, 48px);
  font-family: var(--f-display);
  font-size: clamp(2.125rem, 5vw, 3.75rem);
  font-weight: 850;
  font-stretch: 120%;
  line-height: .95;
  letter-spacing: -.025em;
  text-transform: uppercase;
  text-wrap: balance;
}

.stappen {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px clamp(20px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.stappen li {
  display: grid;
  gap: 10px;
  align-content: start;
  padding-top: 18px;
  border-top: 2px solid var(--inkt);
}
.stap-nr {
  font-family: var(--f-display);
  font-size: clamp(3.5rem, 6vw, 5rem);
  font-weight: 900;
  font-stretch: 125%;
  line-height: .9;
  color: var(--oranje);
  -webkit-text-stroke: 2px var(--inkt);
  paint-order: stroke fill;
}
.stappen h3 { margin: 6px 0 0; font-size: 1.3125rem; font-weight: 750; font-stretch: 106%; line-height: 1.2; }
.stappen p { margin: 0; max-width: 34ch; color: var(--inkt-zacht); }

.product { background: var(--zilver-licht); }
.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px clamp(28px, 5vw, 80px);
  align-items: center;
}
.studio {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  max-width: 100%;
  margin: 0;
  padding: 8% 6%;
  overflow: hidden;
  border: 1px solid var(--zilver-rand);
  border-radius: 24px;
  background-color: var(--wit);
  background-image:
    linear-gradient(var(--raster) 1px, transparent 1px),
    linear-gradient(90deg, var(--raster) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
}
.studio-bril { width: 100%; height: auto; overflow: visible; }
.studio-label {
  position: absolute;
  top: 16px;
  left: 18px;
  right: 18px;
  font-family: var(--f-mono);
  font-size: .6875rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--inkt-zacht);
}
.kleurchip {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 104px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--wit);
  box-shadow: 0 1px 0 rgba(26, 14, 5, .08), 0 12px 24px -12px rgba(26, 14, 5, .4);
}
.kleurchip-vlak { height: 64px; background: var(--oranje); }
.kleurchip p {
  margin: 0;
  padding: 9px 11px 12px;
  font-family: var(--f-mono);
  font-size: .5625rem;
  line-height: 1.5;
  letter-spacing: .03em;
  color: var(--inkt-zacht);
}
.kleurchip strong { display: block; margin-bottom: 2px; font-size: .8125rem; font-weight: 600; color: var(--inkt); }
.lead { max-width: 40ch; margin: -12px 0 28px; font-size: 1.125rem; color: var(--inkt-zacht); }
.specs { display: grid; margin: 0; }
.specs div {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 16px;
  padding-block: 14px;
  border-top: 1px solid var(--zilver-rand);
}
.specs div:last-child { border-bottom: 1px solid var(--zilver-rand); }
.specs dt {
  padding-top: 4px;
  font-family: var(--f-mono);
  font-size: .6875rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--inkt-zacht);
}
.specs dd { margin: 0; font-weight: 650; }

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 8px clamp(28px, 5vw, 80px);
  align-items: start;
}
.faq-lijst { border-top: 2px solid var(--inkt); }
.faq-lijst details { border-bottom: 1px solid var(--zilver-rand); }
.faq-lijst summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
  font-size: 1.125rem;
  font-weight: 650;
  font-stretch: 104%;
  list-style: none;
  cursor: pointer;
}
.faq-lijst summary::-webkit-details-marker { display: none; }
.faq-lijst summary::after {
  content: "";
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--inkt), var(--inkt)) center / 100% 2px no-repeat,
    linear-gradient(var(--inkt), var(--inkt)) center / 2px 100% no-repeat;
  transition: rotate .2s;
}
.faq-lijst details[open] summary::after { rotate: 45deg; }
.faq-lijst details p { max-width: 60ch; margin: -4px 0 20px; color: var(--inkt-zacht); }

.slot { background: var(--oranje); }
.slot-inhoud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding-block: clamp(44px, 7vw, 88px);
}
.slot-kop {
  max-width: 19ch;
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(1.875rem, 4.6vw, 3.5rem);
  font-weight: 900;
  font-stretch: 125%;
  line-height: .95;
  letter-spacing: -.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

/* ---------- Voet ---------- */

.voet { background: var(--inkt); color: var(--voet-tekst); }
.voet-inhoud {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 24px 40px;
  padding-block: 44px calc(44px + env(safe-area-inset-bottom, 0px));
}
.voet .woordmerk { font-size: 1.5rem; color: var(--oranje); }
.voet p { margin: 8px 0 0; }
.voet-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.klein { font-size: .8125rem; color: var(--voet-zacht); }

/* ---------- Tekstpagina's (privacy, bedankt, oeps, 404) ---------- */

.tekstpagina { max-width: calc(720px + 2 * var(--goot)); padding-block: clamp(36px, 6vw, 72px) clamp(64px, 9vw, 112px); }
.tekstpagina h1 {
  margin: 0 0 16px;
  font-family: var(--f-display);
  font-size: clamp(2.25rem, 7vw, 4rem);
  font-weight: 900;
  font-stretch: 125%;
  line-height: .92;
  letter-spacing: -.02em;
  text-transform: uppercase;
  text-wrap: balance;
}
.tekstpagina h2 { margin: 40px 0 8px; font-size: 1.25rem; font-weight: 750; font-stretch: 106%; line-height: 1.25; }
.tekstpagina p, .tekstpagina li { max-width: 65ch; }
.tekstpagina p { margin: 0 0 12px; }
.tekstpagina ul { margin: 0 0 12px; padding-left: 1.2em; }
.tekstpagina li + li { margin-top: 4px; }
.bijgewerkt { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .04em; color: var(--inkt-zacht); }
.tekstpagina .knop { margin-top: 20px; }

/* ---------- Preview (alleen in de Claude-preview) ---------- */

.preview-balk {
  padding: 8px var(--goot);
  background: var(--inkt);
  color: var(--wit);
  font-family: var(--f-mono);
  font-size: .6875rem;
  letter-spacing: .04em;
  text-align: center;
}

/* ---------- Kleinere schermen ---------- */

@media (max-width: 860px) {
  .hero-onder, .product-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .stappen { grid-template-columns: minmax(0, 1fr); }
  .band-lijst { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .kop, .kop .r3 {
    font-size: calc((100vw - 2 * var(--goot)) / 6.2);
    font-size: calc(100cqi / 5.917 * .965);
  }
  .kop .r1, .kop .r2 { display: block; }
  .bril { width: 90%; left: 13%; top: calc(50% - 4.5cqi); }
  .veld-rij .knop { flex: 1 1 100%; }
  .label { font-size: .625rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
