/* ==========================================================================
   InnerWe — promo one-pager
   ========================================================================== */

/* --- Navigation ----------------------------------------------------------- */

.site-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px clamp(18px, 4vw, 44px);
    border-bottom: 1px solid transparent;
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: background .35s, border-color .35s;
}

.site-nav.is-scrolled {
    border-bottom-color: var(--line);
    background: var(--nav-bg-solid);
}

.site-nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.4vw, 30px);
}

.site-nav-links {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.4vw, 30px);
}

.nav-link {
    padding: 5px 0;
    color: var(--ink-soft);
    font-size: 1rem;
    font-weight: 500;
}

/* --- Scroll narrative hero ------------------------------------------------ */

/* The base rules below are the plain stacked document: what no-JS visitors,
   crawlers and reduced-motion visitors get. `.js-hero` on <html> upgrades it to
   the pinned scroll narrative, and is set by the inline head script so the
   upgrade lands before first paint rather than shifting the layout after it. */

.hero {
    position: relative;
}

.js-hero .hero {
    /* Scroll travel is this minus one viewport, so 340vh runs the four beats in
       240vh of scrolling. It was 520vh, which asked for over four screens of
       wheel before the page moved on. */
    height: 340vh;
}

.hero-stage {
    padding: calc(var(--nav-height) + clamp(40px, 8vw, 90px)) 0 clamp(60px, 9vw, 110px);
}

.js-hero .hero-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100dvh;
    padding: 0;
    overflow: hidden;
}

.hero-final {
    padding: 0 24px;
    text-align: center;
    opacity: var(--final-opacity, 1);
    transform: translateY(calc(var(--final-y, 0) * 1px));
}

.js-hero .hero-final {
    position: absolute;
    top: 14%;
    right: 0;
    left: 0;
    opacity: var(--final-opacity, 0);
}

.hero-eyebrow {
    margin: 0 0 16px;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--mint-deep);
}

.hero-title {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.05;
    color: var(--ink);
}

.hero-lead {
    margin: 16px auto 0;
    max-width: 600px;
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 300;
    line-height: 1.5;
    color: var(--ink-soft);
}

