/* ============================================================
   VeldAI — redesign stylesheet
   Two visual directions controlled by [data-direction]:
     • clinical  — light, airy, editorial (default)
     • terminal  — dark, AI-forward, technical
   Accent hue is driven by --accent (set by the Tweaks panel).
============================================================ */

/* ---- Tokens shared across both directions ---- */
:root {
    --accent: #1a5c3a;                                            /* set by tweak */
    --accent-bright: color-mix(in oklab, var(--accent), white 34%);
    --accent-deep:   color-mix(in oklab, var(--accent), black 22%);

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Mulish', system-ui, sans-serif;
    --font-mono:    'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

    /* Type scale */
    --t-xs:   0.75rem;
    --t-sm:   0.875rem;
    --t-base: 1rem;
    --t-lg:   1.1875rem;
    --t-xl:   1.5rem;
    --t-2xl:  2rem;
    --t-3xl:  2.75rem;
    --t-4xl:  3.5rem;
    --t-5xl:  4.5rem;
    --t-6xl:  5.5rem;

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

    --container: 1200px;
    --pad: 1.75rem;

    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 22px;
    --r-pill: 100px;

    --ease: 260ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---- CLINICAL (light) ---- */
[data-direction="clinical"] {
    --bg:        #ffffff;
    --bg-2:      #f4f8f5;
    --bg-3:      #ebf2ed;
    --surface:   #ffffff;
    --text:      #131a16;
    --text-2:    #495a51;
    --text-3:    #8b9c92;
    --border:    #e2ece6;
    --hairline:  #e2ece6;
    --accent-use: var(--accent);
    --accent-soft: color-mix(in oklab, var(--accent), white 90%);
    --accent-mid:  color-mix(in oklab, var(--accent), white 70%);
    --shadow-sm: 0 1px 2px rgba(20,40,30,0.04), 0 2px 8px rgba(20,60,40,0.05);
    --shadow-lg: 0 1px 3px rgba(20,40,30,0.05), 0 18px 50px -16px rgba(20,70,45,0.16);
    --grid-line: rgba(26,92,58,0.05);
    --on-accent: #ffffff;
    color-scheme: light;
}

/* ---- TERMINAL (dark) ---- */
[data-direction="terminal"] {
    --bg:        #0a110d;
    --bg-2:      #0e1712;
    --bg-3:      #122019;
    --surface:   #101a14;
    --text:      #eaf3ec;
    --text-2:    #aebdb3;
    --text-3:    #748c7d;
    --border:    rgba(125,190,150,0.14);
    --hairline:  rgba(125,190,150,0.12);
    --accent-use: var(--accent-bright);
    --accent-soft: color-mix(in oklab, var(--accent-bright), #0a110d 82%);
    --accent-mid:  color-mix(in oklab, var(--accent-bright), #0a110d 55%);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
    --shadow-lg: 0 30px 70px -24px rgba(0,0,0,0.7);
    --grid-line: rgba(125,190,150,0.06);
    --on-accent: #07120c;
    color-scheme: dark;
}

/* ============================================================
   Reset & base
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    font-size: var(--t-base);
    color: var(--text-2);
    background-color: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color var(--ease), color var(--ease);
    overflow-x: hidden;
}

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

::selection { background: var(--accent-use); color: var(--on-accent); }

/* ============================================================
   Typography
============================================================ */
h1, h2, h3 {
    font-family: var(--font-display);
    color: var(--text);
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -0.015em;
}
h4 { font-family: var(--font-body); color: var(--text); font-weight: 700; line-height: 1.3; }

.accent-italic { font-style: italic; color: var(--accent-use); font-weight: 600; }

/* Mono eyebrow / tag */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    font-family: var(--font-mono);
    font-size: var(--t-xs);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-use);
}
.eyebrow::before {
    content: "";
    width: 18px;
    height: 1px;
    background: var(--accent-use);
    opacity: 0.7;
}

.mono { font-family: var(--font-mono); }

/* Pulsing dot */
.pulse-dot {
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent-use);
    flex-shrink: 0;
    box-shadow: 0 0 0 0 var(--accent-use);
    animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
    0%,100% { opacity: 1; box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent-use), transparent 50%); }
    50%     { opacity: 0.55; box-shadow: 0 0 0 6px color-mix(in oklab, var(--accent-use), transparent 100%); }
}

