:root {
    --frame-bg: #d9dad6;
    --frame-soft: #e7e7e2;
    --frame-paper: #f1f1ec;
    --frame-ink: #1c211f;
    --frame-muted: #626a66;
    --frame-line: rgba(28, 33, 31, 0.14);
    --frame-ember: #e34c35;
    --frame-led: rgba(255, 238, 184, 0.36);
    --frame-led-strong: rgba(255, 246, 211, 0.68);
    --frame-cast: rgba(22, 25, 24, 0.26);
    --frame-dark: #171a19;
}

.grey-site,
.grey-site * {
    letter-spacing: 0;
}

.grey-site {
    min-width: 320px;
    margin: 0;
    color: var(--frame-ink);
    background: #464945;
    font-family: Manrope, Arial, sans-serif;
    line-height: 1.6;
}

.grey-site h1,
.grey-site h2,
.grey-site h3,
.grey-site p {
    overflow-wrap: anywhere;
}

.grey-site h1,
.grey-site h2,
.grey-site h3 {
    color: var(--frame-ink);
    font-family: Manrope, Arial, sans-serif;
}

.grey-site a {
    color: inherit;
}

.grey-site button,
.grey-site input,
.grey-site textarea {
    font: inherit;
}

.site-stage {
    min-height: 100vh;
    padding: 18px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent 38%),
        linear-gradient(325deg, rgba(27, 30, 28, 0.2), transparent 46%),
        #4d504c;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 -28px 70px rgba(25, 28, 26, 0.16);
}

.site-frame {
    width: min(1560px, 100%);
    min-height: calc(100vh - 36px);
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-top-color: rgba(255, 247, 214, 0.52);
    border-left-color: rgba(255, 230, 158, 0.36);
    border-radius: 8px;
    background: var(--frame-bg);
    box-shadow: -10px -8px 34px rgba(255, 238, 184, 0.24), 30px 34px 76px rgba(0, 0, 0, 0.36);
}

.frame-header {
    position: sticky;
    z-index: 80;
    top: 0;
    display: grid;
    min-height: 68px;
    align-items: center;
    padding: 0 34px;
    border-bottom: 1px solid var(--frame-line);
    background: rgba(217, 218, 214, 0.94);
    backdrop-filter: blur(18px);
    grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
}

.frame-brand {
    display: inline-flex;
    width: fit-content;
    align-items: baseline;
    gap: 12px;
    color: var(--frame-ink);
    text-decoration: none;
}

.frame-brand:hover {
    text-decoration: none;
}

.frame-brand strong {
    font-size: 0.79rem;
    font-weight: 700;
}

.frame-brand span {
    color: var(--frame-muted);
    font-family: "DM Mono", monospace;
    font-size: 0.63rem;
}

.frame-nav {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 34px;
}

.frame-nav a {
    position: relative;
    padding: 24px 0 22px;
    color: #565e5a;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.frame-nav a::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: var(--frame-ember);
    content: "";
    opacity: 0;
    transform: scaleX(0.25);
    transition: opacity 160ms ease, transform 160ms ease;
}

.frame-nav a:hover::after,
.frame-nav a[aria-current="page"]::after {
    opacity: 1;
    transform: scaleX(1);
}

.frame-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.frame-tools .search-toggle,
.frame-tools .account-link {
    display: inline-flex;
    width: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--frame-ink);
    background: transparent;
    box-shadow: none;
    font-size: 1.25rem;
    text-decoration: none;
}

.frame-tools .search-toggle:hover,
.frame-tools .account-link:hover {
    background: rgba(255, 255, 255, 0.45);
}

.header-cta,
.dark-command,
.grey-site button[type="submit"] {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 21px;
    border: 1px solid var(--frame-dark);
    border-radius: 4px;
    color: #f3f2ed;
    background: var(--frame-dark);
    box-shadow: none;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 160ms ease, color 160ms ease;
}

.header-cta {
    min-height: 36px;
    padding-inline: 16px;
    font-size: 0.68rem;
}

.header-cta:hover,
.dark-command:hover,
.grey-site button[type="submit"]:hover {
    color: var(--frame-dark);
    background: transparent;
    filter: none;
    text-decoration: none;
}

.grey-site .menu-toggle {
    display: none;
}

.grey-site .site-search {
    position: sticky;
    z-index: 75;
    top: 68px;
    width: 100%;
    padding: 18px 34px;
    border-bottom: 1px solid var(--frame-line);
    background: rgba(231, 231, 226, 0.98);
    box-shadow: none;
}

.grey-site .site-search[hidden] {
    display: none;
}

.grey-site .site-search form {
    display: grid;
    width: min(760px, 100%);
    margin: 0 auto;
    align-items: end;
    gap: 10px;
    grid-template-columns: 1fr 48px;
}

.grey-site .site-search label {
    grid-column: 1 / -1;
    color: var(--frame-muted);
    font-family: "DM Mono", monospace;
    font-size: 0.67rem;
    text-transform: uppercase;
}

.grey-site .site-search input {
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--frame-line);
    border-radius: 4px;
    color: var(--frame-ink);
    background: rgba(255, 255, 255, 0.55);
}

.grey-site .site-search button {
    width: 48px;
    min-height: 48px;
    padding: 0;
}

.section-index,
.card-number {
    margin: 0;
    color: var(--frame-muted);
    font-family: "DM Mono", monospace;
    font-size: 0.68rem;
    font-weight: 500;
    text-transform: uppercase;
}

.signal-hero {
    position: relative;
    display: grid;
    min-height: 760px;
    grid-template-columns: minmax(320px, 0.74fr) minmax(480px, 1.26fr);
    border-bottom: 1px solid var(--frame-line);
    background: var(--frame-bg);
}

.signal-copy {
    position: relative;
    z-index: 3;
    display: flex;
    max-width: 610px;
    justify-content: center;
    flex-direction: column;
    padding: 92px 30px 110px 78px;
}

.signal-copy h1 {
    max-width: 580px;
    margin: 26px 0 0;
    font-size: 5.3rem;
    font-weight: 500;
    line-height: 0.95;
    text-transform: uppercase;
}

.signal-copy h1 span {
    color: var(--frame-ember);
}

.signal-lede {
    max-width: 500px;
    margin: 30px 0 0;
    color: var(--frame-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.signal-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    margin-top: 32px;
}

.text-command,
.section-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 4px;
    border-bottom: 1px solid currentColor;
    color: var(--frame-ink);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
}

.text-command:hover,
.section-link:hover {
    color: var(--frame-ember);
    text-decoration: none;
}

.signal-visual {
    position: relative;
    min-width: 0;
    min-height: 690px;
    overflow: hidden;
    background: #d1d3cf;
}

