/* ==========================================================================
   Inventio — theme2 / base
   Design language: "Input → Output". Warm paper, logo ink, the blue of "io".
   Fonts: Funnel Display (display) · Funnel Sans (text) · Geist Mono (labels)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
    /* colour — sampled from the logo */
    --ink: #11212c;
    --ink-deep: #0a151d;
    --ink-raise: #13242f;
    --ink-soft: rgba(17, 33, 44, 0.74);
    --ink-mute: rgba(17, 33, 44, 0.62);
    --line: rgba(17, 33, 44, 0.12);
    --line-strong: rgba(17, 33, 44, 0.24);

    --paper: #f4f2ec;
    --paper-deep: #eae7de;
    --card: #fbfaf7;
    --white: #ffffff;

    --sky: #3db9fd;
    --azure: #0a84ff;
    --blue: #0a62ff;
    --blue-deep: #0240f3;
    --grad: linear-gradient(100deg, #3db9fd 0%, #0a84ff 38%, #0240f3 100%);
    --grad-soft: linear-gradient(135deg, rgba(61, 185, 253, 0.16), rgba(2, 64, 243, 0.1));

    --signal: #1fc97a;

    /* on-ink */
    --on-ink: #f4f2ec;
    --on-ink-soft: rgba(244, 242, 236, 0.72);
    --on-ink-mute: rgba(244, 242, 236, 0.5);
    --line-on-ink: rgba(244, 242, 236, 0.13);

    /* type */
    --font-display: 'Funnel Display', 'Funnel Sans', ui-sans-serif, system-ui, sans-serif;
    --font-text: 'Funnel Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

    --fs-hero: clamp(2.7rem, 1.2rem + 5.1vw, 5.6rem);
    --fs-display: clamp(2.1rem, 1.2rem + 3.1vw, 4rem);
    --fs-title: clamp(1.6rem, 1.1rem + 1.6vw, 2.5rem);
    --fs-h3: clamp(1.3rem, 1.1rem + 0.7vw, 1.7rem);
    --fs-lead: clamp(1.125rem, 1rem + 0.5vw, 1.4rem);
    --fs-body: 1.0625rem;
    --fs-small: 0.9375rem;
    --fs-label: 0.75rem;

    /* space */
    --gutter: clamp(20px, 4vw, 56px);
    --container: 1360px;
    --section: clamp(84px, 10vw, 168px);
    --header-h: 84px;

    /* shape */
    --r-sm: 10px;
    --r-md: 18px;
    --r-lg: 28px;
    --r-xl: 40px;
    --r-pill: 999px;

    /* motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);

    --shadow-sm: 0 1px 2px rgba(17, 33, 44, 0.06), 0 4px 14px -6px rgba(17, 33, 44, 0.12);
    --shadow-md: 0 2px 4px rgba(17, 33, 44, 0.04), 0 18px 40px -18px rgba(17, 33, 44, 0.28);
    --shadow-lg: 0 4px 8px rgba(17, 33, 44, 0.04), 0 40px 80px -32px rgba(17, 33, 44, 0.4);
}

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

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

body {
    margin: 0;
    min-height: 100vh;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-text);
    font-size: var(--fs-body);
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

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

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

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

img {
    height: auto;
}

picture {
    display: contents;
}

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

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

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

::selection {
    background: var(--blue);
    color: var(--white);
}

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

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

.h-hero {
    font-family: var(--font-display);
    font-size: var(--fs-hero);
    font-weight: 600;
    line-height: 0.98;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.h-display {
    font-family: var(--font-display);
    font-size: var(--fs-display);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.h-title {
    font-family: var(--font-display);
    font-size: var(--fs-title);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.h-3 {
    font-family: var(--font-display);
    font-size: var(--fs-h3);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.lead {
    font-size: var(--fs-lead);
    line-height: 1.55;
    color: var(--ink-soft);
}

.muted {
    color: var(--ink-soft);
}

/* the blue of "io" */
.grad {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    /* Only the part of a glyph that lies inside the box is painted, and glyphs do overhang it:
       tight tracking pushes the last letter out, a "j" hooks to the left, descenders drop below.
       Grow the box on every side and pull it back by the same amount: a larger paint area,
       the same layout. "clone" repeats that on every line when the text wraps. */
    padding: 0.14em 0.14em 0.22em;
    margin: -0.14em -0.14em -0.22em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.mono {
    font-family: var(--font-mono);
    font-size: var(--fs-label);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Section label: "● 02 — About company" */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: var(--fs-label);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--grad);
    flex: none;
}

.eyebrow__idx {
    color: var(--blue);
}

.eyebrow__idx::after {
    content: '—';
    margin-left: 10px;
    color: var(--ink-mute);
}

/* e-mail obfuscation: address is written reversed in data-attributes */
.e-mail {
    text-transform: lowercase;
    white-space: nowrap;
}

.e-mail::before {
    content: attr(data-website) '\0040' attr(data-user);
    unicode-bidi: bidi-override;
    direction: rtl;
}

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

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

.section--tight {
    padding-block: calc(var(--section) * 0.62);
}

.section--flush-top {
    padding-top: 0;
}

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

.section--ink .eyebrow,
.on-ink .eyebrow {
    color: var(--on-ink-soft);
}

.section--ink .eyebrow__idx,
.on-ink .eyebrow__idx {
    color: var(--sky);
}

.section--ink .eyebrow__idx::after,
.on-ink .eyebrow__idx::after {
    color: var(--on-ink-mute);
}

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

.section--card {
    background: var(--card);
}

.rule {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 0;
}

/* Section heading block */
.sec-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 28px 48px;
    margin-bottom: clamp(40px, 5vw, 76px);
}

