/* Graceful Degradation and Runtime Observability research pages. Page-scoped. */

.operations-page .op-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 60;
    padding: 12px 16px;
    background: var(--accent);
    color: #110a20;
    font-weight: 700;
}
.operations-page .op-skip:focus { left: 12px; top: 12px; }
.operations-page a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}
.operations-page :is(section, article)[id] { scroll-margin-top: 115px; }

.operations-page .op-hero {
    padding: clamp(64px, 7vw, 105px) 0 clamp(66px, 7vw, 100px);
}
.op-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.07fr) minmax(320px, .93fr);
    align-items: center;
    gap: clamp(30px, 4.7vw, 70px);
}
.op-hero-copy { min-width: 0; }
.op-overline,
.op-example-list li > span,
.op-card > span,
.op-progress-card > span {
    display: block;
    font: .76rem/1.5 var(--mono);
    color: var(--accent);
    letter-spacing: .07em;
    text-transform: uppercase;
}
.op-overline { margin-bottom: 24px; }
.operations-page h1 {
    max-width: 830px;
    font-size: clamp(3.15rem, 5.7vw, 6.05rem);
    line-height: 1.01;
    letter-spacing: -.065em;
    text-wrap: balance;
}
.operations-page .op-kicker {
    margin: 26px 0 18px;
    font-size: clamp(1.17rem, 1.85vw, 1.48rem);
    line-height: 1.4;
    font-weight: 700;
    color: var(--text);
}
.op-hero-copy > p:not(.op-kicker) { margin-top: 15px; font-size: 1.02rem; }
.op-hero-copy .hero-actions { margin-top: 28px; }

.op-example {
    min-width: 0;
    overflow: hidden;
    background: linear-gradient(155deg, #281940, #0e0a20 75%);
    border: 1px solid var(--line-strong);
    border-radius: 24px;
    box-shadow: 0 28px 85px rgba(0,0,0,.38);
}
.op-example-head, .op-example-foot {
    padding: 17px 22px;
    font: .74rem/1.55 var(--mono);
    color: rgba(224, 211, 250, .90);
}
.op-example-head {
    display: flex;
    justify-content: space-between;
    gap: 8px 20px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--line);
}
.op-example-head span:last-child { color: var(--accent); }
.op-example-foot {
    border-top: 1px solid var(--line);
    color: var(--text);
}
.op-example-list {
    list-style: none;
    margin: 0;
    padding: 0 22px;
}
.op-example-list li { padding: 19px 0; min-width: 0; }
.op-example-list li + li { border-top: 1px solid var(--line); }
.op-example-list li > span { margin-bottom: 8px; }
.op-example-list li strong {
    display: block;
    margin-bottom: 7px;
    font-size: clamp(1.02rem, 1.45vw, 1.2rem);
    line-height: 1.35;
}
.op-example-list li p { font-size: .93rem; line-height: 1.58; }

.operations-page .op-section { padding: clamp(64px, 7.3vw, 94px) 0; }
.operations-page .op-intro, .operations-page .op-contact {
    border-top: 1px solid var(--line);
}
.op-split {
    display: grid;
    grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr);
    gap: clamp(28px, 5.5vw, 82px);
    align-items: start;
}
.operations-page h2 { max-width: 950px; }
.op-prose p { font-size: 1.02rem; }
.op-prose p + p { margin-top: 18px; }
.op-prose .op-statement {
    color: var(--text);
    font-size: clamp(1.18rem, 1.85vw, 1.43rem);
    font-weight: 700;
    line-height: 1.4;
}
.op-heading { max-width: 930px; margin-bottom: 33px; }
.op-heading h2 { margin-bottom: 17px; }
.op-heading > p { max-width: 770px; font-size: 1.04rem; }

.op-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.op-card { min-width: 0; padding: clamp(22px, 2.4vw, 30px); }
.op-card > span { margin-bottom: 20px; }
.op-card h3 {
    margin-bottom: 11px;
    font-size: clamp(1.21rem, 1.55vw, 1.43rem);
    line-height: 1.28;
}
.op-card p { font-size: .97rem; }
.op-small-note {
    max-width: 930px;
    margin-top: 22px;
    padding-left: 18px;
    border-left: 2px solid var(--accent);
    font-size: .96rem;
}
.op-alt { background: rgba(255,255,255,.014); }
.op-links {
    display: flex;
    gap: 13px 26px;
    flex-wrap: wrap;
    margin-top: 22px;
}
.op-links a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(var(--accent-rgb),.35);
    text-underline-offset: 4px;
}

.op-progress-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.op-progress-card {
    min-width: 0;
    padding: clamp(22px, 2.6vw, 30px);
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    background: rgba(255,255,255,.027);
}
.op-progress-card > span { margin-bottom: 17px; }
.op-progress-card h3 {
    margin-bottom: 12px;
    font-size: clamp(1.22rem, 1.8vw, 1.53rem);
    line-height: 1.28;
}
.op-progress-card p { font-size: .97rem; }
.op-footnote {
    max-width: 900px;
    margin-top: 20px;
    font-size: .92rem;
}
.op-contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: end;
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid rgba(var(--plasma-rgb),.27);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right,rgba(var(--plasma-rgb),.12),transparent 45%),
        rgba(21, 13, 38, .94);
}
.op-contact-panel h2 { margin-bottom: 20px; }
.op-contact-panel p { max-width: 780px; }
.op-contact-panel p + p { margin-top: 14px; }
.op-contact-panel .button { white-space: nowrap; }

@media (max-width: 1050px) {
    .op-hero-grid, .op-split, .op-contact-panel { grid-template-columns: 1fr; }
    .op-example { max-width: 780px; }
    .op-contact-panel { align-items: start; }
    .op-contact-panel .button { justify-self: start; }
}
@media (max-width: 770px) {
    .operations-page .nav-inner { grid-template-columns: 1fr; gap: 12px; padding: 13px 0; }
    .operations-page .nav-links { flex-wrap: wrap; gap: 8px 15px; font-size: .87rem; }
    .operations-page .op-hero { padding: 52px 0 65px; }
    .operations-page h1 { font-size: clamp(2.65rem, 10.2vw, 4.3rem); letter-spacing: -.06em; }
    .operations-page .op-section { padding: 62px 0; }
    .op-card-grid, .op-progress-grid { grid-template-columns: 1fr; }
    .op-hero-copy .hero-actions { align-items: stretch; }
    .op-hero-copy .button { flex: 1 1 auto; }
    .operations-page :is(section, article)[id] { scroll-margin-top: 150px; }
}
@media (max-width: 360px) {
    .operations-page .nav-links { gap: 6px 10px; font-size: .81rem; }
    .operations-page h1 { font-size: clamp(2.43rem, 10.55vw, 3rem); }
    .op-hero-copy .hero-actions { flex-direction: column; }
    .op-example-head, .op-example-foot { padding: 14px 16px; }
    .op-example-list { padding: 0 16px; }
    .operations-page :is(section, article)[id] { scroll-margin-top: 165px; }
}
@media (prefers-reduced-motion: reduce) {
    .operations-page * { scroll-behavior: auto; }
}
