/* ==========================================================================
   Dark Matter Labs — site.css
   One brand, one geometry: everything here is derived from the logo — a
   pointy-top hexagon / isometric cube drawn on a 30-degree grid.
   Sections: tokens · base · primitives · nav · hero + logo journey · studio ·
   services · approach · expertise · why us · showcase · contact · footer ·
   progress · reduced motion
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
    --red: #EB0B06;        /* the logo red, taken from the 3D model */
    --red-deep: #EB0B06;   /* marks and lockups: the same red everywhere */

    --f-display: 'Space Grotesk', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --f-mono: 'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

    --pad: clamp(20px, 5vw, 80px);
    --maxw: 1440px;
    --nav-h: 68px;
    --sec: clamp(88px, 11vw, 168px);

    --stage: min(64vw, 34vh);
    --stage-top: clamp(8px, 2vh, 24px);

    --ease: cubic-bezier(.2, .7, .2, 1);

    /* light (default) */
    color-scheme: light;
    --bg: #F4F1EA;
    --bg-2: #EBE7DD;
    --ink: #0D0D10;
    --ink-2: rgba(13, 13, 16, .68);
    --ink-3: rgba(13, 13, 16, .42);
    --line: rgba(13, 13, 16, .14);
    --line-2: rgba(13, 13, 16, .28);
    --accent: var(--red);
    --accent-2: var(--red-deep);
    --accent-ink: #C20A05;
}

@media (min-width: 768px) {
    :root {
        --nav-h: 72px;
        --stage: clamp(220px, 40vh, 440px);
    }
}

/* One background per theme: every section uses --bg, light or dark. */
[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0A0A0D;
    --bg-2: #131318;
    --ink: #F4F1EA;
    --ink-2: rgba(244, 241, 234, .68);
    --ink-3: rgba(244, 241, 234, .42);
    --line: rgba(244, 241, 234, .14);
    --line-2: rgba(244, 241, 234, .3);
    --accent-ink: #FF4D45;
}


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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 1rem/1.6 var(--f-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
    transition: background-color .4s ease, color .4s ease;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: normal; }

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

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.hidden { display: none !important; }

.skip-link {
    position: fixed;
    left: 16px;
    top: 12px;
    z-index: 200;
    padding: 12px 18px;
    background: var(--ink);
    color: var(--bg);
    font: 700 .75rem/1 var(--f-mono);
    letter-spacing: .1em;
    text-transform: uppercase;
    transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* ---------- primitives ---------- */
.wrap {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--pad);
}

.zone-dark {
    background: var(--bg);
    color: var(--ink);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font: 400 .6875rem/1.2 var(--f-mono);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-2);
}
.eyebrow b { color: var(--accent-ink); font-weight: 700; }
.eyebrow__mark { flex: none; width: 14px; }
.eyebrow__mark svg { width: 100%; height: auto; fill: var(--accent-2); }

h2 {
    font: 600 clamp(2rem, 4.5vw, 4.25rem)/1.02 var(--f-display);
    letter-spacing: -.035em;
    text-wrap: balance;
}

.lede {
    max-width: 54ch;
    font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
    line-height: 1.55;
    color: var(--ink-2);
    text-wrap: pretty;
}

.sec-head {
    display: grid;
    gap: clamp(18px, 2vw, 28px);
    margin-bottom: clamp(44px, 6.5vw, 96px);
}
@media (min-width: 900px) {
    .sec-head {
        grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
        column-gap: clamp(32px, 6vw, 96px);
        align-items: start;
    }
    .sec-head .eyebrow { grid-column: 1; grid-row: 1; padding-top: 1.4em; }
    .sec-head h2,
    .sec-head .lede { grid-column: 2; }
}

/* Button — corners are cut on the logo's 30-degree slope. */
.btn {
    --cut: 12px;
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 17px 28px;
    background: var(--accent);
    color: #fff;
    font: 700 .75rem/1 var(--f-mono);
    letter-spacing: .12em;
    text-transform: uppercase;
    white-space: nowrap;
    clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% calc(var(--cut) * .58), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut) * .58));
    transition: color .35s var(--ease);
}
.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--ink);
    transform: translateY(101%);
    transition: transform .45s var(--ease);
}
.btn svg { flex: none; transition: transform .35s var(--ease); }
.btn:hover,
.btn:focus-visible { color: var(--bg); }
.btn:hover::before,
.btn:focus-visible::before { transform: none; }
.btn:hover svg { transform: translate(2px, 0); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn--sm { --cut: 9px; padding: 12px 18px; font-size: .6875rem; }
.btn--block { width: 100%; padding-block: 21px; font-size: .8125rem; }

.link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 6px;
    font: 700 .75rem/1 var(--f-mono);
    letter-spacing: .12em;
    text-transform: uppercase;
    background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
    transition: background-size .45s var(--ease), color .3s;
}
.link svg { transition: transform .35s var(--ease); }
.link:hover { color: var(--accent-ink); background-size: 0 1px; background-position: 100% 100%; }
.link:hover svg { transform: translate(2px, -2px); }

.icon-btn {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: var(--ink);
    border: 1px solid var(--line);
    transition: border-color .3s, background-color .3s;
}
.icon-btn:hover { border-color: var(--line-2); }

