/* Clearance Traders — brand stylesheet
   Palette taken from the leaflet: navy ink, cream paper, the green roof as the single accent. */

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

:root {
  --paper: #f0e1c6;        /* cream — sampled from the flyer */
  --paper-2: #e8d9bb;
  --ink: #2e343f;          /* slate-navy — the flyer's dark panel */
  --ink-2: #262b34;        /* deeper slate for footer */
  --ink-soft: #3a424e;
  --text: #242b34;
  --text-on-ink: #ece1c8;  /* warm cream text on dark, like the flyer */
  --muted: #5e6a63;
  --muted-on-ink: #b8bcb2;
  --line: #ddccab;         /* hairline on paper */
  --line-ink: #3f4753;     /* hairline on ink */
  --green: #059b48;        /* brand green (logo roof / email) */
  --green-700: #057a39;
  --green-300: #4fc983;    /* light green for use on dark */
  --green-100: #e3f3e9;
  --red: #d32329;          /* logo door / phone — used very sparingly */
  --shadow: 0 18px 40px -24px rgba(46, 52, 63, 0.55);
  --shadow-sm: 0 8px 24px -18px rgba(46, 52, 63, 0.5);
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Geist", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--ink { background: var(--ink); color: var(--text-on-ink); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fbf3e3; }
.section--paper2 { background: var(--paper-2); }
.eyebrow {
  font-family: "Geist Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green-700);
  margin: 0 0 0.9rem;
}
.section--ink .eyebrow { color: #4fc983; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.04; letter-spacing: -0.02em; margin: 0 0 0.6em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); letter-spacing: -0.015em; }
p { margin: 0 0 1.1rem; max-width: 65ch; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--muted); }
.section--ink .lead { color: var(--muted-on-ink); }
.measure { max-width: 60ch; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--green);
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 0.95rem 1.4rem; border-radius: 999px;
  border: 1.5px solid var(--b); background: var(--b); color: #fff;
  text-decoration: none; cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), box-shadow 0.18s var(--ease);
  box-shadow: 0 10px 22px -14px rgba(21, 160, 74, 0.9);
}
.btn:hover { background: var(--green-700); border-color: var(--green-700); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.section--ink .btn--ghost { color: #fbf3e3; border-color: rgba(255,255,255,0.45); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.section--ink .btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--lg { padding: 1.1rem 1.7rem; font-size: 1.06rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--lg svg { width: 20px; height: 20px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.site-header.is-stuck { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; padding-block: 0.5rem; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; text-decoration: none; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.brand img { width: 84px; height: 84px; object-fit: contain; }
.brand small { display: block; font-weight: 600; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-700); font-family: "Geist Mono", monospace; }
.nav-links { display: flex; align-items: center; gap: 0.3rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 0.96rem; color: var(--ink-soft); padding: 0.55rem 0.8rem; border-radius: 8px; transition: background 0.15s var(--ease), color 0.15s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--paper-2); color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 0.6rem; }
.nav-phone { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 700; text-decoration: none; color: var(--ink); font-size: 0.98rem; }
.nav-phone svg { width: 34px; height: 34px; flex: none; } /* 2x the 17px menu icons */
.nav-phone:hover { color: var(--green-700); }
.nav-toggle { display: none; }

/* ---------- menubar (icon triggers + dropdowns) ---------- */
.menubar { display: flex; align-items: center; gap: 0.15rem; }
.mb-group { position: relative; }
.mb-link, .mb-trigger {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font: inherit; font-weight: 600; font-size: 0.95rem; color: var(--ink-soft);
  padding: 0.5rem 0.7rem; border-radius: 9px; border: 0; background: transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.mb-link:hover, .mb-trigger:hover,
.mb-link.is-active, .mb-trigger.is-active,
.mb-trigger[aria-expanded="true"] { background: var(--paper-2); color: var(--ink); }
.mb-ico { display: inline-flex; }
.mb-ico svg { width: 17px; height: 17px; }
.mb-trigger > svg { width: 15px; height: 15px; opacity: 0.6; transition: transform 0.18s var(--ease); }
.mb-trigger[aria-expanded="true"] > svg { transform: rotate(180deg); }

.mb-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 232px; z-index: 60;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 0.4rem; display: none;
}
.mb-menu.open { display: block; }
.mb-item {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.7rem; border-radius: 9px;
  text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 0.93rem;
}
.mb-item:hover, .mb-item.is-active { background: var(--paper); color: var(--ink); }
.mb-item svg { width: 18px; height: 18px; color: var(--green-700); flex: none; }
.mb-sep { height: 1px; background: var(--line); margin: 0.35rem 0.5rem; }
/* Open on hover for pointer devices (JS handles click/keyboard everywhere). */
@media (hover: hover) and (pointer: fine) {
  .mb-group:hover .mb-menu { display: block; }
}

