/* Werkponte. Palette: mist ground, navy ink, one amber accent used for the bridge's traveller and key actions. */

@font-face {
    font-family: "Bricolage Grotesque";
    src: url("/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Instrument Sans";
    src: url("/fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --mist: #edf1f5;
    --paper: #ffffff;
    --navy: #0b2545;
    --navy-deep: #081b33;
    --ink: #14233a;
    --steel: #44566b;
    --line: #c9d3de;
    --water: #d9e4ef;
    --amber: #f5b301;
    --amber-hover: #ffc933;
    --teal: #0f9d8a;
    --coral: #f2674a;
    --violet: #6c5ce7;
    --blue: #2a7de1;
    --tint-teal: #e3f5f2;
    --tint-coral: #fdeae5;
    --tint-violet: #ece9fd;

    --display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --body: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

    --wrap: 1180px;
    --gutter: clamp(20px, 4vw, 48px);
}

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

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

body {
    margin: 0;
    background: var(--mist);
    color: var(--ink);
    font-family: var(--body);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
    font-family: var(--display);
    color: var(--navy);
    margin: 0;
    text-wrap: balance;
}

p { margin: 0 0 1em; }

a { color: inherit; }

:focus-visible {
    outline: 3px solid var(--navy);
    outline-offset: 3px;
}

.section--navy :focus-visible,
.site-footer :focus-visible { outline-color: var(--amber); }

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

.skip {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    background: var(--navy);
    color: #fff;
    padding: 10px 16px;
    text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap {
    width: 100%;
    max-width: calc(var(--wrap) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.narrow { max-width: calc(780px + var(--gutter) * 2); }

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(237, 241, 245, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 60px;
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--display);
    font-weight: 750;
    font-size: 1.3rem;
    letter-spacing: -0.03em;
    color: var(--navy);
}

.wordmark-glyph {
    width: 38px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.6;
    stroke-linecap: round;
}

.wordmark--light { color: #fff; }

.site-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 26px;
}

.site-nav a:not(.btn) {
    text-decoration: none;
    color: var(--steel);
    font-weight: 550;
    padding-block: 6px;
    border-bottom: 2px solid transparent;
}

.site-nav a:not(.btn):hover { color: var(--navy); }

.site-nav a[aria-current="page"] {
    color: var(--navy);
    border-bottom-color: var(--amber);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--navy);
    content: "";
    position: relative;
    transition: transform 0.2s ease, background 0.2s ease;
}
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 920px) {
    .js .nav-toggle { display: inline-flex; }

    .js .site-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 16px var(--gutter) 24px;
        background: var(--mist);
        border-bottom: 1px solid var(--line);
    }

    .js .site-nav.open { display: flex; }
    .js .site-nav a:not(.btn) { padding-block: 10px; font-size: 1.15rem; }
    .js .site-nav .btn { margin-top: 10px; }

    .header-row { position: relative; }
}

@media (max-width: 920px) {
    html:not(.js) .header-row { flex-direction: column; align-items: flex-start; padding-block: 12px; }
}

/* ---------- Buttons and links ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border: 0;
    border-radius: 4px;
    font-family: var(--body);
    font-size: 1.02rem;
    font-weight: 650;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.btn--primary { background: var(--amber); color: var(--navy); }
.btn--primary:hover { background: var(--amber-hover); }

.btn--small { min-height: 42px; padding: 0 18px; background: var(--navy); color: #fff; }
.btn--small:hover { background: var(--navy-deep); }
.site-nav .btn--small:hover { background: var(--amber); color: var(--navy); }

.link {
    font-weight: 600;
    color: var(--navy);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--amber);
    text-underline-offset: 6px;
}
.link:hover { text-decoration-color: var(--navy); }
.link--light { color: #fff; }
.link--light:hover { text-decoration-color: #fff; }

.actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 28px;
    margin-top: 28px;
}

/* ---------- Hero ---------- */

.hero {
    padding-block: clamp(20px, 3.5vw, 48px) clamp(28px, 4vw, 56px);
    background:
        radial-gradient(60% 80% at 100% 0%, rgba(15, 157, 138, 0.14), transparent 70%),
        radial-gradient(50% 70% at 0% 100%, rgba(245, 179, 1, 0.12), transparent 70%),
        var(--mist);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    gap: clamp(24px, 4vw, 64px);
    align-items: center;
    min-height: min(calc(100svh - 170px), 470px);
}

.hero-title {
    font-weight: 760;
    font-size: clamp(2.2rem, 1rem + 3.9vw, 4.1rem);
    line-height: 1;
    letter-spacing: -0.045em;
    margin-bottom: clamp(14px, 2vw, 22px);
}

.br-lg { display: none; }
@media (min-width: 640px) { .br-lg { display: inline; } }

.hero-lede {
    max-width: 30em;
    font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.2rem);
    line-height: 1.5;
    color: var(--steel);
    margin: 0;
}