.sec-head__text {
    display: grid;
    gap: 22px;
    max-width: 880px;
}

.sec-head__text .lead {
    max-width: 640px;
}

@media (max-width: 760px) {
    .sec-head {
        grid-template-columns: 1fr;
        align-items: start;
        justify-items: start;
    }
}

/* Blueprint crosshair markers */
.marks {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.marks::before,
.marks::after {
    content: '+';
    position: absolute;
    top: 18px;
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1;
    color: var(--ink-mute);
}

.marks::before {
    left: var(--gutter);
}

.marks::after {
    right: var(--gutter);
}

.section--ink .marks::before,
.section--ink .marks::after {
    color: var(--on-ink-mute);
}

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */
.btn {
    --btn-bg: var(--ink);
    --btn-fg: var(--paper);
    --btn-dot: var(--grad);
    --btn-dot-fg: var(--white);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 7px 7px 7px 24px;
    min-height: 54px;
    border-radius: var(--r-pill);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-family: var(--font-text);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.005em;
    white-space: nowrap;
    isolation: isolate;
    overflow: hidden;
    transition: color 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--grad);
    border-radius: inherit;
    clip-path: circle(0% at calc(100% - 27px) 50%);
    transition: clip-path 0.6s var(--ease-out);
}

.btn__dot {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: 50%;
    background: var(--btn-dot);
    color: var(--btn-dot-fg);
    transition: background 0.45s var(--ease-out), color 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}

.btn__dot svg {
    width: 16px;
    height: 16px;
    transition: transform 0.45s var(--ease-out);
}

.btn:hover,
.btn:focus-visible {
    color: var(--white);
}

.btn:hover::before,
.btn:focus-visible::before {
    clip-path: circle(150% at calc(100% - 27px) 50%);
}

.btn:hover .btn__dot,
.btn:focus-visible .btn__dot {
    background: var(--white);
    color: var(--blue);
}

.btn:hover .btn__dot svg,
.btn:focus-visible .btn__dot svg {
    transform: rotate(45deg);
}

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

.btn--sm {
    min-height: 46px;
    padding: 5px 5px 5px 20px;
    gap: 12px;
    font-size: 0.9375rem;
}

.btn--sm .btn__dot {
    width: 36px;
    height: 36px;
}

.btn--sm::before {
    clip-path: circle(0% at calc(100% - 23px) 50%);
}

.btn--sm:hover::before,
.btn--sm:focus-visible::before {
    clip-path: circle(150% at calc(100% - 23px) 50%);
}

.btn--light {
    --btn-bg: var(--paper);
    --btn-fg: var(--ink);
}

.btn--ghost {
    --btn-bg: transparent;
    --btn-fg: var(--ink);
    --btn-dot: var(--ink);
    --btn-dot-fg: var(--paper);
    box-shadow: inset 0 0 0 1px var(--line-strong);
}

