/* =============================================================
   ScaleOpx — editorial refresh
   A single-pass stylesheet. Warm ink + cream + terracotta,
   Fraunces display over Hanken Grotesk body. Drop-in replacement:
   every selector from the original is preserved, only the
   aesthetics change. No markup or JS edits required.
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Hanken+Grotesk:wght@400;500;600;700;800&display=swap');

/* ----------------------------------------------------------------
   Design tokens
   ---------------------------------------------------------------- */
:root {
    /* Warm dark — used for dark sections / site chrome */
    --ink:        #1d1a15;
    --ink-2:      #262119;   /* raised surface on dark */
    --ink-3:      #312a20;   /* hover surface on dark */
    --ink-4:      #15120e;   /* footer / deepest */

    /* Warm light — used for cream sections */
    --paper:      #f4eee2;   /* light section background */
    --paper-2:    #ece3d3;   /* raised surface on light */
    --paper-3:    #fbf7ef;   /* card surface on light (near white, warm) */

    /* Accent — refined terracotta, used with restraint */
    --accent:       #bd6a30;
    --accent-deep:  #9c5223;
    --accent-ink:   #8a4a1f;  /* accent legible on cream */
    --accent-tint:  rgba(189, 106, 48, 0.12);

    /* Text */
    --text:        #8a4a1f;   /* on dark */
    --muted:       #a99d89;   /* on dark */
    --text-dark:   #2a241b;   /* on light */
    --muted-dark:  #6d6353;   /* on light */

    /* Lines */
    --line:        rgba(242, 235, 221, 0.13);
    --line-strong: rgba(242, 235, 221, 0.22);
    --line-dark:   rgba(29, 26, 21, 0.12);
    --line-dark-strong: rgba(29, 26, 21, 0.2);

    /* Shadows — soft, warm, monochrome (no coloured glow) */
    --shadow-sm:  0 1px 2px rgba(24, 18, 10, 0.06), 0 3px 8px rgba(24, 18, 10, 0.05);
    --shadow:     0 1px 2px rgba(24, 18, 10, 0.06), 0 16px 38px rgba(24, 18, 10, 0.10);
    --shadow-lg:  0 2px 5px rgba(24, 18, 10, 0.07), 0 30px 64px rgba(24, 18, 10, 0.16);
    --shadow-soft: var(--shadow);

    /* Radii — architectural, not bubbly */
    --radius-xl: 20px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 10px;
    --pill: 999px;

    /* Type */
    --font-display: "Fraunces", "Hoefler Text", Georgia, "Times New Roman", serif;
    --font-sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

    --container: 1180px;
    --header-height: 80px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

    /* Legacy aliases kept so nothing referencing old names breaks */
    --bg: var(--ink);
    --bg-soft: var(--ink-2);
    --bg-card: var(--ink-2);
    --bg-card-strong: var(--ink-3);
    --surface: var(--paper-3);
    --surface-soft: var(--paper);
    --surface-muted: var(--paper-2);
    --primary: var(--accent);
    --primary-strong: var(--accent-deep);
    --secondary: var(--ink-2);
    --mint: #6f7a59;
    --amber: #b3823a;
    --danger: #b1463c;

    color-scheme: dark;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 104px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--ink);
    color: var(--text);
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.62;
    letter-spacing: 0.005em;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

/* Faint film grain for tactility — sits above everything, harmless */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.035;
    mix-blend-mode: soft-light;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

::selection { color: #fffaf2; background: var(--accent); }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

.section-padding { padding: 120px 0; }

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    transform: translateY(-180%);
    padding: 11px 16px;
    border-radius: var(--radius-sm);
    background: var(--paper-3);
    color: var(--text-dark);
    font-weight: 700;
    box-shadow: var(--shadow);
    transition: transform 180ms var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* ----------------------------------------------------------------
   Typography
   ---------------------------------------------------------------- */
h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.015em;
    color: var(--text);
}

h1 {
    max-width: 16ch;
    margin-bottom: 22px;
    font-size: clamp(2.7rem, 5.4vw, 4.6rem);
    font-weight: 460;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(2.05rem, 4vw, 3.3rem);
    font-weight: 480;
}

h3 {
    font-size: clamp(1.25rem, 1.9vw, 1.6rem);
    font-weight: 540;
    letter-spacing: -0.01em;
}

p { color: var(--muted); }

/* Editorial eyebrow — a tracked label preceded by a short rule */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    margin-bottom: 20px;
    padding: 0;
    border: 0;
    background: none;
    color: #d99a5e;
    font-family: var(--font-sans);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    border-radius: 0;
    background: currentColor;
    box-shadow: none;
    opacity: 0.65;
}

/* ----------------------------------------------------------------
   Buttons
   ---------------------------------------------------------------- */
.btn {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.96rem;
    letter-spacing: 0.005em;
    transition: transform 220ms var(--ease), box-shadow 220ms var(--ease),
                background 220ms var(--ease), border-color 220ms var(--ease), color 220ms var(--ease);
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }

.btn-primary {
    color: #fffaf2;
    background: var(--accent);
    box-shadow: var(--shadow-sm);
}
.btn-primary::after { content: none; }
.btn-primary:hover, .btn-primary:focus-visible {
    background: var(--accent-deep);
    box-shadow: var(--shadow);
}

.btn-secondary {
    border-color: var(--line-strong);
    color: var(--text);
    background: transparent;
    backdrop-filter: none;
}
.btn-secondary:hover, .btn-secondary:focus-visible {
    border-color: var(--accent);
    background: var(--accent-tint);
}

.btn-full { width: 100%; }