/* ============================================================
   Layout primitives
============================================================ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }

.section { padding-block: var(--s-32); position: relative; }
.section--tint { background: var(--bg-2); }

/* hairline separators in terminal mode keep sections legible */
[data-direction="terminal"] .section + .section { border-top: 1px solid var(--hairline); }

.section-head { max-width: 720px; margin-bottom: var(--s-16); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--t-3xl); margin-top: var(--s-5); }
.section-head p { font-size: var(--t-lg); margin-top: var(--s-5); color: var(--text-2); text-wrap: pretty; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }

/* ============================================================
   Buttons
============================================================ */
.btn {
    display: inline-flex; align-items: center; gap: var(--s-2);
    font-family: var(--font-body); font-size: var(--t-base); font-weight: 700;
    border-radius: var(--r-pill);
    padding: 0.85rem 1.6rem;
    cursor: pointer; border: 1px solid transparent; white-space: nowrap;
    transition: transform var(--ease), background-color var(--ease), border-color var(--ease), color var(--ease);
}
.btn--primary { background: var(--accent-use); color: var(--on-accent); }
.btn--primary:hover { transform: translateY(-2px); background: color-mix(in oklab, var(--accent-use), white 8%); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--accent-use); color: var(--accent-use); transform: translateY(-2px); }
.btn .whatsapp-icon { width: 17px; height: 17px; flex-shrink: 0; }

/* ============================================================
   Header
============================================================ */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: color-mix(in oklab, var(--bg), transparent 18%);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    border-bottom: 1px solid var(--hairline);
    transition: background-color var(--ease), border-color var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding-block: var(--s-4); }

.site-logo { display: inline-flex; align-items: baseline; gap: 1px; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.site-logo .logo-accent { color: var(--accent-use); }
.site-logo .logo-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-use); margin-left: 3px; align-self: center; }

.header-nav { display: flex; align-items: center; gap: var(--s-8); }
.header-nav a.navlink { font-size: var(--t-sm); font-weight: 600; color: var(--text-2); transition: color var(--ease); }
.header-nav a.navlink:hover { color: var(--accent-use); }

/* ============================================================
   Hero
============================================================ */
.hero { position: relative; padding-block: var(--s-24) var(--s-32); overflow: hidden; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 68px 68px;
    -webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 0%, transparent 72%);
    mask-image: radial-gradient(120% 90% at 70% 0%, #000 0%, transparent 72%);
}
.hero .container { position: relative; z-index: 1; }

.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--s-16); align-items: center; }

.hero__headline { font-size: var(--t-5xl); margin-block: var(--s-6) var(--s-6); text-wrap: balance; }
.hero__sub { font-size: var(--t-lg); max-width: 36em; color: var(--text-2); text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-10); }
.hero__avail { display: flex; align-items: center; gap: var(--s-2); margin-top: var(--s-6); font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: 0.04em; color: var(--text-3); }

/* Capability chip row */
.cap-row { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-12); padding-top: var(--s-8); border-top: 1px solid var(--hairline); }
.cap-chip {
    font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: 0.03em;
    color: var(--text-2); padding: 0.35rem 0.8rem; border: 1px solid var(--border);
    border-radius: var(--r-pill); background: var(--surface);
}
.cap-chip b { color: var(--accent-use); font-weight: 600; }

