/* ==========================================================================
   RangoRights — design system
   Monochrome editorial interface. Client work keeps its own colors.
   ========================================================================== */
:root {
    --white: #ffffff;
    --black: #000000;
    --ink: #111111;
    --paper: #f5f5f5;
    --mist: #eaeaea;
    --muted: #767676;          /* #777 nudged to pass WCAG AA on white */
    --muted-on-dark: #9a9a9a;

    --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
    --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

    --fs-label: 0.75rem;
    --fs-small: 0.875rem;
    --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
    --fs-lead: clamp(1.25rem, 1rem + 1vw, 1.85rem);
    --fs-h3: clamp(1.7rem, 1.2rem + 1.8vw, 2.9rem);
    --fs-h2: clamp(2.6rem, 1.4rem + 5.2vw, 7.25rem);
    --fs-display: clamp(3rem, 1.2rem + 9.4vw, 11.75rem);

    --line-dark: rgba(255, 255, 255, 0.2);
    --line-light: rgba(17, 17, 17, 0.16);
    --line: var(--line-dark);
    --gutter: clamp(1.15rem, 3vw, 3.5rem);
    --header-h: 86px;
    --section-y: clamp(5.5rem, 10vw, 10rem);

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --t-fast: 0.2s;
    --t-med: 0.35s;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--white);
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.container-fluid { padding-right: var(--gutter); padding-left: var(--gutter); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* Shared text primitives */
.label,
.section-index,
.hero-meta p,
.masthead-meta p,
.footer-label,
.footer-location,
.footer-bottom p,
.project-type,
.portfolio-chrome > p:last-child,
.portfolio-count,
.cta-availability,
.stat-label,
.form-field label,
.service-panel li,
.service-number,
.principle-row span,
.principle-row strong {
    font-family: var(--font-mono);
    font-size: var(--fs-label);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.section-index { margin: 0; }
.section-index span { margin-right: 0.65rem; opacity: 0.55; }
.display-mask { display: block; overflow: hidden; padding: 0 0.04em 0.1em 0; }
.display-mask > span { display: block; }
.text-muted-rr { color: var(--muted); }
/* Muted text on the light-gray paper surface needs a touch more contrast to stay AA. */
.stats-section, .contact-info-section, .identity-canvas { --muted: #666666; }

.skip-link {
    position: fixed;
    z-index: 999;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.7rem 1rem;
    color: var(--white);
    background: var(--black);
    transform: translateY(-150%);
    transition: transform var(--t-med) ease;
}
.skip-link:focus { transform: translateY(0); }

/* Buttons ----------------------------------------------------------------- */
.btn-rr {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    min-height: 3.4rem;
    padding: 0 1.5rem;
    overflow: hidden;
    color: var(--white);
    border: 1px solid var(--ink);
    background: var(--ink);
    font-family: var(--font-mono);
    font-size: var(--fs-label);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    isolation: isolate;
    transition: color var(--t-med) var(--ease-out), border-color var(--t-med) ease;
}
.btn-rr::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background: var(--white);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform var(--t-med) var(--ease-out);
}
.btn-rr i { font-style: normal; transition: transform var(--t-med) var(--ease-out); }
.btn-rr:hover, .btn-rr:focus-visible { color: var(--ink); }
.btn-rr:hover::before, .btn-rr:focus-visible::before { transform: scaleY(1); }
.btn-rr:hover i, .btn-rr:focus-visible i { transform: translate(3px, -3px); }
.btn-rr--ghost { color: var(--ink); background: transparent; }
.btn-rr--ghost::before { background: var(--ink); }
.btn-rr--ghost:hover, .btn-rr--ghost:focus-visible { color: var(--white); }
.btn-rr--light { color: var(--ink); border-color: var(--white); background: var(--white); }
.btn-rr--light::before { background: var(--ink); }
.btn-rr--light:hover, .btn-rr--light:focus-visible { color: var(--white); }

.text-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-mono);
    font-size: var(--fs-label);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.text-link::after {
    position: absolute;
    right: 0;
    bottom: -0.3rem;
    left: 0;
    height: 1px;
    content: "";
    background: currentColor;
    transform: scaleX(0.3);
    transform-origin: left;
    transition: transform var(--t-med) var(--ease-out);
}
.text-link i { font-style: normal; transition: transform var(--t-med) var(--ease-out); }
.text-link:hover::after, .text-link:focus-visible::after { transform: scaleX(1); }
.text-link:hover i, .text-link:focus-visible i { transform: translate(3px, -3px); }

/* Header ------------------------------------------------------------------ */
.site-header {
    position: fixed;
    z-index: 100;
    top: 0;
    width: 100%;
    color: var(--white);
    background: var(--black);
    transition: color var(--t-med) ease, background-color var(--t-med) ease, transform 0.45s var(--ease-out);
}
.site-header.is-light { color: var(--ink); background: var(--white); }
.site-header.is-hidden:not(.menu-open):not(:focus-within) { transform: translateY(-100%); }
.header-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
    min-height: var(--header-h);
    border-bottom: 1px solid rgba(128, 128, 128, 0.3);
}
.brand-lockup {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    color: inherit;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}
.nav-logo {
    width: 38px;
    height: 38px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--white);
    transition: transform 0.5s var(--ease-out);
}
.nav-logo img, .visual-core img { width: 100%; height: 100%; object-fit: cover; }
.brand-lockup:hover .nav-logo, .brand-lockup:focus-visible .nav-logo { transform: rotate(-12deg) scale(1.08); }
.header-edition {
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: var(--fs-label);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.7;
}
.desktop-nav { align-items: center; justify-content: flex-end; gap: clamp(1.2rem, 2.2vw, 2.5rem); }
.desktop-nav a:not(.nav-cta) {
    position: relative;
    padding: 0.6rem 0;
    font-size: 0.875rem;
    font-weight: 500;
}
.desktop-nav a:not(.nav-cta)::after {
    position: absolute;
    right: 0;
    bottom: 0.3rem;
    left: 0;
    height: 1px;
    content: "";
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--t-med) var(--ease-out);
}
.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 2.6rem;
    padding: 0 1.1rem;
    border: 1px solid currentColor;
    font-family: var(--font-mono);
    font-size: var(--fs-label);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background-color var(--t-fast) ease, color var(--t-fast) ease;
}
.site-header .nav-cta:hover, .site-header .nav-cta:focus-visible { color: var(--ink); background: var(--white); }
.site-header.is-light .nav-cta:hover, .site-header.is-light .nav-cta:focus-visible { color: var(--white); background: var(--ink); }

