:root {
    --j-navy: #0c1524;
    --j-deep: #070d18;
    --j-card: #13233a;
    --j-line: #2a3b55;
    --j-body: #c7cfdb;
    --j-mut: #93a0b4;
    --j-white: #f6f3ee;
    --j-accent: #d4663e;
    --j-accent-lt: #ec9a78;
    --j-paper: #f6f3ee;
    --j-ink: #1b2633;
    --j-heading: "Poppins", system-ui, sans-serif;
    --j-text: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

.page h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; }
main .about-stat-num { font-family: var(--j-heading); }

html { scroll-behavior: smooth; }

.j {
    background: var(--j-navy);
    color: var(--j-body);
    font-family: var(--j-text);
    font-size: 1.0625rem;
    line-height: 1.65;
    overflow-x: clip;
}
.j *, .j *::before, .j *::after { box-sizing: border-box; }
.j p { margin: 0 0 1rem; }
.j a:not(.j-btn):not(.j-option):not(.j-tile) { color: var(--j-accent-lt); }

.j h1, .j h2 { text-wrap: balance; }
.j h1, .j h2, .j h3 {
    color: var(--j-white);
    font-family: var(--j-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}
.j h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.08; }
.j h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.15; }
.j h3 { font-size: 1.4rem; line-height: 1.25; margin-bottom: 0.75rem; }
.j h1 em, .j h2 em {
    color: var(--j-accent-lt);
    display: block;
    font-style: italic;
    font-weight: 500;
    letter-spacing: -0.01em;
}
.j h1 em { font-size: 0.5em; line-height: 1.3; margin-top: 0.6rem; }

.j-wrap { margin: 0 auto; max-width: 1080px; padding: 0 1.5rem; }
.j-narrow { max-width: 760px; text-align: center; }
.j-section { padding: clamp(4rem, 9vw, 7rem) 0; }
.j-section-deep { background: var(--j-deep); }

.j-eyebrow, .j-stage, .j-pill {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}
.j .j-eyebrow { color: var(--j-accent-lt); margin-bottom: 1rem; }
.j .j-stage { color: var(--j-mut); margin-bottom: 0.6rem; }
.j .j-lead { color: var(--j-body); font-size: 1.2rem; margin: 1.25rem 0 0; max-width: 42rem; }
.j-narrow .j-lead { margin-inline: auto; }

