/* brepp home — brand polish — 2026-04-20
   Color philosophy (brand guide faithful):
   Primary:   #FF6A00  Warm amber — used sparingly (kickers, typed text, dots, CTA)
   Secondary: #5B6B7A  Steel blue-grey — icons, step numbers, structural
   Near-black:#1A1A1A  Text
   Off-white: #F7F8FA  Background
   Neutral:   #E5E7EB  Borders
   Rule: amber covers at most 10-15% of composition. No made-up blue.

   Flow principle: sections share one canvas, differences are in spacing
   and card surfaces — not alternating background bands.
*/

/* ── Font override ─────────────────────────────────── */
body {
  font-family: 'Instrument Sans', sans-serif;
}

/* ── Tokens ────────────────────────────────────────── */
:root {
  --home-accent:   #FF6A00;
  --home-accent-soft: #FFC896;
  --home-accent-rgb: 255, 106, 0;
  --home-amber:    var(--home-accent);
  --home-steel:    #5B6B7A;
  --header-h:      80px;
  --hero-top-space: 28px;
}

html[data-theme="light"] {
  --home-bgHaze:  rgba(247, 248, 250, 0.55);
  --home-ink:     #1A1A1A;
  --home-ink2:    #5B6B7A;           /* brand steel = perfect secondary text */
  --home-ink3:    rgba(91, 107, 122, 0.52);
  --home-card:    #FFFFFF;
  --home-card2:   #F7F8FA;
  --home-border:  #E5E7EB;           /* brand neutral */
  --home-shadow:  0 1px 3px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.07);
  --home-shadow2: 0 1px 2px rgba(0,0,0,0.05), 0 4px 12px rgba(0,0,0,0.06);
  --home-accent-line: rgba(var(--home-accent-rgb), 0.06);
  --home-accent-wash: rgba(var(--home-accent-rgb), 0.04);
  --home-accent-quiet: rgba(var(--home-accent-rgb), 0.07);
  --home-accent-glow: rgba(var(--home-accent-rgb), 0.08);
  --home-accent-border: rgba(var(--home-accent-rgb), 0.18);
  --home-accent-strong: #E45F00;
  --home-button-bg: var(--home-accent);
  --home-button-bg-hover: var(--home-accent-strong);
  --home-button-ink: #FFFFFF;
  --home-button-border: rgba(var(--home-accent-rgb), 0.24);
  --home-focus-ring: 0 0 0 4px rgba(var(--home-accent-rgb), 0.14);
  --home-button-shadow: 0 10px 24px rgba(var(--home-accent-rgb), 0.14);
}

html[data-theme="dark"] {
  --home-bgHaze:  rgba(26, 26, 26, 0.70);
  --home-ink:     #F7F8FA;
  --home-ink2:    rgba(247, 248, 250, 0.60);
  --home-ink3:    rgba(247, 248, 250, 0.36);
  --home-card:    #222228;
  --home-card2:   #1C1C22;
  --home-border:  rgba(255, 255, 255, 0.09);
  --home-shadow:  0 1px 3px rgba(0,0,0,0.20), 0 8px 24px rgba(0,0,0,0.40);
  --home-shadow2: 0 1px 2px rgba(0,0,0,0.16), 0 4px 12px rgba(0,0,0,0.30);
  --home-accent-line: rgba(var(--home-accent-rgb), 0.10);
  --home-accent-wash: rgba(var(--home-accent-rgb), 0.10);
  --home-accent-quiet: rgba(var(--home-accent-rgb), 0.12);
  --home-accent-glow: rgba(var(--home-accent-rgb), 0.14);
  --home-accent-border: rgba(var(--home-accent-rgb), 0.28);
  --home-accent-strong: #FF7A1F;
  --home-button-bg: #E36A13;
  --home-button-bg-hover: #F07A24;
  --home-button-ink: #FFFFFF;
  --home-button-border: rgba(var(--home-accent-rgb), 0.38);
  --home-focus-ring: 0 0 0 4px rgba(var(--home-accent-rgb), 0.20);
  --home-button-shadow: 0 12px 28px rgba(0,0,0,0.28);
}

/* ── Shared helpers ──────────────────────────────── */
.home-kicker {
  display: block;
  font-family: 'Geist Mono', 'Courier New', monospace;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--home-amber);
  opacity: 0.75;
  margin-bottom: 12px;
}

.home-h2 {
  color: var(--home-ink);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 10px;
}

