/* ==========================================================================
   PERIPETECH.COM / Technology, In Motion.
   01 Tokens  02 Reset  03 Typography  04 Buttons  05 Header  06 Hero
   07 Sections  08 Components  09 Footer  10 Motion  11 Responsive  12 A11y
   ========================================================================== */

/* 01 / TOKENS ============================================================= */
:root {
    --carbon: #101416;
    --deep-carbon: #171D1F;
    --graphite: #252D30;

    --mineral-blue: #487A8A;
    --signal-blue: #5C9FB2;

    --signal-green: #8CCB72;
    --soft-green: #DCEED6;

    --silver: #C7CED0;
    --mist: #E8EDEF;

    --paper: #F5F7F6;
    --white: #FFFFFF;

    --text: #172022;
    --muted: #687476;

    --line: rgba(16, 20, 22, 0.13);
    --line-light: rgba(232, 237, 239, 0.14);
    --line-light-strong: rgba(232, 237, 239, 0.28);

    --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
    --display: "Space Grotesk", "Manrope", system-ui, sans-serif;
    --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

    --shell: 1360px;
    --gutter: clamp(20px, 5vw, 64px);
    --section-y: clamp(76px, 10vw, 152px);

    --radius: 4px;
    --radius-lg: 10px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
    --dur: 0.5s;

    --grad: linear-gradient(135deg, #487A8A, #8CCB72);
}

/* 02 / RESET ============================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 96px;
}

body {
    font-family: var(--sans);
    font-size: clamp(15px, 1.05vw, 17px);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text);
    background: var(--paper);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

body.is-locked { overflow: hidden; }

.shell {
    width: 100%;
    max-width: var(--shell);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

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

.skip-link {
    position: fixed;
    top: 10px; left: 10px;
    z-index: 200;
    padding: 10px 16px;
    font: 500 12px/1 var(--mono);
    letter-spacing: 0.08em;
    color: var(--carbon);
    background: var(--signal-green);
    border-radius: var(--radius);
    transform: translateY(-160%);
    transition: transform 0.3s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

/* 03 / TYPOGRAPHY ========================================================= */
.h2 {
    font-family: var(--display);
    font-size: clamp(31px, 4.1vw, 60px);
    font-weight: 500;
    line-height: 1.03;
    letter-spacing: -0.035em;
    color: var(--carbon);
    text-wrap: balance;
}
.h2--light { color: var(--mist); }
.muted-head { color: var(--muted); }

.lede {
    max-width: 46ch;
    font-size: clamp(16px, 1.25vw, 19.5px);
    line-height: 1.62;
    color: var(--muted);
    text-wrap: pretty;
}
.lede--light { color: var(--silver); }
.lede--right { align-self: end; }

.body {
    max-width: 52ch;
    color: var(--muted);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.55em;
    margin-bottom: 22px;
    font: 500 11px/1 var(--mono);
    letter-spacing: 0.18em;
    color: var(--mineral-blue);
    text-transform: uppercase;
}
.eyebrow--light { color: var(--signal-blue); }
.eyebrow__sep { color: var(--signal-green); }

.mono-label {
    font: 500 10.5px/1.5 var(--mono);
    letter-spacing: 0.16em;
    color: var(--muted);
    text-transform: uppercase;
}

.accent {
    position: relative;
    font-style: normal;
    color: var(--signal-green);
}
.accent::after {
    content: "";
    position: absolute;
    right: 0.06em; bottom: 0.16em;
    width: 100%; height: 2px;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: right;
    animation: draw-underline 1.1s var(--ease) 0.85s forwards;
}
@keyframes draw-underline { to { transform: scaleX(1); } }

.dot {
    display: inline-block;
    flex: none;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--silver);
}
.dot--green { background: var(--signal-green); }
.dot--blue { background: var(--signal-blue); }
.dot--pulse { animation: dot-pulse 2.4s var(--ease-io) infinite; }
@keyframes dot-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(140, 203, 114, 0.5); }
    50% { box-shadow: 0 0 0 5px rgba(140, 203, 114, 0); }
}

/* 04 / BUTTONS & LINKS ==================================================== */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.7em;
    padding: 15px 26px;
    font-family: var(--sans);
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: 0.005em;
    border: 1px solid transparent;
    border-radius: var(--radius);
    transition: transform 0.35s var(--ease), background 0.3s var(--ease),
                border-color 0.3s var(--ease), box-shadow 0.35s var(--ease),
                color 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn__arrow {
    display: inline-block;
    transition: transform 0.35s var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn:hover .btn__arrow--diag { transform: translate(3px, -3px); }

.btn--primary {
    color: var(--carbon);
    background: var(--mist);
}
.btn--primary:hover {
    color: var(--carbon);
    background: var(--white);
    box-shadow: 0 10px 26px -12px rgba(72, 122, 138, 0.55);
}
.btn--primary::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 2px;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}
.btn--primary:hover::before { transform: scaleX(1); }

.btn--ghost {
    color: var(--mist);
    border-color: var(--line-light-strong);
}
.btn--ghost:hover {
    color: var(--white);
    background: rgba(232, 237, 239, 0.07);
    border-color: var(--signal-blue);
}