/* AEO demo card — "how a practice appears in AI search" */
.aeo-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg); overflow: hidden;
}
.aeo-card__bar { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-3) var(--s-5); border-bottom: 1px solid var(--hairline); font-family: var(--font-mono); font-size: var(--t-xs); color: var(--text-3); white-space: nowrap; }
.aeo-card__dots { display: flex; gap: 5px; }
.aeo-card__dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.aeo-card__body { padding: var(--s-6); }
.aeo-q { display: flex; gap: var(--s-3); align-items: flex-start; font-size: var(--t-sm); color: var(--text-2); margin-bottom: var(--s-5); }
.aeo-q .who { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.aeo-ans { background: var(--accent-soft); border: 1px solid var(--accent-mid); border-radius: var(--r-md); padding: var(--s-5); }
.aeo-ans__tag { display: inline-flex; align-items: center; gap: var(--s-2); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-use); margin-bottom: var(--s-3); white-space: nowrap; }
.aeo-ans p { font-size: var(--t-sm); color: var(--text); line-height: 1.6; }
.aeo-ans .practice { font-weight: 700; color: var(--text); }
.aeo-meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-4); font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }
.aeo-meta span { display: inline-flex; align-items: center; gap: 5px; }
.aeo-meta .ok { color: var(--accent-use); }
.aeo-card__foot { padding: var(--s-3) var(--s-5); border-top: 1px solid var(--hairline); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--text-3); text-transform: uppercase; display: flex; align-items: center; gap: var(--s-2); white-space: nowrap; }

/* ============================================================
   Problem
============================================================ */
.problem-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--hairline); }
.problem-item { padding: var(--s-10) var(--s-8) var(--s-10) 0; border-bottom: 1px solid var(--hairline); position: relative; }
.problem-item:nth-child(odd)  { padding-right: var(--s-12); border-right: 1px solid var(--hairline); padding-left: 0; }
.problem-item:nth-child(even) { padding-left: var(--s-12); }
.problem-item .pidx { font-family: var(--font-mono); font-size: var(--t-sm); color: var(--accent-use); letter-spacing: 0.05em; }
.problem-item h3 { font-size: var(--t-xl); margin-block: var(--s-4) var(--s-3); line-height: 1.25; }
.problem-item p { font-size: var(--t-base); color: var(--text-2); }

.problem__callout { margin-top: var(--s-16); border-radius: var(--r-lg); padding: var(--s-12); background: var(--accent-soft); border: 1px solid var(--accent-mid); display: grid; grid-template-columns: auto 1fr; gap: var(--s-8); align-items: center; }
.problem__callout .mark { font-family: var(--font-display); font-size: 5rem; line-height: 0.7; color: var(--accent-use); font-style: italic; }
.problem__callout p { font-family: var(--font-display); font-style: italic; font-size: var(--t-xl); color: var(--text); line-height: 1.4; text-wrap: pretty; }

/* ============================================================
   Services / What we build
============================================================ */
.pillar { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-8); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; align-self: start; transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease); }
.pillar:hover { transform: translateY(-4px); border-color: var(--accent-mid); box-shadow: var(--shadow-lg); }
.pillar__num { font-family: var(--font-mono); font-size: var(--t-xs); color: var(--text-3); letter-spacing: 0.08em; }
.pillar__title { font-size: var(--t-xl); margin-block: var(--s-3) var(--s-2); }
.pillar__lede { font-size: var(--t-sm); color: var(--text-2); padding-bottom: var(--s-6); margin-bottom: var(--s-6); border-bottom: 1px solid var(--hairline); }

.service-list { display: flex; flex-direction: column; gap: var(--s-6); }
.service-item { display: flex; gap: var(--s-4); align-items: flex-start; }
.icon-badge { width: 40px; height: 40px; background: var(--accent-soft); border: 1px solid var(--accent-mid); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-badge svg { width: 19px; height: 19px; stroke: var(--accent-use); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-item__body { flex: 1; }
.service-item__body h4 { font-size: var(--t-base); margin-bottom: 3px; }
.service-item__benefit { font-size: var(--t-sm); font-weight: 700; color: var(--accent-use); margin-bottom: 4px; }
.service-item__desc { font-size: var(--t-sm); color: var(--text-2); line-height: 1.6; }

/* ============================================================
   Process
============================================================ */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden; }
.process-step { padding: var(--s-8); border-right: 1px solid var(--hairline); position: relative; background: var(--surface); }
.process-step:last-child { border-right: none; }
.process-step .pstep-n { font-family: var(--font-mono); font-size: var(--t-xs); color: var(--accent-use); letter-spacing: 0.1em; }
.process-step h4 { font-size: var(--t-lg); font-family: var(--font-display); font-weight: 600; margin-block: var(--s-4) var(--s-3); }
.process-step p { font-size: var(--t-sm); color: var(--text-2); }
.process-step .arrow { position: absolute; right: -10px; top: var(--s-8); width: 20px; height: 20px; color: var(--text-3); z-index: 2; background: var(--bg); border-radius: 50%; display: none; }

/* ============================================================
   Approach / trust band
============================================================ */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-6); }
.trust-item .tnum { font-family: var(--font-display); font-size: var(--t-3xl); color: var(--accent-use); line-height: 1; }
.trust-item h4 { font-size: var(--t-base); margin-block: var(--s-4) var(--s-2); }
.trust-item p { font-size: var(--t-sm); color: var(--text-2); }