@media (max-width: 920px) {
  .menubar, .nav-phone { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 10px; border: 1.5px solid var(--line);
    background: #fff; cursor: pointer;
  }
}

/* ---------- mobile slide-down menu (bug fix: hidden by default everywhere) ---------- */
.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--paper); }
.mobile-menu.open { display: block; }
.mobile-menu > ul { list-style: none; margin: 0; padding: 0.6rem var(--gutter) 1.2rem; }
.mobile-menu a { display: block; padding: 0.8rem 0.4rem; text-decoration: none; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu .mm-group { padding-top: 0.4rem; }
.mobile-menu .mm-label { display: block; padding: 0.6rem 0.4rem 0.2rem; font-family: "Geist Mono", monospace; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-700); }
.mobile-menu .mm-group ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu a.mm-sub { padding-left: 1.1rem; font-weight: 500; }
.mobile-menu .btn { margin-top: 1rem; width: 100%; justify-content: center; }

/* ---------- hero ---------- */
.hero { background: var(--ink); color: var(--text-on-ink); position: relative; overflow: hidden; }
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(3.5rem, 8vw, 6rem); }
.hero h1 { color: #fbf3e3; max-width: 14ch; }
.hero h1 .hl { color: #4fc983; }
.hero p { color: var(--muted-on-ink); font-size: clamp(1.08rem, 1.8vw, 1.28rem); max-width: 46ch; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.6rem; padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.8rem; font-weight: 600; padding: 0.4rem 0.7rem; border-radius: 999px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--line-ink); color: var(--text-on-ink);
}
.chip svg { width: 15px; height: 15px; color: #4fc983; }
.hero-aside {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0));
  border: 1px solid var(--line-ink); border-radius: var(--radius); padding: 1.6rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.hero-mark { width: 100%; max-width: 320px; margin: 0 auto 1.2rem; opacity: 0.96; }
.licence-card { border-top: 1px solid var(--line-ink); padding-top: 1.1rem; }
.licence-card .k { font-family: "Geist Mono", monospace; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-on-ink); margin: 0 0 0.3rem; }
.licence-card .v { font-family: "Geist Mono", monospace; font-size: 1.05rem; font-weight: 600; color: #fbf3e3; letter-spacing: 0.02em; }
.hero-watermark { position: absolute; right: -8%; top: 50%; transform: translateY(-50%); width: 60%; max-width: 720px; opacity: 0.04; z-index: 1; pointer-events: none; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-aside { order: 2; }
}

/* ---------- service cards ---------- */
.grid { display: grid; gap: 1.2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
  display: flex; flex-direction: column; height: 100%;
}
a.card { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c9bd98; }
.card .ico { width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); margin-bottom: 1rem; }
.card .ico svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--muted); margin-bottom: 0.9rem; font-size: 0.98rem; }
.card .more { margin-top: auto; font-weight: 700; color: var(--green-700); font-size: 0.95rem; display: inline-flex; align-items: center; gap: 0.35rem; }

/* feature list */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.checks li { display: flex; gap: 0.7rem; align-items: flex-start; }
.checks svg { flex: none; width: 22px; height: 22px; color: var(--green); margin-top: 2px; }

/* split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 820px) { .split, .split.reverse { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* steps */
.steps { counter-reset: step; display: grid; gap: 1rem; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.step .n { counter-increment: step; width: 40px; height: 40px; border-radius: 999px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: "Geist Mono", monospace; }
.section--ink .step .n { background: var(--green); }
.step h3 { margin-bottom: 0.25rem; }
.step p { color: var(--muted); margin: 0; }
.section--ink .step p { color: var(--muted-on-ink); }

/* price table */
.ptable { width: 100%; border-collapse: collapse; font-size: 0.98rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ptable th, .ptable td { text-align: left; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--line); }
.ptable th { background: var(--paper-2); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.ptable td:last-child, .ptable th:last-child { font-family: "Geist Mono", monospace; white-space: nowrap; }
.ptable tr:last-child td { border-bottom: 0; }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 0; font-weight: 700; font-size: 1.08rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 24px; height: 24px; position: relative; transition: transform 0.2s var(--ease); }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; background: var(--green-700); border-radius: 2px; }
.faq summary .plus::before { width: 100%; height: 2px; top: 11px; }
.faq summary .plus::after { height: 100%; width: 2px; left: 11px; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 1.2rem; margin: 0; }

