/* ==========================================================================
   CakraFlash corporate website — design system
   Hand-authored, no build step. Sections:
   1. Fonts  2. Tokens  3. Base  4. Layout  5. Typography  6. Components
   7. Header/nav  8. Sections  9. Pages  10. Footer  11. Motion  12. Utilities
   ========================================================================== */

/* 1. Fonts (self-hosted, latin subset, variable weight) ------------------- */
@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-latin-wght.woff2") format("woff2");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-latin-wght.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* 2. Tokens --------------------------------------------------------------- */
:root {
    /* Brand palette — 2027 brief: Near Black, Warm Off-White, Neutral Gray, Flash Red (accent only). */
    --ink-950: #0b0b0b;
    --ink-900: #111111;    /* Near Black */
    --ink-800: #1a1a19;
    --ink-700: #2a2927;
    --ink-600: #3d3b38;
    --paper: #f7f6f3;      /* Warm Off-White */
    --paper-2: #efede8;    /* alternate band */
    --stone-200: #e2dfd8;  /* borders */
    --stone-300: #cfcbc2;
    --stone-400: #a8a49c;  /* muted text on ink: 7.6:1 */
    --stone-500: #6b6b6b;  /* Neutral Gray: 4.9:1 on paper, 4.55:1 on paper-2 */
    --stone-700: #3f3d3a;
    --red: #e53935;        /* Flash Red — marks, rules and large type only (3.9:1 on paper) */
    --red-text: #c62828;   /* red for small text on light surfaces: 5.2:1 */
    --red-on-dark: #f2554f; /* red for small text on ink: 5.6:1 */
    --brand-red: var(--red);

    --white: #ffffff;

    /* Earlier palette names, mapped onto the 2027 palette so existing rules follow it. */
    --navy-950: var(--ink-950);
    --navy-900: var(--ink-900);
    --navy-800: var(--ink-900);
    --navy-600: var(--ink-600);
    --blue-600: var(--ink-900);
    --blue-500: var(--ink-700);
    --blue-400: var(--stone-400);
    --sky-400: var(--red-on-dark);
    --gray-50: var(--paper);
    --gray-100: var(--paper-2);
    --gray-200: var(--stone-200);
    --gray-400: var(--stone-400);
    --gray-500: var(--stone-500);
    --gray-700: var(--stone-700);
    --gray-900: var(--ink-900);

    /* Semantic — light surfaces */
    --color-bg: var(--paper);
    --color-bg-subtle: var(--paper-2);
    --color-surface: var(--white);
    --color-text: var(--ink-900);
    --color-text-muted: var(--stone-500);
    --color-text-soft: var(--stone-700);
    --color-border: var(--stone-200);
    --color-accent: var(--ink-900);
    --color-accent-hover: #000000;
    --color-link-rule: var(--red);
    --color-focus: var(--red);

    /* Semantic — dark surfaces */
    --color-dark-bg: var(--ink-900);
    --color-dark-bg-deep: var(--ink-950);
    --color-dark-text: var(--paper);
    --color-dark-muted: var(--stone-400);
    --color-dark-border: rgba(247, 246, 243, 0.14);
    --color-dark-accent: var(--red-on-dark);

    /* Typography */
    --font-heading: "Manrope", "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --text-xs: 0.8125rem;
    --text-sm: 0.9375rem;
    --text-base: 1.0625rem;
    --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
    --text-xl: clamp(1.25rem, 1.12rem + 0.6vw, 1.625rem);
    --text-2xl: clamp(1.625rem, 1.35rem + 1.2vw, 2.375rem);
    --text-3xl: clamp(2rem, 1.55rem + 2vw, 3.25rem);
    --text-display: clamp(2.5rem, 1.7rem + 3.8vw, 5.25rem);

    /* Spacing scale (4px base) */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 2.5rem;
    --space-8: 3rem;
    --space-9: 4rem;
    --space-10: 5rem;
    --section-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);

    /* Layout */
    --container: 1240px;
    --container-narrow: 820px;
    --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
    --header-h: 72px;

    /* Shape & depth */
    /* Editorial: small radii, almost no shadow — separation comes from rules and space. */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 2px rgba(17, 17, 17, 0.05);
    --shadow: 0 1px 2px rgba(17, 17, 17, 0.05), 0 10px 28px -14px rgba(17, 17, 17, 0.14);
    --shadow-lg: 0 2px 6px rgba(17, 17, 17, 0.05), 0 28px 56px -24px rgba(17, 17, 17, 0.22);

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --duration: 220ms;
}

/* 3. Base ----------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.65;
    font-feature-settings: "cv11", "ss01";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

img,
svg {
    display: block;
    max-width: 100%;
}

img { height: auto; }

a {
    color: var(--color-accent);
    text-decoration-color: var(--color-link-rule);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

a:hover { color: var(--color-accent-hover); }

:focus-visible {
    outline: 3px solid var(--color-focus);
    outline-offset: 3px;
    border-radius: 4px;
}

.on-dark :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible,
.on-dark :focus-visible {
    outline-color: var(--sky-400);
}

::selection {
    background: rgba(17, 17, 17, 0.18);
}

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

/* 4. Layout --------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container--narrow {
    max-width: calc(var(--container-narrow) + var(--gutter) * 2);
}

.section {
    padding-block: var(--section-y);
    position: relative;
}

.section--subtle { background: var(--color-bg-subtle); }

.section--dark,
.on-dark {
    background: var(--color-dark-bg);
    color: var(--color-dark-text);
}

/* Low specificity so component link styles (footer, breadcrumbs…) win */
:where(.section--dark, .on-dark) a:not(.btn) { color: var(--paper); text-decoration-color: var(--red-on-dark); }

.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }

.grid {
    display: grid;
    gap: var(--space-5);
}

@media (min-width: 768px) {
    .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Asymmetric editorial split: 5 / 7 on a 12-column grid */
.split {
    display: grid;
    gap: var(--space-8);
    align-items: start;
}

@media (min-width: 1024px) {
    .split {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: var(--space-6);
    }
    .split > :first-child { grid-column: 1 / span 5; }
    .split > :last-child { grid-column: 7 / span 6; }
    .split--reverse > :first-child { grid-column: 8 / span 5; order: 2; }
    .split--reverse > :last-child { grid-column: 1 / span 6; order: 1; }
    .split--center { align-items: center; }
}

.stack > * + * { margin-top: var(--space-5); }

/* 5. Typography ----------------------------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0;
    text-wrap: balance;
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); letter-spacing: -0.015em; line-height: 1.25; }
h4 { font-size: var(--text-lg); }

p { margin: 0; text-wrap: pretty; }

.display {
    font-size: var(--text-display);
    font-weight: 750;
    letter-spacing: -0.035em;
    line-height: 1.02;
}

.lead {
    font-size: var(--text-lg);
    line-height: 1.6;
    color: var(--color-text-soft);
    max-width: 62ch;
}

.on-dark .lead,
.section--dark .lead { color: var(--color-dark-muted); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin: 0 0 var(--space-4);
}

.eyebrow::before {
    content: "";
    width: 1.5rem;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.on-dark .eyebrow,
.section--dark .eyebrow { color: var(--sky-400); }

.text-muted { color: var(--color-text-muted); }
.on-dark .text-muted, .section--dark .text-muted { color: var(--color-dark-muted); }

/* Formerly a blue gradient; the 2027 palette keeps headline accents plain. */
.accent-gradient { color: inherit; }

.prose {
    font-size: var(--text-base);
    line-height: 1.75;
    color: var(--color-text-soft);
    max-width: 72ch;
}

.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: var(--text-2xl); margin-top: 2em; color: var(--color-text); }
.prose h3 { font-size: var(--text-xl); margin-top: 1.75em; color: var(--color-text); }
.prose h4, .prose strong { color: var(--color-text); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: 0.4em; }
.prose blockquote {
    margin-inline: 0;
    padding-left: var(--space-5);
    border-left: 3px solid var(--color-accent);
    font-size: var(--text-lg);
    color: var(--color-text);
}
.prose code {
    font-size: 0.9em;
    background: var(--gray-100);
    padding: 0.1em 0.35em;
    border-radius: 4px;
}
.prose table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--color-border); padding: 0.6em 0.75em; text-align: left; }
.prose a { overflow-wrap: anywhere; }
.prose figure { margin: 2em 0; }
/* Width and height come from the tag (article_images()): never upscaled, tall photos capped at 704 px high. */
.prose img { display: block; max-width: 100%; height: auto; border-radius: var(--photo-radius, var(--radius-sm)); }
.prose .prose-photo { display: block; width: fit-content; max-width: 100%; overflow: hidden; border-radius: var(--photo-radius, var(--radius-sm)); }
.prose figcaption { margin-top: var(--space-2); font-size: var(--text-sm); color: var(--color-text-muted); }
.prose blockquote p + p { margin-top: 0.75em; }
.prose .article-slot { margin: 2em 0; }
.prose .article-slot--quote { position: relative; min-height: 7rem; border-radius: var(--radius-sm); }

/* 6. Components ----------------------------------------------------------- */

/* Buttons */
.btn {
    --btn-bg: var(--color-accent);
    --btn-fg: var(--white);
    --btn-border: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 48px;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    border: 1px solid var(--btn-border);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--duration) var(--ease), color var(--duration) var(--ease),
        border-color var(--duration) var(--ease), transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.btn:hover {
    color: var(--btn-fg);
    background: var(--btn-bg-hover, var(--color-accent-hover));
    box-shadow: 0 8px 24px -10px rgba(17, 17, 17, 0.6);
}

.btn .icon { width: 1.05em; height: 1.05em; transition: transform var(--duration) var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }

.btn--secondary {
    --btn-bg: transparent;
    --btn-fg: var(--color-text);
    --btn-border: var(--gray-200);
    --btn-bg-hover: var(--gray-50);
}

.btn--secondary:hover { box-shadow: none; border-color: var(--gray-400); }

.on-dark .btn--secondary,
.section--dark .btn--secondary {
    --btn-fg: var(--color-dark-text);
    --btn-border: rgba(247, 246, 243, 0.28);
    --btn-bg-hover: rgba(255, 255, 255, 0.06);
}

.on-dark .btn--secondary:hover,
.section--dark .btn--secondary:hover { border-color: rgba(247, 246, 243, 0.6); }

.btn--light {
    --btn-bg: var(--white);
    --btn-fg: var(--navy-800);
    --btn-bg-hover: var(--paper-2);
}

.btn--light:hover { box-shadow: 0 8px 24px -10px rgba(247, 246, 243, 0.5); }

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 600;
    font-size: var(--text-sm);
    text-decoration: none;
}

.link-arrow .icon { width: 1em; height: 1em; transition: transform var(--duration) var(--ease); }
.link-arrow:hover .icon--arrow { transform: translateX(3px); }
.link-arrow:hover .icon--external { transform: translate(2px, -2px); }

/* Icons */
.icon {
    width: 1.25rem;
    height: 1.25rem;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Section heading */
.section-heading {
    display: grid;
    gap: var(--space-4);
    margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}

.section-heading--split {
    align-items: end;
}

@media (min-width: 1024px) {
    .section-heading--split {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        gap: var(--space-8);
    }
}

.section-heading--center {
    text-align: center;
    justify-items: center;
}

.section-heading--center .eyebrow::before { display: none; }

.section-heading h2 { max-width: 18ch; }
.section-heading--center h2 { max-width: 22ch; }

/* Cards */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
    background: var(--white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease),
        transform var(--duration) var(--ease);
}