/* Scroll reveal — short, once, and only when JS is running. */
.js [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: calc(var(--d, 0) * 80ms);
}
.js [data-reveal].in {
    opacity: 1;
    transform: none;
}

/* ---------- navigation ---------- */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    height: var(--nav-h);
    border-bottom: 1px solid transparent;
    transition: background-color .35s ease, border-color .35s ease;
}
.nav.is-stuck {
    background: color-mix(in srgb, var(--bg) 84%, transparent);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    backdrop-filter: blur(14px) saturate(1.3);
    border-bottom-color: var(--line);
}
.nav__in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--pad);
}
.nav__brand {
    flex: none;
    width: clamp(128px, 12.5vw, 164px);
    color: var(--accent-2);
}
.nav__brand svg { width: 100%; height: auto; fill: currentColor; }

.nav__links { display: none; }
@media (min-width: 1024px) {
    .nav__links {
        display: flex;
        gap: clamp(22px, 2.6vw, 44px);
    }
}
.nav__links a {
    position: relative;
    padding: 10px 0;
    font: 500 .8125rem/1 var(--f-body);
    letter-spacing: .01em;
    color: var(--ink-2);
    transition: color .3s;
}
.nav__links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform .4s var(--ease);
}
.nav__links a:hover,
.nav__links a.is-current { color: var(--ink); }
.nav__links a:hover::after,
.nav__links a.is-current::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__cta { display: none; }
@media (min-width: 560px) { .nav__cta { display: inline-flex; } }

.i-sun { display: none; }
[data-theme="dark"] .i-sun { display: block; }
[data-theme="dark"] .i-moon { display: none; }

.menu-btn { position: relative; }
.menu-btn span {
    position: absolute;
    left: 11px;
    right: 11px;
    height: 1.5px;
    background: currentColor;
    transition: transform .35s var(--ease);
}
.menu-btn span:first-child { transform: translateY(-4px); }
.menu-btn span:last-child { transform: translateY(4px); }
.menu-btn[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
@media (min-width: 1024px) { .menu-btn { display: none; } }

.menu {
    position: fixed;
    inset: 0;
    z-index: 95;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    padding: calc(var(--nav-h) + 20px) var(--pad) 32px;
    background: var(--bg);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s;
}
.menu.is-open { opacity: 1; visibility: visible; }
.menu__links a {
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font: 600 clamp(1.75rem, 8vw, 2.75rem)/1.1 var(--f-display);
    letter-spacing: -.03em;
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: 40ms; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: 80ms; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: 120ms; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: 160ms; }
.menu.is-open .menu__links a:nth-child(6) { transition-delay: 200ms; }
.menu__links span {
    font: 700 .6875rem/1 var(--f-mono);
    letter-spacing: .12em;
    color: var(--accent-ink);
}
.menu__foot {
    display: grid;
    gap: 8px;
    font: 400 .75rem/1.4 var(--f-mono);
    letter-spacing: .06em;
    color: var(--ink-2);
}
@media (min-width: 1024px) { .menu { display: none; } }
html.menu-open { overflow: hidden; }

/* ---------- hero + the logo's journey ---------- */
.journey { position: relative; }

/* The stage holds the logo. It rests above the headline, then is carried by
   site.js down the page to the studio figure as the visitor scrolls. */
.stage {
    position: absolute;
    z-index: 3;
    top: calc(var(--nav-h) + var(--stage-top));
    left: 50%;
    width: var(--stage);
    height: var(--stage);
    margin-left: calc(var(--stage) / -2);
    pointer-events: none;
    transform-origin: 50% 50%;
    will-change: transform;
}
.stage model-viewer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    --poster-color: transparent;
    --progress-bar-color: transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity .9s ease;
    outline: none;
}
.stage.is-3d model-viewer { opacity: 1; pointer-events: auto; cursor: grab; }
.stage.is-3d model-viewer:active { cursor: grabbing; }
/* Past the studio frame the logo belongs to the screen, not the page: site.js
   pins it to the bottom-right corner and offsets it from there. */
.stage.is-fix {
    position: fixed;
    z-index: 91;
    top: auto;
    left: auto;
    right: 0;
    bottom: 0;
    margin: 0;
}
/* Landed on the footer mark: it fades out as the flat mark fades in beneath it. */
.stage { transition: opacity .28s ease; }
.stage.is-landed { opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility 0s .28s; }
.foot__lockup .fl:first-child { transition: opacity .28s ease; }
/* Away from its two homes it is not draggable, so the badge under it stays clickable. */
.stage.is-away model-viewer { pointer-events: none; }

.stage__poster {
    position: absolute;
    inset: 4% 8%;
    display: grid;
    place-items: center;
    transition: opacity .6s ease;
}
.stage__poster svg { width: auto; height: 100%; fill: var(--accent-2); }
.stage.is-3d .stage__poster { opacity: 0; }
.js .stage__poster svg { animation: poster-in 1s var(--ease) both; }