.btn--ghost.btn--on-ink {
    --btn-fg: var(--on-ink);
    --btn-dot: var(--on-ink);
    --btn-dot-fg: var(--ink);
    box-shadow: inset 0 0 0 1px rgba(244, 242, 236, 0.28);
}

.btn[disabled] {
    opacity: 0.6;
    pointer-events: none;
}

/* text link with arrow */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    line-height: 1.2;
    padding-bottom: 4px;
    background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
    transition: background-size 0.5s var(--ease-out), color 0.3s;
}

.link-arrow svg {
    width: 14px;
    height: 14px;
    transition: transform 0.45s var(--ease-out);
}

.link-arrow:hover {
    color: var(--blue);
    background-size: 0 1px;
    background-position: 100% 100%;
}

.link-arrow:hover svg {
    transform: translate(3px, -3px);
}

.on-ink .link-arrow:hover,
.section--ink .link-arrow:hover {
    color: var(--sky);
}

/* small pill tag */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: var(--r-pill);
    border: 1px solid var(--line-strong);
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.2;
    color: var(--ink-soft);
    white-space: nowrap;
    max-width: 100%;
}

.on-ink .tag,
.section--ink .tag {
    border-color: rgba(244, 242, 236, 0.24);
    color: var(--on-ink-soft);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 200;
    padding: 12px 18px;
    border-radius: var(--r-sm);
    background: var(--ink);
    color: var(--paper);
    transform: translateY(-200%);
    transition: transform 0.3s var(--ease-out);
}

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

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    height: var(--header-h);
    transition: transform 0.55s var(--ease-out), background-color 0.4s, box-shadow 0.4s, height 0.4s var(--ease-out);
}

.site-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(244, 242, 236, 0.84);
    -webkit-backdrop-filter: saturate(1.6) blur(16px);
    backdrop-filter: saturate(1.6) blur(16px);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    transition: opacity 0.4s;
}

.site-header.is-stuck {
    height: 68px;
}

.site-header.is-stuck::before {
    opacity: 1;
}

.site-header.is-hidden {
    transform: translateY(-100%);
}

.site-header__bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    height: 100%;
}

.brand {
    position: relative;
    display: block;
    flex: none;
    width: 148px;
    z-index: 2;
}

.brand img {
    width: 100%;
    height: auto;
}

.brand__light {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.brand img {
    transition: opacity 0.3s;
}

/* header sitting on an ink hero */
.site-header--on-ink:not(.is-stuck) .brand__dark,
.menu-open .brand__dark {
    opacity: 0;
}

.site-header--on-ink:not(.is-stuck) .brand__light,
.menu-open .brand__light {
    opacity: 1;
}

.site-header--on-ink:not(.is-stuck) {
    color: var(--on-ink);
}

.site-nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.site-nav > ul {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px;
    border-radius: var(--r-pill);
    border: 1px solid var(--line);
    background: rgba(251, 250, 247, 0.6);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: border-color 0.4s, background-color 0.4s;
}

.site-header.is-stuck .site-nav > ul {
    border-color: transparent;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.site-header--on-ink:not(.is-stuck) .site-nav > ul {
    border-color: var(--line-on-ink);
    background: rgba(244, 242, 236, 0.06);
}

.site-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: var(--r-pill);
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    transition: background-color 0.3s, color 0.3s;
}

.site-nav__link svg {
    width: 10px;
    height: 10px;
    transition: transform 0.4s var(--ease-out);
}

.site-nav__link:hover,
.site-nav__item:focus-within > .site-nav__link,
.site-nav__item:hover > .site-nav__link {
    background: rgba(17, 33, 44, 0.07);
}

.site-header--on-ink:not(.is-stuck) .site-nav__link:hover,
.site-header--on-ink:not(.is-stuck) .site-nav__item:hover > .site-nav__link {
    background: rgba(244, 242, 236, 0.12);
}

.site-nav__link.is-active {
    background: var(--ink);
    color: var(--paper);
}

.site-header--on-ink:not(.is-stuck) .site-nav__link.is-active {
    background: var(--paper);
    color: var(--ink);
}

.site-nav__item {
    position: relative;
}

.site-nav__item:hover > .site-nav__link svg,
.site-nav__item:focus-within > .site-nav__link svg {
    transform: rotate(180deg);
}

/* services panel */
.nav-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    width: min(680px, 92vw);
    padding-top: 18px;
    transform: translate(-50%, 8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease-out), transform 0.45s var(--ease-out), visibility 0s 0.35s;
}

