/* ============================================================
   FluxLab3D — Ultra-Luxe Atelier Design System
   Warm black + champagne gold + bone white
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Color */
  --bg:            #0a0a0a;
  --surface-1:     #141414;
  --surface-2:     #1a1a1a;
  --surface-3:     #202020;
  --gold:          #c9a14a;
  --gold-light:    #e8c878;
  --gold-grad:     linear-gradient(120deg, #e8c878 0%, #c9a14a 100%);
  --bone:          #f5f1ea;
  --text-muted:    #8a8580;
  --text-faint:    #5a5550;
  --hairline:      rgba(201, 161, 74, 0.15);
  --hairline-soft: rgba(245, 241, 234, 0.07);

  /* Type */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  --text-xs:   clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --text-sm:   clamp(0.875rem, 0.82rem + 0.3vw, 0.95rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  --text-lg:   clamp(1.125rem, 1rem + 0.6vw, 1.4rem);
  --text-xl:   clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  --text-2xl:  clamp(2.2rem, 1.4rem + 3vw, 3.6rem);
  --text-3xl:  clamp(2.8rem, 1.5rem + 5vw, 5.5rem);
  --text-hero: clamp(3.2rem, 1.5rem + 7vw, 7rem);

  /* Spacing */
  --space-1: 0.25rem;  --space-2: 0.5rem;  --space-3: 0.75rem;
  --space-4: 1rem;     --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem;     --space-10: 2.5rem; --space-12: 3rem;
  --space-16: 4rem;    --space-20: 5rem;   --space-24: 6rem;
  --space-32: 8rem;

  --maxw: 1240px;
  --maxw-narrow: 820px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  background: var(--bg);
  color: var(--bone);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-base);
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--gold); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--bone);
}
h1 { font-size: var(--text-2xl); }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-lg); }
em, .italic { font-style: italic; }

.display {
  font-family: var(--font-display);
  font-weight: 500;
}
.text-gold {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.center::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.lead {
  font-size: var(--text-lg);
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}
.muted { color: var(--text-muted); }
.mono { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.04em; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--space-6); }
.narrow { max-width: var(--maxw-narrow); margin-inline: auto; }
.section { padding-block: clamp(var(--space-16), 9vw, var(--space-32)); }
.section-sm { padding-block: clamp(var(--space-12), 6vw, var(--space-20)); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

.divider {
  height: 1px;
  background: var(--hairline);
  border: none;
  max-width: var(--maxw);
  margin-inline: auto;
}

.grid { display: grid; gap: var(--space-6); }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 980px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: var(--space-4) var(--space-8);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  background: transparent;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold-grad);
  transform: translateY(101%);
  transition: transform 0.4s var(--ease);
  z-index: -1;
}
.btn:hover { color: var(--bg); border-color: var(--gold-light); }
.btn:hover::after { transform: translateY(0); }
.btn-solid {
  background: var(--gold-grad);
  color: var(--bg);
  border-color: transparent;
  font-weight: 500;
}
.btn-solid::after { background: var(--bg); }
.btn-solid:hover { color: var(--gold-light); }
.btn-ghost { border-color: var(--hairline); color: var(--bone); }
.btn-ghost:hover { color: var(--bg); }
.btn-ghost::after { background: var(--gold-grad); }

.link-arrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  position: relative;
}
.link-arrow span { transition: transform 0.3s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }
.link-arrow::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.link-arrow:hover::after { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--hairline);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-5);
}
.brand { display: flex; align-items: center; gap: var(--space-3); }
.brand svg { width: 38px; height: 38px; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}
.brand-name b { font-weight: 600; }
.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--bone);
  position: relative;
  transition: color 0.3s;
  white-space: nowrap;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--gold-grad);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold-light); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-cta { margin-left: var(--space-2); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  z-index: 110;
}
.hamburger span {
  width: 26px;
  height: 1.5px;
  background: var(--bone);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1200px) {
  .nav-links { gap: var(--space-4); }
  .nav-links a { font-size: var(--text-xs); letter-spacing: 0.06em; }
  .nav-cta { padding: 0.55rem 1rem; font-size: 0.7rem; }
}
@media (max-width: 1024px) {
  .hamburger { display: flex; position: relative; z-index: 130; }
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-8);
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    padding: var(--space-12);
    z-index: 120;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: var(--text-lg); font-family: var(--font-display); letter-spacing: 0.02em; }
  .nav-cta { margin: 0; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(201,161,74,0.10), transparent 70%),
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.4) 40%, rgba(10,10,10,0.95) 100%);
}
.hero-inner { position: relative; z-index: 1; padding-top: var(--space-20); padding-bottom: var(--space-16); }
.hero h1 {
  font-size: var(--text-hero);
  font-weight: 500;
  max-width: 14ch;
  margin-block: var(--space-6);
}
.hero .lead { max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-10); }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin-top: var(--space-16);
  padding-top: var(--space-8);
  border-top: 1px solid var(--hairline);
  max-width: 640px;
}
.hero-meta div span:first-child {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  display: block;
  color: var(--gold-light);
}
.hero-meta div span:last-child {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface-1);
  border: 1px solid var(--hairline-soft);
  padding: var(--space-8);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s;
  position: relative;
  height: 100%;
}
.card:hover { border-color: var(--hairline); background: var(--surface-2); transform: translateY(-4px); }
.card .num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--gold);
  letter-spacing: 0.2em;
}
.card h3 { margin-block: var(--space-4) var(--space-3); font-size: var(--text-lg); }
.card p { color: var(--text-muted); font-size: var(--text-sm); margin-bottom: var(--space-5); }

