/* ============================================================
   Tauriq IT Solutions — Stylesheet
   Built mobile-first, no text animations, stable layout.
   ============================================================ */

/* --------------------------------------------------------
   1. Reset
-------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Force a vertical scrollbar on EVERY page so viewport width
   never changes between pages. Standard universal solution. */
html {
  overflow-y: scroll;
  -webkit-text-size-adjust: 100%;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

/* --------------------------------------------------------
   2. Design tokens
-------------------------------------------------------- */
:root {
  /* Colors */
  --bg:        #0a0a0b;
  --bg-soft:   #111114;
  --ink:       #f8f6f1;
  --ink-dim:   #f0ece4;
  --ink-mute:  #b8b1a3;
  --gold:      #d4a85f;
  --gold-soft: #ebcf8e;
  --gold-deep: #a07f44;
  --line:      rgba(212, 168, 95, 0.22);
  --line-soft: rgba(248, 246, 241, 0.25);
  --error:     #e07a5f;

  /* Type scale (mobile-first) */
  --fs-display: clamp(34px, 8vw, 76px);
  --fs-h1:      clamp(30px, 6vw, 56px);
  --fs-h2:      clamp(26px, 4.5vw, 42px);
  --fs-h3:      22px;
  --fs-body:    17.5px;
  --fs-small:   14px;

  /* Spacing */
  --section-pad: 44px 0;
  --section-pad-lg: 60px 0;

  /* Layout */
  --content-width: 1240px;
  --header-height: 70px;
}

/* --------------------------------------------------------
   3. Body & typography
-------------------------------------------------------- */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter Tight", system-ui, -apple-system, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  /* Reserve top space so fixed header doesn't overlap content */
  padding-top: var(--header-height);
}

h1, h2, h3, h4 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h1 em, h2 em { font-style: italic; color: var(--gold-soft); font-weight: 400; }

p { line-height: 1.7; }

.mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

/* --------------------------------------------------------
   4. Layout primitives
-------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 720px) {
  .wrap { padding: 0 32px; }
}

main {
  position: relative;
  z-index: 1;
}

section {
  padding: var(--section-pad);
  position: relative;
  z-index: 1;
}

@media (min-width: 720px) {
  section { padding: var(--section-pad-lg); }
}

/* --------------------------------------------------------
   5. Network background (decorative)
-------------------------------------------------------- */
.net-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(212, 168, 95, 0.05), transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(212, 168, 95, 0.04), transparent 60%),
    var(--bg);
}
.net-bg canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.net-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 11, 0.40);
}

/* --------------------------------------------------------
   6. Header
-------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(10, 10, 11, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}

.site-header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  height: 100%;
}
.brand-logo {
  height: 44px;
  width: auto;
  display: block;
}
@media (max-width: 719px) {
  .brand-logo { height: 36px; }
}
@media (max-width: 379px) {
  .brand-logo { height: 30px; }
}

/* Desktop nav */
.site-nav ul {
  list-style: none;
  display: none;
  gap: 32px;
}
.site-nav a {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: color .2s;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold-soft);
}

/* Right-side actions (desktop) */
.header-actions {
  display: none;
  align-items: center;
  gap: 12px;
}
.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 14px;
  color: var(--ink-dim);
  border: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.btn-login:hover {
  color: var(--gold-soft);
  border-color: var(--line-soft);
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 9px 16px;
  color: var(--gold-soft);
  border: 1px solid var(--gold);
  transition: color .2s, background .2s;
}
.btn-cta:hover {
  background: var(--gold);
  color: var(--bg);
}

/* Hamburger button (mobile) */
.menu-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color .25s, background .25s;
  position: relative;
}
.menu-toggle:hover {
  border-color: var(--gold-soft);
}
.menu-toggle[aria-expanded="true"] {
  border-color: var(--gold);
  background: rgba(212, 168, 95, 0.08);
}
/* Hide all default spans; we use pseudo-elements instead for a clean 2-line icon */
.menu-toggle span {
  display: none;
}
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transform-origin: center;
  transition: transform .35s cubic-bezier(0.65, 0.05, 0.36, 1),
              background .25s,
              top .35s cubic-bezier(0.65, 0.05, 0.36, 1);
  margin-left: -9px;
}
.menu-toggle::before { top: calc(50% - 4px); }
.menu-toggle::after  { top: calc(50% + 4px); }
.menu-toggle:hover::before,
.menu-toggle:hover::after { background: var(--gold-soft); }
.menu-toggle[aria-expanded="true"]::before,
.menu-toggle[aria-expanded="true"]::after {
  background: var(--gold);
  top: 50%;
  margin-top: -0.75px;
}
.menu-toggle[aria-expanded="true"]::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after  { transform: rotate(-45deg); }

/* Mobile drawer — full-screen overlay with elegant typography */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 80% -10%, rgba(212, 168, 95, 0.10), transparent 50%),
    radial-gradient(circle at -10% 110%, rgba(212, 168, 95, 0.06), transparent 50%),
    rgba(10, 10, 11, 0.985);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  padding: calc(var(--header-height) + 40px) 28px 40px;
  padding-top: calc(var(--header-height) + 40px + env(safe-area-inset-top));
  padding-bottom: max(40px, env(safe-area-inset-bottom));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;

  /* Animation: invisible until opened */
  visibility: hidden;
  opacity: 0;
  transition: opacity .32s cubic-bezier(0.65, 0, 0.35, 1),
              visibility 0s linear .32s;
}
.mobile-drawer[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

/* Subtle gold gradient accent at top of drawer */
.mobile-drawer::before {
  content: "";
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(212, 168, 95, 0.4) 30%,
    rgba(212, 168, 95, 0.4) 70%,
    transparent 100%
  );
}

.mobile-drawer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-drawer li {
  /* Stagger each link's entry animation */
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s ease-out, transform .4s ease-out;
}
.mobile-drawer[aria-hidden="false"] li {
  opacity: 1;
  transform: translateY(0);
}
.mobile-drawer[aria-hidden="false"] li:nth-child(1) { transition-delay: 0.06s; }
.mobile-drawer[aria-hidden="false"] li:nth-child(2) { transition-delay: 0.10s; }
.mobile-drawer[aria-hidden="false"] li:nth-child(3) { transition-delay: 0.14s; }
.mobile-drawer[aria-hidden="false"] li:nth-child(4) { transition-delay: 0.18s; }
.mobile-drawer[aria-hidden="false"] li:nth-child(5) { transition-delay: 0.22s; }

.mobile-drawer a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 6px;
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1;
  color: var(--ink);
  position: relative;
  transition: color .22s, transform .22s;
}
.mobile-drawer a:hover,
.mobile-drawer a:active {
  color: var(--gold-soft);
  transform: translateX(4px);
}
.mobile-drawer a[aria-current="page"] {
  color: var(--gold-soft);
}

/* Login / CTA row at the bottom of the drawer */
.mobile-drawer .login-row {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s ease-out, transform .4s ease-out;
}
.mobile-drawer[aria-hidden="false"] .login-row {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.30s;
}
.mobile-drawer .login-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  border-radius: 3px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  border: 1px solid var(--line-soft);
  transition: border-color .22s, background .22s, color .22s;
}
.mobile-drawer .login-row a:hover {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
}
.mobile-drawer .login-row a.primary {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}
.mobile-drawer .login-row a.primary:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  color: var(--bg);
}

