/* Disruptive.Energy placeholder landing. Tokens match the website. */
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-opsz.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-opsz-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Plex Sans";
  src: url("fonts/plex-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex Sans";
  src: url("fonts/plex-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("fonts/plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --paper: #f3efe6;
  --paper-2: #ebe5d8;
  --ink: #13201a;
  --ink-2: #3b4a42;
  --muted: #5a675f;
  --rule: #d6cfbf;
  --signal: #e9a23b;       /* marks only, not body text */
  --signal-ink: #8a4b0b;
  --grid: #1d3a2c;
  --paper-on-dark: #d9dfd9;
  --serif: "Fraunces", "Iowan Old Style", Charter, Georgia, serif;
  --sans: "Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 72rem;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--grid);
  color: var(--paper);
  font: 400 1.0625rem/1.6 var(--sans);
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }

/* WCAG 2.2 AA focus: 3px ink outline. On dark surfaces, a 3px signal halo
   outside the outline (box-shadow 8px) carries contrast (signal vs grid 5.72:1).
   On paper, ink vs paper is 14.65:1, so the outline alone is enough. */
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  border-radius: 2px;
}
.hero :focus-visible,
.skip:focus-visible {
  box-shadow: 0 0 0 8px var(--signal);
}
.coming :focus-visible,
.site-footer :focus-visible { box-shadow: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  z-index: 10;
  min-height: 44px;
  text-decoration: none;
  border-radius: var(--radius);
}
.skip:focus { top: 1rem; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

/* Hero: dark grid-green, faint energy grid, amber charge mark. */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--paper);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--grid);
  background-image:
    linear-gradient(to right, rgba(243, 239, 230, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(243, 239, 230, 0.055) 1px, transparent 1px);
  background-size: 2.5rem 2.5rem;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--signal) 0 22px,
    transparent 22px 28px
  );
}

/* Battery-level mark: a slim cell that sits at about two-thirds full.
   Decorative only; no invented percentage in the copy. */
.charge {
  position: absolute;
  right: clamp(1.25rem, 6vw, 4.5rem);
  top: 22%;
  bottom: 22%;
  width: 2.25rem;
  border: 1.5px solid rgba(243, 239, 230, 0.28);
  border-radius: var(--radius);
  pointer-events: none;
  z-index: 0;
}
.charge::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -0.45rem;
  width: 0.85rem;
  height: 0.35rem;
  transform: translateX(-50%);
  background: rgba(243, 239, 230, 0.28);
  border-radius: 1px 1px 0 0;
}
.charge-level {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62%;
  background: var(--signal);
  transform-origin: bottom;
  border-radius: 0 0 2px 2px;
}
.charge-lines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to top,
    transparent 0 1.35rem,
    rgba(29, 58, 44, 0.35) 1.35rem 1.45rem
  );
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .charge-level {
    animation: charge-fill 4.5s ease-out both;
  }
}
@keyframes charge-fill {
  from { transform: scaleY(0.1); }
  to { transform: scaleY(1); }
}

.hero-head {
  padding: 1.75rem 0 0;
  position: relative;
  z-index: 1;
}
.brand-logo {
  display: block;
  height: clamp(1.75rem, 4vw, 2.75rem);
  width: auto;
  max-width: min(100%, 28rem);
}

.hero-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 8vh, 5.5rem) 0 clamp(3rem, 8vh, 5rem);
  position: relative;
  z-index: 1;
  max-width: 42rem;
}
.eyebrow {
  font: 500 0.78rem/1.2 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-on-dark);
  margin: 0 0 1rem;
}
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 1.35rem;
  font-variation-settings: "opsz" 144;
  text-wrap: balance;
  color: var(--paper);
}
.display em {
  font-style: italic;
  color: var(--paper);
}
.lede {
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.55;
  color: var(--paper-on-dark);
  margin: 0 0 1rem;
  max-width: 38rem;
}
.lang-en {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--paper-on-dark);
  max-width: 38rem;
  opacity: 0.85;
}
.lang-en .lang-tag {
  font: 500 0.7rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-right: 0.55rem;
  opacity: 0.8;
}

/* “Wat er komt” on paper, editorial band. */
.coming {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--rule);
}
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 2rem;
  font-variation-settings: "opsz" 96;
  text-wrap: balance;
}
.items {
  list-style: none;
  counter-reset: item;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 1.75rem;
  padding: 0;
  margin: 0;
}
.items li {
  counter-increment: item;
  border-top: 2px solid var(--ink);
  padding-top: 1rem;
}
.items li::before {
  content: "0" counter(item);
  font: 500 0.8rem/1 var(--mono);
  color: var(--signal-ink);
  display: block;
  margin-bottom: 0.35rem;
}
.items h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1.2;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}
.items p {
  margin: 0;
  color: var(--ink-2);
}

.site-footer {
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--rule);
  padding: 1.75rem 0 2.25rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.footer-logo {
  height: 1.75rem;
  width: auto;
  max-width: min(100%, 16rem);
}
.contact {
  margin: 0;
  color: var(--ink-2);
  max-width: 36rem;
}
.contact a {
  color: var(--ink);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.1rem;
}
.contact a:hover { color: var(--signal-ink); text-decoration-color: var(--signal-ink); }

/* Narrow: hide the tall cell (it would crowd the type) and stack the three items. */
@media (max-width: 47.99rem) {
  .charge { display: none; }
  .items {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .hero-copy { max-width: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* Short landscape phones: let the hero shrink rather than force 100svh. */
@media (max-height: 28rem) {
  .hero { min-height: 0; }
}

/* 404 */
.brand-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  text-decoration: none;
}
.brand-link:hover { color: inherit; }
.home-link {
  font-weight: 600;
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.home-link:hover { color: var(--paper); }
