/* Toupin Technologies: shared styles for every language version of the site. */

/* Figtree, self-hosted (SIL Open Font License, see fonts/OFL.txt). One variable file covers every weight. */
@font-face {
    font-family: "Figtree";
    src: url("../fonts/figtree.woff2") format("woff2");
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Palette */
    --bg: #f4eee5;
    --surface: #f8f3ec;
    --surface-2: #ece2d3;
    --tan: #c4ab7e;
    --tan-deep: #a88d60;
    --tan-soft: #d8c5a0;
    --brand-yellow: #e1c041;
    --ink: #2d2926;
    --ink-deep: #221e1b;
    --text-main: #2d2926;
    --text-muted: #5f574f;
    --text-faint: #6f665c;
    --rule: rgba(45, 41, 38, 0.14);
    --rule-soft: rgba(45, 41, 38, 0.08);
    --on-dark: #f4eee5;
    --on-dark-muted: rgba(244, 238, 229, 0.72);
    --on-dark-rule: rgba(244, 238, 229, 0.16);

    /* Shape and depth */
    --radius-md: 22px;
    --radius-lg: 30px;
    --radius-pill: 999px;
    --shadow-sm: 0 2px 8px rgba(32, 28, 25, 0.035);
    --shadow-md: 0 16px 40px rgba(32, 28, 25, 0.08);

    /* Layout */
    --max-width: 1240px;
    --gutter: clamp(1rem, 4vw, 2rem);
    --section-space: clamp(4.5rem, 10vw, 8.5rem);
    --header-height: 76px;

    /* Motion */
    --ease: cubic-bezier(.16, 1, .3, 1);
    --transition-fast: 180ms var(--ease);
    --transition-slow: 800ms var(--ease);

    /* Type */
    --font: "Figtree", "Segoe UI", "Avenir Next", Arial, sans-serif;
    --text-xs: clamp(0.75rem, 0.72rem + 0.16vw, 0.84rem);
    --text-sm: clamp(0.875rem, 0.84rem + 0.18vw, 0.98rem);
    --text-base: clamp(1rem, 0.97rem + 0.22vw, 1.08rem);
    --text-lg: clamp(1.12rem, 1.02rem + 0.5vw, 1.38rem);
    --text-xl: clamp(1.3rem, 1.1rem + 0.8vw, 1.8rem);
    --text-h2: clamp(2.1rem, 1.35rem + 2.9vw, 3.9rem);
    --text-display: clamp(2.9rem, 1.6rem + 5.4vw, 6.6rem);
}

/* French runs about 20% longer, so its large headings step down a size. */
html[lang="fr"] {
    --text-h2: clamp(1.95rem, 1.3rem + 2.4vw, 3.35rem);
    --text-display: clamp(2.5rem, 1.45rem + 4.3vw, 5.4rem);
}

/* Base */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 12px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text-main);
    font-family: var(--font);
    font-size: var(--text-base);
    /* Slightly heavier than regular, matching the Sofia Pro Medium the design was approved in. */
    font-weight: 450;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

h1, h2, h3, p, dl, dd {
    margin: 0;
}

a, button {
    transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

:focus-visible {
    outline: 3px solid rgba(199, 175, 132, 0.6);
    outline-offset: 3px;
    border-radius: 8px;
}

::selection {
    background: var(--tan-soft);
    color: var(--ink);
}

.container {
    width: min(100% - 2 * var(--gutter), var(--max-width));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
}

    .skip-link:focus {
        left: 16px;
        top: 16px;
        z-index: 300;
        background: #fff;
        padding: 0.8rem 1rem;
        border-radius: 12px;
        box-shadow: var(--shadow-md);
    }

.nowrap {
    white-space: nowrap;
}

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

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 50px;
    padding: 0.85rem 1.35rem;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.04em;
}

    .btn .arrow {
        width: 1em;
        height: 1em;
        flex-shrink: 0;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: transform var(--transition-fast);
    }

    .btn:hover .arrow {
        transform: translateX(3px);
    }