/* Desktop adjustments */
@media (min-width: 980px) {
  .site-nav ul { display: flex; }
  .header-actions { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-drawer { display: none !important; }
}

/* --------------------------------------------------------
   7. Hero (used on home only)
-------------------------------------------------------- */
.hero {
  padding: 44px 0 28px;
}
@media (min-width: 720px) {
  .hero { padding: 70px 0 44px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(212, 168, 95, 0.6);
  animation: eyebrow-pulse 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes eyebrow-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(212, 168, 95, 0.7),
                0 0 6px 1px rgba(212, 168, 95, 0.5);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.25);
    box-shadow: 0 0 0 9px rgba(212, 168, 95, 0),
                0 0 12px 2px rgba(212, 168, 95, 0.6);
  }
}

.hero h1 {
  font-size: var(--fs-h2);
  margin-bottom: 18px;
  max-width: 18ch;
}
.hero .lead {
  font-size: 18px;
  color: var(--ink-dim);
  max-width: 58ch;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 480px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; gap: 16px; }
}

/* --------------------------------------------------------
   8. Page header (subpages)
-------------------------------------------------------- */
.page-header {
  padding: 60px 0 40px;
}
@media (min-width: 720px) {
  .page-header { padding: 100px 0 60px; }
}

.page-header h1 {
  font-size: var(--fs-h1);
  margin-bottom: 20px;
  max-width: 18ch;
}
.page-header .lead {
  font-size: 18px;
  color: var(--ink-dim);
  max-width: 58ch;
}

/* --------------------------------------------------------
   9. Buttons
-------------------------------------------------------- */
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 16px 24px;
  min-height: 48px;
  text-align: center;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary {
  background: var(--gold);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--gold-soft);
}
.btn-ghost {
  border: 1px solid var(--line-soft);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}

/* --------------------------------------------------------
   10. Section labels & intros
-------------------------------------------------------- */
.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.section-label::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.section-intro {
  color: var(--ink-dim);
  max-width: 60ch;
  font-size: 18px;
  line-height: 1.6;
}

.section-head {
  margin-bottom: 24px;
}
.section-head h2 {
  margin-bottom: 8px;
  max-width: 22ch;
}

/* --------------------------------------------------------
   11. Cards (intro cards on home)
-------------------------------------------------------- */
.card-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-soft);
  background: rgba(10, 10, 11, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
@media (min-width: 900px) {
  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: 36px 24px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  color: inherit;
  transition: background .25s;
}
@media (min-width: 720px) {
  .card { padding: 44px 32px; }
}
@media (min-width: 900px) {
  .card-grid.cols-3 .card {
    border-right: 1px solid var(--line-soft);
    border-bottom: none;
  }
  .card-grid.cols-3 .card:last-child {
    border-right: none;
  }
}
a.card:hover {
  background: rgba(212, 168, 95, 0.04);
}
.card-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.card h3 {
  font-size: 26px;
  margin-bottom: 14px;
}
.card p {
  color: var(--ink-dim);
  font-size: 15px;
  flex: 1;
  margin-bottom: 24px;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-top: auto;
}

/* --------------------------------------------------------
   12. Services list (deep dive items)
-------------------------------------------------------- */
.service-block {
  padding: 36px 24px;
  border: 1px solid var(--line-soft);
  background: rgba(17, 17, 20, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-bottom: 24px;
}
@media (min-width: 720px) {
  .service-block { padding: 48px; }
}
.service-block h3 {
  font-size: 28px;
  margin-bottom: 14px;
}
.service-block .label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.service-block p {
  color: var(--ink-dim);
  font-size: 15px;
  margin-bottom: 20px;
  max-width: 65ch;
}
.service-block ul {
  list-style: none;
  display: grid;
  gap: 0;
}
@media (min-width: 600px) {
  .service-block ul {
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
  }
}
.service-block li {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--ink-mute);
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------
   13. Values strip (Over ons)
-------------------------------------------------------- */
.values {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(10, 10, 11, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
@media (min-width: 900px) {
  .values { grid-template-columns: repeat(3, 1fr); }
}
.value {
  padding: 26px 22px;
  border-bottom: 1px solid var(--line-soft);
}
.value:last-child { border-bottom: none; }
@media (min-width: 720px) {
  .value { padding: 40px 32px; }
}
@media (min-width: 900px) {
  .value {
    border-right: 1px solid var(--line-soft);
    border-bottom: none;
  }
  .value:last-child { border-right: none; }
}
.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gold-deep);
  background: rgba(212, 168, 95, 0.06);
  color: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.value-num {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  line-height: 1;
  color: var(--gold-soft);
  margin-bottom: 10px;
  letter-spacing: 0;
}
.value h4 {
  font-size: 22px;
  margin-bottom: 16px;
  line-height: 1.3;
}
.value p {
  color: var(--ink-dim);
  font-size: 15.5px;
  line-height: 1.7;
}

/* --------------------------------------------------------
   14. Approach list & terminal panel
-------------------------------------------------------- */
.split {
  display: grid;
  gap: 32px;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.1fr 1fr; gap: 60px; }
}

.approach {
  list-style: none;
  counter-reset: step;
}
.approach li {
  counter-increment: step;
  padding: 24px 0;
  border-top: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
}
.approach li:last-child {
  border-bottom: 1px solid var(--line-soft);
}
.approach li::before {
  content: counter(step, decimal-leading-zero);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.08em;
  padding-top: 4px;
}
.approach h4 {
  font-size: 20px;
  margin-bottom: 6px;
}
.approach p {
  color: var(--ink-dim);
  font-size: 14px;
}

.terminal {
  background: rgba(17, 17, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-soft);
  padding: 22px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  line-height: 1.85;
}
@media (min-width: 720px) {
  .terminal { padding: 28px; font-size: 13px; }
}
.terminal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.terminal-dots {
  display: flex;
  gap: 6px;
}
.terminal-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-mute);
}
.terminal-dots span:first-child { background: var(--gold); }
.terminal-title {
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.12em;
}
.terminal .ln { display: block; }
.terminal .c { color: var(--gold); }
.terminal .k { color: var(--gold-soft); }
.terminal .m { color: var(--ink-mute); }

/* --------------------------------------------------------
   15. Stats strip
-------------------------------------------------------- */
.stats {
  display: grid;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(10, 10, 11, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
@media (min-width: 600px) {
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
}
.stat {
  padding: 28px 22px;
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
}
.stat:last-child { border-bottom: none; }
@media (min-width: 600px) {
  .stat {
    border-right: 1px solid var(--line-soft);
  }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(1),
  .stat:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
  .stat:nth-child(3),
  .stat:nth-child(4) { border-bottom: none; }
}
@media (min-width: 900px) {
  .stat { border-right: 1px solid var(--line-soft); }
  .stat:nth-child(2n) { border-right: 1px solid var(--line-soft); }
  .stat:last-child { border-right: none; }
  .stat:nth-child(1),
  .stat:nth-child(2),
  .stat:nth-child(3) { border-bottom: none; }
}
@media (min-width: 720px) {
  .stat { padding: 40px 28px; }
}
.stat-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 42px;
  font-weight: 300;
  color: var(--gold-soft);
  line-height: 1;
}
@media (min-width: 720px) {
  .stat-num { font-size: 52px; }
}
.stat-num small {
  font-size: 22px;
  color: var(--ink-mute);
}
.stat-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 12px;
}