/* Signature service card with image */
.svc-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hairline-soft);
  background: var(--surface-1);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: border-color 0.4s var(--ease);
}
.svc-card:hover { border-color: var(--hairline); }
.svc-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.svc-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
  filter: saturate(0.95);
}
.svc-card:hover .svc-media img { transform: scale(1.06); }
.svc-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,10,10,0.6));
}
.svc-badge {
  position: absolute;
  top: var(--space-4); left: var(--space-4);
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(10,10,10,0.7);
  border: 1px solid var(--hairline);
  padding: var(--space-1) var(--space-3);
  backdrop-filter: blur(6px);
}
.svc-body { padding: var(--space-8); display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { font-size: var(--text-xl); margin-bottom: var(--space-3); }
.svc-body p { color: var(--text-muted); font-size: var(--text-sm); margin-bottom: var(--space-6); flex: 1; }

/* ---------- Editorial split ---------- */
.split {
  display: grid;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
}
@media (min-width: 880px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.wide-text { grid-template-columns: 1.1fr 0.9fr; }
  .split.reverse > :first-child { order: 2; }
}
.split-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hairline);
}
.split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-media .frame-tag {
  position: absolute;
  bottom: var(--space-4); left: var(--space-4);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(10,10,10,0.7);
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--hairline-soft);
}

/* ---------- Spec / feature lists ---------- */
.spec-list { display: flex; flex-direction: column; }
.spec-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-6);
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--hairline-soft);
  align-items: baseline;
}
.spec-list li .k { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--gold); letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.spec-list li .v { color: var(--text-muted); font-size: var(--text-sm); }

.check-list li {
  position: relative;
  padding-left: var(--space-8);
  margin-bottom: var(--space-4);
  color: var(--text-muted);
  font-size: var(--text-sm);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 14px; height: 7px;
  border-left: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(-45deg);
}

/* ---------- Process steps ---------- */
.steps { counter-reset: step; }
.step {
  position: relative;
  padding-left: var(--space-16);
  padding-bottom: var(--space-10);
  border-left: 1px solid var(--hairline);
  margin-left: var(--space-4);
}
.step:last-child { border-color: transparent; padding-bottom: 0; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  left: calc(-1 * var(--space-6));
  top: -4px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--bg);
  background: var(--gold-grad);
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
}
.step h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.step p { color: var(--text-muted); font-size: var(--text-sm); }

/* ---------- Stat strip ---------- */
.stat-strip {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
}
@media (min-width: 720px) { .stat-strip { grid-template-columns: repeat(4, 1fr); } }
.stat span:first-child { font-family: var(--font-display); font-size: var(--text-2xl); color: var(--gold-light); display: block; line-height: 1; }
.stat span:last-child { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-top: var(--space-3); display: block; }