/* ============================================================
   Case study / pilot
============================================================ */
.pilot-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: stretch; }
.pilot-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-10); box-shadow: var(--shadow-sm); }
.pilot-badge { display: inline-flex; align-items: center; gap: var(--s-2); background: var(--accent-soft); border: 1px solid var(--accent-mid); color: var(--accent-use); font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: 0.06em; text-transform: uppercase; padding: 0.3rem 0.75rem; border-radius: var(--r-pill); margin-bottom: var(--s-6); }
.pilot-card h3 { font-size: var(--t-2xl); margin-bottom: var(--s-4); }
.pilot-card p { color: var(--text-2); }
.pilot-card .meta { margin-top: var(--s-6); padding-top: var(--s-6); border-top: 1px solid var(--hairline); font-family: var(--font-mono); font-size: var(--t-xs); color: var(--text-3); line-height: 1.7; }

.pilot-metrics { display: flex; flex-direction: column; justify-content: center; gap: var(--s-6); background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-10); }
.metric { }
.metric .mval { font-family: var(--font-display); font-size: var(--t-4xl); color: var(--accent-use); line-height: 1; }
.metric .mlabel { font-size: var(--t-sm); color: var(--text-2); margin-top: var(--s-2); }
.metric + .metric { padding-top: var(--s-6); border-top: 1px solid var(--hairline); }
.metric .mnote { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); }

/* ============================================================
   FAQ
============================================================ */
.faq-list { max-width: 820px; margin-inline: auto; }
.faq-item { border-top: 1px solid var(--hairline); }
.faq-item:last-child { border-bottom: 1px solid var(--hairline); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s-6); padding-block: var(--s-6); cursor: pointer; font-family: var(--font-display); font-size: var(--t-lg); font-weight: 600; color: var(--text); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.4rem; font-weight: 300; color: var(--accent-use); transition: transform var(--ease); flex-shrink: 0; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding-bottom: var(--s-6); line-height: 1.75; color: var(--text-2); max-width: 62ch; }

/* ============================================================
   Contact
============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--s-16); align-items: start; }
.contact__sub { font-size: var(--t-lg); color: var(--text-2); margin-top: var(--s-5); max-width: 34em; text-wrap: pretty; }
.contact__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-8); align-items: center; }
.contact__email { font-family: var(--font-mono); font-size: var(--t-sm); color: var(--text-2); border-bottom: 1px solid var(--border); padding-bottom: 2px; transition: color var(--ease), border-color var(--ease); }
.contact__email:hover { color: var(--accent-use); border-color: var(--accent-use); }

.hours-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-8); box-shadow: var(--shadow-sm); }
.hours-card h4 { font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-bottom: var(--s-5); font-weight: 500; }
.hours-row { display: flex; justify-content: space-between; align-items: center; padding-block: var(--s-3); border-bottom: 1px solid var(--hairline); }
.hours-row:last-of-type { border-bottom: none; }
.hours-label { font-size: var(--t-sm); font-weight: 600; color: var(--text); }
.hours-time { font-family: var(--font-mono); font-size: var(--t-sm); color: var(--text-2); }
.status-indicator { display: inline-flex; align-items: center; gap: var(--s-2); font-family: var(--font-mono); font-size: var(--t-xs); font-weight: 500; letter-spacing: 0.04em; padding: 0.3rem 0.7rem; border-radius: var(--r-pill); margin-top: var(--s-5); text-transform: uppercase; }
.status-indicator--open { background: var(--accent-soft); color: var(--accent-use); border: 1px solid var(--accent-mid); }
.status-indicator--closed { background: var(--bg-3); color: var(--text-3); border: 1px solid var(--border); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.status-indicator--open .status-dot { animation: pulse 2.4s ease-in-out infinite; }

/* ============================================================
   Footer
============================================================ */
.site-footer { padding-block: var(--s-12); border-top: 1px solid var(--hairline); }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-4); align-items: center; }
.site-footer p { font-family: var(--font-mono); font-size: var(--t-xs); color: var(--text-3); line-height: 1.8; letter-spacing: 0.02em; }
.site-footer .site-logo { font-size: 1.2rem; }
.footer-locations { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); justify-content: center; flex: 1; }
.footer-locations a { font-family: var(--font-mono); font-size: var(--t-xs); color: var(--text-2); letter-spacing: 0.02em; transition: color var(--ease); }
.footer-locations a:hover { color: var(--accent-use); }

