/* =====================================================================
   Alsonix IT Services - public site stylesheet

   One file, no external fonts and no framework, which is what keeps the
   page weight inside the SRS 4.1 budget on a regional mobile connection.
   ===================================================================== */

:root {
    --brand:        #0f2a44;
    --brand-600:    #163d63;
    --brand-500:    #1d5285;
    --accent:       #f97316;
    --accent-600:   #ea6a06;

    --ink:          #111c28;
    --ink-2:        #35485c;
    --muted:        #64778c;
    --line:         #dfe5ec;
    --line-2:       #eef2f6;
    --surface:      #ffffff;
    --surface-2:    #f6f8fb;
    --surface-3:    #eef3f8;

    --ok:           #15803d;
    --ok-bg:        #e8f6ed;
    --warn:         #b45309;
    --warn-bg:      #fdf3e3;
    --danger:       #b91c1c;
    --danger-bg:    #fdecec;
    --info:         #1d4ed8;
    --info-bg:      #e8effd;

    --radius:       12px;
    --radius-sm:    8px;
    --radius-lg:    18px;

    --shadow-sm:    0 1px 2px rgba(15, 42, 68, .06), 0 1px 3px rgba(15, 42, 68, .05);
    --shadow:       0 4px 16px rgba(15, 42, 68, .08);
    --shadow-lg:    0 18px 48px rgba(15, 42, 68, .14);

    --wrap:         1140px;
    --gap:          clamp(1rem, 3vw, 2rem);

    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

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

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-500); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5 {
    margin: 0 0 .6em;
    color: var(--ink);
    line-height: 1.22;
    font-weight: 700;
    letter-spacing: -.015em;
}

h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

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

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    background: var(--brand);
    color: #fff;
    padding: .75rem 1.25rem;
    border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------------ */
/* Layout primitives                                                   */
/* ------------------------------------------------------------------ */
.wrap {
    width: min(100% - 2.5rem, var(--wrap));
    margin-inline: auto;
}

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.section--alt { background: var(--surface-2); }

.section-head {
    max-width: 46rem;
    margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent-600);
    margin-bottom: .7rem;
}

.lede { font-size: 1.075rem; color: var(--muted); }

.grid { display: grid; gap: var(--gap); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }

/* ------------------------------------------------------------------ */
/* Card                                                                */
/*                                                                     */
/* The shared panel behind ten blocks: service tiles, the marketing    */
/* tiles, the mission/vision pair, the enquiry aside and the business  */
/* details box. It sits here, above the components that build on it,   */
/* so their own padding and layout override this base instead of       */
/* fighting it from further down the file.                             */
/* ------------------------------------------------------------------ */
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

/* --- Service tile --------------------------------------------------- */
/* The whole tile is a single link, so it takes the page's text colour
   rather than the link blue, and never underlines on hover. */
.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: var(--ink-2);
    transition: transform .16s ease, box-shadow .16s ease;
}
.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--ink-2);
}

