/* ============================================================
   CoreSample shared styles
   Subsurface / industrial-data aesthetic.
   Deep charcoal ground with warm bone text and sodium amber.
   The colored strata cylinder is the visual anchor.
   ============================================================ */
:root {
    /* Surfaces — warm charcoal, not blue-black. Tinted toward earth. */
    --bg:           #0f0e0b;
    --bg-raised:    #1a1814;
    --bg-inset:     #0a0908;

    /* Text — warm bone */
    --ink:          #ece5d4;
    --ink-mid:      #9d9586;
    --ink-light:    #6a6557;

    /* Lines — warm-tinted, not cool gray */
    --rule:         #2a261f;
    --rule-strong:  #3d382e;

    /* Accent — sodium amber (primary) */
    --accent:       #e8a04f;
    --accent-deep:  #c47a2a;
    --accent-soft:  #f1b56e;
    --accent-glow:  rgba(232,160,79,0.14);

    /* Secondary accent — warm clay for structural elements */
    --accent2:      #b8907a;
    --accent2-dim:  rgba(184,144,122,0.12);

    /* Strata: earth-to-clay gradient, tuned for dark bg */
    --s1: #d9c294;
    --s2: #c79a68;
    --s3: #d18145;
    --s4: #c25933;
    --s5: #a04527;
    --s6: #6e3a23;
    --s7: #4f2e1f;
    --s8: #34231a;

    --serif: 'Instrument Serif', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
    --sans:  'IBM Plex Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --mono:  'IBM Plex Mono', 'SF Mono', Menlo, monospace;

    --maxw: 1180px;
    --pad:  clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Warm grain overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.07;
    mix-blend-mode: screen;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.85  0 0 0 0 0.75  0 0 0 0 0.55  0 0 0 0.7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Soft amber halo behind hero (sodium-lamp feel) */
body::after {
    content: '';
    position: fixed;
    top: -280px;
    left: 50%;
    transform: translateX(-50%);
    width: 1400px;
    height: 700px;
    background: radial-gradient(ellipse at center, rgba(232,160,79,0.08), transparent 65%);
    pointer-events: none;
    z-index: 0;
}

body > * { position: relative; z-index: 1; }

a { color: inherit; }
::selection { background: var(--accent); color: var(--bg); }

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -0.01em;
    margin: 0;
    line-height: 1.02;
}

.eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--ink-mid);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.eyebrow::after { content: ''; flex: 1; height: 1px; background: var(--rule); }

p { margin: 0 0 1em; }

.lede {
    font-family: var(--sans);
    font-weight: 400;
    font-size: clamp(17px, 1.9vw, 21px);
    line-height: 1.55;
    color: var(--ink-mid);
    letter-spacing: 0;
}

.wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--pad);
}

section {
    padding: clamp(72px, 9vw, 120px) 0;
    border-top: 1px solid var(--rule);
}
section:first-of-type { border-top: 0; }

/* Nav */
header.nav { padding: 24px 0 0; }
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.logo {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 24px;
    letter-spacing: -0.015em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
}
.logo-mark {
    width: 14px;
    height: 28px;
    border-radius: 7px;
    background: linear-gradient(
        180deg,
        var(--s1) 0%, var(--s1) 18%,
        var(--s3) 18%, var(--s3) 38%,
        var(--s4) 38%, var(--s4) 58%,
        var(--s6) 58%, var(--s6) 80%,
        var(--s8) 80%, var(--s8) 100%
    );
    box-shadow:
        inset 0 0 4px rgba(0,0,0,0.4),
        0 0 12px rgba(232,160,79,0.25);
}
.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
    margin-left: auto;
}
.nav-links a {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink-mid);
    transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.current { color: var(--ink); border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.nav-cta {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
    padding: 10px 18px;
    border: 1px solid var(--rule-strong);
    border-radius: 999px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.nav-cta:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }

/* Hero */
.hero {
    padding-top: clamp(56px, 8vw, 96px);
    padding-bottom: clamp(72px, 9vw, 120px);
    border-top: 0;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
}
.hero h1 {
    font-size: clamp(44px, 7vw, 92px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.018em;
    margin-bottom: 32px;
}
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.hero .lede { max-width: 38ch; margin-bottom: 36px; }
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: var(--accent);
    color: var(--bg);
    text-decoration: none;
    padding: 18px 28px;
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    transition: background 0.2s;
    font-weight: 500;
}
.hero-cta:hover { background: var(--accent-soft); }
.hero-cta .arrow { display: inline-block; transition: transform 0.25s; }
.hero-cta:hover .arrow { transform: translateX(4px); }

.hero-meta {
    margin-top: 44px;
    padding-top: 26px;
    border-top: 1px solid var(--rule);
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--ink-light);
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}
.hero-meta span strong { color: var(--ink); font-weight: 500; }