/* --------------------------------------------------------
   16. AI features
-------------------------------------------------------- */
.ai-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 900px) {
  .ai-grid { grid-template-columns: 1.1fr 1fr; gap: 60px; }
}
.ai-features {
  display: grid;
  gap: 16px;
}
.ai-feature {
  padding: 20px;
  border: 1px solid var(--line-soft);
  background: rgba(17, 17, 20, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  transition: border-color .25s, background .25s;
}
.ai-feature:hover {
  border-color: var(--gold);
  background: rgba(17, 17, 20, 0.75);
}
@media (min-width: 720px) {
  .ai-feature { padding: 24px 28px; }
}
.ai-icon {
  width: 38px;
  height: 38px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}
.ai-feature h4 {
  font-size: 20px;
  margin-bottom: 6px;
}
.ai-feature p {
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.6;
}

/* AI demo (chat) */
.ai-demo {
  background: rgba(17, 17, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-soft);
  padding: 22px;
}
@media (min-width: 720px) {
  .ai-demo { padding: 28px; }
}
.ai-demo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.ai-demo-head .label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.ai-demo-head .live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.14em;
}
.ai-demo-head .live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(212, 168, 95, 0.6);
  animation: eyebrow-pulse 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.chat-msg {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.chat-msg:last-child { margin-bottom: 0; }
.chat-avatar {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}
.chat-avatar.user {
  background: rgba(248, 246, 241, 0.06);
  color: var(--ink-dim);
  border: 1px solid var(--line-soft);
}
.chat-avatar.ai {
  background: rgba(212, 168, 95, 0.12);
  color: var(--gold-soft);
  border: 1px solid var(--gold);
}
.chat-bubble {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-dim);
}
.chat-bubble strong {
  color: var(--ink);
  font-weight: 500;
}
.chat-bubble code {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  background: rgba(212, 168, 95, 0.10);
  color: var(--gold-soft);
  padding: 1px 6px;
}

/* --------------------------------------------------------
   17. CTA band
-------------------------------------------------------- */
.cta-band {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background:
    linear-gradient(135deg,
      rgba(212, 168, 95, 0.04),
      rgba(10, 10, 11, 0.55) 60%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: center;
}
.cta-band h2 {
  margin: 0 auto 14px;
  max-width: 24ch;
}
.cta-band p {
  color: var(--ink-dim);
  max-width: 54ch;
  margin: 0 auto 22px;
  font-size: 15px;
}

/* --------------------------------------------------------
   18. FAQ
-------------------------------------------------------- */
.faq {
  max-width: 720px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--line-soft);
  padding: 18px 0;
}
.faq summary {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: "JetBrains Mono", monospace;
  color: var(--gold);
  font-size: 22px;
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin-top: 12px;
  color: var(--ink-dim);
  font-size: 15px;
  max-width: 65ch;
}

/* --------------------------------------------------------
   19. Contact form
-------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
}

.contact-info,
.contact-form {
  padding: 28px 22px;
  border: 1px solid rgba(248, 246, 241, 0.45);
  background: rgba(17, 17, 20, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
@media (min-width: 720px) {
  .contact-info, .contact-form { padding: 36px; }
}
.contact-info h3,
.contact-form h3 {
  font-size: 24px;
  margin-bottom: 20px;
}
.contact-info dt {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 20px;
  margin-bottom: 6px;
  font-weight: 500;
}
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd {
  font-size: 16px;
  color: var(--ink);
  margin: 0;
}
.contact-info dd a {
  color: var(--gold-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.contact-info dd a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold-deep);
}

.form-group {
  margin-bottom: 16px;
}
.form-label {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 500;
}
.form-input,
.form-textarea {
  width: 100%;
  background: rgba(10, 10, 11, 0.55);
  border: 1px solid var(--line-soft);
  color: var(--ink);
  font-family: "Inter Tight", sans-serif;
  font-size: 15px;
  font-weight: 300;
  padding: 12px 14px;
  outline: none;
  border-radius: 0;
  transition: border-color .2s;
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--gold);
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--ink-mute);
  opacity: .6;
}
.form-feedback {
  display: none;
  margin-top: 14px;
  padding: 12px;
  font-size: 13px;
  border-left: 2px solid var(--gold);
  background: rgba(212, 168, 95, 0.08);
  color: var(--gold-soft);
}
.form-feedback.is-visible { display: block; }
.form-feedback.is-error {
  border-left-color: var(--error);
  background: rgba(224, 122, 95, 0.08);
  color: #f0c4b8;
}

/* --------------------------------------------------------
   20. Footer
-------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 36px 0 28px;
  margin-top: 60px;
  border-top: 1px solid var(--line-soft);
  background: rgba(10, 10, 11, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.site-footer-grid {
  display: grid;
  gap: 28px;
  margin-bottom: 32px;
}
@media (min-width: 720px) {
  .site-footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
}
.footer-col h5 {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 14px;
  font-weight: 400;
}
.footer-col p,
.footer-col li {
  font-size: 14px;
  color: var(--ink-dim);
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  padding: 4px 0;
}
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
}
.footer-bottom a {
  color: var(--ink-mute);
  text-decoration: none;
  transition: color .15s;
}
.footer-bottom a:hover { color: var(--gold-soft); }

/* --------------------------------------------------------
   21. Login page
-------------------------------------------------------- */
.login-wrap {
  display: grid;
  place-items: center;
  padding: 40px 16px 60px;
  min-height: calc(100vh - var(--header-height));
}
.login-card {
  width: 100%;
  max-width: 440px;
  padding: 32px 24px;
  background: rgba(17, 17, 20, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-soft);
}
.login-card.portal-card {
  max-width: 560px;
}
@media (min-width: 480px) {
  .login-card { padding: 44px 38px; }
}
.login-card h1 {
  font-size: 32px;
  margin-bottom: 8px;
}
.login-card .login-sub {
  color: var(--ink-dim);
  font-size: 14px;
  margin-bottom: 28px;
}
.pw-wrap { position: relative; }
.pw-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--ink-mute);
}
.pw-toggle:hover { color: var(--gold-soft); }
.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 24px;
}
.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--ink-dim);
}
.checkbox input {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid var(--line-soft);
  background: rgba(10, 10, 11, 0.55);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.checkbox input:checked {
  background: var(--gold);
  border-color: var(--gold);
}
.checkbox input:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid var(--bg);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.forgot-link {
  font-size: 12px;
  color: var(--gold-soft);
}
.forgot-link:hover { color: var(--gold); }
.btn-submit {
  width: 100%;
  background: var(--gold);
  color: var(--bg);
  padding: 14px 20px;
  min-height: 50px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .2s;
}
.btn-submit:hover { background: var(--gold-soft); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; }

/* --------------------------------------------------------
   22. Utilities
-------------------------------------------------------- */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* No animations on text — strict rule */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------
   23. Contact form additions
-------------------------------------------------------- */

/* Honeypot — invisible to humans, visible to bots */
.honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Required indicator */
.req {
  color: var(--gold);
  margin-left: 2px;
}

/* "Optional" tag */
.optional {
  color: var(--ink-mute);
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
  margin-left: 4px;
}

/* Character counter */
.char-counter {
  float: right;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  text-transform: none;
}
.char-counter.is-warn { color: var(--gold-soft); }

/* Select fields use form-input class — make arrow visible on dark theme */
select.form-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23a39c8e' stroke-width='1.5'%3E%3Cpolyline points='1,1 6,7 11,1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 38px;
  cursor: pointer;
}
select.form-input option {
  background: var(--bg-soft);
  color: var(--ink);
}

/* Radio group */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 10px 14px;
  border: 1px solid var(--line-soft);
  background: rgba(10, 10, 11, 0.45);
  font-size: 13px;
  color: var(--ink-dim);
  transition: border-color .2s, color .2s;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
}
.radio:hover {
  border-color: rgba(212, 168, 95, 0.4);
  color: var(--ink);
}
.radio input {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--ink-mute);
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: border-color .2s;
}
.radio input:checked {
  border-color: var(--gold);
}
.radio input:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--gold);
}
.radio:has(input:checked) {
  border-color: var(--gold);
  color: var(--ink);
  background: rgba(212, 168, 95, 0.06);
}