.service-card__icon {
    width: 46px; height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--surface-3);
    color: var(--brand-500);
    margin-bottom: 1.05rem;
    flex: none;
}
.service-card:hover .service-card__icon { background: var(--brand); color: #fff; }

.service-card h3 {
    font-size: 1.08rem;
    margin-bottom: .4em;
    color: var(--ink);
}
.service-card > p {
    font-size: .93rem;
    color: var(--muted);
    margin-bottom: 1.15rem;
}

/* margin-top:auto pins the footer to the bottom, so tiles with a short
   description line up with their taller neighbours. */
.service-card__foot {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--line-2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.service-card__more {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .88rem;
    font-weight: 600;
    color: var(--brand-500);
}
.service-card__more svg { transition: transform .16s ease; }
.service-card:hover .service-card__more svg { transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
    .service-card,
    .service-card__more svg { transition: none; }
    .service-card:hover { transform: none; }
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .78rem 1.4rem;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font: inherit;
    font-weight: 600;
    font-size: .96rem;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease, transform .1s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-600); color: #fff; }

.btn--dark { background: var(--brand); color: #fff; }
.btn--dark:hover { background: var(--brand-600); color: #fff; }

.btn--ghost { background: transparent; color: var(--brand); border-color: var(--line); }
.btn--ghost:hover { background: var(--surface-2); border-color: #c9d4e0; color: var(--brand); }

.btn--on-dark { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn--on-dark:hover { background: rgba(255, 255, 255, .2); color: #fff; }

.btn--wide { width: 100%; }
.btn--sm { padding: .5rem .9rem; font-size: .875rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ------------------------------------------------------------------ */
/* Announcement marquee (SRS 3.1)                                      */
/* ------------------------------------------------------------------ */
.marquee {
    background: var(--brand);
    color: #eaf1f8;
    font-size: .875rem;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.marquee__track {
    display: flex;
    width: max-content;
    gap: 3rem;
    padding: .6rem 0;
    animation: marquee-scroll 38s linear infinite;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }

.marquee__item {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    white-space: nowrap;
}
.marquee__item::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex: none;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .marquee__track {
        animation: none;
        width: 100%;
        white-space: normal;
        justify-content: center;
        padding: .6rem 1rem;
    }
    .marquee__item + .marquee__item { display: none; }
    .marquee__item { white-space: normal; }
}

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    /* Tall enough to give a 60px lockup room to breathe; the icon-plus-text
       pairing is shorter and simply centres inside it. */
    min-height: 84px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    font-weight: 800;
    color: var(--brand);
    font-size: 1.06rem;
    letter-spacing: -.02em;
    text-decoration: none;
    flex: 0 1 auto;
    min-width: 0;
}
.brand:hover { text-decoration: none; }

/* The name is stored in title case because that is how it reads in prose and
   in documents. The brand lines are the exception: they stand in for the logo
   when none is uploaded, so they follow the artwork and set it in caps. */
.brand__text > span:first-child,
.footer-brand { text-transform: uppercase; letter-spacing: .01em; }

.brand__mark {
    width: 36px; height: 36px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-500) 100%);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .02em;
    flex: none;
}

.brand__logo {
    /* The mark is a transparent PNG, so it needs no plate behind it on the
       light header. Sized a little larger than the fallback lettermark: a
       drawn mark needs more room than three letters to read at a glance. */
    width: 42px; height: 42px;
    object-fit: contain;
    flex: none;
}

/* A lockup carries the wordmark inside the artwork, so it renders alone and
   at its own proportions. Squeezing one into the 42px square above is what
   made it look tiny: a 1229x844 file fitted to a 42px box draws 29px tall.
   Height drives the size, width follows; object-fit keeps it honest if the
   max-width ever bites. */
.brand__logo--lockup {
    width: auto;
    height: 60px;
    max-width: min(300px, 46vw);
}

.brand--lockup { gap: 0; }

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}
.brand__text > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.brand__sub {
    font-size: .68rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: .06em;
    text-transform: uppercase;
}

.nav { margin-left: auto; }

/* Drawer-only chrome. On desktop the nav is an inline row, so neither the
   heading bar nor the stacked buttons should render. */
.nav__head,
.nav__cta,
.nav-close { display: none; }

.nav__list {
    display: flex;
    align-items: center;
    gap: .35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav__list li { margin: 0; }

.nav__link {
    display: block;
    padding: .5rem .8rem;
    border-radius: var(--radius-sm);
    color: var(--ink-2);
    font-weight: 600;
    font-size: .94rem;
    text-decoration: none;
}
.nav__link:hover { background: var(--surface-2); color: var(--brand); text-decoration: none; }
.nav__link[aria-current="page"] { color: var(--brand); background: var(--surface-3); }

.header-actions { display: flex; align-items: center; gap: .6rem; flex: none; }

.nav-toggle {
    display: none;
    width: 42px; height: 42px;
    align-items: center;
    justify-content: center;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--brand);
}

@media (max-width: 900px) {
    /* backdrop-filter makes an element a containing block for its
       position:fixed descendants. With it on, the off-canvas drawer parked at
       translateX(100%) resolved against the header instead of the viewport and
       widened the whole document, which is why every page scrolled sideways on
       a phone. The blur is a desktop nicety; drop it where the drawer lives. */
    .site-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: var(--surface);
    }

    .nav-toggle { display: inline-flex; margin-left: auto; }

    /* The whole actions cluster moves into the drawer, which frees the header
       row so the company name is never truncated. */
    .header-actions { display: none; }

    .nav {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(20rem, 84vw);
        background: var(--surface);
        border-left: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
        padding: 0;
        transform: translateX(100%);
        transition: transform .22s ease;
        margin-left: 0;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }
    .nav[data-open="true"] { transform: translateX(0); }

    .nav__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 1rem 1rem 1rem 1.25rem;
        border-bottom: 1px solid var(--line);
        position: sticky;
        top: 0;
        background: var(--surface);
        z-index: 1;
    }
    .nav__head-title {
        font-size: .72rem;
        font-weight: 700;
        letter-spacing: .16em;
        text-transform: uppercase;
        color: var(--muted);
    }

    .nav-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px; height: 40px;
        border: 1px solid var(--line);
        border-radius: var(--radius-sm);
        background: var(--surface-2);
        color: var(--ink);
        cursor: pointer;
        flex: none;
    }
    .nav-close:hover { background: var(--surface-3); border-color: #c9d4e0; }

    .nav__list { flex-direction: column; align-items: stretch; gap: .15rem; padding: 1rem .75rem; }
    .nav__link { padding: .8rem .9rem; font-size: 1rem; }

    .nav__cta {
        display: grid;
        gap: .6rem;
        margin-top: auto;
        padding: 1rem 1.25rem 1.5rem;
        border-top: 1px solid var(--line);
    }
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 28, 40, .45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
    z-index: 40;
}
.nav-backdrop[data-open="true"] { opacity: 1; visibility: visible; }

/* Narrow phones: let the header row compress instead of widening the page. */
@media (max-width: 560px) {
    .site-header__inner { gap: .6rem; }
    .brand { font-size: .98rem; }
    .brand__sub { display: none; }
    .brand__logo--lockup { height: 40px; }
    .header-actions { gap: .4rem; }
    .header-actions .btn { padding: .45rem .75rem; font-size: .82rem; }
}

@media (max-width: 380px) {
    .brand__mark,
    .brand__logo { width: 34px; height: 34px; }
    .brand__logo--lockup { width: auto; height: 34px; }
    .header-actions .btn { padding: .42rem .6rem; font-size: .78rem; }
}

/* ------------------------------------------------------------------ */
/* Hero - Japanese-influenced                                          */
/*                                                                     */
/* The design leans on four ideas rather than decoration:              */
/*   ma        generous, deliberate negative space                     */
/*   kanso     nothing that does not earn its place                    */
/*   fukinsei  an off-centre, left-weighted composition                */
/*   hairlines rules instead of boxes, shadows or fills                */
/* Colour appears once, in the hanko seal.                             */
/* ------------------------------------------------------------------ */
.hero {
    --washi:    #f7f5f1;   /* unbleached paper */
    --sumi:     #16181a;   /* ink */
    --sumi-mid: #4a4f55;
    --sumi-low: #8b9096;
    --hairline: #ded8cd;

    position: relative;
    background: var(--washi);
    color: var(--sumi-mid);
    padding: clamp(2rem, 5vh, 3.25rem) 0 0;
    border-bottom: 1px solid var(--hairline);
    overflow: hidden;
}

/* A single hairline down the left margin, echoing a ruled page. */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: max(1.25rem, calc((100% - var(--wrap)) / 2 - 2.5rem));
    width: 1px;
    background: var(--hairline);
}
@media (max-width: 1200px) { .hero::before { display: none; } }

/* --- Vertical spine label (tategaki) --------------------------------- */
.hero__spine {
    position: absolute;
    top: clamp(2rem, 5vh, 3.25rem);
    left: max(1.25rem, calc((100% - var(--wrap)) / 2 - 2.5rem));
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    pointer-events: none;
}
.hero__spine-rule {
    width: 1px;
    height: clamp(2rem, 6vh, 4rem);
    background: var(--sumi);
    opacity: .5;
}
.hero__spine-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: .69rem;
    font-weight: 600;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--sumi-low);
    white-space: nowrap;
}
@media (max-width: 1200px) { .hero__spine { display: none; } }