.card--interactive:hover {
    border-color: var(--stone-300);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.card h3 { font-size: var(--text-xl); }
.card p { color: var(--color-text-muted); }

.section--dark .card,
.on-dark .card {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--color-dark-border);
}

.section--dark .card p,
.on-dark .card p { color: var(--color-dark-muted); }

/* Stretched link: the whole card is clickable via its primary link */
.card__link::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

.card__link { text-decoration: none; color: inherit; }
.card__link:hover { color: inherit; }
.card:focus-within { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.card:focus-within .card__link:focus-visible { outline: none; }

/* Capability card */
.capability {
    min-height: 100%;
    overflow: hidden;
}

.capability__icon {
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 14px;
    color: var(--blue-600);
    background: var(--paper-2);
    border: 1px solid var(--stone-200);
}

.capability__icon .icon { width: 1.6rem; height: 1.6rem; stroke-width: 1.5; }

.capability__index {
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--color-text-muted);
}

.capability__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.capability__art {
    position: absolute;
    right: -48px;
    bottom: -48px;
    width: 180px;
    height: 180px;
    color: var(--blue-600);
    opacity: 0.06;
    transition: opacity var(--duration) var(--ease), transform 600ms var(--ease);
    pointer-events: none;
}

.capability:hover .capability__art { opacity: 0.12; transform: rotate(30deg); }

.capability__body { position: relative; display: grid; gap: var(--space-3); margin-top: auto; padding-top: var(--space-6); }

/* Product card */
.product {
    --accent: var(--blue-500);
    overflow: hidden;
    min-height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
    border: 1px solid var(--color-dark-border);
    color: var(--color-dark-text);
    gap: var(--space-5);
}

.product::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent 85%);
    opacity: 0.9;
}

.product::after {
    content: "";
    position: absolute;
    top: -40%;
    right: -25%;
    width: 70%;
    aspect-ratio: 1;
    background: radial-gradient(circle, color-mix(in srgb, var(--accent) 28%, transparent), transparent 65%);
    opacity: 0.35;
    transition: opacity 400ms var(--ease);
    pointer-events: none;
}

.product:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); transform: translateY(-3px); }
.product:hover::after { opacity: 0.7; }

.product__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    position: relative;
    z-index: 1;
}

.product__brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.product__mark {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    background: color-mix(in srgb, var(--accent) 16%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
    color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
}

.product__mark img { width: 1.75rem; height: 1.75rem; object-fit: contain; }

.product__name {
    font-size: var(--text-xl);
    letter-spacing: -0.02em;
}

.product p.product__category {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--accent) 55%, #ffffff);
    position: relative;
    z-index: 1;
}

.product p { position: relative; z-index: 1; color: var(--color-dark-muted); }

.product__footer {
    margin-top: auto;
    padding-top: var(--space-5);
    border-top: 1px solid var(--color-dark-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.product .card__link,
.product .product__cta { color: var(--color-dark-text); font-weight: 600; font-size: var(--text-sm); }

.product__cta { display: inline-flex; align-items: center; gap: 0.5rem; }
.product__cta .icon { width: 1rem; height: 1rem; transition: transform var(--duration) var(--ease); }
.product:hover .product__cta .icon { transform: translate(2px, -2px); }

.product__domain { font-size: var(--text-xs); color: var(--gray-400); }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.3;
    white-space: nowrap;
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--color-border);
}

.on-dark .badge,
.section--dark .badge {
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-dark-text);
    border-color: var(--color-dark-border);
}

.badge--accent { background: var(--paper-2); color: var(--ink-900); border-color: var(--stone-200); }

/* Product card on light background (ecosystem page) */
.product--light {
    background: var(--white);
    border-color: var(--color-border);
    color: var(--color-text);
}

.product--light p { color: var(--color-text-muted); }
.product--light.product p.product__category { color: color-mix(in srgb, var(--accent) 70%, var(--ink-900)); }
.product--light .product__footer { border-top-color: var(--color-border); }
.product--light .card__link,
.product--light .product__cta { color: var(--color-text); }
.product--light .product__domain { color: var(--gray-500); }
.product--light::after { opacity: 0.18; }
.product--light:hover { box-shadow: var(--shadow-lg); }

/* Article card */
.article-card { gap: var(--space-3); }

.article-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2) var(--space-3);
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

.article-card h3 { font-size: var(--text-lg); line-height: 1.35; }

/* Card carousel (home Insights & Stories, related stories): a swipeable row on phones, with the next card peeking in. */
@media (max-width: 767px) {
    .card-carousel {
        position: relative; /* cards measure their offsetLeft from the track (site.js) */
        grid-auto-flow: column;
        grid-auto-columns: 84%;
        gap: var(--space-4);
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--gutter);
        margin-inline: calc(-1 * var(--gutter));
        padding: var(--space-2) var(--gutter) var(--space-5); /* room for the cards' lift and shadow */
        scrollbar-width: none;
    }
    .card-carousel::-webkit-scrollbar { display: none; }
    .card-carousel > * { scroll-snap-align: start; }
    .carousel-dots { display: flex; justify-content: center; gap: var(--space-1); margin-top: var(--space-2); }
    .carousel-dots[hidden] { display: none; }
    .carousel-dots button {
        display: grid; place-items: center; width: 28px; height: 28px; padding: 0;
        border: 0; background: none; cursor: pointer;
    }
    .carousel-dots button::before {
        content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--stone-300);
        transition: width var(--duration) var(--ease), background-color var(--duration) var(--ease);
    }
    .carousel-dots button[aria-current="true"]::before { width: 22px; background: var(--red); }
}
@media (min-width: 768px) { .carousel-dots { display: none; } }
.article-card__more { margin-top: auto; padding-top: var(--space-4); }

/* Breadcrumbs */
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0 0 var(--space-6);
    padding: 0;
    list-style: none;
    font-size: var(--text-xs);
    color: var(--color-dark-muted);
}

.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.35rem; }
.breadcrumbs li + li::before { content: "/"; opacity: 0.5; }
.breadcrumbs a { color: var(--color-dark-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--color-dark-text); }

/* Notice / empty state */
.notice {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
    padding: var(--space-5) var(--space-5);
    border-radius: var(--radius);
    background: var(--gray-50);
    border: 1px solid var(--color-border);
    color: var(--color-text-soft);
}

.notice .icon { color: var(--color-accent); margin-top: 0.15rem; }
.notice--success { background: #f0fdf4; border-color: #bbf7d0; color: #14532d; }
.notice--success .icon { color: #15803d; }
.notice--error { background: #fef2f2; border-color: #fecaca; color: #7f1d1d; }
.notice--error .icon { color: #b91c1c; }
.notice strong { display: block; color: inherit; }

.empty-state {
    display: grid;
    justify-items: center;
    gap: var(--space-4);
    text-align: center;
    padding: var(--space-9) var(--space-5);
    border: 1px dashed var(--stone-300);
    border-radius: var(--radius-lg);
    color: var(--color-text-muted);
    background: var(--white);
}

.empty-state .icon { width: 2.25rem; height: 2.25rem; color: var(--gray-400); }

/* Forms */
.form { display: grid; gap: var(--space-5); }

.form-row { display: grid; gap: var(--space-5); }
@media (min-width: 768px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 0.45rem; }

.field label,
.field legend {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
}

.field .req { color: var(--color-text-muted); font-weight: 400; }

.input {
    width: 100%;
    min-height: 48px;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--stone-300);
    border-radius: 10px;
    background: var(--white);
    font-size: var(--text-base);
    line-height: 1.4;
    transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.input:hover { border-color: var(--gray-400); }

.input:focus {
    outline: none;
    border-color: var(--blue-600);
    box-shadow: 0 0 0 4px rgba(17, 17, 17, 0.16);
}

textarea.input { min-height: 160px; resize: vertical; }

select.input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 1.1rem;
    padding-right: 2.5rem;
}

.input[aria-invalid="true"] { border-color: #dc2626; }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.14); }

.field-error { font-size: var(--text-xs); color: #b91c1c; font-weight: 500; }

.checkbox {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
    font-size: var(--text-sm);
    color: var(--color-text-soft);
    line-height: 1.55;
}

.checkbox input {
    flex: none;
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.15rem;
    accent-color: var(--blue-600);
}

.hp-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Language switcher */
.lang-switch {
    display: inline-flex;
    padding: 3px;
    border-radius: 999px;
    border: 1px solid var(--color-dark-border);
    background: rgba(255, 255, 255, 0.03);
}

.lang-switch a {
    display: inline-grid;
    place-items: center;
    min-width: 2.5rem;
    min-height: 2rem;
    padding: 0 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--color-dark-muted);
    text-decoration: none;
}

.lang-switch a:hover { color: var(--white); }
.lang-switch a[aria-current="true"] { background: rgba(255, 255, 255, 0.1); color: var(--white); }

/* 7. Header / navigation -------------------------------------------------- */
.skip-link {
    position: absolute;
    left: var(--space-4);
    top: -100px;
    z-index: 100;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--navy-800);
    font-weight: 600;
}

.skip-link:focus { top: var(--space-4); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(17, 17, 17, 0.86);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid rgba(120, 116, 108, 0.12);
    color: var(--color-dark-text);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-5);
    height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: none;
}

.brand img { width: 160px; height: auto; }
@media (min-width: 1080px) { .brand img { width: 184px; } }
.brand-group { display: inline-flex; align-items: center; flex: none; }
.brand__badge { display: inline-flex; margin-left: var(--space-4); padding-left: var(--space-4); border-left: 1px solid rgba(255, 255, 255, 0.18); }
.brand__badge img { width: auto; height: 40px; }
.brand__badge-art { position: relative; display: inline-flex; }
/* Masked to the red orbit of the logo (anniversary-10-ring.png, made from its red pixels), so only the ring lights up. */
.brand__glow {
    position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: 0;
    -webkit-mask: url("../img/anniversary-10-ring.png") center / 100% 100% no-repeat;
    mask: url("../img/anniversary-10-ring.png") center / 100% 100% no-repeat;
}
.brand__glow::before {
    content: ""; position: absolute; left: 47%; top: 50%; width: 240px; height: 240px; margin: -120px 0 0 -120px;
    background: conic-gradient(transparent 0deg 285deg, rgba(255, 244, 236, 0.15) 305deg, rgba(255, 250, 245, 1) 350deg, transparent 360deg);
}
@media (max-width: 479px) {
    .brand__badge { margin-left: var(--space-3); padding-left: var(--space-3); }
    .brand__badge img { height: 32px; }
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--color-dark-border);
    background: transparent;
    color: var(--color-dark-text);
    font-size: var(--text-sm);
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.nav-toggle .icon { width: 1.15rem; height: 1.15rem; }
/* Phones: the wordmark and the 10-years badge leave room for the icon only; the label stays for screen readers. */
@media (max-width: 479px) {
    .nav-toggle { width: 44px; padding: 0; justify-content: center; }
    .nav-toggle [data-nav-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

/* Hangs below the sticky header at full screen height. Not position: fixed — the header's
   backdrop-filter would make the header its containing block and squash the panel to nothing. */
.nav-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    padding: var(--space-6) var(--gutter) var(--space-8);
    background: rgba(17, 17, 17, 0.5); /* 50% opaque: the page shows through, blurred so the menu stays legible */
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    overflow-y: auto;
    display: none;
    flex-direction: column;
    gap: var(--space-7);
}

.nav-panel.is-open { display: flex; }
/* The header blur would confine the panel's own blur to the header; drop it while the menu is open. */
.site-header:has(.nav-panel.is-open) { -webkit-backdrop-filter: none; backdrop-filter: none; }

.no-js .nav-toggle { display: none; }
.no-js .nav-panel { position: static; display: flex; height: auto; padding: 0 0 var(--space-5); background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

.nav-list {
    display: grid;
    gap: var(--space-1);
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-dark-text);
    text-decoration: none;
    border-bottom: 1px solid var(--color-dark-border);
}

.nav-list a[aria-current="page"] { color: var(--sky-400); }

.nav-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-4);
}

@media (min-width: 1080px) {
    .nav-toggle { display: none; }

    .nav-panel,
    .no-js .nav-panel {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        flex: 1;
        gap: var(--space-6);
        height: auto;
        padding: 0;
        background: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none; /* the phone menu's blur would draw a dark box behind the desktop links */
        overflow: visible;
    }

    .nav-list {
        display: flex;
        gap: var(--space-1);
    }

    .nav-list a {
        position: relative;
        min-height: 40px;
        padding: 0 0.8rem;
        font-family: var(--font-body);
        font-size: var(--text-sm);
        font-weight: 500;
        color: var(--color-dark-muted);
        border: 0;
        border-radius: 999px;
        transition: color var(--duration) var(--ease), background-color var(--duration) var(--ease);
    }

    .nav-list a:hover { color: var(--white); background: rgba(255, 255, 255, 0.05); }

    .nav-list a[aria-current="page"] { color: var(--white); }

    .nav-list a[aria-current="page"]::after {
        content: "";
        position: absolute;
        left: 0.8rem;
        right: 0.8rem;
        bottom: 4px;
        height: 2px;
        border-radius: 2px;
        background: var(--sky-400);
    }

    .nav-actions { flex-wrap: nowrap; gap: var(--space-3); }
    .nav-actions .btn { min-height: 40px; padding: 0.5rem 1.1rem; }
}

body.nav-open { overflow: hidden; }

@media (min-width: 1080px) {
    body.nav-open { overflow: auto; }
}

/* 8. Sections ------------------------------------------------------------- */

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1200px 600px at 78% -10%, rgba(17, 17, 17, 0.28), transparent 60%),
        radial-gradient(800px 500px at -10% 110%, rgba(247, 246, 243, 0.12), transparent 60%),
        linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
    color: var(--color-dark-text);
    isolation: isolate;
}

