/* ==========================================================================
   Ulgen Holdings - design system (2026)

   Type     Mona Sans, variable (wdth 75-125, wght 200-900), self-hosted.
   Colour   Graphite neutrals plus one accent, the brand orange. Dark and light
            themes follow the visitor's system preference.
   Shape    Interactive controls are pills. Framed media and panels use a
            concentric bezel: 22px shell, 6px gap, 16px core. Small tiles: 14px.
   Motion   Custom easing only. Transform and opacity only (plus a one-time blur
            on the hero object). Scroll-linked effects use CSS scroll timelines
            and degrade to static. Everything stops under prefers-reduced-motion.
   Layers   grain 100 / skip link 60 / header 50 / mobile menu 40.
   ========================================================================== */

@font-face {
    font-family: "Mona Sans";
    src: url("../fonts/mona-sans-latin.woff2") format("woff2");
    font-weight: 200 900;
    font-stretch: 75% 125%;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Mona Sans";
    src: url("../fonts/mona-sans-latin-ext.woff2") format("woff2");
    font-weight: 200 900;
    font-stretch: 75% 125%;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */

:root {
    color-scheme: dark light;

    --font: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

    --container: 1320px;
    --gutter: clamp(20px, 4.2vw, 56px);
    --section: clamp(96px, 11vw, 168px);
    --header-h: 64px;
    --header-top: 12px;
    --bar-inset: 12px;

    --r-shell: 22px;
    --r-core: 16px;
    --r-tile: 14px;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
    --ease-swift: cubic-bezier(0.65, 0, 0.35, 1);

    /* Dark theme (default) */
    --bg: #0b0c0e;
    --bg-2: #101215;
    --panel: #131519;
    --panel-2: #181b20;
    --shell: rgba(255, 255, 255, 0.035);
    --shell-2: rgba(255, 255, 255, 0.065);
    --line: rgba(255, 255, 255, 0.085);
    --line-2: rgba(255, 255, 255, 0.16);
    --text: #edeef0;
    --text-2: #a3a8b0;
    --text-3: #7a808a;
    --accent: #f5822a;
    --accent-ink: #f5822a;
    --accent-soft: rgba(245, 130, 42, 0.16);
    --on-accent: #0b0c0e;
    --inverse: #edeef0;
    --on-inverse: #0b0c0e;
    --glass: rgba(16, 18, 21, 0.62);
    --glass-strong: rgba(17, 19, 23, 0.9);
    --highlight: rgba(255, 255, 255, 0.07);
    --shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.8);
    --shadow-sm: 0 14px 36px -20px rgba(0, 0, 0, 0.7);
    --grain: 0.05;
    --glow: 1;
    --is-light: 0;
    --positive: #4cc38a;
    --positive-ink: #4cc38a;
    --positive-soft: rgba(76, 195, 138, 0.14);
}

/* Light theme: follows the system unless the visitor picked a theme. */
@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) {
        --bg: #f3f4f6;
        --bg-2: #eceef1;
        --panel: #fafafb;
        --panel-2: #f4f5f7;
        --shell: rgba(17, 20, 28, 0.035);
        --shell-2: rgba(17, 20, 28, 0.06);
        --line: rgba(17, 20, 28, 0.09);
        --line-2: rgba(17, 20, 28, 0.17);
        --text: #0e0f12;
        --text-2: #565a63;
        --text-3: #6b7079;
        --accent-ink: #b04a0c;
        --accent-soft: rgba(245, 130, 42, 0.14);
        --on-accent: #0e0f12;
        --inverse: #0e0f12;
        --on-inverse: #f3f4f6;
        --glass: rgba(246, 247, 249, 0.72);
        --glass-strong: rgba(250, 250, 251, 0.94);
        --highlight: rgba(255, 255, 255, 0.9);
        --shadow: 0 30px 80px -44px rgba(36, 42, 56, 0.42);
        --shadow-sm: 0 14px 36px -22px rgba(36, 42, 56, 0.4);
        --grain: 0.035;
        --glow: 0.8;
        --is-light: 1;
        --positive: #16a34a;
        --positive-ink: #166534;
        --positive-soft: rgba(22, 163, 74, 0.12);
    }
}

:root[data-theme="light"] {
    color-scheme: light;
    --bg: #f3f4f6;
    --bg-2: #eceef1;
    --panel: #fafafb;
    --panel-2: #f4f5f7;
    --shell: rgba(17, 20, 28, 0.035);
    --shell-2: rgba(17, 20, 28, 0.06);
    --line: rgba(17, 20, 28, 0.09);
    --line-2: rgba(17, 20, 28, 0.17);
    --text: #0e0f12;
    --text-2: #565a63;
    --text-3: #6b7079;
    --accent-ink: #b04a0c;
    --accent-soft: rgba(245, 130, 42, 0.14);
    --on-accent: #0e0f12;
    --inverse: #0e0f12;
    --on-inverse: #f3f4f6;
    --glass: rgba(246, 247, 249, 0.72);
    --glass-strong: rgba(250, 250, 251, 0.94);
    --highlight: rgba(255, 255, 255, 0.9);
    --shadow: 0 30px 80px -44px rgba(36, 42, 56, 0.42);
    --shadow-sm: 0 14px 36px -22px rgba(36, 42, 56, 0.4);
    --grain: 0.035;
    --glow: 0.8;
    --is-light: 1;
    --positive: #16a34a;
    --positive-ink: #166534;
    --positive-soft: rgba(22, 163, 74, 0.12);
}

:root[data-theme="dark"] {
    color-scheme: dark;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

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

body {
    margin: 0;
    min-height: 100svh;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.6;
    font-weight: 400;
    font-stretch: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

/* Fixed film grain: breaks digital flatness without repainting on scroll. */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    opacity: var(--grain);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

img {
    height: auto;
}

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

a,
button {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

a[href^="tel:"] {
    white-space: nowrap;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
    margin: 0;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

address {
    font-style: normal;
}

strong {
    font-weight: 600;
    color: var(--text);
}

::selection {
    background: var(--accent);
    color: var(--on-accent);
}

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

.icon {
    width: 1.15em;
    height: 1.15em;
    flex: none;
}

.nowrap {
    white-space: nowrap;
}

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

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 60;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--inverse);
    color: var(--on-inverse);
    font-weight: 600;
    font-size: 0.9375rem;
    transform: translateY(-160%);
    transition: transform 0.45s var(--ease-spring);
}

.skip-link:focus {
    transform: none;
}

.header-sentinel {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 40px;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */

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

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

.section--tight-top {
    padding-top: calc(var(--section) * 0.35);
}

.grid-12 {
    display: grid;
    gap: 48px;
}

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

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

.display {
    font-size: clamp(2.5rem, 0.6rem + 5.45vw, 5.5rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    font-weight: 500;
    font-stretch: 108%;
    text-wrap: balance;
}

.h1 {
    font-size: clamp(2.375rem, 1.2rem + 4vw, 4.5rem);
    line-height: 1.02;
    letter-spacing: -0.038em;
    font-weight: 500;
    font-stretch: 108%;
    text-wrap: balance;
}

.h2 {
    font-size: clamp(2rem, 1.3rem + 2.3vw, 3.5rem);
    line-height: 1.04;
    letter-spacing: -0.032em;
    font-weight: 500;
    font-stretch: 106%;
    text-wrap: balance;
}

.h3 {
    font-size: clamp(1.375rem, 1.15rem + 0.8vw, 1.875rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 500;
    font-stretch: 104%;
}

.lead {
    font-size: clamp(1.125rem, 1.02rem + 0.45vw, 1.375rem);
    line-height: 1.5;
    color: var(--text-2);
    max-width: 42ch;
    text-wrap: pretty;
}

.label {
    font-size: 0.75rem;
    line-height: 1.2;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 550;
    font-stretch: 118%;
    color: var(--text-3);
}

.years {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    white-space: nowrap;
}

.years__sep {
    width: 0.9em;
    height: 1px;
    background: currentColor;
    opacity: 0.55;
}

/* Words that slide up out of a clipped box. */
.word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding: 0 0.04em 0.12em;
    margin: 0 -0.04em -0.12em;
}

.word > span {
    display: inline-block;
}

/* Eyebrow pill: used once per page, in the hero. */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 34px;
    padding: 0 15px 0 11px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--shell);
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 550;
    font-stretch: 118%;
    color: var(--text-2);
    box-shadow: inset 0 1px 0 var(--highlight);
}

.eyebrow::before {
    content: "";
    width: 15px;
    aspect-ratio: 388 / 345;
    background: var(--text);
    -webkit-mask: url("../images/brand/mark.png") center / contain no-repeat;
    mask: url("../images/brand/mark.png") center / contain no-repeat;
}

/* --------------------------------------------------------------------------
   Brand
   -------------------------------------------------------------------------- */

.mark,
.brand__mark,
.brand__word {
    display: block;
    background-color: currentColor;
    -webkit-mask: var(--mark) center / contain no-repeat;
    mask: var(--mark) center / contain no-repeat;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    flex: none;
}

.brand__mark {
    --mark: url("../images/brand/mark.png");
    width: 30px;
    aspect-ratio: 388 / 345;
}

.brand__word {
    --mark: url("../images/brand/wordmark.png");
    width: 88px;
    aspect-ratio: 898 / 152;
    transition: opacity 0.4s var(--ease-out);
}

.brand {
    transition: opacity 0.3s var(--ease-out);
}

.brand:hover {
    opacity: 0.72;
}

.brand--lg {
    gap: 16px;
}

.brand--lg .brand__mark {
    width: 44px;
}

.brand--lg .brand__word {
    width: 128px;
}

.mark--ipaware { --mark: url("../images/companies/ipaware-mark.png"); }
.mark--oblivus { --mark: url("../images/companies/oblivus-mark.png"); }
.mark--lividnetworks { --mark: url("../images/companies/lividnetworks-mark.png"); }
.mark--ixniumtechnologies { --mark: url("../images/companies/ixniumtechnologies-mark.png"); }
.mark--nesdomlimited { --mark: url("../images/companies/nesdomlimited-mark.png"); }
.mark--nuxo { --mark: url("../images/companies/nuxo-mark.svg"); }

/* --------------------------------------------------------------------------
   Buttons, links, badges
   -------------------------------------------------------------------------- */

.btn {
    --btn-h: 54px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    height: var(--btn-h);
    padding: 0 26px;
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 550;
    letter-spacing: -0.005em;
    white-space: nowrap;
    transition:
        transform 0.5s var(--ease-spring),
        translate 0.45s var(--ease-out),
        background-color 0.35s var(--ease-out),
        border-color 0.35s var(--ease-out),
        color 0.35s var(--ease-out);
}

.btn:has(.btn__icon) {
    padding-right: 7px;
}

.btn__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition:
        transform 0.55s var(--ease-spring),
        background-color 0.35s var(--ease-out);
}

.btn__icon .icon {
    width: 17px;
    height: 17px;
}

.btn:hover .btn__icon {
    transform: translate(3px, -1px) scale(1.06);
}

.btn:active {
    transform: scale(0.98);
}

.btn--primary {
    background: var(--inverse);
    color: var(--on-inverse);
}

.btn--primary .btn__icon {
    background: color-mix(in srgb, var(--on-inverse) 10%, transparent);
}

.btn--primary:hover {
    background: var(--accent);
    color: var(--on-accent);
}

.btn--ghost {
    background: var(--shell);
    color: var(--text);
    box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 var(--highlight);
}

.btn--ghost .btn__icon {
    background: var(--shell-2);
}

.btn--ghost:hover {
    background: var(--shell-2);
}

.btn--ghost:hover .btn__icon {
    background: var(--accent);
    color: var(--on-accent);
}

.btn--sm {
    --btn-h: 44px;
    padding: 0 18px;
    font-size: 0.875rem;
    gap: 10px;
}

.btn--sm:has(.btn__icon) {
    padding-right: 5px;
}

.btn--sm .btn__icon {
    width: 34px;
    height: 34px;
}

.btn--sm .btn__icon .icon {
    width: 15px;
    height: 15px;
}

.text-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    color: var(--text);
}