.rings {
    position: absolute;
    left: -30%;
    top: -30%;
    width: 160%;
    height: 160%;
    max-width: none;
    overflow: visible;
    pointer-events: none;
}
.rings__spin { transform-box: view-box; transform-origin: 50% 50%; }
.rings__a {
    fill: none;
    stroke: var(--line-2);
    stroke-width: 1;
    stroke-dasharray: 1;
}
.js .rings__a { animation: draw 1.8s .2s var(--ease) both; }
.rings__b {
    fill: none;
    stroke: var(--line);
    stroke-width: 1;
    stroke-dasharray: 2 8;
}
.rings__dot { fill: var(--accent); }
.rings__lead { fill: none; stroke: var(--ink-3); stroke-width: 1; }
.rings__note {
    font: 400 10px var(--f-mono);
    letter-spacing: .14em;
    fill: var(--ink-3);
}
@media (max-width: 767px) {
    .rings__lead, .rings__note { display: none; }
}

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
    padding-top: var(--nav-h);
}
/* The logo's own isometric lattice, faded out from the stage. */
.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='97' height='56'%3E%3Cpath d='M0 0L97 56M0 56L97 0M.5 0V56M48.5 0V56' fill='none' stroke='%23808080' stroke-opacity='.24'/%3E%3C/svg%3E") 50% 0 / 97px 56px;
    -webkit-mask-image: radial-gradient(ellipse 58% 62% at 50% 36%, #000 0%, transparent 100%);
    mask-image: radial-gradient(ellipse 58% 62% at 50% 36%, #000 0%, transparent 100%);
}
.hero__in {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.hero__slot {
    flex: none;
    width: 1px;
    height: calc(var(--stage) + var(--stage-top));
}
.hero__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-block: clamp(14px, 2.6vh, 30px) clamp(22px, 3.4vh, 40px);
}
.hero__title {
    margin-top: clamp(14px, 2.2vh, 24px);
    font: 700 clamp(2.15rem, 5.2vw, 5.25rem)/1 var(--f-display);
    letter-spacing: -.045em;
}
.hero__title em { color: var(--accent-2); }
/* Each line is masked so it can rise into place on load. */
.hl {
    display: block;
    overflow: hidden;
    padding: .06em .06em .16em;
    margin: -.06em -.06em -.16em;
}
.hl > span { display: block; }
.hl-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: .26em;
}
.js .hl > span {
    transform: translate3d(0, 112%, 0);
    animation: rise .95s var(--ease) forwards;
    animation-delay: calc(var(--l, 0) * .11s + .15s);
}
.hero__lede {
    max-width: 44ch;
    margin-top: clamp(14px, 2.2vh, 24px);
    font-size: clamp(1rem, 1.25vw, 1.1875rem);
    line-height: 1.5;
    color: var(--ink-2);
    text-wrap: balance;
}
.hero__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px 30px;
    margin-top: clamp(20px, 3vh, 32px);
}
.hero__eyebrow { justify-content: center; text-align: center; }
@media (max-width: 767px) {
    .hero__eyebrow { letter-spacing: .07em; }
}
.js .hero__eyebrow,
.js .hero__lede,
.js .hero__cta { animation: fade-up .8s var(--ease) both; }
.js .hero__eyebrow { animation-delay: .1s; }
.js .hero__lede { animation-delay: .55s; }
.js .hero__cta { animation-delay: .68s; }