.hero::before {
    /* Fine engineering grid */
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(120, 116, 108, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 116, 108, 0.07) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
    z-index: -1;
}

.hero__inner {
    display: grid;
    gap: var(--space-8);
    align-items: center;
    padding-block: clamp(4rem, 2.5rem + 7vw, 9rem) clamp(4rem, 2.5rem + 6vw, 8rem);
}

@media (min-width: 1024px) {
    .hero__inner {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        min-height: min(820px, calc(100svh - var(--header-h)));
    }
    .hero__content { grid-column: 1 / span 7; }
    .hero__visual { grid-column: 8 / span 5; }
}

.hero__content { position: relative; z-index: 1; }

.hero h1 { margin-bottom: var(--space-6); }
.hero .lead { margin-bottom: var(--space-7); font-size: var(--text-lg); }

.hero__visual {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
    aspect-ratio: 1;
}

@media (max-width: 1023px) {
    .hero__visual { max-width: 420px; order: -1; margin-bottom: calc(var(--space-6) * -1); }
}

@media (max-width: 767px) {
    .hero__visual { max-width: 300px; }
}

.aperture {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.aperture__ring { fill: none; stroke: rgba(120, 116, 108, 0.22); stroke-width: 1; }
.aperture__ring--accent { stroke: rgba(247, 246, 243, 0.45); stroke-dasharray: 2 10; }
.aperture__blade { stroke: rgba(247, 246, 243, 0.35); stroke-width: 1; }
.aperture__node { fill: var(--sky-400); }
.aperture__node--soft { fill: rgba(247, 246, 243, 0.65); }
.aperture__link { stroke: rgba(247, 246, 243, 0.35); stroke-width: 1; fill: none; }
.aperture__core { fill: url(#aperture-core); }

@media (prefers-reduced-motion: no-preference) {
    .aperture__spin { transform-origin: 300px 300px; animation: aperture-spin 90s linear infinite; }
    .aperture__spin--reverse { animation-duration: 140s; animation-direction: reverse; }
    .aperture__pulse { animation: aperture-pulse 6s var(--ease) infinite; transform-origin: center; transform-box: fill-box; }
    .aperture__pulse:nth-of-type(2n) { animation-delay: -2s; }
    .aperture__pulse:nth-of-type(3n) { animation-delay: -4s; }
}

@keyframes aperture-spin { to { transform: rotate(360deg); } }
@keyframes aperture-pulse {
    0%, 100% { opacity: 0.45; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.35); }
}

.hero__scroll-cue {
    display: none;
}

/* Page hero (inner pages) */
.page-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(900px 420px at 85% 0%, rgba(17, 17, 17, 0.25), transparent 60%),
        linear-gradient(180deg, var(--navy-900), var(--navy-800));
    color: var(--color-dark-text);
    isolation: isolate;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(120, 116, 108, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 116, 108, 0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 85%);
    mask-image: linear-gradient(90deg, transparent 30%, #000 85%);
    z-index: -1;
}

.page-hero__inner {
    padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(3.5rem, 2.5rem + 5vw, 7rem);
    display: grid;
    gap: var(--space-5);
}

.page-hero h1 { font-size: var(--text-display); max-width: 16ch; letter-spacing: -0.035em; line-height: 1.04; }
.page-hero .lead { max-width: 58ch; }

.page-hero__art {
    position: absolute;
    right: max(-120px, calc((100vw - var(--container)) / 2 - 200px));
    top: 50%;
    width: clamp(260px, 30vw, 460px);
    aspect-ratio: 1;
    transform: translateY(-46%);
    color: var(--sky-400);
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 767px) {
    .page-hero__art { opacity: 0.22; right: -120px; }
}

/* Who we are */
.who__visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background:
        radial-gradient(500px 320px at 80% 10%, rgba(247, 246, 243, 0.22), transparent 70%),
        linear-gradient(160deg, var(--navy-800), var(--navy-950));
    aspect-ratio: 4 / 5;
    max-height: 620px;
    width: 100%;
    isolation: isolate;
}

.who__visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.who__visual-caption {
    position: absolute;
    left: var(--space-6);
    right: var(--space-6);
    bottom: var(--space-6);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--space-4);
    color: var(--color-dark-text);
}

.who__year {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 2.5rem + 4vw, 6rem);
    font-weight: 750;
    letter-spacing: -0.04em;
    line-height: 0.9;
}

.who__year-label { font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-dark-muted); }

.who__content h2 { margin-bottom: var(--space-6); max-width: 15ch; }
.who__content p + p { margin-top: var(--space-4); }
.who__content .btn-row { margin-top: var(--space-7); }

.facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-4);
    margin: var(--space-8) 0 0;
    padding: var(--space-6) 0 0;
    border-top: 1px solid var(--color-border);
}

.facts dt { font-size: var(--text-xs); color: var(--color-text-muted); letter-spacing: 0.04em; }
.facts dd {
    margin: 0.25rem 0 0;
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

@media (max-width: 479px) {
    .facts { grid-template-columns: 1fr 1fr; }
}

/* Ecosystem section */
.ecosystem-section {
    overflow: hidden;
    background:
        radial-gradient(900px 500px at 10% 0%, rgba(17, 17, 17, 0.18), transparent 60%),
        radial-gradient(700px 500px at 100% 100%, rgba(247, 246, 243, 0.08), transparent 60%),
        var(--navy-800);
}

.ecosystem-hub {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-7);
}

.ecosystem-hub__chip {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: 0.6rem 1.1rem 0.6rem 0.6rem;
    border-radius: 999px;
    border: 1px solid var(--color-dark-border);
    background: rgba(255, 255, 255, 0.04);
    font-size: var(--text-sm);
    color: var(--color-dark-muted);
}

.ecosystem-hub__chip img { width: 28px; height: 28px; }

.ecosystem-grid {
    display: grid;
    gap: var(--space-5);
    position: relative;
}

@media (min-width: 768px) {
    .ecosystem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.ecosystem-more {
    display: flex;
    justify-content: center;
    margin-top: var(--space-8);
}

/* Timeline */
.timeline {
    position: relative;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.timeline__item {
    position: relative;
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: var(--space-5);
    padding-bottom: var(--space-7);
}

.timeline__item::before {
    content: "";
    position: absolute;
    left: calc(5.5rem + var(--space-5) / 2);
    top: 0.6rem;
    bottom: -0.6rem;
    width: 1px;
    background: linear-gradient(180deg, var(--color-border), var(--color-border));
}

.timeline__item:last-child::before { display: none; }

.timeline__year {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 750;
    letter-spacing: -0.02em;
    color: var(--color-text);
    line-height: 1.2;
}

.timeline__body {
    position: relative;
    padding-left: var(--space-5);
}

.timeline__body::before {
    content: "";
    position: absolute;
    left: calc(var(--space-5) / -2 - 6px);
    top: 0.45rem;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--blue-600);
    box-shadow: 0 0 0 4px rgba(17, 17, 17, 0.12);
}

.timeline__item:last-child .timeline__body::before { background: var(--blue-600); }

.timeline__body h3 { font-size: var(--text-lg); margin-bottom: 0.35rem; }
.timeline__body p { color: var(--color-text-muted); max-width: 56ch; }

@media (min-width: 1024px) {
    .timeline--horizontal {
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
        gap: var(--space-5);
    }

    .timeline--horizontal .timeline__item {
        grid-template-columns: 1fr;
        gap: var(--space-4);
        padding: var(--space-7) 0 0;
    }

    .timeline--horizontal .timeline__item::before {
        left: 0;
        right: calc(var(--space-5) * -1);
        top: 0.3rem;
        bottom: auto;
        width: auto;
        height: 1px;
    }

    .timeline--horizontal .timeline__body { padding-left: 0; }

    .timeline--horizontal .timeline__body::before { display: none; }

    .timeline--horizontal .timeline__year::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 11px;
        height: 11px;
        border-radius: 50%;
        background: var(--white);
        border: 2px solid var(--blue-600);
        box-shadow: 0 0 0 4px rgba(17, 17, 17, 0.12);
    }

    .timeline--horizontal .timeline__item:last-child .timeline__year::before { background: var(--blue-600); }
    .timeline--horizontal .timeline__body p { font-size: var(--text-sm); }
}

/* CTA band */
.cta-band {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(700px 380px at 85% 120%, rgba(247, 246, 243, 0.25), transparent 65%),
        radial-gradient(800px 420px at 0% -20%, rgba(17, 17, 17, 0.35), transparent 60%),
        var(--navy-800);
    color: var(--color-dark-text);
    isolation: isolate;
}