.text-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0.999);
    transform-origin: left;
    opacity: 0.35;
    transition: transform 0.6s var(--ease-out), opacity 0.3s var(--ease-out);
}

.text-link:hover::after {
    opacity: 1;
    animation: underline-sweep 0.7s var(--ease-out);
}

.text-link .icon {
    width: 15px;
    height: 15px;
    transition: transform 0.5s var(--ease-spring);
}

.text-link:hover .icon {
    transform: translate(2px, -2px);
}

@keyframes underline-sweep {
    0% { transform: scaleX(1); transform-origin: right; }
    45% { transform: scaleX(0); transform-origin: right; }
    46% { transform: scaleX(0); transform-origin: left; }
    100% { transform: scaleX(1); transform-origin: left; }
}

.status {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 30px;
    padding: 0 13px;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    font-size: 0.6875rem;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    font-stretch: 118%;
    color: var(--text-2);
}

/* Status colours carry meaning: Active is green with a live dot, Building is the
   brand orange with a progress ring, past outcomes stay neutral. */
.status--active {
    color: var(--positive-ink);
    border-color: color-mix(in srgb, var(--positive) 45%, transparent);
    background: var(--positive-soft);
}

.status--active::before,
.status--active::after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--positive);
}

.status--active::after {
    position: absolute;
    left: 13px;
    top: 50%;
    margin-top: -3px;
    opacity: 0;
}

.status--building {
    color: var(--accent-ink);
    border-color: color-mix(in srgb, var(--accent) 45%, transparent);
    background: var(--accent-soft);
}

.status--building::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: conic-gradient(currentColor 0 270deg, color-mix(in srgb, currentColor 25%, transparent) 270deg 360deg);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
}

.pill-btn,
.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 18px 0 14px;
    border-radius: 999px;
    background: var(--shell);
    box-shadow: inset 0 0 0 1px var(--line-2);
    font-size: 0.875rem;
    font-weight: 550;
    transition: transform 0.5s var(--ease-spring), background-color 0.3s var(--ease-out);
}

.pill-btn:hover,
.copy-btn:hover {
    background: var(--shell-2);
}

.pill-btn:active,
.copy-btn:active {
    transform: scale(0.97);
}

.pill-btn .icon {
    width: 16px;
    height: 16px;
}

.copy-btn__icons {
    position: relative;
    width: 18px;
    height: 18px;
}

.copy-btn__icons .icon {
    position: absolute;
    inset: 0;
    width: 18px;
    height: 18px;
    transition: transform 0.5s var(--ease-spring), opacity 0.3s var(--ease-out);
}

.copy-btn__check {
    opacity: 0;
    transform: scale(0.4) rotate(-30deg);
    color: var(--accent-ink);
}

.copy-btn.is-copied .copy-btn__copy {
    opacity: 0;
    transform: scale(0.4) rotate(30deg);
}

.copy-btn.is-copied .copy-btn__check {
    opacity: 1;
    transform: none;
}

/* --------------------------------------------------------------------------
   Double-bezel frame
   -------------------------------------------------------------------------- */

.bezel {
    display: block;
    padding: 6px;
    border-radius: var(--r-shell);
    background: var(--shell);
    box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
}

.bezel__core {
    position: relative;
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: var(--r-core);
    background: var(--panel);
    isolation: isolate;
}

.bezel__core::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
    box-shadow: inset 0 1px 0 var(--highlight), inset 0 0 0 1px var(--line);
    pointer-events: none;
}

.bezel__core > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
    position: fixed;
    top: var(--header-top);
    left: 0;
    right: 0;
    z-index: 50;
    pointer-events: none;
}

.site-header__bar {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    gap: 16px;
    width: min(100% - 2 * (var(--gutter) - var(--bar-inset)), var(--container) + 2 * var(--bar-inset));
    height: var(--header-h);
    margin-inline: auto;
    padding-inline: var(--bar-inset) 10px;
    pointer-events: auto;
}

.site-header__bar::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 20px;
    background: var(--glass);
    box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 var(--highlight), var(--shadow-sm);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    backdrop-filter: blur(20px) saturate(160%);
    opacity: 0;
    transform: scale(0.985, 0.94);
    transition: opacity 0.5s var(--ease-out), transform 0.7s var(--ease-spring);
}

.site-header.is-scrolled .site-header__bar::before,
.menu-open .site-header__bar::before {
    opacity: 1;
    transform: none;
}

.site-nav {
    display: none;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.site-header__cta {
    display: none;
}

/* Header theme toggle: shows the theme it switches to (sun in dark, moon in light). */
.theme-toggle {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--shell);
    box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 var(--highlight);
    transition: background-color 0.3s var(--ease-out), transform 0.5s var(--ease-spring);
}

html:not(.js) .theme-toggle {
    display: none;
}

.theme-toggle:hover {
    background: var(--shell-2);
}

.theme-toggle:active {
    transform: scale(0.94);
}

.theme-toggle .icon {
    position: absolute;
    width: 18px;
    height: 18px;
    transition: opacity 0.4s var(--ease-out), transform 0.7s var(--ease-spring);
}

.theme-toggle__sun {
    opacity: calc(1 - var(--is-light));
    transform: rotate(calc(var(--is-light) * 90deg)) scale(calc(1 - var(--is-light) * 0.4));
}

.theme-toggle__moon {
    opacity: var(--is-light);
    transform: rotate(calc((1 - var(--is-light)) * -90deg)) scale(calc(0.6 + var(--is-light) * 0.4));
}

.menu-toggle {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: var(--shell);
    box-shadow: inset 0 0 0 1px var(--line-2);
    transition: transform 0.5s var(--ease-spring);
}

.menu-toggle:active {
    transform: scale(0.94);
}

.menu-toggle span {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 50%;
    height: 1.5px;
    margin-top: -0.75px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.6s var(--ease-spring);
}

.menu-toggle span:first-child {
    transform: translateY(-4px);
}

.menu-toggle span:last-child {
    transform: translateY(4px);
}

.menu-toggle[aria-expanded="true"] span:first-child {
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
    transform: rotate(-45deg);
}

@media (min-width: 640px) {
    .site-header__cta {
        display: inline-flex;
    }
}

@media (min-width: 1024px) {
    .site-header__bar {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
    }

    .site-nav {
        display: block;
    }

    .site-header__actions {
        justify-self: end;
        margin-left: 0;
    }

    .menu-toggle {
        display: none;
    }
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 2px;
}

.site-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-2);
    transition: color 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
}

.site-nav__link:hover,
.site-nav__link[aria-expanded="true"] {
    color: var(--text);
    background: var(--shell-2);
}