.hero-points {
    list-style: none;
    margin: 26px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--navy);
}
.hero-points li { display: flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-teal { background: var(--teal); }
.dot-coral { background: var(--coral); }
.dot-violet { background: var(--violet); }

.hero-art {
    position: relative;
    filter: drop-shadow(0 22px 40px rgba(11, 37, 69, 0.22));
}

.bridge { display: block; width: 100%; height: auto; overflow: visible; }
.bridge .b-label { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; }

.chip-float {
    position: absolute;
    padding: 7px 16px;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 8px 20px rgba(11, 37, 69, 0.25);
}
.chip-build { left: 7%; top: 14%; background: var(--teal); }
.chip-sell { left: 40%; top: 4%; background: var(--coral); }
.chip-grow { right: 8%; top: 56%; background: var(--violet); }

@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; min-height: 0; }
    .hero-art { max-width: 560px; }
}

/* Motion: strokes start undrawn only when scripts will draw them. */
.motion .b-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.motion .b-dot,
.motion .b-label { opacity: 0; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(40px, 5.5vw, 76px); }
.section--tight { padding-block: clamp(24px, 3.5vw, 44px); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: #dbe4ef; }
.section--navy h2,
.section--navy h3 { color: #fff; }

.section-title {
    font-weight: 720;
    font-size: clamp(1.5rem, 1rem + 1.6vw, 2.2rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    max-width: 18em;
}

.section-title--small { font-size: clamp(1.2rem, 1rem + 0.8vw, 1.5rem); }

.section-lede {
    max-width: 38em;
    margin-top: 12px;
    color: var(--steel);
    font-size: 1.04rem;
}
.section--navy .section-lede { color: #b7c6d8; }

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 32px;
    margin-bottom: clamp(24px, 4vw, 48px);
}

.page-head { padding-block: clamp(32px, 4.5vw, 60px) clamp(8px, 2vw, 20px); }

.page-title {
    font-weight: 750;
    font-size: clamp(1.9rem, 1rem + 2.6vw, 3rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
    max-width: 14em;
}

.page-title--article {
    font-size: clamp(1.7rem, 1rem + 2vw, 2.5rem);
    max-width: 20em;
}

.page-lede {
    max-width: 38em;
    margin-top: 14px;
    font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.2rem);
    color: var(--steel);
}

.crumbs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--steel);
    font-size: 0.95rem;
}
.crumbs a { color: var(--steel); }

/* ---------- Pillars (the line draws as you scroll) ---------- */

.pillars {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 56px);
    margin-top: clamp(40px, 6vw, 72px);
    padding-top: 52px;
    --p: 1;
}

.motion .pillars { --p: 0; }

.pillars-track {
    position: absolute;
    top: 14px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--line);
}

.pillars-fill {
    position: absolute;
    inset: 0;
    background: var(--navy);
    transform-origin: left center;
    transform: scaleX(var(--p));
}

.pillar { position: relative; }