.btn--dark {
    color: var(--mist);
    background: var(--carbon);
}
.btn--dark:hover {
    background: var(--graphite);
    box-shadow: 0 12px 28px -14px rgba(16, 20, 22, 0.6);
}

.btn--sm { padding: 11px 18px; font-size: 13.5px; }
.btn--lg { padding: 18px 32px; font-size: 15.5px; }
.btn--block { justify-content: center; width: 100%; }

.link-quiet {
    font: 500 13.5px/1 var(--sans);
    color: var(--silver);
}
.link-quiet:hover { color: var(--signal-green); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    font-weight: 600;
    color: var(--carbon);
    border-bottom: 1px solid var(--line);
    padding-bottom: 6px;
    width: fit-content;
    transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.link-arrow:hover { color: var(--mineral-blue); border-color: var(--mineral-blue); }
.link-arrow:hover .btn__arrow { transform: translateX(4px); }
.link-arrow .btn__arrow { transition: transform 0.35s var(--ease); }

/* 05 / HEADER ============================================================= */
.site-header {
    position: fixed;
    top: 0; left: 0;
    z-index: 100;
    width: 100%;
    transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease),
                padding 0.4s var(--ease);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding-block: 22px;
    transition: padding-block 0.4s var(--ease);
}
.site-header__line {
    display: block;
    height: 1px;
    background: var(--line-light);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}
.site-header.is-stuck {
    background: rgba(16, 20, 22, 0.82);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.site-header.is-stuck .site-header__inner { padding-block: 13px; }
.site-header.is-stuck .site-header__line { opacity: 1; }
.site-header.is-stuck .logo__desc { max-height: 0; opacity: 0; }
.site-header.is-stuck .logo__mark { width: 30px; height: 30px; }

.logo {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: var(--mist);
}
.logo__mark {
    display: grid;
    place-items: center;
    flex: none;
    width: 36px; height: 36px;
    color: var(--mist);
    transition: width 0.4s var(--ease), height 0.4s var(--ease), color 0.3s var(--ease);
}
.logo__mark svg { width: 100%; height: 100%; }
.logo:hover .logo__mark { color: var(--signal-green); }
.logo__word {
    display: block;
    font-family: var(--display);
    font-size: 16.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1;
}
.logo__desc {
    display: block;
    overflow: hidden;
    max-height: 20px;
    margin-top: 5px;
    font: 500 8.5px/1 var(--mono);
    letter-spacing: 0.19em;
    color: var(--signal-blue);
    transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease);
}

