@font-face {
    font-family: Manrope;
    src: url('/assets/fonts/manrope-400-latin.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: Manrope;
    src: url('/assets/fonts/manrope-500-latin.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: Manrope;
    src: url('/assets/fonts/manrope-600-latin.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: Manrope;
    src: url('/assets/fonts/manrope-700-latin.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}
:root {
    --ink: #000000;
    --paper: #ffffff;
    --green: #009a44;
    --green-hover: #00883d;
    --green-text: #000000;
    --green-wash: rgb(0 154 68 / 14%);
    --green-wash-subtle: rgb(0 154 68 / 9%);
    --green-glow: rgb(0 154 68 / 42%);
    --forest: #000000;
    --line: #d9ded7;
    --muted: #5e685f;
    --subtle: #737d74;
    --factory-surface: #f1f3ef;
    --factory-surface-green: #eaf0e5;
    --factory-dark: #000000;
    --factory-shadow: 0 22px 64px rgb(23 61 42 / 9%);
    --link-arrow-size: 18px;
    --link-arrow-gap: 8px;
    --rail: 80px;
    --gutter: clamp(24px, 5.3vw, 104px);
    --motion-layout: 0.95s;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    color-scheme: light;
    --inverse-muted: #c7c7c7;
    --text-body-size: 18px;
    --text-small-size: 14px;
    --text-label-size: 12px;
    --text-control-size: 15px;
    --heading-tracking: -0.04em;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font:
        400 var(--text-body-size) / 1.65 Manrope,
        Arial,
        sans-serif;
    -webkit-font-smoothing: antialiased;
}
body,
input,
button,
textarea,
select {
    font-family: Manrope, Arial, sans-serif;
}
button,
input,
textarea,
select {
    font-size: inherit;
}
button,
a {
    -webkit-tap-highlight-color: transparent;
}
button {
    cursor: pointer;
    color: inherit;
    font-size: var(--text-control-size);
    font-weight: 500;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
p,
h1,
h2,
h3,
h4,
figure {
    margin: 0;
}
ul,
ol {
    margin: 0;
}
button:disabled {
    cursor: wait;
    opacity: 0.55;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 6px;
}
[hidden] {
    display: none !important;
}
.skip-link {
    position: fixed;
    left: 110px;
    top: 12px;
    z-index: 100;
    background: var(--green);
    padding: 12px 24px;
    transform: translateY(-200%);
}
.skip-link:focus {
    transform: none;
}
::selection {
    background: var(--green);
    color: var(--ink);
}
main {
    margin-left: var(--rail);
    min-height: 60vh;
}
main:focus {
    outline: none;
}
section[id] {
    scroll-margin-top: 0;
}
.wrap {
    padding-inline: var(--gutter);
    max-width: 1920px;
    margin-inline: auto;
}
.block {
    padding-block: clamp(80px, 10vw, 172px);
}
.eyebrow {
    font-size: var(--text-label-size);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    display: flex;
    gap: 18px;
    align-items: center;
    line-height: 1.5;
    text-wrap: balance;
}
.eyebrow::before {
    content: '';
    height: 5px;
    width: 5px;
    background: currentColor;
    flex-shrink: 0;
}
.display {
    font-weight: 500;
    font-size: clamp(48px, 7.2vw, 124px);
    letter-spacing: var(--heading-tracking);
    line-height: 1.04;
    text-wrap: balance;
}
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 32px;
    margin-bottom: 64px;
}
.section-heading h2 {
    font-size: clamp(38px, 5vw, 84px);
    line-height: 1.08;
    letter-spacing: var(--heading-tracking);
    font-weight: 500;
}
.section-heading p {
    max-width: 34ch;
    color: var(--muted);
}
.text-link {
    display: inline-flex;
    gap: var(--link-arrow-gap);
    align-items: center;
    padding-block: 10px;
    border-bottom: 0;
    line-height: 1.4;
    font-size: var(--text-control-size);
    min-height: 44px;
    font-weight: 500;
}
.text-link img,
.action img {
    width: 20px;
    transition: transform 0.6s var(--ease);
}
.text-link:hover img,
.action:hover img {
    transform: translate(4px, -4px);
}
.action {
    display: inline-flex;
    gap: var(--link-arrow-gap);
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: var(--ink);
    color: var(--paper);
    border: 0;
    min-height: 58px;
    font-size: var(--text-control-size);
    line-height: 1.4;
    font-weight: 500;
}
.action img {
    filter: invert(1);
}
.action:hover {
    background: var(--factory-dark);
}
.action.light {
    background: var(--green);
    color: var(--ink);
}
.action.light img {
    filter: none;
}
.lead {
    font-size: clamp(20px, 2.2vw, 34px);
    line-height: 1.4;
    letter-spacing: -0.035em;
    max-width: 36ch;
}
/* The rail and full-screen navigation are identical on every route. */
.site-header {
    position: fixed;
    inset: 0 auto 0 0;
    width: 80px;
    z-index: 50;
    background: var(--paper);
    color: var(--ink);
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 28px 14px;
}
.site-mark {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.045em;
}
.site-mark img {
    width: 32px;
    transition: filter 100ms ease;
}
.site-mark span {
    display: none;
}
.menu-toggle {
    width: 48px;
    height: 48px;
    border: 0;
    background: none;
    position: relative;
    padding: 12px;
}
.menu-toggle span {
    display: block;
    height: 1px;
    width: 24px;
    background: currentColor;
    transition: transform 0.6s var(--ease);
    margin: 7px 0;
}
.menu-toggle[aria-expanded='true'] span:first-child {
    transform: translateY(4px) rotate(45deg);
}
.menu-toggle[aria-expanded='true'] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
}
.rail-caption {
    writing-mode: vertical-rl;
    font-size: var(--text-label-size);
    letter-spacing: 0.11em;
    text-transform: uppercase;
}
.site-nav {
    position: fixed;
    left: 108px;
    top: 32px;
    display: flex;
    gap: 28px;
    z-index: 25;
    font-size: var(--text-control-size);
    font-weight: 500;
    transition: opacity 0.3s;
}
.site-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: var(--text-control-size);
    font-weight: 500;
    text-transform: uppercase;
}
.header-contact {
    position: fixed;
    right: var(--gutter);
    top: 30px;
    z-index: 25;
    font-size: var(--text-control-size);
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0;
    border: 1px solid transparent;
    transition:
        padding var(--motion-layout) var(--ease),
        border-color 100ms ease;
    font-weight: 500;
}
.is-scrolled .site-nav {
    opacity: 0;
    pointer-events: none;
}
.is-scrolled .header-contact {
    background: var(--paper);
    padding: 0 16px;
    border: 1px solid var(--line);
}
.site-menu {
    position: fixed;
    inset: 0 0 0 80px;
    background: var(--green);
    z-index: 45;
    padding: clamp(90px, 12vh, 160px) var(--gutter) 50px;
    overflow: auto;
    opacity: 0;
    transform: translateX(-24px);
    transition:
        opacity 0.6s ease,
        transform 0.95s var(--ease);
}
.site-menu.is-open {
    opacity: 1;
    transform: none;
}
.menu-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
}
.menu-links {
    display: flex;
    flex-direction: column;
    align-items: start;
}
.menu-links a {
    font-size: clamp(38px, 5.5vw, 88px);
    letter-spacing: var(--heading-tracking);
    line-height: 1.25;
    transition: transform 0.65s var(--ease);
    text-transform: uppercase;
}
.menu-aside {
    padding-top: 16px;
}
.menu-aside p {
    font-size: clamp(20px, 2vw, 32px);
    max-width: 22ch;
    margin: 30px 0;
}
.menu-small {
    display: flex;
    gap: 30px;
    margin-top: 70px;
    font-size: var(--text-control-size);
    font-weight: 500;
}
.menu-small a {
    text-transform: uppercase;
}
.menu-close {
    position: absolute;
    right: var(--gutter);
    top: 32px;
    background: none;
    border: 0;
    text-decoration: underline;
    min-height: 44px;
}
html[data-page-entry='home']:not(.entry-mounted)::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 90;
    background: #fff;
}
.home-loader {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 90;
    place-items: center;
}
html[data-page-entry='home'] .home-loader {
    display: grid;
    overflow: hidden;
    background: transparent;
}
.home-loader-surface {
    position: absolute;
    inset: 0;
    background: #fff;
    transition: transform 0.75s cubic-bezier(0.65, 0, 0.35, 1);
}
.home-loader-symbol {
    position: relative;
    width: clamp(72px, 7vw, 100px);
    will-change: transform;
}
.home-loader img {
    width: 100%;
    height: auto;
    transform-origin: center;
}
.home-loader.is-closing .home-loader-surface {
    transform: translateX(-101%);
}
.home-loader.is-docked {
    visibility: hidden;
    pointer-events: none;
}
html[data-home-opening] [data-home-enter]:not([data-home-started]),
html[data-home-opening] :is(#cookie-consent-root, #ai-widget),
html[data-home-opening] :is(#cookie-consent-root, #ai-widget) * {
    visibility: hidden !important;
}
html[data-home-opening]:not(.entry-mounted)::before {
    background: var(--forest);
}
/* Keep the responsive header grid fixed; only its independent pill grows. */
html[data-home-opening] .site-header {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: none;
}
html[data-home-opening] .site-header::before,
.home-nav-surface {
    position: absolute;
    z-index: -1;
    top: -1px;
    height: calc(100% + 2px);
    box-sizing: border-box;
    border: 1px solid rgb(23 34 27 / 9%);
    border-radius: inherit;
    background: rgb(255 255 255 / 94%);
    box-shadow: 0 10px 34px rgb(20 44 28 / 8%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    pointer-events: none;
}
html[data-home-opening] .site-header:not([data-home-started])::before {
    content: '';
    left: calc(50% - 84px);
    width: 168px;
}
html[data-home-opening] .site-header .site-mark:not([data-home-started]) {
    position: absolute;
    left: calc(50% - 84px + 16px);
    top: 50%;
    transform: translateY(-50%);
}
html[data-home-opening] .site-mark {
    transition: none;
}
html[data-home-opening]
    .site-header
    :is(.site-nav, .header-contact, .menu-toggle):not([data-home-started]),
html[data-home-opening] .site-nav a:not([data-home-started]),
html[data-home-opening]
    :is(
        .home-hero h1,
        .home-hero-visual,
        .home-hero-note,
        .home-proof-strip
    ):not([data-home-started]) {
    visibility: hidden;
    opacity: 0;
}
.home-scroll-motion .home-reveal-pending {
    opacity: 0;
}
.home-title-line {
    display: block;
}
html[data-page-entry='home'] .home-loader-surface {
    background: var(--forest);
    clip-path: circle(150vmax at 50% 50%);
    transition: none;
}
html[data-page-entry='home'] .home-loader-symbol {
    width: clamp(82px, 9vw, 118px);
    z-index: 1;
}
html[data-page-entry='home'] .home-loader-symbol img {
    animation: none;
    filter: brightness(0) invert(1);
}
@media (max-width: 760px) {
    html[data-home-opening] .site-header:not([data-home-started])::before {
        left: -1px;
    }
    html[data-home-opening] .site-header .site-mark:not([data-home-started]) {
        left: 15px;
    }
}
/* A breakpoint change establishes the new geometry before motion resumes. */
.motion-resizing
    :is(
        .site-header,
        .site-mark,
        .menu-toggle,
        .rail-caption,
        .site-nav,
        main,
        .site-footer
    ) {
    transition: none !important;
}
/* The white content surface naturally scrolls over the sticky opening. */
.home-intro {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-block: clamp(110px, 14vh, 160px);
    position: relative;
}
.home-content {
    display: flow-root;
    position: relative;
    z-index: 1;
    background: var(--paper);
}
.home-cover-enabled .home-content {
    box-shadow: 0 -24px 48px rgb(17 21 18 / 0.06);
}
.home-intro > .eyebrow {
    display: block;
}
.home-intro > .eyebrow::before {
    display: inline-block;
    vertical-align: middle;
    margin: 0 14px 3px 0;
}
.home-title-wrap {
    position: relative;
    width: 100%;
    margin-top: 28px;
}
.home-intro h1 {
    font-size: clamp(60px, 6.7vw, 130px);
    font-weight: 500;
    letter-spacing: var(--heading-tracking);
    line-height: 1.025;
    margin: 0;
    max-width: none;
    text-wrap: balance;
}
.home-intro h1 {
    margin-inline: auto;
}
.home-intro h1 em {
    font-style: normal;
    color: var(--forest);
}
.showcase-active .ai-widget[data-open='false']:not(:focus-within) {
    visibility: hidden;
    pointer-events: none;
}
.project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 1.5s var(--ease);
}
.dark .section-heading p {
    color: var(--inverse-muted);
}
.dark .text-link img {
    filter: invert(1);
}
.person-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 7vw, 110px);
    align-items: center;
}
.person-photo {
    aspect-ratio: 4/5;
    object-fit: cover;
    width: 100%;
    max-height: 720px;
    object-position: 100% center;
}
.person-copy h2 {
    margin: 25px 0;
    font-size: clamp(40px, 5vw, 74px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: var(--heading-tracking);
}
.person-copy p {
    max-width: 42ch;
    margin-bottom: 26px;
}
.journal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.journal-card > a:not(.text-link) > img {
    width: 100%;
    aspect-ratio: 1.65;
    object-fit: cover;
}
.journal-card small {
    display: block;
    margin: 18px 0 10px;
    font-size: var(--text-small-size);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.journal-card h3 {
    font-size: clamp(23px, 2.4vw, 38px);
    letter-spacing: var(--heading-tracking);
    line-height: 1.25;
    font-weight: 500;
}
.journal-card .text-link {
    margin-top: 18px;
}
/* Contact, application widget, consent: one restrained visual language. */
.contact-section {
    background: var(--forest);
    color: var(--paper);
    padding-block: 80px;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}
.contact-section h2 {
    font-size: clamp(44px, 5.6vw, 84px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: var(--heading-tracking);
    margin: 24px 0;
}
.contact-section .lead {
    font-size: 22px;
    margin-bottom: 28px;
}
.contact-links {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 6px;
}
.contact-section .text-link img {
    filter: invert(1);
}
.contact-context {
    font-size: var(--text-small-size);
    max-width: 42ch;
    margin-top: 28px;
    color: var(--inverse-muted);
}
.contact-form label {
    display: block;
    font-size: var(--text-small-size);
    margin-bottom: 6px;
}
.form-group {
    margin-bottom: 22px;
}
.contact-form input,
.contact-form textarea {
    border: 0;
    border-bottom: 1px solid #8aab98;
    background: none;
    color: inherit;
    padding: 10px 0 14px;
    width: 100%;
    border-radius: 0;
    line-height: 1.6;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--inverse-muted);
}
.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}
.form-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.form-privacy {
    font-size: var(--text-small-size);
    margin: 12px 0 22px;
    color: var(--inverse-muted);
}
.form-privacy a {
    text-decoration: underline;
}
.contact-form .action {
    width: 100%;
}
.contact-form-status {
    font-size: var(--text-small-size);
    margin-top: 18px;
}
.contact-form-status[data-state='error'] {
    color: #ffe1c6;
}
.contact-form-status[data-state='success'] {
    color: var(--green);
}
.contact-form-fallback {
    padding: 20px 0;
    font-size: var(--text-small-size);
}
.contact-form-fallback a {
    text-decoration: underline;
    display: block;
    margin-top: 12px;
}
.site-footer {
    margin-left: 80px;
    padding: 64px var(--gutter) 28px;
    background: var(--ink);
    color: var(--paper);
}
.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    font-size: var(--text-small-size);
}
.footer-top nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    font-size: var(--text-control-size);
    font-weight: 500;
}
.footer-wordmark {
    display: flex;
    gap: 3vw;
    align-items: center;
    font-size: clamp(50px, 11vw, 195px);
    font-weight: 600;
    letter-spacing: -0.065em;
    line-height: 1;
    margin: 72px 0 56px;
}
.footer-wordmark img {
    width: 9%;
    filter: invert(1);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid #454d46;
    padding-top: 24px;
    font-size: var(--text-small-size);
}
.footer-bottom div {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-bottom button {
    background: none;
    border: 0;
    color: inherit;
    padding: 0;
    font-size: var(--text-control-size);
    text-decoration: underline;
    font-weight: 500;
}
.ai-widget {
    position: fixed;
    right: 24px;
    bottom: 20px;
    z-index: 55;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.ai-widget-toggle {
    background: var(--ink);
    color: var(--paper);
    border: 1px solid #87988b;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--text-control-size);
    min-height: 44px;
    font-weight: 500;
    border-radius: 999px;
}
.ai-widget-toggle-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
}
.ai-widget-panel {
    display: none;
    width: min(390px, calc(100vw - 32px));
    max-height: calc(100dvh - 110px);
    overflow: auto;
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 24px;
    box-shadow: 0 15px 65px #0003;
    margin-bottom: 10px;
    order: -1;
    border-radius: 20px;
}
.ai-widget[data-open='true'] .ai-widget-panel {
    display: block;
}
.ai-widget-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.ai-assistant-head {
    display: flex;
    flex-direction: column;
    font-size: var(--text-small-size);
}
.ai-availability {
    color: var(--muted);
    font-size: var(--text-small-size);
}
.ai-widget-close {
    font-size: 26px;
    background: none;
    border: 0;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}
.ai-assistant-desc,
.ai-assistant-note {
    font-size: var(--text-small-size);
    color: var(--muted);
    margin: 14px 0;
}
.ai-chat-thread {
    max-height: 260px;
    overflow: auto;
    margin-block: 20px;
}
.ai-chat-bubble {
    padding: 14px;
    margin-bottom: 10px;
    background: #e4e9df;
    font-size: var(--text-small-size);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.ai-chat-thread > .ai-chat-bubble:first-child {
    white-space: normal;
}
.ai-chat-bubble-user {
    background: var(--forest);
    color: var(--paper);
}
.ai-assistant-form label {
    font-size: var(--text-small-size);
}
.ai-assistant-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--line);
    margin-block: 8px;
    background: white;
    border-radius: 0;
}
.ai-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border: 0;
    background: var(--ink);
    color: var(--paper);
    padding: 12px 18px;
    font-size: var(--text-control-size);
    font-weight: 500;
    white-space: nowrap;
}
.ai-assistant-actions {
    display: grid;
    gap: 10px;
}
.ai-assistant-actions .ai-assistant-note {
    margin: 0;
}
/* Service and project narratives. */
.page-intro {
    padding-top: 150px;
    padding-bottom: 80px;
}
.page-intro .display {
    margin: 32px 0;
    max-width: 16ch;
}
.page-intro .lead {
    margin-left: auto;
    max-width: 35ch;
}
.page-intro .intro-bottom {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
}
.faq-section {
    padding-top: 70px;
}
.faq-section h2 {
    font-size: 36px;
    font-weight: 500;
    letter-spacing: var(--heading-tracking);
    margin-bottom: 30px;
}
.demo-section {
    padding-block: 80px;
    background: #e7eadf;
}
.demo-section .section-heading {
    margin-bottom: 32px;
}
.demo-note {
    font-size: var(--text-small-size);
    color: var(--muted);
    margin: 20px 0;
}
.back-link {
    font-size: var(--text-control-size);
    display: inline-block;
    padding: 12px 0;
    border-bottom: 1px solid currentColor;
    margin-bottom: 24px;
    font-weight: 500;
}
/* Original article and policy content, restyled without changing its meaning. */
.section {
    padding: 80px var(--gutter);
}
.section-container {
    max-width: 1500px;
    margin: auto;
}
.editorial-hero {
    padding: 150px var(--gutter) 80px;
    background: var(--paper);
    color: var(--ink);
}
.editorial-kicker {
    font-size: var(--text-small-size);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 26px;
}
.editorial-title {
    font-size: clamp(44px, 6.3vw, 104px);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -0.055em;
    max-width: 16ch;
    margin-bottom: 32px;
    hyphens: none;
}
.editorial-lead {
    font-size: 23px;
    line-height: 1.5;
    max-width: 45ch;
}
.editorial-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    font-size: var(--text-small-size);
    margin-top: 32px;
}
.article-cover {
    width: 100%;
    aspect-ratio: 2.1;
    object-fit: cover;
}
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 80px;
    max-width: 1250px;
}
.article-prose {
    font-size: var(--text-body-size);
    line-height: 1.65;
    min-width: 0;
}
.article-prose p,
.article-prose ul,
.article-prose ol {
    margin-bottom: 26px;
}
.article-prose h2 {
    font-size: 32px;
    line-height: 1.25;
    letter-spacing: var(--heading-tracking);
    font-weight: 500;
    margin: 56px 0 24px;
}
.article-prose h3 {
    font-size: 23px;
    font-weight: 500;
    margin: 28px 0 16px;
}
.article-prose a,
.article-sidebar a {
    text-decoration: underline;
    text-underline-offset: 4px;
}
.article-quick-answer,
.article-callout {
    padding: 28px;
    background: #e7ecdf;
}
.article-quick-answer strong {
    font-weight: 600;
}
.article-sidebar {
    font-size: var(--text-small-size);
}
.article-aside-card,
.article-cta-card {
    border-top: 1px solid var(--line);
    padding: 24px 0;
    margin-bottom: 20px;
}
.article-sidebar h3 {
    font-size: 21px;
    line-height: 1.4;
    font-weight: 500;
    margin: 16px 0;
}
.article-pill {
    font-size: var(--text-label-size);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.article-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}