/* ============================================================
   Locations hub
============================================================ */
.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
.loc-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-8); box-shadow: var(--shadow-sm); transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease); }
.loc-card:hover { transform: translateY(-4px); border-color: var(--accent-mid); box-shadow: var(--shadow-lg); }
.loc-card__country { font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.loc-card__city { font-family: var(--font-display); font-size: var(--t-2xl); color: var(--text); margin-block: var(--s-2) var(--s-3); line-height: 1.1; }
.loc-card__suburbs { font-size: var(--t-sm); color: var(--text-2); line-height: 1.6; flex: 1; }
.loc-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--hairline); }
.loc-card__cur { font-family: var(--font-mono); font-size: var(--t-xs); color: var(--text-3); }
.loc-card__go { font-family: var(--font-mono); font-size: var(--t-xs); font-weight: 500; color: var(--accent-use); letter-spacing: 0.04em; }
@media (max-width: 980px) { .loc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .loc-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Reveal-on-scroll
============================================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
    .reveal.in { opacity: 1; transform: none; }
}

/* ============================================================
   Responsive
============================================================ */
@media (max-width: 980px) {
    :root { --t-5xl: 3.25rem; --t-4xl: 2.75rem; --t-3xl: 2.25rem; }
    .hero-grid { grid-template-columns: 1fr; gap: var(--s-12); }
    .contact-grid { grid-template-columns: 1fr; gap: var(--s-10); }
    .grid-3 { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .process-step:nth-child(2) { border-right: none; }
    .process-step:nth-child(-n+2) { border-bottom: 1px solid var(--hairline); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-8); }
    .pilot-wrap { grid-template-columns: 1fr; }
    .header-nav .navlink { display: none; }
}