.site-nav__item:hover > .nav-panel,
.site-nav__item:focus-within > .nav-panel {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    transition-delay: 0s;
}

.nav-panel__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 10px;
    border-radius: var(--r-lg);
    background: var(--card);
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
}

.nav-panel__link {
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    gap: 14px;
    padding: 12px 14px 12px 12px;
    border-radius: var(--r-md);
    transition: background-color 0.3s;
}

.nav-panel__link:hover,
.nav-panel__link:focus-visible {
    background: var(--paper);
}

.nav-panel__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    transition: background-color 0.3s, border-color 0.3s;
}

.nav-panel__link:hover .nav-panel__icon {
    background: var(--white);
    border-color: var(--line-strong);
}

.nav-panel__icon .glyph {
    width: 28px;
    height: 28px;
}

.nav-panel__name {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.nav-panel__idx {
    display: block;
    margin-top: 4px;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    color: var(--ink-mute);
}

.nav-panel__foot {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 4px;
    padding: 14px 16px;
    border-radius: var(--r-md);
    background: var(--ink);
    color: var(--on-ink);
    font-size: 0.9375rem;
    transition: background-color 0.3s;
}

.nav-panel__foot:hover {
    background: var(--blue);
}

.nav-panel__foot svg {
    width: 14px;
    height: 14px;
}

.site-header__cta {
    flex: none;
    z-index: 2;
}

.site-header--on-ink:not(.is-stuck) .site-header__cta {
    --btn-bg: var(--paper);
    --btn-fg: var(--ink);
}

/* burger */
.nav-toggle {
    display: none;
    position: relative;
    z-index: 2;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--paper);
    flex: none;
}

.nav-toggle span {
    position: absolute;
    left: 15px;
    right: 15px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.45s var(--ease-out), top 0.45s var(--ease-out);
}

.nav-toggle span:nth-child(1) {
    top: 19px;
}

.nav-toggle span:nth-child(2) {
    top: 27px;
}

.menu-open .nav-toggle {
    background: var(--paper);
    color: var(--ink);
}

.site-header--on-ink:not(.is-stuck) .nav-toggle {
    background: var(--paper);
    color: var(--ink);
}

.menu-open .nav-toggle span:nth-child(1) {
    top: 23px;
    transform: rotate(45deg);
}

.menu-open .nav-toggle span:nth-child(2) {
    top: 23px;
    transform: rotate(-45deg);
}

/* mobile menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    padding: calc(var(--header-h) + 16px) var(--gutter) 28px;
    background: var(--ink-deep);
    color: var(--on-ink);
    overflow-y: auto;
    overscroll-behavior: contain;
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path 0.7s var(--ease-in-out), visibility 0s 0.7s;
}

.menu-open .mobile-menu {
    clip-path: inset(0);
    visibility: visible;
    transition-delay: 0s;
}

.menu-open {
    overflow: hidden;
}

.menu-open .site-header {
    transform: none;
}

.menu-open .site-header::before {
    opacity: 0;
}

.mobile-menu__list {
    display: grid;
    border-top: 1px solid var(--line-on-ink);
}

.mobile-menu__list > li {
    border-bottom: 1px solid var(--line-on-ink);
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out);
}

.menu-open .mobile-menu__list > li {
    opacity: 1;
    transform: none;
    transition-delay: calc(0.22s + var(--i, 0) * 0.05s);
}

.mobile-menu__link {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.mobile-menu__link small {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--on-ink-mute);
}

.mobile-menu__link.is-active {
    color: var(--sky);
}

.mobile-menu__sub {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 0 22px;
}

.mobile-menu__sub a {
    display: block;
    padding: 9px 14px;
    border-radius: var(--r-pill);
    border: 1px solid rgba(244, 242, 236, 0.22);
    font-size: 0.875rem;
    line-height: 1.2;
    color: var(--on-ink-soft);
}

.mobile-menu__foot {
    display: grid;
    gap: 20px;
    margin-top: auto;
    padding-top: 32px;
}

.mobile-menu__foot .btn {
    justify-content: space-between;
}

@media (max-width: 1140px) {
    .site-nav,
    .site-header__cta {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    :root {
        --header-h: 76px;
    }

    .brand {
        width: 132px;
    }
}

/* --------------------------------------------------------------------------
   Page hero (sub pages) — shared skeleton, each page dresses it differently
   -------------------------------------------------------------------------- */