body.home-page section .home-h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 0.4rem;
  background: var(--home-accent);
}

.home-p {
  color: var(--home-ink2);
  margin: 0;
  line-height: 1.65;
  font-size: 15px;
}

.home-p--narrow { max-width: 58ch; }

.home-section-head { margin-bottom: 28px; }

/* ── Hero ──────────────────────────────────────────── */
.home-hero {
  position: relative;
  overflow: hidden;
  background: var(--home-bgHaze);
  /* 100svh fills exactly the first screen — no strip below */
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + var(--hero-top-space));
  padding-bottom: 64px;
  box-sizing: border-box;
}

.home-page .with-header-offset {
  padding-top: 0;
}

.home-hero-bg {
  position: absolute;
  inset: -60px -60px -40px -60px;
  pointer-events: none;
  z-index: 0;
}

.home-hero-svg { width: 100%; height: 100%; }

.home-hero-noise {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 70% 50% at 20% 80%, var(--home-accent-quiet), transparent 60%),
    radial-gradient(ellipse 50% 40% at 75% 15%, var(--home-accent-line), transparent 55%);
  /* slow ambient breath — premium, restrained */
  animation: heroAmb 28s ease-in-out infinite alternate;
}

@keyframes heroAmb {
  from { opacity: 0.70; }
  to   { opacity: 1.00; }
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  /* Left side is the main focal point — wider, dominant */
  grid-template-columns: 1.35fr 0.8fr;
  gap: clamp(20px, 4vw, 52px);
  align-items: center;
}

@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .home-hero-inner { grid-template-columns: 1fr; }
  /* On mobile, card comes after copy */
}

.home-hero-copy { max-width: 680px; }

/* Static headline — never moves, never shifts */
.home-title {
  color: var(--home-ink);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-size: clamp(36px, 4.4vw, 60px);
  margin: 0;
}

/* Typed phrase — reserved two-line area; alleen het laatste woord breekt */
.home-typed-line {
  display: block;
  min-height: calc(2 * 1.12em);
  overflow: hidden;
  font-size: clamp(30px, 3.6vw, 50px);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 1px 0 20px;
}

.home-typed-prefix {
  white-space: nowrap;
  display: inline;
}

.home-typed-prefix,
.home-typed {
  color: var(--home-accent);
}

.home-typed-slot {
  display: inline;
  white-space: normal;
}

.home-typed-cursor {
  display: inline-block;
  width: 3px;
  height: 0.80em;
  background: var(--home-accent);
  margin-left: 3px;
  vertical-align: middle;
  border-radius: 1.5px;
  animation: typedBlink 0.95s step-end infinite;
  flex-shrink: 0;
  opacity: 0.90;
}

@keyframes typedBlink {
  0%, 100% { opacity: 0.90; }
  50%       { opacity: 0; }
}

.home-subtitle {
  color: var(--home-ink2);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 24px;
  max-width: 50ch;
}

.home-cta {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.home-link {
  color: var(--home-ink2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s, opacity .2s;
}
.home-link:hover { color: var(--home-accent); border-bottom-color: var(--home-accent-border); }
.home-link:focus-visible {
  outline: none;
  color: var(--home-accent);
  border-bottom-color: var(--home-accent);
  box-shadow: var(--home-focus-ring);
  border-radius: 2px;
}

.home-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--home-ink3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.home-proof-item {
  display: flex;
  align-items: center;
  gap: 7px;
}

.home-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--home-accent);
  opacity: 0.55;
  flex-shrink: 0;
}

body.home-page .btn.primary {
  background: var(--home-button-bg);
  color: var(--home-button-ink);
  border: 1px solid var(--home-button-border);
  border-radius: 14px;
  box-shadow: var(--home-button-shadow);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}

body.home-page .btn.primary:hover {
  background: var(--home-button-bg-hover);
  color: var(--home-button-ink);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(var(--home-accent-rgb), 0.16);
}

body.home-page .btn.primary:active {
  transform: translateY(0);
  box-shadow: var(--home-button-shadow);
  filter: none;
}

body.home-page .btn.primary:focus-visible,
body.home-page a.btn.primary:focus-visible {
  outline: none;
  box-shadow: var(--home-focus-ring), var(--home-button-shadow);
}