.menu-toggle {
    align-items: center;
    justify-self: end;
    gap: 0.8rem;
    min-height: 44px;
    padding: 0.5rem 0;
    color: inherit;
    border: 0;
    background: transparent;
    font-family: var(--font-mono);
    font-size: var(--fs-label);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.menu-lines { position: relative; width: 29px; height: 13px; }
.menu-lines i {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transition: top var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out);
}
.menu-lines i:first-child { top: 2px; }
.menu-lines i:last-child { top: 10px; }
.menu-open .menu-lines i:first-child { top: 6px; transform: rotate(45deg); }
.menu-open .menu-lines i:last-child { top: 6px; transform: rotate(-45deg); }
.mobile-menu {
    position: fixed;
    z-index: 1;
    inset: 0;
    min-height: 100svh;
    height: 100dvh;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    justify-content: flex-start;
    padding: 7.5rem var(--gutter) 2rem;
    color: var(--ink);
    background: var(--white);
    clip-path: inset(0 0 100% 0);
    overflow-y: auto;
}
.mobile-menu nav { display: flex; flex-direction: column; flex-shrink: 0; }
.mobile-menu nav a {
    overflow: hidden;
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 11vw, 5.5rem);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.04em;
}
.mobile-menu nav sup {
    display: inline-block;
    top: 0;
    padding-top: 0.6rem;
    margin-right: 0.7rem;
    font-family: var(--font-mono);
    font-size: var(--fs-label);
    line-height: 1;
    letter-spacing: 0;
    vertical-align: top;
}
.mobile-menu-footer { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-top: auto; padding-top: 2.5rem; }
.mobile-menu-footer p { margin: 0; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.site-header.menu-open { color: var(--ink) !important; }

/* Page transition --------------------------------------------------------- */
.page-transition {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    background: var(--black);
    transform: translateY(100%);
    pointer-events: none;
}
.page-transition img { width: 64px; height: 64px; border-radius: 50%; background: var(--white); }
html.is-entering .page-transition { transform: translateY(0); }

/* Hero -------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    color: var(--ink);
    background: var(--white);
    isolation: isolate;
}
.hero-grid-lines,
.masthead-grid,
.cta-grid {
    position: absolute;
    z-index: -1;
    inset: 0 var(--gutter);
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
    background-image: linear-gradient(to right, transparent calc(100% - 1px), var(--line) 1px);
    background-size: 25% 100%;
    pointer-events: none;
}
.hero-grid-lines, .cta-grid { --line: var(--line-light); }
.hero-layout {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    padding-top: calc(var(--header-h) + 2rem);
    padding-bottom: 2rem;
}
.hero-meta p { margin: 0; line-height: 1.6; color: var(--muted); }
.hero-title {
    position: relative;
    z-index: 2;
    margin: auto 0 0;
    padding-top: 2rem;
    font-family: var(--font-display);
    font-size: var(--fs-display);
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: -0.055em;
}
.hero-line { display: block; overflow: hidden; padding: 0 0.04em 0.08em 0; }
.hero-word { display: inline-block; }
@supports (-webkit-text-stroke: 1px black) {
    .hero-line-outline .hero-word {
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: clamp(1.25px, 0.16vw, 2.5px) currentColor;
    }
}
.hero-line-indent { padding-left: 12vw; }

.visual-stage {
    position: absolute;
    z-index: 3;
    right: calc(var(--gutter) + 2vw);
    bottom: calc(5.5rem + 6vw);
    width: clamp(12rem, 22vw, 23rem);
    aspect-ratio: 1;
    perspective: 900px;
    will-change: transform;
}
.visual-core {
    position: absolute;
    z-index: 2;
    inset: 14%;
    overflow: hidden;
    border: 1px solid rgba(17, 17, 17, 0.2);
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.16);
    transform-style: preserve-3d;
    will-change: transform;
}
.visual-glare {
    position: absolute;
    inset: -20%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 24%, rgba(255,255,255,0.35), transparent 34%);
    mix-blend-mode: screen;
    pointer-events: none;
}
.visual-orbit { position: absolute; inset: 0; border: 1px solid currentColor; border-radius: 50%; opacity: 0.35; }
.visual-orbit-one { transform: rotateX(64deg) rotateZ(16deg); }
.visual-orbit-two { transform: rotateY(66deg) rotateZ(-20deg); }
.orbit-dot {
    position: absolute;
    z-index: 4;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}
.orbit-dot-one { top: 19%; left: 8%; }
.orbit-dot-two { right: 4%; bottom: 28%; width: 5px; height: 5px; }

.hero-bottom { margin-top: clamp(2rem, 4vw, 3.5rem); }
.hero-intro {
    max-width: 26rem;
    margin: 0;
    font-size: var(--fs-body);
    line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 1rem 2rem; }

/* Intro / audience (dark) ------------------------------------------------- */
.trust-lines {
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding: var(--section-y) 0 clamp(4rem, 7vw, 6rem);
    color: var(--white);
    background: var(--black);
}
.trust-intro { margin-bottom: clamp(4rem, 8vw, 7rem); }
.trust-intro h2,
.process-heading h2,
.stats-heading h2,
.form-heading h2,
.services-heading h2,
.identity-heading h2,
.proof-heading h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--fs-h2);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.05em;
}
.trust-intro h2 em,
.services-heading h2 em,
.proof-heading h2 em { font-style: normal; color: var(--muted-on-dark); }
.identity-heading h2 em,
.process-heading h2 em,
.form-heading h2 em,
.stats-heading h2 em { font-style: normal; color: var(--muted); }

.trust-marquees { border-top: 1px solid var(--line-dark); }
.marquee-line { overflow: hidden; border-bottom: 1px solid var(--line-dark); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-group {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: clamp(1.4rem, 2.8vw, 3rem);
    padding: clamp(1.15rem, 2vw, 1.8rem) clamp(1.4rem, 2.8vw, 3rem) clamp(1.25rem, 2.2vw, 2rem) 0;
}
.marquee-group span {
    white-space: nowrap;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.4vw, 5rem);
    line-height: 1.1;
    letter-spacing: -0.045em;
}
.marquee-group i {
    display: block;
    flex: 0 0 auto;
    width: clamp(0.6rem, 0.9vw, 0.9rem);
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--white);
}
.trust-footer { padding-top: clamp(3rem, 6vw, 5.5rem); }
.trust-footer .trust-statement {
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--fs-lead);
    line-height: 1.3;
    letter-spacing: -0.025em;
}
.audience-list { margin: clamp(3rem, 6vw, 5rem) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.audience-list li {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 0.25rem 1rem;
    padding: 1.4rem 0;
    border-bottom: 1px solid var(--line-dark);
}
.audience-list span { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--muted-on-dark); padding-top: 0.3rem; }
.audience-list strong { font-family: var(--font-display); font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-weight: 500; letter-spacing: -0.02em; }
.audience-list p { grid-column: 2; margin: 0; color: var(--muted-on-dark); font-size: var(--fs-small); }