.hero-markwrap {
    display: flex;
    margin: clamp(40px, 6vw, 70px) 0;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.js-hero .hero-markwrap {
    position: absolute;
    top: 6%;
    right: 0;
    left: 0;
    height: 60%;
    margin: 0;
}

.hero-lift {
    transform: translateY(calc(var(--lift, 0) * 23vh));
    transform-origin: center;
}

/* The 480px design grid is expressed in container units below, so the whole
   lockup scales with the viewport without any JavaScript measuring. */
.hero-scale {
    position: relative;
    width: min(480px, 50vh, 84vw);
    height: min(480px, 50vh, 84vw);
    container-type: size;
}

.hero-mark {
    position: relative;
    width: 100%;
    height: 100%;
    transform: translateX(calc(var(--mark-shift, 0) * 1cqw)) scale(var(--mark-scale, 1));
    transform-origin: center;
    will-change: transform;
}

.hero-spokes,
.hero-nodes {
    position: absolute;
    inset: 0;
}

/* Each connector in the mark is a pair of triangles meeting point to point, not
   a bar: a long taper off the core and a short one into the node. The element is
   only the carrier — the two halves are drawn by the pseudo-elements, because a
   clip-path on the carrier would clip them too. Every measurement is the mark's
   own geometry scaled to the 480px grid. */
.hero-spoke {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14.5cqw;
    height: 2.7425cqw;
    margin-top: -1.3712cqw;
    opacity: var(--spoke-opacity, 1);
    transform: rotate(var(--angle)) translateX(25.6cqw) scaleX(var(--spoke-scale, 1));
    transform-origin: 0 50%;
}

.js-hero .hero-spoke {
    opacity: var(--spoke-opacity, 0);
    transform: rotate(var(--angle)) translateX(25.6cqw) scaleX(var(--spoke-scale, 0));
}

.hero-spoke::before,
.hero-spoke::after {
    position: absolute;
    top: 0;
    height: 100%;
    background: var(--point-color);
    content: '';
}

/* Base against the core, tapering outwards. */
.hero-spoke::before {
    left: 0;
    width: 58.8%;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* Shorter counterpart, base tucked under the node. */
.hero-spoke::after {
    right: 0;
    width: 36.8%;
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

/* The mark's seven points, each a spoke and the node it reaches. Declaring the
   pair together is what keeps a spoke aimed at its own node and stops the two
   colour lists drifting apart. The angles are measured off mark.svg: seven even
   steps of 360/7 starting at the top, not the 45° grid this once used. */
.hero-spoke:nth-child(1), .hero-node:nth-child(1) { --angle: -89.92deg;  --point-color: var(--indigo); }
.hero-spoke:nth-child(2), .hero-node:nth-child(2) { --angle: -139.28deg; --point-color: var(--violet); }
.hero-spoke:nth-child(3), .hero-node:nth-child(3) { --angle: -39.28deg;  --point-color: var(--violet); }
.hero-spoke:nth-child(4), .hero-node:nth-child(4) { --angle: 166.09deg;  --point-color: var(--mint); }
.hero-spoke:nth-child(5), .hero-node:nth-child(5) { --angle: 9.9deg;     --point-color: var(--mint); }
.hero-spoke:nth-child(6), .hero-node:nth-child(6) { --angle: 113.03deg;  --point-color: var(--violet); }
.hero-spoke:nth-child(7), .hero-node:nth-child(7) { --angle: 59.9deg;    --point-color: var(--indigo); }

.hero-core {
    position: absolute;
    top: 27.0833cqw;
    left: 27.0833cqw;
    display: flex;
    width: 45.8333cqw;
    height: 45.8333cqw;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--mark-core);
    box-shadow: 0 6.25cqw 14.5833cqw -5cqw rgba(45, 27, 61, .55);
}

.hero-iw {
    font-size: 20cqw;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1;
    color: var(--on-mark-core);
    opacity: var(--iw-opacity, 1);
}

.js-hero .hero-iw {
    opacity: var(--iw-opacity, 0);
}

/* Placed by angle and radius from the centre, the way the mark is drawn, rather
   than by a top/left pair per node. The second rotation cancels the first so the
   node itself stays upright and its float animation reads as vertical. */
.hero-node {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7.5cqw;
    height: 7.5cqw;
    margin: -3.75cqw 0 0 -3.75cqw;
    opacity: var(--node-progress, 1);
    transform: rotate(var(--angle)) translateX(41.375cqw) rotate(calc(-1 * var(--angle))) scale(var(--node-progress, 1));
}

.js-hero .hero-node {
    opacity: var(--node-progress, 0);
    transform: rotate(var(--angle)) translateX(41.375cqw) rotate(calc(-1 * var(--angle))) scale(var(--node-progress, 0));
}

.hero-dot {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--point-color);
    animation: iw-float var(--float-duration, 4s) ease-in-out infinite var(--float-delay, 0s);
}

/* Only the drift is staggered here — the colour comes down from the point. */
.hero-node:nth-child(1) .hero-dot { --float-duration: 4s;   --float-delay: 0s; }
.hero-node:nth-child(2) .hero-dot { --float-duration: 4.4s; --float-delay: .3s; }
.hero-node:nth-child(3) .hero-dot { --float-duration: 4.2s; --float-delay: .6s; }
.hero-node:nth-child(4) .hero-dot { --float-duration: 4.6s; --float-delay: .15s; }
.hero-node:nth-child(5) .hero-dot { --float-duration: 4.3s; --float-delay: .45s; }
.hero-node:nth-child(6) .hero-dot { --float-duration: 4.5s; --float-delay: .5s; }
.hero-node:nth-child(7) .hero-dot { --float-duration: 4.1s; --float-delay: .25s; }

@keyframes iw-float {
    0%,
    100% { transform: translateY(0); }
    50%  { transform: translateY(-1.0417cqw); }
}

.hero-wordmark {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    font-size: 15.8333cqw;
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1;
    white-space: nowrap;
    color: var(--ink);
    opacity: var(--wordmark-opacity, 0);
    transform: translate(-50%, -50%) translateX(calc(var(--wordmark-x, 39.5833) * 1cqw));
    pointer-events: none;
}

.js-hero .hero-wordmark {
    display: block;
}

.hero-wordmark-we {
    color: var(--mint);
}

.hero-messages {
    display: grid;
    gap: clamp(40px, 6vw, 64px);
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.js-hero .hero-messages {
    position: absolute;
    right: 0;
    bottom: 8%;
    left: 0;
    display: block;
    max-width: none;
    height: 150px;
}

.hero-message {
    opacity: var(--msg-opacity, 1);
    transform: translateY(calc(var(--msg-y, 0) * 1px));
}

.js-hero .hero-message {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    opacity: var(--msg-opacity, 0);
}

.js-hero .hero-message-core {
    opacity: var(--msg-opacity, 1);
}

.hero-message .eyebrow {
    margin-bottom: 14px;
}

.hero-message h2 {
    margin: 0;
    font-size: clamp(1.7rem, 4.2vw, 3rem);
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--ink);
}

.hero-message-text {
    margin: 12px auto 0;
    max-width: 560px;
    font-size: clamp(.98rem, 1.8vw, 1.2rem);
    font-weight: 300;
    color: var(--ink-soft);
}

.hero-hint {
    position: absolute;
    bottom: 34px;
    left: 50%;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--ink-faint);
    opacity: var(--hint-opacity, 1);
    transform: translateX(-50%);
}