.signal-visual::before,
.signal-visual::after {
    position: absolute;
    z-index: 1;
    content: "";
    pointer-events: none;
}

.signal-visual::before {
    top: 0;
    bottom: 0;
    left: 24%;
    width: 1px;
    background: rgba(28, 33, 31, 0.08);
}

.signal-visual::after {
    right: 0;
    bottom: 19%;
    left: 0;
    height: 1px;
    background: rgba(28, 33, 31, 0.08);
}

.mesh-statement {
    position: absolute;
    z-index: 3;
    top: 48%;
    left: 5%;
    max-width: 230px;
    margin: 0;
    color: #f4f2eb;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.12;
    text-transform: uppercase;
    text-shadow: -3px -2px 14px rgba(255, 240, 192, 0.36), 4px 5px 18px rgba(0, 0, 0, 0.38);
}

.grey-site .ai-fireframe {
    position: absolute;
    inset: 5% -4% 3% 2%;
    min-height: 0;
    overflow: visible;
}

.grey-site .ai-fireframe canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.grey-site .fire-core {
    position: absolute;
    top: 50%;
    left: 52%;
    width: 132px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.97) 0 7%, rgba(255, 246, 218, 0.95) 12%, rgba(227, 76, 53, 0.76) 29%, rgba(116, 25, 20, 0.22) 58%, transparent 72%);
    mix-blend-mode: screen;
    transform: translate(-50%, -50%);
    animation: fire-pulse 2.6s ease-in-out infinite;
    pointer-events: none;
}

.object-caption {
    position: absolute;
    z-index: 3;
    right: 30px;
    bottom: 24px;
    display: flex;
    gap: 20px;
    color: #5c6460;
    font-family: "DM Mono", monospace;
    font-size: 0.62rem;
    text-transform: uppercase;
}

.scroll-cue {
    position: absolute;
    z-index: 5;
    bottom: 22px;
    left: 50%;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(28, 33, 31, 0.25);
    border-radius: 50%;
    transform: translateX(-50%);
}

.scroll-cue span {
    width: 7px;
    height: 7px;
    border-right: 1px solid var(--frame-ink);
    border-bottom: 1px solid var(--frame-ink);
    transform: translateY(-2px) rotate(45deg);
}

.grey-section {
    padding: 96px 76px;
    border-bottom: 1px solid var(--frame-line);
}

.services-section,
.about-section {
    background: var(--frame-paper);
}

.knowledge-section {
    background: var(--frame-soft);
}

.delivery-section {
    background: #cfd1cd;
}

.section-heading {
    display: grid;
    align-items: start;
    gap: 70px;
    margin-bottom: 54px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
}

.section-heading h2,
.about-section h2,
.insight-copy h2 {
    max-width: 770px;
    margin: 14px 0 0;
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.02;
    text-transform: uppercase;
}

.section-heading > p {
    max-width: 520px;
    margin: 26px 0 0;
    color: var(--frame-muted);
    line-height: 1.75;
}

.service-grid,
.editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid {
    gap: 14px;
}

.service-grid article {
    position: relative;
    min-height: 470px;
    padding: 30px;
    border: 1px solid rgba(28, 33, 31, 0.1);
    border-top-color: rgba(255, 244, 207, 0.7);
    border-left-color: var(--frame-ember);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.38);
    box-shadow: -9px -8px 24px var(--frame-led), 18px 22px 38px rgba(31, 35, 33, 0.16);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-grid article:hover {
    border-top-color: rgba(255, 249, 224, 0.86);
    border-left-color: var(--frame-ember);
    box-shadow: -12px -10px 30px rgba(255, 236, 178, 0.32), 22px 26px 42px rgba(25, 28, 27, 0.2);
    transform: translateY(-2px);
}

.service-grid article > a {
    position: absolute;
    right: 26px;
    bottom: 24px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--frame-line);
    border-radius: 50%;
    color: var(--frame-ink);
    text-decoration: none;
}

.service-grid h3 {
    margin: 20px 0 14px;
    font-size: 1.22rem;
    font-weight: 700;
}

.service-grid article > p:not(.card-number) {
    margin: 0;
    color: var(--frame-muted);
    font-size: 0.87rem;
    line-height: 1.7;
}

.service-mark {
    position: relative;
    display: block;
    width: 124px;
    height: 124px;
    margin: 8px auto 34px;
    filter: drop-shadow(-9px -7px 7px var(--frame-led-strong)) drop-shadow(21px 25px 13px var(--frame-cast));
}

.service-mark::before,
.service-mark::after {
    position: absolute;
    content: "";
}

.service-mark-loop::before,
.service-mark-loop::after {
    inset: 17px;
    border: 8px solid #fff2cf;
    border-right-color: var(--frame-ember);
    border-radius: 50%;
}

.service-mark-loop::after {
    inset: 34px;
    border-width: 5px;
    border-bottom-color: transparent;
    transform: rotate(35deg);
}

.service-mark-triangle::before {
    top: 19px;
    left: 10px;
    width: 0;
    height: 0;
    border-right: 52px solid transparent;
    border-bottom: 88px solid var(--frame-ember);
    border-left: 52px solid transparent;
}

.service-mark-triangle::after {
    top: 45px;
    left: 37px;
    width: 0;
    height: 0;
    border-right: 25px solid transparent;
    border-bottom: 44px solid var(--frame-paper);
    border-left: 25px solid transparent;
}

.service-mark-diamond::before,
.service-mark-diamond::after {
    inset: 22px;
    border: 7px solid var(--frame-ember);
    transform: rotate(45deg);
}

.service-mark-diamond::after {
    inset: 41px;
    border-width: 4px;
    border-color: #fff4d8;
}

.editorial-grid {
    gap: 1px;
    border: 1px solid var(--frame-line);
    background: var(--frame-line);
}

.grey-site .article-card {
    display: flex;
    min-width: 0;
    min-height: 480px;
    flex-direction: column;
    border: 0;
    border-radius: 0;
    background: var(--frame-soft);
    box-shadow: none;
}

.grey-site .article-image {
    position: relative;
    display: block;
    height: 220px;
    overflow: hidden;
}

.grey-site .article-image::after {
    position: absolute;
    inset: 0;
    background: rgba(83, 88, 85, 0.15);
    content: "";
    transition: background 180ms ease;
}

.grey-site .article-card:hover .article-image::after {
    background: rgba(83, 88, 85, 0.02);
}

.grey-site .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.45) saturate(0.7);
    transition: filter 180ms ease, transform 300ms ease;
}

.grey-site .article-card:hover .article-image img {
    filter: grayscale(0.1) saturate(0.9);
    transform: scale(1.025);
}

.grey-site .article-card-body {
    display: flex;
    min-height: 260px;
    flex: 1;
    flex-direction: column;
    padding: 26px;
}