.pillar::before {
    content: "";
    position: absolute;
    top: -52px;
    left: 0;
    width: 28px;
    height: 28px;
    border: 3px solid var(--navy);
    border-radius: 50%;
    background: var(--paper);
    transition: background-color 0.25s ease;
}
.pillar.on::before,
html:not(.motion) .pillar::before { background: var(--amber); }

.pillar h3 {
    font-weight: 740;
    font-size: clamp(1.4rem, 1rem + 1.2vw, 1.8rem);
    letter-spacing: -0.03em;
    margin-bottom: 10px;
}

.pillar p { color: var(--steel); max-width: 30em; }

.pillar-links {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.pillar-links a {
    font-weight: 600;
    color: var(--navy);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--line);
    text-underline-offset: 5px;
}
.pillar-links a:hover { text-decoration-color: var(--amber); }

@media (max-width: 800px) {
    .pillars {
        grid-template-columns: 1fr;
        padding-top: 0;
        padding-left: 52px;
        gap: 44px;
    }

    .pillars-track {
        top: 14px;
        bottom: 14px;
        left: 13px;
        right: auto;
        width: 3px;
        height: auto;
    }

    .pillars-fill { transform-origin: center top; transform: scaleY(var(--p)); }

    .pillar::before { top: 4px; left: -52px; }
}

/* ---------- Service pages ---------- */

.service-group { margin-bottom: clamp(32px, 5vw, 56px); }
.service-group h2 { font-size: 1.1rem; color: var(--steel); font-weight: 650; margin-bottom: 8px; }

.service-rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }

.service-rows a {
    display: grid;
    grid-template-columns: 132px minmax(0, 4fr) minmax(0, 6fr);
    gap: 12px clamp(16px, 3vw, 40px);
    padding-block: 16px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    transition: background-color 0.18s ease, padding-inline 0.18s ease;
}
.service-rows a:hover { background: var(--paper); padding-inline: 16px; }

.service-name {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
    letter-spacing: -0.025em;
    color: var(--navy);
    line-height: 1.15;
}
.service-summary { color: var(--steel); }

@media (max-width: 800px) {
    .service-rows a { grid-template-columns: 96px minmax(0, 1fr); gap: 4px 16px; }
    .service-rows .art--thumb { grid-row: span 2; }
}

.items {
    margin: clamp(28px, 4vw, 48px) 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 clamp(24px, 5vw, 80px);
}

.items .item {
    padding-block: 18px;
    border-top: 1px solid var(--line);
}

.items dt {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.12rem;
    letter-spacing: -0.02em;
    color: var(--navy);
    margin-bottom: 4px;
}

.items dd { margin: 0; color: var(--steel); }

.items--wide { grid-template-columns: 1fr; }
.items--wide .item { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px clamp(20px, 4vw, 72px); }
.items--wide dt { margin: 0; font-size: 1.2rem; }

@media (max-width: 800px) {
    .items { grid-template-columns: 1fr; }
    .items--wide .item { grid-template-columns: 1fr; }
}

/* A real sequence, so numbered. */
.steps {
    list-style: none;
    margin: clamp(24px, 4vw, 40px) 0 0;
    padding: 0;
    counter-reset: step;
    max-width: 52em;
}

.steps li {
    counter-increment: step;
    position: relative;
    padding: 16px 0 16px 48px;
    border-top: 1px solid var(--line);
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 13px;
    font-family: var(--display);
    font-weight: 750;
    font-size: 1.45rem;
    line-height: 1;
    color: var(--navy);
}

.steps li strong { color: var(--navy); }