.js-hero .hero-hint {
    display: flex;
}

.hero-hint span {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.hero-hint svg {
    animation: iw-hint-bob 1.8s ease-in-out infinite;
}

@keyframes iw-hint-bob {
    0%,
    100% { opacity: .55; transform: translateY(0); }
    50%  { opacity: 1;   transform: translateY(7px); }
}

/* --- The origin ----------------------------------------------------------- */

.origin {
    max-width: 1000px;
    margin: 0 auto;
    padding: clamp(80px, 12vw, 150px) clamp(22px, 5vw, 40px);
    text-align: center;
}

.origin .eyebrow {
    margin-bottom: 26px;
}

.origin-intro {
    margin: 0 auto;
    max-width: 560px;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    font-weight: 300;
    color: var(--ink-soft);
}

.origin-question {
    margin: 22px auto 0;
    max-width: 900px;
    font-size: clamp(1.9rem, 4.6vw, 3.4rem);
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.1;
    text-wrap: balance;
    color: var(--ink);
}

.origin-question em {
    font-style: italic;
    color: var(--accent);
}

.origin-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 38px 0 0;
    font-size: clamp(1.1rem, 2.2vw, 1.45rem);
    font-weight: 300;
    color: var(--ink-soft);
}

.origin-payoff {
    margin: 40px 0 0;
    font-size: clamp(1.6rem, 3.6vw, 2.6rem);
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--ink);
}

/* --- Principles ----------------------------------------------------------- */

.principles {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    transition: background .5s;
}

.principles-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(70px, 10vw, 120px) clamp(22px, 5vw, 40px);
}

.principles-head {
    max-width: 640px;
    margin-bottom: clamp(44px, 6vw, 66px);
}

.principles-head h2 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.1;
    color: var(--ink);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(16px, 2.4vw, 28px);
}

.principle-card {
    padding: 34px 30px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--panel);
    transition: transform .3s, box-shadow .3s, background .5s;
}

.principle-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.principle-icon {
    display: flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 15px;
}

.principle-icon-identity { background: var(--indigo); }
.principle-icon-image    { background: var(--violet); }
.principle-icon-perform  { background: var(--mint); }

.principle-card h3 {
    margin: 0 0 10px;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--ink);
}

.principle-card p {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.55;
    color: var(--ink-soft);
}

/* --- How it works --------------------------------------------------------- */

.how {
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(80px, 11vw, 140px) clamp(22px, 5vw, 40px);
}

.section-head {
    max-width: 680px;
    margin: 0 auto clamp(48px, 7vw, 80px);
    text-align: center;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(1.9rem, 4.4vw, 3.2rem);
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.1;
    /* Translations run longer than the English these headings were written
       for, so let the browser pick the break rather than forcing one. */
    text-wrap: balance;
    color: var(--ink);
}

/* The three steps are a cycle, not a list, so they run as a pyramid joined by
   rounded arrows on a shared circle. Narrow screens cannot hold that shape, so
   they get the stacked column instead — with arrows between the steps and a
   fourth "Repeat" card that says out loud what the ring says visually. */

.how-cycle {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
}

.how-step {
    margin: 0;
    text-align: center;
}

.how-number {
    display: flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    border: 2px solid currentcolor;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--step-color);
}

/* One colour per step, declared once and inherited by the step's disc and by
   the arrow that leaves it. Step 4 reuses step 1's indigo — it *is* step 1. */
