/* AENKAY — Institutional Authority */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-deep: #08090b;
    --bg-primary: #0c0e12;
    --bg-elevated: #10131a;
    --bg-surface: #161b24;
    --bg-form: #d4d3cf;
    --text-primary: #f0f1f2;
    --text-secondary: #8b95a5;
    --text-tertiary: #5a6474;
    --text-muted-readable: rgba(255, 255, 255, 0.72);
    --text-on-light: #1a1a1a;
    --text-on-light-muted: #5c5c5a;
    --accent: #3d9970;
    --accent-dim: #2d7355;
    --border: rgba(255, 255, 255, 0.04);
    --border-strong: rgba(255, 255, 255, 0.08);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    color: var(--text-secondary);
    background-color: var(--bg-deep);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.75rem 1.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--bg-deep);
    background: var(--text-primary);
    text-decoration: none;
    z-index: 9999;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Screen Reader Only */
.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;
}

/* ============================
   STICKY NAVIGATION
   ============================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

.nav.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.nav::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(8, 9, 11, 0.95), rgba(8, 9, 11, 0.85));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 64px;
    padding-left: 5rem;
}

.nav-logo {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-logo:focus {
    outline: 1px solid var(--text-tertiary);
    outline-offset: 4px;
}

.nav-logo:focus:not(:focus-visible) {
    outline: none;
}

.nav-logo:focus-visible {
    outline: 1px solid var(--text-tertiary);
    outline-offset: 4px;
}

.nav-index {
    position: absolute;
    right: 3rem;
    font-size: 0.6875rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--text-tertiary);
}

.nav-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    width: calc(var(--scroll-progress, 0) * 100%);
    background: var(--accent-dim);
    opacity: 0.4;
}

/* ============================
   TYPOGRAPHY
   ============================ */
h1 {
    font-size: 5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1;
    color: var(--text-primary);
}

h2 {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
    margin-top: 0;
}

p {
    margin-bottom: 1.25rem;
}

p:last-child {
    margin-bottom: 0;
}

/* Layout Container */
.container {
    max-width: 72rem;
    margin: 0 auto;
    padding-left: 3rem;
    padding-right: 3rem;
}

header, section, footer {
    position: relative;
}

/* ============================
   HERO — Threshold
   ============================ */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12rem 3rem 14rem;
    padding-left: 5rem;
    position: relative;
    background: linear-gradient(to bottom, #040506 0%, var(--bg-deep) 50%, var(--bg-primary) 100%);
}

.hero-logo {
    height: 84px;
    width: auto;
    margin-bottom: 2.5rem;
    display: block;
}


/* Vertical axis — structural anchor */
#hero::before {
    content: '';
    position: absolute;
    left: 3rem;
    top: 12%;
    bottom: 12%;
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--accent-dim) 20%,
        var(--accent) 50%,
        var(--accent-dim) 80%,
        transparent 100%
    );
    opacity: 0.35;
}

/* ============================
   AXIS ECHO SYSTEM — Structural Continuity
   ============================ */
.axis-echo {
    position: absolute;
    left: 3rem;
    width: 1px;
    pointer-events: none;
}

.axis-echo--top {
    top: 0;
    height: 40%;
    background: linear-gradient(
        to bottom,
        var(--accent-dim) 0%,
        transparent 100%
    );
    opacity: 0.18;
}

.axis-echo--bottom {
    bottom: 0;
    height: 35%;
    background: linear-gradient(
        to top,
        var(--accent-dim) 0%,
        transparent 100%
    );
    opacity: 0.12;
}

.hero-content {
    position: relative;
}

#hero h1 {
    margin-bottom: 2.5rem;
    max-width: 56rem;
}

#hero h1::after {
    content: '';
    display: block;
    width: 2.5rem;
    height: 1px;
    background: var(--accent);
    margin-top: 2rem;
    opacity: 0.6;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-primary);
    max-width: 30rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.hero-secondary {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-tertiary);
    max-width: 26rem;
}

.hero-clarifier {
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-tertiary);
    max-width: 28rem;
    margin-top: 2.5rem;
    opacity: 0.7;
}

/* ============================
   POSITIONING
   ============================ */
#positioning {
    padding: 8rem 3rem 10rem;
    background: var(--bg-primary);
}

#positioning p {
    font-size: 1.0625rem;
    line-height: 1.9;
    max-width: 40rem;
}

/* ============================
   OPERATING MODEL — Signature Diagram
   ============================ */
.operating-model {
    padding: 8rem 3rem 10rem;
    background: var(--bg-primary);
    overflow: hidden;
}

.model-container {
    position: relative;
    max-width: 36rem;
    margin: 0 auto;
}