.steps--light li { border-top-color: rgba(255, 255, 255, 0.22); }
.steps--light li::before,
.steps--light li strong { color: #fff; }

.steps--large { max-width: 56em; }
.steps--large li { padding-left: 68px; padding-block: 22px; }
.steps--large li::before { font-size: 2.2rem; top: 18px; }
.steps--large h2 { font-size: clamp(1.2rem, 1rem + 0.6vw, 1.45rem); margin-bottom: 6px; letter-spacing: -0.025em; }
.steps--large p { margin: 0; color: var(--steel); max-width: 40em; }

.process-teaser {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(28px, 5vw, 80px);
    align-items: start;
}
.process-teaser .steps { margin-top: 0; }

@media (max-width: 800px) {
    .process-teaser { grid-template-columns: 1fr; }
}

.faq { margin-top: clamp(24px, 4vw, 40px); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }

.faq summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 44px 16px 0;
    position: relative;
    font-family: var(--display);
    font-weight: 650;
    font-size: 1.05rem;
    color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
    content: "";
    position: absolute;
    right: 6px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--navy);
    border-bottom: 2px solid var(--navy);
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }

.faq p { margin: 0 0 20px; color: var(--steel); max-width: 40em; }

.notice {
    margin-top: 28px;
    padding-left: 16px;
    border-left: 3px solid var(--amber);
    color: var(--steel);
    font-size: 0.98rem;
}

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 28px 48px;
}
.cta-band .actions { margin-top: 0; }

.inline-links {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
}
.inline-links a { font-weight: 600; color: var(--navy); text-underline-offset: 5px; text-decoration-color: var(--amber); text-decoration-thickness: 2px; }

/* ---------- Quote picker ---------- */

.quote {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(28px, 5vw, 80px);
    align-items: start;
}

.quote-points { margin: 22px 0; padding-left: 1.1em; color: var(--steel); }
.quote-points li { margin-bottom: 6px; }

.quote-form fieldset { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.quote-form legend { font-weight: 650; color: var(--navy); margin-bottom: 12px; padding: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }

.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--mist);
    color: var(--ink);
    font-weight: 550;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.chip:hover span { border-color: var(--navy); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 3px; }

@media (max-width: 800px) {
    .quote { grid-template-columns: 1fr; }
}

/* ---------- Forms ---------- */

.field { display: block; margin-bottom: 20px; }
.field > span:first-child { display: block; font-weight: 650; color: var(--navy); margin-bottom: 6px; }
.field em { font-style: normal; font-weight: 400; color: var(--steel); }

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--paper);
    color: var(--ink);
    font: inherit;
}

.quote-form .field textarea { background: var(--mist); }

.field input:focus,
.field select:focus,
.field textarea:focus { outline: 3px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }

.field-error { display: block; color: #a4262c; font-size: 0.95rem; margin-top: 4px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: start;
}

.contact-direct h2,
.contact-form h2 { font-size: 1.3rem; margin-bottom: 14px; letter-spacing: -0.02em; }
.contact-mail { margin-top: 20px; color: var(--steel); }