.how-step[data-step="1"], .how-link[data-step="1"] { --step-color: var(--indigo); }
.how-step[data-step="2"], .how-link[data-step="2"] { --step-color: var(--violet); }
.how-step[data-step="3"], .how-link[data-step="3"] { --step-color: var(--mint-deep); }
.how-step[data-step="4"] { --step-color: var(--indigo); }

.how-step h3 {
    margin: 0 0 10px;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ink);
}

.how-step-text {
    margin: 0 auto;
    max-width: 280px;
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.55;
    color: var(--ink-soft);
}

/* --- Stacked connectors --------------------------------------------------- */

.how-link {
    width: 48px;
    margin: 4px 0 10px;
    opacity: .62;
}

.how-link svg {
    display: block;
    width: 48px;
    height: 84px;
}

/* Alternating the bow keeps the column from reading as one straight rail. */
.how-link[data-step="2"] svg {
    transform: scaleX(-1);
}

.how-link-line {
    fill: none;
    stroke: var(--step-color);
    stroke-width: 2.6;
    stroke-linecap: round;
}

.how-link-head {
    fill: var(--step-color);
}

/* --- The ring ------------------------------------------------------------- */

/* Parked out of the way until the pyramid takes over. Deliberately not
   `display:none`: an element with no box never intersects, so the reveal
   observer would skip it and a tablet rotated into landscape would find the
   ring stuck at opacity 0. */
.how-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.how-ring-arrow {
    opacity: .6;
}

.how-ring-line {
    fill: none;
    stroke: var(--arrow-color);
    stroke-width: 2.4;
    stroke-linecap: round;
}

.how-ring-head {
    fill: var(--arrow-color);
}

/* --- The pyramid ---------------------------------------------------------- */

/* Below this the cards would be too cramped to read, so the stack stands in.
   The stage is a container, and everything inside it is sized in `cqw` against
   the 765px design width — so the whole diagram scales as one piece and the
   ring's geometry keeps matching the cards at every width. */
@media (min-width: 900px) {
    .how-cycle {
        display: block;
        container-type: inline-size;
        max-width: 765px;
        aspect-ratio: 765 / 718;
    }

    .how-ring {
        top: auto;
        left: auto;
        z-index: 0;
        display: block;
        width: 100%;
        height: 100%;
        inset: 0;
        overflow: visible;
        opacity: 1;
    }

    .how-step {
        position: absolute;
        z-index: 1;
        width: 35%;
    }


    .how-step[data-step="1"] { left: 30%; top: 0%; }
    .how-step[data-step="2"] { left: 55%; top: 55%; }
    .how-step[data-step="3"] { left: 0%; top: 55%; }

    .how-number {
        width: 8.367cqw;
        height: 8.367cqw;
        margin-bottom: 3.137cqw;
        border-width: 0.261cqw;
        font-size: 3.137cqw;
    }

    .how-step h3 {
        margin-bottom: 1.307cqw;
        font-size: 2.824cqw;
    }

    .how-step-text {
        max-width: none;
        font-size: 2.196cqw;
    }

    .how-link {
        display: none;
    }

    /* The ring carries the loop visually; this keeps it in the reading order
       for anyone who cannot see it. */
    .how-step-repeat {
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
}

/* --- Ring draw-in --------------------------------------------------------- */

.js-reveal .how-ring-line {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1s var(--ease-out-soft) var(--draw-delay, 0s);
}

.js-reveal .how-ring.is-revealed .how-ring-line {
    stroke-dashoffset: 0;
}

.js-reveal .how-ring-head {
    opacity: 0;
    transition: opacity .35s ease calc(var(--draw-delay, 0s) + .7s);
}

.js-reveal .how-ring.is-revealed .how-ring-head {
    opacity: 1;
}

.how-ring-arrow-two { --draw-delay: .2s; }
.how-ring-arrow-three { --draw-delay: .4s; }

/* --- The app -------------------------------------------------------------- */

.app-band {
    overflow: hidden;
    background: var(--core);
    color: var(--on-core);
    transition: background .5s;
}

.app-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(80px, 11vw, 140px) clamp(22px, 5vw, 40px);
}

.app-band .section-head {
    max-width: 660px;
}

.app-band .eyebrow {
    color: var(--mint);
}

.app-band .section-head h2 {
    color: #FFFFFF;
}

.app-lead {
    margin: 18px auto 0;
    max-width: 500px;
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.55;
    color: var(--on-core-soft);
}

.app-phones {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    gap: clamp(18px, 3vw, 44px);
}