/* ----------------------------------------------------------------
   Header / navigation
   ---------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--line);
    background: rgba(29, 26, 21, 0.82);
    backdrop-filter: blur(18px);
    transition: box-shadow 240ms var(--ease), background 240ms var(--ease), border-color 240ms var(--ease);
}
.site-header.is-scrolled {
    background: rgba(21, 18, 14, 0.94);
    border-bottom-color: var(--line-strong);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.header-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-height);
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    flex: 0 0 auto;
}
.brand-mark {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 11px;
    background: var(--accent);
    box-shadow: none;
}
.brand-mark svg { width: 26px; height: 26px; fill: #fffaf2; }

.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong {
    font-family: var(--font-display);
    font-weight: 560;
    font-size: 1.18rem;
    letter-spacing: -0.01em;
}
.brand-copy small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.primary-nav { display: flex; align-items: center; gap: 22px; }
.nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0; padding: 0;
    list-style: none;
}
.nav-item { position: relative; }
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    color: rgba(242, 235, 221, 0.74);
    font-size: 0.92rem;
    font-weight: 600;
    transition: color 180ms var(--ease), background 180ms var(--ease);
}
.nav-link:hover, .nav-link:focus-visible, .nav-link.is-active {
    color: var(--text);
    background: rgba(242, 235, 221, 0.07);
}
.chevron { color: var(--accent); font-size: 0.78rem; }

.dropdown-panel {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    width: 280px;
    padding: 10px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px) scale(0.99);
    transform-origin: top;
    background: var(--ink-2);
    box-shadow: var(--shadow-lg);
    transition: opacity 180ms var(--ease), transform 180ms var(--ease), visibility 180ms var(--ease);
}
.has-dropdown:hover .dropdown-panel,
.has-dropdown:focus-within .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0) scale(1);
}
.dropdown-panel::before {
    content: "";
    position: absolute;
    top: -18px; left: 0;
    width: 100%; height: 18px;
}
.dropdown-panel a {
    display: grid;
    gap: 3px;
    padding: 13px 14px;
    border-radius: var(--radius-md);
    color: var(--text);
    font-weight: 600;
    transition: background 180ms var(--ease), transform 180ms var(--ease);
}
.dropdown-panel a:hover, .dropdown-panel a:focus-visible {
    transform: translateX(3px);
    background: rgba(242, 235, 221, 0.06);
}
.dropdown-panel small { color: var(--muted); font-weight: 500; }

.nav-cta {
    min-height: 46px;
    padding-inline: 20px;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    width: 48px; height: 48px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    background: rgba(242, 235, 221, 0.06);
}
.nav-toggle-line {
    display: block;
    width: 20px; height: 2px;
    margin: 4px auto;
    border-radius: var(--pill);
    background: var(--text);
    transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ----------------------------------------------------------------
   Hero (homepage, solid editorial variant)
   ---------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: auto;
    padding: 104px 0 92px;
    display: grid;
    align-items: center;
    background:
        radial-gradient(120% 120% at 88% 0%, rgba(189, 106, 48, 0.07), transparent 55%),
        linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
    overflow: hidden;
}
.hero::before, .hero-orb { display: none; }

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
    align-items: center;
    gap: 60px;
}
.hero-copy { max-width: 680px; }

.hero-lede {
    max-width: 580px;
    margin-bottom: 28px;
    color: #d6cdbd;
    font-size: clamp(1.05rem, 1.45vw, 1.22rem);
    line-height: 1.62;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 26px;
}

/* legacy stat row — hidden in this layout, kept for safety */
.hero-highlights, .dashboard-shell { display: none; }
.hero-highlights div, .hero-highlights strong, .hero-highlights span { all: unset; }

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 640px;
}
.hero-points span {
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: var(--pill);
    color: #e6ddcd;
    background: rgba(242, 235, 221, 0.04);
    font-size: 0.86rem;
    font-weight: 600;
}

.hero-visual { perspective: 1200px; }

/* ----------------------------------------------------------------
   Service console (hero visual)
   ---------------------------------------------------------------- */
.service-console {
    position: relative;
    padding: 18px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-xl);
    background: var(--ink-2);
    box-shadow: var(--shadow-lg);
    transform-style: preserve-3d;
}
.console-header, .console-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.console-header {
    padding: 8px 6px 18px;
    border-bottom: 1px solid var(--line);
}
.console-header span {
    color: #d6cdbd;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.console-header strong {
    padding: 6px 11px;
    border-radius: var(--pill);
    color: #fffaf2;
    background: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.console-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 18px 0;
}
.console-services article {
    min-height: 184px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--ink);
    transition: transform 260ms var(--ease), border-color 260ms var(--ease), background 260ms var(--ease);
}
.console-services article:hover, .console-services article:focus-within {
    transform: translateY(-4px);
    border-color: rgba(189, 106, 48, 0.5);
    background: var(--ink-3);
}
.console-services article > span {
    display: inline-grid;
    place-items: center;
    width: 34px; height: 34px;
    margin-bottom: 18px;
    border-radius: 10px;
    color: var(--accent);
    background: var(--accent-tint);
    font-size: 0.8rem;
    font-weight: 700;
}
.console-services h3 {
    margin-bottom: 8px;
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
}
.console-services p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.console-bottom {
    padding: 18px;
    border-radius: var(--radius-lg);
    background: var(--paper-3);
    color: var(--text-dark);
}
.console-bottom strong, .console-bottom span { display: block; }
.console-bottom strong {
    margin-bottom: 3px;
    color: var(--text-dark);
    font-family: var(--font-display);
    font-weight: 560;
    font-size: 1.05rem;
}
.console-bottom span { color: var(--muted-dark); font-size: 0.9rem; }
.console-bottom a {
    display: inline-grid;
    place-items: center;
    min-width: 76px;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    color: #fffaf2;
    background: var(--accent);
    font-weight: 700;
    transition: background 200ms var(--ease);
}
.console-bottom a:hover { background: var(--accent-deep); }