/* Hero card — supporting role, not dominant */
.home-hero-card {
  position: relative;
  border-radius: 16px;  /* brand: 12-20px, keeping 16 here for large element */
  padding: 16px 18px 18px;
  background: var(--home-card);
  border: 1px solid var(--home-border);
  box-shadow: var(--home-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  /* Slightly muted — not competing with the headline */
  opacity: 0.90;
  transition: opacity .15s;
}
.home-hero-card:hover { opacity: 1; }

.home-card-top {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.home-pill {
  font-family: 'Geist Mono', 'Courier New', monospace;
  font-size: 10px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 4px;  /* brand: small = 4px */
  border: 1px solid var(--home-accent-border);
  color: var(--home-ink2);
  background: var(--home-accent-wash);
  letter-spacing: 0.05em;
}

.home-mini-title {
  font-family: 'Geist Mono', 'Courier New', monospace;
  color: var(--home-ink3);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 4px;
}

.home-mini-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 8px 6px;
  margin: 0 -6px;
  border-top: 1px solid var(--home-border);
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
  transition: background .15s, box-shadow .15s;
}
.home-mini-row:hover { background: var(--home-accent-wash); }
.home-mini-row:focus-visible {
  outline: none;
  background: var(--home-accent-wash);
  box-shadow: var(--home-focus-ring);
}

.home-mini-k { color: var(--home-ink); font-weight: 600; font-size: 13px; }
.home-mini-v { color: var(--home-ink3); font-size: 11px; text-align: right; white-space: nowrap; }

.home-card-glow {
  position: absolute;
  inset: -60px -80px auto -80px;
  height: 140px;
  background: radial-gradient(circle at 50% 50%, var(--home-accent-glow), transparent 65%);
  filter: blur(18px);
  opacity: 0.6;
  pointer-events: none;
}

/* ── Connected canvas — sections flow, not stack ────
   All content sections share the page background.
   Only the hero has a distinct treatment.
   Cards float on the canvas with subtle shadows.
   Section divisions are spacing only, no bg changes.
   ─────────────────────────────────────────────────── */

/* ── 01 How it works ─────────────────────────────── */
.home-how {
  padding: clamp(56px, 7vw, 96px) 0;
}

.home-how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--home-border);
  border: 1px solid var(--home-border);
  border-radius: 12px;  /* brand: large = 12px */
  overflow: hidden;
  margin-top: 28px;
}

@media (max-width: 860px) {
  .home-how-steps { grid-template-columns: 1fr; }
}

.home-how-step {
  background: var(--home-card);
  padding: 24px 22px 26px;
}

.home-how-num {
  display: block;
  font-family: 'Geist Mono', 'Courier New', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--home-steel);
  opacity: 0.55;
  margin-bottom: 12px;
}
html[data-theme="dark"] .home-how-num { opacity: 0.65; }

.home-how-title {
  color: var(--home-ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 9px;
}

.home-how-text {
  color: var(--home-ink2);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

/* ── 02 Services ─────────────────────────────────── */
.home-services {
  padding: clamp(48px, 6vw, 80px) 0;
  /* Subtle visual separation from previous section */
  border-top: 1px solid var(--home-border);
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--home-border);
  border: 1px solid var(--home-border);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 24px;
}

@media (max-width: 860px) {
  .home-services-grid { grid-template-columns: 1fr; }
}

.home-svc {
  display: grid;
  grid-template-columns: 38px 1fr 18px;
  gap: 14px;
  align-items: start;
  padding: 22px 20px;
  background: var(--home-card);
  text-decoration: none;
  color: inherit;
  transition: background .18s;
}

.home-svc:hover {
  background: var(--home-card2);
}

.home-svc:hover .home-svc-arrow {
  transform: translateX(3px);
  color: var(--home-accent);
}

.home-svc:focus-visible {
  outline: none;
  box-shadow: var(--home-focus-ring);
}

.home-svc-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;  /* brand: medium = 8px */
  background: rgba(91, 107, 122, 0.07);
  border: 1px solid var(--home-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--home-steel);
  flex-shrink: 0;
  margin-top: 1px;
}
html[data-theme="dark"] .home-svc-icon {
  background: rgba(91, 107, 122, 0.12);
}

.home-svc-title {
  color: var(--home-ink);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.home-svc-text {
  color: var(--home-ink2);
  font-size: 13.5px;
  line-height: 1.62;
  margin: 0 0 10px;
}

.home-svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.home-svc-tags span {
  font-family: 'Geist Mono', 'Courier New', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--home-ink3);
  background: var(--home-card2);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--home-border);
}