.cta-band__inner {
    display: grid;
    gap: var(--space-6);
    padding-block: clamp(4.5rem, 3rem + 6vw, 8rem);
}

@media (min-width: 1024px) {
    .cta-band__inner {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        align-items: end;
        gap: var(--space-8);
    }
    .cta-band .btn-row { justify-content: flex-end; }
}

.cta-band h2 { font-size: var(--text-display); line-height: 1.02; letter-spacing: -0.035em; max-width: 12ch; }
.cta-band p { color: var(--color-dark-muted); margin-top: var(--space-5); max-width: 52ch; font-size: var(--text-lg); }

.cta-band__art {
    position: absolute;
    right: -140px;
    top: -140px;
    width: 520px;
    height: 520px;
    color: var(--sky-400);
    opacity: 0.18;
    z-index: -1;
    pointer-events: none;
}

/* 9. Pages ---------------------------------------------------------------- */

/* Statement (vision) */
.statement {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    max-width: 30ch;
}

.statement-block {
    display: grid;
    gap: var(--space-8);
}

@media (min-width: 1024px) {
    .statement-block { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-9); }
}

.mission-list {
    counter-reset: mission;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mission-list li {
    counter-increment: mission;
    display: grid;
    grid-template-columns: 2.75rem 1fr;
    gap: var(--space-3);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--color-dark-border);
    color: var(--color-dark-text);
}

.mission-list li::before {
    content: counter(mission, decimal-leading-zero);
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--sky-400);
    padding-top: 0.15rem;
}

.mission-list li:first-child { border-top: 1px solid var(--color-dark-border); }

/* Value cards */
.value-card h3 { font-size: var(--text-lg); }
.value-card__num {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--blue-600);
}

/* Ecosystem detail rows */
.eco-row {
    --accent: var(--blue-500);
    display: grid;
    gap: var(--space-7);
    align-items: center;
    padding-block: clamp(3rem, 2rem + 4vw, 5.5rem);
    border-top: 1px solid var(--color-border);
}

.eco-row:first-of-type { border-top: 0; }

@media (min-width: 1024px) {
    .eco-row { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-6); }
    .eco-row__visual { grid-column: 1 / span 5; }
    .eco-row__content { grid-column: 7 / span 6; }
    .eco-row:nth-of-type(even) .eco-row__visual { grid-column: 8 / span 5; order: 2; }
    .eco-row:nth-of-type(even) .eco-row__content { grid-column: 1 / span 6; order: 1; }
}

.eco-row__visual {
    position: relative;
    aspect-ratio: 5 / 4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background:
        radial-gradient(420px 300px at 75% 20%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 70%),
        linear-gradient(160deg, var(--navy-800), var(--navy-950));
    display: grid;
    place-items: center;
    isolation: isolate;
}

.eco-row__visual svg.eco-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: var(--accent);
    z-index: -1;
}

.eco-row__wordmark {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
    font-weight: 750;
    letter-spacing: -0.03em;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.eco-row__wordmark .product__mark { width: 3.25rem; height: 3.25rem; font-size: 1.4rem; }

.eco-row__content { display: grid; gap: var(--space-4); }
.eco-row__content h2 { font-size: var(--text-3xl); }
.eco-row__category {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--accent) 70%, var(--ink-900));
}
.eco-row__positioning { font-family: var(--font-heading); font-size: var(--text-xl); font-weight: 600; line-height: 1.35; letter-spacing: -0.015em; color: var(--color-text); }
.eco-row__content .btn-row { margin-top: var(--space-3); }

/* Expertise detail */
.expertise-area {
    display: grid;
    gap: var(--space-6);
    padding-block: clamp(2.5rem, 2rem + 2.5vw, 4rem);
    border-top: 1px solid var(--color-border);
}

@media (min-width: 1024px) {
    .expertise-area { grid-template-columns: 4rem minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-6); }
}

.expertise-area__num {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--blue-600);
    padding-top: 0.4rem;
}

.expertise-area h2 { font-size: var(--text-2xl); margin-bottom: var(--space-3); }
.expertise-area .lead { font-size: var(--text-base); color: var(--color-text-muted); }

.check-list {
    display: grid;
    gap: var(--space-3);
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: grid;
    grid-template-columns: 1.5rem 1fr;
    gap: var(--space-3);
    color: var(--color-text-soft);
}

.check-list .icon { width: 1.25rem; height: 1.25rem; color: var(--blue-600); margin-top: 0.2rem; }
.on-dark .check-list li, .section--dark .check-list li { color: var(--color-dark-text); }
.on-dark .check-list .icon, .section--dark .check-list .icon { color: var(--sky-400); }

/* Approach steps */
.steps {
    display: grid;
    gap: var(--space-5);
    counter-reset: step;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.steps li {
    counter-increment: step;
    padding-top: var(--space-5);
    border-top: 1px solid var(--color-dark-border);
}

.steps li::before {
    content: counter(step, decimal-leading-zero);
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--sky-400);
    margin-bottom: var(--space-4);
}

.steps h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.steps p { color: var(--color-dark-muted); font-size: var(--text-sm); }

/* Industry cards */
.industry-card { min-height: 100%; }
.industry-card .capability__icon { width: 3rem; height: 3rem; }
.industry-card h3 { font-size: var(--text-lg); }

/* Insights */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-8);
}

.filter-bar a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 1rem;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: var(--white);
    color: var(--color-text-soft);
    font-size: var(--text-sm);
    font-weight: 500;
    text-decoration: none;
}

.filter-bar a:hover { border-color: var(--gray-400); color: var(--color-text); }
.filter-bar a[aria-current="page"] { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }

.article-header {
    display: grid;
    gap: var(--space-5);
}

.article-header h1 { font-size: var(--text-3xl); max-width: 22ch; }

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-5);
    font-size: var(--text-sm);
    color: var(--color-dark-muted);
}

/* Contact */
.contact-layout {
    display: grid;
    gap: var(--space-8);
}

@media (min-width: 1024px) {
    .contact-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-9); }
}

.contact-aside { display: grid; gap: var(--space-6); align-content: start; }
.contact-map { display: grid; gap: var(--space-3); justify-items: start; }
/* A full-width strip under the details and the form, so neither column is left with a gap. */
@media (min-width: 1024px) {
    .contact-layout > .contact-map { grid-column: 1 / -1; }
    .contact-layout > .contact-map .contact-map__frame { aspect-ratio: 21 / 8; }
}
.contact-map__frame {
    width: 100%; aspect-ratio: 4 / 3; display: grid; place-content: center; justify-items: center; gap: var(--space-3);
    padding: var(--space-5); text-align: center; overflow: hidden;
    background: var(--paper-2); border: 1px solid var(--color-border); border-radius: var(--photo-radius, var(--radius-sm));
}
.contact-map__frame > .icon { width: 2rem; height: 2rem; color: var(--red); }
.contact-map__note { max-width: 32ch; font-size: var(--text-sm); color: var(--color-text-muted); }
.contact-map__frame.is-loaded { display: block; padding: 0; }
.contact-map__frame iframe { display: block; width: 100%; height: 100%; border: 0; }

.contact-detail {
    display: grid;
    gap: var(--space-1);
    padding-bottom: var(--space-5);
    border-bottom: 1px solid var(--color-border);
}

.contact-detail dt { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-muted); }
.contact-detail dd { margin: 0; font-size: var(--text-base); color: var(--color-text); }
.contact-detail a { color: var(--color-text); text-decoration: none; }
.contact-detail a:hover { color: var(--color-accent); text-decoration: underline; }

.form-card {
    padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow);
}

.form-card h2 { font-size: var(--text-2xl); margin-bottom: var(--space-6); }

/* Error page */
.error-page {
    min-height: calc(100svh - var(--header-h));
    display: grid;
    align-items: center;
}

.error-page__code {
    font-family: var(--font-heading);
    font-size: clamp(6rem, 4rem + 10vw, 12rem);
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.05em;
}

.link-grid {
    display: grid;
    gap: var(--space-3);
    margin: var(--space-6) 0 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 640px) { .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.link-grid a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 0 1.1rem;
    border-radius: var(--radius);
    border: 1px solid var(--color-dark-border);
    color: var(--color-dark-text);
    text-decoration: none;
    font-weight: 500;
}

.link-grid a:hover { background: rgba(255, 255, 255, 0.05); color: var(--white); }

/* Sitemap */
.sitemap-list { columns: 2 220px; gap: var(--space-8); margin: 0; padding: 0; list-style: none; }
.sitemap-list li { break-inside: avoid; padding: 0.35rem 0; }

/* 10. Footer -------------------------------------------------------------- */
.site-footer {
    background: var(--navy-950);
    color: var(--color-dark-muted);
    font-size: var(--text-sm);
}

.site-footer__top {
    display: grid;
    gap: var(--space-8);
    padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem) var(--space-8);
}

@media (min-width: 768px) {
    .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .site-footer__top { grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: var(--space-6); }
}

.site-footer__brand img { width: 152px; height: auto; margin-bottom: var(--space-6); }
.site-footer__brand p { max-width: 36ch; line-height: 1.7; }

.site-footer h2 {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-dark-text);
    margin-bottom: var(--space-4);
}

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

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 36px;
    color: var(--color-dark-muted);
    text-decoration: none;
}

.footer-links a:hover { color: var(--white); }
.footer-links .icon { width: 0.85rem; height: 0.85rem; opacity: 0.6; }
.footer-links .muted-item { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 36px; }

.footer-contact { display: grid; gap: var(--space-4); }
.footer-contact dt { font-size: var(--text-xs); color: var(--gray-400); }
.footer-contact dd { margin: 0.1rem 0 0; }
.footer-contact a { color: var(--color-dark-text); text-decoration: none; overflow-wrap: anywhere; }
.footer-contact a:hover { color: var(--sky-400); }

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding-block: var(--space-6);
    border-top: 1px solid var(--color-dark-border);
    font-size: var(--text-xs);
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1) var(--space-5);
    margin: 0;
    padding: 0;
    list-style: none;
}

.legal-links a { color: var(--color-dark-muted); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.legal-links a:hover { color: var(--white); }

/* 11. Motion -------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
    .js [data-reveal] {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity 700ms var(--ease), transform 700ms var(--ease);
        transition-delay: calc(var(--reveal-index, 0) * 80ms);
    }

    .js [data-reveal].is-visible {
        opacity: 1;
        transform: none;
    }

    /* A short glint runs along the header rule, once per page per visit (site.js adds the class).
       It moves the background, not the element, so nothing sticks out past the viewport. */
    .site-header.is-sweeping::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -1px;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--red-on-dark) 45%, var(--white) 50%, var(--red-on-dark) 55%, transparent) no-repeat;
        background-size: 28% 100%;
        background-position: -50% 0;
        pointer-events: none;
        animation: header-sweep 1600ms ease-in-out 250ms both;
    }
}

/* The 10-years badge: its light circles the orbit once with the header glint, and again on hover. */
@media (prefers-reduced-motion: no-preference) {
    .brand__badge.is-glowing .brand__glow { animation: badge-glow 2400ms ease-in-out 700ms both; }
    .brand__badge.is-glowing .brand__glow::before { animation: badge-orbit 2400ms ease-in-out 700ms both; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .brand__badge:hover .brand__glow { animation: badge-glow 2400ms ease-in-out both; }
    .brand__badge:hover .brand__glow::before { animation: badge-orbit 2400ms ease-in-out both; }
}
@keyframes badge-glow { 0% { opacity: 0; } 15% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; } }
@keyframes badge-orbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