/* ----------------------------------------------------------------
   Trust strip
   ---------------------------------------------------------------- */
.trust-strip {
    border-block: 1px solid var(--line);
    background: var(--ink-2);
}
.trust-grid {
    display: grid;
    grid-template-columns: 0.6fr repeat(5, 1fr);
    align-items: center;
    min-height: 92px;
    gap: 14px;
}
.trust-grid span {
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.trust-grid strong {
    display: grid;
    place-items: center;
    min-height: 46px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--pill);
    color: #ded4c4;
    background: var(--ink);
    font-size: 0.88rem;
    font-weight: 600;
    text-align: center;
}

/* ----------------------------------------------------------------
   Shared grids + section headers
   ---------------------------------------------------------------- */
.split-grid, .engine-grid, .results-grid, .preview-grid, .faq-grid, .cta-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 60px;
    align-items: start;
}

.section-copy p, .section-header p, .cta-copy p {
    max-width: 60ch;
    font-size: 1.06rem;
    line-height: 1.65;
}
.section-header { max-width: 820px; margin-bottom: 48px; }
.section-header.center { margin-inline: auto; text-align: center; }
.section-header.center .eyebrow { margin-inline: auto; }

/* ----------------------------------------------------------------
   Problem section
   ---------------------------------------------------------------- */
.problem-section { background: var(--ink); }
.problem-cards { display: grid; gap: 14px; }
.problem-cards article {
    position: relative;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--ink-2);
    overflow: hidden;
}
.problem-cards article::after { content: none; }
.problem-cards span {
    display: inline-grid;
    place-items: center;
    width: 42px; height: 42px;
    margin-bottom: 18px;
    border-radius: 12px;
    color: var(--accent);
    background: var(--accent-tint);
    font-family: var(--font-display);
    font-weight: 600;
}
.problem-cards h3, .problem-cards p { position: relative; z-index: 1; }
.problem-cards h3 { margin-bottom: 10px; }
.problem-cards p { margin-bottom: 0; color: var(--muted); }

/* ----------------------------------------------------------------
   Services section (cream)
   ---------------------------------------------------------------- */
.services-section { position: relative; background: var(--paper); color: var(--text-dark); }
.services-section::before { display: none; }
.services-section p, .services-section .section-header p { color: var(--muted-dark); }
.services-section .eyebrow { color: var(--accent-ink); }

.service-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.service-card {
    position: relative;
    min-height: 100%;
    padding: 26px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    background: var(--paper-3);
    box-shadow: none;
    overflow: hidden;
    transition: transform 260ms var(--ease), border-color 260ms var(--ease), box-shadow 260ms var(--ease);
}
.service-card::before { display: none; }
.service-card:hover, .service-card:focus-within {
    transform: translateY(-6px);
    border-color: rgba(189, 106, 48, 0.45);
    box-shadow: var(--shadow);
}
.service-card > * { position: relative; z-index: 1; }
.service-icon {
    display: grid;
    place-items: center;
    width: 54px; height: 54px;
    margin-bottom: 22px;
    border-radius: 14px;
    color: var(--accent);
    background: var(--accent-tint);
    font-family: var(--font-display);
    font-weight: 600;
}
.service-card.accent-violet .service-icon,
.service-card.accent-mint .service-icon,
.service-card.accent-amber .service-icon {
    color: var(--accent);
    background: var(--accent-tint);
}
.service-card > span {
    display: block;
    margin-bottom: 8px;
    color: var(--accent-ink);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.service-card h3 { margin-bottom: 12px; color: var(--text-dark); }
.service-card p { margin-bottom: 22px; color: var(--muted-dark); font-size: 0.94rem; }
.service-card ul { display: grid; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }
.service-card li {
    position: relative;
    padding-left: 22px;
    color: var(--muted-dark);
    font-size: 0.92rem;
    font-weight: 500;
}
.service-card li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.62em;
    width: 7px; height: 7px;
    border-radius: var(--pill);
    background: var(--accent);
}
.service-card a {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: var(--accent-ink);
    font-weight: 700;
}

/* ----------------------------------------------------------------
   Engine / kanban board
   ---------------------------------------------------------------- */
.engine-section { background: var(--ink); }
.engine-grid { grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); }
.engine-board {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--ink-2);
    box-shadow: var(--shadow-lg);
}
.board-column {
    display: grid;
    align-content: start;
    gap: 12px;
    min-height: 330px;
    padding: 16px;
    border-radius: var(--radius-lg);
    background: var(--ink);
}
.board-column > span {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.board-item {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    color: #e3d9c9;
    background: var(--ink-2);
    font-size: 0.92rem;
    font-weight: 600;
}
.board-item.active {
    border-color: var(--accent);
    color: #fffaf2;
    background: var(--accent);
    box-shadow: none;
}

.feature-list { display: grid; gap: 16px; margin-top: 28px; }
.feature-list div {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--ink-2);
}
.feature-list strong {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-display);
    font-weight: 560;
    font-size: 1.08rem;
}
.feature-list span { display: block; color: var(--muted); }

/* ----------------------------------------------------------------
   Timeline
   ---------------------------------------------------------------- */
.timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.timeline article {
    position: relative;
    min-height: 280px;
    padding: 26px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    background: var(--paper-3);
    overflow: hidden;
}
.timeline article::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: var(--accent);
}
.timeline span {
    display: block;
    margin-bottom: 54px;
    color: var(--accent-ink);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 560;
    letter-spacing: 0;
}
.timeline h3 { margin-bottom: 12px; color: var(--text-dark); }
.timeline p { margin-bottom: 0; color: var(--muted-dark); font-size: 0.94rem; }

/* ----------------------------------------------------------------
   Results / metrics (dark)
   ---------------------------------------------------------------- */