.section-header {
    margin-bottom: 40px;
}
.section-title {
    font-size: clamp(36px, 4vw, 64px);
    letter-spacing: var(--heading-tracking);
    line-height: 1.15;
    font-weight: 500;
}
/* Mantieni lo stesso tono dei titoli di sezione della homepage in tutto il sito. */
#contenuto-principale
    :is(
        .home-content h2,
        .home-stack-heading h2,
        .home-benefits-heading h2,
        .section-heading h2,
        .section-title,
        .section-header h2,
        .scene-heading,
        .faq-section h2,
        .contact-section h2,
        .article-layout h2,
        .related-reading h2,
        .policy-wrap h2,
        .ai-examples__intro h2,
        .agent-families__intro h2,
        .agent-governance__copy h2
    ) {
    color: var(--muted);
}
#contenuto-principale
    .dark
    :is(
        .home-content h2,
        .home-stack-heading h2,
        .home-benefits-heading h2,
        .section-heading h2,
        .section-title,
        .section-header h2,
        .scene-heading,
        .faq-section h2,
        .contact-section h2,
        .article-layout h2,
        .related-reading h2,
        .policy-wrap h2,
        .ai-examples__intro h2,
        .agent-families__intro h2,
        .agent-governance__copy h2
    ) {
    color: var(--paper);
}
.section-number {
    font-size: var(--text-label-size);
    display: block;
    margin-bottom: 20px;
}
.section-desc {
    font-size: var(--text-body-size);
    max-width: 48ch;
    margin-top: 20px;
    line-height: 1.65;
}
.blog-card {
    border-top: 1px solid var(--line);
    padding-top: 26px;
}
.blog-card h3 {
    font-size: 26px;
    font-weight: 500;
    letter-spacing: var(--heading-tracking);
    line-height: 1.3;
    margin-bottom: 20px;
}
.blog-card p {
    font-size: var(--text-small-size);
    color: var(--muted);
    margin-bottom: 20px;
}
.blog-card-link {
    display: inline-block;
    border-bottom: 1px solid currentColor;
    padding-bottom: 6px;
    font-size: var(--text-control-size);
    min-height: 44px;
    font-weight: 500;
}
.policy-wrap {
    max-width: 1050px;
    margin: 0 auto;
    padding: 150px var(--gutter) 100px;
    overflow-wrap: anywhere;
}
.policy-wrap h1 {
    font-size: clamp(42px, 6vw, 84px);
    letter-spacing: var(--heading-tracking);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 40px;
}
.policy-wrap h2 {
    font-size: 24px;
    margin: 40px 0 16px;
    font-weight: 500;
}
.policy-wrap p,
.policy-wrap li {
    font-size: var(--text-body-size);
    line-height: 1.65;
    margin-bottom: 18px;
}
.policy-wrap ul {
    padding-left: 20px;
}
.policy-wrap a {
    text-decoration: underline;
}
.policy-back {
    display: inline-block;
    font-size: var(--text-control-size);
    margin-bottom: 25px;
    font-weight: 500;
}
/* Shared forms and the existing consent controller use these stable selectors. */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
.native-faq {
    border-top: 1px solid var(--line);
    padding: 0;
}
.native-faq summary {
    cursor: pointer;
    list-style: none;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 18px;
}
.native-faq summary::-webkit-details-marker {
    display: none;
}
.native-faq summary::after {
    content: '+';
}
.native-faq[open] summary::after {
    content: '−';
}
.native-faq > p,
.native-faq-answer > p {
    max-width: 74ch;
    padding: 0 0 28px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}