/* Vertical spine */
.model-spine {
    position: absolute;
    left: 50%;
    top: 2rem;
    bottom: 4rem;
    width: 1px;
    background: var(--border-strong);
    transform: translateX(-50%);
    transform-origin: top;
}

.model-spine.animate {
    animation: spineDraw 1.2s ease-out forwards;
}

@keyframes spineDraw {
    from { transform: translateX(-50%) scaleY(0); }
    to { transform: translateX(-50%) scaleY(1); }
}

/* Layer structure */
.model-layer {
    position: relative;
    padding: 2.5rem 0;
    text-align: center;
}

.layer-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 1.25rem;
}

.layer-nodes {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Node styling */
.model-node {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-strong);
    background: var(--bg-deep);
}

.model-node--accent {
    color: var(--accent);
    border-color: var(--accent-dim);
}

/* Animation states */
.model-layer {
    opacity: 0;
    transform: translateY(8px);
}

.model-layer.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.model-layer[data-layer="1"].visible { transition-delay: 0.3s; }
.model-layer[data-layer="2"].visible { transition-delay: 0.6s; }
.model-layer[data-layer="3"].visible { transition-delay: 0.9s; }

/* Feedback loop */
.model-feedback {
    position: absolute;
    right: -1rem;
    top: 3.5rem;
    bottom: 3.5rem;
    width: 2rem;
    border: 1px solid var(--border);
    border-left: none;
    border-radius: 0 4px 4px 0;
    opacity: 0;
}

.model-feedback.visible {
    opacity: 1;
    transition: opacity 0.8s ease 1.4s;
}

.feedback-label {
    position: absolute;
    right: -0.5rem;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    white-space: nowrap;
}

/* Model caption */
.model-caption {
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-tertiary);
    text-align: center;
    max-width: 32rem;
    margin: 2rem auto 0;
}

/* ============================
   WAYS WE HELP — Matrix
   ============================ */
#ways-we-help {
    padding: 8rem 3rem 10rem;
    background: var(--bg-elevated);
}

/* ============================
   SECTION THESIS — Scannable Entry Points
   ============================ */
.section-thesis {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.55;
    color: var(--text-primary);
    opacity: 0.92;
    max-width: 34rem;
    margin-bottom: 1.75rem;
}

#ways-we-help .section-thesis {
    margin-bottom: 4rem;
}

.help-matrix {
    display: grid;
    gap: 3rem;
    max-width: 72rem;
}

@media (min-width: 768px) {
    .help-matrix {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

.help-column {
    padding: 0;
    background: transparent;
    border: none;
    border-top: 1px solid var(--border-strong);
    padding-top: 1.75rem;
}

.column-heading {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.column-subtitle {
    font-size: 0.875rem;
    font-style: italic;
    color: var(--text-muted-readable);
    margin-bottom: 2rem;
}

.help-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.help-column li {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.025);
}

.help-column li:first-child {
    line-height: 1.8;
}

.help-column li:last-child {
    border-bottom: none;
}

.help-column .micro-emphasis {
    color: var(--text-primary);
    opacity: 0.85;
}

.matrix-subtext {
    margin-top: 4rem;
    font-size: 0.875rem;
    color: var(--text-tertiary);
    max-width: 36rem;
}

/* ============================
   REPRESENTATIVE SITUATIONS
   ============================ */
.situations {
    padding: 8rem 3rem 10rem;
    background: var(--bg-primary);
}

.situations-heading {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 4rem;
}

.situations-grid {
    display: grid;
    gap: 3rem;
    max-width: 72rem;
}

@media (min-width: 768px) {
    .situations-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

.situation {
    border-top: 1px solid var(--border-strong);
    padding-top: 1.75rem;
}

.situation-title {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.situation-details {
    margin: 0;
}

.detail-row {
    display: flex;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.025);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row dt {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    min-width: 4.5rem;
    flex-shrink: 0;
}

.detail-row dd {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* ============================
   HOW WE WORK
   ============================ */
#how-we-work {
    padding: 8rem 3rem 10rem;
    background: var(--bg-primary);
}

#how-we-work .section-thesis {
    padding-left: 0;
    border-left: none;
}

#how-we-work p:not(.section-thesis):not(.memory-line) {
    font-size: 1rem;
    max-width: 38rem;
    padding-left: 1.5rem;
    border-left: 1px solid var(--border-strong);
    margin-bottom: 2rem;
    line-height: 1.85;
    color: var(--text-primary);
    opacity: 0.9;
}

/* Memory moment — isolated, rhythm break */
#how-we-work .memory-line {
    margin-bottom: 0;
    margin-top: 4rem;
    padding-left: 0;
    border-left: none;
    font-size: 0.875rem;
    letter-spacing: 0.01em;
    color: var(--text-tertiary);
    max-width: 18rem;
}

/* ============================
   CONTEXT & PRESENCE
   ============================ */
#context-presence {
    padding: 6rem 3rem 10rem;
    background: linear-gradient(to bottom, var(--bg-primary) 0%, var(--bg-elevated) 100%);
}