.nav__list { display: flex; gap: clamp(14px, 2vw, 34px); }
.nav__list a {
    position: relative;
    display: block;
    padding: 6px 0;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--silver);
}
.nav__list a::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 1px;
    background: var(--signal-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
}
.nav__list a:hover { color: var(--white); }
.nav__list a:hover::after { transform: scaleX(1); }

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-toggle {
    display: none;
    place-items: center;
    width: 42px; height: 38px;
    border: 1px solid var(--line-light-strong);
    border-radius: var(--radius);
}
.nav-toggle__bar {
    display: block;
    width: 18px; height: 1.5px;
    margin: 3px auto;
    background: var(--mist);
    transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Mobile navigation */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 99;
    display: grid;
    background: var(--carbon);
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav.is-open { opacity: 1; }
.mobile-nav__inner {
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 108px var(--gutter) 40px;
    overflow-y: auto;
}
.mobile-nav__list { display: grid; gap: 2px; }
.mobile-nav__list a {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 14px 0;
    font-family: var(--display);
    font-size: clamp(26px, 8vw, 40px);
    font-weight: 500;
    letter-spacing: -0.03em;
    color: var(--mist);
    border-bottom: 1px solid var(--line-light);
}
.mobile-nav__list a:hover, .mobile-nav__list a:focus-visible { color: var(--signal-green); }
.mobile-nav__idx {
    font: 500 10.5px/1 var(--mono);
    letter-spacing: 0.14em;
    color: var(--mineral-blue);
}
.mobile-nav__foot { margin-top: auto; color: var(--mineral-blue); }

/* 06 / HERO =============================================================== */
.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: min(100svh, 1020px);
    padding: clamp(130px, 17vh, 190px) 0 0;
    overflow: hidden;
    background: var(--deep-carbon);
    color: var(--mist);
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(120% 90% at 78% 34%, rgba(72, 122, 138, 0.20), transparent 62%),
        radial-gradient(70% 60% at 10% 100%, rgba(140, 203, 114, 0.08), transparent 70%);
    pointer-events: none;
}
.hero__grid-lines {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(to right, rgba(232, 237, 239, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(232, 237, 239, 0.05) 1px, transparent 1px);
    background-size: clamp(60px, 8vw, 110px) clamp(60px, 8vw, 110px);
    mask-image: radial-gradient(120% 100% at 50% 40%, #000 30%, transparent 82%);
    -webkit-mask-image: radial-gradient(120% 100% at 50% 40%, #000 30%, transparent 82%);
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: center;
    gap: clamp(30px, 5vw, 70px);
    flex: 1;
    padding-bottom: clamp(56px, 8vh, 96px);
}

.hero__title {
    margin: 6px 0 26px;
    font-family: var(--display);
    font-size: clamp(50px, 7.5vw, 108px);
    font-weight: 500;
    line-height: 0.93;
    letter-spacing: -0.045em;
    color: var(--white);
}
.hero__line { display: block; }
.hero__lede {
    max-width: 42ch;
    font-size: clamp(16px, 1.3vw, 20px);
    line-height: 1.58;
    color: var(--silver);
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}
.hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin-top: clamp(38px, 6vh, 62px);
    padding-top: 22px;
    border-top: 1px solid var(--line-light);
}
.hero__tags li {
    font: 500 10.5px/1 var(--mono);
    letter-spacing: 0.16em;
    color: var(--silver);
    text-transform: uppercase;
}
.hero__tags li::before {
    content: "";
    display: inline-block;
    width: 4px; height: 4px;
    margin-right: 9px;
    vertical-align: 2px;
    background: var(--mineral-blue);
}
.hero__tags li:first-child::before { background: var(--signal-green); }

/* Ticker */
.hero__ticker {
    position: relative;
    overflow: hidden;
    padding: 13px 0;
    border-top: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
    background: rgba(16, 20, 22, 0.4);
    user-select: none;
}
.hero__ticker-track {
    display: flex;
    align-items: center;
    gap: 34px;
    width: max-content;
    animation: ticker 46s linear infinite;
}
.hero__ticker-track span {
    font: 500 10.5px/1 var(--mono);
    letter-spacing: 0.22em;
    color: var(--silver);
    white-space: nowrap;
}
.hero__ticker-track i { width: 5px; height: 5px; background: var(--mineral-blue); flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* 07 / MOTION FIELD (hero visual) ========================================= */
.motion-field {
    position: relative;
    width: 100%;
    max-width: 620px;
    margin-inline: auto;
    aspect-ratio: 1;
}
.motion-field__svg { width: 100%; height: 100%; overflow: visible; }
.motion-field__svg .mf-grid path { fill: none; stroke: rgba(232,237,239,0.07); stroke-width: 1; }
.motion-field__svg .mf-orbits circle {
    fill: none;
    stroke: rgba(199, 206, 208, 0.17);
    stroke-width: 1;
    transform-origin: 280px 280px;
}
.motion-field__svg .mf-orbits circle:nth-child(1) { animation: spin 100s linear infinite; }
.motion-field__svg .mf-orbits__dash {
    stroke-dasharray: 3 9;
    stroke: rgba(92, 159, 178, 0.4);
    animation: spin-rev 70s linear infinite;
}
.motion-field__svg .mf-orbits circle:nth-child(3) { stroke: rgba(199,206,208,0.22); }
.motion-field__svg .mf-links path {
    fill: none;
    stroke: rgba(199, 206, 208, 0.24);
    stroke-width: 1;
}
.motion-field__svg .mf-ticks path { stroke: rgba(140, 203, 114, 0.55); stroke-width: 1.5; fill: none; }
.motion-field__svg .mf-nodes circle {
    fill: var(--deep-carbon);
    stroke: var(--silver);
    stroke-width: 1.4;
}
.motion-field__svg .mf-nodes circle:nth-child(odd) { stroke: var(--signal-blue); }
.motion-field__svg .mf-signal { fill: var(--signal-green); }
.motion-field__svg .mf-signal--blue { fill: var(--signal-blue); }
.motion-field__svg .mf-core__plate { fill: rgba(37, 45, 48, 0.72); }
.motion-field__svg .mf-core__ring {
    fill: none;
    stroke: rgba(199, 206, 208, 0.34);
    stroke-width: 1;
}
.motion-field__svg .mf-core__mark { color: var(--mist); overflow: visible; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }

/* 08 / HERO TECH LABELS =================================================== */
.mf-label {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font: 500 9px/1 var(--mono);
    letter-spacing: 0.2em;
    color: rgba(199, 206, 208, 0.72);
    white-space: nowrap;
    pointer-events: none;
}
.mf-label .dot { width: 5px; height: 5px; background: var(--signal-green); }
.mf-label--tl { top: 4%; left: 0; }
.mf-label--tr { top: 4%; right: 0; }
.mf-label--ml { top: 47%; left: -2%; }
.mf-label--mr { top: 47%; right: -2%; }
.mf-label--bl { bottom: 4%; left: 0; color: var(--signal-green); }
.mf-label--br { bottom: 4%; right: 0; }

/* 09 / SECTION SHELLS ===================================================== */
.section {
    position: relative;
    padding-block: var(--section-y);
}
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--mist { background: var(--mist); }
.section--carbon { background: var(--carbon); color: var(--mist); }
.section--deep { background: var(--deep-carbon); color: var(--mist); }

.section__head {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: end;
    gap: clamp(22px, 4vw, 64px);
    padding-bottom: clamp(40px, 5vw, 68px);
    margin-bottom: clamp(34px, 4vw, 56px);
    border-bottom: 1px solid var(--line);
}
.section__head--light { border-color: var(--line-light); }

/* Introduction */
.intro__head { max-width: 900px; }
.intro__head .lede { margin-top: 26px; max-width: 62ch; }

.statement {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(16px, 4vw, 62px);
    margin-top: clamp(56px, 8vw, 104px);
}
.statement__word {
    font-family: var(--display);
    font-size: clamp(40px, 8.4vw, 122px);
    font-weight: 600;
    line-height: 0.9;
    letter-spacing: -0.05em;
    color: var(--carbon);
    text-transform: uppercase;
}
.statement__word:nth-child(2) { color: var(--mineral-blue); }
.statement__word:nth-child(3) {
    -webkit-text-stroke: 1.4px var(--carbon);
    color: transparent;
}

.tech-rule {
    position: relative;
    margin-top: clamp(34px, 5vw, 58px);
}
.tech-rule svg { width: 100%; height: 24px; overflow: visible; }
.tech-rule__base { fill: none; stroke: var(--line); stroke-width: 1; }
.tech-rule__draw {
    fill: none;
    stroke: var(--mineral-blue);
    stroke-width: 1.4;
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
}
.reveal.is-in .tech-rule__draw,
.tech-rule.is-in .tech-rule__draw { animation: draw-line 2.2s var(--ease-io) forwards; }
@keyframes draw-line { to { stroke-dashoffset: 0; } }
.tech-rule__dot { fill: var(--signal-green); }
.tech-rule__a, .tech-rule__b { position: absolute; top: 26px; }
.tech-rule__a { left: 0; }
.tech-rule__b { right: 0; }

/* 10 / CAPABILITY CARDS =================================================== */
.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}
.card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    padding: clamp(26px, 2.6vw, 42px);
    background: var(--white);
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
                background 0.4s var(--ease);
}
.card:hover, .card:focus-visible {
    transform: translateY(-4px);
    background: var(--paper);
    box-shadow: 0 22px 44px -26px rgba(16, 20, 22, 0.35);
    z-index: 2;
    outline: none;
}
.card:focus-visible { box-shadow: 0 0 0 2px var(--mineral-blue) inset; }
.card__idx { position: absolute; top: clamp(26px, 2.6vw, 42px); right: clamp(26px, 2.6vw, 42px); color: var(--silver); }
.card__icon {
    display: grid;
    place-items: center;
    width: 52px; height: 52px;
    margin-bottom: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.card__icon svg {
    width: 30px; height: 30px;
    fill: none;
    stroke: var(--carbon);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.4s var(--ease);
}
.card__icon svg .fill-accent { fill: var(--signal-green); stroke: none; }
.card:hover .card__icon { border-color: var(--mineral-blue); background: var(--white); }
.card:hover .card__icon svg { stroke: var(--mineral-blue); }
.card__title {
    font-family: var(--display);
    font-size: clamp(19px, 1.5vw, 24px);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--carbon);
}
.card__claim {
    margin-top: 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--mineral-blue);
}
.card__body {
    margin-top: 10px;
    padding-bottom: 28px;
    font-size: 15px;
    color: var(--muted);
}
.card__signal {
    display: block;
    height: 2px;
    margin-top: auto;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.55s var(--ease);
}
.card:hover .card__signal, .card:focus-visible .card__signal { transform: scaleX(1); }