/* CTA band */
.cta-band { background: var(--green); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band p { color: rgba(255,255,255,0.9); margin: 0.4rem 0 0; }
.cta-band .btn { background: #fff; color: var(--green-700); border-color: #fff; }
.cta-band .btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.cta-band .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.cta-band .btn--ghost:hover { background: #fff; color: var(--green-700); }

/* trust strip */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 760px) { .trust { grid-template-columns: repeat(2, 1fr); } }
.trust .t .n { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.section--ink .trust .t .n { color: #fbf3e3; }
.trust .t p { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.92rem; }
.section--ink .trust .t p { color: var(--muted-on-ink); }

/* areas */
.area-list { columns: 3; column-gap: 2rem; list-style: none; margin: 0; padding: 0; }
@media (max-width: 700px) { .area-list { columns: 2; } }
.area-list li { padding: 0.45rem 0; border-bottom: 1px solid var(--line); font-weight: 600; break-inside: avoid; }
.area-list li::before { content: "›"; color: var(--green-700); font-weight: 800; margin-right: 0.5rem; }

/* forms */
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field input, .field textarea, .field select {
  font: inherit; padding: 0.8rem 0.9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--text); transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(21,160,74,0.14); }
.field .hint { font-size: 0.8rem; color: var(--muted); }
.field .err { font-size: 0.82rem; color: var(--red); display: none; }
.field.invalid input, .field.invalid textarea { border-color: var(--red); }
.field.invalid .err { display: block; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-note { font-size: 0.85rem; color: var(--muted); }
.form-status { display: none; padding: 1rem 1.1rem; border-radius: var(--radius-sm); font-weight: 600; margin-bottom: 1.2rem; }
.form-status.ok { display: block; background: var(--green-100); color: var(--green-700); border: 1px solid #bfe6c8; }
.form-status.bad { display: block; background: #fae3e1; color: #a3271f; border: 1px solid #f2c4bf; }

/* contact cards */
.contact-line { display: flex; align-items: center; gap: 0.9rem; padding: 1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.contact-line:last-child { border-bottom: 0; }
.contact-line .ico { width: 44px; height: 44px; flex: none; border-radius: 11px; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; }
.contact-line .ico svg { width: 22px; height: 22px; }
.contact-line b { display: block; font-size: 1.05rem; }
.contact-line span { color: var(--muted); font-size: 0.9rem; }

/* prose (legal) */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 2.4rem; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6rem; }
.prose p, .prose li { color: #34424d; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.1rem; display: grid; gap: 0.4rem; }
.prose a { color: var(--green-700); text-decoration: underline; text-underline-offset: 2px; }
.prose .note { background: var(--paper-2); border: 1px solid var(--line); border-left: 4px solid var(--green); padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin: 0 0 1.6rem; font-size: 0.95rem; }
.prose .placeholder { background: #fff4d6; border: 1px dashed #d8a800; border-radius: 6px; padding: 0 0.35rem; font-family: "Geist Mono", monospace; font-size: 0.85em; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4rem; font-size: 0.95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 0.6rem 0.8rem; text-align: left; vertical-align: top; }
.prose th { background: var(--paper-2); }

/* page hero (interior) */
.page-hero { background: var(--ink); color: var(--text-on-ink); }
.page-hero h1 { color: #fbf3e3; }
.page-hero p { color: var(--muted-on-ink); }
.breadcrumb { font-family: "Geist Mono", monospace; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-on-ink); margin: 0 0 1rem; }
.breadcrumb a { color: #4fc983; text-decoration: none; }

/* footer */
.site-footer { background: var(--ink-2); color: var(--text-on-ink); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer img.flogo { width: 84px; margin-bottom: 1rem; }
.site-footer h4 { color: #fff; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; font-family: "Geist Mono", monospace; margin: 0 0 1rem; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.site-footer a { color: var(--muted-on-ink); text-decoration: none; font-size: 0.95rem; }
.site-footer a:hover { color: #fff; }
.site-footer p { color: var(--muted-on-ink); font-size: 0.92rem; }
.footer-licence { font-family: "Geist Mono", monospace; font-size: 0.82rem; color: #4fc983; }
.footer-bottom { border-top: 1px solid var(--line-ink); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: space-between; align-items: center; }
.footer-bottom p { margin: 0; font-size: 0.85rem; }
.footer-bottom .fb-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* sticky mobile call bar */
.callbar { display: none; }
@media (max-width: 920px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    box-shadow: 0 -8px 24px -18px rgba(0,0,0,0.6);
  }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.95rem; font-weight: 700; text-decoration: none; }
  .callbar .call { background: var(--ink); color: #fff; }
  .callbar .wa { background: var(--green); color: #fff; }
  .callbar svg { width: 18px; height: 18px; }
  body { padding-bottom: 56px; }
}

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 0.6rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }

/* ---------- WhatsApp button (CTA variant) ---------- */
.btn--wa { --b: #25d366; background: #25d366; border-color: #25d366; color: #07331a; }
.btn--wa:hover { background: #1ebe5b; border-color: #1ebe5b; color: #07331a; }
.btn--wa svg { width: 20px; height: 20px; }

/* ---------- floating WhatsApp button (all pages) ---------- */
.wa-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 70;
  width: 56px; height: 56px; border-radius: 999px;
  display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 28px -8px rgba(0,0,0,0.5);
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.wa-fab:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 14px 32px -8px rgba(0,0,0,0.55); }
.wa-fab svg { width: 28px; height: 28px; }
/* lift above the sticky mobile call bar so they don't overlap */
@media (max-width: 920px) { .wa-fab { bottom: 70px; right: 14px; width: 50px; height: 50px; } .wa-fab svg { width: 25px; height: 25px; } }
@media (prefers-reduced-motion: reduce) { .wa-fab { transition: none; } }

/* ---------- cookie notice banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  max-width: 720px; margin: 0 auto;
  background: var(--ink); color: var(--text-on-ink);
  border: 1px solid var(--line-ink); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.1rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: 0.9rem; color: var(--muted-on-ink); flex: 1 1 280px; }
.cookie-banner a { color: #4fc983; }
.cookie-banner .btn { padding: 0.6rem 1.1rem; }
@media (max-width: 920px) { .cookie-banner { bottom: 70px; } }

/* ---------- footer credit ---------- */
.footer-credit { margin: 1.2rem 0 0; font-size: 0.8rem; color: var(--muted-on-ink); opacity: 0.85; }
.footer-credit a { color: #4fc983; text-decoration: none; }
.footer-credit a:hover { color: #fff; text-decoration: underline; }

/* ---------- blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
.post-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem; text-decoration: none; color: var(--ink);
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), border-color 0.15s var(--ease);
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c9bd98; }
.post-card h2 { font-size: 1.18rem; margin: 0.5rem 0 0.6rem; }
.post-card p { color: var(--muted); font-size: 0.95rem; margin: 0 0 0.8rem; }
.post-card .more { margin-top: auto; font-weight: 700; color: var(--green-700); font-size: 0.92rem; display: inline-flex; align-items: center; gap: 0.35rem; }
.more svg { width: 18px; height: 18px; flex: none; }
.post-tag { display: inline-block; font-family: "Geist Mono", monospace; font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-700); background: var(--green-100); padding: 0.2rem 0.5rem; border-radius: 999px; margin-right: 0.35rem; }
.post-card-tags, .post-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.4rem; }
.post-head .post-tags { margin-bottom: 0.8rem; }
.post-head .post-tag { background: rgba(255,255,255,0.08); color: #4fc983; }
.post-meta { font-family: "Geist Mono", monospace; font-size: 0.78rem; letter-spacing: 0.04em; color: var(--muted); margin: 0 0 0.6rem; }
.post-head .post-meta { color: var(--muted-on-ink); }
.post-body { max-width: 760px; }
.tldr { background: var(--green-100); border: 1px solid #bfe6cd; border-left: 4px solid var(--green); border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; margin: 0 0 1.8rem; }
.tldr h2 { margin: 0 0 0.7rem; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; font-family: "Geist Mono", monospace; color: var(--green-700); }
.tldr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.tldr li { display: flex; gap: 0.6rem; align-items: flex-start; color: #234; font-size: 0.96rem; }
.tldr svg { flex: none; width: 20px; height: 20px; color: var(--green); margin-top: 1px; }
.author-bio { display: flex; gap: 1rem; align-items: flex-start; margin-top: 2.5rem; padding: 1.3rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); }
.author-bio .ab-ico { flex: none; width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); }
.author-bio .ab-ico svg { width: 24px; height: 24px; }
.author-bio p { margin: 0 0 0.3rem; }
.author-bio .ab-name { font-weight: 800; color: var(--ink); }
.author-bio .ab-role { font-size: 0.82rem; color: var(--green-700); font-family: "Geist Mono", monospace; }

/* ---------- mobile layout audit ---------- */
/* keep wide tables (e.g. legal lawful-basis, blog comparisons) from overflowing on phones */
.prose table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 520px) {
  .btn-row .btn { flex: 1 1 100%; justify-content: center; }
  .post-head h1, .page-hero h1 { font-size: clamp(1.7rem, 8vw, 2.3rem); }
}