.page-hero {
    position: relative;
    padding-top: calc(var(--header-h) + clamp(48px, 7vw, 110px));
    padding-bottom: clamp(56px, 7vw, 110px);
    isolation: isolate;
}

.crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: var(--fs-label);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-mute);
}

.crumbs a {
    transition: color 0.3s;
}

.crumbs a:hover {
    color: var(--blue);
}

.crumbs li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.crumbs li + li::before {
    content: '/';
    color: var(--line-strong);
}

.crumbs [aria-current] {
    color: var(--ink);
}

.on-ink .crumbs {
    color: var(--on-ink-mute);
}

.on-ink .crumbs [aria-current] {
    color: var(--on-ink);
}

.on-ink .crumbs a:hover {
    color: var(--sky);
}

.on-ink .crumbs li + li::before {
    color: rgba(244, 242, 236, 0.3);
}

/* blueprint grid backdrop */
.grid-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: linear-gradient(to right, var(--line) 1px, transparent 1px), linear-gradient(to bottom, var(--line) 1px, transparent 1px);
    background-size: 88px 88px;
    background-position: center top;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000 0%, transparent 72%);
    mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000 0%, transparent 72%);
    opacity: 0.7;
}

.on-ink .grid-bg,
.section--ink .grid-bg {
    background-image: linear-gradient(to right, var(--line-on-ink) 1px, transparent 1px), linear-gradient(to bottom, var(--line-on-ink) 1px, transparent 1px);
}

/* soft brand glow */
.glow {
    position: absolute;
    z-index: -1;
    width: 60vw;
    max-width: 900px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10, 132, 255, 0.22), rgba(10, 132, 255, 0) 62%);
    pointer-events: none;
    filter: blur(10px);
}

/* film grain for ink surfaces */
.grain::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.35;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.grain > *:not(.marks):not(.grid-bg):not(.glow) {
    position: relative;
    z-index: 1;
}

/* --------------------------------------------------------------------------
   Glyphs (service icons)
   -------------------------------------------------------------------------- */
.glyph {
    width: 96px;
    height: 96px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    overflow: visible;
}

.glyph .a-fill {
    fill: var(--blue);
    stroke: var(--blue);
}

.glyph .a-stroke {
    stroke: var(--blue);
}

.glyph .dot {
    fill: currentColor;
    stroke: none;
}

.glyph .soft {
    opacity: 0.35;
}

/* --------------------------------------------------------------------------
   Ticker
   -------------------------------------------------------------------------- */
.ticker {
    position: relative;
    display: flex;
    overflow: hidden;
    padding-block: clamp(22px, 2.6vw, 36px);
    border-block: 1px solid var(--line);
    user-select: none;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.ticker__track {
    display: flex;
    flex: none;
    align-items: center;
    gap: clamp(28px, 3.4vw, 56px);
    padding-right: clamp(28px, 3.4vw, 56px);
    min-width: 100%;
    justify-content: space-around;
    animation: ticker 38s linear infinite;
}

.ticker:hover .ticker__track {
    animation-play-state: paused;
}

.ticker__item {
    display: inline-flex;
    align-items: center;
    gap: clamp(28px, 3.4vw, 56px);
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1rem + 2vw, 2.75rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1;
    white-space: nowrap;
}

.ticker__item::after {
    content: '';
    width: 0.42em;
    height: 0.42em;
    border-radius: 50%;
    background: var(--grad);
}

.ticker__item:nth-child(even) {
    color: transparent;
    -webkit-text-stroke: 1px var(--ink-mute);
}

.section--ink .ticker,
.ticker--ink {
    border-color: var(--line-on-ink);
}

.ticker--ink .ticker__item:nth-child(even) {
    -webkit-text-stroke-color: var(--on-ink-mute);
}

@keyframes ticker {
    to {
        transform: translateX(-100%);
    }
}

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */
.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
}