@keyframes header-sweep {
    0% { background-position: -50% 0; opacity: 0; }
    10% { opacity: 1; }
    85% { opacity: 1; }
    100% { background-position: 150% 0; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 12. Utilities ----------------------------------------------------------- */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-6 { margin-bottom: var(--space-6); }
.center { text-align: center; }
.reveal-1 { --reveal-index: 1; }
.reveal-2 { --reveal-index: 2; }
.reveal-3 { --reveal-index: 3; }

@media print {
    .site-header, .site-footer, .cta-band, .nav-toggle, .page-hero__bg, .page-hero__slot { display: none !important; }
    .hero, .page-hero, .section--dark { background: none !important; color: #000 !important; }
}

.who__logo { width: 128px; opacity: 0.92; }

.h3 { font-size: var(--text-xl); letter-spacing: -0.015em; line-height: 1.25; }
.industry-card { overflow: hidden; }
.industry-card h2.h3 { font-size: var(--text-lg); }
.page-hero .text-muted { color: var(--color-dark-muted); }
.page-hero .badge { background: rgba(255, 255, 255, 0.06); color: var(--color-dark-text); border-color: var(--color-dark-border); }
.eco-row__content h2 .badge { vertical-align: middle; margin-left: var(--space-2); }

/* ---- CMS blocks ---------------------------------------------------- */
.block { position: relative; }
.block__pad { padding-block: var(--section-y); }
.block--subtle { background: var(--color-bg-subtle); }
.block--dark { background: var(--color-dark-bg); color: var(--color-dark-text); }
.block--brand { background: var(--ink-900); color: var(--white); }
.block--pt-none .block__pad { padding-top: 0; }
.block--pb-none .block__pad { padding-bottom: 0; }
.block--pt-sm .block__pad { padding-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
.block--pb-sm .block__pad { padding-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.block--pt-lg .block__pad { padding-top: clamp(6rem, 4rem + 8vw, 11rem); }
.block--pb-lg .block__pad { padding-bottom: clamp(6rem, 4rem + 8vw, 11rem); }
.block--dark .lead, .block--brand .lead { color: var(--color-dark-muted); }
.block--brand .lead { color: rgba(255, 255, 255, 0.86); }
.block--dark .eyebrow, .block--brand .eyebrow { color: var(--sky-400); }
.block--brand .eyebrow { color: var(--paper-2); }
.display-sm { font-size: var(--text-3xl); letter-spacing: -0.03em; max-width: 20ch; }
.block-split__img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.block-split__art { aspect-ratio: 4 / 3; }
.block-split__hex { position: absolute; inset: 15%; color: var(--sky-400); opacity: 0.6; }
.steps--light li { border-top-color: var(--color-border); }
.steps--light li::before { color: var(--blue-600); }
.steps--light p { color: var(--color-text-muted); }
.block--dark .steps--light li, .block--brand .steps--light li { border-top-color: var(--color-dark-border); }
.block--dark .steps--light p, .block--brand .steps--light p { color: var(--color-dark-muted); }
.faq { display: grid; gap: var(--space-3); }
.faq__item { border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--white); color: var(--color-text); }
.faq__item summary { cursor: pointer; padding: var(--space-4) var(--space-5); font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: var(--space-4); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.25rem; line-height: 1; color: var(--color-accent); }
.faq__item[open] summary::after { content: "–"; }
.faq__item p { padding: 0 var(--space-5) var(--space-5); color: var(--color-text-muted); }
.block-hero__inner { margin: 0; }
.insight-cover { width: 100%; border-radius: var(--radius-lg); margin-bottom: var(--space-7); }
.preview-bar { position: sticky; top: 0; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); padding: 0.6rem var(--gutter); background: #fef3c7; color: #78350f; font-size: var(--text-sm); }
.preview-bar a { color: #78350f; font-weight: 600; }
.leader-card__photo { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; border-radius: var(--radius); }
.job-card { gap: var(--space-2); }

/* =========================================================================
   Homepage art direction (2026-10-25 revision)
   Editorial, type-led composition. One signature accent: the red of the
   CakraFlash wordmark, used only as a precise marker.
   ========================================================================= */
:root {
    --signal: var(--red);
    --text-mega: clamp(3rem, 1.6rem + 6vw, 7.5rem);
    --text-statement: clamp(1.75rem, 1.1rem + 2.6vw, 3.5rem);
    --hairline: 1px solid var(--color-border);
    --hairline-dark: 1px solid rgba(120, 116, 108, 0.16);
}

.home-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 var(--space-6);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.home-label::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--signal);
    flex: none;
}

.on-dark .home-label { color: var(--color-dark-muted); }

.home-num {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--color-text-muted);
}

/* ---- Hero ---------------------------------------------------------------- */
.home-hero {
    position: relative;
    overflow: hidden;
    background: var(--navy-900);
    color: var(--color-dark-text);
    isolation: isolate;
}

.home-hero__mark {
    position: absolute;
    z-index: 0;
    right: -18vw;
    top: 50%;
    width: min(78vw, 980px);
    aspect-ratio: 1;
    transform: translateY(-52%);
    pointer-events: none;
}

.home-hero__inner { position: relative; z-index: 1; }

.home-hero__inner {
    display: grid;
    align-content: end;
    min-height: min(880px, calc(100svh - var(--header-h)));
    padding-block: clamp(5rem, 3rem + 8vw, 10rem) clamp(2.5rem, 2rem + 2vw, 3.5rem);
}

.home-hero h1 {
    font-size: var(--text-mega);
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: -0.045em;
    max-width: 11.5ch;
    margin-bottom: var(--space-7);
}

.home-hero h1 .muted { color: var(--stone-400); }

.home-hero__row {
    display: grid;
    gap: var(--space-6);
    align-items: end;
}

@media (min-width: 1024px) {
    .home-hero__row { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-9); }
}

.home-hero .lead {
    font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
    line-height: 1.55;
    color: var(--stone-300);
    max-width: 46ch;
}

.home-hero .btn-row { gap: var(--space-4); }
.home-hero .btn { min-height: 54px; padding-inline: 1.6rem; font-size: var(--text-base); }

@media (min-width: 1024px) {
    .home-hero .btn-row { justify-content: flex-end; }
}

.home-hero__index {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: clamp(3.5rem, 2rem + 5vw, 6rem) 0 0;
    padding: 0;
    list-style: none;
    border-top: var(--hairline-dark);
}

.home-hero__index li {
    display: flex;
    gap: var(--space-4);
    align-items: baseline;
    padding: var(--space-5) var(--space-4) 0 0;
    font-size: var(--text-sm);
    color: var(--color-dark-muted);
}

.home-hero__index .home-num { color: var(--stone-400); }
.home-hero__index span:last-child { color: var(--color-dark-text); font-weight: 500; }

@media (max-width: 767px) {
    .home-hero__mark { right: -45vw; top: 22%; width: 120vw; opacity: 0.55; }
    .home-hero__inner { min-height: auto; padding-top: clamp(4rem, 3rem + 10vw, 6rem); }
    .home-hero__index { grid-template-columns: 1fr; }
    .home-hero__index li { padding: var(--space-3) 0; border-bottom: var(--hairline-dark); }
    .home-hero .btn { flex: 1 1 100%; }
}

/* ---- Statement (who we are) -------------------------------------------- */
.home-statement { padding-block: clamp(5rem, 3rem + 8vw, 10rem); }

.home-statement__text {
    font-family: var(--font-heading);
    font-size: var(--text-statement);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.03em;
    color: var(--color-text);
    max-width: 24ch;
    margin: 0;
}

.home-statement__text em { font-style: normal; color: var(--color-text-muted); }

.home-statement__body {
    display: grid;
    gap: var(--space-7);
    margin-top: clamp(3rem, 2rem + 3vw, 5rem);
}

@media (min-width: 1024px) {
    .home-statement__body { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .home-statement__copy { grid-column: 1 / span 5; }
    .home-facts { grid-column: 7 / span 6; }
}

.home-statement__copy p { color: var(--color-text-soft); font-size: var(--text-lg); line-height: 1.6; }
.home-statement__copy p + p { margin-top: var(--space-4); color: var(--color-text-muted); font-size: var(--text-base); }
.home-statement__copy .link-arrow { margin-top: var(--space-6); }

.home-facts {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: space-between;
    column-gap: var(--space-6);
    margin: 0;
    border-top: var(--hairline);
    align-self: start;
}

.home-facts > div { padding: var(--space-5) var(--space-4) 0 0; }
.home-facts dt { font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); }
.home-facts dd {
    margin: var(--space-3) 0 0;
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    white-space: nowrap;
    line-height: 1;
    color: var(--color-text);
}

@media (max-width: 479px) {
    .home-facts { grid-template-columns: 1fr 1fr; justify-content: stretch; }
}

/* ---- Expertise: editorial index ---------------------------------------- */
.home-expertise { padding-block: clamp(5rem, 3rem + 6vw, 8rem); background: var(--color-bg-subtle); }

.home-head {
    display: grid;
    gap: var(--space-5);
    margin-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}

@media (min-width: 1024px) {
    .home-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
    .home-head > :last-child { justify-self: end; }
}

.home-head h2 { font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem); letter-spacing: -0.04em; line-height: 1.02; max-width: 16ch; }
.home-head .lead { max-width: 40ch; }

.home-index { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--color-text); }

.home-index__row {
    position: relative;
    display: grid;
    gap: var(--space-3) var(--space-6);
    padding-block: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem);
    border-bottom: var(--hairline);
}

@media (min-width: 768px) {
    .home-index__row { grid-template-columns: 4rem minmax(0, 5fr) minmax(0, 6fr) 2rem; align-items: baseline; }
}