@keyframes rise { to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translate3d(0, 16px, 0); } to { opacity: 1; transform: none; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes poster-in { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

/* ---------- studio ---------- */
.studio { padding-block: var(--sec) calc(var(--sec) * .75); }
.studio__grid {
    display: grid;
    gap: clamp(28px, 5vw, 56px);
}
@media (min-width: 900px) {
    .studio__grid {
        grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
        column-gap: clamp(32px, 6vw, 96px);
        align-items: center; /* the logo's frame sits level with the middle of the statement */
    }
}
/* The figure frame the logo docks into. */
.studio__slot {
    position: relative;
    width: min(56vw, 220px);
    aspect-ratio: 1;
}
@media (min-width: 900px) { .studio__slot { width: min(100%, 300px); } }
.studio__slot i {
    position: absolute;
    width: 14px;
    height: 14px;
    border: solid var(--ink-3);
    border-width: 1px 0 0 1px;
}
.studio__slot i:nth-child(2) { right: 0; transform: rotate(90deg); }
.studio__slot i:nth-child(3) { right: 0; bottom: 0; transform: rotate(180deg); }
.studio__slot i:nth-child(4) { bottom: 0; transform: rotate(270deg); }
.studio__slot-fallback {
    position: absolute;
    inset: 12% 16%;
    display: grid;
    place-items: center;
}
.studio__slot-fallback svg { width: auto; height: 100%; fill: var(--accent-2); }
/* With JS and motion allowed, the travelling logo fills this frame instead. */
.js:not(.reduce) .studio__slot-fallback { display: none; }
.studio__text {
    margin-top: clamp(22px, 3vw, 36px);
    font: 500 clamp(1.7rem, 3.6vw, 3.5rem)/1.12 var(--f-display);
    letter-spacing: -.032em;
    text-wrap: pretty;
}
.js:not(.reduce) .studio__text .w { opacity: .18; }

.facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: clamp(56px, 8vw, 112px);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
/* Every cell is the same box: same border, same padding on all four sides. */
.facts li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts a {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: clamp(22px, 2.6vw, 36px) clamp(18px, 2.2vw, 32px);
    transition: background-color .35s;
}
.facts a:hover { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.facts__n {
    font: 600 clamp(2.5rem, 5.4vw, 4.75rem)/.9 var(--f-display);
    letter-spacing: -.045em;
}
.facts__l {
    margin-top: clamp(18px, 2vw, 28px);
    font: 700 .6875rem/1.2 var(--f-mono);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent-ink);
}
.facts__d { max-width: 24ch; margin-top: 10px; font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
@media (min-width: 900px) {
    .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- services ---------- */
.services { padding-block: calc(var(--sec) * .75) var(--sec); }
/* Six disciplines as large rows. One is open at a time: its name turns red,
   the row grows, and the description and tags appear beside the number. */
.svc-list { border-top: 1px solid var(--line-2); }
.svc { border-bottom: 1px solid var(--line-2); }
.svc__head {
    display: grid;
    grid-template-columns: 2.6em minmax(0, 1fr) auto;
    align-items: baseline;
    column-gap: clamp(10px, 2vw, 32px);
    width: 100%;
    padding-block: clamp(18px, 2.4vw, 34px);
    text-align: left;
    color: var(--ink);
}
.svc__n {
    font: 700 .6875rem/1 var(--f-mono);
    letter-spacing: .14em;
    color: var(--accent-ink);
}
.svc__title {
    font: 600 clamp(1.7rem, 5.4vw, 5rem)/1 var(--f-display);
    letter-spacing: -.045em;
    transition: color .35s, transform .55s var(--ease);
}
.svc__k {
    display: none;
    font: 400 .6875rem/1.2 var(--f-mono);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-2);
}
/* plus that becomes a minus when the row is open */
.svc__plus {
    position: relative;
    align-self: center;
    width: clamp(18px, 2vw, 28px);
    aspect-ratio: 1;
}
.svc__plus::before,
.svc__plus::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    margin-top: -1px;
    background: currentColor;
    transition: transform .5s var(--ease), background-color .35s;
}
.svc__plus::after { transform: rotate(90deg); }
.svc.is-open .svc__plus::after { transform: rotate(0deg); }
.svc.is-open .svc__plus::before,
.svc.is-open .svc__plus::after { background: var(--accent); }
.svc.is-open .svc__title { color: var(--accent); }
@media (hover: hover) {
    .svc:not(.is-open) .svc__head:hover .svc__title { transform: translate3d(clamp(8px, 1.2vw, 20px), 0, 0); }
}

/* The panel opens by growing its single grid row from 0 to its natural height.
   Without JS every panel is simply open. */
.svc__panel { display: grid; grid-template-rows: 1fr; }
.js .svc__panel { grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.js .svc.is-open .svc__panel { grid-template-rows: 1fr; }
.svc__panel-in { min-height: 0; overflow: hidden; }
.svc__body { padding: 0 0 clamp(22px, 3vw, 44px); }
.js .svc__body { opacity: 0; transform: translate3d(0, 12px, 0); transition: opacity .3s ease, transform .5s var(--ease); }
.js .svc.is-open .svc__body { opacity: 1; transform: none; transition: opacity .5s .18s ease, transform .6s .18s var(--ease); }
.svc__body > p { max-width: 54ch; font-size: 1.0625rem; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags li {
    padding: 8px 12px;
    border: 1px solid var(--line);
    font: 400 .6875rem/1 var(--f-mono);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-2);
}
@media (min-width: 900px) {
    .svc__head { grid-template-columns: 5rem minmax(0, 1fr) minmax(0, 15rem) auto; }
    .svc__k { display: block; text-align: right; }
    /* the detail lines up under the name, clear of the number column */
    .svc__body {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        column-gap: clamp(24px, 4vw, 64px);
        padding-left: calc(5rem + clamp(10px, 2vw, 32px));
    }
    .tags { margin-top: 0; justify-content: flex-end; max-width: 26rem; }
}

/* ---------- approach ---------- */
.approach { padding-block: var(--sec); }
@media (min-width: 900px) {
    .approach__body {
        display: grid;
        grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
        column-gap: clamp(32px, 6vw, 96px);
        align-items: start;
    }
    .build { order: 2; }
}
/* The build stage: the logo assembles itself across the four steps. */
.build {
    position: sticky;
    top: var(--nav-h);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 36vh;
    min-height: 230px;
    margin-inline: calc(var(--pad) * -1);
    padding: 6px var(--pad) 12px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}
.build__fig {
    flex: 1;
    min-height: 0;
    aspect-ratio: 574 / 570;
    will-change: transform;
}
.bld { width: 100%; height: 100%; overflow: visible; }
.bld__hair {
    fill: none;
    stroke: var(--ink);
    stroke-width: 1.5;
    stroke-dasharray: 1;
    stroke-dashoffset: .86;
}
.bld__edge {
    stroke: var(--ink-2);
    stroke-width: 1.5;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}
.bld__ring {
    fill: none;
    stroke: var(--accent-2);
    stroke-width: 18.48;
    stroke-linejoin: round;
    stroke-linecap: round; /* closes the corner where the outline starts and ends */
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}
.bld__d { fill: var(--accent-2); }
.bld__ticks { fill: var(--accent-2); opacity: 0; }
.bld__pulse {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2;
    opacity: 0;
    transform-box: fill-box;
    transform-origin: 50% 50%;
}
.build__cap {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 6px 16px;
    width: min(100%, 360px);
    font: 400 .6875rem/1 var(--f-mono);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-2);
}
.build__n b { color: var(--accent-ink); }
.build__label { justify-self: end; color: var(--ink); }
.build__bar {
    grid-column: 1 / -1;
    height: 1px;
    background: var(--line);
}
.build__bar i {
    display: block;
    height: 100%;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: 0 50%;
}
@media (min-width: 900px) {
    .build {
        height: calc(100vh - var(--nav-h));
        min-height: 0;
        margin-inline: 0;
        padding: 0 0 5vh;
        gap: 18px;
        background: none;
        border: 0;
    }
    .build__fig { flex: none; width: min(100%, 520px, 66vh); }
    .build__cap { gap: 12px 16px; }
}

.step {
    padding-block: clamp(32px, 5vh, 56px);
    border-top: 1px solid var(--line);
}
.step:first-child { border-top: 0; }
.step__n {
    font: 700 .6875rem/1.2 var(--f-mono);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent-ink);
}
.step h3 {
    margin-top: 14px;
    font: 600 clamp(1.65rem, 3.1vw, 2.85rem)/1.05 var(--f-display);
    letter-spacing: -.035em;
}
.step > p:not(.step__n) {
    max-width: 50ch;
    margin-top: 16px;
    font-size: 1.0625rem;
    color: var(--ink-2);
}
@media (min-width: 900px) {
    .step {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 56vh;
    }
    .step:first-child { border-top: 1px solid var(--line); }
    .step:last-child { border-bottom: 1px solid var(--line); }
    .js .step { opacity: .3; transition: opacity .45s var(--ease); }
    .js .step.is-active { opacity: 1; }
}

/* Small "evidence" cards under each step. */
.chip {
    display: grid;
    gap: 6px;
    max-width: 420px;
    margin-top: 26px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    background: var(--bg-2);
    font: 400 .75rem/1.6 var(--f-mono);
    color: var(--ink-2);
}
.chip p { display: flex; gap: 12px; }
.chip b {
    flex: none;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent-ink);
}
.chip--chat b { width: 3.2em; }
.chip__you { color: var(--ink); }
.chip--stack p { justify-content: space-between; }
.chip--stack p + p { padding-top: 6px; border-top: 1px dashed var(--line); }
.chip__ok { color: var(--ink); }
.chip--metric p { align-items: baseline; justify-content: space-between; }
.chip--metric strong {
    font: 600 1.75rem/1 var(--f-display);
    letter-spacing: -.03em;
    color: var(--ink);
}
.chip__bars { display: flex; align-items: flex-end; gap: 5px; height: 44px; margin-top: 6px; }
.chip__bars i { flex: 1; height: var(--h); background: var(--accent); opacity: .32; }
.chip__bars i:last-child { opacity: 1; }