/* 11 / ARCHITECTURE DIAGRAM =============================================== */
.arch__stage { position: relative; }
.arch__svg {
    width: 100%;
    max-width: 900px;
    height: auto;
    margin-inline: auto;
}
.arch-links path {
    fill: none;
    stroke: rgba(199, 206, 208, 0.26);
    stroke-width: 1.2;
    transition: stroke 0.35s var(--ease), stroke-width 0.35s var(--ease);
}
.arch-links path.is-active {
    stroke: var(--signal-green);
    stroke-width: 2;
}
.arch-links path.is-dim { stroke: rgba(199, 206, 208, 0.1); }
.arch-pulse { fill: var(--signal-green); }

.arch-node rect {
    fill: rgba(37, 45, 48, 0.62);
    stroke: rgba(199, 206, 208, 0.28);
    stroke-width: 1;
    transition: fill 0.35s var(--ease), stroke 0.35s var(--ease);
}
.arch-node text {
    fill: var(--mist);
    font-family: "IBM Plex Mono", monospace;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-anchor: middle;
    transition: fill 0.35s var(--ease);
}
.arch-node { cursor: pointer; }
.arch-node:hover rect, .arch-node:focus-visible rect,
.arch-node.is-active rect {
    fill: rgba(72, 122, 138, 0.3);
    stroke: var(--signal-blue);
}
.arch-node:focus-visible { outline: none; }
.arch-node:focus-visible rect { stroke: var(--signal-green); stroke-width: 2; }
.arch-node.is-linked rect { stroke: var(--signal-green); }
.arch-node.is-dim rect { fill: rgba(37, 45, 48, 0.3); stroke: rgba(199, 206, 208, 0.12); }
.arch-node.is-dim text { fill: rgba(232, 237, 239, 0.35); }
.arch-node--key rect { fill: rgba(72, 122, 138, 0.22); stroke: rgba(92, 159, 178, 0.5); }
.arch-node--base rect { fill: rgba(140, 203, 114, 0.12); stroke: rgba(140, 203, 114, 0.42); }