/* --- Inner column ---------------------------------------------------- */
.hero__inner {
    position: relative;
}

/* --- Numbered index -------------------------------------------------- */
.hero__index {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin: 0 0 clamp(1rem, 2.4vh, 1.4rem);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--sumi-low);
}
.hero__index-no {
    font-variant-numeric: tabular-nums;
    color: var(--accent);
    letter-spacing: .1em;
}
.hero__index-rule { width: clamp(2rem, 6vw, 4rem); height: 1px; background: var(--hairline); flex: none; }

/* --- Headline -------------------------------------------------------- */
.hero__title {
    margin: 0 0 clamp(1.15rem, 3vh, 1.75rem);
    max-width: 18ch;
    color: var(--sumi);
    font-size: clamp(1.95rem, 1rem + 3.5vw, 3.25rem);
    font-weight: 600;
    line-height: 1.16;
    letter-spacing: -.035em;
    text-wrap: balance;
}

/* --- Lede and status, side by side on wide screens ------------------- */
.hero__body {
    display: grid;
    gap: clamp(1.25rem, 4vw, 3rem);
    align-items: start;
    padding-top: clamp(.9rem, 2vh, 1.25rem);
    border-top: 1px solid var(--hairline);
    max-width: 52rem;
}
.hero__lede {
    margin: 0;
    max-width: 40ch;
    font-size: clamp(.98rem, .93rem + .25vw, 1.08rem);
    line-height: 1.75;
    color: var(--sumi-mid);
}



/* --- Service list, slash separated ----------------------------------- */
.hero__services {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem 0;
    padding: 0;
    margin: clamp(.9rem, 2.2vh, 1.35rem) 0 0;
    max-width: 46rem;
    font-size: .82rem;
    letter-spacing: .04em;
}
.hero__services li { margin: 0; display: inline-flex; align-items: center; }
.hero__services li::after {
    content: "\FF0F";                 /* fullwidth solidus */
    color: var(--hairline);
    margin: 0 .55rem;
}
.hero__services li:last-child::after { content: none; }
.hero__services a {
    color: var(--sumi-mid);
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: color .18s ease, border-color .18s ease;
}
.hero__services a:hover { color: var(--sumi); border-bottom-color: var(--accent); }

/* --- Actions --------------------------------------------------------- */
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: clamp(1.25rem, 3vh, 1.75rem);
}

