/*============================== TECH LAYER (2026) ==============================*/
/* Interactive "tech" components layered on top of styles.css.
   Layout concept: a dark network-canvas hero with a live terminal, then light content
   sections punctuated by dark "console" panels (migration path, SRE dashboard). */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&display=swap');

:root{
    --ink: #06122b;          /* hero + console background */
    --ink-2: #0c1f45;        /* raised console surface */
    --ink-line: rgba(135, 196, 255, .16);
    --glow: #87C4FF;         /* brand light blue, used as the signal colour */
    --ok: #3ddc97;           /* healthy / success */
    --warn: #ffc857;
    --on-ink: #e8f1ff;
    --on-ink-muted: #9fb6d9;
    --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

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

/*------------------------------ HERO ------------------------------*/
.hero{
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(60% 80% at 85% 10%, rgba(0, 47, 138, .55), transparent 70%),
        var(--ink);
    color: var(--on-ink);
    padding-block: 5rem 3.5rem;
}

.hero__net{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero__inner{
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
    padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.hero__copy{ min-width: 0; }

.hero__eyebrow{
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: var(--smaller-font-size);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--glow);
    border: 1px solid var(--ink-line);
    border-radius: 999px;
    padding: .35rem .8rem;
    margin-bottom: 1.5rem;
}

.pulse{
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 0 0 rgba(61, 220, 151, .6);
    animation: pulse 2s infinite;
}

@keyframes pulse{
    70%{ box-shadow: 0 0 0 .55rem rgba(61, 220, 151, 0); }
    100%{ box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); }
}

.hero h1{
    color: var(--on-ink);
    font-weight: var(--font-light);
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.12;
    text-wrap: balance;
    margin-bottom: 1.25rem;
}

.hero__accent{
    font-weight: var(--font-semi-bold);
    background: linear-gradient(90deg, var(--glow), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__lead{
    color: var(--on-ink-muted);
    font-size: 1.05rem;
    max-width: 34rem;
    margin-bottom: 2rem;
}

.hero__cta{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero .button{
    background: var(--glow);
    color: var(--ink);
    font-weight: var(--font-semi-bold);
}

.hero .button:hover{ background: #ffffff; color: var(--ink); }

.hero .button--ghost{
    background: transparent;
    color: var(--on-ink);
    border-color: var(--ink-line);
}

.hero .button--ghost:hover{ background: rgba(135, 196, 255, .1); color: var(--on-ink); }

.hero .trust__strip{
    justify-content: flex-start;
    color: var(--on-ink-muted);
    font-weight: var(--font-regular);
    padding: 0;
    margin: 0;
}

.hero .trust__strip li{
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.hero .trust__strip i{ color: var(--glow); }

/*------------------------------ TERMINAL ------------------------------*/
.term{
    min-width: 0;
    background: rgba(12, 31, 69, .85);
    border: 1px solid var(--ink-line);
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(135, 196, 255, .05) inset;
    backdrop-filter: blur(6px);
}

.term__bar{
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .7rem 1rem;
    border-bottom: 1px solid var(--ink-line);
    font-size: var(--smaller-font-size);
    color: var(--on-ink-muted);
}

.term__bar span{
    width: .7rem;
    height: .7rem;
    border-radius: 50%;
    background: #2b3f66;
}

.term__bar span:first-child{ background: #ff6b6b; }
.term__bar span:nth-child(2){ background: var(--warn); }
.term__bar span:nth-child(3){ background: var(--ok); }
.term__bar b{ margin-left: .5rem; font-weight: 400; }

.term__body{
    font-family: var(--mono);
    font-size: .8rem;
    line-height: 1.75;
    color: var(--on-ink);
    padding: 1.1rem 1.2rem 1.3rem;
    margin: 0;
    min-height: 17.5em;
    overflow-wrap: anywhere;
}

.term__body .cmd::before{ content: "$ "; color: var(--glow); }
.term__body .ok{ color: var(--ok); }
.term__body .muted{ color: var(--on-ink-muted); }

.term__caret{
    display: inline-block;
    width: .55em;
    height: 1.1em;
    vertical-align: -.2em;
    background: var(--glow);
    animation: blink 1s steps(1) infinite;
}

@keyframes blink{ 50%{ opacity: 0; } }

.term__note{
    font-size: var(--smaller-font-size);
    color: var(--on-ink-muted);
    padding: 0 1.2rem 1rem;
}

/*------------------------------ SERVICE CARDS: SPOTLIGHT ------------------------------*/
.card--tech{
    position: relative;
    overflow: hidden;
    text-align: left;
    border: 1px solid var(--second-color);
    box-shadow: 0 1px 0 rgba(0, 47, 138, .05);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.card--tech::before{
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(135, 196, 255, .28), transparent 60%);
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
}

.card--tech:hover{
    transform: translateY(-4px);
    border-color: var(--glow);
    box-shadow: 0 18px 40px rgba(0, 47, 138, .18);
}

.card--tech:hover::before{ opacity: 1; }

.card--tech .card__icon{ margin-bottom: .5rem; }

.card__tag{
    display: block;
    font-family: var(--mono);
    font-size: var(--smaller-font-size);
    color: var(--title-color);
    margin-top: .9rem;
}

/*------------------------------ CONSOLE PANELS (shared) ------------------------------*/
.console{
    background: var(--ink);
    color: var(--on-ink);
    border-radius: 16px;
    border: 1px solid var(--ink-line);
    padding: 1.5rem;
}

/*------------------------------ MIGRATION PATH ------------------------------*/
.path{
    max-width: 1000px;
    margin: 0 auto;
    padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
}

.path__steps{
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .5rem;
    margin-bottom: 1.25rem;
}

.path__track{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--ink-line);
}

.path__fill{
    display: block;
    height: 100%;
    width: 25%;
    background: var(--glow);
    box-shadow: 0 0 12px var(--glow);
    transition: width .45s ease;
}

.path__step{
    font: inherit;
    text-align: left;
    background: transparent;
    border: 0;
    color: var(--on-ink-muted);
    padding: .25rem .25rem 1rem;
    cursor: pointer;
    min-width: 0;
}

.path__step .mono{
    display: block;
    font-size: var(--smaller-font-size);
    color: var(--glow);
    opacity: .7;
}

.path__step strong{
    display: block;
    font-weight: var(--font-semi-bold);
    font-size: 1rem;
}

.path__step[aria-selected="true"]{ color: var(--on-ink); }
.path__step[aria-selected="true"] .mono{ opacity: 1; }
.path__step:hover{ color: var(--on-ink); }

.path__step:focus-visible,
.dash button:focus-visible{
    outline: 2px solid var(--glow);
    outline-offset: 2px;
    border-radius: 6px;
}

.path__panel{
    display: grid;
    gap: 1rem 2rem;
}

.path__panel[hidden]{ display: none; }

.path__panel h3{
    color: var(--on-ink);
    font-size: 1.15rem;
    margin-bottom: .4rem;
}

.path__panel p{ color: var(--on-ink-muted); }

.path__panel ul{
    font-family: var(--mono);
    font-size: .8rem;
    display: grid;
    gap: .45rem;
    align-content: start;
}

.path__panel li::before{
    content: "✓ ";
    color: var(--ok);
}

/*------------------------------ SRE DASHBOARD ------------------------------*/
.managed__grid{
    display: grid;
    gap: 1.5rem;
    align-items: start;
}

.managed__grid .cards__grid{ grid-template-columns: 1fr; }
.managed__grid .card{ text-align: left; }

.dash{ min-width: 0; }

.dash__head{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: 1.25rem;
}

.dash__svc{
    font-family: var(--mono);
    font-size: .85rem;
    color: var(--on-ink);
}

.dash__svc small{ color: var(--on-ink-muted); }

.pill{
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: var(--smaller-font-size);
    font-weight: var(--font-semi-bold);
    border-radius: 999px;
    padding: .2rem .7rem;
    background: rgba(61, 220, 151, .12);
    color: var(--ok);
}

.dash__tiles{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
    margin-bottom: 1rem;
}

.tile{
    background: var(--ink-2);
    border: 1px solid var(--ink-line);
    border-radius: 10px;
    padding: .8rem .9rem;
    min-width: 0;
}

.tile__label{
    display: block;
    font-size: var(--smaller-font-size);
    color: var(--on-ink-muted);
    margin-bottom: .25rem;
}

.tile__value{
    font-family: var(--mono);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--on-ink);
    font-variant-numeric: tabular-nums;
}

.tile__value small{
    font-size: .75rem;
    color: var(--on-ink-muted);
    font-weight: 400;
}

.budget{
    height: 6px;
    border-radius: 3px;
    background: rgba(135, 196, 255, .15);
    margin-top: .5rem;
    overflow: hidden;
}

.budget span{
    display: block;
    height: 100%;
    background: var(--ok);
}

.dash__chart{
    background: var(--ink-2);
    border: 1px solid var(--ink-line);
    border-radius: 10px;
    padding: .8rem .9rem .6rem;
}

.dash__chart canvas{
    display: block;
    width: 100%;
    height: 110px;
}

.dash__foot{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-top: 1rem;
    font-size: var(--smaller-font-size);
    color: var(--on-ink-muted);
}

.dash button{
    font: inherit;
    font-size: var(--smaller-font-size);
    color: var(--ink);
    background: var(--glow);
    border: 0;
    border-radius: 6px;
    padding: .45rem .8rem;
    cursor: pointer;
}

.dash.is-incident .pill{ background: rgba(255, 200, 87, .14); color: var(--warn); }
.dash.is-incident .budget span{ background: var(--warn); }

/*------------------------------ PHOTO BAND (brand elephants) ------------------------------*/
.band{
    position: relative;
    max-height: 420px;
    overflow: hidden;
}

.band img{
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center 60%;
    display: block;
}

.band__quote{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.5rem max(1.5rem, env(safe-area-inset-left, 0px));
    text-align: center;
    font-size: clamp(1.1rem, 2.6vw, 1.6rem);
    font-weight: var(--font-semi-bold);
    letter-spacing: .02em;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 20, 70, .6);
}

/*------------------------------ NAV: room for the extra link ------------------------------*/
.nav__link{ white-space: nowrap; }

/*------------------------------ RESPONSIVE ------------------------------*/
@media screen and (max-width: 767px){
    .hero{ padding-block: 3rem 2.5rem; }

    .path__steps{
        grid-template-columns: repeat(2, 1fr);
    }

    .path__track{ display: none; }

    .path__step{
        border-bottom: 2px solid var(--ink-line);
        padding-bottom: .6rem;
    }

    .path__step[aria-selected="true"]{ border-bottom-color: var(--glow); }

    .band img{ height: 260px; }
}

@media screen and (min-width: 768px){
    .hero{ padding-block: 8rem 5rem; }

    .path__panel{ grid-template-columns: 1.2fr 1fr; }
}

@media screen and (min-width: 768px) and (max-width: 1023px){
    .nav__list{ column-gap: 1.1rem; }
    .nav__link{ font-size: .9rem; }
}

@media screen and (min-width: 1024px){
    .nav__desk{ max-width: 1120px; padding: 0 1.5rem; }

    .hero__inner{ grid-template-columns: 1.1fr 1fr; }

    .managed__grid{
        max-width: 1000px;
        margin: 0 auto;
        grid-template-columns: 1fr 1.15fr;
    }

    .dash__tiles{ grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce){
    .pulse,
    .term__caret{ animation: none; }

    .card--tech,
    .path__fill{ transition: none; }
}

.dash.is-incident .pill .pulse{ background: var(--warn); animation: none; }

@media screen and (min-width: 768px){
    .band__quote{
        text-align: left;
        max-width: 1120px;
        margin: 0 auto;
        padding-bottom: 2rem;
    }
}

/*============================== BRAND EMPHASIS ==============================*/
/* The company name and mark lead the page: nav lockup, hero lockup, company section. */
.brand{
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: 1.1rem;
    letter-spacing: .01em;
}

.brand b{ font-weight: var(--font-light); margin-left: .2rem; }

.brand__mark{
    width: 40px;
    height: auto;
}

.hero__brand{
    display: flex;
    align-items: center;
    gap: 1.1rem;
    margin-bottom: 1.75rem;
}

.hero__mark{
    width: clamp(88px, 12vw, 140px);
    height: auto;
    flex-shrink: 0;
    filter: drop-shadow(0 0 18px rgba(135, 196, 255, .35));
}

.hero .hero__name{
    font-size: clamp(2.3rem, 6vw, 4rem);
    font-weight: var(--font-semi-bold);
    line-height: 1;
    letter-spacing: -.01em;
    margin: 0 0 .45rem;
    color: #ffffff;
}

.hero__kicker{
    font-family: var(--mono);
    font-size: var(--small-font-size);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--glow);
}

.hero__tagline{
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: var(--font-light);
    line-height: 1.25;
    color: var(--on-ink);
    text-wrap: balance;
    margin-bottom: 1rem;
}

.company{
    background: var(--container-color-blue);
    color: var(--on-ink);
    padding-block: 3.5rem;
}

.company__inner{
    max-width: 1120px;
    margin: 0 auto;
    padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
    display: grid;
    gap: 2rem;
}

.company__mark{
    width: 88px;
    height: auto;
    margin-bottom: 1rem;
}

.company h2{
    color: #ffffff;
    font-size: clamp(1.6rem, 3.4vw, 2.2rem);
    font-weight: var(--font-semi-bold);
    margin-bottom: .75rem;
}

.company__intro p{
    color: var(--second-color);
    max-width: 32rem;
    font-size: 1.02rem;
}

.company__facts{
    display: grid;
    gap: 1rem;
}

.fact{
    border: 1px solid rgba(183, 219, 255, .25);
    border-radius: 12px;
    padding: 1.1rem 1.2rem;
    min-width: 0;
}

.fact__icon{
    font-size: 1.6rem;
    color: var(--glow);
}

.fact h3{
    color: #ffffff;
    font-size: 1rem;
    margin: .3rem 0 .25rem;
}

.fact p{
    color: var(--second-color);
    font-size: var(--small-font-size);
}

@media screen and (min-width: 600px){
    .company__facts{ grid-template-columns: repeat(2, 1fr); }
}

@media screen and (min-width: 1024px){
    .company{ padding-block: 5rem; }
    .company__inner{ grid-template-columns: .9fr 1.3fr; align-items: center; }
}

/*============================== ELEPHANT EMBLEM ==============================*/
/* The elephants photo is the hero's main visual; the terminal sits just below it. */
.hero__visual{
    position: relative;
    min-width: 0;
    width: 100%;
    max-width: 560px;      /* keeps the herd at photo quality on tablets */
    margin-inline: auto;
}

/* elephants-cutout.webp is the v2 photo with the sky keyed out and the grass edges
   feathered (built by tools/elephants_cutout.py from the original elephant_ivorytech_v2.png),
   so the herd stands directly on the navy hero with no frame around it. */
.hero__visual::before{
    content: "";
    position: absolute;
    inset: 8% 6% 30%;
    background: radial-gradient(closest-side, rgba(135, 196, 255, .22), transparent);
    filter: blur(20px);
    pointer-events: none;
}

.hero__photo{
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35));
}

.hero__visual .term{
    position: relative;
    margin: -1.75rem 0 0 1.25rem;
}

.hero__visual .term__body{
    min-height: 11.5em;
    font-size: .74rem;
}

@media screen and (min-width: 1024px){
    .hero__visual .term{ margin-left: 2.5rem; }
}

.band__quote span{
    display: block;
    font-size: .6em;
    font-weight: var(--font-regular);
    margin-top: .3rem;
    opacity: .9;
}

.band .band__quote{
    top: 0;
    bottom: auto;
    color: var(--text-color-blue);
    text-shadow: none;
    padding-top: 1.75rem;
}

/* The original template pads <main> by 1rem between 768 and 1023px, which left white
   strips beside the full-bleed dark sections on tablets. Containers keep their own gutters. */
@media screen and (min-width: 768px) and (max-width: 1023px){
    .main{ padding: 0; }
}

/*============================== ACCESSIBILITY FIXES ==============================*/
/* Anchor links land below the fixed 80px desktop header instead of under it. */
@media screen and (min-width: 768px){
    section[id]{ scroll-margin-top: 5.5rem; }
    #contact{ scroll-margin-top: 7rem; }   /* its heading has no top padding on desktop */
}

/* Visible keyboard focus on the contact fields (the template removes the outline). */
.contact__input:focus-visible{
    outline: 2px solid var(--title-color);
    outline-offset: 2px;
}

.path__panel:focus-visible{
    outline: 2px solid var(--glow);
    outline-offset: -2px;
}

/* Mobile menu buttons: real <button>s with SVG icons, reset to look like the old icons. */
.nav__toggle,
.nav__close{
    background: none;
    border: 0;
    padding: 0;
    line-height: 0;
    font: inherit;
    color: var(--text-color-white);
}

.nav__toggle:focus-visible,
.nav__close:focus-visible{
    outline: 2px solid var(--glow);
    outline-offset: 4px;
    border-radius: 4px;
}

/* The closed mobile menu sits off screen; keep its links out of the tab order too. */
@media screen and (max-width: 767px){
    .nav__toggle{ padding: .5rem; margin: -.5rem; }
    .nav__menu{ visibility: hidden; transition: bottom .3s, visibility 0s .3s; }
    .nav__menu.show-menu{ visibility: visible; transition: bottom .3s; }
}

/* Small phones: let the logo and the name stack so the H1 never gets clipped. */
@media screen and (max-width: 400px){
    .hero__brand{ flex-wrap: wrap; row-gap: .75rem; }
    .hero__mark{ width: 64px; height: auto; }
    .hero .hero__name{ font-size: clamp(1.9rem, 10vw, 2.6rem); }
}

/*============================== FEEDBACK 2026-11-12 ==============================*/
/* Hero herd: smaller so the copy leads and the terminal stays in view. */
.hero__photo{
    max-width: 380px;
    margin-inline: auto;
}

@media screen and (max-width: 767px){
    .hero__photo{ max-width: 280px; }
}

/* Footer: same navy family as the hero and header instead of the mid blue. */
.footer,
.footer__bg{
    background:
        radial-gradient(60% 120% at 85% 0%, rgba(0, 47, 138, .55), transparent 70%),
        var(--ink);
}

.footer{ border-top: 1px solid var(--ink-line); }

.footer .footer__title{ color: #ffffff; }
.footer .footer__subtitle{ color: var(--glow); font-family: var(--mono); letter-spacing: .04em; }
.footer .footer__links,
.footer .footer__links p{ color: var(--on-ink-muted, #b9c6dc); }
.footer .footer__link{ color: #ffffff; }
.footer .footer__link:hover{ color: var(--glow); }

/* Hero visual, compact: the copy and the call to action lead; the visual supports.
   - desktop: narrower visual column, smaller herd, terminal capped at 4 visible lines
   - phones: the terminal is decorative (role="img"), so it is dropped to keep the hero
     to about one screen; the herd stays as a small brand accent */
@media screen and (min-width: 1024px){
    .hero__inner{ grid-template-columns: 1.3fr .8fr; }
}

.hero__visual{ max-width: 420px; }
.hero__photo{ max-width: 300px; }

.hero__visual .term__body{
    min-height: 0;
    height: 7.6em;               /* four rows of output */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;   /* newest lines stay in view, like a real terminal */
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 1.8em);
            mask-image: linear-gradient(to bottom, transparent, #000 1.8em);   /* older lines scroll away softly */
}

@media screen and (max-width: 767px){
    .hero__visual .term{ display: none; }
    .hero__photo{ max-width: 220px; }
    .hero__visual::before{ inset: 0 10%; }
}

/* Current section in the nav (set by scrollActive in main.js). */
.nav__link.active-link{
    color: var(--glow);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}

/* Open mobile menu never exceeds the viewport (landscape phones); it scrolls instead. */
@media screen and (max-width: 767px){
    .nav__menu{
        max-height: 100vh;
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    @supports (height: 100dvh){ .nav__menu{ max-height: 100dvh; } }
}

/*============================== ONE NAVY + NO REPEATED BRAND (2026-11-12) ==============================*/
/* The nav bar uses the hero's ink navy instead of royal blue, so the top of the page reads as one block.
   The logo and name live in the nav only; the hero opens with the kicker and the tagline as the H1. */
.header{ background-color: var(--ink); border-bottom: 0; }
.nav__menu{ background-color: var(--ink); }
.hero__kicker--top{ margin-bottom: 1.25rem; }
.hero h1.hero__tagline{
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: var(--font-light);
    line-height: 1.15;
    color: var(--on-ink);
    margin-bottom: 1.25rem;
}
/*============================== BRAND PALETTE (standardised, 2026-11-12) ==============================*/
/* Roles: ink #06122B = dark surfaces (nav, hero, consoles, bands, footer) · navy #0C356A = titles and body
   text on light · glow #87C4FF = accent on dark · ivory #F7F3EA = alternate light surface · white = cards. */
:root{
    --ivory: #ffffff; /* ivory surface (#f7f3ea) paused 2026-11-12: all light sections are white for now */
    --title-color: #0c356a;
    --first-color-alt: #0c1f45; /* dark hover so the light hover text (#b7dbff) stays readable */
    --first-color-lighter: #e3f0ff;
    --color-contact: #0c356a;
    --color-input: #0c356a;
}

/* Alternate light sections (home: approach, work, contact; CI page: commitments). */
.approach, .work, .contact,
.ci-page #engagements{ background-color: var(--ivory); }
.approach, .work{ padding-bottom: 3rem; }
.contact{ padding-bottom: 3rem; }

/* Contact form: white fields with a light border instead of light-blue blocks. */
.contact__content{ background: #ffffff; border: 1px solid #e3eaf4; }
.contact__input{ background-color: #ffffff; }
.contact__content:focus-within{ border-color: var(--title-color); }

.approach, .work, .contact,
.ci-page #engagements{ border-top: 1px solid #e3eaf4; border-bottom: 1px solid #e3eaf4; }
.section__title, .section__title__contact{ font-weight: var(--font-regular); }
.card--tech{ border-color: #d9e2f0; }
/* No seam between the nav and the hero: the hero glow starts lower so the top edge stays ink. */
.hero{
    background:
        radial-gradient(55% 70% at 85% 55%, rgba(0, 47, 138, .5), transparent 70%),
        var(--ink);
}

/*============================== LIGHTER BANDS + NO GAPS (2026-11-12) ==============================*/
/* No white strip between the last section and the footer. */
.footer{ margin-top: 0; }
/* Home contact: drop the old 320-380px top offset that left an empty band on phones. */
.contact.section__contact{ padding-top: 3.5rem; }

/* "Pourquoi Ivory Technology": light ivory band, navy text, white cards (same treatment as "Notre principe" on the CI page). */
.company{
    background: var(--ivory);
    color: var(--title-color);
    border-top: 1px solid #e3eaf4;
    border-bottom: 1px solid #e3eaf4;
}
.company h2, .company .fact h3{ color: var(--title-color); }
.company__intro p, .company .fact p{ color: #3a4a63; }
.company .fact{ background: #ffffff; border-color: #e3eaf4; }
.company .fact__icon{ color: var(--title-color); }
/* "Pourquoi Ivory Technology": centred title and intro above the facts, like every other section. */
.company .company__inner{ grid-template-columns: 1fr; gap: 2rem; }
.company .company__intro{ text-align: center; max-width: 46rem; margin: 0 auto; }
.company .company__intro p{ max-width: none; }
@media screen and (min-width: 1024px){
    .company .company__facts{ grid-template-columns: repeat(4, 1fr); }
}
.company h2{ font-weight: var(--font-regular); font-size: clamp(1.7rem, 3.4vw, 2.2rem); text-wrap: balance; }

/*============================== OUR STORY (2026-11-15) ==============================*/
/* Origin story: text and two values on the left, the elephant photo on the right. Stacks on phones. */
.story{ background: #ffffff; padding: 3.5rem 0; }
.story__inner{
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    gap: 2rem;
    align-items: center;
}
.story__eyebrow{
    font-family: var(--mono);
    font-size: var(--small-font-size);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #3270ad;
    margin-bottom: .5rem;
}
.ci-flag.story__flag{ width: 72px; height: 3px; margin-bottom: 1rem; border: 1px solid #e3eaf4; }
.story__title{
    color: var(--title-color);
    font-weight: var(--font-regular);
    font-size: clamp(1.6rem, 3.2vw, 2.1rem);
    line-height: 1.25;
    margin-bottom: 1.25rem;
    text-wrap: balance;
}
.story__text > p{ color: #3a4a63; margin-bottom: 1rem; max-width: 38rem; }
.story__values{ display: grid; gap: 1rem; margin-top: 1.5rem; }
.story__value{ border: 1px solid #e3eaf4; border-radius: 12px; padding: 1.1rem 1.2rem; }
.story__value h3{ color: var(--title-color); font-size: 1rem; margin: .3rem 0 .25rem; }
.story__value p{ color: #3a4a63; font-size: var(--small-font-size); }
.story__value .uil{ font-size: 1.6rem; color: var(--title-color); }
.story__media{ margin: 0; }
.story__media img{
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 16px;
}
@media screen and (min-width: 600px){
    .story__values{ grid-template-columns: 1fr 1fr; }
}
@media screen and (min-width: 960px){
    .story{ padding: 5rem 0; }
    .story__inner{ grid-template-columns: 1.4fr 1fr; gap: 4rem; }
    .story__media img{ max-width: 420px; }
}