/* Mobile-only vertical architecture stack */
.arch__vertical { display: none; gap: 0; }
.arch__layer {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border: 1px solid rgba(199, 206, 208, 0.24);
    border-radius: var(--radius);
    background: rgba(37, 45, 48, 0.55);
    font: 500 12px/1 var(--mono);
    letter-spacing: 0.18em;
    color: var(--mist);
    text-transform: uppercase;
}
.arch__layer--key { border-color: rgba(92, 159, 178, 0.55); background: rgba(72, 122, 138, 0.24); }
.arch__layer--base { border-color: rgba(140, 203, 114, 0.45); background: rgba(140, 203, 114, 0.13); }
.arch__layer span.mono-label { margin-left: auto; color: var(--mineral-blue); letter-spacing: 0.14em; }
.arch__connector {
    justify-self: center;
    width: 1px;
    height: 26px;
    background: linear-gradient(var(--signal-green), rgba(199, 206, 208, 0.22));
}
.arch__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.arch__pair .arch__layer { font-size: 11px; letter-spacing: 0.14em; }

.arch__legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 28px;
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid var(--line-light);
    font: 500 11px/1 var(--mono);
    letter-spacing: 0.14em;
    color: var(--silver);
    text-transform: uppercase;
}
.arch__legend li { display: inline-flex; align-items: center; gap: 9px; }
.arch__legend .mono-label { margin-left: auto; color: var(--mineral-blue); }

/* 12 / METHOD ============================================================= */
.method__loop { margin-bottom: clamp(16px, 3vw, 34px); }
.method__loop svg { width: 100%; height: clamp(50px, 6vw, 80px); overflow: visible; }
.method__loop-base {
    fill: none;
    stroke: var(--line);
    stroke-width: 1.4;
    stroke-dasharray: 2200;
    stroke-dashoffset: 2200;
}
.method__loop.is-in .method__loop-base { animation: draw-line 2.6s var(--ease-io) forwards; }
.method__loop-dot { fill: var(--mineral-blue); }

.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.step {
    position: relative;
    padding: clamp(26px, 2.4vw, 40px) clamp(20px, 2vw, 34px) clamp(34px, 3vw, 50px);
    background: var(--paper);
    transition: background 0.4s var(--ease);
}
.step:hover { background: var(--white); }
.step::after {
    content: "";
    position: absolute;
    left: 0; top: -1px;
    width: 100%; height: 2px;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}
.step:hover::after { transform: scaleX(1); }
.step__num {
    display: block;
    font: 500 11px/1 var(--mono);
    letter-spacing: 0.2em;
    color: var(--mineral-blue);
}
.step__title {
    margin: 18px 0 12px;
    font-family: var(--display);
    font-size: clamp(21px, 1.9vw, 30px);
    font-weight: 500;
    letter-spacing: -0.025em;
    color: var(--carbon);
}
.step p { font-size: 15px; color: var(--muted); max-width: 30ch; }

/* 13 / TECHNOLOGY STACK =================================================== */
.stack__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(22px, 3vw, 48px);
}
.stack__col { padding-top: 22px; border-top: 1px solid var(--carbon); }
.stack__label { color: var(--carbon); letter-spacing: 0.2em; }
.stack__list { margin-top: 20px; }
.stack__list li {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 13px 0;
    font-family: var(--display);
    font-size: clamp(17px, 1.35vw, 22px);
    font-weight: 400;
    letter-spacing: -0.015em;
    color: var(--text);
    border-bottom: 1px solid var(--line);
    transition: color 0.3s var(--ease), padding-left 0.35s var(--ease);
}
.stack__list li::before {
    content: "";
    width: 5px; height: 5px;
    flex: none;
    background: var(--silver);
    transition: background 0.3s var(--ease);
}
.stack__list li:hover { color: var(--mineral-blue); padding-left: 6px; }
.stack__list li:hover::before { background: var(--signal-green); }

.disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    max-width: 78ch;
    margin-top: clamp(34px, 4vw, 56px);
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted);
}
.disclaimer .dot { margin-top: 7px; }

/* 14 / INDUSTRIES ========================================================= */
.industries__list { border-top: 1px solid var(--line); }
.industry {
    position: relative;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) minmax(0, 1.05fr) 60px;
    align-items: center;
    gap: clamp(14px, 2vw, 34px);
    padding: clamp(24px, 2.6vw, 38px) 0;
    border-bottom: 1px solid var(--line);
    transition: padding-left 0.45s var(--ease), background 0.4s var(--ease);
}
.industry:hover { padding-left: 20px; background: var(--white); }
.industry__idx { color: var(--mineral-blue); }
.industry__title {
    font-family: var(--display);
    font-size: clamp(24px, 3vw, 44px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: var(--carbon);
}
.industry p { font-size: 15.5px; color: var(--muted); }
.industry__loop {
    justify-self: end;
    width: 30px; height: 30px;
    color: var(--silver);
    opacity: 0.5;
    transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), color 0.4s var(--ease);
}
.industry:hover .industry__loop {
    opacity: 1;
    color: var(--mineral-blue);
    transform: translateX(6px);
}