.home-svc-arrow {
  color: var(--home-ink3);
  font-size: 15px;
  margin-top: 2px;
  transition: transform .18s, color .18s;
  flex-shrink: 0;
}

/* ── 03 Sectors ──────────────────────────────────── */
.home-sectors {
  padding: clamp(48px, 6vw, 80px) 0;
  border-top: 1px solid var(--home-border);
}

.home-sectors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--home-border);
  border: 1px solid var(--home-border);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 24px;
}

@media (min-width: 1060px) {
  .home-sectors-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 540px) {
  .home-sectors-grid { grid-template-columns: 1fr; }
}

.home-sector-item {
  background: var(--home-card);
  padding: 20px 18px 22px;
}

.home-sector-name {
  color: var(--home-ink);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: -0.01em;
  margin-bottom: 7px;
  line-height: 1.3;
}

.home-sector-desc {
  color: var(--home-ink2);
  font-size: 13px;
  line-height: 1.58;
  margin: 0;
}

/* ── 04 Tools ────────────────────────────────────── */
.home-tools {
  padding: clamp(48px, 6vw, 80px) 0;
  border-top: 1px solid var(--home-border);
}

.home-tool-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--home-border);
  border: 1px solid var(--home-border);
  border-radius: 12px;
  overflow: hidden;
}

@media (max-width: 680px) {
  .home-tool-grid { grid-template-columns: 1fr; }
}

.home-tool {
  position: relative;
  display: block;
  text-decoration: none;
  padding: 22px 20px 20px;
  background: var(--home-card);
  overflow: hidden;
  transition: background .18s;
}

.home-tool:hover {
  background: var(--home-card2);
}

.home-tool-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  flex-wrap: wrap;
}

.home-tool-title {
  color: var(--home-ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 17px;
}

.home-tool-tag {
  font-family: 'Geist Mono', 'Courier New', monospace;
  color: var(--home-ink3);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-tool-desc {
  margin-top: 10px;
  color: var(--home-ink2);
  line-height: 1.62;
  font-size: 14px;
}

.home-tool-stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--home-border);
}

.home-tool-stat-num {
  font-size: 18px;
  font-weight: 700;
  color: var(--home-accent);
  font-variant-numeric: tabular-nums;
}

.home-tool-stat-label {
  font-size: 12px;
  color: var(--home-ink2);
  font-weight: 500;
}

.home-tool-cta {
  margin-top: 16px;
  color: var(--home-accent);
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transform: translateY(5px);
  opacity: 0;
  transition: transform .2s ease, opacity .2s ease;
}
.home-tool:hover .home-tool-cta { transform: translateY(0); opacity: 1; }
.home-tool:focus-visible {
  outline: none;
  box-shadow: var(--home-focus-ring);
}

.home-tool--placeholder {
  cursor: default;
  pointer-events: none;
  user-select: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--home-ink);
}

.home-tool-placeholder-svg {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: auto;
}

.home-tool-placeholder-label {
  font-size: 11px;
  font-family: 'Geist Mono', monospace;
  color: var(--home-ink3);
  letter-spacing: 0.05em;
  opacity: 0.55;
  margin-top: 16px;
}

.home-tool-shine {
  position: absolute;
  inset: -50px -50px auto -50px;
  height: 100px;
  background: radial-gradient(circle at 30% 30%, var(--home-accent-line), transparent 65%);
  filter: blur(12px);
  pointer-events: none;
}

/* ── CTA ─────────────────────────────────────────── */
.home-final-cta {
  padding: clamp(56px, 8vw, 100px) 0;
  border-top: 1px solid var(--home-border);
}

.home-final-cta-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  border-radius: 16px;
  padding: clamp(28px, 4vw, 44px);
  background: var(--home-card);
  border: 1px solid var(--home-border);
  box-shadow: var(--home-shadow);
}

@media (max-width: 860px) {
  .home-final-cta-inner { grid-template-columns: 1fr; }
}

.home-final-cta-title {
  color: var(--home-ink);
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 10px;
}

.home-final-cta-text {
  color: var(--home-ink2);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 22px;
}

.home-final-cta-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

/* Breppie callout — part of the page, not an add-on */
.home-breppie-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--home-border);
  color: var(--home-ink3);
  font-size: 13px;
}