/* Identity showcase ------------------------------------------------------- */
.identity-section {
    position: relative;
    z-index: 3;
    padding: var(--section-y) 0;
    color: var(--ink);
    background: var(--white);
}
.identity-heading .identity-note { max-width: 24rem; margin: 1.25rem 0 0; color: var(--muted); font-size: var(--fs-small); }
.identity-body {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(2rem, 6vw, 7rem);
    margin-top: clamp(4rem, 8vw, 7rem);
}
.identity-canvas {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
    align-self: start;
    width: 100%;
    height: min(calc(100svh - var(--header-h) - 3rem), 44rem);
    overflow: hidden;
    background: var(--paper);
}
.identity-layer {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: clamp(1.5rem, 4vw, 3.5rem);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}
.identity-layer.is-active { opacity: 1; visibility: visible; }
.identity-canvas-meta {
    position: absolute;
    z-index: 3;
    right: 1.25rem;
    bottom: 1rem;
    left: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-family: var(--font-mono);
    font-size: var(--fs-label);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}
.identity-progress { flex: 1; max-width: 10rem; height: 1px; background: var(--line-light); }
.identity-progress span { display: block; height: 100%; background: var(--ink); transform: scaleX(0.25); transform-origin: left; transition: transform 0.5s var(--ease-out); }

.construct { position: relative; width: min(100%, 30rem); aspect-ratio: 1; }
.construct svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.construct svg * { fill: none; stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.construct svg .guide { stroke: rgba(17,17,17,0.22); stroke-dasharray: 4 6; }
.construct svg .anchor { fill: var(--ink); stroke: none; }
.construct img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 72%;
    mix-blend-mode: multiply;
    transform: translate(-50%, -50%);
}

.type-specimen { width: min(100%, 32rem); }
.type-specimen-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--ink);
}
.type-specimen-hero strong {
    font-family: var(--font-display);
    font-size: clamp(6rem, 13vw, 12rem);
    font-weight: 500;
    line-height: 0.8;
    letter-spacing: -0.06em;
}
.type-specimen-hero span { font-family: var(--font-mono); font-size: var(--fs-label); text-align: right; text-transform: uppercase; color: var(--muted); }
.type-row {
    display: grid;
    grid-template-columns: 6.5rem 1fr;
    align-items: baseline;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line-light);
}
.type-row small { font-family: var(--font-mono); font-size: var(--fs-label); text-transform: uppercase; color: var(--muted); }
.type-row:nth-child(2) span { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 500; letter-spacing: -0.03em; }
.type-row:nth-child(3) span { font-family: var(--font-sans); font-size: 1rem; }
.type-row:nth-child(4) span { font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.04em; }

.swatches { display: flex; align-items: flex-end; gap: clamp(0.4rem, 1vw, 0.8rem); width: min(100%, 32rem); height: min(78%, 26rem); }
.swatch {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0.75rem 0.6rem;
    border: 1px solid var(--line-light);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    line-height: 1.35;
    text-transform: uppercase;
    transform-origin: bottom;
}
.swatch:nth-child(1) { height: 100%; color: var(--white); background: var(--black); }
.swatch:nth-child(2) { height: 86%; color: var(--white); background: var(--ink); }
.swatch:nth-child(3) { height: 70%; color: var(--white); background: var(--muted); }
.swatch:nth-child(4) { height: 56%; background: var(--mist); }
.swatch:nth-child(5) { height: 42%; background: var(--white); }