.btn-primary {
    background: var(--ink);
    color: #fff;
}

    .btn-primary:hover {
        background: var(--ink-deep);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

.btn-secondary {
    border-color: var(--rule);
    color: var(--ink);
}

    .btn-secondary:hover {
        border-color: var(--ink);
        transform: translateY(-2px);
    }

.btn-light {
    background: var(--on-dark);
    color: var(--ink);
}

    .btn-light:hover {
        background: #fff;
        transform: translateY(-2px);
    }

.btn-small {
    min-height: 44px;
    padding: 0.65rem 1.1rem;
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(244, 238, 229, 0.86);
    -webkit-backdrop-filter: saturate(1.2) blur(14px);
    backdrop-filter: saturate(1.2) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

    .site-header.scrolled,
    .site-header.menu-open {
        border-bottom-color: var(--rule-soft);
        background: rgba(244, 238, 229, 0.96);
    }

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    height: var(--header-height);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-right: auto;
    min-width: 0;
    text-decoration: none;
}

    .brand img {
        width: 38px;
        height: 38px;
        flex-shrink: 0;
    }

.brand-name {
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

    .nav-links a {
        position: relative;
        padding: 0.4rem 0;
        text-decoration: none;
        font-size: var(--text-xs);
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        white-space: nowrap;
    }

        .nav-links a::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: -2px;
            height: 1.5px;
            background: currentColor;
            transform: scaleX(0);
            transform-origin: left;
            transition: transform var(--transition-fast);
        }

        .nav-links a:hover::after,
        .nav-links a.active::after {
            transform: scaleX(1);
        }

    /* Contact already has its own button on wide screens; the link only shows in the mobile menu. */
    .nav-links .nav-contact {
        display: none;
    }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 0.7rem;
    border: 1px solid var(--rule);
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
}

    .lang-switch:hover {
        border-color: var(--ink);
    }

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--rule);
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
}

.menu-icon,
.menu-icon::before {
    display: block;
    width: 16px;
    height: 1.5px;
    background: currentColor;
    transition: transform var(--transition-fast);
}

.menu-icon {
    position: relative;
    transform: translateY(-3px);
}

    .menu-icon::before {
        content: "";
        position: absolute;
        top: 6px;
    }

.menu-open .menu-icon {
    transform: translateY(0) rotate(45deg);
}

    .menu-open .menu-icon::before {
        top: 0;
        transform: rotate(-90deg);
    }

/* Sections */

.section {
    padding-block: var(--section-space);
}

.js .section > .container {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.js .section.visible > .container {
    opacity: 1;
    transform: none;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
    padding-top: 1.1rem;
    border-top: 1px solid var(--rule);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-faint);
}

    .section-label .index {
        color: var(--ink);
        font-weight: 700;
        font-variant-numeric: tabular-nums;
    }

        .section-label .index::after {
            content: "";
            display: inline-block;
            width: 1.5rem;
            height: 2px;
            margin-left: 0.85rem;
            vertical-align: middle;
            background: var(--brand-yellow);
        }

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 5vw, 5rem);
    align-items: start;
}

.h2 {
    max-width: 16ch;
    font-size: var(--text-h2);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.intro {
    max-width: 46ch;
    font-size: var(--text-lg);
    line-height: 1.55;
    color: var(--text-muted);
}

.prose p {
    max-width: 52ch;
    color: var(--text-muted);
}

    .prose p + p {
        margin-top: 1rem;
    }

.section-tint {
    background: var(--surface-2);
}

/* Hero */

.hero {
    padding-block: clamp(3rem, 8vw, 6.5rem) clamp(3.5rem, 8vw, 6rem);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.4rem;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-faint);
}

    .eyebrow::before {
        content: "";
        width: 28px;
        height: 2px;
        flex-shrink: 0;
        background: var(--brand-yellow);
    }

.hero h1 {
    max-width: 16ch;
    font-size: var(--text-display);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.hero-row {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 5vw, 5rem);
    align-items: end;
    margin-top: clamp(1.75rem, 4vw, 3rem);
}

.lede {
    max-width: 40ch;
    font-size: var(--text-lg);
    line-height: 1.5;
    color: var(--text-muted);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-note {
    margin-top: 1.1rem;
    max-width: 44ch;
    font-size: var(--text-sm);
    color: var(--text-faint);
}

.hero-media {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 0.9rem;
    height: clamp(260px, 32vw, 450px);
    margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

    .hero-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: var(--radius-md);
    }

.facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: clamp(2rem, 4vw, 3rem);
    border-top: 1px solid var(--rule);
}