.stat {
    position: relative;
    display: grid;
    gap: 10px;
    align-content: start;
    padding: clamp(24px, 3vw, 44px) clamp(16px, 2vw, 32px) clamp(24px, 3vw, 44px) 0;
}

.stat + .stat {
    padding-left: clamp(16px, 2vw, 32px);
    border-left: 1px solid var(--line);
}

.stat__num {
    display: flex;
    align-items: flex-start;
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 1.6rem + 4.4vw, 6rem);
    font-weight: 600;
    line-height: 0.92;
    letter-spacing: -0.055em;
    font-variant-numeric: tabular-nums;
}

.stat__num em {
    font-style: normal;
    font-size: 0.5em;
    letter-spacing: 0;
    margin: 0.06em 0 0 0.06em;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat__num {
    order: 1;
}

.stat__label {
    order: 2;
    font-family: var(--font-mono);
    font-size: var(--fs-label);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.section--ink .stats,
.section--ink .stat + .stat {
    border-color: var(--line-on-ink);
}

.section--ink .stat__label {
    color: var(--on-ink-soft);
}

@media (max-width: 860px) {
    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }

    .stat:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }

    .section--ink .stat:nth-child(n + 3) {
        border-top-color: var(--line-on-ink);
    }
}

/* --------------------------------------------------------------------------
   Quote
   -------------------------------------------------------------------------- */
.quote {
    position: relative;
    display: grid;
    gap: 28px;
}

.quote__mark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--grad);
    color: var(--white);
}

.quote__mark svg {
    width: 22px;
    height: 22px;
}

.quote__text {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 1rem + 2.4vw, 3.1rem);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

/* --------------------------------------------------------------------------
   Photography
   .photo  full colour (the default for the studio photography)
   .duo    blue duotone; swap the class on a <figure> to tint any image
   -------------------------------------------------------------------------- */
.photo {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-lg);
    /* shows while the image wipes in */
    background: linear-gradient(140deg, #3db9fd 0%, #0a62ff 45%, #061a5c 100%);
    isolation: isolate;
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease-out);
}

.photo::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(17, 33, 44, 0.08);
    pointer-events: none;
}

.photo:hover img {
    transform: scale(1.035);
}

/* wide, cinematic crop used as a breather between sections */
.banner {
    aspect-ratio: 21 / 9;
    border-radius: var(--r-xl);
}

@media (max-width: 760px) {
    .banner {
        aspect-ratio: 4 / 3;
        border-radius: var(--r-lg);
    }
}

/* duotone */
.duo {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-lg);
    background: var(--ink-deep);
    isolation: isolate;
}

.duo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.08) brightness(1.02);
    mix-blend-mode: luminosity;
    opacity: 0.92;
    transition: transform 1.2s var(--ease-out), filter 0.8s, opacity 0.8s;
}

.duo::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(140deg, #3db9fd 0%, #0a62ff 45%, #061a5c 100%);
}

.duo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 21, 29, 0.55), rgba(10, 21, 29, 0) 55%);
    pointer-events: none;
}

.duo:hover img {
    transform: scale(1.04);
}

/* --------------------------------------------------------------------------
   FAQ accordion (native <details>)
   -------------------------------------------------------------------------- */
.faq {
    border-top: 1px solid var(--line-strong);
}

.faq__item {
    border-bottom: 1px solid var(--line-strong);
}

.faq__q {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(14px, 2vw, 28px);
    padding: clamp(20px, 2.4vw, 30px) 0;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.2;
    transition: color 0.3s;
}

.faq__q::-webkit-details-marker {
    display: none;
}

.faq__q:hover {
    color: var(--blue);
}

.faq__idx {
    font-family: var(--font-mono);
    font-size: var(--fs-label);
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--ink-mute);
}

.faq__icon {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    flex: none;
    transition: background-color 0.4s, border-color 0.4s, color 0.4s, transform 0.5s var(--ease-out);
}

.faq__icon::before,
.faq__icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 1.5px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform 0.5s var(--ease-out);
}

.faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item[open] .faq__icon {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
    transform: rotate(180deg);
}

.faq__item[open] .faq__icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq__a {
    overflow: hidden;
}

.faq__a p {
    max-width: 640px;
    padding: 0 56px clamp(22px, 2.6vw, 34px) calc(clamp(14px, 2vw, 28px) + 1.6em);
    color: var(--ink-soft);
}

@media (max-width: 640px) {
    .faq__a p {
        padding-left: 0;
        padding-right: 0;
    }
}

/* --------------------------------------------------------------------------
   Reveal on scroll (only when JS is running)

   Every rule is scoped to :not(.is-done). site.js adds .is-done once an element has
   arrived, which hands transform, transition and will-change back to the element's own
   styles. Without that the reveal would keep overriding hover states (a card that lifts
   on hover would stay put, and its transitions would run on the reveal's timing).
   -------------------------------------------------------------------------- */
.js [data-reveal]:not(.is-done) {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition: opacity 0.9s var(--ease-out) var(--d, 0ms), transform 1.1s var(--ease-out) var(--d, 0ms);
    will-change: opacity, transform;
}

.js [data-reveal='fade']:not(.is-done) {
    transform: none;
}

.js [data-reveal='left']:not(.is-done) {
    transform: translate3d(-32px, 0, 0);
}

.js [data-reveal='right']:not(.is-done) {
    transform: translate3d(32px, 0, 0);
}

.js [data-reveal='scale']:not(.is-done) {
    transform: scale(0.94);
}

/* "clip" wipes the children in, so the observed box itself never collapses */
.js [data-reveal='clip']:not(.is-done) {
    opacity: 1;
    transform: none;
}

.js [data-reveal='clip']:not(.is-done) > :not(picture),
.js [data-reveal='clip']:not(.is-done) > picture > img {
    clip-path: inset(0 0 100% 0);
    transition: clip-path 1.3s var(--ease-in-out) var(--d, 0ms), transform 1.2s var(--ease-out);
}

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

.js [data-reveal='clip'].is-in:not(.is-done) > :not(picture),
.js [data-reveal='clip'].is-in:not(.is-done) > picture > img {
    clip-path: inset(0);
}

/* headline word-rise */
.js [data-split] {
    opacity: 0;
}

.js [data-split].is-split {
    opacity: 1;
}

.split-w {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    /* room for ascenders, descenders and overhanging glyphs inside the mask
       (same amounts as .grad, so a gradient word fills the mask exactly) */
    padding: 0.14em 0.14em 0.22em;
    margin: -0.14em -0.14em -0.22em;
}

.split-w > span {
    display: inline-block;
    /* far enough to clear the mask's bottom padding, so nothing peeks out before the rise */
    transform: translate3d(0, calc(100% + 0.4em), 0);
    transition: transform 1.05s var(--ease-out) calc(var(--d, 0ms) + var(--w, 0) * 55ms);
    will-change: transform;
}

.is-in .split-w > span {
    transform: none;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
    position: relative;
    background: var(--ink-deep);
    color: var(--on-ink);
    overflow: hidden;
    isolation: isolate;
}

.cta-band {
    position: relative;
    padding-block: clamp(80px, 10vw, 160px) clamp(64px, 8vw, 120px);
    border-bottom: 1px solid var(--line-on-ink);
}

.cta-band .glow {
    right: -18vw;
    top: -30%;
    background: radial-gradient(circle, rgba(10, 98, 255, 0.5), rgba(10, 98, 255, 0) 62%);
}

.cta-band__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 40px 64px;
}

.cta-band__title {
    margin-top: 26px;
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 1rem + 6.4vw, 7.2rem);
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: -0.05em;
    text-wrap: balance;
    max-width: 12ch;
}

.cta-band__side {
    display: grid;
    gap: 28px;
    justify-items: start;
    max-width: 380px;
    padding-bottom: 10px;
}

.cta-band__side p {
    color: var(--on-ink-soft);
}

@media (max-width: 900px) {
    .cta-band__grid {
        grid-template-columns: 1fr;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr) minmax(0, 1.4fr);
    gap: 48px clamp(32px, 5vw, 96px);
    padding-block: clamp(56px, 6vw, 96px);
}

