/* Instrument Serif — display headings — latin-ext */
@font-face {
    font-family: 'Instrument Serif';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/instrument-serif-latin-ext-W6bz0Nd.woff2") format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Instrument Serif — latin */
@font-face {
    font-family: 'Instrument Serif';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/instrument-serif-latin-WCs4vm6.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Source Sans 3 — body text — cyrillic-ext */
@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("../fonts/source-sans-3-cyrillic-ext-Jcm6BKy.woff2") format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Source Sans 3 — cyrillic */
@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("../fonts/source-sans-3-cyrillic-7ot35-N.woff2") format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Source Sans 3 — vietnamese */
@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("../fonts/source-sans-3-vietnamese-JB39S-p.woff2") format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* Source Sans 3 — latin-ext */
@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("../fonts/source-sans-3-latin-ext-Rg6Tzay.woff2") format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Source Sans 3 — latin */
@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("../fonts/source-sans-3-latin-QwUv0lg.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --paper: #f7f8f3;
    --paper-strong: #ffffff;
    --ink: #171a1c;
    --ink-muted: #5b6268;
    --line: #d9ddd2;
    --accent: #0e6f5c;
    --accent-strong: #d6e8b8;
    --signal: #8f392e;
    --shadow: 0 20px 70px rgba(23, 26, 28, 0.09);
    --shadow-soft: 0 10px 36px rgba(23, 26, 28, 0.07);
    --grid-line-horizontal: rgba(23, 26, 28, 0.032);
    --grid-line-vertical: rgba(23, 26, 28, 0.028);
    --page-glow: rgba(214, 232, 184, 0.36);
    --header-surface: rgba(247, 248, 243, 0.88);
    --translucent-surface: rgba(255, 255, 255, 0.72);
    --strong-translucent-surface: rgba(255, 255, 255, 0.96);
    --proof-surface: rgba(255, 255, 255, 0.78);
    --consultation-surface-start: rgba(255, 255, 255, 0.96);
    --consultation-surface-end: rgba(247, 248, 243, 0.9);
    --danger: #9a3412;
    --danger-border: rgba(154, 52, 18, 0.32);
    --radius: 8px;
    --max-width: 1180px;
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
    --display: "Instrument Serif", Georgia, "Times New Roman", serif;
    --sans: "Source Sans 3", "Aptos", "Segoe UI", sans-serif;
}

:root[data-theme="dark"] {
    --paper: #101310;
    --paper-strong: #171b17;
    --ink: #f2f3ed;
    --ink-muted: #aeb7ac;
    --line: #343b34;
    --accent: #93c9b2;
    --accent-strong: #2b4639;
    --signal: #dda196;
    --shadow: 0 20px 70px rgba(0, 0, 0, 0.34);
    --shadow-soft: 0 10px 36px rgba(0, 0, 0, 0.24);
    --grid-line-horizontal: rgba(242, 243, 237, 0.055);
    --grid-line-vertical: rgba(242, 243, 237, 0.045);
    --page-glow: rgba(147, 201, 178, 0.16);
    --header-surface: rgba(16, 19, 16, 0.9);
    --translucent-surface: rgba(23, 27, 23, 0.76);
    --strong-translucent-surface: rgba(23, 27, 23, 0.96);
    --proof-surface: rgba(23, 27, 23, 0.82);
    --consultation-surface-start: rgba(23, 27, 23, 0.96);
    --consultation-surface-end: rgba(16, 19, 16, 0.92);
    --danger: #dda196;
    --danger-border: rgba(221, 161, 150, 0.42);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(90deg, var(--grid-line-horizontal) 1px, transparent 1px) 0 0 / 96px 96px,
        linear-gradient(180deg, var(--grid-line-vertical) 1px, transparent 1px) 0 0 / 96px 96px,
        var(--paper);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 82% 10%, var(--page-glow), transparent 30rem);
}

.motion-ready .motion-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 520ms var(--ease-out-quart) var(--motion-delay, 0ms),
        transform 520ms var(--ease-out-quart) var(--motion-delay, 0ms);
}

.motion-ready .motion-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

main {
    padding-bottom: 80px;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

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

.site-header,
.hero,
.section,
.site-footer {
    width: min(calc(100% - 40px), var(--max-width));
    margin-inline: auto;
}

.hero,
.section {
    scroll-margin-top: 112px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 18px 10px;
    background: var(--header-surface);
    backdrop-filter: blur(18px);
    width: min(calc(100% - 20px), var(--max-width) + 30px);
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--paper-strong);
    font-size: 13px;
}

