/* ==========================================================================
   HireBuddy home page.

   index.html referenced this file but it did not exist, so the page rendered
   as unstyled markup. Palette is taken from the colours already hard-coded in
   the hero's inline SVG (#193b32, #73917a, #ddedba) so the illustration and
   the page agree.
   ========================================================================== */

:root {
    --ink: #14231e;
    --ink-soft: #3c4f47;
    --muted: #6b7d74;
    --paper: #fbfaf7;
    --paper-warm: #f4f1ea;
    --line: #ddd8cd;
    --green-deep: #193b32;
    --sage: #73917a;
    --lime: #ddedba;
    --orange: #e2653f;
    --white: #ffffff;

    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(20, 35, 30, .05);
    --shadow: 0 2px 4px rgba(20, 35, 30, .04), 0 18px 40px -22px rgba(20, 35, 30, .3);
    --shadow-lg: 0 30px 60px -30px rgba(20, 35, 30, .35);

    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
    --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --mono: "SF Mono", ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: inherit; }

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.01em; }
p  { margin: 0 0 1rem; }

em { font-style: italic; }

.container {
    width: min(100% - 2.5rem, 1180px);
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    background: var(--green-deep);
    color: var(--white);
    padding: .75rem 1.25rem;
    border-radius: 0 0 var(--radius) 0;
    text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 250, 247, .88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .9rem 0;
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: .1rem;
    font-family: var(--serif);
    font-size: 1.22rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: var(--ink);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-right: .5rem;
    border-radius: 9px;
    background: var(--green-deep);
    color: var(--lime);
    font-size: .95rem;
    letter-spacing: -0.06em;
}
.brand-mark span { color: var(--white); }
.brand-dot { color: var(--orange); }
.nz-tag {
    margin-left: .35rem;
    font-family: var(--sans);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--muted);
    align-self: flex-start;
    padding-top: .25rem;
}

#main-nav {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}
#main-nav a {
    font-size: .93rem;
    font-weight: 500;
    color: var(--ink-soft);
    text-decoration: none;
    transition: color .2s ease;
}
#main-nav a:hover { color: var(--green-deep); }

/* The nav's link colour is #main-nav a (0,1,1), which outranks .button (0,1,0)
   and was painting the "Let's talk" button's label dark-on-dark. Restated at
   matching specificity so the button keeps its own colours inside the nav. */
#main-nav a.button { color: var(--white); }
#main-nav a.button:hover { color: var(--white); }
#main-nav a.button-outline { color: var(--green-deep); }
#main-nav a.button-outline:hover { color: var(--white); }

.menu-toggle {
    display: none;
    align-items: center;
    gap: .45rem;
    padding: .5rem .85rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
    font-size: .9rem;
    cursor: pointer;
}

/* ── Buttons & links ─────────────────────────────────────────────────────── */
.button {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 1.5rem;
    border: 1px solid var(--green-deep);
    border-radius: 999px;
    background: var(--green-deep);
    color: var(--white);
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
    background: #102b24;
}

.button-outline {
    background: transparent;
    color: var(--green-deep);
}
.button-outline:hover {
    background: var(--green-deep);
    color: var(--white);
}

.button-small { padding: .55rem 1.05rem; font-size: .88rem; }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .95rem;
    font-weight: 600;
    color: var(--green-deep);
    text-decoration: none;
    border-bottom: 1px solid rgba(25, 59, 50, .28);
    padding-bottom: 2px;
    transition: border-color .2s ease, gap .2s ease;
}
.text-link:hover { border-color: var(--green-deep); gap: .6rem; }

.eyebrow {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0 0 .9rem;
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 3px rgba(226, 101, 63, .18);
    flex-shrink: 0;
}

.orange-dot { color: var(--orange); }
.micro-label {
    display: block;
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}
.tiny-text { font-size: .78rem; color: var(--muted); line-height: 1.5; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    gap: 3.5rem;
    align-items: center;
    padding: 4.5rem 0 4rem;
}

.hero-copy h1 { margin-bottom: 1.4rem; }

.hero-description {
    font-size: 1.1rem;
    color: var(--ink-soft);
    max-width: 34rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin: 1.8rem 0 1rem;
}

.hero-note { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }

.hero-phone {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .95rem;
    color: var(--ink-soft);
    text-decoration: none;
    padding: .6rem 1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    transition: border-color .2s ease, transform .2s ease;
}
.hero-phone strong { color: var(--green-deep); }
.hero-phone:hover { border-color: var(--sage); transform: translateY(-1px); }

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2.2rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--line);
}
.hero-proof > div { display: flex; flex-direction: column; }
.hero-proof strong { font-family: var(--serif); font-size: 1.3rem; }
.hero-proof span { font-size: .82rem; color: var(--muted); }

/* Hero illustration — a layered "blueprint" stage. Cards flow in a column so
   the composition still reads if a card's content grows. */
.hero-art {
    position: relative;
    display: grid;
    gap: 1rem;
    padding: 1.6rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 20% 15%, rgba(221, 237, 186, .5), transparent 55%),
        var(--paper-warm);
    overflow: hidden;
}

.art-topline, .art-bottomline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--muted);
}
.art-topline i {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--orange);
    margin-right: .4rem;
}

.orbit {
    position: absolute;
    border: 1px dashed rgba(115, 145, 122, .4);
    border-radius: 50%;
    pointer-events: none;
}
.orbit-one { width: 320px; height: 320px; top: -90px; right: -110px; }
.orbit-two { width: 220px; height: 220px; bottom: -70px; left: -70px; }

.blueprint-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .5; }

.sketch-note {
    font-family: var(--serif);
    font-style: italic;
    font-size: .95rem;
    color: var(--sage);
    display: flex;
    align-items: center;
    gap: .5rem;
}
.sketch-note svg { width: 54px; flex-shrink: 0; }

.blueprint-card {
    position: relative;
    display: flex;
    gap: .8rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.blueprint-card strong { display: block; font-family: var(--serif); font-size: 1.02rem; }
.mini-icon, .ai-spark { color: var(--orange); font-size: 1rem; flex-shrink: 0; }
.ai-check {
    margin-left: auto;
    align-self: center;
    color: var(--green-deep);
    background: var(--lime);
    width: 24px; height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    flex-shrink: 0;
}

.web-card { flex-direction: column; gap: .6rem; padding: 0; overflow: hidden; }
.window-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .5rem .8rem;
    background: var(--paper-warm);
    border-bottom: 1px solid var(--line);
    font-size: .66rem;
    color: var(--muted);
}
.window-dots { letter-spacing: -1px; color: var(--sage); }

.mock-web { display: flex; gap: .7rem; padding: .8rem; }
.mock-sidebar {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    align-items: center;
    padding: .5rem .4rem;
    border-radius: 8px;
    background: var(--green-deep);
    color: var(--lime);
    font-family: var(--serif);
    flex-shrink: 0;
}
.mock-sidebar i { width: 12px; height: 2px; background: rgba(221, 237, 186, .45); border-radius: 2px; }
.mock-content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .45rem; }
.mock-heading {
    display: flex;
    justify-content: space-between;
    font-family: var(--serif);
    font-size: .92rem;
}
.mock-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .5rem .6rem;
    border-radius: 8px;
    background: var(--paper-warm);
}
.mock-stat small { display: block; font-size: .62rem; color: var(--muted); }
.mock-stat b { font-family: var(--serif); font-size: .88rem; font-weight: 600; }
.mock-chart { display: flex; align-items: flex-end; gap: 3px; height: 34px; }
.mock-chart i { flex: 1; background: var(--sage); border-radius: 2px 2px 0 0; opacity: .55; }
.mock-chart i:nth-child(2n) { height: 70%; }
.mock-chart i:nth-child(3n) { height: 100%; opacity: .8; }
.mock-chart i:nth-child(4n) { height: 45%; }
.mock-chart i:not([style]) { height: 60%; }

.card-caption {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem .8rem .7rem;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--muted);
}

.mobile-card { flex-direction: column; align-items: flex-start; gap: .5rem; }
.phone-speaker {
    width: 34px; height: 4px;
    border-radius: 999px;
    background: var(--line);
    align-self: center;
}
.phone-symbol {
    width: 30px; height: 30px;
    border-radius: 9px;
    background: var(--lime);
    color: var(--green-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.phone-lines { display: flex; flex-direction: column; gap: .3rem; width: 100%; }
.phone-lines i { height: 5px; border-radius: 3px; background: var(--paper-warm); }
.phone-lines i:last-child { width: 60%; }
.phone-button {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .4rem .8rem;
    border-radius: 999px;
    background: var(--green-deep);
    color: var(--white);
    font-size: .78rem;
    font-weight: 600;
}

.cloud-label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    align-self: flex-start;
    padding: .45rem .9rem;
    border-radius: 999px;
    background: var(--green-deep);
    color: var(--lime);
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .12em;
}

/* ── Technology band ─────────────────────────────────────────────────────── */
.technology-band {
    border-block: 1px solid var(--line);
    background: var(--paper-warm);
}
.technology-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.4rem 2rem;
    padding: 1.4rem 0;
    font-size: .9rem;
    color: var(--ink-soft);
}
.technology-inner .micro-label { line-height: 1.4; margin-right: auto; }