/* Privacy note */
.privacy-note {
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.6;
  margin: 0 0 18px;
}
.privacy-note a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.privacy-note a:hover { color: var(--gold); }

/* Block-level button */
.btn-block {
  width: 100%;
}

/* Submit button — disabled state */
.btn-primary:disabled {
  background: rgba(212, 168, 95, 0.35);
  color: rgba(10, 10, 11, 0.6);
  cursor: not-allowed;
}

/* Turnstile container — widget aligned left under the message field */
.turnstile-group {
  text-align: left;
}
.turnstile-group .form-label {
  display: block;
  text-align: left;
}
.turnstile-wrap {
  display: flex;
  justify-content: flex-start;
  min-height: 65px;
}
.cf-turnstile {
  min-height: 65px;
  display: inline-block;
}

/* --------------------------------------------------------
   24. Contact info block — merged info + compact NL map
-------------------------------------------------------- */

/* Coverage strip — centred between dl and map */
.map-coverage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  margin-bottom: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  text-align: center;
}
.map-coverage-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(212, 168, 95, 0.6);
  animation: eyebrow-pulse 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  flex-shrink: 0;
}

/* Compact map — subtle accent, not a dominant element */
.contact-map {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 280px;
  max-height: 280px;
}

.nl-map {
  width: auto;
  height: 100%;
  max-height: 280px;
  overflow: visible;
}

/* Provinces — much subtler: lighter fill, thinner borders, lower opacity */
.nl-provinces .nl-province {
  fill: rgba(212, 168, 95, 0.07);
  stroke: rgba(235, 207, 142, 0.55);
  stroke-width: 0.4;
  stroke-linejoin: round;
  stroke-linecap: round;
  transition: fill .25s, stroke .25s;
  cursor: pointer;
}
.nl-provinces .nl-province:hover {
  fill: rgba(212, 168, 95, 0.22);
  stroke: var(--gold-soft);
}
/* On-site provinces get a slightly stronger hover tint */
.nl-provinces .nl-province[data-coverage="on-site"]:hover {
  fill: rgba(212, 168, 95, 0.32);
}
/* Partial-coverage provinces — a touch brighter than remote */
.nl-provinces .nl-province[data-coverage="partial"]:hover {
  fill: rgba(212, 168, 95, 0.26);
}

/* Tooltip that follows cursor over the map */
.nl-tooltip {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 5;
  padding: 8px 12px;
  background: rgba(10, 10, 11, 0.94);
  border: 1px solid var(--line-soft);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .14s ease-out;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

/* Anchored mode (mobile / touch): fixed position at the bottom-centre
   of the map box, ignores cursor position. */
.nl-tooltip.is-anchored {
  top: auto;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%) !important;
  text-align: center;
}

.nl-tooltip.is-visible {
  opacity: 1;
}
.nl-tooltip-name {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 3px;
  letter-spacing: 0.02em;
}
.nl-tooltip-coverage {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nl-tooltip-on-site {
  color: var(--gold);
}
.nl-tooltip-partial {
  color: var(--gold-soft);
}
.nl-tooltip-remote {
  color: var(--ink-mute);
}

/* HQ marker — smaller, less attention-grabbing */
.nl-hq {
  fill: var(--gold-soft);
  stroke: var(--gold);
  stroke-width: 0.8;
}
.nl-hq-pulse {
  fill: none;
  stroke: var(--gold);
  stroke-width: 0.8;
  opacity: 0.6;
  transform-origin: center;
  transform-box: fill-box;
  animation: nl-hq-pulse 2.4s ease-out infinite;
}
@keyframes nl-hq-pulse {
  0%   { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Force a dark transition canvas so cross-fade can't reveal white. */
:root {
  background: #0a0a0b;
}
html {
  background: #0a0a0b;
}

/* SPA loading state — subtle dim of main while fetching next page */
html.spa-loading main {
  opacity: 0.6;
  transition: opacity 0.15s ease-out;
}

/* --------------------------------------------------------
   26. Mobile optimisations (under 720px)
   Targeted fixes for phones — typography, spacing, touch targets
-------------------------------------------------------- */
@media (max-width: 719px) {

  /* --- Typography: tighten huge display text on small screens.
     fs-h1 and fs-h2 are pinned to the same value so hero and section
     headings always render identically on mobile. --- */
  :root {
    --fs-display: clamp(24px, 6vw, 30px);
    --fs-h1:      clamp(24px, 6vw, 30px);
    --fs-h2:      clamp(24px, 6vw, 30px);
    --fs-h3:      19px;
  }
  body {
    font-size: 15px;
  }

  /* --- Section padding: less breathing room on small screens --- */
  section { padding: 44px 0; }
  .hero { padding: 48px 0 32px; }
  .page-header { padding: 48px 0 32px; }

  /* --- Force hero/page-header h1 to match section h2 size on mobile.
     !important guarantees no other rule (cached or otherwise) wins. --- */
  .hero h1 {
    font-size: var(--fs-h2) !important;
    max-width: 100%;
  }
  .page-header h1 {
    font-size: var(--fs-h2) !important;
  }
  .section-head h2 {
    font-size: var(--fs-h2) !important;
  }
  .hero .lead, .page-header .lead {
    font-size: 15.5px;
  }

  /* --- Eyebrow: legible on mobile --- */
  .eyebrow {
    font-size: 12px;
    margin-bottom: 20px;
  }

  /* --- Buttons: full-width is friendlier on small screens --- */
  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
  }

  /* --- Section heads: tighter spacing --- */
  .section-head {
    margin-bottom: 32px;
  }
  .section-label {
    font-size: 12px;
    margin-bottom: 20px;
  }
  .section-intro {
    font-size: 15px;
  }

  /* --- Cards: tighter padding, lighter borders --- */
  .card {
    padding: 28px 22px;
  }
  .card h3 {
    font-size: 22px;
  }
  .card p {
    font-size: 14.5px;
    margin-bottom: 18px;
  }
  .card-link {
    font-size: 11px;
  }

  /* --- Service blocks: less padding on phones --- */
  .service-block {
    padding: 28px 22px;
  }
  .service-block h3 {
    font-size: 24px;
  }
  .service-block li {
    font-size: 11.5px;
  }

  /* --- Values strip: smaller heading --- */
  .value h4 { font-size: 21px; }

  /* --- Approach list: tighter --- */
  .approach li { padding: 20px 0; }
  .approach h4 { font-size: 17px; }

  /* --- Terminal: keep code lines readable --- */
  .terminal {
    font-size: 11px;
    line-height: 1.7;
    overflow-x: auto;
  }

  /* --- Stats: bigger numbers feel weird on phones --- */
  .stat { padding: 24px 18px; }
  .stat-num { font-size: 38px; }
  .stat-num small { font-size: 20px; }
  .stat-label { font-size: 10px; }

  /* --- AI features --- */
  .ai-feature {
    padding: 18px;
    grid-template-columns: 32px 1fr;
    gap: 14px;
  }
  .ai-icon { width: 32px; height: 32px; font-size: 11px; }
  .ai-feature h4 { font-size: 17px; }
  .ai-feature p { font-size: 13.5px; }
  .ai-demo { padding: 18px; }
  .chat-bubble { font-size: 13px; }

  /* --- FAQ: smaller question type --- */
  .faq summary { font-size: 17px; }
  .faq details p { font-size: 14.5px; }

  /* --- CTA band: tighter --- */
  .cta-band h2 { margin-bottom: 14px; }
  .cta-band p { font-size: 14.5px; margin-bottom: 22px; }
  .cta-band .btn-primary {
    width: 100%;
  }

  /* --- Contact info + form --- */
  .contact-info,
  .contact-form {
    padding: 22px 18px;
  }
  .contact-info h3,
  .contact-form h3 {
    font-size: 21px;
    margin-bottom: 16px;
  }
  .contact-info dd,
  .contact-info dd a {
    font-size: 14.5px !important;
  }

  /* --- Form inputs: 16px font-size avoids iOS zoom on focus --- */
  .form-input,
  .form-textarea {
    font-size: 16px;  /* CRITICAL: do not lower below 16px on iOS */
    padding: 11px 13px;
  }
  .form-textarea {
    min-height: 100px;
  }
  .form-label {
    font-size: 12px;
  }

  /* --- Radio group: stack vertically on phones --- */
  .radio-group {
    flex-direction: column;
    gap: 8px;
  }
  .radio {
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  /* --- Turnstile widget: keep responsive --- */
  .cf-turnstile { width: 100%; max-width: 300px; }

  /* --- Map: smaller on phones, less dominant --- */
  .contact-map {
    height: 200px;
    max-height: 200px;
  }
  .nl-map {
    max-height: 200px;
  }

  /* --- Privacy note + submit button --- */
  .privacy-note { font-size: 11.5px; }

  /* --- Footer: tighter cols --- */
  .site-footer { padding: 36px 0 28px; margin-top: 40px; }
  .site-footer-grid { gap: 24px; margin-bottom: 24px; }
  .footer-col h5 { font-size: 10px; }
  .footer-col p, .footer-col li { font-size: 13.5px; }
  .footer-bottom { font-size: 10px; }

  /* --- Login page: align to top on mobile, tighter padding --- */
  .login-wrap {
    place-items: start center;
    padding: 16px 16px 40px;
    min-height: 0;
  }
  .login-card {
    padding: 28px 22px;
  }
  .login-card h1 { font-size: 28px; }
  .login-card .login-sub { font-size: 13px; }
  .form-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  /* --- Long words / URLs don't break out of containers --- */
  .contact-info dd,
  .footer-col li,
  .chat-bubble,
  .terminal {
    word-wrap: break-word;
    overflow-wrap: anywhere;
  }
}

/* --- Services grid on diensten page: stack at 720 already via inline media,
       but add card-specific polish --- */
@media (max-width: 719px) {
  .svc-card {
    padding: 22px 20px 20px;
  }
  .svc-title {
    font-size: 22px;
  }
  .svc-tag {
    font-size: 14px;
    margin-bottom: 14px;
  }
  .svc-bullets {
    font-size: 12px;
  }
  .svc-bullets li { padding: 3px 0; }

  /* Partners-grid: gracieus 1-koloms onder 520, al via own media; bevestigd */
  .partners-grid {
    border-radius: 4px;
  }
  .partner-card {
    padding: 20px 18px;
    min-height: 0;
  }

  /* Process stepper: minder gap op klein scherm */
  .process-stepper {
    gap: 28px !important;
  }
  .step h4 {
    font-size: 19px;
  }
  .step p {
    font-size: 13.5px;
  }

  /* AI grid (features + chat) — stack */
  .ai-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  /* Stats: when used standalone or under partners, force readable centered */
  .stats {
    border-radius: 4px;
  }

  /* Footer grid → 1-col on mobile */
  .site-footer-grid {
    grid-template-columns: 1fr !important;
  }
}

/* --- Extra small phones (under 380px) --- */
@media (max-width: 379px) {
  .wrap { padding: 0 16px; }
  .site-header-inner { gap: 8px; }
  .brand-name { font-size: 17px; }
  .stat-num { font-size: 32px; }
  .terminal { font-size: 10.5px; padding: 16px; }
}

/* --- Network background: lighter render on phones to save battery --- */
@media (max-width: 720px) {
  .net-bg::after {
    background: rgba(10, 10, 11, 0.48);
  }
}

/* --------------------------------------------------------
   27. A11y, performance & polish — non-visual improvements
-------------------------------------------------------- */

/* Skip-to-content link for keyboard / screen reader users.
   Hidden visually until focused. */
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--bg);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  transform: translateY(-200%);
  transition: transform .18s ease-out;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--gold-soft);
  outline-offset: 2px;
}