/* ---------- Badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid var(--hairline);
  padding: var(--space-2) var(--space-4);
  border-radius: 100px;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--hairline-soft);
}
.faq-item summary {
  cursor: pointer;
  padding-block: var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--bone);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-light); }
.faq-item summary .icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  position: relative;
}
.faq-item summary .icon::before,
.faq-item summary .icon::after {
  content: ""; position: absolute;
  background: var(--gold);
  transition: transform 0.3s var(--ease);
}
.faq-item summary .icon::before { top: 9px; left: 0; width: 20px; height: 1.5px; }
.faq-item summary .icon::after { left: 9px; top: 0; width: 1.5px; height: 20px; }
.faq-item[open] summary .icon::after { transform: scaleY(0); }
.faq-item .answer { padding-bottom: var(--space-6); color: var(--text-muted); font-size: var(--text-sm); max-width: 70ch; }

/* ---------- Comparison table ---------- */
.cmp {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.cmp th, .cmp td {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  border-bottom: 1px solid var(--hairline-soft);
}
.cmp thead th {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom-color: var(--hairline);
}
.cmp td:first-child { color: var(--bone); }
.cmp td { color: var(--text-muted); }
.cmp tbody tr:hover { background: var(--surface-1); }
.cmp .yes { color: var(--gold-light); }
.cmp .no { color: var(--text-faint); }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--hairline-soft); }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  text-align: center;
  padding-block: clamp(var(--space-20), 9vw, var(--space-32));
  border-block: 1px solid var(--hairline);
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(201,161,74,0.10), transparent 70%),
    var(--surface-1);
}
.cta-banner h2 { font-size: var(--text-2xl); max-width: 18ch; margin-inline: auto; margin-bottom: var(--space-6); }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); } }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--surface-1);
  border: 1px solid var(--hairline-soft);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: var(--text-base);
  padding: var(--space-4);
  transition: border-color 0.3s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.form-note { font-size: var(--text-xs); color: var(--text-faint); }

.form-banner {
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-5);
  border: 1px solid;
  font-size: var(--text-sm);
  line-height: 1.55;
  animation: bannerIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.form-banner strong { display: block; margin-bottom: 0.25rem; font-weight: 600; letter-spacing: 0.01em; }
.form-banner a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.form-banner-ok {
  background: rgba(201, 161, 74, 0.08);
  border-color: rgba(201, 161, 74, 0.45);
  color: var(--gold-light);
}
.form-banner-err {
  background: rgba(220, 120, 120, 0.08);
  border-color: rgba(220, 120, 120, 0.45);
  color: #e8a8a8;
}
@keyframes bannerIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--hairline);
  background: #070707;
  padding-block: var(--space-20) var(--space-10);
}
.footer-grid {
  display: grid;
  gap: var(--space-10);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.8fr 1fr 1.2fr 1fr; } }
.footer-grid h4 {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-5);
  font-weight: 400;
}
.footer-grid ul li { margin-bottom: var(--space-3); }
.footer-grid a { color: var(--text-muted); font-size: var(--text-sm); transition: color 0.3s; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-about p { color: var(--text-muted); font-size: var(--text-sm); max-width: 38ch; margin-block: var(--space-5); }
.footer-legal {
  margin-top: var(--space-16);
  padding-top: var(--space-8);
  border-top: 1px solid var(--hairline-soft);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-8);
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-faint);
  letter-spacing: 0.06em;
}
.footer-legal .legal-meta { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); }
.made-nl { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--text-muted); }
.made-nl .flag { width: 16px; height: 11px; border-radius: 1px; overflow: hidden; display: inline-flex; flex-direction: column; }
.made-nl .flag i { flex: 1; }
.made-nl .flag i:nth-child(1){ background:#AE1C28;} .made-nl .flag i:nth-child(2){ background:#fff;} .made-nl .flag i:nth-child(3){ background:#21468B;}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--gold-grad);
  display: grid; place-items: center;
  box-shadow: 0 8px 30px rgba(201,161,74,0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 10px 38px rgba(201,161,74,0.5); }
.wa-float svg { width: 30px; height: 30px; fill: var(--bg); }
.wa-float::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid var(--gold-light);
  animation: waPulse 2.6s var(--ease) infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  color: var(--text-faint);
  padding-top: calc(var(--space-24) + var(--space-4));
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin-inline: var(--space-2); color: var(--gold); }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding-top: var(--space-12); padding-bottom: var(--space-12); }
.page-hero h1 { font-size: var(--text-3xl); max-width: 18ch; margin-block: var(--space-5); }
.page-hero .lead { max-width: 56ch; }