/* ---------- expertise ---------- */
.expertise { padding-block: var(--sec) calc(var(--sec) * .6); }
.domains { display: grid; gap: 12px; }
.domain {
    --panel: var(--bg-2);
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(20px, 2vw, 28px);
    border: 1px solid var(--line);
    background: var(--panel);
    overflow: hidden;
}
.domain__n {
    font: 700 .6875rem/1 var(--f-mono);
    letter-spacing: .14em;
    color: var(--ink-3);
    transition: color .4s;
}
.domain__glyph {
    flex: 1;
    display: grid;
    place-items: center;
    min-height: 200px;
    padding-block: 18px;
}
.gl { width: min(100%, 220px); height: auto; overflow: visible; }
.gl__f {
    fill: var(--panel);
    stroke: var(--ink);
    stroke-width: 1.4;
    stroke-linejoin: round;
    transition: fill .5s var(--ease);
}
.gl__hi { fill: var(--accent); }
.gl__l { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.gl__arc {
    fill: none;
    stroke: var(--accent);
    stroke-width: 6;
    stroke-linejoin: round;
    stroke-dasharray: .64 1;
}
.gl__pulse { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.domain__txt h3 {
    font: 600 clamp(1.4rem, 2vw, 1.9rem)/1.1 var(--f-display);
    letter-spacing: -.03em;
}
.domain__txt p {
    max-width: 40ch;
    margin-top: 10px;
    color: var(--ink-2);
}
@media (max-width: 899px) {
    .domain__glyph { min-height: 150px; padding-block: 10px 16px; }
    .gl { width: min(100%, 170px); }
}
@media (min-width: 620px) and (max-width: 899px) {
    .domains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Desktop: four panels in a row; the active one opens. */
@media (min-width: 900px) {
    .domains { display: flex; height: clamp(440px, 62vh, 600px); }
    .domain {
        flex: 1 1 0;
        cursor: pointer;
        transition: flex-grow .7s var(--ease), border-color .4s;
    }
    .domain.is-open { flex-grow: 2.3; border-color: var(--line-2); }
    .domain.is-open .domain__n { color: var(--accent-ink); }
    .domain .gl__hi { fill: var(--panel); }
    .domain.is-open .gl__hi { fill: var(--accent); }
    .domain .gl__arc { stroke-dasharray: 0 1; transition: stroke-dasharray .9s var(--ease); }
    .domain.is-open .gl__arc { stroke-dasharray: .64 1; }
    .domain__txt { min-height: 8.4em; }
    .domain__txt p {
        width: 34ch;
        max-width: none;
        opacity: 0;
        transform: translate3d(0, 8px, 0);
        transition: opacity .3s ease, transform .3s ease;
    }
    .domain.is-open .domain__txt p {
        opacity: 1;
        transform: none;
        transition: opacity .5s .25s ease, transform .5s .25s var(--ease);
    }
}

/* ---------- why us ---------- */
.why { padding-block: calc(var(--sec) * .6) var(--sec); }
.commit { display: grid; border-top: 1px solid var(--line); }
.commit__item {
    padding-block: clamp(28px, 3.4vw, 48px);
    border-bottom: 1px solid var(--line);
}
.commit__icon { width: 124px; margin-bottom: 32px; }
.commit__icon svg { width: 100%; height: auto; overflow: visible; }
/* Open line pictograms: motion streaks for speed, a staircase with every step
   marked for quality, two see-through panes for transparency. */
.pi__ink,
.pi__red {
    fill: none;
    stroke: var(--ink);
    stroke-width: 3;
    stroke-linecap: square;
    stroke-linejoin: miter;
    stroke-dasharray: 1;
}
.pi__red { stroke: var(--accent); stroke-width: 6; }
.pi__dot { fill: var(--accent); transform-box: fill-box; transform-origin: 50% 50%; }
.pi__tint { fill: var(--accent); opacity: .22; }
/* They draw themselves in when the row scrolls into view. */
.js .pi__ink,
.js .pi__red { stroke-dashoffset: 1; transition: stroke-dashoffset .8s calc(.25s + var(--i, 0) * .14s) var(--ease); }
.js .commit__item.in .pi__ink,
.js .commit__item.in .pi__red { stroke-dashoffset: 0; }
.js .pi__dot,
.js .pi__tint { opacity: 0; transition: opacity .45s calc(.25s + var(--i, 0) * .14s) ease, transform .5s calc(.25s + var(--i, 0) * .14s) var(--ease); }
.js .pi__dot { transform: scale(.2); }
.js .commit__item.in .pi__dot { opacity: 1; transform: none; }
.js .commit__item.in .pi__tint { opacity: .22; }
.commit__n {
    font: 700 .6875rem/1 var(--f-mono);
    letter-spacing: .14em;
    color: var(--accent-ink);
}
.commit__item h3 {
    margin-top: 12px;
    font: 600 clamp(1.5rem, 2.3vw, 2.1rem)/1.08 var(--f-display);
    letter-spacing: -.03em;
}
.commit__item p { max-width: 40ch; margin-top: 14px; color: var(--ink-2); }
@media (min-width: 900px) {
    .commit { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .commit__item { padding-right: clamp(20px, 2.6vw, 40px); }
    .commit__item + .commit__item {
        padding-left: clamp(20px, 2.6vw, 40px);
        border-left: 1px solid var(--line);
    }
}

/* ---------- showcase ---------- */
.showcase { padding-block: var(--sec); overflow: clip; }

.shot {
    display: grid;
    gap: clamp(28px, 4vw, 64px);
    align-items: center;
    padding-block: clamp(40px, 6vw, 96px);
    border-top: 1px solid var(--line);
}
.shot:last-child { padding-bottom: 0; }
@media (min-width: 900px) {
    .shot { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
    .shot--flip { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
    .shot--flip .shot__media { order: 2; }
    .shot--games { grid-template-columns: minmax(0, 1fr); }
}

/* The screenshot, whole and uncropped, in a plain window frame. */
.shot__in {
    display: block;
    border: 1px solid var(--line-2);
    background: var(--bg);
    overflow: hidden;
    transition: border-color .3s;
}
a.shot__in:hover { border-color: var(--ink-3); }
.shot__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 11px 14px;
    border-bottom: 1px solid var(--line);
}
.shot__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.shot__bar b {
    margin-left: 10px;
    font: 400 .625rem/1 var(--f-mono);
    letter-spacing: .1em;
    color: var(--ink-3);
}
.shot__in img { display: block; width: 100%; height: auto; }

.shot__body { padding-bottom: clamp(0px, 1vw, 16px); }
.case__idx {
    font: 400 .6875rem/1.2 var(--f-mono);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-2);
}
.case__idx b { margin-right: 14px; font-weight: 700; color: var(--accent-ink); }
.shot h3 {
    margin-top: 16px;
    font: 600 clamp(1.9rem, 3.2vw, 3rem)/1.02 var(--f-display);
    letter-spacing: -.035em;
}
.shot__body > p:not(.case__idx) {
    max-width: 46ch;
    margin-top: 16px;
    font-size: 1.0625rem;
    color: var(--ink-2);
}
.shot .link { margin-top: 28px; }
@media (min-width: 900px) {
    .shot--games .shot__body {
        display: grid;
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        column-gap: clamp(24px, 4vw, 64px);
        align-items: end;
    }
    .shot--games .case__idx { grid-column: 1 / -1; }
    .shot--games .shot__body > p:not(.case__idx) { margin-top: 0; }
}

/* The games: four whole screenshots in a row. */
.fan {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(12px, 1.6vw, 24px);
}
@media (min-width: 900px) { .fan { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fan a { display: block; }
.fan img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--line-2);
    transition: border-color .3s;
}
.fan a:hover img { border-color: var(--ink-3); }
.fan__cap {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    font: 400 .6875rem/1.2 var(--f-mono);
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: color .3s;
}
.fan__cap b { color: var(--accent-ink); }
.fan a:hover .fan__cap { color: var(--accent-ink); }

/* ---------- contact ---------- */
.contact {
    position: relative;
    padding-block: var(--sec);
    overflow: clip;
}
.contact__grid {
    position: relative;
    display: grid;
    gap: clamp(40px, 6vw, 96px);
}
@media (min-width: 1000px) {
    .contact__grid {
        grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
        align-items: start;
    }
}
.contact h2 { margin-top: clamp(20px, 2.4vw, 32px); }
.contact h2 em { color: var(--accent); }
.contact .lede { margin-top: clamp(20px, 2.4vw, 30px); }
.contact__dl {
    margin-top: clamp(32px, 4vw, 52px);
    border-top: 1px solid var(--line);
}
.contact__dl div {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
    align-items: baseline;
    padding-block: 16px;
    border-bottom: 1px solid var(--line);
}
.contact__dl dt {
    font: 700 .6875rem/1.2 var(--f-mono);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent-ink);
}
.contact__dl a { transition: color .3s; }
.contact__dl a:hover { color: var(--accent-ink); }

/* The map: same cut corners as the image frames. */
.map { margin-top: clamp(28px, 3.4vw, 44px); }
.map__frame {
    --cut: clamp(16px, 2vw, 28px);
    position: relative;
    aspect-ratio: 4 / 3;
    width: 100%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='97' height='56'%3E%3Cpath d='M0 0L97 56M0 56L97 0M.5 0V56M48.5 0V56' fill='none' stroke='%23808080' stroke-opacity='.3'/%3E%3C/svg%3E") 50% 50% / 97px 56px,
        var(--bg-2);
    clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% calc(var(--cut) * .58), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut) * .58));
}
.map__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    opacity: 0;
    transition: opacity .6s ease;
}
.map__frame.is-loaded iframe { opacity: 1; }
/* Dark theme only: invert Google's light map; hue-rotate puts its colours back the right way round. */
[data-theme="dark"] .map__frame iframe { filter: invert(.92) hue-rotate(180deg) saturate(.55) contrast(.92); }
.map .link { margin-top: 18px; }
@media (min-width: 600px) { .map__frame { aspect-ratio: 16 / 10; } }