.site-nav__link[aria-current="page"],
.site-nav__link.is-current {
    color: var(--text);
    background: var(--shell-2);
    box-shadow: inset 0 0 0 1px var(--line);
}

.site-nav__caret {
    width: 13px;
    height: 13px;
    transition: transform 0.5s var(--ease-spring);
}

.site-nav__link[aria-expanded="true"] .site-nav__caret {
    transform: rotate(180deg);
}

/* Companies dropdown */

.nav-dropdown {
    position: relative;
}

.nav-dropdown__panel {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    width: 460px;
    padding: 6px;
    border-radius: var(--r-shell);
    background: var(--glass-strong);
    box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    backdrop-filter: blur(24px) saturate(160%);
    translate: -50% 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top center;
    transition:
        opacity 0.3s var(--ease-out),
        transform 0.5s var(--ease-spring),
        visibility 0s 0.5s;
}

/* Hover bridge so the pointer can travel from the trigger into the panel. */
.nav-dropdown__panel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -18px;
    height: 18px;
}

.nav-dropdown.is-open .nav-dropdown__panel,
html:not(.js) .nav-dropdown:hover .nav-dropdown__panel,
html:not(.js) .nav-dropdown:focus-within .nav-dropdown__panel {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition:
        opacity 0.3s var(--ease-out),
        transform 0.5s var(--ease-spring),
        visibility 0s;
}

.nav-dropdown__core {
    padding: 8px;
    border-radius: var(--r-core);
    background: var(--panel);
    box-shadow: inset 0 1px 0 var(--highlight), inset 0 0 0 1px var(--line);
}

.dd-item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 9px 12px 9px 9px;
    border-radius: 12px;
    transition: background-color 0.25s var(--ease-out);
}

.dd-item:hover,
.dd-item:focus-visible,
.dd-item[aria-current="page"] {
    background: var(--shell-2);
}

.dd-item__tile {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--bg-2);
    box-shadow: inset 0 0 0 1px var(--line);
    color: var(--text);
}

.dd-item__tile .mark {
    width: 72%;
    height: 44%;
}

.dd-item__text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.dd-item__name {
    font-size: 0.9375rem;
    font-weight: 550;
    line-height: 1.3;
}

.dd-item__meta {
    font-size: 0.8125rem;
    line-height: 1.3;
    color: var(--text-2);
}

.dd-item__status {
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    font-stretch: 115%;
    color: var(--text-3);
}

.dd-item__status.is-active {
    color: var(--positive-ink);
}

.dd-item__status.is-building {
    color: var(--accent-ink);
}

.dd-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 6px 4px 0;
    padding: 14px 8px 8px;
    border-top: 1px solid var(--line);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-2);
    transition: color 0.3s var(--ease-out);
}

.dd-all .icon {
    width: 16px;
    height: 16px;
    transition: transform 0.5s var(--ease-spring);
}

.dd-all:hover {
    color: var(--text);
}

.dd-all:hover .icon {
    transform: translateX(4px);
}

/* Mobile menu */

.site-menu {
    position: fixed;
    inset: 0;
    z-index: 40;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--glass-strong);
    -webkit-backdrop-filter: blur(28px) saturate(150%);
    backdrop-filter: blur(28px) saturate(150%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s var(--ease-out), visibility 0s 0.45s;
}

.menu-open .site-menu {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.45s var(--ease-out), visibility 0s;
}

html.menu-open {
    overflow: hidden;
}

.site-menu__inner {
    display: flex;
    flex-direction: column;
    gap: 48px;
    min-height: 100%;
    width: min(100% - 2 * var(--gutter), var(--container));
    margin-inline: auto;
    padding: calc(var(--header-h) + var(--header-top) + 40px) 0 40px;
}

.site-menu__primary a {
    display: block;
    padding-block: 4px;
    font-size: clamp(2.5rem, 10vw, 3.75rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    font-weight: 500;
    font-stretch: 108%;
}

.site-menu__primary a,
.site-menu__companies a,
.site-menu__foot a {
    transition: color 0.3s var(--ease-out);
}

.site-menu__primary a:hover,
.site-menu__primary a[aria-current="page"] {
    color: var(--text-2);
}

.site-menu__companies a:hover {
    color: var(--accent-ink);
}

.site-menu__foot a:hover {
    color: var(--text);
}

.site-menu__label {
    margin: 40px 0 12px;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 550;
    font-stretch: 118%;
    color: var(--text-3);
}

.site-menu__companies a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.125rem;
    font-weight: 500;
}

.site-menu__status {
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    font-stretch: 115%;
    color: var(--text-3);
}

.site-menu__status.is-active {
    color: var(--positive-ink);
}

.site-menu__status.is-building {
    color: var(--accent-ink);
}

.site-menu__foot {
    display: grid;
    gap: 6px;
    margin-top: auto;
    color: var(--text-2);
}

.site-menu [data-menu-item] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.5s var(--ease-out), transform 0.8s var(--ease-spring);
}

.menu-open .site-menu [data-menu-item] {
    opacity: 1;
    transform: none;
    transition-delay: calc(var(--i, 0) * 45ms + 90ms);
}

@media (min-width: 1024px) {
    .site-menu {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Home: hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    display: grid;
    align-items: center;
    min-height: min(100svh, 1000px);
    padding-top: calc(var(--header-h) + var(--header-top) + clamp(40px, 6vw, 72px));
    padding-bottom: clamp(56px, 7vw, 96px);
    overflow-x: clip;
}

.hero__grid {
    display: grid;
    gap: 40px;
    align-items: center;
}

.hero__copy {
    position: relative;
    z-index: 2;
}

.hero__title {
    margin-top: 28px;
}

.hero__lead {
    margin-top: 28px;
    max-width: 40ch;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
}

.hero__visual {
    position: relative;
    display: grid;
    place-items: center;
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
}

.hero__glow {
    position: absolute;
    left: 50%;
    top: 46%;
    width: 150%;
    aspect-ratio: 1;
    translate: -50% -50%;
    z-index: -1;
    pointer-events: none;
    opacity: var(--glow);
    background:
        radial-gradient(closest-side, rgba(245, 130, 42, 0.2), rgba(245, 130, 42, 0.06) 52%, transparent 72%);
}

/* Particle logo (React Bits ParticleText, sampling the UH mark). The CSS mark
   below is the no-JS fallback and the exact box the particles assemble into. */
.hero__particles {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
}

/* The canvas reaches 45% past the logo area on every side and fades out
   radially, so particles gather from open space instead of a visible box. */
.hero__particles canvas {
    position: absolute;
    left: -45%;
    top: -45%;
    width: 190%;
    height: 190%;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(closest-side, #000 52%, transparent);
    mask-image: radial-gradient(closest-side, #000 52%, transparent);
}

.hero__mark {
    --mark: url("../images/brand/mark.png");
    position: absolute;
    left: 19%;
    top: 22.44%;
    width: 62%;
    height: 55.11%;
    color: var(--text);
    transition: opacity 0.6s var(--ease-out);
}

.js .hero__mark {
    opacity: 0;
}

.js .hero__particles.is-fallback .hero__mark {
    opacity: 1;
}

@media (min-width: 1024px) {
    .hero__grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 24px;
    }

    .hero__copy {
        grid-column: 1 / span 7;
    }

    .hero__visual {
        grid-column: 8 / -1;
        max-width: none;
    }
}

@media (max-width: 1023px) {
    .hero {
        min-height: 0;
    }

    .hero__visual {
        max-width: 420px;
    }
}

/* --------------------------------------------------------------------------
   Home: statement + facts
   -------------------------------------------------------------------------- */

.statement {
    max-width: 24ch;
    font-size: clamp(1.875rem, 1.1rem + 2.9vw, 3.75rem);
    line-height: 1.12;
    letter-spacing: -0.032em;
    font-weight: 450;
    font-stretch: 104%;
    text-wrap: balance;
}

.statement .is-muted {
    color: var(--text-2);
}

.facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: clamp(64px, 9vw, 128px);
}

.fact {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    gap: 14px;
    padding: 28px 20px 0 0;
    border-top: 1px solid var(--line);
}

.fact dd {
    font-size: clamp(3rem, 1.8rem + 4vw, 5.5rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    font-weight: 350;
    font-stretch: 110%;
}

.fact dt {
    font-size: 0.9375rem;
    color: var(--text-2);
}

.fact:nth-child(n + 3) {
    margin-top: 40px;
}

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

    .fact:nth-child(n + 3) {
        margin-top: 0;
    }

    .fact + .fact {
        padding-left: 24px;
        box-shadow: inset 1px 0 0 var(--line);
    }
}

/* Masked line used for numerals that rise into place. */
.mask-line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.06em;
    margin-bottom: -0.06em;
}

.mask-line > span {
    display: block;
}

/* --------------------------------------------------------------------------
   Home: portfolio
   -------------------------------------------------------------------------- */

.section-head {
    max-width: 760px;
    margin-bottom: clamp(48px, 6vw, 88px);
}

.section-head .lead {
    margin-top: 22px;
}









.current-list {
    display: grid;
    gap: clamp(72px, 9vw, 128px);
}

/* Current companies: stacked rows that alternate sides around a central lane. */
.current {
    display: grid;
    gap: 32px;
    align-items: center;
}