.home-index__row h3 {
    font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.home-index__row p { color: var(--color-text-muted); max-width: 52ch; }
.home-index__row .icon { width: 1.5rem; height: 1.5rem; color: var(--color-text-muted); justify-self: end; transition: transform var(--duration) var(--ease), color var(--duration) var(--ease); }
.home-index__row:hover .icon { transform: translateX(4px); color: var(--color-accent); }
.home-index__row:hover h3 { color: var(--color-accent); }
.home-index__row h3 { transition: color var(--duration) var(--ease); }
.home-index__link { position: absolute; inset: 0; }
.home-index__link:focus-visible { outline-offset: -3px; }

/* ---- Ecosystem tiles --------------------------------------------------- */
.home-eco { padding-block: clamp(5rem, 3rem + 6vw, 9rem); background: var(--navy-900); color: var(--color-dark-text); }
.home-eco .home-head h2 { color: var(--white); }
.home-eco .home-head .lead { color: var(--color-dark-muted); }

.home-tiles {
    display: grid;
    gap: 1px;
    background: rgba(120, 116, 108, 0.16);
    border: var(--hairline-dark);
}

@media (min-width: 768px) { .home-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.home-tile {
    --accent: var(--blue-500);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    min-height: clamp(18rem, 14rem + 10vw, 24rem);
    padding: clamp(1.75rem, 1.2rem + 2vw, 3rem);
    background: var(--navy-900);
    transition: background-color 300ms var(--ease);
}

.home-tile::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 400ms var(--ease);
}

.home-tile:hover { background: var(--ink-800); }
.home-tile:hover::before, .home-tile:focus-within::before { width: 100%; }

.home-tile__top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); }
.home-tile__cat { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: color-mix(in srgb, var(--accent) 60%, #ffffff); }

.home-tile__name {
    margin-top: auto;
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 1.5rem + 2.8vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1;
    color: var(--white);
}

.home-tile__name img { height: clamp(2rem, 1.5rem + 2vw, 3rem); width: auto; }
.home-tile p { color: var(--color-dark-muted); max-width: 44ch; }

.home-tile__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    padding-top: var(--space-4);
    border-top: var(--hairline-dark);
    font-size: var(--text-sm);
}

.home-tile__foot .icon { width: 1rem; height: 1rem; transition: transform var(--duration) var(--ease); }
.home-tile:hover .home-tile__foot .icon { transform: translate(3px, -3px); }
.home-tile__domain { color: var(--stone-400); }
.home-tile a.card__link { color: var(--white); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; }
.home-tile a.card__link::after { content: ""; position: absolute; inset: 0; }
.home-tile:focus-within { outline: 3px solid var(--sky-400); outline-offset: -3px; }
.home-tile a.card__link:focus-visible { outline: none; }
.home-tile .badge { font-size: 0.7rem; }

.home-eco__more { margin-top: var(--space-7); }

/* ---- Journey: vertical, sticky heading --------------------------------- */
.home-journey { padding-block: clamp(5rem, 3rem + 6vw, 9rem); }

.home-journey__grid { display: grid; gap: var(--space-8); }

@media (min-width: 1024px) {
    .home-journey__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-9); }
    .home-journey__head { position: sticky; top: calc(var(--header-h) + 3rem); align-self: start; }
}

.home-journey__head h2 { font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem); letter-spacing: -0.04em; line-height: 1.02; max-width: 12ch; }

.home-milestones { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--color-text); }

.home-milestones li {
    display: grid;
    grid-template-columns: 6.5rem minmax(0, 1fr);
    gap: var(--space-5);
    padding-block: var(--space-6);
    border-bottom: var(--hairline);
}

.home-milestones__year {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.home-milestones li:last-child .home-milestones__year { color: var(--signal); }
.home-milestones h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.home-milestones p { color: var(--color-text-muted); max-width: 52ch; }

@media (max-width: 479px) {
    .home-milestones li { grid-template-columns: 1fr; gap: var(--space-2); }
}

/* ---- Closing CTA --------------------------------------------------------- */
.home-cta { background: var(--navy-800); color: var(--color-dark-text); padding-block: clamp(5rem, 3rem + 7vw, 9rem); border-top: var(--hairline-dark); }
.home-cta h2 { font-size: var(--text-mega); font-weight: 800; letter-spacing: -0.045em; line-height: 0.96; max-width: 10ch; }
.home-cta__row { display: grid; gap: var(--space-7); margin-top: var(--space-8); padding-top: var(--space-6); border-top: var(--hairline-dark); }
@media (min-width: 1024px) { .home-cta__row { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: end; } .home-cta__row .btn-row { justify-content: flex-end; } }
.home-cta p { color: var(--color-dark-muted); font-size: var(--text-lg); max-width: 46ch; }
.home-cta .btn { min-height: 54px; padding-inline: 1.6rem; font-size: var(--text-base); }

/* =========================================================================
   Site-wide language (2026-10-25): carries the homepage art direction to
   every page. Overrides the earlier component styles above.
   ========================================================================= */

/* Section labels: red marker + neutral text, everywhere. */
.eyebrow {
    gap: 0.75rem;
    letter-spacing: 0.16em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-6);
}
.eyebrow::before { width: 8px; height: 8px; border-radius: 0; background: var(--signal); }
.on-dark .eyebrow, .section--dark .eyebrow, .block--dark .eyebrow, .block--brand .eyebrow { color: var(--color-dark-muted); }
.section-heading--center .eyebrow::before { display: inline-block; }

/* Bigger, tighter section titles. */
.section-heading h2, .split h2 { font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem); letter-spacing: -0.04em; line-height: 1.02; }

/* Inner-page hero: flat navy, large type, the aperture cropped at the edge. */
.page-hero { background: var(--navy-900); }
.page-hero::before { display: none; }
.page-hero__inner { padding-block: clamp(4rem, 3rem + 6vw, 8rem) clamp(4rem, 3rem + 5vw, 7rem); }
.page-hero h1 { font-size: clamp(2.75rem, 1.6rem + 5vw, 6.5rem); font-weight: 800; letter-spacing: -0.045em; line-height: 0.98; max-width: 13ch; }
.page-hero .lead { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); color: var(--stone-300); max-width: 52ch; }
.page-hero__art { display: none; }
.page-hero__mark {
    position: absolute;
    z-index: 0;
    right: -14vw;
    top: 50%;
    width: min(62vw, 820px);
    aspect-ratio: 1;
    transform: translateY(-50%);
    pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; }
@media (max-width: 767px) {
    .page-hero__mark { right: -62vw; top: 62%; width: 100vw; opacity: 0.3; }
}

/* Inner-page hero with a photo behind the title (About, Solutions, Insights, Contact).
   The shade is darkest where the title sits, so white type keeps its contrast. */
.page-hero--photo { min-height: clamp(30rem, 26rem + 18vw, 46rem); display: grid; align-items: end; }
.page-hero--photo .page-hero__mark { display: none; }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after {
    content: ""; position: absolute; inset: 0;
    /* One left-to-right shade: dark behind the title, none from 65% across, where the subject stands. */
    background: linear-gradient(90deg, rgba(17, 17, 17, 0.92) 0%, rgba(17, 17, 17, 0.75) 35%, rgba(17, 17, 17, 0.35) 52%, rgba(17, 17, 17, 0) 65%);
}
.page-hero--photo .lead { color: var(--paper); max-width: 40ch; } /* stays inside the shaded half */
.page-hero--photo .eyebrow, .page-hero--photo .breadcrumbs a { color: var(--paper); }
.page-hero__slot {
    position: absolute; right: var(--space-5); bottom: var(--space-5); z-index: 1;
    font-size: var(--text-xs); color: var(--stone-300); letter-spacing: 0.04em;
    border: 1px dashed rgba(247, 246, 243, 0.35); border-radius: var(--radius-sm); padding: 0.4em 0.7em;
}
@media (max-width: 767px) {
    .page-hero--photo { min-height: 34rem; }
    .page-hero--photo .page-hero__bg::after { background: linear-gradient(0deg, rgba(17, 17, 17, 0.9) 0%, rgba(17, 17, 17, 0.65) 60%, rgba(17, 17, 17, 0.6) 100%); }
}

/* Photos zoom in gently under the pointer; their frame clips the overflow. A card zooms its photo when the card is hovered. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .photo img, .prose-photo img { transition: transform 900ms cubic-bezier(0.33, 1, 0.68, 1); }
    .photo:hover img, .card--interactive:hover .photo img, .prose-photo:hover img { transform: scale(1.04); }
}

/* Restrained motion: a slow, soft fade with a small rise (ease-out-cubic eases in more gently than --ease). */
@media (prefers-reduced-motion: no-preference) {
    .js [data-reveal] { transform: translateY(12px); transition: opacity 1100ms cubic-bezier(0.33, 1, 0.68, 1), transform 1300ms cubic-bezier(0.33, 1, 0.68, 1); transition-delay: calc(var(--reveal-index, 0) * 140ms); }
    .js [data-reveal].is-visible { transform: none; }
}

/* Editorial index used for values (and reusable elsewhere). */
.home-index--plain .home-index__row:hover h3 { color: inherit; }
.home-index__row .capability__icon { width: 2.5rem; height: 2.5rem; border-radius: 10px; }
@media (min-width: 1024px) {
    .home-statement__copy--right { grid-column: 7 / span 6; }
}
.home-statement__copy--right p { font-size: var(--text-lg); color: var(--color-text-muted); }
.home-index--plain .home-index__row { grid-template-columns: 4rem minmax(0, 5fr) minmax(0, 6fr) 2.5rem; }
@media (max-width: 767px) {
    .home-index--plain .home-index__row { grid-template-columns: 1fr; }
    .home-index--plain .home-index__row .capability__icon { display: none; }
}

/* ---- Ecosystem page: editorial chapters ------------------------------ */
.home-statement--tight { padding-block: clamp(4rem, 3rem + 5vw, 7rem); }
.home-statement__text--wide { max-width: 34ch; }

.eco-chapters { padding-bottom: clamp(4rem, 3rem + 5vw, 8rem); }
.eco-chapters > .container { border-top: 1px solid var(--color-text); }

.eco-chapter {
    --accent: var(--blue-600);
    position: relative;
    display: grid;
    gap: var(--space-5) var(--space-6);
    padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem);
    border-bottom: var(--hairline);
}

.eco-chapter::before {
    content: "";
    position: absolute;
    left: 0;
    top: -1px;
    width: 4rem;
    height: 3px;
    background: var(--accent);
}

@media (min-width: 1024px) {
    .eco-chapter { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
    .eco-chapter__meta { grid-column: 1 / span 12; }
    .eco-chapter__name { grid-column: 1 / span 6; }
    .eco-chapter__body { grid-column: 7 / span 6; }
}

.eco-chapter__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); }
.eco-chapter__cat { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in srgb, var(--accent) 75%, var(--ink-900)); }

.eco-chapter__name {
    font-size: clamp(3rem, 1.8rem + 5vw, 6.5rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 0.95;
    color: var(--color-text);
    margin: 0;
}

.eco-chapter__name img { height: clamp(2.75rem, 2rem + 3vw, 4.5rem); width: auto; }
.eco-chapter__positioning { font-family: var(--font-heading); font-size: var(--text-xl); font-weight: 600; line-height: 1.35; letter-spacing: -0.015em; color: var(--color-text); }
.eco-chapter__value { margin-top: var(--space-4); color: var(--color-text-muted); max-width: 56ch; }
.eco-chapter__link { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-6); margin-top: var(--space-6); }
.eco-chapter__link .link-arrow { font-size: var(--text-base); color: var(--color-text); }
.eco-chapter__link .link-arrow:hover { color: var(--accent); }
.eco-chapter__host { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ---- Industries: editorial grid --------------------------------------- */
.ind-grid {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--color-text);
}
@media (min-width: 768px) { .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ind-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.ind-cell {
    display: grid;
    align-content: start;
    gap: var(--space-4);
    padding: var(--space-6) var(--space-6) var(--space-7) 0;
    border-bottom: var(--hairline);
}
@media (min-width: 768px) {
    .ind-cell { padding-left: var(--space-6); border-left: var(--hairline); }
    .ind-cell:nth-child(2n + 1) { border-left: 0; padding-left: 0; }
}
@media (min-width: 1024px) {
    .ind-cell:nth-child(2n + 1) { border-left: var(--hairline); padding-left: var(--space-6); }
    .ind-cell:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
}
.ind-cell__top { display: flex; justify-content: space-between; align-items: center; }
.ind-cell__icon { color: var(--color-text-muted); }
.ind-cell__icon .icon { width: 1.5rem; height: 1.5rem; }
.ind-cell h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); letter-spacing: -0.03em; line-height: 1.1; margin-top: var(--space-5); }
.ind-cell p { color: var(--color-text-muted); max-width: 40ch; }
.ind-note { margin-top: var(--space-6); font-size: var(--text-sm); color: var(--color-text-muted); }