.phone {
    flex: none;
    margin: 0;
    width: 246px;
    height: 525px;
    padding: 11px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 42px;
    background: var(--phone-frame);
    box-shadow: var(--shadow-phone);
}

.phone-raised {
    transform: translateY(-26px);
}

.phone-screen {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 32px;
    background: var(--phone-screen);
    object-fit: cover;
    object-position: top center;
}

/* --- Why it matters ------------------------------------------------------- */

.why {
    max-width: 1000px;
    margin: 0 auto;
    padding: clamp(80px, 11vw, 150px) clamp(22px, 5vw, 40px);
    text-align: center;
}

.why .eyebrow {
    margin-bottom: 26px;
}

.why h2 {
    margin: 0 auto;
    max-width: 820px;
    font-size: clamp(1.8rem, 4.2vw, 3rem);
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.12;
    text-wrap: balance;
    color: var(--ink);
}

.why h2 em {
    font-style: italic;
    color: var(--accent);
}

.why-quote {
    margin: 44px auto 0;
    max-width: 640px;
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow-quote);
    text-align: left;
    transition: background .5s;
}

.why-quote-mark {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: .6;
    color: var(--mint);
}

.why-quote-text {
    margin: 6px 0 0;
    font-size: clamp(1.15rem, 2.4vw, 1.55rem);
    font-weight: 300;
    line-height: 1.5;
    color: var(--ink);
}

.why-quote strong {
    font-weight: 600;
    color: var(--accent);
}

.why-quote .is-muted {
    color: var(--ink-soft);
}

.why-note {
    margin: 34px auto 0;
    max-width: 540px;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--ink-soft);
}

/* --- Try it --------------------------------------------------------------- */

.try-band {
    background: var(--core);
    color: var(--on-core);
    transition: background .5s;
}

.try-inner {
    max-width: 820px;
    margin: 0 auto;
    padding: clamp(80px, 11vw, 150px) clamp(22px, 5vw, 40px);
    text-align: center;
}

.try-band .eyebrow {
    margin-bottom: 24px;
    color: var(--mint);
}

.try-band h2 {
    margin: 0 auto;
    max-width: 640px;
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.08;
    color: #FFFFFF;
}

.try-lead {
    margin: 20px auto 0;
    max-width: 520px;
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.55;
    color: var(--on-core-soft);
}

.try-actions {
    display: flex;
    justify-content: center;
    margin: 40px 0 0;
}

.try-band .waitlist {
    margin: 60px auto 0;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

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

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--bg);
    transition: background .5s;
}

.site-footer-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(48px, 7vw, 72px) clamp(22px, 5vw, 40px);
}

.site-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-footer-brand .brand-mark {
    height: 30px;
}

.site-footer-brand .brand-name {
    font-size: 1.2rem;
}

.site-footer-tagline {
    margin: 0;
    max-width: 280px;
    font-size: .98rem;
    font-weight: 300;
    color: var(--ink-soft);
}

.site-footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(28px, 5vw, 56px);
}

.site-footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer-column h3 {
    margin: 0;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.site-footer-column a {
    padding: 4px 0;
    color: var(--ink-soft);
    font-size: .98rem;
}

.site-footer-column span {
    color: var(--ink-faint);
    font-size: .98rem;
}

.site-footer-bottom {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 clamp(22px, 5vw, 40px) 40px;
}

.site-footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: .86rem;
    color: var(--ink-faint);
}

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 760px) {
    .site-nav-links {
        display: none;
    }
}

/* The brand, the language switcher, the theme toggle and the CTA all have to
   fit one line on a phone, and a translated CTA is wider than the English one
   these paddings were set for. */
@media (max-width: 500px) {
    .site-nav {
        gap: 10px;
        padding-right: 14px;
        padding-left: 14px;
    }

    .site-nav-menu {
        gap: 10px;
    }

    .lang-toggle {
        padding: 0 10px;
    }

    .cta-nav {
        padding: 9px 15px;
        font-size: .95rem;
    }
}

/* Narrower than this the revealed lockup (mark shifted left, wordmark right)
   runs past both edges of the stage, so the whole grid steps down. */
@media (max-width: 480px) {
    .hero-scale {
        width: min(480px, 50vh, 72vw);
        height: min(480px, 50vh, 72vw);
    }
}

@media (max-width: 420px) {
    .js-hero .hero-messages {
        height: 190px;
    }
}