/* ── Sections ────────────────────────────────────────────────────────────── */
.section { padding: 5rem 0; }

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 2rem;
    align-items: end;
    margin-bottom: 3rem;
}
.section-heading > p { color: var(--ink-soft); margin: 0; }

/* ── Services ────────────────────────────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.2rem;
}

.service {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    padding: 1.7rem 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    text-decoration: none;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service:hover {
    transform: translateY(-3px);
    border-color: var(--sage);
    box-shadow: var(--shadow);
}
.service-number {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--muted);
}
.service-symbol {
    width: 38px; height: 38px;
    border-radius: 11px;
    background: var(--lime);
    color: var(--green-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: .92rem;
}
.service p { font-size: .93rem; color: var(--ink-soft); margin: 0; }
.service-footer {
    margin-top: auto;
    padding-top: .8rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .88rem;
    font-weight: 600;
    color: var(--green-deep);
}

/* ── Selected work ───────────────────────────────────────────────────────── */
.work-section { background: var(--paper-warm); }

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.work-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.work-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .8rem;
    padding: 1.5rem;
    min-height: 260px;
    text-decoration: none;
    background:
        radial-gradient(circle at 80% 10%, rgba(221, 237, 186, .55), transparent 60%),
        var(--paper);
    border-bottom: 1px solid var(--line);
}
.visual-label, .visual-footnote {
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--muted);
}
.visual-footnote { margin-top: auto; }
.visual-arrow {
    position: absolute;
    top: 1.2rem; right: 1.3rem;
    color: var(--green-deep);
}

.document-sheet {
    padding: .9rem 1rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.document-heading {
    display: flex;
    justify-content: space-between;
    font-family: var(--serif);
    font-size: .98rem;
    margin-bottom: .6rem;
}
.doc-line { display: block; height: 6px; border-radius: 3px; background: var(--paper-warm); margin-bottom: .35rem; }
.doc-line.short { width: 55%; }
.document-table {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .3rem .8rem;
    margin: .7rem 0 .5rem;
    font-size: .72rem;
    color: var(--muted);
}
.document-table i { height: 5px; border-radius: 3px; background: var(--paper-warm); }
.document-stamp {
    display: inline-block;
    padding: .2rem .55rem;
    border-radius: 999px;
    background: var(--lime);
    color: var(--green-deep);
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .1em;
}

.extraction-card {
    padding: .8rem .9rem;
    border-radius: 10px;
    background: var(--green-deep);
    color: var(--lime);
    font-size: .74rem;
}
.extraction-card code {
    display: block;
    margin-top: .5rem;
    font-family: var(--mono);
    font-size: .68rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .82);
}
.extraction-card code b { color: var(--lime); font-weight: 600; }
.extraction-card code span { color: rgba(255, 255, 255, .6); }

.workflow-step {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .7rem .9rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    font-size: .85rem;
}
.workflow-step > span:first-child {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--paper-warm);
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .68rem;
    font-weight: 700;
    flex-shrink: 0;
}
.workflow-step strong { font-family: var(--serif); font-weight: 600; flex: 1; }
.workflow-step > span:last-child { color: var(--sage); }
.workflow-feature { border-color: var(--sage); background: var(--lime); }
.workflow-feature > span:first-child { background: var(--green-deep); color: var(--lime); }

.workflow-connector {
    width: 1px;
    height: 18px;
    margin-left: 1.6rem;
    border-left: 1px dashed var(--sage);
}
.workflow-outputs { display: flex; flex-wrap: wrap; gap: .4rem; }
.workflow-outputs span {
    padding: .3rem .7rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--white);
    font-size: .74rem;
    color: var(--ink-soft);
}

.work-card-copy { padding: 1.5rem; }
.work-card-copy h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.work-card-copy p { font-size: .93rem; color: var(--ink-soft); }