/* Hero */
.j-hero {
    align-items: center;
    display: flex;
    min-height: min(860px, 92vh);
    padding: 5rem 0 6rem;
    position: relative;
    background: radial-gradient(ellipse at 50% 0%, #16263f 0%, var(--j-navy) 62%);
}
.j-hero-inner {
    margin: 0 auto;
    max-width: 960px;
    padding: 0 1.5rem;
    position: relative;
    text-align: center;
    z-index: 1;
}
.j .j-pill {
    border: 1px solid var(--j-line);
    border-radius: 999px;
    color: var(--j-accent-lt);
    display: inline-block;
    font-size: 0.68rem;
    margin-bottom: 1.75rem;
    padding: 0.45rem 1rem;
}
.j-pillars { list-style: none; margin: 2rem 0 0; padding: 0; }
.j-pillars li { margin: 0.2rem 0; }
.j-pillars strong { color: var(--j-white); }
.j-strands { height: 100%; inset: 0; pointer-events: none; position: absolute; width: 100%; }
.j-strands path { fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; }
.j-strands-tangle path {
    animation: j-draw 2.4s ease-out forwards;
    stroke: #7f93b2;
    stroke-opacity: 0.32;
    stroke-width: 1.2;
}
.j-strands-line {
    animation: j-draw 1.2s 1.8s ease-out forwards;
    stroke: var(--j-accent);
    stroke-width: 2;
}
@keyframes j-draw { to { stroke-dashoffset: 0; } }

.j-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 2.25rem; }
.j-cta-left { justify-content: flex-start; margin-top: 1.25rem; }
.j-btn {
    border: 1px solid transparent;
    border-radius: 8px;
    display: inline-block;
    font-weight: 700;
    line-height: 1.3;
    padding: 0.8rem 1.4rem;
    text-decoration: none;
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.j-btn:hover { transform: translateY(-1px); }
.j-btn-primary { background: var(--j-accent); color: var(--j-deep); }
.j-btn-primary:hover { background: var(--j-accent-lt); color: var(--j-deep); }
.j-btn-ghost { background: rgba(15, 29, 49, 0.5); border-color: var(--j-line); color: var(--j-white); }
.j-btn-ghost:hover { border-color: var(--j-accent-lt); color: var(--j-white); }

.j .j-byline {
    align-items: center;
    color: var(--j-mut);
    display: flex;
    font-size: 0.9rem;
    gap: 0.6rem;
    justify-content: center;
    margin: 2rem 0 0;
}
.j-byline img { border-radius: 50%; flex: none; }
.j-byline strong { color: var(--j-white); }

/* Proof strip */
.j-proof-strip {
    border-block: 1px solid var(--j-line);
    overflow: hidden;
    padding: 1.5rem 0 1rem;
    text-align: center;
}
.j-track { display: flex; width: max-content; animation: j-marquee 60s linear infinite; }
.j-track-set { display: flex; gap: 1rem; padding-right: 1rem; }
.j-proof-strip:hover .j-track, .j-pause-input:checked ~ .j-track { animation-play-state: paused; }
@keyframes j-marquee { to { transform: translateX(-50%); } }
.j-quote {
    background: var(--j-card);
    border: 1px solid var(--j-line);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
    padding: 1.1rem 1.25rem;
    text-align: left;
    width: 340px;
}
.j .j-quote blockquote {
    background: none;
    border: 0;
    color: var(--j-white);
    font-size: 0.98rem;
    font-style: normal;
    line-height: 1.5;
    margin: 0 0 0.75rem;
    padding: 0;
}
.j-quote figcaption { color: var(--j-mut); font-size: 0.82rem; }
.j-pause-input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.j-pause-label {
    border: 1px solid var(--j-line);
    border-radius: 999px;
    color: var(--j-mut);
    cursor: pointer;
    display: inline-block;
    font-size: 0.75rem;
    margin-top: 1rem;
    padding: 0.15rem 0.8rem;
}
.j-pause-input:focus-visible ~ .j-pause-label { outline: 2px solid var(--j-accent-lt); }

/* Where are you */
.j-options { display: grid; gap: 0.6rem; margin-top: 2.5rem; text-align: left; }
.j-option {
    align-items: center;
    background: var(--j-card);
    border: 1px solid var(--j-line);
    border-radius: 12px;
    color: var(--j-white);
    display: flex;
    font-weight: 700;
    gap: 1rem;
    justify-content: space-between;
    padding: 1.05rem 1.25rem;
    text-decoration: none;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.j-option:hover { border-color: var(--j-accent-lt); color: var(--j-white); transform: translateX(3px); }
.j-option b { color: var(--j-accent-lt); }
.j-option-accent { border-color: var(--j-accent); }

/* The path */
.j-path { counter-reset: none; list-style: none; margin: 3.5rem 0 0; padding: 0; position: relative; }
.j-path::before {
    background: linear-gradient(var(--j-line) 72%, var(--j-accent));
    bottom: 2rem;
    content: "";
    left: 1.2rem;
    position: absolute;
    top: 1rem;
    width: 2px;
}
.j-station {
    margin: 0 0 1.5rem;
    padding-left: 3.75rem;
    position: relative;
    scroll-margin-top: 90px;
    transition: opacity 0.2s ease;
}
.j-node {
    align-items: center;
    background: var(--j-deep);
    border: 2px solid var(--j-line);
    border-radius: 50%;
    color: var(--j-white);
    display: flex;
    font-family: var(--j-heading);
    font-weight: 600;
    height: 2.5rem;
    justify-content: center;
    left: 0;
    position: absolute;
    top: 1.25rem;
    width: 2.5rem;
}
.j-card {
    background: var(--j-card);
    border: 1px solid var(--j-line);
    border-radius: 14px;
    padding: 1.75rem;
}
.j-card-cover { align-items: center; display: grid; gap: 1.75rem; grid-template-columns: 1.4fr 1fr; }
.j-card-cover img { border-radius: 8px; display: block; height: auto; width: 100%; }
.j-split { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.j .j-meta { color: var(--j-white); font-size: 0.92rem; font-weight: 700; }
.j-card p strong { color: var(--j-white); }
.j-station-accent .j-node { background: var(--j-accent); border-color: var(--j-accent); color: var(--j-deep); }
.j-card-accent {
    background: linear-gradient(135deg, #2a2231, var(--j-card) 70%);
    border-color: var(--j-accent);
}

.j .j-here {
    background: var(--j-accent);
    border-radius: 999px;
    color: var(--j-deep);
    display: none;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    padding: 0.15rem 0.7rem;
    width: fit-content;
}
.j-station:target .j-here { display: block; }
.j-station:target .j-node { background: var(--j-accent); border-color: var(--j-accent); color: var(--j-deep); }
.j-station:target .j-card { border-color: var(--j-accent); }
.j-path:has(.j-station:target) .j-station:not(:target) { opacity: 0.55; }
.j-path:has(.j-station:target) .j-station:not(:target):hover { opacity: 1; }

/* Bands with product-style mock-ups */
.j-band {
    align-items: center;
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
    grid-template-columns: 1fr 1fr;
    margin-top: clamp(3rem, 7vw, 5rem);
}
.j-band-flip > :first-child { order: 2; }
.j-ticks { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.j-ticks li { color: var(--j-white); margin: 0.4rem 0; padding-left: 1.6rem; position: relative; }
.j-ticks li::before { color: var(--j-accent-lt); content: "\2713"; left: 0; position: absolute; }
.j-mock {
    background: var(--j-deep);
    border: 1px solid var(--j-line);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    margin: 0;
    overflow: hidden;
}
.j-mock .copy-btn { display: none; }
.j-mock pre {
    background: none;
    border: 0;
    color: var(--j-body);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
    overflow-x: auto;
    padding: 1.25rem 1.5rem;
}
.j-mock-bar { border-bottom: 1px solid var(--j-line); display: flex; gap: 0.4rem; padding: 0.75rem 1rem; }
.j-mock-bar i { background: var(--j-line); border-radius: 50%; display: block; height: 0.65rem; width: 0.65rem; }
.j-mock-file {
    border-bottom: 1px solid var(--j-line);
    color: var(--j-mut);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.82rem;
    padding: 0.75rem 1.25rem;
}
.j-red { color: #ef8a6b; }
.j-green { color: #5fd3a8; }
.j-dim { color: var(--j-mut); }
.j-del { color: #ef8a6b; }
.j-add { color: #5fd3a8; }
.j-comment {
    background: var(--j-card);
    border-top: 1px solid var(--j-line);
    display: flex;
    gap: 0.75rem;
    padding: 1.1rem 1.25rem;
}
.j-comment img { border-radius: 50%; flex: none; height: 32px; width: 32px; }
.j .j-comment p { font-size: 0.95rem; margin: 0; }
.j-comment strong { color: var(--j-white); }

/* Paper band */
.j-paper { background: var(--j-paper); color: var(--j-ink); }
.j-paper h2, .j-paper h3 { color: var(--j-ink); }
.j .j-paper .j-eyebrow { color: #9a3f22; }
.j .j-paper a:not(.j-btn):not(.j-option):not(.j-tile) { color: #9a3f22; }
.j-outcomes { display: grid; gap: 2.5rem; grid-template-columns: repeat(3, 1fr); margin-top: 3rem; }
.j-outcomes img { border-radius: 10px; display: block; height: 170px; margin-bottom: 1.25rem; object-fit: contain; width: 100%; }
.j .j-more { margin: 2.5rem 0 0; }
.j .j-paper h2 em { color: #9a3f22; }
.j-stats { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, 1fr); margin: 2.5rem 0 0; }
.j-stats dt { color: var(--j-ink); font-family: var(--j-heading); font-size: 2rem; font-weight: 700; line-height: 1.2; }
.j-stats dd { color: #4f5966; font-size: 0.95rem; margin: 0.2rem 0 0; }
.j .j-subhead { font-size: 1.3rem; margin: 4rem 0 0.25rem; }
.j .j-source { color: #4f5966; font-size: 0.92rem; margin: 0 0 1.5rem; }
.j-wall-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
.j-wall-grid figure {
    background: #fff;
    border: 1px solid #ddd6cb;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
    padding: 1.25rem;
}
.j .j-wall-grid blockquote {
    background: none;
    border: 0;
    color: var(--j-ink);
    font-size: 1rem;
    font-style: normal;
    line-height: 1.5;
    margin: 0 0 0.9rem;
    padding: 0;
}
.j-masonry { column-gap: 1rem; columns: 3; }
.j-masonry figure {
    background: #fff;
    border: 1px solid #ddd6cb;
    border-radius: 12px;
    break-inside: avoid;
    margin: 0 0 1rem;
    padding: 1.25rem;
}
.j .j-masonry blockquote {
    background: none;
    border: 0;
    color: var(--j-ink);
    font-size: 1rem;
    font-style: normal;
    line-height: 1.5;
    margin: 0 0 0.75rem;
    padding: 0;
}
.j-masonry figcaption, .j-wall-grid figcaption { color: #4f5966; font-size: 0.85rem; }

/* Shared across home and consulting */
.j .j-lead-center { margin-inline: auto; }
.j-facts { border-block: 1px solid var(--j-line); padding: 2rem 0; }
.j-facts .j-stats { margin: 0 auto; }
.j-facts .j-stats dt { color: var(--j-white); }
.j-facts .j-stats dd { color: var(--j-mut); }
.j-path-plain::before { display: none; }
.j-path-plain .j-station { padding-left: 0; }
.j-card-service { display: grid; gap: 2rem; grid-template-columns: 1.5fr 1fr; }
.j-card-service .j-ticks { align-self: center; margin: 0; }
.j-tiles { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); margin: 3rem 0 2rem; }
.j-tile {
    background: var(--j-card);
    border: 1px solid var(--j-line);
    border-radius: 14px;
    color: var(--j-body);
    display: block;
    padding: 1.5rem;
    text-decoration: none;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.j-tile:hover { border-color: var(--j-accent-lt); color: var(--j-body); transform: translateY(-2px); }
.j .j-tile p { margin: 0; }
.j-stops { display: grid; gap: 0.75rem; grid-template-columns: repeat(5, 1fr); list-style: none; margin: 3rem 0 0; padding: 0; }
.j-stops a {
    background: var(--j-card);
    border: 1px solid var(--j-line);
    border-radius: 12px;
    display: block;
    height: 100%;
    padding: 1.1rem;
    text-decoration: none;
    transition: border-color 0.15s ease;
}
.j-stops a:hover { border-color: var(--j-accent-lt); }
.j-stops strong { color: var(--j-white); display: block; }
.j-stops span { color: var(--j-mut); font-size: 0.92rem; }
.j-stop-accent a { border-color: var(--j-accent); }
.j-video { margin: 0; }
.j-video video { background: var(--j-deep); border-radius: 12px; display: block; height: auto; width: 100%; }
.j-video figcaption { color: #4f5966; font-size: 0.85rem; margin-top: 0.5rem; }
.j-paper .j-band { margin-top: 2.5rem; }
.j-wall-grid-two { grid-template-columns: repeat(2, 1fr); margin-top: 3rem; }
.j .j-wall-grid figure p { margin: 0; }
.j-wall-grid figure:has(h3) { justify-content: flex-start; }
.j .j-source-lead { font-size: 1.05rem; margin: 1rem 0 2rem; }
.j-faq { margin-top: 2.5rem; text-align: left; }
.j-faq details { border-bottom: 1px solid var(--j-line); padding: 1.1rem 0; }
.j-faq summary { color: var(--j-white); cursor: pointer; font-weight: 700; }
.j .j-faq p { margin: 0.75rem 0 0; }
.j-bio { align-items: flex-start; display: flex; gap: 1.5rem; margin-top: 3.5rem; text-align: left; }
#about .j-bio { margin-top: 0; }
.j-bio img { border-radius: 50%; flex: none; }
.j-form { display: flex; gap: 0.5rem; margin-top: 2rem; }
.j-form input[type="text"], .j-form input[type="email"] {
    background: var(--j-card);
    border: 1px solid var(--j-line);
    border-radius: 8px;
    color: var(--j-white);
    flex: 1;
    font: inherit;
    min-width: 0;
    padding: 0.75rem 1rem;
}
.j-form button { border: 0; cursor: pointer; font: inherit; font-weight: 700; }

.j-hero-split { align-items: center; display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1.35fr 1fr; max-width: 1180px; text-align: left; width: 100%; }
.j .j-hero-split .j-pill { letter-spacing: 0.1em; }
.j-hero-split h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.j .j-byline-left { justify-content: flex-start; }
.j-portrait { border: 1px solid var(--j-line); border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); display: block; height: auto; object-fit: cover; width: 100%; }
.j-story { list-style: none; margin: 3rem 0 0; padding: 0; }
.j-story li { border-top: 1px solid #ddd6cb; display: grid; gap: 1.5rem; grid-template-columns: 9rem 1fr; padding: 1.5rem 0; }
.j-story li > span { color: #9a3f22; font-family: var(--j-heading); font-size: 1.1rem; font-weight: 700; }
.j .j-story h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.j .j-story p { color: #2a3340; margin: 0; }

/* Older components on the same shapes and type as the rest */
.card, .offer-card { border-radius: 14px; }
.card h3, .offer-card h3 { font-family: var(--j-heading); font-weight: 700; }

/* Final */
.j-final { background: radial-gradient(ellipse at 50% 100%, #16263f 0%, var(--j-navy) 62%); }
.j .j-aside { color: var(--j-mut); font-size: 0.92rem; margin: 2rem 0 0; }

.j :focus-visible { outline: 2px solid var(--j-accent-lt); outline-offset: 2px; }

@media (max-width: 800px) {
    .j-hero-split { grid-template-columns: 1fr; }
    .j-portrait { max-width: 280px; }
    .j-story li { gap: 0.25rem; grid-template-columns: 1fr; }
    .j-masonry { columns: 1; }
    .j-wrap, .j-hero-inner { padding: 0 1rem; }
    .j-hero { min-height: 0; padding: 4rem 0 5rem; }
    .j-card-cover, .j-card-service, .j-split, .j-band, .j-outcomes, .j-stats, .j-wall-grid, .j-tiles, .j-stops { grid-template-columns: 1fr; }
    .j-bio { flex-direction: column; }
    .j-form { flex-direction: column; }
    .j-card-cover img { grid-row: 1; }
    .j-band-flip > :first-child { order: 0; }
    .j-station { padding-left: 2.9rem; }
    .j-path::before { left: 0.95rem; }
    .j-node { height: 2rem; top: 1.1rem; width: 2rem; font-size: 0.9rem; }
    .j-card { padding: 1.25rem; }
    .j-quote { width: 280px; }
    .j .j-byline { align-items: flex-start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .j-track { animation: none; }
    .j-proof-strip { overflow-x: auto; }
    .j-pause-label { display: none; }
    .j-strands path { animation: none; stroke-dashoffset: 0; }
    .j-btn, .j-option, .j-station, .j-tile, .j-stops a { transition: none; }
}