/* ---- Expertise: align with the editorial index ------------------------ */
.expertise-area .capability__icon { display: none; }
.expertise-area__num { color: var(--color-text-muted); font-variant-numeric: tabular-nums; }
.expertise-area h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 3rem); letter-spacing: -0.035em; line-height: 1.05; margin-top: 0 !important; }
.expertise-area:first-child { border-top: 1px solid var(--color-text); }
.expertise-area .check-list .icon { color: var(--signal); }

/* ---- Security --------------------------------------------------------- */
.sec-email { margin-top: var(--space-7); display: grid; gap: var(--space-2); color: var(--color-text-muted); }
.sec-email a { font-family: var(--font-heading); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); font-weight: 700; letter-spacing: -0.03em; color: var(--color-text); text-decoration: none; overflow-wrap: anywhere; }
.sec-email a:hover { color: var(--color-accent); }
.sec-steps li { grid-template-columns: 4rem minmax(0, 1fr); }
.sec-steps p { color: var(--color-text-soft); font-size: var(--text-lg); }
.sec-pair { display: grid; gap: var(--space-8); margin-top: clamp(4rem, 3rem + 4vw, 7rem); padding-top: var(--space-7); border-top: 1px solid var(--color-text); }
@media (min-width: 1024px) { .sec-pair { grid-template-columns: 1fr 1fr; gap: var(--space-9); } }
.sec-pair h3 { font-size: var(--text-2xl); margin-bottom: var(--space-4); }
.sec-pair p { color: var(--color-text-muted); max-width: 52ch; }
.sec-pair .check-list .icon { color: var(--signal); }
.eco-chapters > .container { border-top: 0; }
.eco-chapter:first-child { border-top: 1px solid var(--color-text); }
.home-statement__text--wide { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); line-height: 1.25; max-width: 40ch; }

/* Solid buttons on light surfaces use ink, not the old blue — matches the editorial palette. */
.btn:not(.btn--secondary):not(.btn--light) { --btn-bg: var(--color-text); --btn-bg-hover: #000; }
.btn:not(.btn--secondary):not(.btn--light):hover { box-shadow: 0 8px 24px -12px rgba(17, 17, 17, 0.55); }
.on-dark .btn:not(.btn--secondary):not(.btn--light),
.section--dark .btn:not(.btn--secondary):not(.btn--light) { --btn-bg: var(--white); --btn-fg: var(--color-text); --btn-bg-hover: var(--stone-200); }
.site-header .btn:not(.btn--secondary):not(.btn--light) { --btn-bg: var(--white); --btn-fg: var(--color-text); --btn-bg-hover: var(--stone-200); }

/* Consent line: quiet body text, not a bold field label. */
.field label.checkbox { font-weight: 400; color: var(--color-text-muted); }
.checkbox input { accent-color: var(--color-text); }
.checkbox a { color: var(--color-text); font-weight: 500; text-underline-offset: 3px; }

/* Brand wordmarks (config corporate.products.*.logo / logo_dark). */
.brand-logo { display: block; max-width: 100%; height: auto; }
.eco-chapter__name .brand-logo { height: clamp(2.5rem, 1.9rem + 2.4vw, 4rem); width: auto; }
.home-tile__name .brand-logo { height: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); width: auto; }
.product__name .brand-logo { height: 1.75rem; width: auto; }
/* Airmobile's file is only 150×24: keep it within 2× so it stays sharp enough. */
.accent-airmobile .brand-logo { max-height: 3rem; }
.brand-logo__edit { display: inline-block; margin-top: var(--space-3); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0; }

/* Analytics consent banner (App\Support\Cms\Analytics). */
.consent {
    position: fixed;
    z-index: 60;
    left: max(16px, env(safe-area-inset-left, 0px));
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    max-width: 560px;
    margin-left: auto;
    display: grid;
    gap: var(--space-4);
    padding: var(--space-5);
    border-radius: 14px;
    background: var(--color-text);
    color: var(--stone-200);
    box-shadow: 0 18px 48px -18px rgba(0, 0, 0, 0.55);
    font-size: var(--text-sm);
    line-height: 1.6;
}
.consent[hidden] { display: none; }
.consent a { color: #fff; text-underline-offset: 3px; }
.consent__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.consent .btn:not(.btn--secondary) { --btn-bg: var(--white); --btn-fg: var(--color-text); --btn-bg-hover: var(--stone-200); }
.consent .btn--secondary { color: #fff; border-color: rgba(247, 246, 243, 0.35); background: transparent; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--color-dark-muted); cursor: pointer; min-height: 32px; }
.link-button:hover { color: var(--white); }

/* =========================================================================
   2027 homepage (brief: editorial, cinematic, human-centred, never noisy).
   Light paper hero with the photo below the headline; one dark band
   (Solutions) plus the closing CTA. Red appears only as small marks.
   ========================================================================= */

/* Photo slots (x-corp.photo). The ratio comes from a class; the CSP forbids inline styles. */
.photo { position: relative; overflow: hidden; background: var(--paper-2); border-radius: var(--photo-radius, var(--radius-sm)); } /* --photo-radius: CMS setting, see Photos::css() */
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo--3x2 { aspect-ratio: 3 / 2; }
.photo--4x5 { aspect-ratio: 4 / 5; }
.photo--21x9 { aspect-ratio: 4 / 5; }
@media (min-width: 768px) { .photo--21x9 { aspect-ratio: 21 / 9; } }
.photo--empty {
    background:
        repeating-linear-gradient(135deg, transparent 0 14px, rgba(17, 17, 17, 0.035) 14px 15px),
        var(--paper-2);
    border: 1px dashed var(--stone-300);
}
.on-dark .photo--empty {
    background:
        repeating-linear-gradient(135deg, transparent 0 14px, rgba(247, 246, 243, 0.05) 14px 15px),
        var(--ink-800);
    border-color: rgba(247, 246, 243, 0.16);
}
.photo__slot {
    position: absolute; left: var(--space-4); bottom: var(--space-4); right: var(--space-4);
    font: 500 var(--text-xs)/1.4 var(--font-body); color: var(--stone-500);
}
.photo__slot b { color: var(--red-text); font-weight: 700; margin-right: 0.4em; letter-spacing: 0.04em; }
.on-dark .photo__slot { color: var(--stone-400); }
.on-dark .photo__slot b { color: var(--red-on-dark); }

/* Hero */
.hero27 { background: var(--paper); padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem) clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.hero27__grid { display: grid; gap: var(--space-6); margin-bottom: clamp(2.5rem, 2rem + 2.5vw, 4.5rem); }
@media (min-width: 1024px) {
    .hero27__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--space-8); align-items: end; }
}
.hero27 h1 {
    margin-top: var(--space-5);
    font-size: clamp(2.6rem, 1.5rem + 4.4vw, 5.75rem);
    font-weight: 800; letter-spacing: -0.045em; line-height: 0.98; max-width: 14ch;
}
.hero27__second { display: block; color: var(--stone-500); }
.hero27__lead { font-size: var(--text-lg); line-height: 1.55; color: var(--color-text-soft); max-width: 36ch; margin-bottom: var(--space-6); }
.hero27 .btn-row { gap: var(--space-3); }

/* Stories: zig-zag of wide and narrow cards */
.stories27 { padding-block: var(--section-y); background: var(--paper); border-top: var(--hairline); }
.stories27__grid { display: grid; gap: clamp(2.5rem, 2rem + 2vw, 4rem) var(--space-6); }
@media (min-width: 768px) {
    .stories27__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
    .story27:nth-child(4n + 1) { grid-column: 1 / span 7; }
    .story27:nth-child(4n + 2) { grid-column: 9 / span 4; margin-top: clamp(4rem, 2rem + 6vw, 9rem); }
    .story27:nth-child(4n + 3) { grid-column: 1 / span 5; }
    .story27:nth-child(4n + 4) { grid-column: 7 / span 6; margin-top: clamp(3rem, 1rem + 5vw, 7rem); }
    .story27:nth-child(4n + 1) .photo, .story27:nth-child(4n + 4) .photo { aspect-ratio: 3 / 2; }
}
.story27 { display: grid; gap: var(--space-5); }
.story27__body { display: grid; gap: var(--space-3); max-width: 46ch; }
.story27 h3 { font-size: var(--text-2xl); font-weight: 700; letter-spacing: -0.03em; line-height: 1.12; }
.story27 p { color: var(--color-text-muted); }
.story27 .link-arrow { margin-top: var(--space-2); }

/* Solutions: dark band, four cards */
.solutions27 { padding-block: var(--section-y); background: var(--ink-900); color: var(--color-dark-text); }
.solutions27 .home-head h2 { color: var(--paper); }
.solutions27 .lead { color: var(--color-dark-muted); }
.solutions27__grid { display: grid; gap: var(--space-7) var(--space-5); }
@media (min-width: 640px) { .solutions27__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .solutions27__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.solution27 { display: grid; gap: var(--space-5); align-content: start; }
.solution27__body { display: grid; gap: var(--space-3); align-content: start; }
.solution27__name { margin: 0; min-height: 2.25rem; display: flex; align-items: center; }
.solution27__name .brand-logo { height: clamp(1.5rem, 1.3rem + 0.6vw, 1.9rem); width: auto; }
.solution27.accent-airmobile .brand-logo { max-height: 1.6rem; }
.solution27__cat { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3);
    font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone-400); }
.solution27 p:not(.solution27__cat) { color: var(--color-dark-muted); font-size: var(--text-sm); line-height: 1.65; }
a.solution27__link,
.solution27__link {
    display: inline-flex; align-items: center; gap: 0.4rem; justify-self: start; margin-top: var(--space-2);
    padding-top: var(--space-3); border-top: 1px solid rgba(247, 246, 243, 0.18);
    font-size: var(--text-sm); font-weight: 600; color: var(--paper); text-decoration: none;
}
a.solution27__link:hover { color: var(--paper); border-top-color: var(--red); }
.solution27__link .icon { width: 0.95em; height: 0.95em; }
.solutions27 .home-eco__more .link-arrow { color: var(--paper); }

/* Approach: statement + principles */
.approach27 { padding-block: var(--section-y); background: var(--paper); }
.approach27__grid { display: grid; gap: var(--space-8); }
@media (min-width: 1024px) { .approach27__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-10); align-items: start; } }
.approach27__statement { margin-top: var(--space-5); font-size: var(--text-statement); font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; max-width: 20ch; }
.approach27__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-text); }
.approach27__list li { display: grid; gap: var(--space-2); padding-block: var(--space-5); border-bottom: var(--hairline); }
.approach27__list h3 { font-size: var(--text-lg); font-weight: 700; letter-spacing: -0.01em; }
.approach27__list p { color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.65; max-width: 44ch; }