.site-nav,
.menu-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    color: var(--ink-muted);
    font-size: 16px;
    font-weight: 700;
}

.site-nav a,
.menu-nav a,
.text-link,
.site-footer a {
    position: relative;
}

.site-nav a::after,
.menu-nav a::after,
.text-link::after,
.site-footer a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--signal);
    transition: transform 180ms var(--ease-out-quint);
}

.site-nav a:hover::after,
.menu-nav a:hover::after,
.text-link:hover::after,
.site-footer a:hover::after {
    transform: scaleX(1);
}

.button {
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    user-select: none;
    touch-action: manipulation;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    background: var(--accent);
    color: var(--paper-strong);
    font-weight: 800;
    letter-spacing: 0;
    cursor: pointer;
    transition:
        transform 180ms var(--ease-out-quint),
        background 180ms var(--ease-out-quint),
        color 180ms var(--ease-out-quint),
        box-shadow 180ms var(--ease-out-quint);
}

.button,
.button * {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.button::selection,
.button *::selection {
    background: transparent;
    color: inherit;
}

.button:hover {
    transform: translateY(-1px);
    background: color-mix(in srgb, var(--accent) 82%, black);
    box-shadow: var(--shadow-soft);
}

.button:active {
    transform: translateY(0) scale(0.985);
}

.button-small {
    justify-self: end;
    min-height: 44px;
    padding-inline: 18px;
    font-size: 16px;
}

.header-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    color: var(--ink-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.language-switcher,
.mode-switcher {
    display: flex;
    gap: 8px;
    align-items: center;
}

.mode-switcher {
    /*margin-right: 5px;*/
}

.language-switcher a,
.mode-switcher button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 34px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    color: var(--ink-muted);
    background: transparent;
    transition:
        transform 160ms var(--ease-out-quint),
        border-color 160ms var(--ease-out-quint),
        background 160ms var(--ease-out-quint),
        color 160ms var(--ease-out-quint);
}

.language-switcher a:hover,
.mode-switcher button:hover,
.language-switcher a[aria-current="true"],
.mode-switcher button[aria-pressed="true"] {
    border-color: var(--line);
    color: var(--ink);
    background: var(--translucent-surface);
    cursor: pointer;
}

.language-switcher a:hover,
.mode-switcher button:hover {
    transform: translateY(-1px);
}

.mobile-menu {
    display: none;
    justify-self: end;
    position: relative;
}

.mobile-menu summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    color: var(--ink);
    background: var(--translucent-surface);
    cursor: pointer;
    font-weight: 800;
    list-style: none;
    transition:
        transform 180ms var(--ease-out-quint),
        background 180ms var(--ease-out-quint),
        box-shadow 180ms var(--ease-out-quint);
}

.mobile-menu summary::-webkit-details-marker {
    display: none;
}

.mobile-menu[open] summary {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.menu-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    display: grid;
    gap: 18px;
    width: min(320px, calc(100vw - 40px));
    padding: 20px;
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    background: var(--strong-translucent-surface);
    box-shadow: var(--shadow);
    transform-origin: top right;
    animation: menu-panel-enter 220ms var(--ease-out-quart);
}

@keyframes menu-panel-enter {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.menu-panel .menu-nav {
    display: grid;
    justify-content: stretch;
    gap: 12px;
}

.menu-panel .language-switcher,
.menu-panel .mode-switcher {
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.hero {
    display: grid;
    grid-template-areas: "hero-copy hero-panel";
    gap: 34px;
    align-items: start;
    min-height: auto;
    padding: 44px 0 50px;
    border-bottom: 1px solid var(--line);
}

.hero-copy h1,
.section-heading h2,
.proof-copy h2,
.consultation-copy h2,
.text-block h2 {
    margin: 0;
    font-family: var(--display);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0;
}

.hero-copy h1 {
    max-width: 720px;
    font-size: 3rem;
}

.hero-copy {
    max-width: 760px;
}

.hero-summary {
    max-width: 700px;
    margin: 28px 0 0;
    color: var(--ink-muted);
    font-size: 1.22rem;
}

.hero-scope {
    max-width: 680px;
    margin: 22px 0 0;
    color: var(--ink-muted);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--ink-muted);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    margin-top: 36px;
}

.text-link {
    color: var(--ink);
    font-weight: 800;
}

.content-image {
    margin: 0;
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--ink);
    box-shadow: var(--shadow-soft);
}