/* Squared buttons: the style favours a crisp rectangle over a pill. */
.btn-jp {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .78rem 1.4rem;
    border: 1px solid var(--sumi);
    border-radius: 0;
    background: transparent;
    color: var(--sumi);
    font: inherit;
    font-size: .84rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-jp:hover { background: var(--sumi); color: var(--washi); text-decoration: none; }
.btn-jp svg { flex: none; }

.btn-jp--solid { background: var(--sumi); color: var(--washi); }
.btn-jp--solid:hover { background: var(--accent); border-color: var(--accent); color: #fff; }



/* --- Service network figure ------------------------------------------ */
.hero__figure {
    position: absolute;
    top: -1.75rem;
    right: 0;
    width: clamp(15rem, 27vw, 23rem);
    aspect-ratio: 1;
    pointer-events: none;
    color: var(--sumi-low);
}

.hero__net { width: 100%; height: 100%; overflow: visible; }

.hero__net-grid { color: var(--sumi-low); opacity: .5; }

.hero__net-orbit {
    stroke: var(--hairline);
    stroke-width: 1;
    stroke-dasharray: 2 7;
}

.hero__net-links line {
    stroke: var(--hairline);
    stroke-width: 1.25;
}

/* A short dash travelling each link reads as traffic on the network. */
.hero__net-signals line {
    stroke: var(--accent);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 9 300;
    stroke-dashoffset: 300;
    opacity: 0;
}

/* Nodes sit on the paper, so they are filled rather than transparent - the
   links must not show through them. */
.hero__net-node > circle,
.hero__net-hub > circle {
    fill: var(--washi);
    stroke: var(--sumi);
    stroke-width: 1.5;
}

.hero__net-node.is-accent > circle { stroke: var(--accent); }

.hero__net-hub > circle { stroke-width: 1.75; }

.hero__net-hub-ring {
    fill: none !important;
    stroke: var(--hairline) !important;
    stroke-width: 1 !important;
}

.hero__net-glyph {
    fill: none;
    stroke: var(--sumi);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero__net-node.is-accent .hero__net-glyph { stroke: var(--accent); }

@media (prefers-reduced-motion: no-preference) {
    .hero__net-signals line {
        animation: hero-signal 4.25s linear infinite;
    }

    .hero__net-node,
    .hero__net-hub {
        animation: hero-node-in .6s cubic-bezier(.22, .9, .3, 1) both;
    }
    .hero__net-hub                  { animation-delay: .30s; }
    .hero__net-node:nth-of-type(1)  { animation-delay: .42s; }
    .hero__net-node:nth-of-type(2)  { animation-delay: .50s; }
    .hero__net-node:nth-of-type(3)  { animation-delay: .58s; }
    .hero__net-node:nth-of-type(4)  { animation-delay: .66s; }
    .hero__net-node:nth-of-type(5)  { animation-delay: .74s; }
}

@keyframes hero-signal {
    0%        { stroke-dashoffset: 300; opacity: 0; }
    8%        { opacity: 1; }
    62%       { opacity: 1; }
    70%, 100% { stroke-dashoffset: 132; opacity: 0; }
}

@keyframes hero-node-in {
    from { opacity: 0; transform: scale(.86); }
    to   { opacity: 1; transform: none; }
}

/* Scale about each node's own centre rather than the viewBox origin. */
.hero__net-node,
.hero__net-hub {
    transform-box: fill-box;
    transform-origin: center;
}

/* Below this the hero is a single column and the figure would crowd it. */
@media (max-width: 1100px) {
    .hero__figure { display: none; }
}

/* --- Proof, numbered and hairline separated -------------------------- */
.hero__proof {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
    gap: 0;
    padding: 0;
    margin: clamp(1.75rem, 4vh, 2.75rem) 0 0;
    border-top: 1px solid var(--hairline);
}
.hero__proof li {
    margin: 0;
    padding: clamp(1rem, 2.2vh, 1.35rem) clamp(1rem, 2vw, 1.75rem) clamp(1rem, 2.2vh, 1.35rem) 0;
    border-right: 1px solid var(--hairline);
}
.hero__proof li:last-child { border-right: 0; }
@media (max-width: 760px) {
    .hero__proof li { border-right: 0; border-bottom: 1px solid var(--hairline); padding-right: 0; }
    .hero__proof li:last-child { border-bottom: 0; }
}

.hero__proof-no {
    display: block;
    margin-bottom: .5rem;
    font-size: .66rem;
    font-weight: 600;
    letter-spacing: .2em;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}
.hero__proof strong {
    display: block;
    color: var(--sumi);
    font-size: .95rem;
    font-weight: 650;
    letter-spacing: -.01em;
    margin-bottom: .18rem;
}
.hero__proof li > span:last-child {
    font-size: .8rem;
    line-height: 1.5;
    color: var(--sumi-low);
}

/* --- Scroll cue ------------------------------------------------------ */
.hero__scroll {
    display: flex;
    align-items: center;
    gap: .7rem;
    width: max-content;
    margin: 0 auto;
    padding: clamp(.9rem, 2vh, 1.25rem) 0 clamp(1.1rem, 2.5vh, 1.6rem);
    color: var(--sumi-low);
    font-size: .66rem;
    font-weight: 600;
    letter-spacing: .26em;
    text-transform: uppercase;
    text-decoration: none;
}
.hero__scroll:hover { color: var(--sumi); text-decoration: none; }
.hero__scroll i {
    display: block;
    width: 2.75rem;
    height: 1px;
    background: var(--hairline);
    position: relative;
    overflow: hidden;
}
.hero__scroll i::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--sumi);
    transform: translateX(-100%);
    animation: hero-draw 2.6s ease-in-out infinite;
}

@keyframes hero-draw {
    0%   { transform: translateX(-100%); }
    55%  { transform: translateX(0); }
    100% { transform: translateX(100%); }
}

/* --- Entrance, restrained -------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
    .hero__index,
    .hero__title,
    .hero__body,
    .hero__services,
    .hero__actions,
    .hero__proof { animation: hero-rise .7s cubic-bezier(.22, .9, .3, 1) both; }

    .hero__index    { animation-delay: .02s; }
    .hero__title    { animation-delay: .10s; }
    .hero__body     { animation-delay: .18s; }
    .hero__services { animation-delay: .26s; }
    .hero__actions  { animation-delay: .32s; }
    .hero__proof    { animation-delay: .40s; }
}

@keyframes hero-rise {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hero__scroll i::after { animation: none; }
}

@media (max-width: 600px) {
    .hero__actions .btn-jp { width: 100%; justify-content: center; }
    .hero__title { max-width: none; }

    /* Stacked one per line, the slash separators only dangle at line ends. */
    .hero__services { gap: .55rem 0; }
    .hero__services li { width: 100%; }
    .hero__services li::after { content: none; }
}

/* ------------------------------------------------------------------ */
/* About page                                                          */
/* ------------------------------------------------------------------ */
.about-grid {
    display: grid;
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: start;
}
@media (min-width: 900px) {
    .about-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
}
.about-grid__body > p { font-size: 1.03rem; }

.about-motto {
    margin-top: 1.75rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    color: var(--ink);
    font-size: 1.05rem;
}
.about-motto strong { color: var(--brand); }

.about-expect { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.about-expect li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin: 0;
    font-size: .97rem;
}
.about-expect svg { flex: none; color: var(--ok); margin-top: .25rem; }