.applications { position: relative; width: min(100%, 32rem); aspect-ratio: 1; }
.app-card {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 66%;
    aspect-ratio: 1.75;
    padding: 1.1rem 1.2rem;
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.14);
}
.app-card-front { top: 10%; left: 4%; color: var(--white); background: var(--ink); transform: rotate(-8deg); }
.app-card-front img { width: 3.2rem; border-radius: 50%; filter: invert(1); }
.app-card-front strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; letter-spacing: -0.02em; }
.app-card-back { top: 34%; right: 2%; color: var(--ink); background: var(--white); transform: rotate(5deg); }
.app-card-back strong { font-family: var(--font-display); font-size: 1rem; font-weight: 600; }
.app-card small { font-family: var(--font-mono); font-size: 0.65rem; line-height: 1.5; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.75; }
.app-post {
    position: absolute;
    bottom: 4%;
    left: 14%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 40%;
    aspect-ratio: 1;
    padding: 1rem;
    border: 1px solid var(--ink);
    background: var(--mist);
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.12);
    transform: rotate(-2deg);
}
.app-post strong { font-family: var(--font-display); font-size: clamp(1rem, 1.7vw, 1.4rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.03em; }
.app-post small { font-family: var(--font-mono); font-size: 0.62rem; text-transform: uppercase; }

.identity-step {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 78svh;
    padding: 2rem 0;
    border-top: 1px solid var(--line-light);
    opacity: 0.5;
    transition: opacity 0.45s var(--ease-out);
}
.identity-step.is-active { opacity: 1; }
.identity-step:last-child { min-height: 70svh; }
.identity-step h3 {
    margin: 1rem 0 1.25rem;
    font-family: var(--font-display);
    font-size: var(--fs-h3);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.04em;
}
.identity-step p { max-width: 30rem; margin: 0; color: #3d3d3d; }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.tag-list li {
    padding: 0.4rem 0.7rem;
    border: 1px solid currentColor;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* About ------------------------------------------------------------------- */
.about-section {
    position: relative;
    z-index: 3;
    overflow: hidden;
    padding: var(--section-y) 0;
    color: var(--ink);
    background: var(--white);
}
.about-heading-row { align-items: flex-start; }
.about-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 1.6rem + 7vw, 9.5rem);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.055em;
}
.about-title > span { display: block; overflow: hidden; padding: 0 0.04em 0.1em 0; }
.about-title > span > span { display: block; }
.about-title em { font-style: normal; color: var(--muted); }
.about-content { margin-top: clamp(4.5rem, 10vw, 10rem); }
.about-visual {
    position: relative;
    width: min(100%, 34rem);
    aspect-ratio: 4 / 5;
    isolation: isolate;
}
.about-visual::before {
    position: absolute;
    z-index: -1;
    inset: -1.25rem 1.5rem 1.25rem -1.25rem;
    border: 1px solid var(--line-light);
    border-radius: 50%;
    content: "";
}
.about-image-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: var(--paper);
    clip-path: inset(0 0 0 0);
}
.about-image-wrap img {
    width: 100%;
    height: 112%;
    object-fit: cover;
    object-position: center;
    mix-blend-mode: multiply;
    transform: translateY(-6%);
    will-change: transform;
}
.about-stamp {
    position: absolute;
    z-index: 2;
    top: -2.2rem;
    right: -2.2rem;
    display: grid;
    width: clamp(6.5rem, 9vw, 8.5rem);
    aspect-ratio: 1;
    color: var(--white);
    background: var(--ink);
    border-radius: 50%;
    place-items: center;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    line-height: 1.4;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transform: rotate(9deg);
}
.about-visual-note {
    position: absolute;
    right: -10.5rem;
    bottom: 0;
    font-family: var(--font-mono);
    font-size: var(--fs-label);
    line-height: 1.5;
    text-transform: uppercase;
    color: var(--muted);
}
.about-copy { max-width: 40rem; }
.about-copy p { margin: 0; }
.about-lead {
    max-width: 20ch;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 1rem + 2.4vw, 3.1rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.04em;
}
.about-copy p + p { max-width: 32rem; margin-top: clamp(2rem, 4vw, 3.5rem); color: #3d3d3d; }
.about-principles { margin-top: clamp(3.5rem, 6vw, 5.5rem); border-top: 1px solid var(--line-light); }
.principle-row {
    display: grid;
    grid-template-columns: 2.5rem minmax(9rem, 0.7fr) 1fr;
    align-items: baseline;
    gap: 1rem;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--line-light);
}
.principle-row span { color: var(--muted); }
.principle-row p { margin: 0; font-size: var(--fs-small); line-height: 1.45; color: #3d3d3d; }
.about-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1rem;
    font-family: var(--font-mono);
    font-size: var(--fs-label);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.about-more-link i { font-style: normal; transition: transform var(--t-med) var(--ease-out); }
.about-more-link:hover i, .about-more-link:focus-visible i { transform: translate(3px, -3px); }

/* Inner page masthead ----------------------------------------------------- */
.page-masthead {
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding: calc(var(--header-h) + clamp(4rem, 9vw, 7rem)) 0 clamp(4.5rem, 8vw, 7rem);
    color: var(--white);
    background: var(--black);
    isolation: isolate;
}
.masthead-title {
    max-width: 18ch;
    margin: clamp(2rem, 4vw, 3rem) 0 0;
    font-family: var(--font-display);
    font-size: clamp(3rem, 1.4rem + 6.4vw, 8.5rem);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.055em;
}
.masthead-title em { font-style: normal; color: var(--muted-on-dark); }
.masthead-title > span { display: block; overflow: hidden; padding: 0 0.04em 0.1em 0; }
.masthead-title > span > span { display: block; }
.masthead-bottom { align-items: flex-end; margin-top: clamp(3rem, 6vw, 5rem); }
.masthead-lead { max-width: 32rem; margin: 0; line-height: 1.6; color: rgba(255,255,255,0.82); }
.masthead-meta p { margin: 0; line-height: 1.6; color: var(--muted-on-dark); }

/* Process ----------------------------------------------------------------- */
.process-section {
    position: relative;
    z-index: 3;
    overflow: hidden;
    padding: var(--section-y) 0;
    color: var(--ink);
    background: var(--white);
}
.process-list { position: relative; margin-top: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--line-light); }
.process-progress {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: left;
}
.process-row {
    display: grid;
    grid-template-columns: 5rem 1fr 1.2fr;
    align-items: baseline;
    gap: 1.5rem;
    padding: clamp(1.5rem, 3vw, 2.6rem) 0;
    border-bottom: 1px solid var(--line-light);
    transition: color 0.4s ease;
}
.process-row span { font-family: var(--font-mono); font-size: var(--fs-small); color: var(--muted); }
.process-row strong {
    font-family: var(--font-display);
    font-size: clamp(2rem, 1.2rem + 3vw, 4.2rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.045em;
}
.process-row p { max-width: 28rem; margin: 0; line-height: 1.55; color: #3d3d3d; }
.process-list.has-progress .process-row { color: #949494; }
.process-list.has-progress .process-row p { color: var(--muted); transition: color 0.4s ease; }
.process-list.has-progress .process-row.is-active,
.process-list.has-progress .process-row.is-active p { color: var(--ink); }
.process-list.has-progress .process-row.is-active p { color: #3d3d3d; }

/* Stats / deliverables ---------------------------------------------------- */
.stats-section {
    position: relative;
    z-index: 3;
    overflow: hidden;
    padding: var(--section-y) 0;
    color: var(--ink);
    background: var(--paper);
}
.stats-row { margin-top: clamp(4rem, 8vw, 6rem); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.stat-item { padding: clamp(2.2rem, 4.5vw, 3.5rem) clamp(0.5rem, 1.5vw, 1.5rem) clamp(2.2rem, 4.5vw, 3.5rem) 0; }
.stat-item + .stat-item { border-top: 1px solid var(--line-light); }
.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.04em;
}
.stat-label { display: block; margin-top: 1rem; color: var(--muted); }

.deliverables { margin: clamp(3.5rem, 7vw, 6rem) 0 0; padding: 0; list-style: none; columns: 2; column-gap: clamp(2rem, 6vw, 6rem); border-top: 1px solid var(--line-light); }
.deliverables li {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--line-light);
    break-inside: avoid;
}
.deliverables span { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--muted); padding-top: 0.4rem; }
.deliverables strong { display: block; font-family: var(--font-display); font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-weight: 500; letter-spacing: -0.025em; }
.deliverables p { margin: 0.25rem 0 0; font-size: var(--fs-small); color: #4a4a4a; }

/* Secondary service detail (services page) -------------------------------- */
.service-detail {
    position: relative;
    z-index: 3;
    padding: var(--section-y) 0;
    color: var(--ink);
    background: var(--white);
    border-top: 1px solid var(--line-light);
}
.service-detail--dark { color: var(--white); background: var(--black); border-top-color: var(--line-dark); }
.service-detail h2 {
    margin: 1.25rem 0 0;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 1.4rem + 4vw, 5.5rem);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.05em;
}
.service-detail-lead { max-width: 32rem; margin: 2rem 0 0; font-size: var(--fs-body); }
.service-detail--dark .service-detail-lead { color: rgba(255,255,255,0.82); }
.service-detail .tag-list { margin-top: 0; }
.capability-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid currentColor; }
.capability-list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--line-light);
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 1.9vw, 1.75rem);
    font-weight: 500;
    letter-spacing: -0.025em;
}
.service-detail--dark .capability-list li { border-bottom-color: var(--line-dark); }
.capability-list small { font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 400; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); text-align: right; }
.service-detail--dark .capability-list small { color: var(--muted-on-dark); }