.content-image img {
    display: block;
    width: 100%;
    object-fit: cover;
    filter: saturate(0.58) contrast(1.04);
}

.image-block--hero {
    padding: clamp(24px, 3vw, 40px) 0 !important;
}

.image-block--hero + .hero {
    padding-top: clamp(20px, 3vw, 34px);
}

.image-block--hero .content-image img {
    /* height:auto lets aspect-ratio drive the box (the width/height HTML attrs would
       otherwise fix the height and defeat it). Box slightly wider than the artwork
       (21/8 ≈ 2.625) so cover trims the SVG's dark top/bottom frame to a thin, consistent
       strip at every width — no side crop, no bands. */
    height: auto;
    aspect-ratio: 3 / 1;
    max-height: 400px;
    object-fit: cover;
    object-position: center;
}

.content-image img {
    aspect-ratio: 16 / 9;
}

.content-image figcaption {
    padding: 14px 16px;
    color: var(--ink-muted);
    font-size: 0.95rem;
    background: var(--paper-strong);
}

.hero-panel {
    display: grid;
    gap: 0;
    padding: 0;
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    background: var(--translucent-surface);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.hero-panel div,
.service-card,
.process-grid article,
.proof-grid div {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-strong);
}

.hero-panel div {
    padding: 22px 24px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
}

.hero-panel div:last-child {
    border-bottom: 0;
}

.hero-panel span,
.card-number,
.process-grid span {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--ink-muted);
    font-size: 0.78rem;
    font-weight: 900;
}

.hero-panel strong,
.proof-grid strong {
    display: block;
    font-size: 1.05rem;
}

.hero-panel p,
.service-card p,
.process-grid p,
.proof-grid p,
.consultation-copy p:not(.eyebrow) {
    margin: 20px 0 0;
    color: var(--ink-muted);
    font-size: 1.05rem;
}

.section {
    padding: 70px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 38px;
}

.section-heading.compact {
    max-width: 760px;
}

.section-heading h2,
.proof-copy h2,
.consultation-copy h2,
.text-block h2 {
    font-size: 2.65rem;
}

.section-heading > p:not(.eyebrow),
.text-block-content {
    max-width: 620px;
    margin: 18px 0 0;
    color: var(--ink-muted);
    font-size: 1.12rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    min-height: 330px;
    padding: 30px;
    transition:
        transform 220ms var(--ease-out-quint),
        border-color 220ms var(--ease-out-quint),
        box-shadow 220ms var(--ease-out-quint);
}

.service-card:hover {
    transform: translateY(-2px);
    border-color: var(--ink);
    box-shadow: var(--shadow-soft);
}

.service-card h3,
.process-grid h3 {
    margin: 0;
    font-family: var(--display);
    font-weight: 400;
    font-size: 1.35rem;
    line-height: 1.18;
    letter-spacing: 0;
}

.process, .proof {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 42px;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
}

.process-grid article {
    position: relative;
    min-height: 230px;
    padding: 34px 28px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.process-grid article::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--line);
}

.process-grid article::after {
    content: "";
    position: absolute;
    top: -5px;
    left: 0;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--signal);
}

.proof {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(0, 0.65fr);
    grid-template-areas: "proof-grid proof-copy";
    gap: 50px;
    align-items: start;
}

.proof-copy {
    grid-area: proof-copy;
}

.proof-grid {
    display: grid;
    grid-area: proof-grid;
    gap: 14px;
}

.proof-grid div {
    padding: 26px;
    border-color: var(--line);
    background: var(--proof-surface);
}

.consultation {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.72fr);
    gap: 48px;
    align-items: start;
    margin-block: 70px 0;
    padding: 54px;
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, var(--consultation-surface-start), var(--consultation-surface-end)),
        var(--paper-strong);
    box-shadow: var(--shadow);
}

.consultation-form {
    display: grid;
    gap: 16px;
}

.consultation-form label {
    display: grid;
    gap: 8px;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 800;
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: transparent;
    color: var(--ink);
    font-size: 1rem;
    padding: 14px 16px;
    transition:
        border-color 180ms var(--ease-out-quint),
        box-shadow 180ms var(--ease-out-quint),
        background 180ms var(--ease-out-quint);
}

.consultation-form input:focus,
.consultation-form select:focus,
.consultation-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(14, 111, 92, 0.11);
    outline: none;
}

.consultation-form textarea {
    resize: vertical;
}

.form-status,
.form-errors {
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px 14px;
    font-size: 0.98rem;
    font-weight: 800;
}