.fact {
    padding: 1.25rem 1.5rem 0 0;
}

    .fact + .fact {
        padding-left: 1.5rem;
        border-left: 1px solid var(--rule-soft);
    }

    .fact dt {
        margin-bottom: 0.3rem;
        font-size: var(--text-xs);
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: var(--text-faint);
    }

    .fact dd {
        font-weight: 700;
        line-height: 1.4;
    }

/* Principles (dark band) */

.band-dark {
    background: var(--ink-deep);
    color: var(--on-dark);
}

    .band-dark .section-label {
        border-top-color: var(--on-dark-rule);
        color: var(--on-dark-muted);
    }

        .band-dark .section-label .index {
            color: var(--on-dark);
        }

.statement {
    max-width: 20ch;
    font-size: clamp(2rem, 1.1rem + 3.6vw, 4.4rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

    .statement span {
        display: block;
        color: var(--tan);
    }

.principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 4vw, 3rem);
    margin-top: clamp(3rem, 7vw, 5.5rem);
}

.principle {
    padding-top: 1.25rem;
    border-top: 1px solid var(--on-dark-rule);
}

.principle-index {
    display: block;
    margin-bottom: 1.5rem;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--tan);
    font-variant-numeric: tabular-nums;
}

.principle h3 {
    margin-bottom: 0.55rem;
    font-size: var(--text-xl);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.principle p {
    max-width: 36ch;
    color: var(--on-dark-muted);
}

/* Services */

.service-list {
    margin: clamp(2.5rem, 6vw, 4rem) 0 0;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid var(--rule);
}

.service {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1.3fr) 9.5rem;
    gap: 1.5rem;
    align-items: baseline;
    padding-block: clamp(1.4rem, 3vw, 2rem);
    border-top: 1px solid var(--rule);
}

.service-index {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--text-faint);
    font-variant-numeric: tabular-nums;
}

.service-title {
    font-size: var(--text-xl);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.service-text {
    max-width: 52ch;
    color: var(--text-muted);
}

.service-tag {
    justify-self: end;
    padding: 0.3rem 0.75rem;
    border: 1px solid var(--rule);
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-faint);
    white-space: nowrap;
}

/* AI readiness */

.ai-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.6fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
    margin-top: clamp(2.5rem, 6vw, 4rem);
}

.ai-callout {
    padding-left: 1.25rem;
    border-left: 2px solid var(--brand-yellow);
    font-size: var(--text-lg);
    line-height: 1.5;
}

.ai-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ai-step {
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--rule-soft);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.step-index {
    display: block;
    margin-bottom: 1.75rem;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--tan-deep);
    font-variant-numeric: tabular-nums;
}

.ai-step h3 {
    margin-bottom: 0.45rem;
    font-size: 1.15rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.ai-step p {
    color: var(--text-muted);
}

/* Hypercare */

.phases {
    margin-top: clamp(2.5rem, 6vw, 4rem);
}

.phase-axis {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-faint);
}

.axis-line {
    position: relative;
    flex: 1;
    height: 1px;
    background: var(--rule);
}

    .axis-line::after {
        content: "";
        position: absolute;
        right: 0;
        top: -3px;
        width: 7px;
        height: 7px;
        border-top: 1px solid var(--text-faint);
        border-right: 1px solid var(--text-faint);
        transform: rotate(45deg);
    }

.phase-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.phase {
    position: relative;
    padding: 1.75rem 1.5rem 0 0;
}

    /* The bars darken from go-live to steady state. */
    .phase::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 6px;
        border-radius: var(--radius-pill);
        background: var(--tan-soft);
    }

    .phase:nth-child(2)::before {
        background: var(--tan);
    }

    .phase:nth-child(3)::before {
        background: var(--ink);
    }

.phase-tag {
    display: block;
    margin-bottom: 0.9rem;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-faint);
}