.contact__card {
    padding: clamp(22px, 3.2vw, 46px);
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--bg-2) 86%, transparent);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
/* Under the form: next steps and office hours. */
.contact__side { min-width: 0; }
.next { margin-top: clamp(28px, 3.4vw, 44px); }
.next__k {
    font: 700 .6875rem/1.2 var(--f-mono);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent-ink);
}
.next__k + * { margin-top: 14px; border-top: 1px solid var(--line); }
.next__steps + .next__k { margin-top: clamp(28px, 3vw, 40px); }
.next__steps li,
.next__hours div {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
    align-items: baseline;
    padding-block: 15px;
    border-bottom: 1px solid var(--line);
}
.next__steps b,
.next__hours dt {
    font: 400 .6875rem/1.2 var(--f-mono);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-2);
}
.next__steps b { font-weight: 700; color: var(--accent-ink); }

.form { display: grid; gap: 28px; }
.form__row { display: grid; gap: 28px; }
@media (min-width: 600px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field label {
    display: block;
    margin-bottom: 4px;
    font: 400 .6875rem/1.2 var(--f-mono);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-2);
}
.field input,
.field textarea {
    display: block;
    width: 100%;
    padding: 10px 0 12px;
    border: 0;
    border-bottom: 1px solid var(--line-2);
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    font: 400 1rem/1.5 var(--f-body);
    outline: none;
    transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: none; }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-3); }