.current__media {
    display: block;
    width: 100%;
    max-width: 600px;
    transition: translate 0.8s var(--ease-spring);
}

/* The reveal owns transform, so the hover lift uses translate. */
.js .current__media[data-reveal] {
    transition:
        opacity 1s var(--ease-out),
        transform 1.4s var(--ease-spring),
        translate 0.8s var(--ease-spring);
}

.current__media:hover {
    translate: 0 -4px;
}

.current__media .bezel__core {
    aspect-ratio: 16 / 10;
}

.current__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.current__name {
    margin-top: 20px;
    font-size: clamp(2rem, 1.4rem + 1.8vw, 2.75rem);
    line-height: 1.04;
    letter-spacing: -0.032em;
    font-weight: 500;
    font-stretch: 108%;
}

.current__tagline {
    margin-top: 10px;
    font-size: 1.1875rem;
    color: var(--text);
}

.current__summary {
    margin-top: 12px;
    max-width: 46ch;
    color: var(--text-2);
}

.current__body .facts-inline {
    align-self: stretch;
}

.current__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
    margin-top: 32px;
}

@media (min-width: 1024px) {
    .current {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 24px;
    }

    .current__media {
        grid-column: 1 / span 5;
        max-width: none;
    }

    .current__body {
        grid-column: 8 / -1;
    }

    .current--flip .current__media {
        grid-column: 8 / -1;
        grid-row: 1;
    }

    .current--flip .current__body {
        grid-column: 1 / span 5;
        grid-row: 1;
    }
}

.facts-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 40px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.facts-inline dt {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 550;
    font-stretch: 118%;
    color: var(--text-3);
}

.facts-inline dd {
    margin-top: 6px;
    font-weight: 500;
}



.ventures {
    margin-top: clamp(80px, 10vw, 144px);
}

.ventures__title {
    margin-bottom: 28px;
}

.ventures__head {
    display: none;
}

.venture {
    position: relative;
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) 40px;
    align-items: center;
    gap: 6px 18px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.venture::before {
    content: "";
    position: absolute;
    inset: 0 calc(var(--gutter) * -0.4);
    z-index: -1;
    border-radius: var(--r-core);
    background: var(--shell);
    opacity: 0;
    transform: scaleY(0.9);
    transition: opacity 0.35s var(--ease-out), transform 0.6s var(--ease-spring);
}

.venture:hover::before,
.venture:focus-visible::before {
    opacity: 1;
    transform: none;
}

.venture__tile {
    position: relative;
    display: grid;
    place-items: center;
    grid-row: span 2;
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: var(--r-tile);
    background: var(--panel);
    box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 var(--highlight);
    color: var(--text);
}

.venture__tile .mark {
    width: 66%;
    height: 42%;
    transition: opacity 0.4s var(--ease-out), transform 0.7s var(--ease-spring);
}

.venture__tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.25);
    transition: opacity 0.45s var(--ease-out), transform 0.9s var(--ease-spring);
}

.venture:hover .venture__tile img,
.venture:focus-visible .venture__tile img {
    opacity: 1;
    transform: none;
}

.venture:hover .venture__tile .mark,
.venture:focus-visible .venture__tile .mark {
    opacity: 0;
    transform: scale(0.8);
}

.venture__name {
    font-size: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 500;
    font-stretch: 106%;
}

.venture__tagline {
    display: block;
    margin-top: 4px;
    font-size: 0.9375rem;
    line-height: 1.4;
    letter-spacing: 0;
    font-weight: 400;
    font-stretch: 100%;
    color: var(--text-2);
}

.venture__meta {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    font-size: 0.875rem;
    color: var(--text-2);
}

.venture__arrow {
    grid-column: 3;
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px var(--line-2);
    transition:
        transform 0.6s var(--ease-spring),
        background-color 0.3s var(--ease-out),
        color 0.3s var(--ease-out);
}

.venture__arrow .icon {
    width: 16px;
    height: 16px;
}

.venture:hover .venture__arrow,
.venture:focus-visible .venture__arrow {
    background: var(--inverse);
    color: var(--on-inverse);
    transform: translateX(4px);
}

.venture__outcome {
    color: var(--text);
}

@media (min-width: 900px) {
    .ventures__head,
    .venture {
        display: grid;
        grid-template-columns: 72px minmax(0, 2.6fr) minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.8fr) 44px;
        gap: 28px;
        align-items: center;
    }

    .ventures__head {
        padding-bottom: 16px;
        border-bottom: 1px solid var(--line);
    }

    .ventures__head span:first-child {
        grid-column: 2;
    }

    .venture {
        padding: 22px 0;
    }

    .venture__tile {
        grid-row: auto;
        width: 72px;
        height: 72px;
    }

    .venture__meta {
        display: contents;
        font-size: 0.9375rem;
    }

    .venture__arrow {
        grid-column: auto;
        grid-row: auto;
        width: 44px;
        height: 44px;
    }
}

/* --------------------------------------------------------------------------
   Closing contact panel
   -------------------------------------------------------------------------- */

.cta__core {
    padding: clamp(28px, 6vw, 96px);
    background:
        radial-gradient(70% 90% at 100% 0%, var(--accent-soft), transparent 70%),
        var(--panel);
}

.cta__title {
    font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem);
    line-height: 1.3;
    letter-spacing: -0.015em;
    font-weight: 450;
    color: var(--text-2);
}

.cta__mail {
    position: relative;
    display: inline-block;
    max-width: 100%;
    margin-top: 16px;
    font-size: clamp(1.375rem, 0.2rem + 6vw, 6rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
    font-weight: 500;
    font-stretch: 106%;
    overflow-wrap: anywhere;
    transition: color 0.35s var(--ease-out);
}

.cta__mail::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.02em;
    height: max(2px, 0.03em);
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.8s var(--ease-out);
}

.cta__mail:hover::after,
.cta__mail:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.cta__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px 48px;
    margin-top: clamp(36px, 5vw, 64px);
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.cta__details {
    display: grid;
    gap: 20px 48px;
}

@media (min-width: 768px) {
    .cta__details {
        grid-template-columns: repeat(3, auto);
    }
}

.cta__details dt {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 550;
    font-stretch: 118%;
    color: var(--text-3);
}

.cta__details dd {
    margin-top: 4px;
    font-weight: 500;
}

.cta__details a {
    transition: color 0.3s var(--ease-out);
}

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

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

.site-footer {
    padding-top: clamp(72px, 9vw, 120px);
    padding-bottom: 32px;
    border-top: 1px solid var(--line);
    background: var(--bg-2);
}

.site-footer__top {
    display: grid;
    gap: 56px;
}

.site-footer__brand p {
    margin-top: 24px;
    max-width: 30ch;
    color: var(--text-2);
}

.site-footer__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 24px;
}

/* Small screens: addresses get the full width so their lines don't break. */
@media (max-width: 767px) {
    .site-footer__nav > div:nth-child(n + 3) {
        grid-column: 1 / -1;
    }
}

@media (min-width: 768px) {
    .site-footer__nav {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.8fr) minmax(0, 1.1fr) minmax(0, 1.1fr);
    }
}

.site-footer__heading {
    margin-bottom: 16px;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 550;
    font-stretch: 118%;
    color: var(--text-3);
}

.site-footer__nav li + li {
    margin-top: 8px;
}

.site-footer__nav a,
.site-footer__nav address {
    color: var(--text-2);
    transition: color 0.3s var(--ease-out);
}

.site-footer__nav address {
    line-height: 1.9;
}

.site-footer__nav a:hover {
    color: var(--text);
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: clamp(64px, 8vw, 104px);
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 0.875rem;
    color: var(--text-3);
}

.site-footer__tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 24px;
}

.site-footer__legal nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.site-footer__legal a {
    transition: color 0.3s var(--ease-out);
}

.site-footer__legal a:hover {
    color: var(--text);
}

/* Theme switch: system / light / dark. Needs JavaScript, so hidden without it. */
.theme-switch {
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    border-radius: 999px;
    background: var(--shell);
    box-shadow: inset 0 0 0 1px var(--line);
}

html:not(.js) .theme-switch {
    display: none;
}

.theme-switch__option {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--text-3);
    transition: color 0.3s var(--ease-out), background-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.theme-switch__option .icon {
    width: 16px;
    height: 16px;
}

.theme-switch__option:hover {
    color: var(--text);
}

.theme-switch__option[aria-pressed="true"] {
    color: var(--text);
    background: var(--shell-2);
    box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 var(--highlight);
}

.to-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-2);
    transition: color 0.3s var(--ease-out);
}

.to-top .icon {
    width: 15px;
    height: 15px;
    transition: transform 0.5s var(--ease-spring);
}

.to-top:hover {
    color: var(--text);
}

.to-top:hover .icon {
    transform: translateY(-3px);
}

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

    .site-footer__brand {
        grid-column: 1 / span 4;
    }

    .site-footer__nav {
        grid-column: 5 / -1;
    }
}

/* --------------------------------------------------------------------------
   Inner page hero (about, contact)
   -------------------------------------------------------------------------- */

.page-hero {
    padding-top: calc(var(--header-h) + var(--header-top) + clamp(64px, 9vw, 136px));
    padding-bottom: clamp(72px, 9vw, 136px);
}

.page-hero__title {
    margin-top: 28px;
    max-width: 16ch;
}

.page-hero .lead {
    margin-top: 28px;
}