/* --- Mission & vision cards ---------------------------------------- */
.purpose__card { padding: clamp(1.5rem, 3vw, 2.15rem); height: 100%; }
.purpose__icon {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: var(--brand);
    color: #fff;
    margin-bottom: 1.1rem;
}
.purpose__card h2 { font-size: 1.35rem; margin-bottom: .6em; }
.purpose__card p { color: var(--ink-2); font-size: .98rem; }
.purpose__card p + p { margin-top: .9em; }

/* ------------------------------------------------------------------ */
/* Founder block                                                       */
/* ------------------------------------------------------------------ */
.founder {
    display: grid;
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: start;
}

@media (min-width: 860px) {
    .founder { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); }
}

/* --- Portrait ------------------------------------------------------ */
.founder__media {
    position: relative;
    width: min(20rem, 100%);
    margin-inline: auto;
}

.founder__photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    object-fit: cover;
    object-position: center 12%;
    display: block;
    border: 1px solid var(--line);
    background: var(--surface-3);
    box-shadow: var(--shadow);
}

/* Shown until a real photograph is uploaded. */
.founder__photo--placeholder {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 5;
    font-size: clamp(3rem, 10vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--brand-500);
    background: linear-gradient(150deg, var(--surface-3), var(--surface-2));
}

/* Accent frame offset behind the portrait. */
.founder__media::before {
    content: "";
    position: absolute;
    inset: 14px -14px -14px 14px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--accent);
    opacity: .35;
    z-index: -1;
}

.founder__badge {
    position: absolute;
    left: 50%;
    bottom: -.9rem;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .95rem;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
    white-space: nowrap;
    box-shadow: var(--shadow);
}
.founder__badge svg { color: var(--accent); flex: none; }

/* --- Copy ---------------------------------------------------------- */
.founder__body { min-width: 0; }

.founder__name {
    margin-bottom: .15em;
    font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.15rem);
}

.founder__role {
    color: var(--brand-500);
    font-weight: 650;
    font-size: 1rem;
    margin-bottom: 1.4em;
}

.founder__body p { color: var(--ink-2); }

/* --- Expertise ----------------------------------------------------- */
.founder__skills {
    list-style: none;
    padding: 0;
    margin: 1.75rem 0 0;
    display: grid;
    gap: .55rem 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}
.founder__skills li {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0;
    font-size: .92rem;
    color: var(--ink);
    font-weight: 550;
}
.founder__skills svg { flex: none; color: var(--ok); }

/* --- Mission pull-quote -------------------------------------------- */
.founder__mission {
    margin: 1.85rem 0 0;
    padding: 1.15rem 1.35rem;
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: var(--surface);
    color: var(--ink);
    font-size: 1.02rem;
    font-style: italic;
    line-height: 1.6;
    box-shadow: var(--shadow-sm);
}

.founder__actions { margin-top: 1.85rem; }

@media (max-width: 859px) {
    .founder { text-align: left; }
    .founder__media { margin-inline: 0; }
    .founder__badge { left: 1.5rem; transform: none; }
}


/* ------------------------------------------------------------------ */
/* Blog cards                                                          */
/* ------------------------------------------------------------------ */
.post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .16s ease, box-shadow .16s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.post-card__media {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--surface-3), var(--surface-2));
    display: grid;
    place-items: center;
    overflow: hidden;
}
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__media svg { color: #b6c6d6; }

.post-card__body { padding: 1.35rem; display: flex; flex-direction: column; flex: 1; }
.post-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
    font-size: .78rem;
    color: var(--muted);
    margin-bottom: .7rem;
}
.post-card h3 { font-size: 1.08rem; margin-bottom: .45em; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--brand-500); }
.post-card p { font-size: .92rem; color: var(--muted); margin-bottom: 1rem; }
.post-card__more { margin-top: auto; font-size: .88rem; font-weight: 600; }