.phase h3 {
    margin-bottom: 0.55rem;
    font-size: var(--text-xl);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.phase p {
    max-width: 40ch;
    color: var(--text-muted);
}

/* Contact */

.contact-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: end;
    padding: clamp(2rem, 6vw, 4.5rem);
    overflow: hidden;
    background: var(--ink-deep);
    color: var(--on-dark);
    border-radius: var(--radius-lg);
}

    /* Echoes the bracket at the top of the logo. */
    .contact-panel::after {
        content: "";
        position: absolute;
        top: clamp(1.75rem, 5vw, 3.75rem);
        right: clamp(1.75rem, 5vw, 3.75rem);
        width: clamp(56px, 7vw, 92px);
        aspect-ratio: 1.68;
        border: clamp(8px, 1vw, 12px) solid var(--brand-yellow);
        border-bottom: 0;
    }

.contact-title {
    max-width: 14ch;
    font-size: var(--text-h2);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.contact-panel p {
    max-width: 46ch;
    margin-top: 1.25rem;
    font-size: var(--text-lg);
    line-height: 1.55;
    color: var(--on-dark-muted);
}

.contact-side {
    display: flex;
    justify-content: flex-end;
}

/* Footer */

.site-footer {
    padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
    border-top: 1px solid var(--rule);
    font-size: var(--text-sm);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

    .footer-brand img {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }

    .footer-brand strong {
        display: block;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .footer-brand p {
        max-width: 30ch;
        margin-top: 0.35rem;
        color: var(--text-muted);
    }

.footer-heading {
    margin-bottom: 0.9rem;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-faint);
}

.footer-links {
    display: grid;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .footer-links a {
        text-decoration: none;
    }

        .footer-links a:hover {
            text-decoration: underline;
            text-underline-offset: 3px;
        }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    padding-top: 1.25rem;
    border-top: 1px solid var(--rule-soft);
    font-size: var(--text-xs);
    color: var(--text-faint);
}

    .footer-bottom a {
        text-underline-offset: 3px;
    }

/* Responsive */

@media (max-width: 1180px) {
    .nav-links {
        gap: 1.2rem;
    }

    .service {
        grid-template-columns: 3.5rem minmax(0, 1fr) minmax(0, 1.2fr) 9rem;
    }
}

/* The French menu is the widest, so both languages switch to the menu button below 1100px. */
@media (max-width: 1100px) {
    .menu-toggle {
        display: inline-flex;
    }

    .nav-links {
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.25rem var(--gutter) 1.25rem;
        background: var(--bg);
        border-bottom: 1px solid var(--rule);
        box-shadow: var(--shadow-md);
    }

    .menu-open .nav-links {
        display: flex;
    }

    .nav-links a {
        padding: 1rem 0;
        border-bottom: 1px solid var(--rule-soft);
        font-size: var(--text-sm);
        letter-spacing: 0.1em;
    }

        .nav-links a::after {
            display: none;
        }

    .nav-links .nav-contact {
        display: block;
    }
}

@media (max-width: 980px) {
    .hero-row,
    .section-head,
    .ai-grid,
    .contact-panel {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-side {
        justify-content: flex-start;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .hero-media {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 220px 150px;
        height: auto;
        gap: 0.6rem;
    }

        .hero-media img:first-child {
            grid-column: 1 / -1;
        }

    .facts {
        grid-template-columns: minmax(0, 1fr);
    }

    .fact {
        padding: 1rem 0;
    }

        .fact + .fact {
            padding-left: 0;
            border-left: 0;
            border-top: 1px solid var(--rule-soft);
        }

    .principles,
    .ai-steps,
    .phase-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .phase-list {
        gap: 2rem;
    }

    .phase {
        padding-right: 0;
    }

    .phase-axis {
        letter-spacing: 0.08em;
    }

    .service {
        grid-template-columns: 2.25rem minmax(0, 1fr);
        gap: 0.5rem 1rem;
    }

        .service-text,
        .service-tag {
            grid-column: 2;
        }

    .service-tag {
        justify-self: start;
        margin-top: 0.5rem;
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .nav-cta {
        display: none;
    }

    .brand {
        gap: 0.6rem;
    }

        .brand img {
            width: 34px;
            height: 34px;
        }

    .brand-name {
        font-size: 0.74rem;
        letter-spacing: 0.06em;
        white-space: normal;
        line-height: 1.2;
    }

    .actions {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-panel::after {
        display: none;
    }

    .contact-side .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .js .section > .container {
        opacity: 1;
        transform: none;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