.form-status { padding: 18px 20px; border-left: 4px solid var(--navy); background: var(--paper); margin-bottom: 20px; }
.form-status--ok { border-left-color: var(--amber); }
.form-status--ok h2 { font-size: 1.5rem; margin-bottom: 6px; }
.form-status--ok p { margin: 0; }
.form-status--error { border-left-color: #a4262c; color: #a4262c; margin-top: 0; }

@media (max-width: 800px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Articles and prose ---------- */

.article-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }

.article-list a {
    display: grid;
    gap: 4px;
    padding-block: 22px;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    transition: background-color 0.18s ease, padding-inline 0.18s ease;
}
.article-list a:hover { background: var(--paper); padding-inline: 16px; }

.article-title {
    font-family: var(--display);
    font-weight: 680;
    font-size: clamp(1.05rem, 1rem + 0.45vw, 1.3rem);
    letter-spacing: -0.02em;
    color: var(--navy);
    line-height: 1.2;
}

.article-desc { color: var(--steel); max-width: 44em; }
.article-meta { color: var(--steel); font-size: 0.95rem; margin: 0; }
.article-list--large .article-title { font-size: clamp(1.2rem, 1rem + 0.8vw, 1.55rem); }

.prose { font-size: 1.04rem; line-height: 1.7; }
.prose h2 { font-size: clamp(1.25rem, 1rem + 0.8vw, 1.55rem); letter-spacing: -0.025em; margin: 2em 0 0.5em; }
.prose h2:first-child { margin-top: 0; }
.prose ul,
.prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose a { color: var(--navy); text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.plain-list { margin: 20px 0 0; padding-left: 1.2em; color: var(--steel); }
.plain-list li { margin-bottom: 8px; }

/* ---------- Footer ---------- */

.site-footer {
    background: var(--navy-deep);
    color: #b7c6d8;
    padding-block: clamp(40px, 5vw, 64px) 90px;
    font-size: 0.98rem;
}

.site-footer a { color: #dbe4ef; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 4px; }
.site-footer a:hover { color: #fff; text-decoration-color: var(--amber); }
.site-footer .wordmark { text-decoration: none; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 0.9fr 1.2fr;
    gap: 36px;
}

.footer-tagline { margin: 14px 0 0; max-width: 20em; font-family: var(--display); font-size: 1.15rem; color: #fff; }

.footer-head { font-family: var(--body); font-size: 0.98rem; font-weight: 650; color: #fff; margin-bottom: 12px; }

.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-note { margin: 12px 0 0; }

.footer-legal {
    margin-top: clamp(32px, 5vw, 56px);
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: grid;
    gap: 10px;
    font-size: 0.9rem;
}
.footer-legal p { margin: 0; max-width: 60em; }

@media (max-width: 1000px) {
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Floating WhatsApp ---------- */

.wa-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: var(--navy);
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 650;
    box-shadow: 0 6px 22px rgba(8, 27, 51, 0.28);
    transition: background-color 0.18s ease, color 0.18s ease;
}
.wa-float:hover { background: var(--amber); color: var(--navy); }
.wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wa-float svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }



/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}


/* ---------- Illustrations and products ---------- */

.art { display: block; width: 100%; height: auto; border-radius: 10px; }
.art--thumb { border-radius: 6px; }
.art-link { display: block; }

.split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
}
.split .art { max-width: 520px; justify-self: end; }
.page-head--split { padding-bottom: clamp(20px, 3.5vw, 44px); }

@media (max-width: 800px) {
    .split { grid-template-columns: 1fr; }
    .split .art { justify-self: start; max-width: 440px; }
}

.tick-list { list-style: none; margin: 14px 0 18px; padding: 0; display: grid; gap: 8px; }
.tick-list li { position: relative; padding-left: 26px; }
.tick-list li::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 0.42em;
    width: 12px;
    height: 7px;
    border-left: 2px solid var(--navy);
    border-bottom: 2px solid var(--navy);
    transform: rotate(-45deg);
}

.product-rows { display: grid; gap: clamp(28px, 4vw, 48px); }

.product-row {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(20px, 4vw, 56px);
    align-items: center;
    padding-top: clamp(24px, 4vw, 40px);
    border-top: 1px solid var(--line);
}
.product-row:nth-child(even) .art-link { order: 2; }

.product-copy h2 { font-size: clamp(1.3rem, 1rem + 0.9vw, 1.7rem); letter-spacing: -0.025em; margin-bottom: 6px; }
.product-copy h2 a { text-decoration: none; }
.product-copy h2 a:hover { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.product-tagline { font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.product-copy p { max-width: 38em; }

@media (max-width: 800px) {
    .product-row { grid-template-columns: 1fr; }
    .product-row:nth-child(even) .art-link { order: 0; }
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 40px);
}
.product-tile h3 { font-size: 1.2rem; letter-spacing: -0.02em; margin: 14px 0 4px; }
.product-tile h3 a { text-decoration: none; }
.product-tile h3 a:hover { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.product-tile p { margin: 0; color: var(--steel); max-width: 34em; }
.product-tile .art { transition: transform 0.25s ease; }
.product-tile .art-link:hover .art { transform: translateY(-3px); }

@media (max-width: 700px) {
    .product-grid { grid-template-columns: 1fr; }
}

.groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 44px) clamp(24px, 5vw, 72px);
    margin-top: clamp(20px, 3vw, 32px);
}
.group { padding-top: 16px; border-top: 2px solid var(--navy); }
.group h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
.group-text { margin: 6px 0 0; color: var(--steel); }
.group .tick-list { margin-bottom: 0; }

@media (max-width: 800px) {
    .groups { grid-template-columns: 1fr; }
}

.two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 5vw, 72px);
}
.two-col p { max-width: 36em; margin-top: 12px; }
@media (max-width: 800px) {
    .two-col { grid-template-columns: 1fr; }
}