.field input:focus,
.field textarea:focus {
    border-bottom-color: var(--accent);
    box-shadow: 0 1px 0 var(--accent);
}
.field input:-webkit-autofill {
    -webkit-text-fill-color: var(--ink);
    transition: background-color 9999s;
}
.form__captcha { display: flex; justify-content: center; min-height: 78px; }
.form__msg { font-size: .875rem; font-weight: 500; text-align: center; }
.form__msg--ok { color: #1B7F45; }
[data-theme="dark"] .form__msg--ok { color: #6FCF97; }
.form__msg--err { color: var(--accent-ink); }

/* ---------- footer ---------- */
.foot { padding-top: clamp(36px, 5vw, 72px); }
.foot__top {
    padding-top: clamp(28px, 3vw, 40px);
    border-top: 1px solid var(--line);
    font-size: .9375rem;
}
/* Contact details live in the contact section above; the footer keeps the social links. */
.foot__social { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.foot__social .foot__k { margin-right: clamp(10px, 2vw, 24px); }
.foot__social a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-2);
    transition: color .3s, background-color .3s, border-color .3s;
}
.foot__social a:hover,
.foot__social a:focus-visible { background: var(--accent); border-color: var(--accent); color: #fff; }
.foot__k {
    font: 700 .6875rem/1.2 var(--f-mono);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent-ink);
}
.foot__brand { margin-top: clamp(48px, 8vw, 128px); color: var(--accent-2); }
.foot__lockup { width: 100%; height: auto; fill: currentColor; overflow: visible; }
.foot__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    margin-top: clamp(28px, 4vw, 56px);
    padding-block: 22px;
    border-top: 1px solid var(--line);
    font: 400 .6875rem/1.3 var(--f-mono);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-2);
}
.foot__top-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); transition: color .3s; }
.foot__top-link:hover { color: var(--accent-ink); }