.footer-brand {
    display: grid;
    gap: 22px;
    align-content: start;
    justify-items: start;
}

.footer-brand img {
    width: 164px;
}

.footer-brand__tag {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--on-ink-soft);
}

.footer-brand__mail {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: var(--r-pill);
    border: 1px solid rgba(244, 242, 236, 0.22);
    font-size: 0.9375rem;
    line-height: 1;
    transition: border-color 0.3s, background-color 0.3s;
}

.footer-brand__mail:hover {
    border-color: var(--sky);
    background: rgba(61, 185, 253, 0.08);
}

.footer-brand__mail i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--signal);
    box-shadow: 0 0 0 4px rgba(31, 201, 122, 0.18);
}

.footer-col h2 {
    margin-bottom: 22px;
    font-family: var(--font-mono);
    font-size: var(--fs-label);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--on-ink-mute);
}

.footer-col ul {
    display: grid;
    gap: 12px;
}

.footer-col--wide ul {
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
}

.footer-col a {
    display: inline-block;
    line-height: 1.3;
    color: var(--on-ink);
    background: linear-gradient(var(--sky), var(--sky)) 0 100% / 0 1px no-repeat;
    transition: background-size 0.45s var(--ease-out), color 0.3s;
}

.footer-col a:hover {
    color: var(--sky);
    background-size: 100% 1px;
}

/* giant tagline */
.footer-mega {
    display: flex;
    justify-content: space-between;
    gap: 0.2em;
    padding-inline: var(--gutter);
    font-family: var(--font-display);
    font-size: min(7.7vw, 7.2rem);
    font-weight: 600;
    line-height: 0.9;
    letter-spacing: -0.055em;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1px rgba(244, 242, 236, 0.22);
    user-select: none;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
}

.footer-mega span {
    transition: color 0.6s var(--ease-out), -webkit-text-stroke-color 0.6s;
}

.footer-mega span:hover {
    color: var(--on-ink);
    -webkit-text-stroke-color: transparent;
}

/* the last word fills with the brand gradient: a twin of the word, faded in on hover */
.footer-mega span:last-child {
    position: relative;
}

.footer-mega span:last-child::after {
    content: attr(data-text);
    position: absolute;
    inset: 0 -0.14em -0.12em;
    padding: 0 0.14em 0.12em;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 0;
    opacity: 0;
    transition: opacity 0.6s var(--ease-out);
}

.footer-mega span:last-child:hover {
    color: transparent;
}

.footer-mega span:last-child:hover::after {
    opacity: 1;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    margin-top: clamp(40px, 5vw, 72px);
    padding-block: 26px;
    border-top: 1px solid var(--line-on-ink);
    font-size: 0.875rem;
    color: var(--on-ink-soft);
}

.footer-bottom strong {
    font-weight: 500;
    color: var(--on-ink);
}

.footer-bottom ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 28px;
}

.footer-bottom a {
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--sky);
}

.to-top {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--on-ink);
}

.to-top i {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(244, 242, 236, 0.28);
    transition: background-color 0.3s, border-color 0.3s, transform 0.45s var(--ease-out);
}

.to-top svg {
    width: 12px;
    height: 12px;
}

.to-top:hover i {
    background: var(--blue);
    border-color: var(--blue);
    transform: translateY(-3px);
    color: var(--white);
}

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

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

    .footer-col--wide {
        grid-column: 1 / -1;
    }
}

@media (max-width: 520px) {
    .footer-col--wide ul {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* reCAPTCHA badge is replaced by the notice under the contact form */
.grecaptcha-badge {
    visibility: hidden !important;
}

/* --------------------------------------------------------------------------
   Page-to-page transition (browsers with cross-document view transitions)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
    @view-transition {
        navigation: auto;
    }

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

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

@keyframes vt-out {
    to {
        opacity: 0;
        transform: translateY(-12px);
    }
}

@keyframes vt-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
}

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

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

    .js [data-reveal]:not(.is-done),
    .js [data-reveal='clip']:not(.is-done) > *,
    .js [data-reveal='clip']:not(.is-done) > picture > img,
    .js [data-split],
    .split-w > span {
        opacity: 1;
        transform: none;
        clip-path: none;
    }
}