/* --------------------------------------------------------------------------
   About: manifesto
   -------------------------------------------------------------------------- */

.manifesto__list {
    counter-reset: statement;
}

.statement-item {
    padding-block: clamp(32px, 5vw, 64px);
    border-top: 1px solid var(--line);
    transition: opacity 0.7s var(--ease-out);
}

.statement-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.statement-item__lead {
    font-size: clamp(1.75rem, 1.15rem + 2vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.032em;
    font-weight: 500;
    font-stretch: 106%;
    text-wrap: balance;
}

.statement-item__sub {
    margin-top: 12px;
    font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
    color: var(--text-2);
    text-wrap: pretty;
}

.has-statements .statement-item {
    opacity: 0.28;
}

.has-statements .statement-item.is-active {
    opacity: 1;
}

@media (min-width: 1024px) {
    .manifesto__grid {
        display: grid;
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 24px;
        align-items: start;
    }

    .manifesto__visual {
        grid-column: 1 / span 5;
        position: sticky;
        top: calc(var(--header-h) + var(--header-top) + 32px);
    }

    .manifesto__list {
        grid-column: 7 / -1;
        padding-top: 12vh;
        padding-bottom: 18vh;
    }
}

@media (max-width: 1023px) {
    .manifesto__visual {
        max-width: 460px;
        margin-bottom: 56px;
    }
}

/* --------------------------------------------------------------------------
   About: timeline
   -------------------------------------------------------------------------- */

.record__intro .lead {
    margin-top: 22px;
}

.timeline {
    position: relative;
    padding-left: 44px;
    view-timeline-name: --timeline;
}

.timeline::before,
.timeline::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 14px;
    bottom: 14px;
    width: 1px;
    background: var(--line-2);
}

.timeline::after {
    background: var(--accent);
    transform-origin: top;
}

.timeline__item {
    position: relative;
    display: grid;
    gap: 10px;
    padding-bottom: clamp(36px, 5vw, 56px);
}

.timeline__item:last-child {
    padding-bottom: 0;
}

.timeline__item::before {
    content: "";
    position: absolute;
    left: -44px;
    top: 9px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 5px var(--bg);
}

.timeline__year {
    font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem);
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 400;
    font-stretch: 110%;
}

.timeline__events li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 24px;
    padding-block: 12px;
    border-bottom: 1px solid var(--line);
    font-size: 1.125rem;
}

.timeline__events a {
    font-weight: 550;
    transition: color 0.3s var(--ease-out);
}

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

.timeline__sector {
    font-size: 0.9375rem;
    color: var(--text-2);
}

@media (min-width: 1024px) {
    .record {
        display: grid;
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 24px;
        align-items: start;
    }

    .record__intro {
        grid-column: 1 / span 4;
        position: sticky;
        top: calc(var(--header-h) + var(--header-top) + 40px);
    }

    .timeline {
        grid-column: 6 / -1;
    }

    .timeline__item {
        grid-template-columns: 140px minmax(0, 1fr);
        gap: 24px;
    }

    .timeline__events li:first-child {
        padding-top: 4px;
    }
}

@media (max-width: 1023px) {
    .record__intro {
        margin-bottom: 56px;
    }
}

/* --------------------------------------------------------------------------
   About: how we work

   Four steps in two columns. On desktop the thread runs down the gutter
   between them (grid column 6) and branches to each step, so the intro stays
   within columns 1 to 5.
   -------------------------------------------------------------------------- */

.process__intro .lead {
    margin-top: 22px;
}

.process {
    display: grid;
    margin-top: clamp(40px, 5vw, 72px);
}

.process__step {
    padding: 28px 0 40px;
    border-top: 1px solid var(--line);
}

.process__title {
    font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-weight: 500;
    font-stretch: 106%;
}

.process__step p {
    max-width: 38ch;
    margin-top: 12px;
    font-size: 1.125rem;
    color: var(--text-2);
    text-wrap: pretty;
}

@media (min-width: 1024px) {
    .process__intro {
        max-width: calc((100% - 11 * 24px) / 12 * 5 + 4 * 24px);
    }

    .process {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        column-gap: 24px;
    }

    .process__step:nth-child(odd) {
        grid-column: 1 / span 5;
    }

    .process__step:nth-child(even) {
        grid-column: 7 / -1;
    }
}

/* --------------------------------------------------------------------------
   About: founder quote (three lines at most, signed with name and role)
   -------------------------------------------------------------------------- */

.quote {
    max-width: 64rem;
}

.quote__text p {
    font-size: clamp(1.625rem, 1.15rem + 1.6vw, 2.5rem);
    line-height: 1.18;
    letter-spacing: -0.03em;
    font-weight: 500;
    font-stretch: 106%;
    text-wrap: balance;
}

.quote__by {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: clamp(28px, 3.5vw, 44px);
}

.quote__photo {
    flex: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1px var(--line-2), 0 0 0 4px var(--shell);
}

.quote__id {
    display: grid;
    gap: 2px;
}

.quote__name {
    font-weight: 550;
}

.quote__role {
    font-size: 0.9375rem;
    color: var(--text-2);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-hero {
    display: grid;
    align-items: center;
    min-height: min(100svh, 980px);
    padding-top: calc(var(--header-h) + var(--header-top) + clamp(48px, 7vw, 104px));
    padding-bottom: clamp(72px, 9vw, 128px);
}

.contact-hero__grid {
    display: grid;
    gap: 56px;
}

.contact-hero .page-hero__title {
    max-width: none;
    font-size: clamp(2.375rem, 1.2rem + 3.3vw, 4rem);
}

.contact-hero .lead {
    margin-top: 24px;
}

.contact-hero__note {
    margin-top: 40px;
    color: var(--text-2);
}

.contact-card .bezel__core {
    padding: 8px;
}

.contact-row {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px 18px;
    align-items: center;
    padding: 22px 16px;
}

.contact-row + .contact-row {
    border-top: 1px solid var(--line);
}

.contact-row__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: var(--bg-2);
    box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 var(--highlight);
}

.contact-row__icon .icon {
    width: 21px;
    height: 21px;
}

.contact-row__label {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 550;
    font-stretch: 118%;
    color: var(--text-3);
}

.contact-row__value {
    margin-top: 4px;
    font-size: 1.1875rem;
    line-height: 1.4;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.contact-row__value a {
    transition: color 0.3s var(--ease-out);
}

.contact-row__value a:hover {
    color: var(--accent-ink);
}

.contact-row__action {
    grid-column: 2;
    justify-self: start;
}

@media (min-width: 560px) {
    .contact-row {
        grid-template-columns: 48px minmax(0, 1fr) auto;
    }

    .contact-row__action {
        grid-column: auto;
    }
}

@media (min-width: 1024px) {
    .contact-hero__grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 24px;
        align-items: end;
    }

    .contact-hero__copy {
        grid-column: 1 / span 6;
    }

    .contact-card {
        grid-column: 7 / -1;
    }
}

/* --------------------------------------------------------------------------
   Press: company description, fact sheet and brand assets
   -------------------------------------------------------------------------- */

/* The description is long, so it gets body-lead size rather than the large intro size. */
.prose .press-boilerplate {
    font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
    line-height: 1.55;
    letter-spacing: -0.005em;
}

.press-copy {
    margin-top: 28px;
}

.press-facts {
    display: grid;
    gap: 40px 24px;
    margin-top: clamp(36px, 4.5vw, 64px);
}

.press-facts__title {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
    font-size: 1.125rem;
    font-weight: 550;
}

.press-facts dl {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.press-facts dt {
    font-size: 0.8125rem;
    color: var(--text-3);
}

.press-facts dd {
    margin-top: 4px;
    font-size: 1.0625rem;
    line-height: 1.5;
    font-variant-numeric: tabular-nums;
}

@media (min-width: 900px) {
    .press-facts {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
    }
}

.press-assets__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px 32px;
}

.press-assets__note {
    max-width: 60ch;
    margin-top: 18px;
    color: var(--text-2);
}

.asset-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
    margin-top: clamp(32px, 4vw, 56px);
}

@media (min-width: 640px) {
    .asset-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 28px 20px;
    }
}

.asset {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 12px;
}

/* Fixed backgrounds in both themes: each file is shown on the background it is made for.
   The image is centred absolutely and capped to the tile, so its own size never stretches it. */
.asset__preview {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--r-core);
    box-shadow: inset 0 0 0 1px var(--line);
}

.asset__preview--light {
    background: #f3f4f6;
}

.asset__preview--dark {
    background: #0b0c0e;
}

.asset__preview img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    max-width: 68%;
    max-height: 56%;
    transform: translate(-50%, -50%);
}

.asset__name {
    font-weight: 550;
}

.asset__info {
    margin-top: 2px;
    font-size: 0.875rem;
    color: var(--text-3);
}

.asset__link {
    justify-self: start;
}

.icon--down {
    transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
   Coverage: articles and posts about the group and its companies (Press page,
   company pages). Each row is one link: the headline's ::after covers the row.
   -------------------------------------------------------------------------- */

.coverage {
    margin-top: clamp(32px, 4vw, 56px);
    border-bottom: 1px solid var(--line);
}

.story {
    position: relative;
    display: grid;
    gap: 12px;
    padding: 24px 40px 26px 0;
    border-top: 1px solid var(--line);
}

.story__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    font-size: 0.875rem;
    color: var(--text-3);
    font-variant-numeric: tabular-nums;
}