.chip {
    display: inline-block;
    padding: .2rem .6rem;
    border-radius: 999px;
    background: var(--surface-3);
    color: var(--brand-500);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
    margin-bottom: 2rem;
}
.filter-bar__link {
    padding: .4rem .85rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--ink-2);
    background: var(--surface);
    text-decoration: none;
}
.filter-bar__link:hover { border-color: var(--brand-500); color: var(--brand-500); text-decoration: none; }
.filter-bar__link[aria-current="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ------------------------------------------------------------------ */
/* Digital marketing page                                              */
/* ------------------------------------------------------------------ */

/* A darker page head, so the landing page reads as its own thing.

   Doubled selector on purpose: the base .page-head rule is defined further
   down this file, and with equal specificity the later rule would win and
   paint the light background straight back over this one. */
.page-head.page-head--marketing {
    background:
        radial-gradient(900px 420px at 85% -30%, rgba(47, 107, 166, .55), transparent 65%),
        linear-gradient(165deg, #0d2438 0%, #123350 55%, #0f2a44 100%);
    border-bottom: 0;
    color: #cfdeeb;
}
.page-head--marketing h1 { color: #fff; }
.page-head--marketing .lede { color: #b8cbdd; }
.page-head--marketing .breadcrumbs { color: #8ba5bd; }
.page-head--marketing .breadcrumbs a { color: #b8cbdd; }
.page-head--marketing .breadcrumbs a:hover { color: #fff; }
.page-head--marketing .breadcrumbs li + li::before { color: #63809b; }
.page-head--marketing .page-head__inner { max-width: 52rem; }

/* Channel row under the eyebrow: Google Ads . Facebook . Instagram . */
.channel-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem .9rem;
    padding: 0;
    margin: 0 0 1.1rem;
    font-size: .92rem;
    font-weight: 600;
    color: #cfdeeb;
}
.channel-list li { margin: 0; display: inline-flex; align-items: center; gap: .9rem; }
.channel-list li + li::before {
    content: "";
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--accent);
    flex: none;
}

/* --- Service cards -------------------------------------------------- */
.marketing-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.65rem;
}
.marketing-card__icon {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: var(--surface-3);
    color: var(--brand-500);
    margin-bottom: 1.05rem;
    flex: none;
}
.marketing-card:hover .marketing-card__icon { background: var(--brand); color: #fff; }
.marketing-card h3 { font-size: 1.1rem; margin-bottom: .4em; }
.marketing-card > p { font-size: .93rem; color: var(--muted); margin-bottom: 1.15rem; }

.marketing-card__points {
    list-style: none;
    padding: 1.05rem 0 0;
    margin: 0;
    border-top: 1px solid var(--line-2);
    display: grid;
    gap: .5rem;
}
.marketing-card__points li {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    margin: 0;
    font-size: .89rem;
    color: var(--ink-2);
}
.marketing-card__points svg { flex: none; color: var(--ok); margin-top: .22rem; }

/* --- Who we help ---------------------------------------------------- */
.audience-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .6rem;
}
.audience-list li {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin: 0;
    padding: .5rem 1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    font-size: .92rem;
    font-weight: 550;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}
.audience-list svg { color: var(--brand-500); flex: none; }
.audience-list__more {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    font-style: italic;
}

/* ------------------------------------------------------------------ */
/* Article body                                                        */
/* ------------------------------------------------------------------ */
.article {
    max-width: 46rem;
    margin-inline: auto;
}

.article__header { margin-bottom: 2.25rem; }
.article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1rem;
    align-items: center;
    color: var(--muted);
    font-size: .88rem;
    margin-bottom: 1rem;
}

.article__cover {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid var(--line);
}

.prose { font-size: 1.03rem; color: var(--ink-2); }
.prose h2 { font-size: 1.5rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.8em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose img { border-radius: var(--radius-sm); margin: 1.5em 0; border: 1px solid var(--line); }
.prose blockquote {
    margin: 1.6em 0;
    padding: .3em 0 .3em 1.25em;
    border-left: 3px solid var(--accent);
    color: var(--ink);
    font-style: italic;
}
.prose code {
    background: var(--surface-3);
    padding: .15em .4em;
    border-radius: 4px;
    font-size: .9em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.prose pre {
    background: #0f1720;
    color: #e6edf3;
    padding: 1.1rem 1.25rem;
    border-radius: var(--radius-sm);
    overflow-x: auto;
    font-size: .88rem;
}
.prose pre code { background: none; padding: 0; color: inherit; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .94rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; }
.prose th { background: var(--surface-2); font-weight: 700; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

.table-scroll { overflow-x: auto; }

/* ------------------------------------------------------------------ */
/* Forms                                                               */
/* ------------------------------------------------------------------ */
.field { margin-bottom: 1.05rem; }

.field label,
.form-label {
    display: block;
    font-size: .88rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: .38rem;
}

.field .req { color: var(--danger); }

.input, .select, .textarea,
input[type="text"], input[type="email"], input[type="tel"],
input[type="password"], input[type="date"], input[type="number"],
input[type="search"], input[type="datetime-local"], select, textarea {
    width: 100%;
    padding: .7rem .85rem;
    font: inherit;
    font-size: .95rem;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    transition: border-color .15s ease, box-shadow .15s ease;
    -webkit-appearance: none;
    appearance: none;
}

select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364778c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    padding-right: 2.4rem;
}

textarea { min-height: 7rem; resize: vertical; line-height: 1.6; }

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--brand-500);
    box-shadow: 0 0 0 3px rgba(29, 82, 133, .14);
}

input::placeholder, textarea::placeholder { color: #9fb0c1; }

.field--error input,
.field--error select,
.field--error textarea { border-color: var(--danger); }

.field-error {
    display: block;
    margin-top: .35rem;
    font-size: .82rem;
    color: var(--danger);
    font-weight: 500;
}

.field-hint {
    display: block;
    margin-top: .35rem;
    font-size: .82rem;
    color: var(--muted);
}

.field-row {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .92rem;
    cursor: pointer;
}
.checkbox input { width: auto; margin-top: .25rem; flex: none; }

/* The honeypot must be reachable by nothing and visible to no one. */
.hp-field {
    position: absolute !important;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

/* ------------------------------------------------------------------ */
/* Alerts                                                              */
/* ------------------------------------------------------------------ */
.alert {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    padding: .85rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid;
    font-size: .93rem;
    margin-bottom: 1rem;
}
.alert svg { flex: none; margin-top: .15rem; }
.alert p { margin: 0; }
.alert--success { background: var(--ok-bg);     border-color: #bfe3cd; color: #12602f; }
.alert--error   { background: var(--danger-bg); border-color: #f4c9c9; color: #971818; }
.alert--warning { background: var(--warn-bg);   border-color: #f0d9ac; color: #8a4408; }
.alert--info    { background: var(--info-bg);   border-color: #c6d6fa; color: #1a3fa8; }

/* ------------------------------------------------------------------ */
/* Trust / compliance strip                                            */
/* ------------------------------------------------------------------ */
.trust-strip {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
    padding: 1.5rem;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.trust-strip__item { display: flex; gap: .8rem; align-items: flex-start; }
.trust-strip__item svg { flex: none; color: var(--brand-500); margin-top: .15rem; }
.trust-strip__item strong { display: block; color: var(--ink); font-size: .95rem; }
.trust-strip__item span { font-size: .87rem; color: var(--muted); }

/* FAQ */
.faq { max-width: 46rem; margin-inline: auto; }
.faq details {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    margin-bottom: .7rem;
    overflow: hidden;
}
.faq details[open] { border-color: #c9d8e6; box-shadow: var(--shadow-sm); }
.faq summary {
    cursor: pointer;
    padding: 1rem 1.2rem;
    font-weight: 650;
    color: var(--ink);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    font-size: 1.35rem;
    color: var(--brand-500);
    line-height: 1;
    flex: none;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 1.2rem 1.15rem; color: var(--muted); font-size: .95rem; }

/* CTA band */
.cta-band {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-600) 100%);
    color: #dbe6f1;
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 5vw, 3.25rem);
    display: grid;
    gap: 1.75rem;
    align-items: center;
}
@media (min-width: 800px) { .cta-band { grid-template-columns: 1.5fr auto; } }
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { color: #b8cbdd; margin: 0; }

/* ------------------------------------------------------------------ */
/* Pagination                                                          */
/* ------------------------------------------------------------------ */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    align-items: center;
    justify-content: center;
    margin-top: 2.5rem;
    list-style: none;
    padding: 0;
}
.pagination li { margin: 0; }
.pagination a, .pagination span {
    display: grid;
    place-items: center;
    min-width: 2.4rem;
    height: 2.4rem;
    padding: 0 .6rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: .9rem;
    font-weight: 600;
    color: var(--ink-2);
    background: var(--surface);
    text-decoration: none;
}
.pagination a:hover { border-color: var(--brand-500); color: var(--brand-500); text-decoration: none; }
.pagination [aria-current="page"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination .is-disabled { opacity: .45; pointer-events: none; }
.pagination .is-gap { border: 0; background: none; min-width: 1.4rem; }

/* ------------------------------------------------------------------ */
/* Breadcrumbs                                                         */
/* ------------------------------------------------------------------ */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    font-size: .84rem;
    color: var(--muted);
}
.breadcrumbs li { margin: 0; display: flex; align-items: center; gap: .35rem; }
.breadcrumbs li + li::before { content: "/"; color: #b6c6d6; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--brand-500); }

.page-head {
    padding: clamp(2.25rem, 5vw, 3.5rem) 0 0;
    background: var(--surface-2);
    border-bottom: 1px solid var(--line);
}
.page-head__inner { padding-bottom: clamp(2rem, 4vw, 3rem); max-width: 48rem; }

/* ------------------------------------------------------------------ */
/* Footer (SRS 3.1 trust & compliance)                                 */
/* ------------------------------------------------------------------ */
.site-footer {
    background: #0c1e30;
    color: #a9bccd;
    padding: clamp(3rem, 6vw, 4.5rem) 0 0;
    font-size: .92rem;
}

.site-footer h2, .site-footer h3 {
    color: #fff;
    font-size: .82rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}

.footer-grid {
    display: grid;
    gap: 2.25rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
    padding-bottom: 2.75rem;
}
.footer-grid > div:first-child { grid-column: span 1; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }

.site-footer p { color: #a9bccd; }
.site-footer a { color: #cbdae7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
    display: flex;
    gap: .65rem;
    align-items: flex-start;
    margin-bottom: .8rem;
}
.footer-contact svg { flex: none; margin-top: .2rem; color: #6f8ba5; }

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}
.footer-brand:hover { text-decoration: none; }

/* The lockup's charcoal passages sit at roughly 2:1 against the footer's
   navy, so it gets a light plate rather than being dropped straight on. */
.footer-brand__plate {
    display: inline-flex;
    padding: .55rem .7rem;
    border-radius: var(--radius-sm);
    background: #fff;
}
.footer-brand--lockup { gap: 0; }
.footer-brand--lockup .brand__logo--lockup {
    width: auto;
    height: 46px;
    max-width: 100%;
}

.udyam-badge {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-top: 1.1rem;
    padding: .6rem .85rem;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .05);
    font-size: .82rem;
    color: #cbdae7;
}
.udyam-badge svg { color: #6fd08c; flex: none; }
.udyam-badge strong { color: #fff; display: block; font-size: .84rem; letter-spacing: .02em; }

/* --- Social profiles ------------------------------------------------ */
/* Icon-only in the footer, where the row has to stay compact; labelled
   on the contact page, where there is room to say where a link goes. */
.footer-social {
    list-style: none;
    margin: 1.1rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}
.footer-social a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .05);
    color: #cbdae7;
    transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    text-decoration: none;
}

.social-heading {
    margin: 2rem 0 .85rem;
    font-size: .82rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}

.social-row {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}
.social-row a {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .85rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    font-size: .88rem;
    font-weight: 600;
    color: var(--ink-2);
}
.social-row a:hover {
    border-color: var(--brand-500);
    color: var(--brand-500);
    text-decoration: none;
}
.social-row svg { flex: none; }

/* Header row. Hidden by default and only shown from 1101px up: measured at
   1000px the header has under 40px to spare, and two more buttons would push
   the quote CTA off the row. Below 900px the drawer carries them instead. */
.social-icons {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    align-items: center;
    gap: .3rem;
}
.social-icons a {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    color: var(--muted);
    transition: background .16s ease, color .16s ease;
}
.social-icons a:hover {
    background: var(--surface-3);
    color: var(--brand-500);
    text-decoration: none;
}

@media (min-width: 1101px) {
    .social-icons { display: flex; }
}

/* --- Fixed rail on the left edge ------------------------------------ */
/* Content is capped at 1140px, so the gutter beside it is (vw - 1140)/2.
   The rail is 51px wide including its padding, so the clearance it leaves is
   (vw - 1140) / 2 - 51. Measured at 1242px that came to exactly 0 and the
   rail sat flush against the hero heading, so the cut-off is 1320px, which
   leaves 39px. Below that it is hidden -- the drawer and the footer already
   carry the same links.

   z-index sits under the drawer backdrop (40), the WhatsApp button (45)
   and the sticky header (50), so it never covers any of them. */
.social-rail {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 35;
    display: none;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 0;
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: var(--shadow);
}

.social-rail a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    color: var(--muted);
    transition: background .16s ease, color .16s ease;
}
.social-rail a:hover,
.social-rail a:focus-visible {
    background: var(--surface-3);
    color: var(--brand-500);
    text-decoration: none;
}

@media (min-width: 1320px) {
    .social-rail { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
    .social-rail a { transition: none; }
}

/* In the drawer the tiles sit under the call-to-action buttons. */
.nav__cta .footer-social {
    margin-top: 1rem;
    justify-content: center;
}
.nav__cta .footer-social a {
    border-color: var(--line);
    background: var(--surface-2);
    color: var(--ink-2);
}
.nav__cta .footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .social-icons a { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
    .footer-social a { transition: none; }
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 1.35rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.5rem;
    align-items: center;
    justify-content: space-between;
    font-size: .84rem;
    color: #8ba2b8;
}

.footer-credit {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    flex-wrap: wrap;
}
.footer-credit strong,
.footer-credit a {
    color: #cbdae7;
    font-weight: 650;
}
.footer-credit a:hover { color: #fff; }

/* Release number. Set apart from the registration numbers beside it so it
   reads as build metadata rather than another statutory identifier. */
.footer-version {
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
    opacity: .75;
}

/* Floating WhatsApp action (SRS 3.1 click-to-chat) */
.wa-float {
    position: fixed;
    right: clamp(1rem, 3vw, 1.75rem);
    bottom: clamp(1rem, 3vw, 1.75rem);
    z-index: 45;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .8rem 1.15rem;
    border-radius: 999px;
    background: #25d366;
    color: #06331a;
    font-weight: 700;
    font-size: .92rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, .38);
    text-decoration: none;
}
.wa-float:hover { background: #1fbb5a; color: #06331a; text-decoration: none; }
.wa-float svg { flex: none; }
@media (max-width: 560px) {
    .wa-float__label { display: none; }
    .wa-float { padding: .9rem; }
}

/* ------------------------------------------------------------------ */
/* Contact page                                                        */
/* ------------------------------------------------------------------ */
.contact-grid {
    display: grid;
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: start;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
    display: flex;
    gap: .9rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line-2);
    margin: 0;
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list svg { flex: none; color: var(--brand-500); margin-top: .2rem; }
.contact-list strong { display: block; color: var(--ink); font-size: .88rem; }
.contact-list a { font-size: .98rem; }

/* Empty states */
.empty {
    text-align: center;
    padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
    color: var(--muted);
}
.empty svg { color: #b6c6d6; margin: 0 auto 1rem; }
.empty h3 { color: var(--ink); margin-bottom: .4em; }
.empty p { margin-bottom: 1.25rem; }

/* Print: never waste a page on furniture. */
@media print {
    .site-header, .site-footer, .marquee, .wa-float, .social-rail, .btn, .nav-backdrop { display: none !important; }
    body { color: #000; background: #fff; }
    .wrap { width: 100%; }
}


/* ------------------------------------------------------------------ */
/* Work gallery                                                        */
/*                                                                     */
/* The posters are tall (2:3 and 5:6) and dense with type, so the      */
/* tiles are narrower than the service cards and the artwork is shown  */
/* whole rather than cropped to a uniform box - cropping a poster      */
/* removes the words it was made for.                                  */
/* ------------------------------------------------------------------ */
.work-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--gap);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

.work-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .16s ease, box-shadow .16s ease;
}
.work-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.work-card__media {
    position: relative;
    display: block;
    background: var(--surface-3);
    line-height: 0;
}
.work-card__media img { width: 100%; height: auto; }

/* The overlay is the only affordance saying the poster opens full size. */
.work-card__zoom {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .55rem;
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    background: rgba(12, 30, 48, .82);
    opacity: 0;
    transition: opacity .16s ease;
}
.work-card__media:hover .work-card__zoom,
.work-card__media:focus-visible .work-card__zoom { opacity: 1; }

/* Touch devices have no hover, so keep the label permanently visible. */
@media (hover: none) {
    .work-card__zoom { opacity: 1; }
}

.work-card__body {
    padding: 1.1rem 1.2rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.work-card__body h3 { font-size: 1rem; margin-bottom: .35em; }
.work-card__body p {
    font-size: .89rem;
    color: var(--muted);
    margin-bottom: .9rem;
}

.work-card__link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .86rem;
    font-weight: 600;
}
.work-card__link:hover { text-decoration: none; }
.work-card__link svg { transition: transform .16s ease; }
.work-card__link:hover svg { transform: translateX(3px); }

/* --- Clips ---------------------------------------------------------- */
.work-videos__head {
    margin: clamp(2.25rem, 5vw, 3.25rem) 0 1.25rem;
    font-size: 1.1rem;
    text-align: center;
}

.work-videos {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--gap);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
}

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

.work-video__player {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 848 / 478;
    background: #0c1e30;
}