/* Focus-visible: crisp gold ring only when navigating by keyboard.
   No ring for mouse clicks (less visual noise). */
*:focus { outline: none; }
*:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 1px;
}
.btn-primary:focus-visible,
.btn-ghost:focus-visible,
.btn-cta:focus-visible,
.btn-login:focus-visible,
.btn-submit:focus-visible {
  outline-offset: 4px;
}
.form-input:focus-visible,
.form-textarea:focus-visible {
  outline-color: var(--gold-soft);
  outline-offset: 1px;
}

/* Soft tap-highlight on mobile (default yellow flash is jarring) */
a, button, input, label {
  -webkit-tap-highlight-color: rgba(212, 168, 95, 0.18);
}

/* Faster taps on interactive elements (eliminates 300ms iOS delay) */
a, button, .menu-toggle, .checkbox, .radio,
.btn-primary, .btn-ghost, .btn-cta, .btn-login, .btn-submit,
.card, .ai-feature, summary {
  touch-action: manipulation;
}

/* Safe-area insets for iPhones with notches / home indicator */
@supports (padding: max(0px)) {
  body {
    padding-left:  env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  .site-header-inner {
    padding-left:  max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
  .site-footer .wrap {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* Lock body scroll when mobile drawer is open */
html.menu-open,
html.menu-open body {
  overflow: hidden;
  touch-action: none;
}

/* Prevent layout-shift when Google Fonts are still loading.
   Local fallback metrics are tuned to match each web font. */
body { font-synthesis: none; }

/* Image rendering: keep SVGs crisp on high-DPI screens */
.nl-map, .nl-outline {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Print styles — minimal but useful if someone prints contact info */
@media print {
  .net-bg, .site-header, .site-footer, .menu-toggle,
  .mobile-drawer, .cta-band, .map-coverage, .contact-map { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  *, *::before, *::after { color: #000 !important; background: transparent !important; }
  a { text-decoration: underline; }
  .wrap { max-width: 100%; padding: 0 24px; }
}

/* Reduced motion — respect OS-level setting */
@media (prefers-reduced-motion: reduce) {
  .nl-hq-pulse,
  .map-coverage-dot,
  .eyebrow::before {
    animation: none;
  }
  
}

/* =========================================================================
   Process stepper — used on homepage "Onze aanpak"
   ========================================================================= */
.process-stepper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  margin-top: 24px;
}
.stepper-line {
  position: absolute;
  top: 32px;                /* vertical center of circles */
  left: calc(12.5% + 18px); /* center of first circle */
  right: calc(12.5% + 18px);
  height: 1px;
  background: linear-gradient(
    to right,
    var(--gold-deep) 0%,
    var(--gold) 40%,
    var(--gold) 60%,
    var(--gold-deep) 100%
  );
  opacity: 0.45;
  pointer-events: none;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 1;
}
.step-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 0 0 6px rgba(10,10,11,1),
              0 0 24px rgba(212,168,95,0.18);
  transition: transform .25s ease, box-shadow .25s ease;
}
.step:hover .step-circle {
  transform: translateY(-3px);
  box-shadow: 0 0 0 6px rgba(10,10,11,1),
              0 0 32px rgba(212,168,95,0.4);
}
.step-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.step h4 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 12px;
  color: var(--ink);
  max-width: 200px;
}
.step p {
  color: var(--ink-dim);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0;
  max-width: 220px;
}

@media (max-width: 880px) {
  .process-stepper {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .stepper-line {
    top: 32px;
    bottom: 32px;
    left: calc(50% - 0.5px);
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(
      to bottom,
      var(--gold-deep) 0%,
      var(--gold) 40%,
      var(--gold) 60%,
      var(--gold-deep) 100%
    );
  }
  .step h4 { max-width: 320px; }
  .step p  { max-width: 360px; }
}

/* Neutral banded section (alternating rhythm) ---
   Subtler than .cta-band so the CTA still stands out. */
.section-band {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.015),
      rgba(10, 10, 11, 0.45) 50%,
      rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Tech stack / partners grid (over-ons) ----------------- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  overflow: hidden;
}
.partner-card {
  background: rgba(13, 13, 14, 0.6);
  padding: 24px 22px;
  transition: background .2s ease;
  min-height: 140px;
}
.partner-card:hover {
  background: rgba(20, 20, 22, 0.85);
}
.partner-name {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 500;
}
.partner-card p {
  color: var(--ink-dim);
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0;
}
.partner-empty { display: none; }

@media (max-width: 900px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .partners-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Login page (under-construction) — extracted
   ============================================ */
  /* Construction-specific styles, scoped to this page */
  .uc-main {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(48px, 8vw, 96px) 20px;
    position: relative;
    z-index: 1;
  }
  .uc-card {
    width: 100%;
    max-width: 720px;
    background: rgba(13,13,14,0.7);
    border: 1px solid var(--gold-deep, #a07f44);
    border-radius: 6px;
    padding: clamp(28px, 5vw, 56px);
    backdrop-filter: blur(6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4),
                0 0 80px rgba(212,168,95,0.08) inset;
  }
  .uc-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-soft, #ebcf8e);
    text-align: center;
    margin-bottom: 16px;
    opacity: 0;
    animation: uc-fade-in 0.6s 0.1s forwards;
  }
  .uc-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: clamp(34px, 6vw, 56px);
    line-height: 1.05;
    text-align: center;
    color: var(--ink, #f8f6f1);
    margin: 0 0 14px;
    letter-spacing: 0.005em;
    opacity: 0;
    animation: uc-fade-in 0.7s 0.25s forwards;
  }
  .uc-title em { font-style: italic; color: var(--gold-soft, #ebcf8e); font-weight: 400; }
  .uc-lead {
    text-align: center;
    color: var(--ink-mute, #b8b1a3);
    font-size: 15px;
    line-height: 1.65;
    margin: 0 auto 36px;
    max-width: 520px;
    opacity: 0;
    animation: uc-fade-in 0.7s 0.4s forwards;
  }

  .uc-lists {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 36px;
    opacity: 0;
    animation: uc-fade-in 0.7s 0.55s forwards;
  }
  .uc-list-head {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold, #d4a85f);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-weight: 500;
  }
  .uc-list { list-style: none; padding: 0; margin: 0; }
  .uc-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 15.5px;
    color: var(--ink-dim, #f0ece4);
  }
  .uc-dot {
    width: 9px; height: 9px; border-radius: 50%;
    flex-shrink: 0;
  }
  .uc-dot.green {
    background: #5fd47a;
    box-shadow: 0 0 8px rgba(95,212,122,0.6);
  }
  .uc-dot.red {
    background: #ff5050;
    box-shadow: 0 0 10px rgba(255,80,80,0.5);
    animation: uc-pulse-red 1.6s ease-in-out infinite;
  }
  @keyframes uc-pulse-red {
    0%, 100% { opacity: 1; box-shadow: 0 0 10px rgba(255,80,80,0.5); }
    50% { opacity: 0.55; box-shadow: 0 0 14px rgba(255,80,80,0.8); }
  }

  .uc-footer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
    opacity: 0;
    animation: uc-fade-in 0.7s 0.7s forwards;
  }
  .uc-countdown {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--ink-mute, #b8b1a3);
  }
  .uc-countdown strong { color: var(--gold-soft, #ebcf8e); font-weight: 500; }
  .uc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter Tight', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 11px 22px;
    background: var(--gold, #d4a85f);
    color: var(--bg, #0a0a0b);
    border: 1px solid var(--gold, #d4a85f);
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.15s, transform 0.15s;
  }
  .uc-btn:hover {
    background: var(--gold-soft, #ebcf8e);
    transform: translateY(-1px);
  }

  @keyframes uc-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
  }

  @media (max-width: 600px) {
    .uc-lists { grid-template-columns: 1fr; gap: 24px; }
    .uc-footer-row { justify-content: center; text-align: center; }
  }

/* ============================================
   Services page (diensten) — extracted
   ============================================ */
  /* Services grid -- diensten page */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 8px;
  }
  @media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }

  .svc-card {
    position: relative;
    background: rgba(13, 13, 14, 0.65);
    border: 1px solid var(--line-soft);
    border-radius: 6px;
    padding: 26px 24px 24px;
    cursor: default;
    text-align: left;
    width: 100%;
    color: var(--ink);
    font: inherit;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .svc-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
      circle at 100% 0%,
      rgba(212, 168, 95, 0.08),
      transparent 60%
    );
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
  }
  .svc-card:hover, .svc-card:focus-visible {
    transform: translateY(-4px);
    border-color: var(--gold-deep);
    background: rgba(20, 20, 22, 0.75);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(212, 168, 95, 0.15);
  }
  .svc-card:hover::before, .svc-card:focus-visible::before { opacity: 1; }
  .svc-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

  .svc-num {
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.22em;
    color: var(--gold);
    margin-bottom: 14px;
    text-transform: uppercase;
  }
  .svc-icon {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid var(--gold-deep);
    color: var(--gold-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    background: rgba(10,10,11,0.6);
    transition: background .25s, color .25s;
  }
  .svc-card:hover .svc-icon { background: rgba(212,168,95,0.08); color: var(--gold); }
  .svc-title {
    font-family: "Cormorant Garamond", serif;
    font-weight: 400;
    font-size: 26px;
    line-height: 1.18;
    margin: 0 0 10px;
  }
  .svc-title em { font-style: italic; color: var(--gold-soft); font-weight: 400; }
  .svc-tag {
    color: var(--ink-mute);
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0 0 18px;
  }
  .svc-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    font-family: "JetBrains Mono", monospace;
    font-size: 12.5px;
    color: var(--ink-dim);
    letter-spacing: 0.02em;
  }
  .svc-bullets li {
    padding: 4px 0;
    display: flex;
    gap: 10px;
  }
  .svc-bullets li::before {
    content: "·";
    color: var(--gold);
    flex-shrink: 0;
    font-weight: 700;
  }
  .svc-more {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--line-soft);
    color: var(--gold-soft);
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap .25s ease;
  }
  .svc-card:hover .svc-more { gap: 14px; }

  /* Modal / detail panel */
  .svc-drawer {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    pointer-events: none;
  }
  .svc-drawer.is-open { display: block; pointer-events: auto; }
  .svc-drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity .3s ease;
  }
  .svc-drawer.is-open .svc-drawer-overlay { opacity: 1; }
  .svc-drawer-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 24px));
    width: min(720px, calc(100vw - 32px));
    max-height: min(85vh, 860px);
    background: linear-gradient(180deg, #0c0c0e 0%, #07070a 100%);
    border: 1px solid var(--gold-deep);
    border-radius: 8px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7),
                0 0 0 1px rgba(212, 168, 95, 0.08);
    opacity: 0;
    transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1),
                opacity .25s ease;
    overflow-y: auto;
    padding: clamp(28px, 5vw, 48px);
  }
  .svc-drawer.is-open .svc-drawer-panel {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
  .svc-drawer-close {
    position: absolute;
    top: 16px; right: 16px;
    background: transparent;
    border: 1px solid var(--line-soft);
    color: var(--ink-mute);
    width: 36px; height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: color .2s, border-color .2s, transform .2s;
  }
  .svc-drawer-close:hover { color: var(--gold); border-color: var(--gold-deep); transform: rotate(90deg); }

  @media (max-width: 600px) {
    .svc-drawer-panel {
      width: calc(100vw - 16px);
      max-height: calc(100vh - 32px);
      padding: 28px 22px;
    }
  }
  .svc-drawer-eyebrow {
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.22em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 12px;
  }
  .svc-drawer-panel h2 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 400;
    font-size: clamp(30px, 4vw, 40px);
    line-height: 1.1;
    margin: 0 0 14px;
  }
  .svc-drawer-panel h2 em { font-style: italic; color: var(--gold-soft); font-weight: 400; }
  .svc-drawer-lead {
    color: var(--ink-dim);
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line-soft);
  }
  .svc-drawer h3 {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--gold);
    text-transform: uppercase;
    margin: 28px 0 14px;
    font-weight: 500;
  }
  .svc-drawer-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
  }
  .svc-drawer-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    color: var(--ink-dim);
    font-size: 15px;
    line-height: 1.55;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }
  .svc-drawer-list li::before {
    content: "";
    flex-shrink: 0;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
    margin-top: 9px;
  }
  .svc-drawer-cta {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--line-soft);
  }
  .svc-drawer-cta p {
    color: var(--ink-mute);
    font-size: 14px;
    margin: 0 0 14px;
  }
  .svc-drawer-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }
  .svc-drawer-cta-row .btn-primary,
  .svc-drawer-cta-row .btn-ghost {
    display: inline-flex;
    align-items: center;
  }
  .svc-drawer-cta-row .btn-ghost {
    background: transparent;
    cursor: pointer;
    font-family: inherit;
  }

  /* Partners strip */
  .partners-logos {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    margin-top: 12px;
  }
  @media (max-width: 900px) { .partners-logos { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 480px) { .partners-logos { grid-template-columns: repeat(2, 1fr); } }
  .partner-logo {
    aspect-ratio: 5 / 2;
    background: rgba(13, 13, 14, 0.6);
    border: 1px solid var(--line-soft);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-mute);
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color .2s, border-color .2s, background .2s;
    text-align: center;
    padding: 12px;
    line-height: 1.3;
  }
  .partner-logo:hover {
    color: var(--gold);
    border-color: var(--gold-deep);
    background: rgba(20,20,22,0.7);
  }

  body.drawer-open { overflow: hidden; }