/* Core sample visual */
.core-stage { position: relative; padding: 20px 0; display: flex; justify-content: center; }
.core {
    position: relative;
    width: 88px;
    height: 540px;
    border-radius: 44px;
    background: linear-gradient(
        180deg,
        var(--s1) 0%,     var(--s1) 11%,
        var(--s2) 11%,    var(--s2) 22%,
        var(--s3) 22%,    var(--s3) 33%,
        var(--s4) 33%,    var(--s4) 46%,
        var(--s5) 46%,    var(--s5) 58%,
        var(--s6) 58%,    var(--s6) 72%,
        var(--s7) 72%,    var(--s7) 86%,
        var(--s8) 86%,    var(--s8) 100%
    );
    box-shadow:
        inset 14px 0 28px rgba(0,0,0,0.30),
        inset -14px 0 28px rgba(0,0,0,0.30),
        inset 0 0 0 1px rgba(255,220,170,0.06),
        0 30px 80px rgba(232,160,79,0.10),
        0 8px 24px rgba(0,0,0,0.6);
}
.core::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 44px;
    background-image: repeating-linear-gradient(180deg, rgba(0,0,0,0.08) 0, rgba(0,0,0,0.08) 1px, transparent 1px, transparent 4px);
    mix-blend-mode: multiply;
    pointer-events: none;
}
.core::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 14px;
    width: 18px;
    height: calc(100% - 8px);
    background: linear-gradient(90deg, rgba(255,232,196,0.22), rgba(255,232,196,0));
    border-radius: 9px;
    pointer-events: none;
}
/* Core glows when any depth label is hovered */
.core-stage:has(.depth-label:hover) .core {
    box-shadow:
        inset 14px 0 28px rgba(0,0,0,0.30),
        inset -14px 0 28px rgba(0,0,0,0.30),
        inset 0 0 0 1px rgba(255,220,170,0.06),
        0 30px 80px rgba(232,160,79,0.18),
        0 8px 24px rgba(0,0,0,0.6),
        0 0 40px rgba(232,160,79,0.12);
    transition: box-shadow 0.3s;
}
.core-stage:has(.depth-label:hover) .depth-label::before {
    background: var(--rule-strong);
    width: 20px;
}
.core-stage:has(.depth-label:hover) .depth-label:hover::before {
    background: var(--accent);
    width: 28px;
}
.depth-labels {
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: calc(50% + 70px);
    width: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: auto;
}
.depth-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-mid);
    white-space: nowrap;
    cursor: default;
    transition: color 0.2s;
    position: relative;
}
.depth-label:hover { color: var(--ink); }
.depth-label::before { content: ''; width: 20px; height: 1px; background: var(--rule-strong); transition: background 0.2s, width 0.2s; }
.depth-label:hover::before { background: var(--accent); width: 28px; }
.depth-label .d-num { color: var(--accent); font-size: 9.5px; margin-right: 6px; font-weight: 500; }
.depth-desc {
    position: absolute;
    left: calc(100% + 16px);
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--ink-light);
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
    background: var(--bg-raised);
    padding: 4px 10px;
    border-radius: 3px;
    border: 1px solid var(--rule);
}
.depth-label:hover .depth-desc { opacity: 1; }

/* Section heads */
.section-head {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: clamp(24px, 5vw, 80px);
    align-items: start;
    margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head h2 {
    font-size: clamp(38px, 5.2vw, 68px);
    line-height: 1;
    letter-spacing: -0.015em;
}
.section-head h2 em { font-style: italic; color: var(--accent); font-weight: 400; }
.section-head .lede { max-width: 52ch; }

/* Two-column gap cards */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 64px);
}
.gap-card { padding: 32px 0 0; border-top: 1px solid var(--accent2); }
.gap-card .num {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--accent2);
    margin-bottom: 16px;
    display: block;
}
.gap-card h3 {
    font-family: var(--serif);
    font-size: 25px;
    font-weight: 400;
    margin-bottom: 14px;
    line-height: 1.1;
    color: var(--ink);
}
.gap-card p { color: var(--ink-mid); font-size: 16px; margin: 0; line-height: 1.55; }