/* ---------- Reveal animation ---------- */
/* Only hide when JS is active; with no JS, content stays fully visible. */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal {
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* ---------- Pull quote ---------- */
.pull {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  font-style: italic;
  line-height: 1.25;
  max-width: 22ch;
  color: var(--bone);
}
.pull .text-gold { font-style: italic; }

/* ---------- Review cards ---------- */
.review { background: var(--surface-1); border: 1px solid var(--hairline-soft); padding: var(--space-8); }
.review .stars { color: var(--gold); letter-spacing: 3px; margin-bottom: var(--space-4); }
.review p { font-family: var(--font-display); font-style: italic; font-size: var(--text-lg); color: var(--bone); line-height: 1.4; margin-bottom: var(--space-5); }
.review .who { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }

/* ---------- Tags ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.tag { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.08em; color: var(--text-muted); border: 1px solid var(--hairline-soft); padding: var(--space-2) var(--space-3); }

/* ---------- Portfolio grid ---------- */
.gallery { display: grid; gap: var(--space-4); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figure { position: relative; overflow: hidden; border: 1px solid var(--hairline-soft); aspect-ratio: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gallery figure:hover img { transform: scale(1.07); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--space-4);
  background: linear-gradient(transparent, rgba(10,10,10,0.85));
  font-family: var(--font-mono); font-size: var(--text-xs);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--bone);
  transform: translateY(8px); opacity: 0; transition: all 0.4s var(--ease);
}
.gallery figure:hover figcaption { transform: none; opacity: 1; }

.mt-0 { margin-top: 0; }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.mt-12 { margin-top: var(--space-12); }
.mb-0 { margin-bottom: 0; }
.maxw-text { max-width: 60ch; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--hairline);
  padding: var(--space-5) var(--space-6);
  animation: cookieSlide 0.5s var(--ease);
}
@keyframes cookieSlide { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cookie-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  gap: var(--space-5);
  align-items: center;
}
@media (min-width: 880px) {
  .cookie-inner { grid-template-columns: 1fr auto; }
}
.cookie-text h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--bone);
  margin-bottom: var(--space-2);
}
.cookie-text p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
  max-width: 70ch;
}
.cookie-text a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.cookie-actions .btn {
  font-size: 0.7rem;
  padding: 0.7rem 1.2rem;
}

/* ---------- Cookie settings dialog ---------- */
.cookie-settings[hidden] { display: none !important; }
.cookie-banner[hidden] { display: none !important; }
.cookie-settings {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
}
.cs-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cs-card {
  position: relative;
  background: #15120c;
  border: 1px solid var(--hairline);
  padding: var(--space-8);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}
.cs-close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-4);
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s;
}
.cs-close:hover { color: var(--gold-light); }
.cs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--hairline-soft);
}
.cs-row:last-of-type { border-bottom: none; }
.cs-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--space-3);
}

/* iOS-style toggle switch */
.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute; cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #2a2620;
  border: 1px solid var(--hairline);
  transition: 0.3s var(--ease);
  border-radius: 26px;
}
.slider::before {
  position: absolute; content: "";
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background: var(--bone);
  transition: 0.3s var(--ease);
  border-radius: 50%;
}
input:checked + .slider { background: var(--gold); border-color: var(--gold); }
input:checked + .slider::before { transform: translateX(20px); background: #0a0a0a; }
input:disabled + .slider { opacity: 0.5; cursor: not-allowed; }

/* ---------- Legal pages (privacy, voorwaarden, cookies) ---------- */
.legal-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem);
  color: var(--bone);
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold-light);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
  font-weight: 500;
}
.legal-content p, .legal-content li {
  color: var(--text-muted);
  font-size: var(--text-base);
  line-height: 1.75;
  margin-bottom: var(--space-4);
}
.legal-content ul { padding-left: var(--space-6); margin-bottom: var(--space-5); }
.legal-content ul li { margin-bottom: var(--space-2); list-style: none; position: relative; }
.legal-content ul li::before {
  content: "—";
  color: var(--gold);
  position: absolute;
  left: -1.6rem;
}
.legal-content strong { color: var(--bone); font-weight: 500; }
.legal-content a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(232,200,120,0.4); transition: text-decoration-color 0.3s; }
.legal-content a:hover { text-decoration-color: var(--gold-light); }
.legal-content code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: rgba(232,200,120,0.08);
  border: 1px solid var(--hairline-soft);
  padding: 0.15em 0.4em;
  color: var(--gold-light);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-5) 0;
  font-size: var(--text-sm);
  display: block;
  overflow-x: auto;
}
.legal-table thead { background: rgba(232,200,120,0.06); }
.legal-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--hairline);
  font-weight: 400;
}
.legal-table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--hairline-soft);
  color: var(--text-muted);
  vertical-align: top;
}
.legal-table tbody tr:last-child td { border-bottom: none; }