#context-presence p {
    font-size: 1rem;
    max-width: 40rem;
    line-height: 1.85;
}

/* ============================
   PRINCIPLES — Credibility Artifact
   ============================ */
.principles {
    padding: 3rem 3rem 4rem;
    background: var(--bg-elevated);
}

.principles p {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--text-tertiary);
    line-height: 1.5;
    margin: 0;
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--border);
}

.principles p:first-child {
    border-top: 1px solid var(--border);
}

/* ============================
   ENGAGEMENT — Private, Selective
   ============================ */
#engagement {
    position: relative;
    padding: 8.5rem 3rem 10rem;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
}

#engagement::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8rem;
    background: linear-gradient(
        to bottom,
        rgba(22, 27, 36, 0.06) 0%,
        transparent 100%
    );
    pointer-events: none;
}

#engagement > p {
    max-width: 36rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.8;
}

#engagement .section-thesis {
    color: var(--text-primary);
    font-size: 1.25rem;
    opacity: 1;
    margin-bottom: 0.5rem;
}

#engagement form {
    margin-top: 3rem;
    max-width: 22rem;
}

#engagement label {
    color: var(--text-tertiary);
}

#engagement input,
#engagement textarea {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
}

#engagement input::placeholder,
#engagement textarea::placeholder {
    color: var(--text-tertiary);
}

#engagement form > p {
    color: var(--text-tertiary);
}

#engagement .form-consent {
    color: var(--text-tertiary);
}

#engagement .form-consent a {
    color: var(--text-secondary);
}

/* ============================
   FOOTER — Closure
   ============================ */
footer {
    padding: 3.5rem 3rem;
    background: var(--bg-deep);
}

.footer-content {
    padding-left: 2rem;
}

.footer-company {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
    margin-bottom: 0.25rem;
}