.native-faq-answer {
    overflow: hidden;
}
.cookie-consent-banner {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 100px;
    z-index: 70;
    width: min(460px, calc(100vw - 40px));
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 28px;
    box-shadow: 0 10px 60px #0002;
}
.cookie-consent-banner.is-visible {
    display: block;
}
.cookie-consent-banner h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 500;
}
.cookie-consent-banner p {
    font-size: var(--text-small-size);
    color: var(--muted);
}
.cookie-consent-banner a {
    text-decoration: underline;
}
.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
.cookie-btn {
    min-height: 44px;
    border: 1px solid var(--line);
    background: none;
    padding: 10px 14px;
    font-size: var(--text-control-size);
    font-weight: 500;
}
.cookie-btn-primary {
    background: var(--ink);
    color: var(--paper);
}
.cookie-close {
    position: absolute;
    top: 6px;
    right: 6px;
    border: 0;
    background: none;
    font-size: 20px;
    width: 40px;
    height: 40px;
}
.cookie-consent-modal {
    position: fixed;
    inset: 0;
    background: #0007;
    z-index: 75;
    display: grid;
    place-items: center;
    padding: 20px;
}
.cookie-modal-panel {
    background: var(--paper);
    padding: 30px;
    max-width: 600px;
    max-height: 90dvh;
    overflow: auto;
}
.cookie-modal-panel h3 {
    font-size: 24px;
    margin-bottom: 15px;
}
.cookie-modal-panel p {
    font-size: var(--text-small-size);
    margin-bottom: 24px;
}
.cookie-pref-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
    font-size: var(--text-small-size);
}
.cookie-pref-row input {
    accent-color: var(--forest);
    width: 20px;
    height: 20px;
}
.menu-open .ai-widget {
    visibility: hidden;
}
.policy-table {
    max-width: 100%;
    overflow: auto;
    border-block: 1px solid var(--line);
    margin-block: 30px;
}
.policy-table table {
    border-collapse: collapse;
    min-width: 720px;
    width: 100%;
}
.policy-table th,
.policy-table td {
    padding: 18px 14px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
    font-size: var(--text-small-size);
    line-height: 1.7;
}
.policy-table th {
    background: #e8eddc;
    font-weight: 600;
}
.policy-table:focus-visible {
    outline: 2px solid var(--forest);
    outline-offset: 5px;
}
.project-image {
    padding: clamp(16px, 2.5vw, 40px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cookie-modal-close {
    display: block;
    margin-left: auto;
    border: 0;
    border-bottom: 1px solid currentColor;
    background: none;
    padding: 8px 0;
    min-height: 44px;
    font-size: var(--text-control-size);
    font-weight: 500;
}
.editorial-title,
.article-prose,
.article-sidebar {
    overflow-wrap: anywhere;
    hyphens: auto;
}
/* Shared routes: service directory, contact page and navigation recovery. */
.site-nav a[aria-current],
.menu-links a[aria-current],
.footer-top nav a[aria-current] {
    text-decoration: underline;
    text-underline-offset: 0.3em;
    text-decoration-thickness: 1px;
}
.header-contact[aria-current] {
    text-decoration: underline;
    text-underline-offset: 0.3em;
}
.contact-intro {
    padding-bottom: 64px;
}
.next-project {
    border-top: 1px solid var(--line);
}
.next-project-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    align-items: center;
    gap: 60px;
    margin-top: 34px;
}
.next-project h2 {
    font-size: clamp(40px, 5vw, 80px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: var(--heading-tracking);
    margin-bottom: 26px;
}
.next-project-image {
    background: #dfe6d9;
    padding: clamp(20px, 3vw, 48px);
    overflow: hidden;
}
.next-project-image img {
    width: 100%;
    transition: transform 1.1s var(--ease);
}
.next-project-link:hover img {
    transform: scale(1.035);
}
.recovery-links {
    margin-top: 70px;
}
.recovery-links a {
    display: grid;
    grid-template-columns: 50px 1fr 30px;
    align-items: center;
    gap: 20px;
    padding: 25px 0;
    border-top: 1px solid var(--line);
    font-size: clamp(24px, 3vw, 44px);
    line-height: 1.3;
    letter-spacing: -0.04em;
}
.recovery-links .eyebrow {
    display: block;
    letter-spacing: 0.08em;
}
.recovery-links .eyebrow::before {
    content: none;
}
.not-found .display {
    max-width: 15ch;
}
@media (min-width: 1101px) {
    .site-header {
        overflow: hidden;
        transition: width var(--motion-layout) var(--ease);
    }
    body:not(.is-scrolled):not(.menu-open) .site-header {
        width: 210px;
    }
    .site-mark {
        position: absolute;
        top: 28px;
        left: 24px;
        width: 32px;
        height: 32px;
        transition: left var(--motion-layout) var(--ease);
    }
    .site-mark img {
        flex-shrink: 0;
    }
    .site-header .site-mark span {
        position: absolute;
        top: 0;
        left: 42px;
        display: block;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transform: translateX(-6px);
        transition:
            opacity 0.4s ease,
            transform var(--motion-layout) var(--ease),
            visibility 0s linear 0.4s;
    }
    body:not(.is-scrolled):not(.menu-open) .site-mark {
        left: 28px;
    }
    body:not(.is-scrolled):not(.menu-open) .site-mark span {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition-delay: 0.18s, 0s, 0s;
    }
    .menu-toggle {
        position: absolute;
        top: calc(50% - 24px);
        left: 16px;
        bottom: auto;
        margin: 0;
        transition:
            opacity 0.45s ease,
            transform 0.6s var(--ease),
            visibility 0s;
    }
    body:not(.is-scrolled):not(.menu-open) .menu-toggle {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(-12px);
        transition-delay: 0s, 0s, 0.45s;
    }
    .rail-caption {
        position: absolute;
        bottom: 28px;
        left: 28px;
        width: 120px;
        writing-mode: horizontal-tb;
        line-height: 1.6;
        opacity: 0;
        visibility: hidden;
        transform: translateX(-8px);
        transition:
            opacity 0.4s ease,
            transform var(--motion-layout) var(--ease),
            visibility 0s linear 0.4s;
    }
    .site-nav {
        left: 28px;
        top: 36%;
        flex-direction: column;
        gap: 8px;
        z-index: 51;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(-8px);
        transition:
            opacity 0.4s ease,
            transform var(--motion-layout) var(--ease),
            visibility 0s linear 0.4s;
    }
    .site-nav a {
        font-size: var(--text-control-size);
    }
    body:not(.is-scrolled):not(.menu-open) :is(.rail-caption, .site-nav) {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition-delay: 0.18s, 0s, 0s;
    }
    body:not(.is-scrolled):not(.menu-open) .site-nav {
        pointer-events: auto;
    }
    body:not(.is-scrolled) :is(main, .site-footer) {
        margin-left: 210px;
    }
    main,
    .site-footer {
        transition: margin-left var(--motion-layout) var(--ease);
    }
    .menu-open .header-contact {
        visibility: hidden;
    }
}
@media (max-width: 1100px) {
    .site-header {
        inset: 0 0 auto;
        width: 100%;
        height: 76px;
        flex-direction: row;
        padding: 0 24px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
    .site-mark span {
        display: inline;
    }
    .site-mark img {
        width: 28px;
    }
    .rail-caption,
    .site-nav {
        display: none;
    }
    .header-contact,
    body:has(.home-intro) .header-contact {
        display: none;
    }
    .menu-toggle {
        order: 3;
        flex-shrink: 0;
        margin-left: auto;
    }
    .site-header {
        justify-content: flex-start;
        padding-inline: 16px;
    }
    .site-mark {
        gap: 6px;
        font-size: 18px;
    }
    main,
    .site-footer {
        margin-left: 0;
    }
    .site-menu {
        inset: 76px 0 0;
        padding: 50px var(--gutter);
    }
    .menu-close {
        top: 14px;
    }
    .home-intro h1 {
        font-size: clamp(60px, 9.5vw, 110px);
        max-width: 12ch;
    }
    .menu-grid {
        gap: 40px;
    }
    .menu-links a {
        font-size: clamp(38px, 7vw, 70px);
    }
    .article-layout {
        grid-template-columns: minmax(0, 1fr) 220px;
        gap: 40px;
    }
    .cookie-consent-banner {
        left: 20px;
    }
}
@media (max-width: 700px) {
    :root {
        --gutter: 24px;
        --text-body-size: 16px;
        --heading-tracking: -0.025em;
    }
    .home-intro {
        padding-top: 118px;
        padding-bottom: 76px;
    }
    .home-intro h1 {
        font-size: clamp(40px, 11.5vw, 80px);
        max-width: 12ch;
        text-wrap: balance;
    }
    .home-title-wrap {
        width: auto;
        max-width: 100%;
        margin-top: 24px;
    }
    .section-heading {
        display: block;
        margin-bottom: 36px;
    }
    .section-heading p {
        margin-top: 22px;
        font-size: var(--text-small-size);
    }
    .section-heading .text-link {
        margin-top: 20px;
    }
    .project-image img {
        object-position: left top;
    }

    .person-block,
    .contact-grid,
    .journal-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .person-photo {
        max-height: 510px;
    }
    .person-copy h2 {
        font-size: 43px;
    }
    .journal-grid {
        gap: 45px;
    }
    .contact-section {
        padding-block: 64px;
    }
    .contact-section h2 {
        font-size: 50px;
    }
    .contact-section .lead {
        font-size: 19px;
    }
    .contact-grid {
        gap: 40px;
    }
    .contact-links .text-link {
        font-size: var(--text-small-size);
        max-width: 100%;
        overflow-wrap: anywhere;
        gap: 12px;
    }
    .site-footer {
        padding-top: 45px;
    }
    .footer-top,
    .footer-bottom {
        flex-direction: column;
    }
    .footer-top nav {
        gap: 16px;
    }
    .footer-wordmark {
        margin: 50px 0 38px;
        font-size: 12vw;
        gap: 14px;
    }
    .footer-bottom {
        padding-bottom: 60px;
    }
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .menu-links a {
        font-size: 44px;
        line-height: 1.3;
    }
    .menu-aside p {
        font-size: 20px;
        margin: 15px 0;
    }
    .menu-small {
        margin-top: 30px;
    }
    .menu-aside .eyebrow {
        display: none;
    }
    .page-intro {
        padding-top: 124px;
        padding-bottom: 52px;
    }
    .page-intro .display {
        font-size: clamp(44px, 11vw, 74px);
        margin-block: 24px;
    }
    .page-intro .lead {
        font-size: 19px;
        margin-left: 0;
    }
    .page-intro .intro-bottom {
        display: block;
    }
    .page-intro .intro-bottom .text-link {
        margin-top: 24px;
    }
    .demo-section {
        padding-block: 60px;
    }
    .editorial-hero {
        padding-top: 124px;
        padding-bottom: 48px;
    }
    .editorial-title {
        font-size: 44px;
    }
    .editorial-lead {
        font-size: 19px;
    }
    .editorial-meta {
        gap: 10px 20px;
    }
    .article-cover {
        aspect-ratio: 1.3;
    }
    .section {
        padding-block: 60px;
    }
    .article-layout {
        display: block;
    }
    .article-prose h2 {
        font-size: 28px;
    }
    .article-sidebar {
        margin-top: 50px;
    }
    .article-related-grid {
        grid-template-columns: 1fr;
    }
    .article-quick-answer,
    .article-callout {
        padding: 22px;
    }
    .policy-wrap {
        padding-top: 124px;
    }
    .policy-wrap h1 {
        font-size: 43px;
    }
    .policy-wrap h2 {
        font-size: 22px;
    }
    .ai-widget {
        right: 16px;
        bottom: 16px;
    }
    .ai-widget-toggle {
        padding: 10px 13px;
    }
    .cookie-consent-banner {
        padding: 22px;
        bottom: 16px;
    }
    .cookie-btn {
        padding-inline: 12px;
    }
    .native-faq summary {
        font-size: 16px;
    }
    .next-project-link {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .next-project h2 {
        font-size: 46px;
    }
    .next-project h2 + .text-link {
        font-size: var(--text-small-size);
    }
    .recovery-links {
        margin-top: 46px;
    }
    .recovery-links a {
        grid-template-columns: 24px 1fr 20px;
        gap: 12px;
        font-size: 24px;
    }
    .contact-intro {
        padding-bottom: 48px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
    .home-loader,
    html[data-page-entry='home']::before {
        display: none !important;
    }
    html[data-page-entry='home'],
    html[data-home-opening] {
        overflow: auto;
    }
    html[data-home-opening] [data-home-enter],
    html[data-home-opening] .site-mark img {
        visibility: visible !important;
    }
    .home-scroll-motion .home-reveal-pending {
        opacity: 1;
    }
    .home-intro,
    .home-scroll-motion .home-intro {
        position: relative;
        transform: none !important;
    }
    .home-content,
    .home-scroll-motion .home-content {
        box-shadow: none;
    }
}

#contenuto-principale h2 {
    text-transform: uppercase;
}

.home-hero h1 {
    text-transform: uppercase;
}
@media print {
    [data-home-enter],
    .home-reveal-pending {
        visibility: visible !important;
        opacity: 1 !important;
    }
    .site-header,
    .site-nav,
    .header-contact,
    .site-menu,
    .home-loader,
    html[data-page-entry='home']::before,
    .ai-widget,
    #cookie-consent-root {
        display: none !important;
    }
    main,
    .site-footer {
        margin-left: 0 !important;
    }
    .block {
        padding-block: 32px;
    }
    .home-intro,
    .home-scroll-motion .home-intro {
        position: static;
        min-height: auto;
        transform: none !important;
    }
    .home-content,
    .home-scroll-motion .home-content {
        box-shadow: none;
    }
}

@media (max-width: 360px) {
}

/* Pending states are installed only when the motion controller is available. */
.concept-photo-pending [data-concept-image] {
    transform: scale(1.045);
}
.concept-copy-pending
    :is(h2 > span, [data-concept-detail], [data-concept-link]) {
    opacity: 0;
    transform: translateY(24px);
}

@media (prefers-reduced-motion: reduce) {
    .concept-photo-pending [data-concept-image],
    .concept-copy-pending
        :is(h2 > span, [data-concept-detail], [data-concept-link]) {
        opacity: 1;
        transform: none;
    }
}

/* A finite invitation to scroll; the disc stays usable without motion or scripts. */
.home-intro {
    padding-bottom: clamp(144px, 14vh, 160px);
}
.site-menu.is-open .menu-links a:is(:hover, :focus-visible) {
    text-decoration: underline;
    text-underline-offset: 0.12em;
    text-decoration-thickness: 1px;
}
[data-ambient-motion] {
    animation: editorial-ambient-breath 18s ease-in-out infinite alternate;
    transform-origin: center;
}
@keyframes editorial-ambient-breath {
    from {
        scale: 1;
    }
    to {
        scale: 1.035;
    }
}
.ambient-motion-ready [data-ambient-motion]:not(.is-ambient-visible),
.ambient-motion-ready [data-ambient-motion]:not(.is-ambient-visible) *,
.ambient-motion-ready [data-ambient-motion]:not(.is-ambient-visible)::before,
.ambient-motion-ready [data-ambient-motion]:not(.is-ambient-visible)::after,
.ambient-motion-ready [data-ambient-motion]:not(.is-ambient-visible) *::before,
.ambient-motion-ready [data-ambient-motion]:not(.is-ambient-visible) *::after,
[data-motion-paused='true'] [data-ambient-motion],
[data-motion-paused='true'] [data-ambient-motion] *,
[data-motion-paused='true'] [data-ambient-motion]::before,
[data-motion-paused='true'] [data-ambient-motion]::after,
[data-motion-paused='true'] [data-ambient-motion] *::before,
[data-motion-paused='true'] [data-ambient-motion] *::after {
    animation-play-state: paused !important;
}
@media (prefers-reduced-motion: reduce) {
    .site-menu .menu-links a {
        opacity: 1;
        transform: none;
    }
    [data-ambient-motion] {
        animation: none !important;
    }
}

/* One action-link language: text followed by a simple horizontal arrow. */
a:has(> .link-arrow),
button.knowledge-citation:has(> .link-arrow) {
    align-items: center;
    justify-content: flex-start;
    gap: var(--link-arrow-gap);
    text-decoration: none;
    border-bottom: 0;
}
.link-arrow {
    display: inline-block;
    flex: 0 0 var(--link-arrow-size);
    width: var(--link-arrow-size);
    height: var(--link-arrow-size);
    vertical-align: middle;
    transition: transform 180ms ease;
}
a:hover > .link-arrow,
button.knowledge-citation:hover > .link-arrow {
    transform: translateX(3px);
}
.header-contact[aria-current],
.soglia-link,
.soglia-link:hover {
    text-decoration: none;
}
@media (max-width: 1100px) {
}
@media (prefers-reduced-motion: reduce) {
    .link-arrow {
        transition: none;
    }
    a:hover > .link-arrow,
    button.knowledge-citation:hover > .link-arrow {
        transform: none;
    }
}

button:has(> .link-arrow) {
    gap: var(--link-arrow-gap);
}

.demo-note,
.automation-section-caption p {
    color: var(--subtle);
}
/* Miniature controls scale with their scene; real controls share one gap. */
:is(a, button):has(> .link-arrow):not([data-concept-link]) {
    gap: var(--link-arrow-gap);
}

/* Krymtech's clearer service-led layout, built on the existing brand system. */
:root {
    --rail: 0px;
    --gutter: clamp(22px, 6vw, 104px);
}
html {
    scroll-padding-top: 100px;
}
main,
.site-footer,
body:not(.is-scrolled) :is(main, .site-footer) {
    margin-left: 0;
}
main {
    padding-top: 82px;
}
.site-header {
    inset: 0 0 auto;
    width: 100%;
    height: 82px;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
    gap: 30px;
    flex-direction: row;
    justify-content: space-between;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: rgb(255 255 255 / 94%);
    backdrop-filter: blur(14px);
}
.site-mark {
    display: inline-flex;
    justify-self: start;
    gap: 10px;
    font-size: 18px;
    z-index: 2;
}
.site-mark img {
    display: block;
    width: 34px;
    height: 34px;
    object-fit: contain;
}
.site-mark span,
.site-header .site-mark span {
    display: block;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
}
.site-nav,
.is-scrolled .site-nav,
body:not(.is-scrolled):not(.menu-open) .site-nav {
    position: static;
    display: flex;
    align-items: center;
    justify-self: center;
    gap: clamp(18px, 2.4vw, 36px);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
    font-size: 14px;
}
.site-nav a {
    min-height: 44px;
    position: relative;
    font-size: 14px;
    white-space: nowrap;
}
.site-nav a::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 220ms ease;
}
.site-nav a:hover::after,
.site-nav a[aria-current]::after {
    transform: scaleX(1);
    transform-origin: left;
}
.site-header .header-contact,
.header-contact,
body:has(.immersive-hero) .site-header .header-contact {
    position: static;
    justify-self: end;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--paper);
    white-space: nowrap;
    text-transform: uppercase;
}
.header-contact:hover {
    background: var(--forest);
    color: #fff;
}
.menu-toggle {
    display: none;
}
.rail-caption {
    display: none;
}
.site-menu {
    inset: 82px 0 0;
    background: var(--paper);
    color: var(--ink);
}
.site-menu.is-open {
    box-shadow: 0 30px 70px rgb(0 0 0 / 12%);
}
.menu-links a {
    font-size: clamp(34px, 5.5vw, 76px);
}
.menu-aside .action.light {
    background: var(--ink);
    color: var(--paper);
}
.site-footer {
    padding-top: 58px;
}

.home-hero {
    min-height: min(790px, calc(100svh - 82px));
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
    align-items: center;
    gap: 24px clamp(42px, 7vw, 112px);
    padding-block: clamp(76px, 10vw, 136px) 34px;
    text-align: left;
}
.home-hero-copy {
    padding-block: 20px;
}
.home-hero > .eyebrow {
    margin-bottom: 24px;
}
.home-hero h1 {
    margin: 0;
    max-width: 12ch;
    font-size: clamp(50px, 5.9vw, 86px);
    line-height: 1.035;
    letter-spacing: -0.06em;
    font-weight: 500;
    text-wrap: balance;
}
.home-hero h1 em {
    font-style: normal;
    color: var(--ink);
}
.home-hero-description {
    max-width: 48ch;
    margin-top: 24px;
    color: var(--muted);
    font-size: clamp(17px, 1.45vw, 20px);
    line-height: 1.6;
}
.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    align-items: center;
    margin-top: 28px;
}
.home-hero-actions .action {
    min-height: 50px;
    padding: 13px 18px;
}
.home-hero-note {
    margin-top: 20px;
    color: var(--subtle);
    font-size: 13px;
}
.home-hero-visual {
    position: relative;
    min-height: 390px;
    aspect-ratio: 1.12;
    overflow: hidden;
    background: #edf1e9;
}
.home-hero-visual img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
}
.home-hero-stamp {
    position: absolute;
    right: 18px;
    bottom: 18px;
    min-width: 126px;
    padding: 15px 18px;
    background: var(--green);
    color: var(--ink);
    font-size: 12px;
    line-height: 1.25;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.home-proof-strip {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}
.home-services .section-heading,
.home-work .section-heading,
.home-reading .section-heading {
    margin-bottom: 44px;
}
.home-offer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.home-offer {
    display: grid;
    grid-template-columns: 1fr;
    background: #f3f5f1;
    min-width: 0;
}
.home-offer--ai {
    background: #edf1e9;
}
.home-offer-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 1.6;
    background: #e5e9e0;
}
.home-offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 650ms var(--ease);
}
.home-offer-image:hover img {
    transform: scale(1.025);
}
.home-offer-copy {
    padding: clamp(24px, 3vw, 44px);
}
.home-offer-copy .eyebrow {
    margin-bottom: 18px;
}
.home-offer-copy h3 {
    max-width: 12ch;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.06;
    font-weight: 500;
    letter-spacing: var(--heading-tracking);
}
.home-offer-copy > p:not(.eyebrow) {
    max-width: 44ch;
    margin-top: 16px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
}
.home-offer-copy .text-link {
    margin-top: 14px;
}
.home-offer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0 22px;
}
.home-method {
    display: grid;
    grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(38px, 8vw, 120px);
    background: #f5f6f3;
}
.home-method-heading h2,
.home-work .section-heading h2,
.home-reading .section-heading h2 {
    margin-top: 18px;
    font-size: clamp(38px, 5vw, 70px);
    line-height: 1.06;
    font-weight: 500;
    letter-spacing: var(--heading-tracking);
}
.home-method-heading > p:last-child {
    margin-top: 20px;
    max-width: 38ch;
    color: var(--muted);
}
.home-method-list {
    list-style: none;
    padding: 0;
}
.home-method-list li {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 18px;
    padding: 25px 0;
    border-top: 1px solid var(--line);
}
.home-method-list li > span {
    color: var(--forest);
    font-size: 12px;
    font-weight: 700;
}
.home-method-list h3 {
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.03em;
}
.home-method-list p {
    max-width: 52ch;
    margin-top: 8px;
    color: var(--muted);
    font-size: 15px;
}
.home-work-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 24px;
}
.home-work-card {
    display: block;
    min-width: 0;
}
.home-work-card--large {
    grid-column: 1 / -1;
}
.home-work-card img {
    width: 100%;
    aspect-ratio: 1.55;
    object-fit: cover;
    background: #eef0eb;
}
.home-work-card--large img {
    aspect-ratio: 1.9;
}
.home-work-card span {
    display: block;
    margin-top: 16px;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}