/* 16 / WHY PERIPETECH ===================================================== */
.why { overflow: hidden; }
.why__orbits {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.why__orbits svg { width: 100%; height: 100%; }
.why__orbits circle {
    fill: none;
    stroke: rgba(199, 206, 208, 0.09);
    stroke-width: 1;
}
.why__orbits circle:nth-child(2) { stroke: rgba(92, 159, 178, 0.16); stroke-dasharray: 4 12; }
.why > .shell { position: relative; }
.why__title { max-width: 20ch; margin-bottom: clamp(48px, 6vw, 84px); }

.principles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--line-light);
    border-top: 1px solid var(--line-light);
}
.principle {
    padding: clamp(30px, 3.4vw, 54px) clamp(22px, 2.6vw, 44px);
    background: var(--deep-carbon);
    transition: background 0.45s var(--ease);
}
.principle:hover { background: rgba(37, 45, 48, 0.7); }
.principle dt {
    font-family: var(--display);
    font-size: clamp(30px, 4.4vw, 66px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.045em;
    color: var(--mist);
    text-transform: uppercase;
}
.principle:hover dt { color: var(--white); }
.principle dd {
    max-width: 34ch;
    margin-top: 20px;
    padding-top: 20px;
    font-size: clamp(15px, 1.15vw, 18px);
    color: var(--silver);
    border-top: 1px solid var(--line-light);
}

/* 17 / SPLIT LAYOUTS / PRODUCT SHOWCASE / ABOUT =========================== */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
    gap: clamp(34px, 5vw, 86px);
}
.split--reverse .split__visual { order: 2; }
.split--reverse .split__copy { order: 1; }
.split__copy .h2 { margin-bottom: 22px; }
.split__copy .lede + .body { margin-top: 18px; }
.split__copy .btn { margin-top: 34px; }

.ticks { margin-top: 28px; }
.ticks li {
    display: flex;
    align-items: baseline;
    gap: 13px;
    padding: 11px 0;
    font-size: 15px;
    color: var(--text);
    border-bottom: 1px solid var(--line);
}
.ticks li::before {
    content: "";
    flex: none;
    width: 12px; height: 6px;
    border-left: 1.5px solid var(--signal-green);
    border-bottom: 1.5px solid var(--signal-green);
    transform: rotate(-45deg) translateY(-1px);
}

.ui-mock {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 40px 80px -50px rgba(16, 20, 22, 0.45);
    overflow: hidden;
}
.ui-mock__chrome {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}
.ui-mock__mark { width: 18px; height: 18px; color: var(--carbon); }
.ui-mock__chrome .mono-label { color: var(--mineral-blue); }
.ui-mock__dots { display: flex; gap: 5px; margin-left: auto; }
.ui-mock__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--silver); }
.ui-mock__body { display: grid; grid-template-columns: 74px minmax(0, 1fr); }
.ui-mock__side {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 14px;
    border-right: 1px solid var(--line);
    background: var(--paper);
}
.ui-mock__navitem { display: block; height: 7px; background: var(--silver); opacity: 0.55; border-radius: 2px; }
.ui-mock__navitem--short { width: 60%; }
.ui-mock__navitem.is-active { background: var(--mineral-blue); opacity: 1; }
.ui-mock__main { padding: 20px; }
.ui-mock__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ui-mock__card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    position: relative;
}
.ui-mock__card b {
    font-family: var(--display);
    font-size: 20px;
    font-weight: 500;
    color: var(--carbon);
}
.ui-mock__card .dot { position: absolute; top: 12px; right: 12px; }
.ui-mock__chart {
    margin-top: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}
.ui-mock__chart svg { width: 100%; height: clamp(80px, 10vw, 118px); }
.ui-mock__chart-line { fill: none; stroke: var(--mineral-blue); stroke-width: 2; }
.ui-mock__bars rect { fill: var(--silver); opacity: 0.6; }
.ui-mock__bars rect:nth-child(7), .ui-mock__bars rect:nth-child(8) { fill: var(--signal-green); opacity: 1; }
.ui-mock__feed { margin-top: 12px; }
.ui-mock__feed li {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
}
.ui-mock__feed li span { flex: 1; height: 6px; background: var(--mist); border-radius: 3px; }
.ui-mock__feed li:nth-child(2) span { max-width: 72%; }
.ui-mock__feed li:nth-child(3) span { max-width: 55%; }

.about__art { position: relative; }
.about__art svg { width: 100%; height: auto; }
.about-art__grid path { fill: none; stroke: var(--line); stroke-width: 1; }
.about-art__orbits circle, .about-art__orbits ellipse {
    fill: none;
    stroke: rgba(72, 122, 138, 0.32);
    stroke-width: 1;
    transform-origin: 260px 260px;
}
.about-art__orbits .dashed { stroke-dasharray: 3 9; animation: spin 90s linear infinite; }
.about-art__orbits ellipse:last-child { stroke: rgba(104, 116, 118, 0.28); }
.about-art__nodes circle { fill: var(--white); stroke: var(--mineral-blue); stroke-width: 1.4; }
.about-art__signal { fill: var(--signal-green); }
.about-art__mark { color: var(--carbon); overflow: visible; }

/* 18 / SIGNAL SECTION ===================================================== */
.signal__head { max-width: 900px; margin-bottom: clamp(48px, 6vw, 88px); }
.signal__head .h2 { max-width: 24ch; }