.results-section { background: var(--ink); color: var(--text); }
.results-section p, .results-section .section-copy p { color: var(--muted); }
.results-section .eyebrow, .comparison-section .eyebrow { color: #d99a5e; }

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.metrics-grid article {
    min-height: 250px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--ink-2);
    box-shadow: none;
}
.metric-value {
    display: block;
    margin-bottom: 14px;
    color: var(--accent);
    font-family: var(--font-display);
    font-weight: 480;
    font-size: clamp(3rem, 6vw, 4.8rem);
    line-height: 1;
    letter-spacing: -0.02em;
}
.metrics-grid span {
    display: block;
    margin-bottom: 14px;
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 560;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
}
.metrics-grid p { margin-bottom: 0; color: var(--muted); font-size: 0.94rem; }

/* Outcome grid (variant used on some pages) */
.outcome-grid article {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--ink-2);
    box-shadow: none;
}
.outcome-grid article strong {
    display: inline-grid;
    place-items: center;
    width: 48px; height: 48px;
    margin-bottom: 18px;
    border-radius: 14px;
    color: var(--accent);
    background: var(--accent-tint);
    font-family: var(--font-display);
    font-size: 0.95rem;
}
.outcome-grid article span {
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 560;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
    text-transform: none;
}
.outcome-grid article p { color: var(--muted); }

/* ----------------------------------------------------------------
   Content preview marquee
   ---------------------------------------------------------------- */
.content-preview { position: relative; overflow: hidden; }
.marquee-panel {
    display: grid;
    gap: 14px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--ink-2);
    overflow: hidden;
}
.marquee-row {
    display: flex;
    width: max-content;
    gap: 12px;
    animation: marquee 26s linear infinite;
}
.marquee-row.reverse { animation-direction: reverse; animation-duration: 30s; }
.marquee-row span {
    min-width: max-content;
    padding: 13px 18px;
    border: 1px solid var(--line);
    border-radius: var(--pill);
    color: #e3d9c9;
    background: var(--ink);
    font-weight: 600;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ----------------------------------------------------------------
   Comparison table (cream)
   ---------------------------------------------------------------- */
.comparison-section { background: var(--paper); color: var(--text-dark); }
.comparison-section .section-header p { color: var(--muted-dark); }
.comparison-table {
    max-width: 980px;
    margin-inline: auto;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    background: var(--paper-3);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.comparison-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.comparison-row + .comparison-row { border-top: 1px solid var(--line-dark); }
.comparison-row span, .comparison-row strong { padding: 22px 26px; }
.comparison-row span {
    color: var(--muted-dark);
    background: var(--paper);
    font-weight: 500;
}
.comparison-row strong {
    color: var(--text-dark);
    background: var(--accent-tint);
    font-weight: 700;
}
.comparison-head span {
    color: var(--text-dark);
    background: var(--paper-2);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* Use-case grid (cream) */
.use-case-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.use-case-grid article {
    min-height: 250px;
    padding: 26px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    background: var(--paper-3);
    transition: transform 260ms var(--ease), border-color 260ms var(--ease), box-shadow 260ms var(--ease);
}
.use-case-grid article:hover, .use-case-grid article:focus-within {
    transform: translateY(-6px);
    border-color: rgba(189, 106, 48, 0.45);
    box-shadow: var(--shadow);
}
.use-case-grid h3 { color: var(--text-dark); }

/* ----------------------------------------------------------------
   FAQ accordion
   ---------------------------------------------------------------- */
.faq-section { background: var(--ink); }
.faq-section .section-copy p { color: var(--muted); }
.accordion { display: grid; gap: 12px; }
.accordion-item {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--ink-2);
    overflow: hidden;
    transition: border-color 200ms var(--ease);
}
.accordion-item:hover { border-color: var(--line-strong); }
.accordion-item button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 18px;
    padding: 22px;
    border: 0;
    color: var(--text);
    background: transparent;
    text-align: left;
    font-family: var(--font-display);
    font-weight: 540;
    font-size: 1.05rem;
}
.accordion-item button span {
    position: relative;
    width: 22px; height: 22px;
    flex: 0 0 auto;
    border-radius: var(--pill);
    background: var(--accent-tint);
}
.accordion-item button span::before,
.accordion-item button span::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: 10px; height: 2px;
    border-radius: var(--pill);
    background: var(--accent);
    transform: translate(-50%, -50%);
    transition: transform 200ms var(--ease);
}
.accordion-item button span::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion-item button[aria-expanded="true"] span::after { transform: translate(-50%, -50%) rotate(0); }
.accordion-panel { padding: 0 22px 22px; }
.accordion-panel p { margin-bottom: 0; color: var(--muted); }

/* ----------------------------------------------------------------
   CTA
   ---------------------------------------------------------------- */
.cta-section { position: relative; background: var(--ink); overflow: hidden; }
.cta-section::before { display: none; }
.cta-grid { position: relative; align-items: center; }
.cta-copy h2 { font-size: clamp(2.3rem, 4.5vw, 3.8rem); }
.cta-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.cta-badges span {
    padding: 10px 15px;
    border: 1px solid var(--line);
    border-radius: var(--pill);
    color: #ded4c4;
    background: var(--ink-2);
    font-weight: 600;
}

/* ----------------------------------------------------------------
   Forms
   ---------------------------------------------------------------- */