.footer-copyright {
    font-size: 0.6875rem;
    color: var(--text-tertiary);
    opacity: 0.6;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.footer-links a {
    font-size: 0.6875rem;
    color: var(--text-muted-readable);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.footer-links a:hover {
    opacity: 1;
}

/* ============================
   LEGAL PAGES
   ============================ */
.legal-page {
    background: var(--bg-primary);
}

.legal-content {
    max-width: 40rem;
    margin: 0 auto;
    padding: 8rem 3rem 6rem;
}

.legal-content h1 {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin-bottom: 3rem;
}

.legal-content h2 {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text-secondary);
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.legal-content ul {
    margin: 0.5rem 0 1rem 1.25rem;
}

.legal-content li {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.legal-content section:first-of-type h2 {
    margin-top: 0;
}

.legal-date {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

/* ============================
   FORM ELEMENTS
   ============================ */
label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-on-light-muted);
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

label:first-of-type {
    margin-top: 0;
}

input, textarea {
    display: block;
    width: 100%;
    font-family: inherit;
    font-size: 0.9375rem;
    line-height: 1.5;
    padding: 0.75rem 0.875rem;
    border: 1px solid #a8a7a3;
    border-radius: 0;
    background-color: #dddcd8;
    color: var(--text-on-light);
}

input::placeholder, textarea::placeholder {
    color: #7a7975;
    opacity: 1;
}

input:focus, textarea:focus {
    outline: 2px solid #6a6965;
    outline-offset: 1px;
    border-color: #7a7975;
}

input:focus:not(:focus-visible), textarea:focus:not(:focus-visible) {
    outline: none;
}

input:focus-visible, textarea:focus-visible {
    outline: 2px solid #6a6965;
    outline-offset: 1px;
}

input:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown) {
    border-color: #8b5a5a;
}

input:required, textarea:required {
    background-image: none;
}

textarea {
    height: 6rem;
    min-height: 6rem;
    max-height: 6rem;
    resize: none;
    overflow-y: auto;
}

form > p {
    font-size: 0.75rem;
    color: var(--text-on-light-muted);
    margin-top: 0.5rem;
    margin-bottom: 0;
    line-height: 1.6;
}

button[type="submit"] {
    margin-top: 1.75rem;
    padding: 0.75rem 1.75rem;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    background-color: var(--text-on-light);
    color: #fff;
    border: none;
    border-radius: 0;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #2a2a2a;
}

button[type="submit"]:focus {
    outline: 2px solid var(--text-on-light);
    outline-offset: 2px;
}

button[type="submit"]:disabled {
    background-color: #6a6965;
    color: rgba(255, 255, 255, 0.7);
    cursor: default;
}

.form-consent {
    font-size: 0.6875rem;
    color: var(--text-on-light-muted);
    margin-top: 1rem;
    opacity: 0.7;
}

.form-consent a {
    color: var(--text-on-light-muted);
    text-decoration: underline;
}

.form-consent a:hover {
    opacity: 0.8;
}

/* Form Response */
.form-response {
    max-width: 28rem;
}

.form-response p {
    font-size: 0.9375rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.form-response .response-title {
    color: var(--text-on-light);
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
}

.form-response .response-note {
    color: var(--text-on-light-muted);
    font-size: 0.875rem;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

/* Form Error */
.form-error {
    display: none;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #6b4444;
    margin-top: 1.25rem;
}

/* Optional Field Indicator */
.field-optional {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    opacity: 0.7;
}

/* ============================
   SCROLL REVEAL — Progressive Disclosure
   ============================ */
.reveal {
    opacity: 0;
    transform: translateY(6px);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

#positioning.reveal.visible {
    transition-duration: 1.1s;
}

/* Help columns cascade */
.help-column.reveal.visible {
    transition-duration: 0.9s;
}

.help-column:first-child.reveal.visible {
    transition-delay: 0s;
}

.help-column:nth-child(2).reveal.visible {
    transition-delay: 0.2s;
}

.help-column:nth-child(3).reveal.visible {
    transition-delay: 0.4s;
}

#engagement.reveal {
    transform: none;
}

#engagement.reveal.visible {
    transition: opacity 0.6s ease;
}

@media (prefers-reduced-motion: reduce) {
    .nav {
        transition: none;
        transform: none;
        opacity: 0;
    }
    .nav.visible {
        opacity: 1;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
    .reveal.visible {
        transition: none;
    }
    .help-column.reveal.visible {
        transition-delay: 0s;
    }
    .model-spine {
        transform: translateX(-50%) scaleY(1);
    }
    .model-spine.animate {
        animation: none;
    }
    .model-layer {
        opacity: 1;
        transform: none;
    }
    .model-layer.visible {
        transition: none;
    }
    .model-feedback {
        opacity: 1;
    }
    .model-feedback.visible {
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* ============================
   MOBILE
   ============================ */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .nav {
        padding: 0;
    }

    .nav-inner {
        height: 56px;
        padding-left: 1.5rem;
    }

    .nav-index {
        right: 1.5rem;
    }

    h1 {
        font-size: 2.75rem;
    }

    #hero {
        padding: 8rem 1.5rem 10rem;
        padding-left: 1.5rem;
    }

    #hero::before {
        left: 0.75rem;
    }

    .axis-echo {
        left: 0.75rem;
    }

    #hero h1::after {
        width: 1.5rem;
        margin-top: 1.5rem;
    }

    .hero-tagline {
        font-size: 1.1875rem;
        margin-bottom: 1rem;
    }

    .hero-secondary {
        font-size: 0.9375rem;
    }

    #positioning,
    #operating-model,
    #ways-we-help,
    #situations,
    #how-we-work,
    #context-presence,
    #engagement,
    footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    #positioning {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .operating-model {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .layer-nodes {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .model-node {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }

    .model-feedback {
        display: none;
    }

    .section-thesis {
        font-size: 1.125rem;
    }

    #ways-we-help {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    #ways-we-help .section-thesis {
        margin-bottom: 3rem;
    }

    .situations {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .situations-heading {
        margin-bottom: 3rem;
    }

    .detail-row {
        flex-direction: column;
        gap: 0.25rem;
    }

    .detail-row dt {
        min-width: auto;
    }

    .help-column {
        padding-top: 1.5rem;
    }

    #how-we-work {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    #how-we-work p:not(.section-thesis):not(.memory-line) {
        padding-left: 1rem;
    }

    #how-we-work .memory-line {
        margin-top: 3rem;
    }

    #context-presence {
        padding-top: 4rem;
        padding-bottom: 5rem;
    }

    #engagement {
        padding-top: 5rem;
        padding-bottom: 6.5rem;
    }

    .principles {
        padding: 2.5rem 1.5rem 3rem;
    }

    #engagement::before {
        height: 5rem;
    }

    #engagement .section-thesis {
        font-size: 1.125rem;
    }

    .footer-content {
        padding-left: 0;
    }

    .footer-links {
        gap: 1rem 1.5rem;
    }

    .nav-logo-mark {
        height: 22px;              /* Slightly smaller on mobile */
        transform: scale(1.2);     /* Reduced scale for mobile */
        transform-origin: left center;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none; /* keeps behavior consistent */
}

.nav-logo-wrap {
    display: flex;
    align-items: center;
    height: 100%;
}

/* The SVG has internal whitespace. Size for layout, then optically scale the ink. */
.nav-logo-mark {
    height: 26px;              /* layout height */
    width: auto;
    display: block;
    opacity: 0.95;

    transform: scale(1.45);    /* optical compensation */
    transform-origin: left center;
}