/* Pipeline (3-step) section */
.pipeline-section {
    background: var(--bg-raised);
    color: var(--ink);
    border-top: 1px solid var(--rule);
    padding: clamp(80px, 9vw, 120px) 0;
    position: relative;
}
.pipeline-section .eyebrow { color: var(--ink-mid); }
.pipeline-section .eyebrow::after { background: var(--rule-strong); }
.pipeline-section h2 em { color: var(--accent); }
.pipeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
    margin-top: 8px;
}
/* Connecting line running through all steps */
.pipeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--rule-strong);
}
.pipeline-step {
    background: transparent;
    padding: 36px 32px 40px;
    position: relative;
    border-top: 3px solid var(--rule);
    transition: border-color 0.2s;
}
.pipeline-step:hover { border-top-color: var(--accent2); }
/* Arrow connector between steps */
.pipeline-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 14px;
    color: var(--ink-light);
    z-index: 1;
    background: var(--bg-raised);
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pipeline-step .step-num {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--accent2);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.pipeline-step .step-num::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent2);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(184,144,122,0.5);
}
.pipeline-step h3 {
    font-family: var(--serif);
    font-size: 25px;
    font-weight: 400;
    margin-bottom: 14px;
    color: var(--ink);
}
.pipeline-step p { color: var(--ink-mid); font-size: 15.5px; line-height: 1.6; margin: 0; }

/* Path cards */
.paths {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
}
.path-card {
    background: var(--bg-raised);
    padding: clamp(36px, 4vw, 52px);
    text-decoration: none;
    color: var(--ink);
    display: block;
    transition: background 0.2s;
    position: relative;
}
.path-card:hover { background: #1f1c17; }
.path-card .path-tag {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.path-card .path-tag::before { content: ''; width: 24px; height: 1px; background: var(--accent); }
.path-card h3 {
    font-family: var(--serif);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 18px;
    color: var(--ink);
}
.path-card p { color: var(--ink-mid); font-size: 16.5px; line-height: 1.55; margin-bottom: 28px; }
.path-link {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--rule-strong);
    padding-bottom: 4px;
    transition: color 0.2s, border-color 0.2s;
}
.path-card:hover .path-link { color: var(--accent); border-bottom-color: var(--accent); }
.path-card:hover .path-link .arrow { transform: translateX(4px); }
.path-link .arrow { transition: transform 0.25s; }

/* Mid-page CTA bar */
.cta-bar {
    background: var(--bg-raised);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: clamp(48px, 6vw, 72px) 0;
}
.cta-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(32px, 4vw, 64px);
}
.cta-bar-text h2 {
    font-family: var(--serif);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 12px;
    color: var(--ink);
}
.cta-bar-text p {
    font-family: var(--sans);
    font-size: 16px;
    color: var(--ink-mid);
    margin: 0;
    line-height: 1.5;
}
.cta-bar-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}
.cta-bar-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: var(--bg);
    text-decoration: none;
    padding: 14px 24px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 999px;
    transition: background 0.2s;
    font-weight: 500;
    white-space: nowrap;
}
.cta-bar-btn:hover { background: var(--accent-soft); }
.cta-bar-btn .arrow { transition: transform 0.25s; }
.cta-bar-btn:hover .arrow { transform: translateX(4px); }
.cta-bar-btn--ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--rule-strong);
}
.cta-bar-btn--ghost:hover {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}

/* Numbered list */
.numbered-list { list-style: none; padding: 0; margin: 0; counter-reset: nl; }
.numbered-list li {
    counter-increment: nl;
    padding: 28px 0;
    border-top: 1px solid var(--rule);
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    align-items: start;
}
.numbered-list li:last-child { border-bottom: 1px solid var(--rule); }
.numbered-list li::before {
    content: counter(nl, decimal-leading-zero);
    font-family: var(--mono);
    font-size: 13px;
    color: var(--accent);
    letter-spacing: 0.1em;
}
.numbered-list h4 {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
    margin: 0 0 8px;
    color: var(--ink);
}
.numbered-list p { font-size: 15.5px; color: var(--ink-mid); line-height: 1.55; margin: 0; }