.architecture-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1.1rem 1.4rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    text-decoration: none;
    font-size: .95rem;
    color: var(--ink-soft);
    transition: border-color .2s ease;
}
.architecture-link:hover { border-color: var(--sage); }
.architecture-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    margin-right: .6rem;
    border-radius: 8px;
    background: var(--lime);
    color: var(--green-deep);
}

/* ── About ───────────────────────────────────────────────────────────────── */
.about-section {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 3rem;
    align-items: start;
}
.about-intro { font-size: 1.08rem; color: var(--ink-soft); }

.principles { display: grid; gap: 1.4rem; }
.principles > div { display: flex; gap: 1rem; }
.principles > div > span {
    flex-shrink: 0;
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .74rem;
    font-weight: 700;
    color: var(--muted);
}
.principles h3 { margin-bottom: .3rem; }
.principles p { font-size: .93rem; color: var(--ink-soft); margin: 0; }

/* ── Pricing ─────────────────────────────────────────────────────────────── */
.pricing-section { background: var(--paper-warm); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.3rem;
    align-items: stretch;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.9rem 1.6rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
}
.price-card h3 { font-size: 1.35rem; margin-bottom: .8rem; }
.price-card p { font-size: .92rem; color: var(--ink-soft); }
.price-card ul {
    list-style: none;
    margin: 0 0 1.6rem;
    padding: 0;
    display: grid;
    gap: .5rem;
}
.price-card li {
    position: relative;
    padding-left: 1.4rem;
    font-size: .9rem;
    color: var(--ink-soft);
}
.price-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--sage);
    font-size: .82rem;
}
.price-card .button { margin-top: auto; justify-content: center; }

.price { display: flex; flex-direction: column; margin-bottom: 1rem; }
.price > span { font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.price strong { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; line-height: 1.1; }
.price strong span { font-family: var(--sans); font-size: .95rem; font-weight: 500; color: var(--muted); }

.price-featured {
    border-color: var(--green-deep);
    box-shadow: var(--shadow-lg);
}
.price-badge {
    position: absolute;
    top: -12px;
    left: 1.6rem;
    padding: .3rem .8rem;
    border-radius: 999px;
    background: var(--orange);
    color: var(--white);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .12em;
}

.pricing-note {
    margin-top: 1.6rem;
    font-size: .9rem;
    color: var(--muted);
    text-align: center;
}
.pricing-note a { color: var(--green-deep); font-weight: 600; }

/* ── Process ─────────────────────────────────────────────────────────────── */
.process-section {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 3rem;
    align-items: start;
}
.process-list {
    list-style: none;
    counter-reset: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.6rem;
}
.process-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .3rem 1rem;
    padding-bottom: 1.6rem;
    border-bottom: 1px solid var(--line);
}
.process-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.process-list li > span {
    grid-row: span 2;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--green-deep);
    color: var(--lime);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 700;
}
.process-list h3 { align-self: center; }
.process-list p { margin: 0; font-size: .93rem; color: var(--ink-soft); }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3rem; align-items: start; }
.faq-list { display: grid; gap: .8rem; }

.faq-list details {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    padding: 0 1.2rem;
    transition: border-color .2s ease;
}
.faq-list details[open] { border-color: var(--sage); }
.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 0;
    font-family: var(--serif);
    font-size: 1.05rem;
    cursor: pointer;
    list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span {
    color: var(--sage);
    font-size: 1.2rem;
    transition: transform .2s ease;
    flex-shrink: 0;
}
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list p { margin: 0; padding-bottom: 1.2rem; font-size: .93rem; color: var(--ink-soft); }

/* ── Contact ─────────────────────────────────────────────────────────────── */
.contact-section {
    padding: 5rem 0;
    background: var(--green-deep);
    color: var(--white);
}
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
    gap: 3rem;
    align-items: start;
}
.contact-copy h2 { color: var(--white); margin-bottom: 1.2rem; }
.contact-copy > p { color: rgba(255, 255, 255, .78); max-width: 30rem; }
.contact-copy .eyebrow { color: rgba(255, 255, 255, .6); }

.contact-email, .contact-phone {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
    color: var(--lime);
}
.contact-email {
    font-family: var(--serif);
    font-size: 1.3rem;
    margin-bottom: .6rem;
}
.contact-phone { font-size: 1rem; }
.contact-email:hover, .contact-phone:hover { color: var(--white); }

.contact-location {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1.6rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, .16);
    font-size: .88rem;
    color: rgba(255, 255, 255, .7);
}