.lead-form {
    position: relative;
    padding: 30px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-xl);
    background: var(--ink-2);
    box-shadow: var(--shadow-lg);
    backdrop-filter: none;
}
.glass-form::before { display: none; }
.form-heading h3 {
    margin-bottom: 8px;
    font-size: clamp(1.55rem, 3vw, 2.1rem);
}
.form-heading p { margin-bottom: 24px; color: var(--muted); font-size: 0.98rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid label { display: grid; gap: 8px; }
.form-grid span { color: #efe6d6; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.01em; }
.form-wide { grid-column: 1 / -1; }

input, select, textarea {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    outline: none;
    color: var(--text);
    background: var(--ink);
    transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}
input, select { padding: 0 16px; }
textarea { min-height: 124px; padding: 14px 16px; resize: vertical; }

select {
    appearance: none;
    padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23bd6a30' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
}

input::placeholder, textarea::placeholder { color: rgba(242, 235, 221, 0.42); }
input:focus, select:focus, textarea:focus {
    border-color: rgba(189, 106, 48, 0.7);
    background: var(--ink);
    box-shadow: 0 0 0 4px var(--accent-tint);
}
input.is-invalid, select.is-invalid, textarea.is-invalid {
    border-color: rgba(177, 70, 60, 0.85);
    box-shadow: 0 0 0 4px rgba(177, 70, 60, 0.12);
}

.lead-form .btn-full { margin-top: 16px; }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: 0.86rem; text-align: center; }
.form-status { margin-top: 14px; padding: 0; border-radius: var(--radius-md); font-size: 0.92rem; font-weight: 700; }
.form-status:not(:empty) { padding: 12px 14px; }
.form-status.is-success { color: #fffaf2; background: #5a7242; }
.form-status.is-error { color: #fffaf2; background: var(--danger); }

.hp-field {
    position: absolute !important;
    width: 1px !important; height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

/* ----------------------------------------------------------------
   Footer
   ---------------------------------------------------------------- */
.site-footer {
    position: relative;
    padding: 84px 0 26px;
    border-top: 1px solid var(--line);
    background: var(--ink-4);
    overflow: hidden;
}
.footer-glow { display: none; }
.footer-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 36px;
}
.footer-brand p { max-width: 410px; margin: 18px 0 22px; color: var(--muted); }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
    display: grid;
    place-items: center;
    width: 42px; height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    color: var(--accent);
    background: var(--ink-2);
    font-weight: 700;
    transition: transform 180ms var(--ease), border-color 180ms var(--ease);
}
.footer-socials a:hover, .footer-socials a:focus-visible {
    transform: translateY(-3px);
    border-color: var(--accent);
}
.footer-column h2 {
    margin: 0 0 16px;
    font-family: var(--font-sans);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text);
}
.footer-column ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-column a { color: var(--muted); transition: color 180ms var(--ease); }
.footer-column a:hover, .footer-column a:focus-visible { color: #d99a5e; }
.footer-contact-card {
    display: grid;
    gap: 4px;
    margin-top: 22px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--ink-2);
}
.footer-contact-card span { color: var(--muted); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-contact-card a { color: var(--text); font-weight: 700; }
.footer-bottom {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.footer-bottom p { margin: 0; color: var(--muted); font-size: 0.88rem; }

/* ----------------------------------------------------------------
   Scroll reveal
   ---------------------------------------------------------------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 720ms var(--ease), transform 720ms var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ----------------------------------------------------------------
   Simple / generic pages
   ---------------------------------------------------------------- */
.simple-page { background: var(--paper); color: var(--text-dark); }
.simple-page .site-header, .simple-page .site-footer { color: var(--text); }

.page-hero {
    padding: 100px 0 56px;
    background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
    color: var(--text);
}
.page-hero p { max-width: 760px; color: #d6cdbd; font-size: 1.1rem; }

.placeholder-section { padding: 88px 0; color: var(--text-dark); }
.placeholder-card {
    max-width: 920px;
    padding: 36px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-xl);
    background: var(--paper-3);
    box-shadow: var(--shadow);
}
.placeholder-card p { color: var(--muted-dark); }
.placeholder-card ul { display: grid; gap: 10px; margin: 22px 0 28px; padding-left: 20px; color: var(--muted-dark); }

/* ================================================================
   SERVICE DETAIL PAGE
   ================================================================ */
.service-detail-page { background: var(--ink); }

.service-hero {
    position: relative;
    overflow: hidden;
    padding: 104px 0 92px;
    background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}
.service-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, var(--line) 1px, transparent 1px),
        linear-gradient(var(--line) 1px, transparent 1px);
    background-size: 78px 78px;
    opacity: 0.4;
    mask-image: linear-gradient(to bottom, black 0%, transparent 78%);
}
.service-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
    gap: 60px;
    align-items: center;
}
.service-hero-copy h1 {
    max-width: 18ch;
    margin-bottom: 22px;
    font-size: clamp(2.6rem, 5.6vw, 4.9rem);
}
.service-hero-intro {
    max-width: 660px;
    margin-bottom: 28px;
    color: #d6cdbd;
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    line-height: 1.62;
}
.service-hero-points { display: flex; flex-wrap: wrap; gap: 10px; max-width: 720px; }
.service-hero-points span {
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: var(--pill);
    color: #e6ddcd;
    background: rgba(242, 235, 221, 0.04);
    font-size: 0.86rem;
    font-weight: 600;
}

.website-hero-card {
    padding: 18px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-xl);
    background: var(--ink-2);
    box-shadow: var(--shadow-lg);
    transform-style: preserve-3d;
}
.blueprint-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 6px 18px;
}
.blueprint-topline span {
    color: #d6cdbd;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.blueprint-topline strong {
    padding: 6px 11px;
    border-radius: var(--pill);
    color: #fffaf2;
    background: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}