/* Contact form ------------------------------------------------------------ */
.contact-form-section {
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding: var(--section-y) 0 clamp(4rem, 8vw, 7rem);
    color: var(--ink);
    background: var(--white);
}
.contact-form { max-width: 50rem; margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(1.5rem, 3vw, 2.5rem); }
.form-field { display: flex; flex-direction: column; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.form-field-full { max-width: 50rem; }
.form-field label { margin-bottom: 0.6rem; color: var(--muted); }
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.7rem 0;
    color: var(--ink);
    border: 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.35);
    border-radius: 0;
    background: transparent;
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
    transition: border-color var(--t-med) ease;
    appearance: none;
}
.form-field select {
    padding-right: 2rem;
    background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
    background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%;
    background-size: 5px 5px;
    background-repeat: no-repeat;
}
.form-field textarea { resize: vertical; min-height: 7rem; font-family: var(--font-sans); font-size: 1rem; line-height: 1.55; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-bottom-color: var(--ink); outline: none; box-shadow: 0 1px 0 var(--ink); }
.form-field [aria-invalid="true"] { border-bottom-color: #b00020; }
.field-error { min-height: 1.2em; margin: 0.4rem 0 0; font-size: 0.8rem; color: #b00020; }
.form-submit { min-width: 15rem; border: 1px solid var(--ink); cursor: pointer; }
.form-status { max-width: 36rem; margin: 1.5rem 0 0; font-size: var(--fs-small); }
.form-status:empty { display: none; }
.form-status a { border-bottom: 1px solid currentColor; }

.contact-info-section {
    position: relative;
    z-index: 3;
    overflow: hidden;
    padding: var(--section-y) 0;
    color: var(--ink);
    background: var(--paper);
}
.contact-info-section .footer-label { color: var(--muted); opacity: 1; }
.contact-info-section .footer-location { color: #3d3d3d; opacity: 1; }
.contact-info-section .footer-email { font-size: clamp(1.35rem, 2.4vw, 2.1rem); }

/* Services (dark) --------------------------------------------------------- */
.services-section {
    position: relative;
    z-index: 4;
    overflow: hidden;
    padding: var(--section-y) 0;
    color: var(--white);
    background: var(--black);
    border-top: 1px solid var(--line-dark);
}
.services-body { margin-top: clamp(4.5rem, 9vw, 8rem); border-top: 1px solid var(--line-dark); }
.services-aside { position: relative; padding: 2rem 2rem 2rem 0; border-right: 1px solid var(--line-dark); }
.services-aside > p {
    position: sticky;
    top: calc(var(--header-h) + 15rem);
    max-width: 14rem;
    margin: 2.5rem 0 0;
    font-size: var(--fs-small);
    line-height: 1.5;
    color: var(--muted-on-dark);
}
.service-orb {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: clamp(8rem, 12vw, 11.5rem);
    aspect-ratio: 1;
    color: var(--ink);
    background: var(--white);
    border-radius: 50%;
}
.service-orb-number { font-family: var(--font-display); font-size: clamp(2.4rem, 3.6vw, 3.6rem); font-weight: 500; line-height: 1; letter-spacing: -0.045em; }
.service-orb small { margin-top: 0.5rem; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; }
.service-list { padding-left: clamp(1.5rem, 4vw, 4rem); }
.service-group-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
    padding: 3rem 0 1rem;
    font-family: var(--font-mono);
    font-size: var(--fs-label);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted-on-dark);
    border-bottom: 1px solid var(--line-dark);
}
.service-group-label:first-child { padding-top: 1.25rem; }
.service-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px solid var(--line-dark);
}
.service-toggle {
    display: grid;
    grid-template-columns: 3rem 1fr 3rem;
    align-items: center;
    width: 100%;
    padding: clamp(1.5rem, 2.6vw, 2.5rem) 0;
    color: inherit;
    border: 0;
    background: transparent;
    text-align: left;
}
.service-toggle:focus-visible { outline: 2px solid var(--white); outline-offset: 5px; }
.service-number { align-self: start; padding-top: 0.7rem; color: var(--muted-on-dark); }
.service-name {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 1.2rem + 3.4vw, 5rem);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.045em;
    color: rgba(255,255,255,0.55);
    transition: color var(--t-med) ease, transform 0.45s var(--ease-out);
}
.service-item--secondary .service-name { font-size: clamp(1.6rem, 1rem + 2vw, 3rem); }
.service-toggle:hover .service-name,
.service-item.is-active .service-name { color: var(--white); transform: translateX(0.12em); }
.service-icon {
    position: relative;
    justify-self: end;
    width: 2.6rem;
    height: 2.6rem;
    border: 1px solid var(--line-dark);
    border-radius: 50%;
    transition: background-color var(--t-fast) ease, color var(--t-fast) ease;
}
.service-toggle:hover .service-icon { color: var(--ink); background: var(--white); }
.service-icon::before,
.service-icon::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.8rem;
    height: 1px;
    content: "";
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform var(--t-med) var(--ease-out);
}
.service-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.service-item.is-active .service-icon::after { transform: translate(-50%, -50%) rotate(0); }
.service-panel { height: 0; overflow: hidden; opacity: 0; }
.service-item.is-active .service-panel { height: auto; opacity: 1; }
.service-panel-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    padding: 0 3rem clamp(2rem, 4vw, 3.25rem);
}
.service-panel p {
    max-width: 30rem;
    margin: 0;
    font-size: var(--fs-body);
    line-height: 1.55;
    color: rgba(255,255,255,0.82);
}
.service-panel ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem 1rem; margin: 0; padding: 0; list-style: none; align-content: start; }
.service-panel li { padding-top: 0.55rem; border-top: 1px solid var(--line-dark); }