/* ===================================================================
   MOBILE POLISH (final layer) — clean spacing, typography, readability
   =================================================================== */

@media (max-width: 719px) {

  /* Container: comfortable side padding */
  .wrap {
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Typography scale: gentle, not overwhelming */
  :root {
    --fs-display: 32px;
    --fs-h1:      30px;
    --fs-h2:      26px;
    --fs-h3:      19px;
  }
  body {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Section spacing: comfortable rhythm */
  section { padding: 56px 0; }
  .hero, .page-header { padding: 36px 0 32px; }

  /* Hero/page-header text */
  .hero h1, .page-header h1 {
    font-size: 30px !important;
    line-height: 1.15;
    margin-bottom: 16px;
    max-width: 100%;
  }
  .hero .lead, .page-header .lead {
    font-size: 16px;
    line-height: 1.6;
    max-width: 100%;
  }
  .page-header .lead + .lead {
    margin-top: 12px;
  }

  /* Section heads */
  .section-head {
    margin-bottom: 28px;
  }
  .section-head h2 {
    font-size: 26px !important;
    line-height: 1.2;
    margin-bottom: 12px;
    max-width: 100%;
  }
  .section-label {
    font-size: 12px;
    margin-bottom: 18px;
    letter-spacing: 0.18em;
  }
  .section-intro {
    font-size: 15.5px;
    line-height: 1.6;
    max-width: 100%;
  }

  /* Eyebrow */
  .eyebrow {
    font-size: 12px;
    margin-bottom: 16px;
    letter-spacing: 0.2em;
  }

  /* Value cells (drie kerngebieden) */
  .value {
    padding: 24px 22px;
  }
  .value h4 {
    font-size: 21px !important;
    line-height: 1.3;
    margin-bottom: 12px;
  }
  .value-num {
    font-size: 22px !important;
  }
  .value-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
  }
  .value p {
    font-size: 15.5px;
    line-height: 1.6;
  }

  /* Card grids: comfortable padding */
  .card {
    padding: 24px 22px;
  }
  .card h3 {
    font-size: 21px;
    line-height: 1.3;
    margin-bottom: 10px;
  }
  .card p {
    font-size: 15.5px;
    line-height: 1.6;
  }
  .card-num {
    font-size: 12px;
    margin-bottom: 14px;
  }

  /* Service cards (diensten page) */
  .svc-card {
    padding: 24px 22px;
  }
  .svc-title {
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 8px;
  }
  .svc-tag {
    font-size: 14.5px;
    margin-bottom: 16px;
  }
  .svc-bullets {
    font-size: 13px;
  }
  .svc-bullets li {
    padding: 5px 0;
  }
  .svc-more {
    font-size: 11px;
    padding-top: 16px;
  }

  /* Process stepper */
  .process-stepper {
    gap: 32px !important;
  }
  .step h4 {
    font-size: 19px;
    line-height: 1.3;
  }
  .step p {
    font-size: 14.5px;
    line-height: 1.55;
  }

  /* Partners-grid: better on mobile */
  .partner-card {
    padding: 22px 20px;
    min-height: 0;
  }
  .partner-name {
    font-size: 12px;
    margin-bottom: 8px;
  }
  .partner-card p {
    font-size: 14.5px;
    line-height: 1.55;
  }

  /* Stats: readable numbers */
  .stat {
    padding: 24px 20px;
  }
  .stat-num {
    font-size: 38px !important;
  }
  .stat-label {
    font-size: 12px;
  }

  /* Forms */
  .form-input, .form-textarea {
    font-size: 16px;  /* prevents iOS auto-zoom */
    padding: 12px 14px;
  }
  .form-label {
    font-size: 12px;
    margin-bottom: 8px;
  }

  /* Contact info dt/dd: clean spacing */
  .contact-info dt {
    font-size: 12px;
    margin-top: 18px;
    margin-bottom: 6px;
  }
  .contact-info dd {
    font-size: 15.5px;
  }

  /* Footer */
  .site-footer {
    padding: 36px 0 28px;
  }
  .site-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }
  .footer-col h5 {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .footer-col p, .footer-col li {
    font-size: 14.5px;
  }
  .footer-bottom {
    font-size: 11px;
    padding-top: 20px;
  }

  /* CTA bands: well-spaced */
  .cta-band {
    padding: 48px 0 !important;
  }
  .cta-band h2 {
    font-size: 26px !important;
    margin-bottom: 12px;
  }
  .cta-band p {
    font-size: 15.5px;
    margin-bottom: 22px;
  }

  /* AI page chat demo */
  .ai-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  /* Buttons: comfortable touch target */
  .btn-primary, .btn-ghost {
    padding: 14px 22px;
    min-height: 48px;
    font-size: 12px;
  }

  /* Service drawer modal */
  .svc-drawer-panel {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 32px);
    padding: 28px 22px;
  }
  .svc-drawer-panel h2 {
    font-size: 26px;
  }
  .svc-drawer-lead {
    font-size: 15px;
    margin-bottom: 24px;
    padding-bottom: 20px;
  }
  .svc-drawer-list li {
    font-size: 14.5px;
    padding: 7px 0;
  }
}

