/* ==========================================================================
   Carlo Gielissen Interieurbouw
   Vanilla CSS design system. Geen frameworks, geen build-stap.
   ========================================================================== */

:root {
  /* Palette */
  --ink: #0d0f12;
  --ink-soft: #14171b;
  --surface: #1a1e23;
  --surface-2: #21262c;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --cream: #f6f2ec;
  --cream-2: #efe8dc;
  --paper: #fbf9f6;
  --line-dark: rgba(13, 15, 18, 0.1);
  --line-dark-strong: rgba(13, 15, 18, 0.18);

  --text-on-dark: #f3f1ec;
  --text-on-dark-muted: #a8adb4;
  --text-on-light: #1a1a1a;
  --text-on-light-muted: #5a5c60;

  --accent: #1fadee;
  --accent-dim: rgba(31, 173, 238, 0.14);
  --accent-line: rgba(31, 173, 238, 0.35);
  --accent-ink: #06364d;

  --wood: #9c6b3e;

  /* Type */
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Rhythm */
  --container: 1240px;
  --container-narrow: 800px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }

body {
  background: var(--ink);
  color: var(--text-on-dark);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #05131b; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #04131c;
  padding: 0.9rem 1.4rem;
  z-index: 999;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Type scale ---------- */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; letter-spacing: 0.005em; }
h1 { font-size: clamp(2.4rem, 5vw + 1rem, 4.6rem); line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 3vw + 1rem, 3rem); line-height: 1.12; }
h3 { font-size: clamp(1.3rem, 1.2vw + 1rem, 1.7rem); line-height: 1.25; }
h4 { font-size: 1.1rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.lede {
  font-size: clamp(1.05rem, 0.4vw + 1rem, 1.2rem);
  color: var(--text-on-dark-muted);
  max-width: 46ch;
}
.section--light .lede { color: var(--text-on-light-muted); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(4rem, 8vw, 7.5rem); position: relative; }
.section--light { background: var(--cream); color: var(--text-on-light); }
.section--paper { background: var(--paper); color: var(--text-on-light); }
.section--alt { background: var(--ink-soft); }
.section--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 62ch; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head--center .lede { margin-inline: auto; }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.9rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:hover { transform: translateY(-2px); }

.btn--accent { background: var(--accent); color: #061621; }
.btn--accent:hover { background: #3cc0f7; }

.btn--outline { border-color: var(--line-strong); color: var(--text-on-dark); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }

.section--light .btn--outline, .section--paper .btn--outline { border-color: var(--line-dark-strong); color: var(--text-on-light); }
.section--light .btn--outline:hover, .section--paper .btn--outline:hover { border-color: var(--accent); color: var(--accent-ink); }

.btn--ghost { padding: 0.4rem 0; color: var(--accent); font-weight: 600; position: relative; }
.btn--ghost::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0.4); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.btn--ghost:hover::after { transform: scaleX(1); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 500;
  padding-block: 1.4rem;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(13, 15, 18, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  padding-block: 0.85rem;
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand img { width: 42px; height: 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-serif); font-size: 1.18rem; color: var(--text-on-dark); }
.brand-sub { font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: clamp(1.2rem, 2vw, 2.2rem); }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-on-dark-muted);
  position: relative;
  padding-block: 0.3rem;
  transition: color 0.25s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text-on-dark); }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--accent);
}

.nav-cta { display: flex; align-items: center; gap: 1.3rem; }
.nav-phone { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--text-on-dark); font-weight: 600; }
.nav-phone svg { width: 16px; height: 16px; color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 600;
}
.nav-toggle span { width: 24px; height: 1.5px; background: var(--text-on-dark); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 0; z-index: 550;
    background: var(--ink);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
  }
  .nav-links.is-open { opacity: 1; transform: translateY(0); visibility: visible; }
  .nav-links a { font-size: 1.4rem; font-family: var(--font-serif); color: var(--text-on-dark); }
  .nav-cta .nav-phone { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 9rem 5rem;
  background: radial-gradient(ellipse 90% 60% at 50% -10%, #182028 0%, var(--ink) 55%);
  overflow: hidden;
}
.hero-grain {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 90px);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 400px);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.hero-inner { max-width: 640px; }
.hero h1 { color: var(--text-on-dark); margin-bottom: 1.6rem; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-lede { font-size: clamp(1.05rem, 0.5vw + 1rem, 1.25rem); color: var(--text-on-dark-muted); max-width: 52ch; margin-bottom: 2.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.2rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(1.8rem, 4vw, 3.2rem); border-top: 1px solid var(--line); padding-top: 1.8rem; }
.hero-stat strong { display: block; font-family: var(--font-serif); font-size: 2rem; color: var(--text-on-dark); }
.hero-stat span { font-size: 0.82rem; color: var(--text-on-dark-muted); letter-spacing: 0.02em; }

.hero-portrait {
  justify-self: end;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 45px 90px -25px rgba(0, 0, 0, 0.65), 0 15px 35px -15px rgba(0, 0, 0, 0.5);
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-portrait { justify-self: center; max-width: 300px; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 2.2rem 2rem;
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--accent-line); background: var(--surface-2); }
.card-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid var(--accent-line);
  border-radius: 50%;
  color: var(--accent);
  margin-bottom: 1.4rem;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 0.7rem; color: var(--text-on-dark); }