/* Portfolio (pinned) ------------------------------------------------------ */
.portfolio-showcase { position: relative; z-index: 5; color: var(--white); background: var(--black); }
.portfolio-pin { position: relative; height: 100svh; min-height: 42rem; overflow: hidden; background: var(--black); }
.portfolio-chrome {
    position: absolute;
    z-index: 20;
    top: var(--header-h);
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 58px;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    mix-blend-mode: difference;
}
.portfolio-chrome > p:last-child { margin: 0; }
.portfolio-slides { position: absolute; inset: var(--header-h) 0 0; overflow: hidden; }
.portfolio-slide { position: absolute; inset: 0; overflow: hidden; color: var(--white); background: var(--black); will-change: clip-path, transform; }
.portfolio-slide:not(:first-child) { clip-path: inset(100% 0 0 0); }
.project-layout { padding-top: 58px; }
.project-info {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(2rem, 4vw, 4rem) clamp(1rem, 3vw, 3.5rem) 5.5rem 0;
    border-right: 1px solid var(--line-dark);
}
.project-type { margin: 0 auto auto 0; color: var(--muted-on-dark); }
.project-info h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(3.4rem, 1.6rem + 4.6vw, 7.5rem);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.055em;
}
.project-summary { max-width: 20rem; margin: 1.75rem 0 0; font-size: var(--fs-small); line-height: 1.5; color: rgba(255,255,255,0.8); }
.project-art { position: relative; overflow: hidden; min-height: 100%; transform-origin: center; will-change: transform; background: var(--black); }
.project-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 767.98px) {
    .project-art.project-image { aspect-ratio: 6000 / 3084; }
}
.portfolio-controls {
    position: absolute;
    z-index: 25;
    right: 0;
    bottom: 1.5rem;
    left: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
    mix-blend-mode: difference;
}
.portfolio-count { display: flex; align-items: center; gap: 0.65rem; }
.portfolio-count i { width: 2.5rem; height: 1px; background: currentColor; opacity: 0.45; }
.portfolio-progress { width: min(17vw, 12rem); height: 1px; overflow: hidden; background: rgba(255,255,255,0.3); }
.portfolio-progress span { display: block; width: 100%; height: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; }

/* Proof / credibility (dark) ---------------------------------------------- */
.proof-section {
    position: relative;
    z-index: 4;
    padding: var(--section-y) 0;
    color: var(--white);
    background: var(--black);
}
.proof-heading .proof-note { max-width: 24rem; margin: 1.25rem 0 0; font-size: var(--fs-small); color: var(--muted-on-dark); }
.proof-list { margin: clamp(4rem, 8vw, 6.5rem) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.proof-row a {
    position: relative;
    display: grid;
    grid-template-columns: 4rem minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.2fr) 2.6rem;
    align-items: center;
    gap: 1.5rem;
    padding: clamp(1.4rem, 2.6vw, 2.2rem) 0;
    border-bottom: 1px solid var(--line-dark);
    transition: color var(--t-med) ease;
}
.proof-row a::before {
    position: absolute;
    z-index: -1;
    inset: 0 calc(var(--gutter) * -1);
    content: "";
    background: var(--white);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.45s var(--ease-out);
}
.proof-list { position: relative; z-index: 0; }
.proof-row a:hover, .proof-row a:focus-visible { color: var(--ink); }
.proof-row a:hover::before, .proof-row a:focus-visible::before { transform: scaleY(1); }
.proof-row .proof-num { font-family: var(--font-mono); font-size: var(--fs-label); opacity: 0.6; }
.proof-row strong {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 1rem + 3vw, 4rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.045em;
}
.proof-row .proof-sector,
.proof-row .proof-scope { font-family: var(--font-mono); font-size: var(--fs-label); line-height: 1.5; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.75; }
.proof-row i { justify-self: end; font-style: normal; font-size: 1.2rem; transition: transform var(--t-med) var(--ease-out); }
.proof-row a:hover i, .proof-row a:focus-visible i { transform: translate(3px, -3px); }
.proof-thumb { display: none; }
.proof-preview {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    width: clamp(16rem, 24vw, 24rem);
    aspect-ratio: 6000 / 3084;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    background: var(--ink);
}
.proof-preview img { width: 100%; height: 100%; object-fit: cover; }
.proof-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: clamp(3rem, 6vw, 5rem);
}
.proof-facts div { padding-top: 1rem; border-top: 1px solid var(--line-dark); }
.proof-facts strong { display: block; font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 3.4rem); font-weight: 500; line-height: 1; letter-spacing: -0.04em; }
.proof-facts span { display: block; margin-top: 0.75rem; font-size: var(--fs-small); color: var(--muted-on-dark); }