/* Outlet icons are square tiles with their own background, so they read in both themes. */
.story__logo {
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    box-shadow: 0 0 0 1px var(--line);
}

.story__outlet {
    font-weight: 550;
    color: var(--text);
}

.story__title {
    font-size: clamp(1.25rem, 1.05rem + 0.75vw, 1.625rem);
    line-height: 1.25;
    letter-spacing: -0.02em;
    font-weight: 500;
    text-wrap: balance;
}

.story__title a {
    transition: color 0.3s var(--ease-out);
}

.story__title a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.story__original {
    margin-top: 8px;
    font-size: 0.9375rem;
    font-style: italic;
    color: var(--text-3);
    text-wrap: pretty;
}

.story__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
}

.story__tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px var(--line-2);
    font-size: 0.75rem;
    color: var(--text-2);
    white-space: nowrap;
}

.story__tag .mark {
    width: 13px;
    height: 13px;
}

.story__arrow {
    position: absolute;
    top: 26px;
    right: 0;
    color: var(--text-3);
    transition: color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.story__arrow .icon {
    width: 20px;
    height: 20px;
}

.story:hover .story__title a {
    color: var(--accent-ink);
}

.story:hover .story__arrow {
    color: var(--accent);
    transform: translate(2px, -2px);
}

@media (min-width: 1024px) {
    .story {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        column-gap: 24px;
        align-items: start;
        padding: 30px 0 32px;
    }

    .story__meta {
        grid-column: 1 / span 3;
        flex-direction: column;
        align-items: flex-start;
        padding-top: 2px;
    }

    .story__logo {
        width: 36px;
        height: 36px;
        margin-bottom: 8px;
    }

    .story__body {
        grid-column: 4 / span 6;
    }

    .story__tags {
        grid-column: 10 / -1;
        justify-content: flex-end;
        padding-top: 2px;
        padding-right: 40px;
    }

    .story__arrow {
        top: 33px;
    }
}

/* --------------------------------------------------------------------------
   Legal pages: privacy policy and terms of use
   -------------------------------------------------------------------------- */

.page-hero--legal {
    padding-bottom: clamp(40px, 5vw, 72px);
}

.legal__updated {
    margin-top: 22px;
    color: var(--text-3);
}

.legal {
    max-width: 70ch;
}

.legal h2 {
    margin-top: clamp(40px, 5vw, 56px);
    font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
    line-height: 1.25;
    letter-spacing: -0.015em;
    font-weight: 550;
    text-wrap: balance;
}

.legal h2:first-child {
    margin-top: 0;
}

.legal p,
.legal li {
    color: var(--text-2);
}

.legal p,
.legal ul {
    margin-top: 14px;
}

.legal ul {
    padding-left: 1.25em;
    list-style: disc;
}

.legal li + li {
    margin-top: 10px;
}

.legal li::marker {
    color: var(--text-3);
}

.legal strong {
    font-weight: 550;
    color: var(--text);
}

.legal a {
    color: var(--text);
    text-decoration: underline;
    text-decoration-color: var(--line-2);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.3s var(--ease-out);
}

.legal a:hover {
    text-decoration-color: var(--accent);
}

.legal code {
    padding: 1px 6px;
    border-radius: 6px;
    background: var(--shell);
    box-shadow: inset 0 0 0 1px var(--line);
    font-size: 0.9em;
}

.legal__lead {
    font-size: 1.125rem;
}

.legal p.legal__lead {
    margin-top: 0;
    color: var(--text);
}

.legal h3 {
    margin-top: 28px;
    font-size: 1.0625rem;
    line-height: 1.3;
    font-weight: 600;
}

.legal ol {
    margin-top: 14px;
    padding-left: 1.5em;
    list-style: decimal;
}

.legal ol > li::marker {
    font-variant-numeric: tabular-nums;
}

/* Contents: a quiet box of links to the sections below. */
.legal__toc {
    margin-top: 32px;
    padding: 22px 26px;
    border-radius: 18px;
    background: var(--shell);
    box-shadow: inset 0 0 0 1px var(--line);
}

.legal .legal__toc h2 {
    margin-top: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-3);
}

.legal__toc ol {
    display: grid;
    gap: 6px 28px;
    margin-top: 12px;
}

.legal__toc li + li {
    margin-top: 0;
}

.legal__toc a {
    text-decoration-color: transparent;
}

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

.legal h2[id],
.legal h3[id] {
    scroll-margin-top: calc(var(--header-h) + 24px);
}

/* Disclaimers and limits of liability, set in capitals as U.S. law expects them to stand out.
   The text itself stays in normal case for screen readers and copying. */
.legal__caps {
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

/* Tables: a bordered grid on wide screens; on phones each row becomes a card and each cell
   shows its column heading (data-label) above it. */
.legal__table {
    margin-top: 16px;
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px var(--line);
    overflow: hidden;
}

.legal table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.legal th,
.legal td {
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    color: var(--text-2);
}

.legal th {
    font-weight: 600;
    color: var(--text);
    background: var(--shell);
}

.legal th + th,
.legal td + td {
    border-left: 1px solid var(--line);
}

.legal tbody tr td {
    border-top: 1px solid var(--line);
}

@media (max-width: 720px) {
    .legal__table {
        overflow: visible;
        box-shadow: none;
    }

    .legal table,
    .legal tbody,
    .legal tr,
    .legal td {
        display: block;
    }

    .legal thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .legal tr {
        padding: 6px 0;
        border-radius: 14px;
        box-shadow: inset 0 0 0 1px var(--line);
    }

    .legal tr + tr {
        margin-top: 10px;
    }

    .legal tbody tr td,
    .legal td + td {
        border: 0;
    }

    .legal td {
        padding: 8px 16px;
    }

    .legal td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 2px;
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--text-3);
    }
}

/* --------------------------------------------------------------------------
   Company pages
   -------------------------------------------------------------------------- */

.company-hero {
    padding-top: calc(var(--header-h) + var(--header-top) + clamp(32px, 4vw, 56px));
    padding-bottom: clamp(72px, 9vw, 136px);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    color: var(--text-2);
    transition: color 0.3s var(--ease-out);
}

.back-link .icon {
    width: 16px;
    height: 16px;
    transition: transform 0.5s var(--ease-spring);
}

.back-link:hover {
    color: var(--text);
}

.back-link:hover .icon {
    transform: translateX(-4px);
}

.company-hero__grid {
    display: grid;
    gap: 48px;
    align-items: center;
    margin-top: clamp(32px, 5vw, 64px);
}

.company-hero__title {
    margin-top: 24px;
}

.company-hero .lead {
    margin-top: 20px;
}

.company-hero__actions {
    margin-top: 36px;
}

.company-hero__media .bezel__core {
    aspect-ratio: 4 / 3;
}

@media (min-width: 1024px) {
    .company-hero__grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 24px;
    }

    .company-hero__copy {
        grid-column: 1 / span 5;
    }

    .company-hero__media {
        grid-column: 8 / -1;
    }
}

.overview__label {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 550;
    font-stretch: 118%;
    color: var(--text-3);
}

.prose {
    max-width: 66ch;
}

.prose p {
    color: var(--text-2);
}

.prose p + p {
    margin-top: 1.25em;
}

.prose p:first-child {
    font-size: clamp(1.25rem, 1.05rem + 0.75vw, 1.625rem);
    line-height: 1.45;
    letter-spacing: -0.012em;
    color: var(--text);
}

/* At a glance: founding year, our role and the outcome, under the Overview label. */
.overview__aside {
    display: grid;
    gap: 24px;
    align-content: start;
}

.glance {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 18px 24px;
}

.glance dt {
    font-size: 0.8125rem;
    color: var(--text-3);
}

.glance dd {
    margin-top: 4px;
    font-size: 1.0625rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

@media (min-width: 1024px) {
    .overview__aside {
        grid-column: 1 / span 3;
        position: sticky;
        top: calc(var(--header-h) + var(--header-top) + 40px);
        padding-top: 10px;
    }

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

    .prose {
        grid-column: 5 / span 8;
    }
}

.highlights__grid {
    display: grid;
    gap: 0 24px;
    margin-top: clamp(40px, 5vw, 64px);
}

.highlight {
    padding: 26px 0 30px;
    border-top: 1px solid var(--line);
    font-size: clamp(1.125rem, 1.02rem + 0.4vw, 1.3125rem);
    line-height: 1.45;
    letter-spacing: -0.01em;
}

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

    .highlight {
        padding-right: 24px;
    }
}

.pager {
    position: relative;
    display: block;
    padding: clamp(36px, 5vw, 64px) 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.pager__label {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 550;
    font-stretch: 118%;
    color: var(--text-3);
}

.pager__row {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.4vw, 32px);
    margin-top: 18px;
}

.pager__name {
    min-width: 0;
    font-size: clamp(2.25rem, 1rem + 5vw, 6rem);
    line-height: 1;
    letter-spacing: -0.045em;
    font-weight: 500;
    font-stretch: 108%;
    transition: transform 0.8s var(--ease-spring);
}

.pager__thumb {
    flex: none;
    width: clamp(56px, 7vw, 104px);
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--r-tile);
    box-shadow: inset 0 0 0 1px var(--line);
    opacity: 0;
    transform: translateX(-16px) scale(0.9);
    transition: opacity 0.45s var(--ease-out), transform 0.8s var(--ease-spring);
}