.form-status {
    border-color: rgba(14, 111, 92, 0.32);
    color: var(--accent);
}

.form-errors {
    border-color: var(--danger-border);
    color: var(--danger);
}

.site-footer {
    display: flex;
    justify-content: center;
    padding: 30px 0 35px;
    text-align: center;
    color: var(--ink-muted);
    font-weight: 800;
}

.site-footer__copyright {
    max-width: calc(100% - 7rem);
}

.site-footer .site-top-btn {
    position: fixed;
    right: 1rem;
    bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
    z-index: 800;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--strong-translucent-surface, rgba(255, 255, 255, 0.96));
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    transition: background 0.15s, border-color 0.15s;
}

.site-footer .site-top-btn::after {
    display: none;
}

.site-footer .site-top-btn:hover,
.site-footer .site-top-btn:focus-visible {
    background: var(--paper-strong);
    border-color: var(--ink-muted);
}

@media (max-width: 1220px) {
    .site-header {
        grid-template-columns: 1fr auto;
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .site-nav,
    .header-tools {
        display: none;
    }

    .mobile-menu {
        display: block;
    }
}

@media (max-width: 980px) {
    .site-header {
        grid-template-columns: 1fr auto;
    }

    .site-nav {
        justify-content: start;
        flex-wrap: wrap;
    }

    .button-small {
        justify-self: start;
    }

    .hero,
    .section-heading,
    .proof,
    .consultation {
        grid-template-columns: 1fr;
    }

    .proof {
        grid-template-areas:
            "proof-copy"
            "proof-grid";
    }

    .hero {
        grid-template-areas:
            "hero-copy"
            "hero-panel";
        min-height: auto;
        padding-top: 48px;
    }

    .hero-copy h1 {
        font-size: 3rem;
    }

    .section-heading h2,
    .proof-copy h2,
    .consultation-copy h2,
    .text-block h2 {
        font-size: 2.35rem;
    }

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

@media (max-width: 640px) {
    body {
        font-size: 16px;
    }

    main {
        padding-bottom: 80px;
    }

    /*.hero,*/
    /*.section {*/
    /*    scroll-margin-top: 226px;*/
    /*}*/

    .site-header {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
    .hero,
    .section,
    .site-footer {
        width: min(calc(100% - 28px), var(--max-width));
    }

    .site-nav {
        gap: 18px;
        font-size: 15px;
    }

    .hero-copy h1 {
        font-size: 2.05rem;
        line-height: 1.08;
    }

    .hero-copy {
        display: flex;
        flex-direction: column;
    }

    .hero-copy h1 {
        order: 1;
    }

    .hero-actions {
        order: 2;
    }

    .hero-summary {
        order: 3;
    }

    .hero-scope {
        order: 4;
        margin-top: 18px;
    }

    .hero-summary {
        margin-top: 20px;
    }

    .hero-actions {
        margin-top: 24px;
    }

    .image-block--hero {
        padding: 28px 0 26px !important;
    }

    .section-heading h2,
    .proof-copy h2,
    .consultation-copy h2,
    .text-block h2 {
        font-size: 1.9rem;
    }

    .hero-panel,
    .consultation {
        padding: 14px;
    }

    .service-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .process-grid article {
        min-height: auto;
        padding: 24px;
    }

    .process-grid {
        gap: 24px;
    }

    .process-grid article {
        padding: 0 0 0 26px;
    }

    .process-grid article::before {
        inset: 0 auto 0 0;
        width: 2px;
        height: auto;
    }

    .process-grid article::after {
        top: 0;
        left: -5px;
    }

    .section {
        padding: 56px 0;
    }

    .consultation {
        margin-block: 56px 0;
        padding: 28px 18px;
    }

    .site-footer .site-top-btn {
        right: 1.25rem;
        bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
        width: 3rem;
        height: 3rem;
        font-size: 1.2rem;
    }

}

@media (max-width: 540px) {
    /* Portrait hero card (hero-delivery-system*-mobile.svg) — natural height, no dark frame/bands.
       The card SVG is transparent with its own shadow, so drop the figure's dark
       background/border/shadow that would otherwise show through its margins. */
    .image-block--hero .content-image {
        background: transparent;
        border: 0;
        box-shadow: none;
        overflow: visible;
    }

    .image-block--hero .content-image img {
        aspect-ratio: auto;
        height: auto;
        max-height: none;
        object-fit: contain;
    }
}

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

    .motion-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