.blueprint-window {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--ink-4);
}
.browser-dots {
    display: flex;
    gap: 7px;
    padding: 16px;
    border-bottom: 1px solid var(--line);
}
.browser-dots span { width: 9px; height: 9px; border-radius: var(--pill); background: var(--accent); }
.browser-dots span:nth-child(2) { background: #d6cdbd; }
.browser-dots span:nth-child(3) { background: #5a7242; }
.blueprint-preview { padding: 22px; }
.preview-hero-block, .preview-line, .preview-grid span { border-radius: var(--pill); background: #ede3d3; }
.preview-hero-block {
    width: 62%; height: 70px;
    margin-bottom: 16px;
    border-radius: var(--radius-md);
    background: var(--accent);
}
.preview-line { width: 72%; height: 11px; margin-bottom: 10px; opacity: 0.8; }
.preview-line.wide { width: 92%; }
.preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.preview-grid span { height: 80px; border-radius: var(--radius-md); background: var(--ink-2); }

.blueprint-list { display: grid; gap: 10px; margin-top: 14px; }
.blueprint-list div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--ink);
}
.blueprint-list span {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 34px; height: 34px;
    border-radius: 10px;
    color: var(--accent);
    background: var(--accent-tint);
    font-size: 0.78rem;
    font-weight: 700;
}
.blueprint-list strong { color: var(--text); line-height: 1.3; font-weight: 600; }

.service-strip { border-block: 1px solid var(--line); background: var(--ink-2); }
.service-strip-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px 0;
}
.service-strip-grid span {
    color: var(--muted);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.78rem;
}
.service-strip-grid strong {
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: var(--pill);
    color: #ded4c4;
    background: var(--ink);
    font-size: 0.88rem;
    font-weight: 600;
}

.service-section { padding: 120px 0; }
.service-section.dark { background: var(--ink); color: var(--text); }
.service-section.light, .service-section.cream { background: var(--paper); color: var(--text-dark); }
.service-section.light p, .service-section.cream p,
.service-section.light .section-header p, .service-section.cream .section-header p { color: var(--muted-dark); }
.service-section.light .eyebrow, .service-section.cream .eyebrow { color: var(--accent-ink); }

.service-split, .included-layout, .conversion-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 60px;
    align-items: start;
}

.conversion-cards { display: grid; gap: 16px; }
.conversion-cards article, .website-build-card, .included-grid article,
.website-package-grid article, .website-process-grid article, .conversion-checklist div {
    transition: transform 260ms var(--ease), border-color 260ms var(--ease), background 260ms var(--ease), box-shadow 260ms var(--ease);
}
.conversion-cards article {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--ink-2);
}
.conversion-cards article:hover, .conversion-cards article:focus-within {
    transform: translateY(-4px);
    border-color: rgba(189, 106, 48, 0.5);
    background: var(--ink-3);
}
.conversion-cards span {
    display: inline-grid;
    place-items: center;
    width: 42px; height: 42px;
    margin-bottom: 18px;
    border-radius: 13px;
    color: var(--accent);
    background: var(--accent-tint);
    font-size: 0.85rem;
    font-weight: 700;
}
.conversion-cards h3, .website-package-grid h3 { color: var(--text); }
.conversion-cards p, .website-package-grid p, .conversion-panel p, .conversion-checklist p { color: var(--muted); }

.website-build-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.website-build-card {
    min-height: 250px;
    padding: 30px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    background: var(--paper-3);
}
.website-build-card:hover, .website-build-card:focus-within,
.included-grid article:hover, .included-grid article:focus-within,
.website-process-grid article:hover, .website-process-grid article:focus-within {
    transform: translateY(-6px);
    border-color: rgba(189, 106, 48, 0.45);
    box-shadow: var(--shadow);
}
.website-build-card span {
    display: inline-grid;
    place-items: center;
    width: 44px; height: 44px;
    margin-bottom: 24px;
    border-radius: 13px;
    color: var(--accent);
    background: var(--accent-tint);
    font-size: 0.82rem;
    font-weight: 700;
}
.website-build-card h3, .included-grid h3, .website-process-grid h3 { color: var(--text-dark); }

.included-layout { align-items: center; }
.included-layout .section-copy .btn { margin-top: 10px; }
.included-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.included-grid article {
    min-height: 184px;
    padding: 26px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    background: var(--paper-3);
}

.website-package-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.website-package-grid article {
    display: flex;
    flex-direction: column;
    min-height: 460px;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--ink-2);
}
.website-package-grid article:hover, .website-package-grid article:focus-within {
    transform: translateY(-6px);
    border-color: rgba(189, 106, 48, 0.5);
    background: var(--ink-3);
}
.website-package-grid article.featured-package {
    border-color: rgba(189, 106, 48, 0.7);
    background: var(--ink-3);
    box-shadow: var(--shadow-lg);
}
.website-package-grid article > span {
    width: fit-content;
    margin-bottom: 22px;
    padding: 7px 12px;
    border-radius: var(--pill);
    color: var(--accent);
    background: var(--accent-tint);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.website-package-grid ul { display: grid; gap: 11px; margin: auto 0 0; padding: 0; list-style: none; }
.website-package-grid li { position: relative; padding-left: 24px; color: #e3d9c9; }
.website-package-grid li::before {
    content: "";
    position: absolute;
    top: 0.66em; left: 0;
    width: 8px; height: 8px;
    border-radius: var(--pill);
    background: var(--accent);
}

.website-process-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.website-process-grid article {
    min-height: 280px;
    padding: 26px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    background: var(--paper-3);
}
.website-process-grid span {
    display: block;
    margin-bottom: 44px;
    color: var(--accent-ink);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 560;
    letter-spacing: 0;
    text-transform: none;
}

.conversion-layout { align-items: center; }
.conversion-panel {
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--ink-2);
    box-shadow: var(--shadow-lg);
}
.conversion-checklist { display: grid; gap: 16px; }
.conversion-checklist div {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--ink-2);
}
.conversion-checklist div:hover, .conversion-checklist div:focus-within {
    transform: translateX(4px);
    border-color: rgba(189, 106, 48, 0.5);
    background: var(--ink-3);
}
.conversion-checklist strong {
    display: block;
    margin-bottom: 7px;
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 560;
    font-size: 1.08rem;
}