/* ---------- Colour ---------- */

.section--paper { background: linear-gradient(180deg, #fff 0%, #f7fbfa 100%); }
.section--navy { background: linear-gradient(135deg, var(--navy) 0%, #0d3d5c 70%, #0b5a63 100%); }

.pillar:nth-of-type(1) { --c: var(--teal); }
.pillar:nth-of-type(2) { --c: var(--coral); }
.pillar:nth-of-type(3) { --c: var(--violet); }
.pillar.on::before,
html:not(.motion) .pillar::before { background: var(--c, var(--amber)); border-color: var(--c, var(--navy)); }
.pillar h3 { color: var(--c, var(--navy)); }
.pillar-links a:hover { text-decoration-color: var(--c, var(--amber)); }
.pillars-fill { background: linear-gradient(90deg, var(--teal), var(--coral), var(--violet)); }

.service-rows .group-title,
.service-group h2 { color: var(--navy); }

.group:nth-child(4n+1) { border-top-color: var(--teal); }
.group:nth-child(4n+2) { border-top-color: var(--coral); }
.group:nth-child(4n+3) { border-top-color: var(--violet); }
.group:nth-child(4n+4) { border-top-color: var(--blue); }
.tick-list li::before { border-color: var(--teal); }

/* ---------- Product screenshots ---------- */

.shot {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0 0 12px 12px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(11, 37, 69, 0.18), 0 2px 6px rgba(11, 37, 69, 0.08);
    border: 1px solid #d5dde7;
    border-top: 0;
    margin-top: 26px;
    position: relative;
}
.shot--app { border-radius: 12px; border-top: 1px solid #d5dde7; margin-top: 0; }
.art-link { position: relative; }
.art-link:has(.shot:not(.shot--app))::before,
.split > .shot:not(.shot--app) { }
.art-link:has(.shot:not(.shot--app))::before {
    content: "";
    display: block;
    height: 26px;
    border-radius: 12px 12px 0 0;
    background: #e6ebf1 radial-gradient(circle at 14px 13px, #f2674a 4px, transparent 4.5px), radial-gradient(circle at 30px 13px, #f5b301 4px, transparent 4.5px), radial-gradient(circle at 46px 13px, #2fa36b 4px, transparent 4.5px);
    border: 1px solid #d5dde7;
    border-bottom: 0;
    position: absolute;
    left: 0; right: 0; top: 0;
}
.product-tile .art-link:hover .shot { transform: translateY(-3px); }
.product-tile .shot { transition: transform 0.25s ease; }
.split .art-link { max-width: 600px; justify-self: end; width: 100%; }
.product-row:nth-child(odd) .shot { }

/* ---------- Platforms ---------- */
.platform-title { margin-bottom: 6px; }
.platform-lede { margin-bottom: clamp(16px, 3vw, 28px); max-width: 38em; }
.platform-title--home { font-size: clamp(1.2rem, 1rem + 0.8vw, 1.5rem); margin: clamp(36px, 5vw, 56px) 0 18px; letter-spacing: -0.02em; }
.product-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .product-grid--three { grid-template-columns: 1fr; } }
.product-rows + .platform-title { margin-top: 40px; }