/* Extra small phones (≤379px) — even tighter */
@media (max-width: 379px) {
  .wrap {
    padding-left: 18px;
    padding-right: 18px;
  }
  section { padding: 44px 0; }
  .hero, .page-header { padding: 28px 0 24px; }
  :root {
    --fs-h1: 26px;
    --fs-h2: 22px;
  }
  .hero h1, .page-header h1 { font-size: 26px !important; }
  .section-head h2 { font-size: 22px !important; }
  .stat-num { font-size: 32px !important; }
  .value-num { font-size: 22px !important; }
  .value h4 { font-size: 19px !important; }
}

/* ===================================================================
   Visual strip (index — kerngebieden met tekst over foto)
   =================================================================== */
.visual-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
  align-items: stretch;
}
.vstrip-item {
  position: relative;
  margin: 0;
  min-height: 220px;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--line-soft);
  background: #0a0a0b;
  cursor: default;
  isolation: isolate;
  display: flex;
}
.vstrip-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%) brightness(0.6) contrast(1.05);
  opacity: 0.92;
  transition: opacity 0.5s ease, filter 0.5s ease, transform 0.6s ease;
  z-index: 0;
}
.vstrip-item:hover img {
  opacity: 1;
  filter: grayscale(0%) brightness(0.72) contrast(1.05);
  transform: scale(1.04);
}
.vstrip-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 11, 0.2) 0%,
    rgba(10, 10, 11, 0.55) 45%,
    rgba(10, 10, 11, 0.92) 100%
  );
  pointer-events: none;
  z-index: 1;
}
.vstrip-item figcaption {
  position: relative;
  z-index: 2;
  padding: 22px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.vstrip-text {
  margin-top: auto;
  display: flex;
  flex-direction: column;
}
.vstrip-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 8px;
}
.vstrip-title em {
  font-style: italic;
  color: var(--gold-soft);
  font-weight: 400;
}
.vstrip-desc {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-dim);
  margin: 0;
}