/* Split table */
.split-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
}
.split-side { background: var(--bg-raised); padding: clamp(28px, 3vw, 40px); }
.split-side h4 {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0 0 24px;
    color: var(--ink);
    font-weight: 500;
}
.split-side.yours h4 { color: var(--accent); }
.split-side ul { list-style: none; padding: 0; margin: 0; }
.split-side li {
    padding: 12px 0;
    border-bottom: 1px solid var(--rule);
    font-size: 15px;
    color: var(--ink-mid);
}
.split-side li:last-child { border-bottom: 0; }

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: clamp(40px, 6vw, 88px);
    align-items: start;
}
.contact-side h2 {
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1;
    margin-bottom: 24px;
}
.contact-side h2 em { font-style: italic; color: var(--accent); font-weight: 400; }
.contact-side .lede { margin-bottom: 28px; }
.contact-direct {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--ink-mid);
    padding-top: 24px;
    border-top: 1px solid var(--rule);
}
.contact-direct a {
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 1px;
}
.contact-direct a:hover { color: var(--accent); }

/* Form */
form.inquiry { display: grid; gap: 26px; }
.field-group { display: grid; gap: 8px; }
.field-group label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-mid);
}
.field-group .req { color: var(--accent); }

input[type="text"],
input[type="email"],
textarea {
    font-family: var(--sans);
    font-size: 16px;
    color: var(--ink);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--rule-strong);
    padding: 12px 0;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
    border-radius: 0;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus { border-bottom-color: var(--accent); }
textarea { resize: vertical; min-height: 120px; line-height: 1.5; }

.inquiry-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.inquiry-types label {
    cursor: pointer;
    padding: 16px 18px;
    border: 1px solid var(--rule-strong);
    border-radius: 4px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--ink-mid);
    transition: all 0.15s;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--bg-raised);
    position: relative;
}
.inquiry-types label:hover { border-color: var(--accent); color: var(--ink); }
.inquiry-types input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.inquiry-types label:has(input:checked) {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg);
}
.inquiry-types .type-title { font-weight: 500; letter-spacing: 0.04em; }
.inquiry-types .type-sub { font-size: 10.5px; opacity: 0.75; letter-spacing: 0.02em; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

button[type="submit"] {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: var(--accent);
    color: var(--bg);
    border: 0;
    padding: 18px 32px;
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
    font-weight: 500;
}
button[type="submit"]:hover { background: var(--accent-soft); }
button[type="submit"] .arrow { transition: transform 0.25s; }
button[type="submit"]:hover .arrow { transform: translateX(4px); }

.form-notice {
    padding: 18px 22px;
    border-radius: 4px;
    font-size: 14.5px;
    line-height: 1.5;
    font-family: var(--sans);
    margin-bottom: 8px;
}
.form-notice.success {
    background: rgba(232,160,79,0.10);
    border: 1px solid var(--accent);
    color: var(--accent-soft);
}
.form-notice.error {
    background: rgba(232,160,79,0.06);
    border: 1px solid var(--accent);
    color: var(--accent-soft);
}

/* Footer */
footer {
    padding: 56px 0 40px;
    border-top: 1px solid var(--rule);
    color: var(--ink-light);
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.04em;
}
.foot-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    flex-wrap: wrap;
}
.foot-tag {
    font-family: var(--serif);
    font-size: 16px;
    font-style: italic;
    color: var(--ink-mid);
    letter-spacing: 0;
    text-transform: none;
}

/* ============================================================
   Trajectory log (labs page hero visual)
   A single episode shown as an event log. Concrete, technical.
   ============================================================ */
.trajectory-log,
.job-feed {
    background: var(--bg-raised);
    border: 1px solid var(--rule);
    border-radius: 4px;
    padding: 24px 0 22px;
    font-family: var(--mono);
    width: 100%;
    max-width: 460px;
    box-shadow:
        0 30px 80px rgba(0,0,0,0.4),
        0 0 0 1px rgba(232,160,79,0.04);
    position: relative;
}
.trajectory-log::before,
.job-feed::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(232,160,79,0.25), transparent 30%);
    pointer-events: none;
    z-index: -1;
    filter: blur(20px);
    opacity: 0.6;
}

.log-header,
.feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 22px 16px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--rule);
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.log-id, .feed-title-strong { color: var(--accent); font-weight: 500; }
.log-type, .feed-title-muted { color: var(--ink-mid); }

.feed-pulse {
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}
.feed-pulse::before {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(232,160,79,0.8);
    animation: cs-pulse 1.6s ease-in-out infinite;
}
@keyframes cs-pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.35; }
}