.pager__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pager__arrow {
    display: grid;
    place-items: center;
    flex: none;
    width: clamp(48px, 5vw, 72px);
    aspect-ratio: 1;
    margin-left: auto;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px var(--line-2);
    transition: transform 0.7s var(--ease-spring), background-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.pager__arrow .icon {
    width: 40%;
    height: 40%;
}

.pager__meta {
    display: block;
    margin-top: 14px;
    color: var(--text-2);
}

.pager:hover .pager__thumb,
.pager:focus-visible .pager__thumb {
    opacity: 1;
    transform: none;
}

.pager:hover .pager__arrow,
.pager:focus-visible .pager__arrow {
    background: var(--inverse);
    color: var(--on-inverse);
    transform: translateX(6px);
}

@media (hover: none) {
    .pager__thumb {
        opacity: 1;
        transform: none;
    }
}

/* --------------------------------------------------------------------------
   Error and maintenance
   -------------------------------------------------------------------------- */

.error-page {
    display: grid;
    align-items: center;
    overflow-x: clip;
    min-height: 100svh;
    padding-top: calc(var(--header-h) + var(--header-top) + 48px);
    padding-bottom: 80px;
}

.error-code {
    font-size: clamp(7rem, 3rem + 22vw, 19rem);
    line-height: 0.8;
    letter-spacing: -0.06em;
    font-weight: 250;
    font-stretch: 125%;
    color: transparent;
    -webkit-text-stroke: 1px var(--line-2);
}

.error-page__title {
    margin-top: clamp(28px, 4vw, 48px);
}

.error-page .lead {
    margin-top: 18px;
}

.error-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.error-page__companies {
    margin-top: clamp(48px, 6vw, 80px);
}

.error-page__companies ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 16px 0 18px;
    border-radius: 999px;
    background: var(--shell);
    box-shadow: inset 0 0 0 1px var(--line);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: background-color 0.3s var(--ease-out), transform 0.5s var(--ease-spring);
}

.chip .icon {
    width: 15px;
    height: 15px;
    color: var(--text-3);
    transition: transform 0.5s var(--ease-spring), color 0.3s var(--ease-out);
}

.chip:hover {
    background: var(--shell-2);
    transform: translateY(-2px);
}

.chip:hover .icon {
    color: var(--text);
    transform: translateX(3px);
}

.maintenance {
    display: grid;
    place-items: center;
    min-height: 100svh;
    padding: 64px var(--gutter);
    text-align: center;
}

.maintenance__inner {
    display: grid;
    justify-items: center;
    max-width: 640px;
}

.maintenance__logo {
    --mark: url("../images/brand/logo-stacked.png");
    display: block;
    width: 168px;
    aspect-ratio: 898 / 642;
    background-color: var(--text);
    -webkit-mask: var(--mark) center / contain no-repeat;
    mask: var(--mark) center / contain no-repeat;
}

.maintenance .eyebrow {
    margin-top: 56px;
}

.maintenance h1 {
    margin-top: 24px;
}

.maintenance .lead {
    margin-top: 20px;
    margin-inline: auto;
}

.maintenance .lead a {
    color: var(--text);
    text-decoration: underline;
    text-decoration-color: var(--line-2);
    text-underline-offset: 4px;
    transition: text-decoration-color 0.3s var(--ease-out);
}

.maintenance .lead a:hover {
    text-decoration-color: currentColor;
}

.maintenance__actions {
    margin-top: 32px;
}

.maintenance__foot {
    margin-top: 72px;
    font-size: 0.875rem;
    color: var(--text-3);
}

/* --------------------------------------------------------------------------
   The thread (desktop)

   One line laid through the page. It leaves the hero cube, runs through the
   empty lanes of the grid and branches into a node at every company,
   principle and milestone (a rail in the left margin on small screens).
   ulgen.js builds the path from [data-thread]
   waypoints and generates scroll-timeline keyframes from the real layout, so
   the line is drawn in exact step with the scroll while a glowing head rides
   its tip. Content always sits above it. Drawn in full and static for
   reduced motion or browsers without scroll timelines.
   -------------------------------------------------------------------------- */

.thread {
    display: none;
}

.has-thread main > *,
.has-thread .site-footer {
    position: relative;
    z-index: 1;
}

.js .has-thread .thread {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    display: block;
    width: 100%;
    pointer-events: none;
    contain: layout paint;
    will-change: transform;
}

/* The thread is the timeline's rail wherever it runs. */
.js .has-thread .timeline::before,
.js .has-thread .timeline::after,
.js .has-thread .timeline__item::before {
    display: none;
}

/* Small screens: the rail sits in the left margin, so the timeline moves closer. */
@media (max-width: 1023px) {
    .js .has-thread .timeline {
        padding-left: 14px;
    }
}

.thread__svg {
    position: absolute;
    top: 0;
    left: 0;
    overflow: visible;
}

.thread__track,
.thread__stub-track {
    fill: none;
    stroke: var(--line);
    stroke-width: 1;
}

.thread__line,
.thread__stub {
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.5;
    stroke-linecap: round;
}

.thread__node {
    fill: var(--bg);
    stroke: var(--line-2);
    stroke-width: 1.25;
}

.thread__node-on {
    fill: var(--accent);
}

.thread__halo {
    fill: var(--accent);
    opacity: 0.16;
    transform-box: fill-box;
    transform-origin: center;
}

.thread__head {
    position: absolute;
    top: 0;
    left: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 5px var(--accent-soft), 0 0 28px 8px rgba(245, 130, 42, 0.42);
    opacity: 0;
}

/* Comet trail: points back along the path (the head is rotated to its heading, +x forward). */
.thread__head::before,
.thread__head::after {
    content: "";
    position: absolute;
    right: 50%;
    top: 50%;
    border-radius: 4px;
    pointer-events: none;
}

.thread__head::before {
    width: 120px;
    height: 2px;
    margin-top: -1px;
    background: linear-gradient(to left, var(--accent), rgba(245, 130, 42, 0));
}

.thread__head::after {
    width: 90px;
    height: 8px;
    margin-top: -4px;
    background: linear-gradient(to left, rgba(245, 130, 42, 0.45), rgba(245, 130, 42, 0));
    filter: blur(4px);
}


@keyframes uh-thread-draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes uh-thread-on {
    from {
        opacity: 0;
    }
}

@keyframes uh-thread-halo {
    from {
        opacity: 0;
        transform: scale(0.3);
    }
}

/* --------------------------------------------------------------------------
   Error page layout
   -------------------------------------------------------------------------- */

.error-page__grid {
    display: grid;
    gap: 48px;
    align-items: center;
}

.error-page__visual {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
}

@media (min-width: 1024px) {
    .error-page__grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 24px;
    }

    .error-page__copy {
        grid-column: 1 / span 7;
    }

    .error-page__visual {
        grid-column: 8 / -1;
        max-width: 480px;
    }
}

/* --------------------------------------------------------------------------
   React Bits ports (reactbits.dev, Copyright (c) 2026 David Haz,
   MIT + Commons Clause). Framework-free adaptations of Counter, SpotlightCard
   (with MagicBento's border glow), Magnet, DotGrid, FlowingMenu, ParticleText
   and Cubes, restyled to this design system. Behaviour lives in ulgen.js.
   -------------------------------------------------------------------------- */

/* Counter: each digit is a 0-9 reel. The rolled-to-value position is the
   default, so no-JS, reduced motion and the reveal fallback all show the number;
   only a not-yet-revealed counter sits at zero. */
.counter {
    --ch: 1.1em;
    display: inline-block;
    font-variant-numeric: tabular-nums;
}

.counter__digits {
    display: inline-flex;
    vertical-align: top;
}

.counter__digit {
    position: relative;
    display: inline-block;
    height: var(--ch);
    overflow: hidden;
}

@supports (overflow: clip) {
    .counter__digit {
        overflow: visible;
        overflow-y: clip;
    }
}

.counter__size,
.counter__reel > span {
    display: block;
    height: var(--ch);
    line-height: var(--ch);
}

.counter__size {
    visibility: hidden;
}

.counter__reel {
    position: absolute;
    top: 0;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    translate: -50% 0;
    transform: translateY(calc(var(--n) * var(--ch) * -1));
    transition: transform 1.9s var(--ease-spring);
    transition-delay: calc(var(--i, 0) * 110ms + 120ms);
}

.counter__char {
    display: inline-block;
    line-height: var(--ch);
}

.js [data-reveal]:not(.is-in) .counter__reel {
    transform: translateY(0);
}

.reveal-all [data-reveal] .counter__reel {
    transform: translateY(calc(var(--n) * var(--ch) * -1)) !important;
}

/* Spotlight: a soft light follows the pointer inside the panel, and the
   panel's edge lights up around it. Fine pointers only (ulgen.js adds .is-lit). */
[data-spotlight] {
    --sx: 50%;
    --sy: 50%;
    --spot: color-mix(in srgb, var(--accent) 13%, transparent);
    position: relative;
}

[data-spotlight]::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    padding: 1px;
    border-radius: inherit;
    background: radial-gradient(260px circle at var(--sx) var(--sy), color-mix(in srgb, var(--accent) 85%, transparent), transparent 70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease-out);
}

[data-spotlight] > .bezel__core::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(420px circle at calc(var(--sx) - 6px) calc(var(--sy) - 6px), var(--spot), transparent 70%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease-out);
}