@media (max-width: 900px) {
  .visual-strip {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .vstrip-item {
    min-height: 170px;
  }
  .vstrip-item figcaption {
    padding: 20px;
  }
  .vstrip-title { font-size: 20px; margin-bottom: 6px; }
  .vstrip-desc { font-size: 14.5px; line-height: 1.5; }
}

/* ===================================================================
   Klaro! cookie consent — themed to match Tauriq dark/gold style
   =================================================================== */
.klaro {
  --green1: var(--gold);
  --green2: var(--gold-soft);
  --dark1: #0c0c0e;
  --dark2: #141417;
  --dark3: #1d1d21;
  --light1: #f8f6f1;
  --light2: #b8b1a3;
  --light3: rgba(248,246,241,0.2);
  font-family: "Inter Tight", system-ui, sans-serif;
}
.klaro .cookie-notice,
.klaro .cookie-modal .cm-modal {
  background: var(--dark1) !important;
  border: 1px solid var(--gold-deep) !important;
  border-radius: 8px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6) !important;
  color: var(--light1) !important;
}
.klaro .cookie-notice {
  max-width: 420px !important;
}
.klaro .cn-body p,
.klaro .cm-modal p,
.klaro .cm-modal .cm-caption,
.klaro .cookie-modal .cm-list-label span {
  color: var(--light1) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}
.klaro .cookie-modal .cm-list-description,
.klaro .cookie-notice .cn-ok ~ p {
  color: var(--light2) !important;
}
.klaro .cm-modal .cm-header h1,
.klaro .cm-modal .cm-header .title {
  font-family: "Cormorant Garamond", serif !important;
  font-weight: 400 !important;
  color: var(--light1) !important;
}
.klaro a,
.klaro .cookie-notice a,
.klaro .cookie-modal a {
  color: var(--gold-soft) !important;
}
/* Buttons */
.klaro .cm-btn,
.klaro .cn-buttons button {
  border-radius: 3px !important;
  font-family: "JetBrains Mono", monospace !important;
  font-size: 12px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 11px 18px !important;
  transition: background .2s, color .2s, border-color .2s !important;
}
.klaro .cm-btn.cm-btn-success,
.klaro .cn-buttons button.cm-btn-success,
.klaro .cookie-notice .cn-ok button.cm-btn-success {
  background: var(--gold) !important;
  color: #0a0a0b !important;
  border: 1px solid var(--gold) !important;
}
.klaro .cm-btn.cm-btn-success:hover {
  background: var(--gold-soft) !important;
  border-color: var(--gold-soft) !important;
}
.klaro .cm-btn.cm-btn-decline,
.klaro .cm-btn.cn-decline,
.klaro .cn-buttons button.cn-decline {
  background: transparent !important;
  color: var(--light2) !important;
  border: 1px solid var(--light3) !important;
}
.klaro .cm-btn.cm-btn-decline:hover {
  color: var(--gold-soft) !important;
  border-color: var(--gold-deep) !important;
}
.klaro .cm-btn.cm-btn-accept,
.klaro .cm-btn.cm-btn-accept-all {
  background: var(--gold) !important;
  color: #0a0a0b !important;
}
/* Toggle switches */
.klaro .cm-list-input:checked + .cm-list-label .slider {
  background-color: var(--gold) !important;
}
.klaro .cm-list-input.required:checked + .cm-list-label .slider {
  background-color: var(--gold-deep) !important;
}
.klaro .cm-list-label .slider {
  background-color: var(--dark3) !important;
}
.klaro .cm-powered-by { display: none !important; }

/* ===================================================================
   Privacy page extras (av-table, h3, cookie settings button)
   =================================================================== */
.av-doc h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 20px;
  color: var(--ink);
  margin: 24px 0 8px;
}
.av-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
}
.av-table th, .av-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  vertical-align: top;
  color: var(--ink-dim);
  line-height: 1.5;
}
.av-table th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.av-table td:first-child { color: var(--ink); font-weight: 500; }
.cookie-settings-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 12px 20px;
  border: 1px solid var(--gold-deep);
  border-radius: 3px;
  background: rgba(212,168,95,0.06);
  color: var(--gold-soft);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.cookie-settings-btn:hover {
  background: rgba(212,168,95,0.14);
  color: var(--gold);
}

/* ===================================================================
   Legal/policy pages base (voorwaarden + privacy) — av-* classes
   =================================================================== */
.av-main { padding: clamp(36px, 6vw, 72px) 0 64px; position: relative; z-index: 1; }
.av-doc { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.av-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 18px;
}
.av-doc h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.1;
  margin: 0 0 14px;
  color: var(--ink);
}
.av-doc h1 em { font-style: italic; color: var(--gold-soft); font-weight: 400; }
.av-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  margin-bottom: 40px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.av-doc h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.25;
  color: var(--ink);
  margin: 36px 0 10px;
  padding-top: 8px;
}
.av-doc h2 .av-art {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 500;
}
.av-doc p, .av-doc li {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-dim);
}
.av-doc p { margin: 0 0 10px; }
.av-doc ul, .av-doc ol {
  padding-left: 22px;
  margin: 0 0 10px;
}
.av-doc li { margin-bottom: 4px; }
.av-doc strong { color: var(--ink); font-weight: 500; }
.av-doc a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }
.av-doc a:hover { color: var(--gold); }
.av-callout {
  background: rgba(212,168,95,0.06);
  border: 1px solid rgba(212,168,95,0.25);
  border-radius: 4px;
  padding: 18px 22px;
  margin: 28px 0;
  font-size: 14.5px;
  line-height: 1.65;
}