.log-entries, .feed-entries {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Trajectory log entries (labs) */
.log-entries li {
    display: grid;
    grid-template-columns: 50px 18px 108px 1fr;
    align-items: center;
    gap: 10px;
    padding: 6.5px 22px;
    font-size: 11.5px;
    color: var(--ink-mid);
}
.log-time {
    color: var(--ink-light);
    font-size: 10.5px;
    letter-spacing: 0.04em;
}
.log-marker {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ink-light);
    justify-self: center;
}
.log-entries li.reject .log-marker {
    background: transparent;
    border: 1px solid var(--accent);
    width: 8px;
    height: 8px;
}
.log-entries li.outcome .log-marker {
    background: var(--accent);
    box-shadow: 0 0 8px rgba(232,160,79,0.7);
}
.log-step {
    color: var(--ink);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 500;
}
.log-entries li.reject .log-step { color: var(--accent); }
.log-entries li.outcome .log-step { color: var(--accent); }
.log-desc { color: var(--ink-mid); font-size: 11.5px; }
.log-entries li.outcome .log-desc { color: var(--ink); }

.log-footer {
    padding: 14px 22px 0;
    margin-top: 8px;
    border-top: 1px solid var(--rule);
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.log-footer .verified { color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.log-footer .verified::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(232,160,79,0.7);
}
.log-footer .meta { color: var(--ink-light); }

/* Operators job feed entries */
.feed-entries li {
    display: grid;
    grid-template-columns: 48px 80px 1fr;
    align-items: center;
    gap: 10px;
    padding: 6.5px 22px;
    font-size: 11.5px;
    color: var(--ink-mid);
}
.feed-time {
    color: var(--ink-light);
    font-size: 10.5px;
    letter-spacing: 0.04em;
}
.feed-id {
    color: var(--ink);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.04em;
}
.feed-desc { color: var(--ink-mid); font-size: 11.5px; }
.feed-fade {
    text-align: center;
    color: var(--ink-light);
    padding: 6px 22px 2px;
    letter-spacing: 0.3em;
    font-size: 11px;
}

.feed-footer {
    padding: 14px 22px 0;
    margin-top: 8px;
    border-top: 1px solid var(--rule);
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.feed-stat { color: var(--accent); font-weight: 500; }
.feed-stat-label { color: var(--ink-light); }

/* Responsive */
@media (max-width: 880px) {
    .hero-grid { grid-template-columns: 1fr; gap: 56px; }
    .core-stage { order: 2; transform: scale(0.85); transform-origin: center top; }
    .trajectory-log, .job-feed { margin: 0 auto; }
    .depth-labels { left: calc(50% + 60px); }
    .section-head { grid-template-columns: 1fr; gap: 20px; }
    .two-col, .paths, .split-table { grid-template-columns: 1fr; }
    .pipeline { grid-template-columns: 1fr; }
    .pipeline::before { display: none; }
    .pipeline-step { border-top: none; border-left: 3px solid var(--rule); padding-left: 24px; }
    .pipeline-step:hover { border-left-color: var(--accent2); }
    .pipeline-step:not(:last-child)::after { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .inquiry-types { grid-template-columns: 1fr; }
    .cta-bar-inner { flex-direction: column; text-align: center; }
    .cta-bar-actions { justify-content: center; }
    .nav-links { gap: 18px; }
}

@media (max-width: 520px) {
    .hero-meta { gap: 18px; }
    .nav-cta { display: none; }
    .nav-links a:not(.current) { display: none; }
    .core { width: 72px; height: 460px; border-radius: 36px; }
    .depth-labels { left: calc(50% + 52px); width: 180px; }
    .depth-label { font-size: 9.5px; }
    .numbered-list li { grid-template-columns: 56px 1fr; gap: 16px; }
    .log-entries li { grid-template-columns: 42px 16px 88px 1fr; gap: 8px; padding: 6px 16px; font-size: 10.5px; }
    .log-step { font-size: 9.5px; }
    .log-desc { font-size: 10.5px; }
    .feed-entries li { grid-template-columns: 42px 70px 1fr; gap: 8px; padding: 6px 16px; font-size: 10.5px; }
    .cta-bar-actions { flex-direction: column; width: 100%; }
    .cta-bar-btn { width: 100%; justify-content: center; }
    .log-footer, .feed-footer { padding: 12px 16px 0; font-size: 9px; }
    .feed-entries li { grid-template-columns: 42px 70px 1fr; gap: 8px; padding: 6px 16px; font-size: 10.5px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