.service-faq .accordion-item { border-color: var(--line); background: var(--ink-2); }
.service-faq .accordion-item button { color: var(--text); }
.service-faq .accordion-panel p { color: var(--muted); }

.contact-band { background: var(--ink); }

/* ================================================================
   ABOUT / CONTACT / LEGAL + variant colour pages
   ================================================================ */
.about-page .website-build-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.about-page .website-build-card { min-height: 290px; }
.about-page .website-package-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.about-page .website-package-grid article { min-height: 430px; }

.contact-route-list { margin-top: 0; }
.contact-card-grid .website-build-card p strong { color: var(--text-dark); font-size: 1.02rem; }
.contact-process-grid article { min-height: 360px; }

.about-hero, .contact-hero, .legal-hero { padding: 108px 0 80px; }
.about-hero h1, .contact-hero h1, .legal-hero h1 { max-width: 20ch; }
.about-hero p, .contact-hero p, .legal-hero p { max-width: 820px; }
.legal-hero .service-hero-copy h1 { max-width: 22ch; font-size: clamp(2.4rem, 4.8vw, 4.4rem); }

.contact-method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.contact-method-grid article {
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding: 30px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    background: var(--paper-3);
    transition: transform 260ms var(--ease), border-color 260ms var(--ease), box-shadow 260ms var(--ease);
}
.contact-method-grid article:hover, .contact-method-grid article:focus-within {
    transform: translateY(-6px);
    border-color: rgba(189, 106, 48, 0.45);
    box-shadow: var(--shadow);
}
.contact-method-grid article > span {
    display: inline-grid;
    place-items: center;
    width: 42px; height: 42px;
    margin-bottom: 20px;
    border-radius: 13px;
    color: var(--accent);
    background: var(--accent-tint);
    font-size: 0.86rem;
    font-weight: 700;
}
.contact-method-grid h3 { color: var(--text-dark); }
.contact-method-grid p { color: var(--muted-dark); }
.contact-method-grid a { margin-top: auto; padding-top: 24px; color: var(--accent-ink); font-weight: 700; }

/* Legal — content + sidebar */
.legal-section, .legal-content-section { background: var(--paper); color: var(--text-dark); }
.legal-layout {
    display: grid;
    grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
    gap: 36px;
    align-items: start;
}
.legal-summary, .legal-document, .legal-note, .legal-content article {
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    background: var(--paper-3);
}
.legal-summary, .legal-note {
    position: sticky;
    top: 106px;
    padding: 28px;
    background: var(--paper-2);
    box-shadow: var(--shadow-soft);
}
.legal-summary h2, .legal-note h2 {
    margin-bottom: 12px;
    color: var(--text-dark);
    font-size: clamp(1.45rem, 2.1vw, 2rem);
}
.legal-summary p, .legal-note p { color: var(--muted-dark); }
.legal-note .btn { margin-top: 8px; }
.legal-summary a, .legal-document a {
    color: var(--accent-ink);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.legal-document { padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow-soft); }
.legal-document h2 {
    margin: 36px 0 10px;
    color: var(--text-dark);
    font-size: clamp(1.3rem, 2vw, 1.85rem);
    letter-spacing: -0.015em;
}
.legal-document h2:first-of-type { margin-top: 22px; }
.legal-document p, .legal-document li { color: var(--muted-dark); }
.legal-document p { margin-bottom: 16px; font-size: 1rem; line-height: 1.78; }

.legal-content { display: grid; gap: 16px; }
.legal-content article { padding: 28px; background: var(--paper-3); }
.legal-content h2 {
    margin-bottom: 12px;
    color: var(--text-dark);
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    letter-spacing: -0.015em;
}
.legal-content p { margin-bottom: 12px; color: var(--muted-dark); }
.legal-content p:last-child { margin-bottom: 0; }

.simple-page .service-problem-section, .simple-page .deliverables-section,
.simple-page .faq-section, .simple-page .cta-section { color: var(--text); }
.simple-page .service-process-section, .simple-page .service-light-section { color: var(--text-dark); }

.thank-you-card {
    max-width: 860px;
    padding: 36px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-xl);
    background: var(--paper-3);
    box-shadow: var(--shadow);
}

.page-hero { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); }
.placeholder-section, .simple-page { background: var(--paper); }
.placeholder-card { background: var(--paper-3); }

/* Per-service accent overrides — earthy siblings of the terracotta.
   Bookkeeping = sage, Virtual Assistant = gold, Social Media = rust. */
.bookkeeping-page {
    --accent: #6f7a59;
    --accent-deep: #5a6448;
    --accent-ink: #56603f;
    --accent-tint: rgba(111, 122, 89, 0.14);
}
.virtual-assistant-page {
    --accent: #b3823a;
    --accent-deep: #94692c;
    --accent-ink: #7e5b27;
    --accent-tint: rgba(179, 130, 58, 0.14);
}
.social-media-page {
    --accent: #b15f2c;
    --accent-deep: #934d22;
    --accent-ink: #82441e;
    --accent-tint: rgba(177, 95, 44, 0.14);
}
/* Original solid-fill hooks updated to follow each page's --accent */
.bookkeeping-page .preview-hero-block, .bookkeeping-page .blueprint-topline strong,
.bookkeeping-page .virtual-assistant-page, .social-media-page .preview-hero-block,
.social-media-page .blueprint-topline strong, .virtual-assistant-page .preview-hero-block,
.virtual-assistant-page .blueprint-topline strong { background: var(--accent); }