.enquiry-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow-lg);
}
.enquiry-card h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.enquiry-card > p { font-size: .9rem; color: var(--muted); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field label { font-size: .8rem; font-weight: 600; color: var(--ink-soft); }
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: .7rem .85rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--paper);
    font: inherit;
    font-size: .92rem;
    color: var(--ink);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--sage);
    box-shadow: 0 0 0 3px rgba(115, 145, 122, .18);
    background: var(--white);
}

#enquiry-form .button { width: 100%; justify-content: center; }
.form-note { margin-top: .8rem; font-size: .78rem; color: var(--muted); }

.email-options {
    margin-top: 1.4rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line);
}
.email-options h4 { font-size: 1.05rem; margin-bottom: .3rem; }
.email-options p { font-size: .85rem; color: var(--muted); }
.email-buttons { display: flex; flex-wrap: wrap; gap: .6rem; }
.copy-button {
    padding: .55rem 1.05rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    font: inherit;
    font-size: .88rem;
    font-weight: 600;
    color: var(--ink-soft);
    cursor: pointer;
}
.copy-button:hover { border-color: var(--sage); color: var(--green-deep); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
    padding: 2.5rem 0;
    border-top: 1px solid var(--line);
    background: var(--paper);
}
.footer-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    padding-bottom: 1.4rem;
}
.footer-top nav,
.footer-bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
}
.footer-top nav a,
.footer-bottom nav a {
    font-size: .9rem;
    color: var(--ink-soft);
    text-decoration: none;
    white-space: nowrap;
}
.footer-top nav a:hover,
.footer-bottom nav a:hover { color: var(--green-deep); }
.footer-bottom {
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .8rem 1.6rem;
    font-size: .82rem;
    color: var(--muted);
}
.footer-bottom a { color: var(--muted); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .hero,
    .about-section,
    .process-section,
    .faq-section,
    .contact-grid,
    .section-heading {
        grid-template-columns: minmax(0, 1fr);
    }
    .hero { padding-top: 3rem; gap: 2.5rem; }
    .section-heading { align-items: start; gap: 1rem; margin-bottom: 2rem; }
    .section { padding: 3.5rem 0; }
}

@media (max-width: 720px) {
    .menu-toggle { display: inline-flex; }

    /* home.js toggles an .is-open class on the nav (and mirrors it on the
       button's aria-expanded), so that class is the hook. */
    #main-nav {
        display: none;
        position: absolute;
        left: 0; right: 0;
        top: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: .4rem;
        padding: 1rem 1.25rem 1.4rem;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
    }
    .site-header .header-inner { position: relative; }
    #main-nav.is-open { display: flex; }

    #main-nav a { padding: .6rem 0; }
    #main-nav .button { justify-content: center; margin-top: .4rem; }

    .desktop-break { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .hero-proof { gap: 1.2rem; }
    .contact-section { padding: 3.5rem 0; }
    .enquiry-card { padding: 1.4rem; }
}

/* ── Remaining variants ──────────────────────────────────────────────────── */
.about-statement { max-width: 34rem; }
.about-statement h2 { margin-bottom: 1rem; }

/* Blueprint card variants — the shared look comes from .blueprint-card; these
   only differentiate the three cards from one another. */
.idea-card { align-items: flex-start; }
.idea-card strong { margin-block: .15rem; }
.ai-card { align-items: center; background: linear-gradient(120deg, var(--white), rgba(221, 237, 186, .35)); }
.ai-card .tiny-text { font-weight: 700; letter-spacing: .1em; color: var(--sage); }

/* Work-card visuals differ only in their tint, so each panel reads as a
   distinct illustration rather than the same card twice. */
.document-visual { background: radial-gradient(circle at 85% 8%, rgba(221, 237, 186, .55), transparent 58%), var(--paper); }
.workflow-visual { background: radial-gradient(circle at 15% 10%, rgba(115, 145, 122, .16), transparent 60%), var(--paper); }

.menu-label { font-weight: 600; }

/* ── Sticky mobile call-to-action ────────────────────────────────────────── */
.mobile-contact {
    display: none;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .95rem 1.25rem;
    background: var(--green-deep);
    color: var(--white);
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 -6px 24px -12px rgba(20, 35, 30, .5);
}

@media (max-width: 720px) {
    .mobile-contact { display: flex; }
    /* Clear the fixed bar so it never sits on top of the footer's last line. */
    body { padding-bottom: 3.6rem; }
}