/* Closing CTA: the brief's headline is longer than the earlier one. */
.home-cta { background: var(--ink-900); }
.home-cta h2 { font-size: clamp(2.5rem, 1.4rem + 4.2vw, 5.5rem); max-width: 16ch; }
/* Phones: the four product cards scroll sideways with snap instead of stacking four tall photos. */
@media (max-width: 639px) {
    .solutions27__grid {
        grid-auto-flow: column; grid-auto-columns: 80%; grid-template-columns: none;
        overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
        margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
        padding-bottom: var(--space-4); scrollbar-width: thin;
        contain: paint; /* without it Chromium counts the off-screen cards in the page width */
    }
    .solution27 { scroll-snap-align: start; }
}

/* Design system page (/design-system, signed-in only). */
.ds-section { padding-block: clamp(3rem, 2rem + 3vw, 5rem); border-top: var(--hairline); }
.ds-section--dark { background: var(--ink-900); color: var(--color-dark-text); border-top: 0; }
.ds-stack { display: grid; gap: var(--space-5); }
.ds-mt { margin-top: var(--space-5); }
.ds-swatches { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin-top: var(--space-5); }
.ds-swatch { display: grid; gap: 2px; font-size: var(--text-sm); }
.ds-swatch code { font-size: var(--text-xs); color: var(--stone-500); }
.ds-swatch span { color: var(--color-text-muted); font-size: var(--text-xs); }
.ds-chip { display: block; height: 72px; border-radius: var(--radius-sm); border: 1px solid var(--stone-200); margin-bottom: var(--space-3); }
.ds-chip--ink-900 { background: var(--ink-900); }
.ds-chip--paper { background: var(--paper); }
.ds-chip--paper-2 { background: var(--paper-2); }
.ds-chip--white { background: var(--white); }
.ds-chip--stone-500 { background: var(--stone-500); }
.ds-chip--stone-200 { background: var(--stone-200); }
.ds-chip--red { background: var(--red); }
.ds-chip--red-text { background: var(--red-text); }
.ds-type-display { font-family: var(--font-heading); font-size: clamp(2.6rem, 1.5rem + 4.4vw, 5.75rem); font-weight: 800; letter-spacing: -0.045em; line-height: 0.98; }
.ds-type-h2 { font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem); letter-spacing: -0.04em; line-height: 1.02; }
.ds-type-h3 { font-size: var(--text-2xl); letter-spacing: -0.03em; }
.ds-small { font-size: var(--text-xs); color: var(--color-text-muted); }
.ds-photos { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items: start; }
.ds-photos--dark { max-width: 640px; }

/* Solutions page: industries follow the products. */
.sol-industries { padding-top: var(--section-y); border-top: var(--hairline); }
.sol-industries .home-statement { padding-top: 0; }
.approach27__list--steps li { grid-template-columns: 3rem minmax(0, 1fr); column-gap: var(--space-4); }
.approach27__list--steps .home-num { grid-row: span 2; padding-top: 0.2em; color: var(--red-text); }

/* Articles (2027): cover photo, share links, related solution, image cards. */
.insight-cover { margin-bottom: var(--space-8); }
.article-layout { display: grid; gap: var(--space-9); }
.article-main { min-width: 0; max-width: 47.5rem; }
.article-aside { display: grid; gap: var(--space-7); align-content: start; }
.article-toc { display: none; }
@media (min-width: 1080px) {
    .article-layout { grid-template-columns: minmax(0, 47.5rem) minmax(15rem, 18rem); justify-content: space-between; }
    .article-aside { position: sticky; top: calc(var(--header-h) + var(--space-6)); max-height: calc(100vh - var(--header-h) - var(--space-8)); overflow-y: auto; }
    .article-toc { display: grid; gap: var(--space-3); }
}
.article-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--color-border); }
.article-toc a { display: block; padding: 0.35rem 0 0.35rem var(--space-4); margin-left: -1px; border-left: 2px solid transparent; font-size: var(--text-sm); line-height: 1.4; color: var(--color-text-muted); text-decoration: none; }
.article-toc a:hover, .article-toc a:focus-visible { color: var(--color-text); border-left-color: var(--red); }
.prose h2[id] { scroll-margin-top: calc(var(--header-h) + var(--space-5)); }
.article-share { padding-top: var(--space-5); border-top: 1px solid var(--color-text); display: grid; gap: var(--space-3); }.article-share ul { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); list-style: none; margin: 0; padding: 0; }
.article-share a, .article-share .link-button { font-size: var(--text-sm); font-weight: 600; color: var(--color-text); min-height: 32px; display: inline-flex; align-items: center; }
.article-share .link-button { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 0.2em; }
.article-solution {
    padding: var(--space-6); display: grid; gap: var(--space-4); justify-items: start;
    background: var(--white); border: 1px solid var(--color-border); border-top: 3px solid var(--accent, var(--red));
    border-radius: var(--radius-sm);
}
.article-solution .brand-logo { height: 2rem; width: auto; }
.article-solution.accent-airmobile .brand-logo { height: 1.5rem; }
.article-solution p:not(.home-label) { color: var(--color-text-muted); max-width: 56ch; }
.article-solution__links { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); }
.article-card { display: grid; gap: var(--space-4); align-content: start; }
.article-card__photo { --pad: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); margin: calc(-1 * var(--pad)) calc(-1 * var(--pad)) 0; border-radius: var(--radius) var(--radius) 0 0; }

/* Product category labels on light surfaces: dark text (AA) with the brand accent as a small mark,
   because yellow/orange accents cannot reach 4.5:1 as text on off-white. */
.eco-chapter__cat { color: var(--stone-700); display: inline-flex; align-items: center; gap: 0.6em; }
.eco-chapter__cat::before { content: ""; width: 0.6em; height: 0.6em; background: var(--accent); flex: none; }
.product--light.product p.product__category { color: var(--stone-700); }

/* Photo crops: wide photos become 3:2 on phones (a 4:5 crop cut people out of H-01);
   photo--x{n} moves the focal point horizontally. */
.photo--21x9 { aspect-ratio: 3 / 2; }
@media (min-width: 768px) { .photo--21x9 { aspect-ratio: 21 / 9; } }
.photo--x20 img { object-position: 20% 50%; }
.photo--x40 img { object-position: 40% 50%; }
.photo--x60 img { object-position: 60% 50%; }
.photo--x80 img { object-position: 80% 50%; }
.team-photo { margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.photo__temp {
    position: absolute; left: var(--space-3); top: var(--space-3);
    padding: 0.35em 0.7em; border-radius: var(--radius-sm);
    background: rgba(17, 17, 17, 0.78); color: var(--paper);
    font: 600 var(--text-xs)/1.3 var(--font-body); letter-spacing: 0.02em;
}

/* Solutions page: each product chapter shows its own photo (slots SL-01..SL-04); the text starts level with the photo top. */
.eco-chapter__photo { max-width: 640px; }
@media (min-width: 1024px) {
    .eco-chapter__name { grid-row: 2; }
    .eco-chapter__photo { grid-column: 1 / span 5; grid-row: 3; }
    .eco-chapter__body { grid-row: 3; }
    .eco-chapter__positioning { margin-top: -0.3em; } /* cap height level with the photo edge, not the line box */
}

/* About: compact portfolio bridge (logos link to their chapter on /solutions). */
.about-portfolio { background: var(--ink-900); color: var(--color-dark-text); padding-block: clamp(4rem, 3rem + 4vw, 7rem); }
.about-portfolio h2 { margin-top: var(--space-5); font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); letter-spacing: -0.04em; line-height: 1.04; max-width: 16ch; color: var(--paper); }
.about-portfolio__grid { display: grid; gap: var(--space-7); }
@media (min-width: 1024px) { .about-portfolio__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: end; gap: var(--space-9); } }
.about-portfolio__side { display: grid; gap: var(--space-6); justify-items: start; }
.about-portfolio .lead { color: var(--color-dark-muted); max-width: 44ch; }
.about-portfolio__logos { list-style: none; margin: 0; padding: var(--space-5) 0 0; border-top: 1px solid rgba(247, 246, 243, 0.18);
    display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5) var(--space-7); width: 100%; }
.about-portfolio__logos a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; opacity: 0.85; transition: opacity var(--duration) var(--ease); }
.about-portfolio__logos a:hover, .about-portfolio__logos a:focus-visible { opacity: 1; }
.about-portfolio__logos .brand-logo { height: 1.5rem; width: auto; }
.about-portfolio__logos .accent-airmobile .brand-logo { height: 1.25rem; }
.about-portfolio .link-arrow { color: var(--paper); }
/* The right column starts level with the label and stays shorter than the heading: top-aligned, logos on one row. */
@media (min-width: 1024px) {
    .about-portfolio__grid { align-items: start; }
    .about-portfolio__side { padding-top: 0.1rem; gap: var(--space-5); }
    .about-portfolio__logos { padding-top: var(--space-4); }
    .about-portfolio__logos { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: var(--space-5); }
    .about-portfolio__logos .brand-logo { height: auto; max-height: 1.4rem; max-width: 100%; }
    .about-portfolio__logos .accent-airmobile .brand-logo { max-height: 1.2rem; }
}
@media (min-width: 1024px) and (max-width: 1279px) { .about-portfolio__side { gap: var(--space-4); } }
/* Label on its own row; heading (left) and lead (right) share a top line. */
.about-portfolio__grid { margin-top: var(--space-5); }
.about-portfolio h2 { margin-top: 0; }
@media (min-width: 1024px) {
    .about-portfolio .lead { max-width: 58ch; }
}
.about-portfolio__head { display: grid; gap: var(--space-6); justify-items: start; }
/* Phones: the link follows the lead and logos instead of sitting between heading and lead. */
@media (max-width: 1023px) {
    .about-portfolio__head { display: contents; }
    .about-portfolio__head .link-arrow { order: 3; justify-self: start; }
}

/* Maintenance mode -------------------------------------------------------- */
/* The page visitors get while the site is closed (corporate/maintenance.blade.php). */
.maintenance {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: var(--space-7) var(--gutter);
    background: var(--ink-900);
    color: var(--color-dark-text);
}
.maintenance__card { width: 100%; max-width: 36rem; display: grid; gap: var(--space-4); justify-items: start; }
.maintenance__logo { width: 184px; height: auto; margin-bottom: var(--space-5); }
.maintenance h1 { font-size: clamp(2rem, 1.5rem + 2.5vw, 3rem); line-height: 1.1; color: var(--white); }
.maintenance__body { font-size: var(--text-lg); color: var(--color-dark-muted); }
.maintenance__until { font-weight: 600; color: var(--white); }
.maintenance__until::before { content: ""; display: inline-block; width: 0.5rem; height: 0.5rem; margin-right: 0.6rem; border-radius: 999px; background: var(--red); vertical-align: 0.1em; }
.maintenance__contact { color: var(--color-dark-muted); }
.maintenance__contact a, .maintenance__lang { color: var(--white); text-decoration-color: var(--red-on-dark); }
.maintenance__lang { margin-top: var(--space-5); font-size: var(--text-sm); }

/* Shown to CMS users and preview-link holders while the site is closed to everyone else. */
.maintenance-flag {
    position: fixed; left: 50%; bottom: var(--space-4); z-index: 60; transform: translateX(-50%);
    width: max-content; max-width: calc(100% - 2 * var(--gutter));
    padding: 0.55rem 1rem; border-radius: 999px;
    background: var(--red-text); color: var(--white); font-size: var(--text-sm); font-weight: 600; text-align: center;
    box-shadow: var(--shadow-lg); pointer-events: none;
}
@media print { .maintenance-flag { display: none; } }