.bookkeeping-page .blueprint-list span, .bookkeeping-page .website-build-card span,
.bookkeeping-page .website-package-grid article > span, .bookkeeping-page .conversion-cards span,
.virtual-assistant-page .blueprint-list span, .virtual-assistant-page .website-build-card span,
.virtual-assistant-page .website-package-grid article > span, .virtual-assistant-page .conversion-cards span,
.social-media-page .blueprint-list span, .social-media-page .website-build-card span,
.social-media-page .website-package-grid article > span, .social-media-page .conversion-cards span {
    color: var(--accent);
    background: var(--accent-tint);
}
.bookkeeping-page .website-package-grid li::before,
.virtual-assistant-page .website-package-grid li::before,
.social-media-page .website-package-grid li::before { background: var(--accent); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1180px) {
    .about-page .website-build-grid, .about-page .website-package-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1120px) {
    .service-grid, .timeline, .use-case-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hero-grid, .split-grid, .engine-grid, .results-grid,
    .preview-grid, .faq-grid, .cta-grid,
    .service-hero-grid, .service-split, .included-layout, .conversion-layout {
        grid-template-columns: 1fr;
    }
    .hero-grid { gap: 46px; }
    .hero-copy { max-width: 840px; }
    .hero-visual, .website-hero-card { max-width: 700px; margin-inline: auto; }
    .engine-board, .website-build-grid, .website-package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .website-process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .trust-grid { grid-template-columns: repeat(3, 1fr); padding-block: 22px; }
    .trust-grid span { grid-column: 1 / -1; }
    .metrics-grid { max-width: 900px; }
}

@media (max-width: 980px) {
    :root { --header-height: 72px; }

    .nav-toggle { display: block; }

    .primary-nav {
        position: fixed;
        top: calc(var(--header-height) + 10px);
        left: 24px; right: 24px;
        display: grid;
        align-items: stretch;
        max-height: calc(100dvh - var(--header-height) - 34px);
        padding: 18px;
        border: 1px solid var(--line-strong);
        border-radius: var(--radius-xl);
        opacity: 0;
        visibility: hidden;
        overflow-y: auto;
        transform: translateY(-14px) scale(0.98);
        transform-origin: top;
        background: var(--ink-2);
        box-shadow: var(--shadow-lg);
        transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 200ms var(--ease);
    }
    body.nav-open .primary-nav { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

    .nav-list { display: grid; gap: 4px; }
    .nav-link { width: 100%; justify-content: space-between; padding: 13px 14px; }
    .dropdown-panel {
        position: static;
        width: 100%;
        margin: 6px 0 10px;
        padding: 6px;
        opacity: 1; visibility: visible;
        transform: none;
        background: rgba(242, 235, 221, 0.05);
        box-shadow: none;
    }
    .dropdown-panel::before { display: none; }
    .nav-cta { width: 100%; margin-top: 8px; }

    .contact-method-grid, .legal-layout { grid-template-columns: 1fr; }
    .legal-summary, .legal-note { position: static; }

    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .container { width: min(100% - 32px, var(--container)); }
    .section-padding, .service-section { padding: 80px 0; }

    h1 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
    h2 { font-size: clamp(1.95rem, 8vw, 2.7rem); }

    .brand-copy small { display: none; }
    .brand-mark { width: 42px; height: 42px; }

    .hero { padding: 76px 0 64px; }
    .hero-grid { gap: 34px; }
    .hero-actions, .btn { width: 100%; }
    .hero-points span, .service-hero-points span,
    .service-hero .btn, .included-layout .btn { width: 100%; }

    .hero-highlights, .console-services, .engine-board, .timeline,
    .service-grid, .metrics-grid, .form-grid, .comparison-row,
    .use-case-grid, .website-build-grid, .included-grid,
    .website-package-grid, .website-process-grid, .preview-grid {
        grid-template-columns: 1fr;
    }

    .service-console { padding: 14px; border-radius: var(--radius-lg); }
    .console-header, .console-bottom { display: grid; align-items: stretch; }
    .console-services article, .use-case-grid article,
    .website-build-card, .included-grid article,
    .website-package-grid article, .website-process-grid article,
    .contact-process-grid article { min-height: auto; }
    .website-package-grid article { padding: 24px; }
    .website-process-grid span, .timeline span { margin-bottom: 28px; }

    .about-page .website-build-grid, .about-page .website-package-grid { grid-template-columns: 1fr; }
    .about-page .website-build-card, .about-page .website-package-grid article { min-height: auto; }

    .board-column { min-height: auto; }

    .comparison-row span, .comparison-row strong { padding: 18px; }
    .comparison-head span:last-child { border-top: 1px solid var(--line-dark); }

    .lead-form { padding: 24px; border-radius: var(--radius-lg); }

    .service-hero, .service-section { padding: 72px 0; }
    .service-hero-copy h1 { font-size: clamp(2.3rem, 11vw, 3.4rem); }
    .blueprint-topline, .service-strip-grid { align-items: stretch; }
    .blueprint-topline { display: grid; }
    .preview-grid span { height: 54px; }
    .conversion-checklist div:hover, .conversion-checklist div:focus-within { transform: translateY(-4px); }

    .about-hero, .contact-hero, .legal-hero { padding: 76px 0 58px; }
    .contact-method-grid article, .legal-note, .legal-summary,
    .legal-content article, .legal-document, .thank-you-card { padding: 24px; border-radius: var(--radius-lg); }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { display: grid; }
}

@media (max-width: 480px) {
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .hero-lede, .section-copy p, .section-header p, .cta-copy p { font-size: 1rem; }
    .console-header strong, .console-bottom a,
    .blueprint-topline strong { width: fit-content; }
    .blueprint-list div { align-items: flex-start; }
    .website-hero-card, .conversion-panel { padding: 16px; border-radius: var(--radius-lg); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    [data-reveal] { opacity: 1; transform: none; }
    body::after { display: none; }
}