/* ---------- scroll progress ---------- */
.hexprog {
    position: fixed;
    right: clamp(12px, 2vw, 28px);
    bottom: clamp(12px, 2vw, 28px);
    z-index: 90;
    display: grid;
    place-items: center;
    width: 50px;
    opacity: 0;
    transform: scale(.82);
    pointer-events: none;
    transition: opacity .35s ease, transform .45s var(--ease);
}
@media (min-width: 768px) { .hexprog { width: 64px; } }
.hexprog.is-on { opacity: 1; transform: none; pointer-events: auto; }
.hexprog svg { grid-area: 1 / 1; width: 100%; height: auto; overflow: visible; }
/* Only without the journey (reduced motion): a still mark in the logo's seat. */
.hexprog .hexprog__mark { display: none; width: auto; height: 58%; fill: var(--accent-2); }
.reduce .hexprog .hexprog__mark { display: block; }
.hexprog__bg { fill: var(--bg); stroke: var(--line-2); stroke-width: 1; }
.hexprog__bar {
    fill: none;
    stroke: var(--accent);
    stroke-width: 3;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-delay: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
    }
    .js [data-reveal] { opacity: 1; transform: none; }
    .js .svc, .js .step { opacity: 1; }
}

/* ---------- Services: pinned, scroll-driven stage ---------- */

/* Shared look (also the no-JS / reduced-motion fallback: a plain stacked list). */
.svc-list--pin { border: 0; }
.svc-list--pin .svc { border: 0; border-top: 1px solid var(--line); padding-block: clamp(28px, 4vw, 56px); }
.svc-list--pin .svc__h { margin: 0; }
.svc-list--pin .svc__head { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 0; text-align: left; cursor: default; }
.svc-list--pin .svc__n { color: var(--accent); }
.svc-list--pin .svc__k { display: block; order: -1; margin-bottom: 14px; text-align: left; color: var(--accent); }
.svc-list--pin .svc__title { font-size: clamp(2.5rem, 8.4vw, 8.75rem); line-height: .92; letter-spacing: -.045em; color: var(--ink); transform: none !important; }
.svc-list--pin .svc__plus { display: none; }
.svc-list--pin .svc__panel,
.js .svc-list--pin .svc__panel { display: block; grid-template-rows: none; }
.svc-list--pin .svc__panel-in { overflow: visible; }
.svc-list--pin .svc__body,
.js .svc-list--pin .svc__body { display: block; padding: 0; opacity: 1; transform: none; }
.svc-list--pin .svc__body > p { max-width: 46ch; margin-top: clamp(18px, 2.2vw, 32px); font-size: clamp(1.05rem, 1.45vw, 1.45rem); line-height: 1.45; }
.svc-list--pin .tags { justify-content: flex-start; max-width: none; margin-top: clamp(18px, 2.2vw, 32px); }

/* Pinned mode (added by JS). */
.svc-pin { position: relative; height: calc(var(--svc-count, 6) * 85vh + 100vh); }
.svc-pin__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.svc-pin .svc-list--pin { position: absolute; inset: var(--nav-h) 0 72px 0; }
.svc-pin .svc {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    border: 0;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 9vh, 0);
    transition: opacity .45s ease, transform .9s var(--ease), visibility 0s .45s;
}
.svc-pin .svc.is-past { transform: translate3d(0, -9vh, 0); }
.svc-pin .svc.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .6s .12s ease, transform .9s .12s var(--ease), visibility 0s; }
.svc-pin .svc__n { display: none; }
.svc-pin .svc__body > p,
.svc-pin .tags { transition: opacity .6s .28s ease, transform .9s .28s var(--ease); }
.svc-pin .svc:not(.is-active) .svc__body > p,
.svc-pin .svc:not(.is-active) .tags { opacity: 0; transform: translate3d(0, 24px, 0); transition: none; }

.svc-pin__rail { position: absolute; left: 0; top: 50%; translate: 0 -50%; display: none; flex-direction: column; gap: 14px; z-index: 2; }
.svc-pin__rail button {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--f-mono);
    font-size: .6875rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-3);
    transition: color .3s ease;
}
.svc-pin__rail button::before { content: ''; width: 14px; height: 1px; background: currentColor; transition: width .5s var(--ease), background-color .3s ease; }
.svc-pin__rail button:hover { color: var(--ink-2); }
.svc-pin__rail button.is-active { color: var(--ink); }
.svc-pin__rail button.is-active::before { width: 36px; background: var(--accent); }
@media (min-width: 1100px) {
    .svc-pin__rail { display: flex; }
    .svc-pin__rail button { white-space: nowrap; }
    .svc-pin .svc { padding-left: clamp(230px, 21vw, 300px); }
}

.svc-pin__foot { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; align-items: center; gap: 20px; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .14em; color: var(--ink-2); }
.svc-pin__foot b { color: var(--ink); font-weight: 400; }
.svc-pin__bar { flex: 1; height: 1px; background: var(--line); }
.svc-pin__bar i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