.grey-site .article-card h3 {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.35;
}

.grey-site .article-card h3 a {
    color: var(--frame-ink);
    text-decoration: none;
}

.grey-site .article-card-body > p {
    display: -webkit-box;
    margin: 16px 0 20px;
    overflow: hidden;
    color: var(--frame-muted);
    font-size: 0.78rem;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.grey-site .article-card-meta {
    display: grid;
    margin-top: auto;
    color: var(--frame-muted);
    font-family: "DM Mono", monospace;
    font-size: 0.61rem;
    grid-template-columns: 1fr auto;
}

.grey-site .article-card-meta span:last-child,
.grey-site .article-rating {
    display: none;
}

.grey-site .read-more {
    width: fit-content;
    min-height: 0;
    margin-top: 14px;
    padding: 0 0 4px;
    border: 0;
    border-bottom: 1px solid currentColor;
    border-radius: 0;
    color: var(--frame-ink);
    background: transparent;
    box-shadow: none;
    font-size: 0.7rem;
}

.section-link {
    width: fit-content;
    margin-top: 38px;
}

.delivery-steps {
    display: grid;
    border-top: 1px solid var(--frame-line);
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.delivery-steps article {
    min-height: 280px;
    padding: 26px;
    border-right: 1px solid var(--frame-line);
}

.delivery-steps article:last-child {
    border-right: 0;
}

.delivery-steps span {
    color: var(--frame-ember);
    font-family: "DM Mono", monospace;
    font-size: 0.7rem;
}

.delivery-steps h3 {
    margin: 76px 0 13px;
    font-size: 1.16rem;
}

.delivery-steps p {
    margin: 0;
    color: var(--frame-muted);
    font-size: 0.82rem;
    line-height: 1.7;
}

.about-section {
    display: grid;
    align-items: start;
    gap: 80px;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.about-copy p {
    margin: 0 0 24px;
    color: var(--frame-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.about-copy .dark-command {
    margin-top: 8px;
}

.insight-band {
    display: grid;
    gap: 70px;
    padding: 84px 76px 54px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #d7d8d3;
    background: var(--frame-dark);
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
}

.insight-band .section-index {
    color: #929894;
}

.insight-copy h2 {
    color: #f2f1eb;
}

.insight-copy > p:last-child {
    max-width: 650px;
    color: #9ca29e;
    line-height: 1.8;
}

.insight-index > a {
    display: grid;
    align-items: center;
    gap: 14px;
    padding: 17px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: #d7d8d3;
    text-decoration: none;
    grid-template-columns: 92px 1fr auto;
}

.insight-index time {
    color: #7f8782;
    font-family: "DM Mono", monospace;
    font-size: 0.62rem;
}

.insight-index strong {
    font-size: 0.8rem;
    font-weight: 500;
}

.insight-index a:hover strong,
.insight-index a:hover span {
    color: var(--frame-ember);
}

.insight-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    grid-column: 1 / -1;
}

.insight-tags a {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    color: #aeb3af;
    font-family: "DM Mono", monospace;
    font-size: 0.62rem;
    text-decoration: none;
}

.insight-tags a:hover {
    color: #fff;
    border-color: var(--frame-ember);
}

.data-strip {
    display: grid;
    color: #e0e1dc;
    background: #202422;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.data-strip > div {
    display: flex;
    min-height: 150px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.data-strip strong {
    color: #f3f2ed;
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1;
}

.data-strip span {
    color: #858d88;
    font-family: "DM Mono", monospace;
    font-size: 0.63rem;
    text-transform: uppercase;
}

.frame-footer {
    display: grid;
    min-height: 84px;
    align-items: center;
    gap: 24px;
    padding: 0 34px;
    color: #747b77;
    background: #171a19;
    font-family: "DM Mono", monospace;
    font-size: 0.61rem;
    grid-template-columns: 1fr auto 1fr;
    text-transform: uppercase;
}

.frame-footer nav {
    display: flex;
    gap: 28px;
}

.frame-footer a {
    color: #a9aeaa;
    text-decoration: none;
}

.frame-footer > span:last-child {
    text-align: right;
}

.grey-site .cookie-consent {
    position: fixed;
    z-index: 100;
    right: 28px;
    bottom: 28px;
    left: auto;
    display: flex;
    width: min(380px, calc(100% - 36px));
    min-height: 0;
    align-items: center;
    gap: 18px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 5px;
    color: #c8cbc7;
    background: rgba(23, 26, 25, 0.96);
    box-shadow: -7px -6px 20px rgba(255, 238, 184, 0.26), 15px 18px 34px rgba(0, 0, 0, 0.3);
}

.grey-site .cookie-consent p {
    margin: 0;
    font-size: 0.68rem;
}

.grey-site .cookie-consent button {
    min-width: 76px;
    min-height: 34px;
    padding: 0 12px;
    border-color: #d9dad6;
    background: #d9dad6;
    color: #171a19;
    font-size: 0.64rem;
}

.grey-site .cookie-consent.is-hidden {
    display: none;
}

.js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1180px) {
    .frame-header {
        grid-template-columns: 1fr auto auto;
    }

    .frame-brand span,
    .header-cta {
        display: none;
    }

    .frame-nav {
        gap: 22px;
    }

    .signal-hero {
        min-height: 690px;
        grid-template-columns: minmax(300px, 0.82fr) minmax(410px, 1.18fr);
    }

    .signal-copy {
        padding-left: 52px;
    }

    .signal-copy h1 {
        font-size: 4.35rem;
    }

    .grey-section,
    .insight-band {
        padding-right: 52px;
        padding-left: 52px;
    }
}

@media (max-width: 900px) {
    .site-stage {
        padding: 10px;
    }

    .site-frame {
        min-height: calc(100vh - 20px);
    }

    .frame-header {
        min-height: 62px;
        padding-inline: 20px;
        grid-template-columns: 1fr auto auto;
    }

    .grey-site .menu-toggle {
        display: grid;
        width: 40px;
        height: 40px;
        place-content: center;
        gap: 4px;
        padding: 0;
        border: 0;
        color: var(--frame-ink);
        background: transparent;
        box-shadow: none;
        order: 2;
    }

    .grey-site .menu-toggle span {
        display: block;
        width: 19px;
        height: 1px;
        background: currentColor;
    }

    .frame-tools {
        order: 1;
    }

    .frame-tools .account-link {
        display: none;
    }

    .frame-nav {
        position: absolute;
        top: 62px;
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        gap: 0;
        padding: 10px 20px 18px;
        border-bottom: 1px solid var(--frame-line);
        background: rgba(231, 231, 226, 0.98);
        flex-direction: column;
    }

    .frame-nav.is-open {
        display: flex;
    }

    .frame-nav a {
        min-height: 46px;
        padding: 14px 0;
        border-bottom: 1px solid var(--frame-line);
    }

    .frame-nav a::after {
        display: none;
    }

    .grey-site .site-search {
        top: 62px;
    }

    .signal-hero {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .signal-copy {
        max-width: none;
        padding: 72px 42px 58px;
    }

    .signal-copy h1 {
        max-width: 690px;
        font-size: 4.2rem;
    }

    .signal-visual {
        min-height: 570px;
    }

    .scroll-cue {
        display: none;
    }

    .section-heading,
    .about-section,
    .insight-band {
        gap: 36px;
        grid-template-columns: 1fr;
    }

    .section-heading h2,
    .about-section h2,
    .insight-copy h2 {
        font-size: 2.8rem;
    }

    .service-grid,
    .editorial-grid {
        grid-template-columns: 1fr;
    }

    .service-grid article {
        min-height: 400px;
    }

    .grey-site .article-card {
        min-height: 0;
    }

    .grey-site .article-image {
        height: 290px;
    }

    .delivery-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .delivery-steps article:nth-child(2) {
        border-right: 0;
    }

    .delivery-steps article:nth-child(-n+2) {
        border-bottom: 1px solid var(--frame-line);
    }

    .insight-tags {
        grid-column: 1;
    }

    .data-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .data-strip > div:nth-child(2) {
        border-right: 0;
    }

    .data-strip > div:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .frame-footer {
        padding-block: 22px;
        grid-template-columns: 1fr auto;
    }

    .frame-footer nav {
        display: none;
    }
}

@media (max-width: 560px) {
    .site-stage {
        padding: 0;
    }

    .site-frame {
        min-height: 100vh;
        border: 0;
        border-radius: 0;
    }

    .frame-header {
        padding-inline: 14px;
    }

    .frame-brand strong {
        font-size: 0.72rem;
    }

    .signal-copy {
        padding: 56px 22px 42px;
    }

    .signal-copy h1 {
        font-size: 3rem;
        line-height: 0.98;
    }

    .signal-lede {
        font-size: 0.9rem;
    }

    .signal-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .signal-actions a {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .signal-visual {
        min-height: 420px;
    }

    .mesh-statement {
        top: 54%;
        left: 22px;
        font-size: 1rem;
    }

    .object-caption {
        right: 18px;
        bottom: 16px;
        gap: 10px;
        font-size: 0.52rem;
    }

    .grey-site .fire-core {
        width: 90px;
    }

    .grey-section,
    .insight-band {
        padding: 68px 22px;
    }

    .section-heading {
        margin-bottom: 36px;
    }

    .section-heading h2,
    .about-section h2,
    .insight-copy h2 {
        font-size: 2.15rem;
    }

    .service-grid article {
        min-height: 420px;
        padding: 24px;
    }

    .grey-site .article-image {
        height: 220px;
    }

    .delivery-steps {
        grid-template-columns: 1fr;
    }

    .delivery-steps article,
    .delivery-steps article:nth-child(2) {
        min-height: 230px;
        border-right: 0;
        border-bottom: 1px solid var(--frame-line);
    }

    .delivery-steps h3 {
        margin-top: 46px;
    }

    .insight-index > a {
        align-items: start;
        grid-template-columns: 1fr auto;
    }

    .insight-index time {
        grid-column: 1 / -1;
    }

    .data-strip {
        grid-template-columns: 1fr;
    }

    .data-strip > div {
        min-height: 130px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .frame-footer {
        min-height: 100px;
        padding: 22px;
    }

    .grey-site .cookie-consent {
        right: 18px;
        bottom: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .js [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .grey-site .fire-core {
        animation: none;
    }
}

/* Interior routes */
.page-intro {
    display: grid;
    min-height: 520px;
    align-items: end;
    gap: 80px;
    padding: 104px 76px 78px;
    border-bottom: 1px solid var(--frame-line);
    background: var(--frame-bg);
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
}

.page-intro h1 {
    max-width: 900px;
    margin: 22px 0 0;
    font-size: 5.1rem;
    font-weight: 500;
    line-height: 0.95;
    text-transform: uppercase;
}

.page-intro-side {
    max-width: 540px;
    justify-self: end;
}

.page-intro-side > p {
    margin: 0 0 28px;
    color: var(--frame-muted);
    line-height: 1.8;
}

.archive-search {
    display: grid;
    grid-template-columns: 1fr 48px;
}

.archive-search input {
    min-width: 0;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--frame-line);
    border-right: 0;
    border-radius: 4px 0 0 4px;
    color: var(--frame-ink);
    background: rgba(255, 255, 255, 0.48);
}

.archive-search button {
    width: 48px;
    min-height: 48px;
    padding: 0;
    border-radius: 0 4px 4px 0;
}

.content-section {
    padding: 84px 76px;
    border-bottom: 1px solid var(--frame-line);
    background: var(--frame-soft);
}

.list-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.list-heading > a {
    border-bottom: 1px solid currentColor;
    color: var(--frame-muted);
    font-size: 0.72rem;
    text-decoration: none;
}

.article-archive {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-archive .article-card {
    min-height: 500px;
}

.article-feed-status {
    display: grid;
    min-height: 76px;
    place-items: center;
    color: var(--frame-muted);
    font-family: "DM Mono", monospace;
    font-size: 0.63rem;
    text-transform: uppercase;
}

.article-feed-status span[hidden] {
    display: none;
}

.article-feed-sentinel {
    width: 100%;
    height: 1px;
}

.empty-state {
    min-height: 320px;
    padding: 70px 0;
    text-align: center;
}

.empty-state h2 {
    font-size: 2.3rem;
}

.empty-state p {
    color: var(--frame-muted);
}

.article-page {
    background: var(--frame-paper);
}

.article-page-header {
    position: relative;
    padding: 88px 15% 64px;
    border-bottom: 1px solid var(--frame-line);
    background: var(--frame-bg);
}

.article-back {
    display: inline-flex;
    gap: 8px;
    margin-bottom: 58px;
    color: var(--frame-muted);
    font-size: 0.7rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.article-page-header h1 {
    max-width: 1040px;
    margin: 20px 0 30px;
    font-size: 4.2rem;
    font-weight: 500;
    line-height: 1.02;
}

.article-page-meta {
    display: flex;
    gap: 22px;
    color: var(--frame-muted);
    font-family: "DM Mono", monospace;
    font-size: 0.63rem;
    text-transform: uppercase;
}

.article-feature {
    height: 590px;
    margin: 0;
    overflow: hidden;
    background: #b8bbb7;
}

.article-feature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.25) saturate(0.78);
}

.article-summary-grid {
    display: grid;
    border-bottom: 1px solid var(--frame-line);
    background: #d3d5d1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-summary-grid section {
    min-height: 210px;
    padding: 34px;
    border-right: 1px solid var(--frame-line);
}

.article-summary-grid section:last-child {
    border-right: 0;
}

.article-summary-grid section > p:last-child {
    margin: 24px 0 0;
    color: var(--frame-muted);
    font-size: 0.83rem;
    line-height: 1.75;
}

.article-reading {
    padding: 90px 24px;
    border-bottom: 1px solid var(--frame-line);
}

.grey-site .live-article-body {
    width: min(840px, 100%);
    margin: 0 auto;
    color: #343a37;
    font-size: 0.96rem;
    line-height: 1.85;
}

.grey-site .live-article-body h1,
.grey-site .live-article-body h2,
.grey-site .live-article-body h3 {
    margin: 50px 0 16px;
    font-family: Manrope, Arial, sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

.grey-site .live-article-body h2 {
    font-size: 1.7rem;
}

.grey-site .live-article-body p {
    margin: 0 0 22px;
}

.grey-site .live-article-body a {
    color: #b74728;
    text-decoration: underline;
}

.grey-site .live-article-body pre {
    max-width: 100%;
    overflow: auto;
    padding: 20px;
    border: 1px solid var(--frame-line);
    border-radius: 4px;
    color: #dcded9;
    background: #202422;
    font-family: "DM Mono", monospace;
    font-size: 0.76rem;
}

.grey-site .live-article-body img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 4px;
}

.protected-note {
    width: min(680px, 100%);
    margin: 0 auto;
    padding: 42px;
    border: 1px solid var(--frame-line);
    border-radius: 5px;
    background: var(--frame-soft);
}

.protected-note h2 {
    margin: 14px 0;
    font-size: 2rem;
}

.article-comments {
    width: min(940px, calc(100% - 48px));
    margin: 0 auto;
    padding: 84px 0 96px;
}

.article-comments > header h2 {
    margin: 12px 0 28px;
    font-size: 2.5rem;
}

.article-comments > p {
    color: var(--frame-muted);
}

.comment-list {
    display: grid;
    gap: 12px;
    margin-bottom: 32px;
}

.grey-site .comment {
    padding: 22px;
    border: 1px solid var(--frame-line);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.3);
}

.comment time {
    margin-left: 12px;
    color: var(--frame-muted);
    font-family: "DM Mono", monospace;
    font-size: 0.62rem;
}

.comment p {
    margin-bottom: 0;
}

.comment-form,
.contact-form,
.login-inline,
.login-modal form {
    display: grid;
    gap: 18px;
}

.comment-form {
    margin-top: 34px;
    grid-template-columns: 1fr 1fr;
}

.comment-form label:last-of-type,
.comment-form button {
    grid-column: 1 / -1;
}

.grey-site label {
    display: grid;
    gap: 8px;
    color: #4f5753;
    font-family: "DM Mono", monospace;
    font-size: 0.65rem;
    text-transform: uppercase;
}

.grey-site input,
.grey-site textarea {
    width: 100%;
    min-height: 50px;
    padding: 13px 14px;
    border: 1px solid rgba(28, 33, 31, 0.2);
    border-radius: 4px;
    outline: none;
    color: var(--frame-ink);
    background: rgba(255, 255, 255, 0.45);
    font-family: Manrope, Arial, sans-serif;
    text-transform: none;
}

.grey-site textarea {
    resize: vertical;
}

.grey-site input:focus,
.grey-site textarea:focus {
    border-color: var(--frame-ember);
    box-shadow: -3px -2px 12px rgba(255, 241, 194, 0.3), 5px 7px 14px rgba(22, 25, 24, 0.1);
}

.process-overview {
    background: #d0d2ce;
}

.process-overview .delivery-steps h2 {
    margin: 76px 0 13px;
    font-size: 1.3rem;
}

.capability-section {
    background: var(--frame-paper);
}

.capability-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.capability-grid article {
    min-height: 340px;
    padding: 30px;
    border: 1px solid var(--frame-line);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.36);
}

.capability-grid article > span,
.project-number {
    color: var(--frame-ember);
    font-family: "DM Mono", monospace;
    font-size: 0.68rem;
}

.capability-grid h3 {
    margin: 116px 0 16px;
    font-size: 1.35rem;
}

.capability-grid p {
    color: var(--frame-muted);
    font-size: 0.86rem;
    line-height: 1.75;
}

.project-section {
    background: var(--frame-paper);
}

.project-list {
    border-top: 1px solid var(--frame-line);
}

.project-list article {
    position: relative;
    display: grid;
    min-height: 210px;
    align-items: center;
    gap: 28px;
    padding: 34px 60px 34px 20px;
    border-bottom: 1px solid var(--frame-line);
    grid-template-columns: 50px 170px minmax(220px, 0.8fr) minmax(260px, 1fr);
}

.project-list h2 {
    margin: 0;
    font-size: 1.65rem;
    font-weight: 600;
}

.project-list article > p:not(.section-index) {
    margin: 0;
    color: var(--frame-muted);
    font-size: 0.86rem;
    line-height: 1.75;
}

.project-list article > a {
    position: absolute;
    right: 8px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--frame-line);
    border-radius: 50%;
    font-size: 1.05rem;
    text-decoration: none;
}

.contact-intro h1 {
    max-width: 850px;
}

.phone-link {
    display: inline-block;
    border-bottom: 1px solid currentColor;
    color: var(--frame-ink);
    font-family: "DM Mono", monospace;
    font-size: 0.78rem;
    text-decoration: none;
}

.contact-layout {
    display: grid;
    align-items: start;
    gap: 80px;
    background: var(--frame-paper);
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.contact-form {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.form-row {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr 1fr;
}

.contact-form button {
    width: fit-content;
    margin-top: 8px;
}

.contact-aside {
    padding-left: 42px;
    border-left: 1px solid var(--frame-line);
}

.contact-aside h2 {
    margin: 16px 0 30px;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.15;
}

.contact-aside ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-aside li {
    padding: 14px 0;
    border-bottom: 1px solid var(--frame-line);
    color: var(--frame-muted);
    font-size: 0.82rem;
}

.auth-page {
    display: grid;
    min-height: 430px;
    place-items: center;
    background: var(--frame-paper);
}

.login-inline {
    width: min(520px, 100%);
    padding: 36px;
    border: 1px solid var(--frame-line);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.35);
}

.grey-site .modal-backdrop {
    background: rgba(14, 16, 15, 0.72);
    backdrop-filter: blur(7px);
}

.grey-site .login-modal {
    width: min(500px, calc(100% - 36px));
    padding: 38px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    color: var(--frame-muted);
    background: var(--frame-paper);
    box-shadow: -10px -9px 30px rgba(255, 238, 184, 0.28), 26px 30px 64px rgba(0, 0, 0, 0.38);
}

.grey-site .login-modal h2 {
    margin: 12px 0;
    font-size: 2.2rem;
}

.grey-site .modal-close {
    color: var(--frame-ink);
    background: transparent;
}

.grey-site .flash {
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--frame-line);
    border-radius: 0;
    color: #4f4030;
    background: #fff0c2;
}

/* Command contrast */
.grey-site .header-cta,
.grey-site .dark-command,
.grey-site a.button:not(.read-more):not(.ghost-dark),
.grey-site button:not(.menu-toggle):not(.search-toggle):not(.nav-dropdown-toggle):not(.modal-close):not(.scroll-top):not([data-cookie-accept]) {
    border-color: var(--frame-dark);
    color: #f3f2ed;
    background: var(--frame-dark);
    box-shadow: inset 1px 1px 0 rgba(255, 250, 226, 0.24), -4px -3px 12px rgba(255, 239, 191, 0.22), 7px 9px 16px rgba(22, 25, 24, 0.16);
}

.grey-site .header-cta:hover,
.grey-site .dark-command:hover,
.grey-site a.button:not(.read-more):not(.ghost-dark):hover,
.grey-site button:not(.menu-toggle):not(.search-toggle):not(.nav-dropdown-toggle):not(.modal-close):not(.scroll-top):not([data-cookie-accept]):hover {
    border-color: var(--frame-dark);
    color: var(--frame-dark);
    background: transparent;
    box-shadow: -5px -4px 16px rgba(255, 240, 194, 0.3), 6px 8px 16px rgba(22, 25, 24, 0.12);
    filter: none;
}

.grey-site .scroll-top {
    position: fixed;
    z-index: 99;
    right: max(28px, calc((100vw - 1560px) / 2 + 28px));
    bottom: 28px;
    display: grid;
    width: 42px;
    height: 42px;
    min-height: 42px;
    box-sizing: border-box;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 0;
    color: var(--frame-ink);
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    transition: bottom 180ms ease, transform 160ms ease;
}

.grey-site:has(.cookie-consent:not(.is-hidden)) .scroll-top {
    bottom: 112px;
}

.grey-site .scroll-top:hover {
    color: var(--frame-ink);
    background: transparent;
    box-shadow: none;
    transform: translateY(-2px);
}

.grey-site .scroll-top:focus-visible {
    outline: 2px solid var(--frame-ember);
    outline-offset: 3px;
}

.grey-site .scroll-top[hidden] {
    display: none;
}

.scroll-cube {
    position: relative;
    display: block;
    width: 30px;
    height: 32px;
    filter: drop-shadow(-3px -2px 5px rgba(255, 240, 194, 0.52)) drop-shadow(4px 5px 5px rgba(22, 25, 24, 0.24));
    transition: filter 160ms ease, transform 160ms ease;
}

.scroll-cube-line {
    position: absolute;
    display: block;
    width: 14.8px;
    height: 1.25px;
    background: var(--frame-bg);
    box-shadow: 0 0 0 0.85px rgba(28, 33, 31, 0.92);
    transform-origin: left center;
}

.scroll-cube-line:nth-child(1) { top: 1px; left: 15px; transform: rotate(28.3deg); }
.scroll-cube-line:nth-child(2) { top: 1px; left: 15px; transform: rotate(151.7deg); }
.scroll-cube-line:nth-child(3) { top: 8px; left: 2px; transform: rotate(28.3deg); }
.scroll-cube-line:nth-child(4) { top: 15px; left: 15px; transform: rotate(-28.3deg); }
.scroll-cube-line:nth-child(5) { top: 8px; left: 2px; width: 15px; transform: rotate(90deg); }
.scroll-cube-line:nth-child(6) { top: 8px; left: 28px; width: 15px; transform: rotate(90deg); }
.scroll-cube-line:nth-child(7) { top: 23px; left: 2px; transform: rotate(28.3deg); }
.scroll-cube-line:nth-child(8) { top: 30px; left: 15px; transform: rotate(-28.3deg); }
.scroll-cube-line:nth-child(9) { top: 15px; left: 15px; width: 15px; transform: rotate(90deg); }

.scroll-cube-caret {
    position: absolute;
    z-index: 2;
    top: 17px;
    left: 11px;
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--frame-ember);
    border-bottom: 2px solid var(--frame-ember);
    filter: drop-shadow(-2px -2px 3px rgba(255, 240, 194, 0.52));
    transform: rotate(-135deg);
}

.grey-site .scroll-top:hover .scroll-cube {
    filter: drop-shadow(-4px -3px 7px rgba(255, 240, 194, 0.66)) drop-shadow(5px 6px 6px rgba(22, 25, 24, 0.22));
    transform: scale(1.06);
}

.grey-site .ghost-dark,
.grey-site a.ghost-dark,
.grey-site button.ghost-dark {
    border: 1px solid var(--frame-line);
    color: var(--frame-ink);
    background: transparent;
    box-shadow: none;
}

.grey-site .ghost-dark:hover,
.grey-site a.ghost-dark:hover,
.grey-site button.ghost-dark:hover {
    border-color: var(--frame-dark);
    color: #f3f2ed;
    background: var(--frame-dark);
}

/* Compact article discussion */
.article-comments {
    display: grid;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 54px 76px 60px;
    border-top: 1px solid var(--frame-line);
    background: #d0d2ce;
    gap: 64px;
    grid-template-columns: minmax(250px, 0.72fr) minmax(420px, 1.28fr);
}

.comment-summary > header h2 {
    margin: 10px 0 12px;
    font-size: 2rem;
    font-weight: 500;
}

.comment-summary > header > p:last-child,
.comment-empty {
    max-width: 390px;
    margin: 0;
    color: var(--frame-muted);
    font-size: 0.78rem;
    line-height: 1.65;
}

.comment-empty {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--frame-line);
}

.article-comments .comment-list {
    display: grid;
    max-height: 290px;
    gap: 8px;
    margin: 24px 0 0;
    overflow-y: auto;
}

.grey-site .article-comments .comment {
    padding: 14px 16px;
    border: 1px solid var(--frame-line);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.28);
}

.article-comments .comment > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.article-comments .comment strong {
    font-size: 0.75rem;
}

.article-comments .comment time {
    margin: 0;
    font-size: 0.56rem;
}

.article-comments .comment p {
    margin: 8px 0 0;
    color: var(--frame-muted);
    font-size: 0.75rem;
    line-height: 1.55;
}

.article-comments .comment-form {
    align-self: start;
    gap: 12px;
    margin: 0;
    grid-template-columns: 1fr 1fr;
}

.article-comments .comment-form label {
    gap: 6px;
    font-size: 0.6rem;
}

.article-comments .comment-form input {
    min-height: 42px;
    padding: 9px 11px;
}

.article-comments .comment-form textarea {
    min-height: 112px;
    padding: 10px 11px;
}

.article-comments .comment-form button {
    width: fit-content;
    min-height: 40px;
    padding-inline: 18px;
    justify-self: end;
}

@media (max-width: 1180px) {
    .page-intro,
    .content-section {
        padding-right: 52px;
        padding-left: 52px;
    }

    .page-intro h1 {
        font-size: 4.25rem;
    }

    .article-page-header {
        padding-right: 10%;
        padding-left: 10%;
    }

    .article-page-header h1 {
        font-size: 3.55rem;
    }

    .project-list article {
        grid-template-columns: 44px 130px minmax(190px, 0.75fr) minmax(230px, 1fr);
    }
}

@media (max-width: 900px) {
    .page-intro {
        min-height: 0;
        align-items: start;
        gap: 42px;
        padding-top: 76px;
        padding-bottom: 60px;
        grid-template-columns: 1fr;
    }

    .page-intro-side {
        justify-self: start;
    }

    .page-intro h1 {
        max-width: 720px;
        font-size: 3.7rem;
    }

    .article-archive,
    .capability-grid {
        grid-template-columns: 1fr;
    }

    .article-feature {
        height: 430px;
    }

    .article-summary-grid {
        grid-template-columns: 1fr;
    }

    .article-summary-grid section {
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid var(--frame-line);
    }

    .article-page-header {
        padding: 70px 42px 58px;
    }

    .article-page-header h1 {
        font-size: 3.2rem;
    }

    .capability-grid article {
        min-height: 280px;
    }

    .capability-grid h3 {
        margin-top: 76px;
    }

    .project-list article {
        align-items: start;
        grid-template-columns: 44px 1fr;
    }

    .project-list article > p:not(.section-index),
    .project-list h2 {
        grid-column: 2;
    }

    .contact-layout {
        gap: 60px;
        grid-template-columns: 1fr;
    }

    .contact-aside {
        padding-top: 40px;
        padding-left: 0;
        border-top: 1px solid var(--frame-line);
        border-left: 0;
    }

    .article-comments {
        gap: 36px;
        padding-right: 52px;
        padding-left: 52px;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .page-intro,
    .content-section {
        padding-right: 22px;
        padding-left: 22px;
    }

    .page-intro {
        padding-top: 60px;
    }

    .page-intro h1 {
        font-size: 2.75rem;
    }

    .article-page-header {
        padding: 54px 22px 44px;
    }

    .article-back {
        margin-bottom: 40px;
    }

    .article-page-header h1 {
        font-size: 2.5rem;
    }

    .article-feature {
        height: 300px;
    }

    .article-summary-grid section {
        padding: 26px 22px;
    }

    .article-reading {
        padding: 64px 22px;
    }

    .article-comments {
        width: 100%;
        padding: 44px 22px 50px;
    }

    .comment-form,
    .form-row {
        grid-template-columns: 1fr;
    }

    .comment-form label,
    .comment-form button {
        grid-column: 1;
    }

    .article-comments .comment-form button {
        width: 100%;
        justify-self: stretch;
    }

    .project-list article {
        gap: 18px;
        padding: 28px 48px 28px 0;
    }

    .contact-form button {
        width: 100%;
    }

    .login-inline {
        padding: 24px;
    }
}

@keyframes frame-led-breathe {
    0%, 100% {
        box-shadow: -8px -7px 28px rgba(255, 238, 184, 0.18), 28px 32px 72px rgba(0, 0, 0, 0.34);
    }

    38% {
        box-shadow: -12px -10px 40px rgba(255, 246, 211, 0.3), 32px 36px 80px rgba(0, 0, 0, 0.38);
    }

    72% {
        box-shadow: -9px -8px 32px rgba(255, 238, 184, 0.22), 30px 34px 76px rgba(0, 0, 0, 0.36);
    }
}

@keyframes card-led-breathe {
    0%, 100% {
        box-shadow: -7px -6px 20px rgba(255, 238, 184, 0.2), 16px 20px 34px rgba(31, 35, 33, 0.14);
    }

    36% {
        box-shadow: -11px -9px 30px rgba(255, 246, 211, 0.42), 21px 25px 42px rgba(25, 28, 27, 0.2);
    }

    68% {
        box-shadow: -8px -7px 24px rgba(255, 238, 184, 0.28), 18px 22px 38px rgba(31, 35, 33, 0.16);
    }
}

@keyframes mark-led-breathe {
    0%, 100% {
        filter: drop-shadow(-7px -6px 6px rgba(255, 246, 211, 0.48)) drop-shadow(19px 23px 12px rgba(22, 25, 24, 0.23));
    }

    41% {
        filter: drop-shadow(-11px -9px 10px rgba(255, 250, 225, 0.76)) drop-shadow(23px 27px 15px rgba(22, 25, 24, 0.3));
    }

    73% {
        filter: drop-shadow(-8px -7px 7px rgba(255, 240, 194, 0.58)) drop-shadow(20px 24px 13px rgba(22, 25, 24, 0.25));
    }
}

.site-frame {
    animation: frame-led-breathe 11s ease-in-out infinite;
}

.service-grid article {
    animation: card-led-breathe 7.8s ease-in-out infinite;
}

.service-grid article:nth-child(2) {
    animation-delay: -2.6s;
}

.service-grid article:nth-child(3) {
    animation-delay: -5.1s;
}

.service-grid article:hover {
    animation: none;
}

.service-mark {
    animation: mark-led-breathe 6.4s ease-in-out infinite;
}

.service-grid article:nth-child(2) .service-mark {
    animation-delay: -2.1s;
}

.service-grid article:nth-child(3) .service-mark {
    animation-delay: -4.4s;
}

@media (prefers-reduced-motion: reduce) {
    .site-frame,
    .service-grid article,
    .service-mark {
        animation: none;
    }
}

/* Knowledge navigation */
.nav-group {
    position: relative;
}

.nav-group-trigger {
    display: flex;
    align-items: center;
}

.grey-site .nav-dropdown-toggle {
    display: inline-grid;
    width: 26px;
    height: 32px;
    margin-left: 2px;
    padding: 0;
    place-items: center;
    border: 0;
    color: #565e5a;
    background: transparent;
    box-shadow: none;
    font-size: 1rem;
}

.grey-site .nav-dropdown-toggle i {
    transition: transform 180ms ease;
}

@media (min-width: 901px) {
    .nav-group-trigger {
        position: relative;
    }

    .grey-site .nav-dropdown-toggle {
        position: absolute;
        top: 50%;
        left: 100%;
        width: 18px;
        margin-left: 0;
        transform: translate(-1px, -50%);
    }
}

.nav-group.is-open .nav-dropdown-toggle i {
    transform: rotate(180deg);
}

.category-mega {
    position: absolute;
    z-index: 90;
    top: 100%;
    left: 50%;
    width: min(960px, calc(100vw - 72px));
    max-height: calc(100vh - 110px);
    overflow: auto;
    border: 1px solid rgba(28, 33, 31, 0.18);
    border-top: 2px solid var(--frame-ember);
    border-radius: 0 0 6px 6px;
    background: rgba(231, 231, 226, 0.99);
    box-shadow: -8px -7px 26px rgba(255, 242, 198, 0.2), 18px 24px 44px rgba(18, 21, 20, 0.26);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 9px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
    visibility: hidden;
}

.nav-group:hover .category-mega,
.nav-group:focus-within .category-mega,
.nav-group.is-open .category-mega {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
    visibility: visible;
}

.category-mega-head {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--frame-line);
    background: rgba(255, 255, 255, 0.22);
}

.category-mega-head div {
    display: grid;
    gap: 2px;
}

.category-mega-head span,
.category-mega-head strong {
    display: block;
}

.category-mega-head span {
    color: var(--frame-muted);
    font-family: "DM Mono", monospace;
    font-size: 0.54rem;
    text-transform: uppercase;
}

.category-mega-head strong {
    font-size: 1rem;
    font-weight: 600;
}

.frame-nav .category-mega a {
    min-height: 0;
    padding: 0;
    border: 0;
    color: var(--frame-ink);
    font-size: 0.68rem;
    text-decoration: none;
    text-transform: none;
}

.frame-nav .category-mega a::after {
    display: none;
}

.frame-nav .category-mega-head > a {
    color: var(--frame-ember);
    font-size: 0.64rem;
    font-weight: 700;
    text-transform: uppercase;
}

.category-mega-grid {
    column-count: 3;
    column-gap: 0;
}

.category-mega-grid > section {
    display: inline-block;
    min-width: 0;
    width: 100%;
    padding: 18px 24px;
    border-right: 1px solid var(--frame-line);
    break-inside: avoid;
    vertical-align: top;
}

.category-mega-grid > section:last-child {
    border-right: 0;
}

.frame-nav .category-mega-title {
    display: block;
    margin-bottom: 10px;
    font-size: 0.77rem;
    font-weight: 700;
    line-height: 1.35;
}

.category-subgroup + .category-subgroup,
.category-leaf-link + .category-subgroup,
.category-subgroup + .category-leaf-link,
.category-leaf-link + .category-leaf-link {
    margin-top: 7px;
}

.frame-nav .category-parent-link {
    display: block;
    margin-bottom: 8px;
    color: #3f4642;
    font-weight: 700;
}

.category-link-list {
    display: grid;
    gap: 3px 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.frame-nav .category-link-list a,
.frame-nav .category-leaf-link {
    display: block;
    padding: 4px 0;
    color: var(--frame-muted);
    line-height: 1.3;
}

.frame-nav .category-mega a:hover,
.frame-nav .category-mega a[aria-current="true"] {
    color: var(--frame-ember);
}

/* Same-category article navigation */
.article-related {
    padding: 64px 7%;
    border-bottom: 1px solid var(--frame-line);
    background: #d8dad5;
}

.article-related > header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 34px;
}

.article-related h2 {
    margin: 10px 0 0;
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1.12;
}

.related-category-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--frame-ember);
    font-size: 0.65rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.related-article-list {
    display: grid;
    border-top: 1px solid var(--frame-line);
    border-bottom: 1px solid var(--frame-line);
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.related-article-list > a {
    display: grid;
    min-width: 0;
    min-height: 160px;
    align-content: space-between;
    gap: 18px;
    padding: 24px;
    border-right: 1px solid var(--frame-line);
    color: var(--frame-ink);
    text-decoration: none;
    transition: background 160ms ease;
    grid-template-columns: 1fr auto;
}

.related-article-list > a:last-child {
    border-right: 0;
}

.related-article-list > a:hover {
    background: rgba(255, 255, 255, 0.3);
}

.related-article-list span {
    color: var(--frame-muted);
    font-family: "DM Mono", monospace;
    font-size: 0.56rem;
    text-transform: uppercase;
}

.related-article-list strong {
    align-self: end;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.45;
}

.related-article-list i {
    align-self: end;
    color: var(--frame-ember);
    font-size: 1.25rem;
    grid-column: 2;
    grid-row: 2;
}

.related-empty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 0;
    border-top: 1px solid var(--frame-line);
    border-bottom: 1px solid var(--frame-line);
}

.related-empty p {
    margin: 0;
    color: var(--frame-muted);
    font-size: 0.8rem;
}

.related-empty a {
    color: var(--frame-ink);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
}

.article-page-header .section-index a {
    color: var(--frame-ember);
    text-decoration: none;
}

@media (max-width: 900px) {
    .frame-nav {
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }

    .nav-group,
    .nav-group-trigger {
        width: 100%;
    }

    .nav-group-trigger > a {
        flex: 1;
    }

    .grey-site .nav-dropdown-toggle {
        width: 46px;
        height: 46px;
        margin: 0;
        border-bottom: 1px solid var(--frame-line);
        font-size: 1.25rem;
    }

    .category-mega,
    .nav-group:hover .category-mega,
    .nav-group:focus-within .category-mega {
        position: static;
        display: none;
        width: 100%;
        max-height: 56vh;
        border: 0;
        border-bottom: 1px solid var(--frame-line);
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        transform: none;
        visibility: visible;
    }

    .nav-group.is-open .category-mega {
        display: block;
        transform: none;
    }

    .category-mega-head {
        min-height: 64px;
        padding: 14px 4px;
    }

    .category-mega-grid {
        column-count: 1;
    }

    .category-mega-grid > section {
        padding: 20px 4px;
        border-right: 0;
        border-bottom: 1px solid var(--frame-line);
    }

    .category-mega-grid > section:last-child {
        border-bottom: 0;
    }

    .category-link-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-related {
        padding: 52px 22px;
    }

    .article-related > header,
    .related-empty {
        align-items: start;
        flex-direction: column;
    }

    .related-article-list {
        grid-template-columns: 1fr;
    }

    .related-article-list > a {
        min-height: 132px;
        border-right: 0;
        border-bottom: 1px solid var(--frame-line);
    }

    .related-article-list > a:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 560px) {
    .category-mega-head > div {
        display: none;
    }

    .category-mega-head {
        min-height: 48px;
    }

    .category-link-list {
        grid-template-columns: 1fr;
    }

    .article-related h2 {
        font-size: 2rem;
    }
}