.home-breppie-btn {
  all: unset;
  cursor: pointer;
  color: var(--home-accent);
  font-weight: 600;
  font-size: 13px;
  border-bottom: 1px solid transparent;
  transition: border-color .15s, color .15s, opacity .15s;
}
.home-breppie-btn:hover {
  border-bottom-color: var(--home-accent);
}
.home-breppie-btn:focus-visible {
  outline: none;
  border-bottom-color: var(--home-accent);
  box-shadow: var(--home-focus-ring);
  border-radius: 2px;
}

.home-final-checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-final-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--home-ink2);
  font-size: 14px;
  line-height: 1.5;
}

.home-final-check-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--home-accent);
  opacity: 0.55;
  flex-shrink: 0;
  margin-top: 5px;
}

body.home-page .logo:hover,
body.home-page .logo:focus,
body.home-page .logo-footer:hover,
body.home-page .logo-footer:focus,
body.home-page .nav-links a:hover,
body.home-page .nav-links a:focus-visible,
body.home-page .submenu li a:hover,
body.home-page .submenu li a:focus-visible,
body.home-page .whatsapp-link a:hover,
body.home-page .icon-button:hover,
body.home-page .theme-toggle.icon-button:hover {
  color: var(--home-accent);
}

body.home-page .icon-button:focus-visible,
body.home-page .theme-toggle.icon-button:focus-visible,
body.home-page .whatsapp-link a:focus-visible,
body.home-page .nav-links a:focus-visible {
  outline: none;
  box-shadow: var(--home-focus-ring);
  border-radius: 10px;
}

/* ── Service card visual previews ───────────────── */
.home-svc-preview {
  grid-column: 1 / -1;
  height: 64px;
  border-radius: 6px;
  border: 1px solid var(--home-border);
  background: var(--home-card2);
  margin-bottom: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

/* SVG mini-mockup fills the preview container */
.svc-preview-svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* SVG element classes — use home.css tokens for dark mode compatibility */
.svc-accent        { fill: var(--home-accent); }
.svc-accent-soft   { fill: var(--home-accent); opacity: 0.1; }
.svc-accent-border { fill: none; stroke: var(--home-accent); stroke-width: 1; opacity: 0.35; }
.svc-accent-stroke { stroke: var(--home-accent); }
.svc-muted         { fill: var(--home-ink); }
.svc-ink           { fill: var(--home-ink); }
.svc-bg            { fill: var(--home-card2); }
.svc-card          { fill: var(--home-card); }
.svc-card-border   { fill: none; stroke: var(--home-border); stroke-width: 1; }
.svc-rule          { stroke: var(--home-border); stroke-width: 0.75; fill: none; }

/* ── Home blog section ───────────────────────────── */
.home-blog {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.home-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 360px));
  gap: 20px;
  margin-top: 2.5rem;
}

.home-blog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--home-card);
  border: 1px solid var(--home-border);
  border-radius: 14px;
  padding: 24px;
  text-decoration: none;
  color: var(--home-ink);
  transition: border-color 0.18s, box-shadow 0.18s;
}

.home-blog-card:hover {
  border-color: var(--home-accent);
  box-shadow: 0 4px 20px rgba(var(--home-accent-rgb), 0.08);
}

.home-blog-card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--home-accent);
  margin-bottom: 10px;
  font-family: 'Geist Mono', monospace;
}

.home-blog-card-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--home-ink);
  margin-bottom: 10px;
}

.home-blog-card-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--home-ink2);
  flex: 1;
  margin-bottom: 16px;
}

.home-blog-card-meta {
  font-size: 12px;
  color: var(--home-ink3);
  font-family: 'Geist Mono', monospace;
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-blog-card-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--home-accent);
  margin-top: 12px;
}

.home-blog-more {
  margin-top: 28px;
  text-align: center;
}

/* ── Footer CSS fix ──────────────────────────────── */
/* .footer-tools h3 is absent from the global selector list */
.footer-tools h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

/* Align footer font on this page */
.footer {
  font-family: 'Instrument Sans', sans-serif;
}

/* Tighter min-width lets all 6 columns fit at typical desktop widths */

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 980px) {
  .home-hero-inner { grid-template-columns: 1fr; }
  .home-hero-card  { max-width: 480px; }
}

@media (max-width: 640px) {
  .home-hero-card { display: none; }
}

/* ── Reduced motion ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .home-hero-noise { animation: none; }
  .home-typed-cursor { animation: none; opacity: 0.85; }
}