.card p { color: var(--text-on-dark-muted); font-size: 0.95rem; }

.section--light .card, .section--paper .card {
  background: var(--paper);
  border-color: var(--line-dark);
}
.section--light .card:hover, .section--paper .card:hover { border-color: var(--accent-line); background: #fff; }
.section--light .card h3, .section--paper .card h3 { color: var(--text-on-light); }
.section--light .card p, .section--paper .card p { color: var(--text-on-light-muted); }

/* ---------- Services list (diensten page) ---------- */
.service-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.8rem;
  padding-block: 2.2rem;
  border-top: 1px solid var(--line-dark);
  align-items: start;
}
.service-row:last-child { border-bottom: 1px solid var(--line-dark); }
.service-index { font-family: var(--font-serif); font-size: 1.6rem; color: var(--accent); }
.service-row h3 { margin-bottom: 0.5rem; }
.service-row p { color: var(--text-on-light-muted); max-width: 60ch; }
@media (max-width: 620px) { .service-row { grid-template-columns: 1fr; gap: 0.6rem; } }

/* ---------- Timeline (over-mij) ---------- */
.timeline { position: relative; padding-left: 2.4rem; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--line-dark-strong); }
.timeline-item { position: relative; padding-bottom: 3rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -2.4rem; top: 6px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--accent);
}
.timeline-item h3 { margin-bottom: 0.6rem; }
.timeline-item p { color: var(--text-on-light-muted); max-width: 62ch; }

/* ---------- Quote block ---------- */
.quote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2vw + 1rem, 2.1rem);
  line-height: 1.4;
  color: var(--text-on-dark);
  max-width: 26ch;
  position: relative;
  padding-left: 1.6rem;
  border-left: 2px solid var(--accent);
  font-style: italic;
}
.section--light .quote, .section--paper .quote { color: var(--text-on-light); }
.quote cite { display: block; margin-top: 1.4rem; font-family: var(--font-sans); font-style: normal; font-size: 0.85rem; letter-spacing: 0.05em; color: var(--accent); text-transform: uppercase; }

/* ---------- Sustainability panel ---------- */
.sustain {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 820px) { .sustain { grid-template-columns: 1fr; } }
.sustain-list { display: grid; gap: 1.4rem; }
.sustain-list li { display: flex; gap: 1rem; align-items: flex-start; }
.sustain-list svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 0.2rem; }
.sustain-list strong { display: block; color: var(--text-on-dark); margin-bottom: 0.2rem; }
.sustain-list span { color: var(--text-on-dark-muted); font-size: 0.93rem; }
.section--light .sustain-list strong, .section--paper .sustain-list strong { color: var(--text-on-light); }
.section--light .sustain-list span, .section--paper .sustain-list span { color: var(--text-on-light-muted); }
.sustain-visual {
  aspect-ratio: 4/5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--surface) 0%, var(--ink-soft) 100%);
  overflow: hidden;
}
.sustain-visual svg { width: 40%; height: 40%; color: var(--accent); opacity: 0.9; overflow: visible; }
.sustain-visual::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(31,173,238,0.05) 0 2px, transparent 2px 26px);
}