/* CTA --------------------------------------------------------------------- */
.cta-section {
    position: relative;
    z-index: 6;
    min-height: 100svh;
    overflow: hidden;
    color: var(--ink);
    background: var(--white);
    isolation: isolate;
}
.cta-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 4rem));
    padding-bottom: 2rem;
}
.cta-top { align-items: center; }
.cta-availability { display: inline-flex; align-items: center; gap: 0.65rem; margin: 0; }
.cta-availability i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 5px rgba(17, 17, 17, 0.12); }
.cta-title {
    position: relative;
    z-index: 1;
    margin: auto 0;
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 1rem + 5.6vw, 8.5rem);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.055em;
}
.cta-title > span { display: block; overflow: hidden; padding: 0 0.05em 0.1em 0; }
.cta-title > span > span { display: block; }
.cta-title em { font-style: normal; color: var(--muted); }
.cta-orb {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: 8vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: clamp(9rem, 15vw, 15rem);
    aspect-ratio: 1;
    color: var(--white);
    background: var(--ink);
    border-radius: 50%;
    text-align: center;
    transform: translateY(-50%);
    transition: color 0.45s var(--ease-out), background 0.45s var(--ease-out);
    will-change: transform;
}
.cta-orb::before {
    position: absolute;
    inset: -0.65rem;
    border: 1px solid var(--line-light);
    border-radius: 50%;
    content: "";
    transition: inset 0.45s var(--ease-out);
}
.cta-orb span { max-width: 7em; font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 2rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.035em; }
.cta-orb i { margin-top: 0.55rem; font-size: 1.15rem; font-style: normal; }
.cta-orb:hover, .cta-orb:focus-visible { color: var(--ink); background: var(--mist); }
.cta-orb:hover::before, .cta-orb:focus-visible::before { inset: -1.1rem; }
.cta-orb:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
.cta-bottom { margin-top: auto; }
.cta-bottom p { max-width: 22rem; margin: 0; font-size: var(--fs-small); line-height: 1.55; color: #3d3d3d; }
.cta-email {
    display: inline-block;
    border-bottom: 1px solid currentColor;
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.3vw, 2.3rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

/* Footer ------------------------------------------------------------------ */
.site-footer { position: relative; z-index: 7; overflow: hidden; color: var(--white); background: var(--black); }
.footer-inner { padding-top: clamp(4rem, 8vw, 7rem); }
.footer-top { align-items: flex-start; }
.footer-brand { display: inline-flex; align-items: center; gap: 0.85rem; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.footer-logo { width: 54px; height: 54px; overflow: hidden; border-radius: 50%; background: var(--white); transition: transform 0.55s var(--ease-out); }
.footer-logo img { width: 100%; height: 100%; object-fit: cover; }
.footer-brand:hover .footer-logo, .footer-brand:focus-visible .footer-logo { transform: rotate(-14deg) scale(1.08); }
.footer-intro {
    max-width: 26rem;
    margin: 2rem 0 0;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.1vw, 2rem);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.03em;
}
.footer-label { margin: 0 0 1.25rem; color: var(--muted-on-dark); }
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.footer-nav a,
.footer-email { position: relative; font-family: var(--font-display); font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.25; }
.footer-nav a::after,
.footer-email::after {
    position: absolute;
    right: 0;
    bottom: -0.15rem;
    left: 0;
    height: 1px;
    content: "";
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out);
}
.footer-nav a:hover::after,
.footer-nav a:focus-visible::after,
.footer-email:hover::after,
.footer-email:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.footer-email { font-size: clamp(1.3rem, 1.9vw, 1.9rem); }
.footer-location { margin: 2rem 0 0; line-height: 1.6; color: var(--muted-on-dark); }
.footer-wordmark {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(0.5rem, 1.5vw, 1.5rem);
    margin-top: clamp(5rem, 11vw, 9rem);
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 13rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.06em;
}
.footer-wordmark-logo { flex: 0 0 auto; width: clamp(3.5rem, 8vw, 8rem); height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 50%; background: var(--white); }
.footer-wordmark > span { display: block; overflow: hidden; padding: 0 0.04em 0.12em 0; }
.footer-wordmark > span > span { display: block; }
.footer-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    padding: 1.2rem 0;
    border-top: 1px solid var(--line-dark);
}
.footer-bottom p { margin: 0; color: var(--muted-on-dark); }
.footer-bottom p:nth-child(2) { text-align: center; }
.back-to-top {
    display: inline-flex;
    align-items: center;
    justify-self: end;
    gap: 0.65rem;
    font-family: var(--font-mono);
    font-size: var(--fs-label);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.back-to-top i {
    display: grid;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line-dark);
    border-radius: 50%;
    place-items: center;
    font-style: normal;
    transition: color var(--t-med) ease, background var(--t-med) ease, transform var(--t-med) var(--ease-out);
}
.back-to-top:hover i, .back-to-top:focus-visible i { color: var(--ink); background: var(--white); transform: translateY(-4px); }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .header-edition { display: none !important; }
    .header-grid { grid-template-columns: auto 1fr; }
    .proof-row a { grid-template-columns: 3rem minmax(0, 1.2fr) minmax(0, 1fr) 2.6rem; }
    .proof-row .proof-scope { display: none; }
}
@media (max-width: 991.98px) {
    .menu-toggle { grid-column: 2; }
    .visual-stage { width: clamp(10rem, 26vw, 16rem); bottom: calc(7rem + 8vw); }
    .about-visual-note { display: none; }
    .services-aside {
        position: sticky;
        z-index: 6;
        top: var(--header-h);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
        padding: 0.8rem 0;
        border-right: 0;
        border-bottom: 1px solid var(--line-dark);
        background: var(--black);
        align-self: flex-start;
    }
    .services-aside > p { position: static; margin: 0; max-width: 22rem; text-align: right; }
    .service-orb { position: static; width: 6rem; flex-shrink: 0; }
    .service-orb-number { font-size: 1.9rem; }
    .service-list { padding-left: 0; }
    .stat-item + .stat-item { border-top: 0; border-left: 1px solid var(--line-light); padding-left: 1.5rem; }
    .identity-body { grid-template-columns: 1fr; gap: 0; }
    .identity-canvas { z-index: 4; top: var(--header-h); height: 46svh; min-height: 18rem; margin: 0 calc(var(--gutter) * -1); width: calc(100% + var(--gutter) * 2); }
    .identity-step { min-height: 62svh; }
    .identity-step:last-child { min-height: 54svh; }
    .construct, .type-specimen, .swatches, .applications { width: min(100%, 22rem); }
    .applications { width: min(78%, 20rem); }
    .type-specimen-hero strong { font-size: clamp(4.5rem, 16vw, 7rem); }
    .type-row { grid-template-columns: 5rem 1fr; padding: 0.5rem 0; }
    .deliverables { columns: 1; }
}
@media (min-width: 768px) and (max-width: 991.98px) and (orientation: portrait) {
    .visual-stage { top: 30%; right: auto; bottom: auto; left: calc(50% - 17vw); width: 34vw; }
}
@media (max-width: 767.98px) {
    :root { --header-h: 70px; }
    .site-header.menu-open { background: var(--white); }
    .header-grid { grid-template-columns: 1fr auto; }
    .mobile-menu { padding-top: 6rem; padding-bottom: max(1.5rem, env(safe-area-inset-bottom)); }
    .brand-lockup { font-size: 0.95rem; }
    .hero-grid-lines, .masthead-grid, .cta-grid { background-size: 50% 100%; }
    .hero-layout { min-height: max(100svh, 38rem); padding-bottom: max(1.5rem, env(safe-area-inset-bottom)); }
    .hero-title { font-size: clamp(2.7rem, 14.4vw, 5rem); line-height: 0.95; padding-top: 1rem; }
    .hero-line-indent { padding-left: 0; }
    .visual-stage { position: relative; right: auto; bottom: auto; align-self: flex-end; width: clamp(8rem, 40vw, 11rem); margin: 1.5rem -0.5rem -1rem 0; }
    .hero-bottom { margin-top: 1.75rem; row-gap: 1.5rem; }
    .hero-actions { justify-content: flex-start; }
    .hero-actions .btn-rr { flex: 1 1 100%; }
    .trust-intro { margin-bottom: 3.5rem; }
    .marquee-group { gap: 1.25rem; padding-right: 1.25rem; }
    .about-visual { width: calc(100% - 1.5rem); }
    .about-stamp { top: -1.7rem; right: -1.5rem; }
    .about-copy { margin-top: 2.5rem; }
    .principle-row { grid-template-columns: 2rem 1fr; gap: 0.4rem 0.65rem; }
    .principle-row p { grid-column: 2; }
    .masthead-bottom { align-items: flex-start; }
    .process-row { grid-template-columns: 2.5rem 1fr; gap: 0.65rem 1rem; }
    .process-row p { grid-column: 2; margin-top: 0.25rem; }
    .form-row { grid-template-columns: 1fr; }
    .form-submit { width: 100%; }
    .services-aside > p { display: none; }
    .service-orb { width: 5.25rem; }
    .service-orb-number { font-size: 1.6rem; }
    .service-orb small { font-size: 0.6rem; }
    .services-aside { position: relative; top: auto; }
    .service-toggle { grid-template-columns: 2.25rem 1fr 2.7rem; }
    .service-panel-inner { grid-template-columns: 1fr; gap: 1.5rem; padding: 0 0 2.25rem 2.25rem; }
    .service-panel ul { grid-template-columns: 1fr; }
    .identity-canvas { height: 42svh; }
    .identity-canvas-meta { right: 0.9rem; bottom: 0.6rem; left: 0.9rem; font-size: 0.65rem; }
    .identity-layer { padding: 1.25rem 1.25rem 2.25rem; }
    .construct { width: min(100%, 15rem); }
    .applications { width: min(70%, 15rem); }
    .app-card { padding: 0.6rem 0.7rem; }
    .app-card-front img { width: 2rem; }
    .app-card-front strong { font-size: 0.8rem; }
    .app-card small, .app-post small { font-size: 0.5rem; }
    .app-card-back strong { font-size: 0.75rem; }
    .app-post { padding: 0.6rem; }
    .app-post strong { font-size: 0.85rem; }
    .swatches { height: 85%; gap: 0.35rem; }
    .swatch { padding: 0.5rem 0.35rem; font-size: 0.56rem; }
    .type-specimen-hero strong { font-size: clamp(3.6rem, 18vw, 5rem); }
    .type-specimen-hero span { font-size: 0.6rem; }
    .type-row { grid-template-columns: 4.5rem 1fr; gap: 0.5rem; padding: 0.35rem 0; }
    .type-row small { font-size: 0.6rem; }
    .type-row:nth-child(2) span { font-size: 1.1rem; }
    .type-row:nth-child(3) span, .type-row:nth-child(4) span { font-size: 0.78rem; }
    .portfolio-pin { height: 100svh; min-height: 0; }
    .portfolio-chrome { height: 48px; gap: 0.75rem; }
    .portfolio-chrome > p:last-child { display: none; }
    .project-layout {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 1rem;
        padding-top: 48px;
        padding-bottom: calc(3.5rem + env(safe-area-inset-bottom));
    }
    .project-info { flex: 0 0 auto; min-width: 0; padding: clamp(0.75rem, 2.5svh, 1.5rem) 0 0; border-right: 0; }
    .project-type { margin: 0 0 0.5rem; }
    .project-info h2 { font-size: clamp(2.25rem, min(12vw, 7svh), 4.5rem); }
    .project-summary { max-width: 34rem; margin-top: 0.65rem; font-size: clamp(0.8rem, 1.9svh, 0.95rem); }
    .project-art { flex: 1 1 0; height: auto; min-height: 0; aspect-ratio: auto; margin-bottom: 0; }
    .project-art.project-image { aspect-ratio: auto; }
    .portfolio-controls { bottom: calc(1rem + env(safe-area-inset-bottom)); }
    .portfolio-progress { width: 7rem; }
    .proof-row a { grid-template-columns: 1fr auto; gap: 0.4rem 1rem; padding: 1.5rem 0; }
    .proof-row .proof-num { display: none; }
    .proof-row .proof-sector { grid-column: 1; grid-row: 2; }
    .proof-row i { grid-column: 2; grid-row: 1; }
    .proof-thumb { display: block; grid-column: 1 / -1; width: 100%; aspect-ratio: 6000 / 3084; object-fit: cover; margin-bottom: 0.6rem; }
    .proof-facts { grid-template-columns: 1fr; gap: 1.25rem; }
    .cta-section { min-height: 0; }
    .cta-inner { min-height: 0; gap: 3rem; padding-bottom: 3rem; }
    .cta-availability { margin-top: 1rem; }
    .cta-title { margin: 0; font-size: clamp(2.8rem, 13vw, 5.5rem); }
    .cta-orb { position: relative; top: auto; right: auto; align-self: flex-end; margin-right: 0.75rem; width: clamp(8.5rem, 38vw, 10rem); transform: none; }
    .cta-bottom { gap: 1.4rem; margin-top: 0; }
    .footer-inner { padding-top: 4.5rem; }
    .footer-top { --bs-gutter-x: 1.5rem; --bs-gutter-y: 3.5rem; }
    .footer-wordmark { flex-direction: column; align-items: flex-start; margin-top: 5rem; font-size: clamp(4.6rem, 22vw, 8rem); }
    .footer-wordmark-logo { align-self: center; width: clamp(4rem, 16vw, 6rem); }
    .footer-wordmark > span:last-child { align-self: flex-end; }
    .footer-bottom { grid-template-columns: 1fr auto; gap: 0.8rem; }
    .footer-bottom p:nth-child(2) { display: none; }
    .back-to-top span { display: none; }
    .stat-item + .stat-item { border-left: 0; border-top: 1px solid var(--line-light); padding-left: 0; }
    .cta-email, .footer-email { overflow-wrap: anywhere; }
    .capability-list li { flex-direction: column; gap: 0.25rem; }
    .capability-list small { text-align: left; }
}
@media (max-width: 767.98px) and (max-height: 500px) {
    .project-layout { flex-direction: row; gap: 1rem; padding-bottom: 2.75rem; }
    .project-info { flex: 0 0 38%; width: 38%; }
    .project-info h2 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
    .project-summary { font-size: 0.7rem; margin-top: 0.5rem; }
    .project-art { width: 0; }
    .identity-canvas { position: relative; top: auto; height: 70svh; }
}
@media (max-height: 760px) and (min-width: 992px) {
    .hero-title { font-size: min(9.4vw, 15svh); }
    .visual-stage { width: min(18vw, 30svh); }
}