.home-work-card h3 {
    margin-top: 6px;
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 500;
    letter-spacing: var(--heading-tracking);
}
.home-founder {
    background: var(--green);
}
.home-founder .person-photo {
    aspect-ratio: 1.28;
    max-height: 510px;
}
.home-founder .person-copy h2 {
    font-size: clamp(38px, 4.8vw, 68px);
}
.home-reading-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
}
.home-reading-grid a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 220px;
    padding: 24px;
    border-right: 1px solid var(--line);
}
.home-reading-grid a:first-child {
    padding-left: 0;
}
.home-reading-grid a:last-child {
    border-right: 0;
}
.home-reading-grid span {
    color: var(--forest);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}
.home-reading-grid h3 {
    margin-top: 24px;
    max-width: 22ch;
    font-size: clamp(20px, 2.1vw, 28px);
    line-height: 1.25;
    font-weight: 500;
}
.home-reading-grid p {
    margin-top: auto;
    padding-top: 20px;
    font-size: 14px;
}
.home-faq .faq-section {
    max-width: 900px;
    margin-inline: auto;
    padding-top: 0;
}
.home-faq .faq-section h2 {
    font-size: clamp(34px, 4.5vw, 58px);
    margin-bottom: 36px;
}
.home-faq .native-faq {
    padding-block: 20px;
}
.home-faq .native-faq summary {
    align-items: center;
}
.home-faq-label {
    display: inline-flex;
    align-items: center;
    gap: 13px;
}
.home-faq-icon {
    width: 22px;
    height: 22px;
    flex: none;
    color: #7a837c;
}