.signal__flow {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}
.signal__track {
    position: absolute;
    top: 9px;
    left: 10%;
    width: 80%;
    height: 1px;
    background: var(--line);
    overflow: visible;
}
.signal__pulse {
    position: absolute;
    top: -3.5px; left: 0;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--signal-green);
    box-shadow: 0 0 0 4px rgba(140, 203, 114, 0.22);
    opacity: 0;
}
.signal__flow.is-running .signal__pulse { animation: signal-travel 4.4s var(--ease-io) 0.2s forwards; }
@keyframes signal-travel {
    0% { left: 0; opacity: 0; }
    6% { opacity: 1; }
    94% { opacity: 1; }
    100% { left: 100%; opacity: 1; }
}

.signal__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}
.signal__node {
    position: relative;
    width: 19px; height: 19px;
    border: 1px solid var(--silver);
    border-radius: 50%;
    background: var(--mist);
    transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.signal__node::after {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: var(--silver);
    transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.signal__step.is-lit .signal__node { border-color: var(--signal-green); }
.signal__step.is-lit .signal__node::after { background: var(--signal-green); transform: scale(1.15); }
.signal__label {
    font-family: var(--display);
    font-size: clamp(18px, 2.1vw, 30px);
    font-weight: 500;
    letter-spacing: -0.03em;
    color: var(--carbon);
}
.signal__meta { color: var(--mineral-blue); }

/* 19 / INSIGHTS =========================================================== */
.editorials {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 56px);
}
.editorial {
    display: flex;
    flex-direction: column;
    padding-top: 24px;
    border-top: 1px solid var(--carbon);
}
.editorial__meta { color: var(--mineral-blue); }
.editorial__meta span { color: var(--signal-green); }
.editorial__title {
    margin: 22px 0 14px;
    font-family: var(--display);
    font-size: clamp(21px, 2.2vw, 31px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--carbon);
    max-width: 22ch;
}
.editorial__title a { transition: color 0.3s var(--ease); }
.editorial:hover .editorial__title a { color: var(--mineral-blue); }
.editorial p { font-size: 15.5px; color: var(--muted); padding-bottom: 30px; }
.editorial__rule {
    display: block;
    height: 1px;
    margin-top: auto;
    background: var(--line);
    position: relative;
}
.editorial__rule::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.55s var(--ease);
}
.editorial:hover .editorial__rule::after { transform: scaleX(1); }

/* 20 / IDENTITY / MARK VARIANTS =========================================== */
.identity__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: clamp(14px, 1.6vw, 24px);
}
.mark-tile__stage {
    display: grid;
    place-items: center;
    min-height: clamp(140px, 14vw, 178px);
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color 0.4s var(--ease);
}
.mark-tile:hover .mark-tile__stage { border-color: var(--mineral-blue); }
.mark-tile__stage--light { background: var(--paper); }
.mark-tile__stage--dark { background: var(--carbon); border-color: transparent; }
.mark-tile__stage--mono { background: var(--mist); }
.mark-tile__stage--app { background: var(--paper); }
.mark-tile figcaption { margin-top: 14px; color: var(--mineral-blue); }
.mark-tile__symbol { width: clamp(64px, 7vw, 88px); color: var(--carbon); }
.mark-tile__symbol--mono { filter: grayscale(1); }
.mark-tile__app {
    display: grid;
    place-items: center;
    width: 78px; height: 78px;
    padding: 13px;
    background: var(--carbon);
    border-radius: 18px;
    color: var(--mist);
    box-shadow: 0 16px 32px -18px rgba(16, 20, 22, 0.7);
}

.lockup { display: inline-flex; align-items: center; gap: 12px; color: var(--carbon); }
.lockup svg { width: 34px; height: 34px; }
.lockup--light { color: var(--mist); }
.lockup__type b {
    display: block;
    font-family: var(--display);
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1;
}
.lockup__type i {
    display: block;
    margin-top: 5px;
    font: 500 7.5px/1 var(--mono);
    font-style: normal;
    letter-spacing: 0.18em;
    color: var(--mineral-blue);
}

/* 21 / FINAL CTA ========================================================== */
.cta { overflow: hidden; text-align: center; }
.cta__field { position: absolute; inset: 0; pointer-events: none; }
.cta__field svg { width: 100%; height: 100%; }
.cta-field__grid path { fill: none; stroke: rgba(232, 237, 239, 0.05); stroke-width: 1; }
.cta-field__orbits circle {
    fill: none;
    stroke: rgba(199, 206, 208, 0.12);
    stroke-width: 1;
    transform-origin: 600px 350px;
}
.cta-field__orbits .dashed {
    stroke: rgba(92, 159, 178, 0.3);
    stroke-dasharray: 3 10;
    animation: spin 120s linear infinite;
}
.cta-field__links path { fill: none; stroke: rgba(199, 206, 208, 0.14); stroke-width: 1; }
.cta-field__signal { fill: var(--signal-green); }
.cta-field__signal--blue { fill: var(--signal-blue); }