/* ---------- Project grid ---------- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 900px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .project-grid { grid-template-columns: 1fr; } }

.project-tile {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  cursor: zoom-in;
}
.project-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.project-tile:hover img { transform: scale(1.06); }
.project-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.35), transparent 45%);
  opacity: 0; transition: opacity 0.35s ease;
}
.project-tile:hover::after { opacity: 1; }
.project-tile .zoom-icon {
  position: absolute; right: 12px; bottom: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(13,15,18,0.7);
  backdrop-filter: blur(4px);
  display: grid; place-items: center;
  color: #fff;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.project-tile:hover .zoom-icon { opacity: 1; transform: translateY(0); }
.project-tile .zoom-icon svg { width: 16px; height: 16px; }

.project-empty {
  border: 1px dashed var(--line-dark-strong);
  padding: 3.5rem 2rem;
  text-align: center;
  color: var(--text-on-light-muted);
  border-radius: var(--radius);
}
.project-empty code { background: var(--cream-2); padding: 0.2rem 0.5rem; border-radius: 3px; font-size: 0.9em; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(6, 7, 9, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.is-open { display: flex; }
.lightbox-figure { position: relative; max-width: min(92vw, 1200px); max-height: 88vh; }
.lightbox-figure img { max-width: 100%; max-height: 88vh; width: auto; height: auto; margin-inline: auto; border: 1px solid var(--line); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: fixed;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-strong);
  color: #fff;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.14); border-color: var(--accent); color: var(--accent); }
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev { left: 1.5rem; top: 50%; translate: 0 -50%; }
.lightbox-next { right: 1.5rem; top: 50%; translate: 0 -50%; }
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 20px; height: 20px; }
.lightbox-count {
  position: fixed; bottom: 1.6rem; left: 50%; translate: -50% 0;
  font-size: 0.8rem; letter-spacing: 0.1em; color: var(--text-on-dark-muted);
}
@media (max-width: 700px) {
  .lightbox-prev { left: 0.5rem; width: 40px; height: 40px; }
  .lightbox-next { right: 0.5rem; width: 40px; height: 40px; }
  .lightbox-close { top: 0.5rem; right: 0.5rem; width: 40px; height: 40px; }
}

/* ---------- Contact ---------- */
.form-note { font-size: 0.85rem; margin-top: 1rem; color: var(--text-on-light-muted); }

.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem; }
.info-list { display: grid; gap: 1.5rem; margin-top: 1.6rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-list svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 0.15rem; }
.info-list strong { display: block; color: var(--text-on-dark); font-size: 0.92rem; margin-bottom: 0.15rem; }
.info-list a, .info-list span { color: var(--text-on-dark-muted); font-size: 0.94rem; }
.info-list a:hover { color: var(--accent); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-block: clamp(3.5rem, 7vw, 6rem);
  text-align: center;
}
.cta-band h2 { margin-bottom: 1rem; }
.cta-band .lede { margin-inline: auto; margin-bottom: 2.2rem; }
.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); border-top: 1px solid var(--line); padding-block: 4rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.footer-brand img { width: 36px; height: 36px; }
.footer-brand span { font-family: var(--font-serif); font-size: 1.1rem; color: var(--text-on-dark); }
.footer-col h4 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-on-dark); margin-bottom: 1.1rem; font-family: var(--font-sans); font-weight: 600; }
.footer-col ul { display: grid; gap: 0.7rem; }
.footer-col a, .footer-col span { color: var(--text-on-dark-muted); font-size: 0.92rem; }
.footer-col a:hover { color: var(--accent); }
.footer-desc { color: var(--text-on-dark-muted); font-size: 0.92rem; max-width: 34ch; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem;
  font-size: 0.8rem; color: var(--text-on-dark-muted);
}
.footer-bottom a:hover { color: var(--accent); }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-fab {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 800;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(0,0,0,0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.whatsapp-fab:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 14px 32px rgba(0,0,0,0.4); }
.whatsapp-fab svg { width: 30px; height: 30px; color: #fff; }
.whatsapp-fab .wa-ping {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366;
  animation: wa-ping 2.6s ease-out infinite;
}
@keyframes wa-ping { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 850;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}
.cookie-banner p { font-size: 0.9rem; color: var(--text-on-dark-muted); }
.cookie-banner .btn { align-self: flex-start; padding: 0.7rem 1.5rem; font-size: 0.85rem; }
@media (max-width: 560px) {
  .cookie-banner { left: 1rem; right: 1rem; max-width: none; }
}

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding-block: clamp(8rem, 14vw, 11rem) clamp(3rem, 6vw, 5rem);
  background: radial-gradient(ellipse 80% 60% at 15% 0%, #182028 0%, var(--ink) 60%);
  border-bottom: 1px solid var(--line);
}
.page-hero .lede { margin-top: 1.2rem; }
.breadcrumb { display: flex; gap: 0.5rem; font-size: 0.82rem; color: var(--text-on-dark-muted); margin-bottom: 1.6rem; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-lg { margin-top: clamp(2rem, 4vw, 3rem); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