/* Static fallbacks (no GSAP / reduced motion) ----------------------------- */
.portfolio-showcase.is-static .portfolio-pin { height: auto; min-height: 0; overflow: visible; }
.portfolio-showcase.is-static .portfolio-chrome,
.portfolio-showcase.is-static .portfolio-controls { display: none; }
.portfolio-showcase.is-static .portfolio-slides { position: static; overflow: visible; }
.portfolio-showcase.is-static .portfolio-slide { position: relative; clip-path: none; }
.portfolio-showcase.is-static .project-layout { min-height: 90svh; }
@media (max-width: 767.98px) {
    .portfolio-showcase.is-static .project-layout { height: auto !important; min-height: 0; }
    .portfolio-showcase.is-static .project-art { flex: 0 0 auto; width: 100%; min-height: 0; aspect-ratio: 6000 / 3084; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
    .page-transition { display: none; }
    .portfolio-pin { height: auto; min-height: 0; overflow: visible; }
    .portfolio-chrome, .portfolio-controls { display: none; }
    .portfolio-slides { position: static; overflow: visible; }
    .portfolio-slide { position: relative; min-height: 90svh; clip-path: none !important; }
}
@media (max-width: 767.98px) and (prefers-reduced-motion: reduce) {
    .portfolio-slide { min-height: 0; }
}