[data-spotlight].is-lit::before,
[data-spotlight].is-lit > .bezel__core::before {
    opacity: 1;
}

/* Shape waves (React Bits "Shape Waves", About page): drawn by ulgen.js on a
   transparent canvas whose shapes fade out towards its edges, so the field
   melts into the page with no box around it; the UH mark is kept clear in the
   middle. The CSS mark is the fallback without JavaScript or canvas. */
.shape-waves {
    position: relative;
    aspect-ratio: 4 / 5;
}

.shape-waves canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.shape-waves__mark {
    --mark: url("../images/brand/mark.png");
    position: absolute;
    top: 50%;
    left: 22%;
    width: 56%;
    aspect-ratio: 270 / 240;
    translate: 0 -50%;
    color: var(--text-3);
}

.js .shape-waves:not(.is-fallback) .shape-waves__mark {
    display: none;
}

@media (max-width: 1023px) {
    .shape-waves {
        aspect-ratio: 1;
    }
}

/* DotGrid: interactive dots behind the hero (desktop, fine pointer). */
.hero__dots {
    display: none;
}

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .js .hero__dots {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        pointer-events: none;
        -webkit-mask-image: radial-gradient(ellipse 75% 85% at 62% 48%, #000 25%, transparent 80%);
        mask-image: radial-gradient(ellipse 75% 85% at 62% 48%, #000 25%, transparent 80%);
    }
}

/* FlowingMenu: on hover a band slides into a venture row from the edge the
   pointer entered, carrying the company name, its plate and sector on a loop. */
.venture__flow {
    display: none;
}

@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
    .venture {
        overflow: hidden;
    }

    @supports (overflow: clip) {
        .venture {
            overflow: clip;
        }
    }

    .venture__flow {
        position: absolute;
        inset: 0;
        z-index: 2;
        display: block;
        overflow: hidden;
        border-radius: var(--r-core);
        background: var(--inverse);
        color: var(--on-inverse);
        transform: translateY(101%);
        pointer-events: none;
        transition: transform 0.65s cubic-bezier(0.19, 1, 0.22, 1);
    }

    .venture__flow-inner {
        display: flex;
        align-items: center;
        height: 100%;
        transform: translateY(-101%);
        transition: transform 0.65s cubic-bezier(0.19, 1, 0.22, 1);
    }

    .venture__flow-track {
        display: flex;
        flex: none;
        align-items: center;
        animation: venture-flow 24s linear infinite;
        animation-play-state: paused;
    }

    .venture.is-flowing .venture__flow-track {
        animation-play-state: running;
    }

    .venture__flow-part {
        display: flex;
        flex: none;
        align-items: center;
        gap: 24px;
        padding-right: 24px;
        white-space: nowrap;
    }

    .venture__flow-part > span:first-child {
        font-size: clamp(1.75rem, 1.1rem + 1.4vw, 2.5rem);
        line-height: 1;
        letter-spacing: -0.03em;
        font-weight: 500;
        font-stretch: 106%;
    }

    .venture__flow-part img {
        width: 112px;
        height: 52px;
        object-fit: cover;
        border-radius: 999px;
    }

    .venture__flow-meta {
        font-size: 0.9375rem;
        color: color-mix(in srgb, var(--on-inverse) 62%, transparent);
    }

    /* Keyboard focus shows the band too (no direction, no loop). */
    .venture:focus-visible .venture__flow,
    .venture:focus-visible .venture__flow-inner {
        transform: none;
    }
}

@keyframes venture-flow {
    to {
        transform: translateX(-50%);
    }
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

/* Scroll reveals (IntersectionObserver adds .is-in). Hidden only when JS runs. */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 0.9s var(--ease-out),
        transform 1.2s var(--ease-spring);
    transition-delay: calc(var(--d, 0) * 1ms);
}

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

.js [data-reveal="words"],
.js [data-reveal="lines"],
.js [data-reveal="counter"] {
    opacity: 1;
    transform: none;
}

.js [data-reveal="words"] .word > span,
.js [data-reveal="lines"] .mask-line > span {
    transform: translateY(110%);
    transition: transform 1.1s var(--ease-spring);
    transition-delay: calc(var(--i, 0) * 55ms + var(--d, 0) * 1ms);
}

.js [data-reveal="words"].is-in .word > span,
.js [data-reveal="lines"].is-in .mask-line > span {
    transform: none;
}

.js [data-reveal="media"] {
    transform: translateY(48px) scale(0.97);
    transition:
        opacity 1s var(--ease-out),
        transform 1.4s var(--ease-spring);
}

.reveal-all [data-reveal],
.reveal-all [data-reveal] .word > span,
.reveal-all [data-reveal] .mask-line > span {
    opacity: 1 !important;
    transform: none !important;
}

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

    /* Load choreography: CSS only, so it never waits on JavaScript. */
    .hero-enter {
        animation: enter-up 1.1s var(--ease-out) both;
        animation-delay: calc(var(--d, 0) * 1ms + 120ms);
    }

    .title-enter .word > span,
    .company-hero__title .word > span {
        animation: word-up 1.25s var(--ease-spring) both;
        animation-delay: calc(var(--i, 0) * 75ms + 160ms);
    }

    .hero__glow {
        animation: glow-in 2.4s var(--ease-out) both;
        animation-delay: 400ms;
    }

    .status--active::after {
        animation: ping 2.4s var(--ease-out) 600ms 2;
    }

    .status--building::before {
        animation: ring-turn 1.4s var(--ease-swift) 600ms 2;
    }

    .error-code {
        animation: stroke-in 1.6s var(--ease-out) both;
    }
}

@keyframes enter-up {
    from {
        opacity: 0;
        transform: translateY(26px);
    }
}

@keyframes word-up {
    from {
        transform: translateY(112%);
    }
}

@keyframes glow-in {
    from {
        opacity: 0;
        transform: scale(0.7);
    }
}

@keyframes ping {
    0% {
        opacity: 0.7;
        transform: scale(1);
    }
    70%,
    100% {
        opacity: 0;
        transform: scale(3.2);
    }
}

@keyframes ring-turn {
    to {
        transform: rotate(360deg);
    }
}

@keyframes stroke-in {
    from {
        opacity: 0;
        letter-spacing: -0.02em;
        transform: translateY(24px);
    }
}

/* Scroll-linked effects. Progressive: browsers without scroll timelines show the
   final, static state. */
@property --lit {
    syntax: "<number>";
    inherits: true;
    initial-value: 1;
}

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {

        /* Statement lights up word by word while it crosses the viewport. */
        .statement[data-lit] {
            animation: lit linear both;
            animation-timeline: view();
            animation-range: entry 35% cover 58%;
        }

        .statement[data-lit] .w {
            opacity: clamp(0.14, calc(var(--lit) * (var(--n) + 3) - var(--i)), 1);
        }

        /* Imagery moves slightly slower than its frame. */
        .parallax-img {
            animation: parallax linear both;
            animation-timeline: view();
            animation-range: cover;
        }

        /* Timeline: the accent line draws down as the years pass the reading line. */
        .timeline::after {
            animation: draw-y linear both;
            animation-timeline: --timeline;
            animation-range: cover 30vh cover calc(100% - 60vh);
        }

        .timeline__item::before {
            animation: node-on linear both;
            animation-timeline: view();
            animation-range: cover 30vh cover calc(30vh + 1px);
        }
    }
}

@keyframes lit {
    from {
        --lit: 0;
    }
    to {
        --lit: 1;
    }
}

@keyframes parallax {
    from {
        transform: scale(1.14) translateY(-5%);
    }
    to {
        transform: scale(1.14) translateY(5%);
    }
}


@keyframes draw-y {
    from {
        transform: scaleY(0);
    }
    to {
        transform: scaleY(1);
    }
}

@keyframes node-on {
    from {
        opacity: 0.3;
        transform: scale(0.6);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* Cross-document page transitions (progressive). Company imagery morphs between
   the portfolio and each company page via matching view-transition-name. */
@media (prefers-reduced-motion: no-preference) {
    @view-transition {
        navigation: auto;
    }
}

::view-transition-old(root) {
    animation: vt-out 0.35s var(--ease-swift) both;
}

::view-transition-new(root) {
    animation: vt-in 0.6s var(--ease-out) both;
}

::view-transition-group(*) {
    animation-duration: 0.7s;
    animation-timing-function: var(--ease-spring);
}

@keyframes vt-out {
    to {
        opacity: 0;
    }
}

@keyframes vt-in {
    from {
        opacity: 0;
    }
}

/* Theme change: the new theme is revealed in a circle from the control that was
   used (clip-path animation in ulgen.js). Named elements join the root snapshot. */
.theme-switching::view-transition-old(root),
.theme-switching::view-transition-new(root) {
    animation: none;
    mix-blend-mode: normal;
}

.theme-switching .bezel__core {
    view-transition-name: none !important;
}

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

    .js [data-reveal],
    .js [data-reveal] .word > span,
    .js [data-reveal] .mask-line > span {
        opacity: 1;
        transform: none;
    }

    .has-statements .statement-item {
        opacity: 1;
    }
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */

@media print {
    body::after,
    .site-header,
    .site-menu,
    .skip-link,
    .copy-btn,
    .hero__visual {
        display: none !important;
    }

    body {
        background: #fff;
        color: #111;
    }
}