.cta__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}
.cta__logo { width: clamp(76px, 9vw, 112px); color: var(--mist); }
.cta__logo svg { width: 100%; height: auto; animation: float-soft 9s var(--ease-io) infinite; }
@keyframes float-soft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.cta__title { max-width: 22ch; margin-top: 8px; }
.cta__inner .lede { max-width: 44ch; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 14px; }
.cta__foot {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: clamp(30px, 4vw, 54px);
    padding-top: 24px;
    border-top: 1px solid var(--line-light);
    color: var(--signal-green);
}

/* 22 / FOOTER ============================================================= */
.footer {
    padding-top: clamp(60px, 7vw, 104px);
    background: var(--deep-carbon);
    color: var(--silver);
    border-top: 1px solid var(--line-light);
}
.footer__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: clamp(40px, 5vw, 80px);
    padding-bottom: clamp(48px, 6vw, 84px);
}
.footer__word {
    font-family: var(--display);
    font-size: clamp(34px, 4.6vw, 66px);
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: var(--mist);
}
.footer__desc { margin-top: 12px; color: var(--signal-blue); letter-spacing: 0.2em; }
.footer__statement {
    margin-top: 28px;
    font-family: var(--display);
    font-size: clamp(18px, 1.6vw, 24px);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--white);
}
.footer__secondary { margin-top: 6px; font-size: 14.5px; color: var(--muted); }

.footer__nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 40px);
}
.footer__col h3 { margin-bottom: 18px; color: var(--mineral-blue); letter-spacing: 0.2em; }
.footer__col li { margin-bottom: 11px; }
.footer__col a { font-size: 14.5px; color: var(--silver); }
.footer__col a:hover { color: var(--signal-green); }
.footer__col a span { color: var(--mineral-blue); }

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    padding-block: 24px;
    border-top: 1px solid var(--line-light);
    font-size: 13px;
    color: var(--muted);
}
.footer__legal { display: flex; align-items: center; gap: 12px; }
.footer__legal a:hover { color: var(--mist); }

/* 23 / REVEAL MOTION ====================================================== */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal:nth-child(4) { transition-delay: 0.18s; }
.reveal:nth-child(5) { transition-delay: 0.24s; }
.reveal:nth-child(6) { transition-delay: 0.3s; }

/* 24 / RESPONSIVE ========================================================= */
@media (max-width: 1180px) {
    .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stack__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
    .nav, .site-header__actions .link-quiet { display: none; }
    .nav-toggle { display: grid; }
    .hero { min-height: auto; }
    .hero__inner {
        grid-template-columns: 1fr;
        gap: clamp(44px, 8vw, 70px);
    }
    .hero__visual { order: 2; }
    .motion-field { max-width: 520px; }
    .section__head { grid-template-columns: 1fr; align-items: start; }
    .lede--right { align-self: start; }
    .split, .split--reverse { grid-template-columns: 1fr; }
    .split--reverse .split__visual, .split--reverse .split__copy { order: unset; }
    .industry {
        grid-template-columns: 60px minmax(0, 1fr) 40px;
        row-gap: 8px;
    }
    .industry p { grid-column: 2 / 4; }
    .editorials { grid-template-columns: 1fr; }
    .editorial p { padding-bottom: 20px; }
}

@media (max-width: 820px) {
    :root { --section-y: clamp(64px, 11vw, 100px); }
    .principles { grid-template-columns: 1fr; }
    .mf-label--ml, .mf-label--mr { display: none; }

    /* Vertical architecture diagram */
    .arch__svg { display: none; }
    .arch__vertical { display: grid; }
}

@media (max-width: 640px) {
    .cards { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .stack__grid { grid-template-columns: 1fr; }
    .hero__actions .btn { width: 100%; justify-content: center; }
    .btn { padding: 14px 22px; }
    .statement { gap: 10px 24px; }
    .ui-mock__body { grid-template-columns: 56px minmax(0, 1fr); }
    .ui-mock__cards { grid-template-columns: 1fr; }
    .mf-label { font-size: 8px; letter-spacing: 0.14em; }

    /* Vertical signal flow */
    .signal__flow { grid-template-columns: 1fr; gap: 0; }
    .signal__track {
        top: 10px; left: 9px;
        width: 1px;
        height: calc(100% - 80px);
    }
    .signal__flow.is-running .signal__pulse { animation-name: signal-travel-v; }
    @keyframes signal-travel-v {
        0% { top: 0; opacity: 0; }
        6% { opacity: 1; }
        100% { top: 100%; opacity: 1; }
    }
    .signal__pulse { left: -3.5px; top: 0; }
    .signal__step {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        text-align: left;
        padding: 14px 0;
    }
    .signal__step .signal__meta { margin-left: auto; }
    .footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 25 / ACCESSIBILITY ====================================================== */
:focus-visible {
    outline: 2px solid var(--signal-green);
    outline-offset: 3px;
    border-radius: 2px;
}
.section--carbon :focus-visible,
.section--deep :focus-visible,
.footer :focus-visible,
.site-header :focus-visible,
.mobile-nav :focus-visible { outline-color: var(--signal-green); }

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
    .accent::after { transform: scaleX(1); }
    .tech-rule__draw, .method__loop-base { stroke-dashoffset: 0; }
}

@media print {
    .site-header, .mobile-nav, .hero__ticker, .cta__field, .why__orbits { display: none; }
    body { background: #fff; color: #000; }
}