@media (max-width: 1100px) {
    .site-header {
        grid-template-columns: 1fr auto auto;
        gap: 14px;
        height: 76px;
        padding-inline: 22px;
    }
    .site-nav,
    .is-scrolled .site-nav,
    body:not(.is-scrolled):not(.menu-open) .site-nav {
        position: static;
        display: flex;
        gap: clamp(12px, 2.2vw, 24px);
        font-size: 12px;
    }
    .site-nav a {
        font-size: 12px;
    }
    .header-contact,
    .site-header .header-contact,
    body:has(.immersive-hero) .site-header .header-contact {
        display: flex;
        position: static;
        min-height: 42px;
        padding-inline: 13px;
        font-size: 12px;
    }
    .menu-toggle {
        display: none;
    }
    main {
        padding-top: 76px;
    }
    .home-hero {
        min-height: auto;
        grid-template-columns: 1fr 0.9fr;
        gap: 36px;
    }
    .home-hero-visual {
        min-height: 310px;
    }
}
@media (max-width: 760px) {
    :root {
        --gutter: 22px;
    }
    .site-header {
        height: 72px;
        grid-template-columns: minmax(0, 1fr) auto auto;
        padding-inline: 18px;
    }
    .site-mark {
        font-size: 16px;
        gap: 8px;
    }
    .site-mark img {
        width: 30px;
        height: 30px;
    }
    .site-nav,
    .is-scrolled .site-nav,
    body:not(.is-scrolled):not(.menu-open) .site-nav {
        display: none;
    }
    .site-header .header-contact,
    .header-contact,
    body:has(.immersive-hero) .site-header .header-contact,
    body:has(.home-intro) .site-header .header-contact {
        min-height: 40px;
        padding-inline: 11px;
        font-size: 12px;
        display: flex;
    }
    .menu-toggle {
        display: block;
        position: static;
        width: 48px;
        height: 48px;
        padding: 10px;
        margin: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }
    .site-menu {
        inset: 72px 0 0;
        padding: 54px 22px 30px;
    }
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .menu-links a {
        font-size: clamp(32px, 9vw, 56px);
    }
    .menu-small {
        flex-wrap: wrap;
        gap: 12px 20px;
        margin-top: 26px;
    }
    main {
        padding-top: 72px;
    }
    .home-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 30px;
        padding-top: 58px;
        padding-bottom: 24px;
    }
    .home-hero h1 {
        font-size: clamp(46px, 11vw, 68px);
        max-width: 11ch;
    }
    .home-hero-visual {
        min-height: 0;
        aspect-ratio: 1.2;
    }
    .home-proof-strip {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 18px;
        padding-top: 18px;
        font-size: 11px;
    }
    .home-offer-grid,
    .home-method,
    .home-work-grid,
    .home-reading-grid {
        grid-template-columns: 1fr;
    }
    .home-offer-grid {
        gap: 18px;
    }
    .home-method {
        gap: 28px;
    }
    .home-work-card--large {
        grid-column: auto;
    }
    .home-work-card img,
    .home-work-card--large img {
        aspect-ratio: 1.45;
    }
    .home-reading-grid a,
    .home-reading-grid a:first-child {
        min-height: 185px;
        padding: 22px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
    .home-reading-grid a:last-child {
        border-bottom: 0;
    }
    .home-reading-grid h3 {
        margin-top: 14px;
    }
    .home-founder .person-block {
        grid-template-columns: 1fr;
    }
    .home-founder .person-photo {
        aspect-ratio: 1.25;
    }
    .site-footer {
        padding: 42px 22px 24px;
    }
    .footer-top {
        flex-direction: column;
    }
    .footer-top nav {
        gap: 12px 18px;
    }
    .footer-wordmark {
        margin: 52px 0 32px;
    }
    .footer-bottom {
        flex-direction: column;
    }
}
@media (max-width: 390px) {
    .site-header {
        padding-inline: 13px;
    }
    .header-contact .link-arrow {
        display: none;
    }
    .home-hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .site-nav a::after,
    .home-offer-image img {
        transition: none;
    }
}