@media (max-width: 640px) {
    :root { --pad: 1.25rem; --s-32: 5rem; --s-24: 4rem; --t-5xl: 2.6rem; --t-3xl: 2rem; }
    .problem-list { grid-template-columns: 1fr; }
    .problem-item:nth-child(odd) { border-right: none; padding-right: 0; }
    .problem-item:nth-child(even) { padding-left: 0; }
    .problem__callout { grid-template-columns: 1fr; gap: var(--s-4); padding: var(--s-8); }
    .problem__callout .mark { font-size: 3rem; }
    .process-grid { grid-template-columns: 1fr; }
    .process-step { border-right: none; border-bottom: 1px solid var(--hairline); }
    .process-step:last-child { border-bottom: none; }
    .trust-grid { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .site-header .btn--header { display: none; }
}


/* ============================================================
   Reviews
============================================================ */
.reviews-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--s-16); align-items: start; margin-bottom: var(--s-16); }
.reviews-intro h3 { font-family: var(--font-display); font-size: var(--t-xl); margin-bottom: var(--s-4); }
.reviews-why { display: flex; flex-direction: column; gap: var(--s-5); margin-top: var(--s-6); }
.reviews-why li { display: flex; gap: var(--s-4); font-size: var(--t-base); color: var(--text-2); line-height: 1.6; }
.reviews-why .n { font-family: var(--font-mono); font-size: var(--t-sm); color: var(--accent-use); flex-shrink: 0; }
.review-form-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-10); box-shadow: var(--shadow-sm); }
.review-form { display: flex; flex-direction: column; gap: var(--s-5); }
.review-field { display: flex; flex-direction: column; gap: var(--s-2); }
.review-label { font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.review-form input[type="text"], .review-form textarea { font-family: var(--font-body); font-size: var(--t-base); color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 0.7rem 0.85rem; width: 100%; transition: border-color var(--ease); }
.review-form input[type="text"]:focus, .review-form textarea:focus { outline: none; border-color: var(--accent-use); }
.review-form textarea { resize: vertical; line-height: 1.6; }
.star-input { display: flex; gap: var(--s-1); }
.star-input button { font-size: 1.7rem; line-height: 1; background: none; border: none; cursor: pointer; color: var(--border); padding: 0 2px; transition: color var(--ease), transform var(--ease); }
.star-input button.on { color: var(--accent-use); }
.star-input button:hover { transform: scale(1.12); }
.review-status { font-family: var(--font-mono); font-size: var(--t-xs); color: var(--text-3); align-self: center; }
.review-thanks { background: var(--accent-soft); border: 1px solid var(--accent-mid); border-radius: var(--r-lg); padding: var(--s-12) var(--s-10); text-align: center; }
.review-thanks h3 { font-family: var(--font-display); font-size: var(--t-2xl); margin-bottom: var(--s-3); }
.review-thanks p { color: var(--text-2); margin-bottom: var(--s-6); max-width: 38ch; margin-inline: auto; }
.reviews-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
.review-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-8); box-shadow: var(--shadow-sm); }
.review-card .review-stars { color: var(--accent-use); font-size: var(--t-base); letter-spacing: 3px; margin-bottom: var(--s-4); }
.review-card blockquote { font-family: var(--font-display); font-style: italic; font-size: var(--t-lg); color: var(--text); line-height: 1.4; margin-bottom: var(--s-5); text-wrap: pretty; }
.review-card .review-by { font-size: var(--t-sm); font-weight: 700; color: var(--text); }
.review-card .review-meta { font-family: var(--font-mono); font-size: var(--t-xs); color: var(--text-3); margin-top: 2px; }
.review-card--empty { grid-column: 1 / -1; text-align: center; color: var(--text-3); border-style: dashed; font-family: var(--font-display); font-style: italic; font-size: var(--t-lg); }
@media (max-width: 980px) { .reviews-layout { grid-template-columns: 1fr; gap: var(--s-10); } .reviews-wall { grid-template-columns: 1fr; } }


/* Low-rating private follow-up */
.review-followup { display: flex; flex-direction: column; gap: var(--s-5); padding: var(--s-6); border: 1px dashed var(--accent-mid); border-radius: var(--r-md); background: var(--accent-soft); }
.review-followup[hidden] { display: none; }
.review-followup__note { font-size: var(--t-sm); color: var(--text-2); line-height: 1.6; }
.review-followup .review-label { color: var(--text-2); }
.issue-chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.issue-chip { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-sm); color: var(--text-2); border: 1px solid var(--border); background: var(--surface); border-radius: var(--r-pill); padding: 0.35rem 0.75rem; cursor: pointer; transition: border-color var(--ease), color var(--ease); }
.issue-chip input { accent-color: var(--accent-use); margin: 0; }
.issue-chip:has(input:checked) { border-color: var(--accent-use); color: var(--text); }


/* Reviews — homepage CTA + narrow container for the review page */
.reviews-cta { text-align: center; margin-top: var(--s-12); font-size: var(--t-lg); color: var(--text-2); }
.reviews-cta a { color: var(--accent-use); font-weight: 700; border-bottom: 1px solid var(--accent-mid); padding-bottom: 2px; transition: border-color var(--ease); }
.reviews-cta a:hover { border-color: var(--accent-use); }
.container--narrow { max-width: 760px; }
.review-page-head { text-align: center; margin-bottom: var(--s-12); }
.review-page-head h1 { font-size: var(--t-4xl); margin-block: var(--s-4) var(--s-5); line-height: 1.06; }
.review-page-head p { font-size: var(--t-lg); color: var(--text-2); max-width: 48ch; margin-inline: auto; text-wrap: pretty; }
.review-back { font-family: var(--font-mono); font-size: var(--t-sm); color: var(--text-2); }
.review-back:hover { color: var(--accent-use); }