/* ── Technology band: AI row + stack row ─────────────────────────────────── */
.tech-lead {
    display: inline-flex;
    align-items: center;
    padding: .32rem .85rem;
    border-radius: 999px;
    background: var(--green-deep);
    color: var(--lime);
    font-size: .85rem;
    font-weight: 600;
    white-space: nowrap;
}

/* The second row is the supporting stack, so it sits quieter than the AI row
   above it and is separated by a hairline rather than another band. */
.technology-stack {
    border-top: 1px dashed var(--line);
    padding-top: 1.1rem;
    margin-top: -.4rem;
    color: var(--muted);
}
.technology-stack .micro-label { color: var(--muted); }

@media (max-width: 720px) {
    .technology-inner { gap: .6rem .8rem; }
    .tech-lead { font-size: .8rem; }
}

/* ── Long-form reference articles ────────────────────────────────────────── */
.article-head {
    padding: 3.5rem 0 2rem;
    border-bottom: 1px solid var(--line);
}
.article-head h1 { max-width: 20ch; margin-bottom: 1rem; }
.article-lede {
    max-width: 62ch;
    font-size: 1.12rem;
    line-height: 1.7;
    color: var(--ink-soft);
}
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.2rem;
    margin-top: 1.4rem;
    font-size: .8rem;
    color: var(--muted);
}

/* Table of contents: a plain list of anchors, not a sidebar - the articles are
   read top to bottom more often than they are navigated. */
.toc {
    margin: 2rem 0 0;
    padding: 1.2rem 1.4rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-warm);
}
.toc h2 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-family: var(--sans); margin-bottom: .8rem; }
.toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 2rem; }
.toc li { margin-bottom: .35rem; font-size: .92rem; }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--green-deep); text-decoration: underline; }

.article-body { padding: 2.5rem 0 1rem; }
.article-body > h2 {
    margin: 2.6rem 0 .6rem;
    scroll-margin-top: 5rem;
}
.article-body > h2:first-child { margin-top: 0; }
.article-body p { max-width: 68ch; color: var(--ink-soft); }
.article-body > ul, .article-body > ol { max-width: 66ch; color: var(--ink-soft); padding-left: 1.3rem; }
.article-body li { margin-bottom: .4rem; }

/* Each pattern collapses, so the page can be skimmed as an index and opened
   where it is useful. Same mechanism as the FAQ. */
.pattern {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    margin-bottom: .7rem;
    padding: 0 1.3rem;
}
.pattern[open] { border-color: var(--sage); }
.pattern summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.05rem 0;
    cursor: pointer;
    list-style: none;
    font-family: var(--serif);
    font-size: 1.08rem;
    color: var(--ink);
}
.pattern summary::-webkit-details-marker { display: none; }
.pattern summary::after {
    content: "+";
    color: var(--sage);
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: transform .2s ease;
}
.pattern[open] summary::after { transform: rotate(45deg); }
.pattern-body { padding-bottom: 1.2rem; }
.pattern-body p { margin-bottom: .8rem; }
.pattern-body p:last-child { margin-bottom: 0; }

.when-to-use {
    display: block;
    margin-top: .8rem;
    padding: .7rem .9rem;
    border-left: 3px solid var(--sage);
    background: var(--paper-warm);
    border-radius: 0 8px 8px 0;
    font-size: .9rem;
    color: var(--ink-soft);
}
.when-to-use b { color: var(--green-deep); }

.callout {
    margin: 1.6rem 0;
    padding: 1.1rem 1.3rem;
    border: 1px solid var(--editorial-line, var(--line));
    border-left: 3px solid var(--orange);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--white);
}
.callout p { margin: 0; max-width: none; }
.callout strong { color: var(--ink); }

.article-body code {
    font-family: var(--mono);
    font-size: .88em;
    padding: .1rem .35rem;
    border-radius: 4px;
    background: var(--paper-warm);
    color: var(--green-deep);
}
.article-body pre {
    overflow-x: auto;
    padding: 1rem 1.2rem;
    border-radius: var(--radius);
    background: var(--green-deep);
    color: var(--lime);
    font-size: .84rem;
    line-height: 1.6;
}
.article-body pre code { background: none; color: inherit; padding: 0; }

@media (max-width: 720px) {
    .toc ol { columns: 1; }
    .article-head { padding-top: 2.2rem; }
}
