:root {
    color-scheme: dark;
    --bg: #070f18;
    --bg-2: #0b121c;
    --panel: rgba(12, 20, 31, 0.88);
    --panel-solid: #0d1622;
    --panel-strong: #111d2b;
    --ink: #f5efe2;
    --ink-soft: #cfc5b4;
    --muted: #928a7d;
    --gold: #d4b876;
    --gold-bright: #ead596;
    --gold-muted: #a9945f;
    --gold-dim: rgba(212, 184, 118, 0.18);
    --line: rgba(212, 184, 118, 0.2);
    --line-strong: rgba(212, 184, 118, 0.42);
    --accent: #7fa7a0;
    --surface-card: rgba(5, 9, 15, 0.32);
    --surface-card-strong: rgba(8, 14, 22, 0.52);
    --surface-border: rgba(212, 184, 118, 0.17);
    --surface-border-strong: rgba(234, 213, 150, 0.34);
    --surface-glow: 0 16px 38px rgba(0, 0, 0, 0.18);
    --shadow: 0 28px 72px rgba(0, 0, 0, 0.36);
    --radius: 10px;
    --font-body: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display: "Space Grotesk", "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
    --font-ui: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
    --font: var(--font-body);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scrollbar-color: rgba(212, 184, 118, 0.55) #05090f;
    scrollbar-width: thin;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #05090f;
}

::-webkit-scrollbar-thumb {
    border: 2px solid #05090f;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(234, 213, 150, 0.72), rgba(127, 167, 160, 0.38));
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(234, 213, 150, 0.9), rgba(212, 184, 118, 0.58));
}

@keyframes hero-drift {
    from {
        transform: scale(1.02) translate3d(0, 0, 0);
    }

    to {
        transform: scale(1.06) translate3d(-1.2%, 0.8%, 0);
    }
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 78% 8%, rgba(212, 184, 118, 0.11), transparent 32%),
        radial-gradient(circle at 10% 82%, rgba(127, 167, 160, 0.07), transparent 34%),
        linear-gradient(180deg, #05090f 0%, var(--bg) 42%, #090c11 100%);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.68;
    letter-spacing: 0;
    font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(rgba(245, 239, 226, 0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 239, 226, 0.009) 1px, transparent 1px),
        linear-gradient(115deg, rgba(245, 239, 226, 0.025), transparent 44%, rgba(212, 184, 118, 0.045));
    background-size: 56px 56px, 56px 56px, auto;
    pointer-events: none;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 50% 0%, rgba(234, 213, 150, 0.045), transparent 34%),
        linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.14) 100%);
    pointer-events: none;
}

img {
    display: block;
    max-width: 100%;
    image-rendering: auto;
}

a {
    color: inherit;
}

main a:not(.button) {
    text-decoration-color: rgba(212, 184, 118, 0.48);
    text-underline-offset: 0.18em;
    transition: color 160ms ease, text-decoration-color 160ms ease;
}

main a:not(.button):hover {
    color: var(--gold-bright);
    text-decoration-color: var(--gold-bright);
}

::selection {
    background: var(--gold);
    color: #09111c;
}

:focus-visible {
    outline: 2px solid var(--gold-bright);
    outline-offset: 3px;
}

.button:focus-visible {
    outline-offset: 4px;
    box-shadow: 0 0 0 4px rgba(212, 184, 118, 0.14);
}

.skip-link {
    position: absolute;
    left: 16px;
    top: 14px;
    z-index: 100;
    padding: 8px 12px;
    background: var(--gold);
    color: #09111c;
    border-radius: 4px;
    font-weight: 700;
    transform: translateY(-140%);
}

.skip-link:focus {
    transform: translateY(0);
}

.wrap {
    width: calc(100% - 40px);
    max-width: 1160px;
    margin: 0 auto;
}

[id] {
    scroll-margin-top: 92px;
}

.section-band {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero {
    min-height: clamp(720px, 100svh, 940px);
    display: grid;
    align-items: center;
    padding: clamp(38px, 5.4vw, 64px) 0 clamp(34px, 4.6vw, 56px);
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 24% 48%, rgba(212, 184, 118, 0.13), transparent 28%),
        linear-gradient(90deg, rgba(5, 9, 15, 0.96) 0%, rgba(5, 9, 15, 0.86) 48%, rgba(5, 9, 15, 0.34) 100%);
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
    animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    grid-template-areas:
        "copy portrait"
        "actions portrait"
        "proof portrait";
    gap: clamp(18px, 2.8vw, 32px) clamp(36px, 5vw, 72px);
    align-items: center;
}

.hero-copy {
    position: relative;
    grid-area: copy;
    min-width: 0;
    padding: clamp(8px, 1.4vw, 18px) 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 1rem;
    color: var(--gold-muted);
    font-size: 0.78rem;
    font-weight: 680;
    letter-spacing: 0.035em;
    line-height: 1.3;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 650;
    line-height: 1.04;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

h1 {
    max-width: 820px;
    margin-bottom: 22px;
    font-size: clamp(3.15rem, 6.05vw, 5.65rem);
    line-height: 0.98;
    text-shadow: 0 18px 54px rgba(0, 0, 0, 0.4);
}

h2 {
    margin-bottom: 0;
    font-size: clamp(2rem, 4.2vw, 4.6rem);
    text-shadow: 0 14px 40px rgba(0, 0, 0, 0.26);
}

h3 {
    margin-bottom: 12px;
    font-size: 1.12rem;
    letter-spacing: -0.015em;
}

.hero-lede {
    max-width: 620px;
    margin-bottom: 0;
    color: var(--ink-soft);
    font-size: clamp(1.04rem, 1.45vw, 1.2rem);
    line-height: 1.66;
    text-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.direct-answer p,
.section-note,
.topic-row p,
.capability-list p,
.method-list p,
.profile-summary {
    max-width: 68ch;
}

.hero-actions {
    grid-area: actions;
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 0;
}

.button {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    max-width: 100%;
    padding: 12px 17px;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 800;
    font-family: var(--font-ui);
    letter-spacing: 0.005em;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    opacity: 0;
    transform: translateX(-55%);
    transition: opacity 180ms ease, transform 420ms ease;
}

.button.primary {
    border-color: var(--gold);
    background: linear-gradient(180deg, var(--gold-bright), var(--gold));
    color: #09111c;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.32),
        0 14px 34px rgba(212, 184, 118, 0.16),
        0 12px 28px rgba(0, 0, 0, 0.18);
}

.button.secondary {
    border-color: rgba(212, 184, 118, 0.28);
    background:
        linear-gradient(180deg, rgba(245, 239, 226, 0.045), rgba(245, 239, 226, 0.02));
    color: var(--gold-bright);
    box-shadow: none;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.26);
}

.button:hover::after,
.button:focus-visible::after {
    opacity: 0.72;
    transform: translateX(55%);
}

.button.primary:hover {
    background: var(--gold-bright);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.38),
        0 18px 42px rgba(212, 184, 118, 0.2),
        0 16px 36px rgba(0, 0, 0, 0.26);
}

.button.secondary:hover {
    border-color: var(--gold);
    background:
        linear-gradient(180deg, rgba(212, 184, 118, 0.12), rgba(212, 184, 118, 0.055));
}

.profile-card {
    position: relative;
    grid-area: portrait;
    justify-self: end;
    width: min(100%, 420px);
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(212, 184, 118, 0.28);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(17, 29, 43, 0.82), rgba(8, 14, 22, 0.92)),
        radial-gradient(circle at 88% 8%, rgba(212, 184, 118, 0.12), transparent 34%);
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.3);
    transform: translateY(10px);
    transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.profile-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    border-radius: 28px 28px 0 0;
    background: linear-gradient(90deg, transparent, rgba(234, 213, 150, 0.78), transparent);
}

.profile-card:hover {
    border-color: rgba(234, 213, 150, 0.46);
    box-shadow: 0 28px 68px rgba(0, 0, 0, 0.36);
    transform: translateY(6px);
}

.portrait-frame {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--panel-solid);
}

.portrait-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(245, 239, 226, 0.08);
    pointer-events: none;
}

.portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.86) contrast(1.04);
    transition: filter 220ms ease, transform 220ms ease;
}

.profile-card:hover .portrait-frame img {
    filter: saturate(0.94) contrast(1.06);
    transform: scale(1.015);
}

.profile-card-copy {
    padding: 16px 7px 6px;
}

.profile-card-copy p {
    margin-bottom: 0;
    color: #bdb4a6;
    font-size: 0.94rem;
}

.profile-card-copy .profile-name {
    margin-bottom: 6px;
    color: var(--gold-bright);
    font-size: 1rem;
    font-weight: 800;
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.34);
}

.profile-summary {
    max-width: 32ch;
    line-height: 1.58;
}

.proof-list {
    grid-area: proof;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(212, 184, 118, 0.14);
    border-radius: 18px;
    background: rgba(212, 184, 118, 0.12);
}

.proof-list div {
    display: block;
    padding: 12px 14px;
    border-bottom: 0;
    background: rgba(8, 14, 22, 0.72);
}

.proof-list dt,
.proof-list dd {
    margin: 0;
    line-height: 1.35;
}

.proof-list dt {
    color: rgba(234, 213, 150, 0.72);
    font-size: 0.68rem;
    font-weight: 800;
    font-family: var(--font-ui);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.proof-list dd {
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.005em;
}

.proof-list div:last-child {
    border-bottom: 0;
}

.section {
    position: relative;
    padding: clamp(56px, 7vw, 92px) 0;
}

.systems-section {
    padding: clamp(44px, 5.5vw, 72px) 0;
}

.section > .wrap {
    position: relative;
}

.section-dark {
    border-top: 1px solid rgba(212, 184, 118, 0.06);
    border-bottom: 1px solid rgba(212, 184, 118, 0.06);
    background:
        linear-gradient(90deg, rgba(245, 239, 226, 0.012) 1px, transparent 1px),
        radial-gradient(circle at 82% 14%, rgba(212, 184, 118, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(9, 16, 25, 0.9), rgba(6, 10, 16, 0.94));
    background-size: 64px 64px, auto, auto;
}

.two-column,
.final-grid {
    display: grid;
    grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1fr);
    gap: clamp(26px, 5vw, 72px);
    align-items: start;
}

.direct-answer {
    position: relative;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid rgba(212, 184, 118, 0.24);
    border-left: 3px solid var(--gold-bright);
    border-radius: 0 var(--radius) var(--radius) 0;
    background:
        radial-gradient(circle at 0% 0%, rgba(234, 213, 150, 0.11), transparent 34%),
        linear-gradient(135deg, rgba(212, 184, 118, 0.082), rgba(127, 167, 160, 0.035)),
        rgba(8, 14, 22, 0.62);
    color: #d5cec2;
    font-size: clamp(1rem, 1.5vw, 1.14rem);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.direct-answer::before {
    content: "";
    position: absolute;
    top: clamp(22px, 3vw, 34px);
    bottom: clamp(22px, 3vw, 34px);
    left: -3px;
    width: 3px;
    background: linear-gradient(180deg, var(--gold-bright), rgba(212, 184, 118, 0.12));
}

.direct-answer p {
    line-height: 1.76;
}

.direct-answer p + p {
    margin-top: 1rem;
}

.direct-answer p:last-child {
    margin-bottom: 0;
}

.section-heading {
    max-width: 820px;
    margin-bottom: clamp(28px, 4vw, 44px);
}

.section-heading.compact {
    position: relative;
    margin-bottom: 0;
    padding-top: 0;
}

.section-heading.compact h2 {
    max-width: 12ch;
    font-size: clamp(1.9rem, 3.25vw, 3.35rem);
    line-height: 1.05;
}

.systems-layout {
    display: grid;
    gap: clamp(22px, 3.2vw, 36px);
}

.systems-heading {
    max-width: 760px;
    margin-bottom: 0;
}

.systems-heading h2 {
    max-width: 18ch;
    font-size: clamp(1.9rem, 3vw, 2.9rem);
    line-height: 1.04;
}

.section-note {
    max-width: 690px;
    margin: 18px 0 0;
    color: var(--ink-soft);
    font-size: clamp(1rem, 1.35vw, 1.1rem);
    line-height: 1.72;
}

.topic-ledger {
    display: block;
    padding: 0 clamp(14px, 2vw, 24px);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(245, 239, 226, 0.016), transparent 42%);
}

.topic-row {
    position: relative;
    min-width: 0;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: clamp(16px, 2.8vw, 34px);
    align-items: start;
    padding: 22px 0;
    border: 0;
    border-bottom: 1px solid rgba(212, 184, 118, 0.1);
    border-radius: 0;
    background: transparent;
    transition: transform 180ms ease, border-color 180ms ease;
}

.topic-row::before {
    content: "";
    position: absolute;
    inset: auto 0 -1px 58px;
    height: 1px;
    border-radius: 0;
    background: linear-gradient(90deg, rgba(234, 213, 150, 0.3), transparent 52%);
    opacity: 0;
    transition: opacity 180ms ease;
}

.topic-row:hover {
    border-color: rgba(212, 184, 118, 0.16);
    transform: translateX(4px);
}

.topic-row:hover::before {
    opacity: 1;
}

.topic-number {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin-top: 2px;
    color: rgba(234, 213, 150, 0.48);
    font-family: var(--font-ui);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.topic-row img {
    display: none;
}

.topic-row > div {
    grid-column: 2;
    grid-row: 1 / span 2;
    max-width: 820px;
}

.topic-row h3 {
    margin-bottom: 8px;
    font-size: clamp(1.08rem, 1.6vw, 1.34rem);
    line-height: 1.12;
}

.topic-row p,
.capability-list p,
.method-list p {
    margin-bottom: 0;
    color: var(--ink-soft);
    line-height: 1.68;
    font-size: 0.98rem;
}

.topic-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 10px;
    padding: 18px 0 0;
    border-top: 1px solid rgba(212, 184, 118, 0.14);
    border-radius: 0;
    background: transparent;
}

.topic-cta p {
    max-width: 660px;
    margin-bottom: 0;
    color: var(--ink-soft);
}

.topic-cta .button {
    flex: 0 0 auto;
    min-height: 44px;
    padding-inline: 18px;
}

.capability-list {
    display: block;
    padding: 0 clamp(14px, 2vw, 24px);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(245, 239, 226, 0.018), transparent 38%);
}

.capability-list div {
    position: relative;
    min-width: 0;
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(150px, 0.34fr) minmax(0, 1fr);
    gap: clamp(18px, 3vw, 32px);
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    transition: border-color 180ms ease, transform 180ms ease;
}

.capability-list div::before {
    content: "";
    position: absolute;
    top: 22px;
    bottom: 22px;
    left: -10px;
    width: 2px;
    background: linear-gradient(180deg, var(--gold), transparent);
    opacity: 0;
    transition: opacity 180ms ease;
}

.capability-list div:hover {
    border-color: var(--line-strong);
    transform: translateX(4px);
}

.capability-list div:hover::before {
    opacity: 0.7;
}

.capability-list div:last-child {
    border-bottom: 0;
}

.capability-list strong {
    display: block;
    margin-bottom: 0;
    color: var(--gold-bright);
    font-size: 0.96rem;
    font-family: var(--font-display);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.systems-map {
    counter-reset: systems-card;
    display: block;
    padding: 0 clamp(14px, 2vw, 24px);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(245, 239, 226, 0.014), transparent 38%);
}

.systems-map div {
    counter-increment: systems-card;
    display: grid;
    grid-template-columns: 48px minmax(180px, 220px) minmax(0, 1fr);
    gap: clamp(18px, 3vw, 40px);
    align-items: start;
    min-height: auto;
    padding: 16px 0;
    border: 0;
    border-bottom: 1px solid rgba(212, 184, 118, 0.1);
    border-radius: 0;
    background: transparent;
}

.systems-map div::before {
    content: counter(systems-card, decimal-leading-zero);
    position: static;
    width: auto;
    height: auto;
    margin-top: 2px;
    background: none;
    color: rgba(234, 213, 150, 0.46);
    font-family: var(--font-ui);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    opacity: 1;
}

.systems-map div::after {
    content: "";
    position: absolute;
    inset: auto 0 -1px 48px;
    height: 1px;
    background: linear-gradient(90deg, rgba(234, 213, 150, 0.28), transparent 48%);
    opacity: 0;
    transition: opacity 180ms ease;
}

.systems-map div:hover {
    transform: translateX(4px);
    border-color: rgba(212, 184, 118, 0.16);
    box-shadow: none;
}

.systems-map div:hover::after {
    opacity: 1;
}

.systems-map strong {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.3;
}

.systems-map p {
    max-width: 78ch;
}

.method-list {
    position: relative;
    display: block;
    padding: 0 clamp(14px, 2vw, 24px);
    margin: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid rgba(212, 184, 118, 0.1);
    background: linear-gradient(180deg, rgba(245, 239, 226, 0.018), transparent 36%);
    list-style: none;
}

.method-list::before {
    content: none;
}

.method-list li {
    position: relative;
    min-width: 0;
    min-height: auto;
    display: grid;
    grid-template-columns: 44px minmax(130px, 0.22fr) minmax(0, 1fr);
    gap: clamp(14px, 2.6vw, 30px);
    align-items: start;
    padding: 22px 0;
    border-bottom: 1px solid rgba(212, 184, 118, 0.1);
    background: transparent;
    transition: border-color 180ms ease, transform 180ms ease;
}

.method-list li::after {
    content: "";
    position: absolute;
    inset: auto 0 -1px 44px;
    height: 1px;
    background: linear-gradient(90deg, rgba(234, 213, 150, 0.3), transparent 52%);
    opacity: 0;
    transition: opacity 180ms ease;
}

.method-list li:hover {
    border-color: rgba(212, 184, 118, 0.16);
    transform: translateX(4px);
}

.method-list li:hover::after {
    opacity: 1;
}

.method-list span {
    margin-top: 2px;
    margin-bottom: 0;
    color: rgba(234, 213, 150, 0.48);
    font-size: 0.76rem;
    font-weight: 850;
    font-family: var(--font-ui);
    letter-spacing: 0.08em;
}

.method-list strong {
    display: block;
    margin-top: 0;
    margin-bottom: 0;
    color: var(--ink);
    font-size: 1.08rem;
    font-family: var(--font-display);
    letter-spacing: -0.012em;
}

.specialist-ledger {
    padding: 0 clamp(14px, 2vw, 24px);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid rgba(212, 184, 118, 0.1);
    background: linear-gradient(180deg, rgba(245, 239, 226, 0.016), transparent 38%);
}

.specialist-ledger .specialist-row {
    position: relative;
    min-width: 0;
    min-height: auto;
    display: grid;
    grid-template-columns: 48px minmax(190px, 240px) minmax(0, 1fr);
    gap: clamp(18px, 3vw, 40px);
    align-items: start;
    padding: clamp(18px, 2.25vw, 26px) 0;
    border-bottom: 1px solid rgba(212, 184, 118, 0.1);
    background: transparent;
    transition: border-color 180ms ease, transform 180ms ease;
}

.specialist-ledger .specialist-row::after {
    content: none;
    position: absolute;
    inset: auto 0 -1px 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(234, 213, 150, 0.3), transparent 52%);
    opacity: 0;
    transition: opacity 180ms ease;
}

.specialist-ledger .specialist-row:hover {
    border-color: rgba(212, 184, 118, 0.16);
    transform: none;
}

.specialist-ledger .specialist-row:hover::after {
    opacity: 1;
}

.specialist-ledger .topic-row::before {
    content: none;
}

.specialist-ledger .topic-row > div {
    display: contents;
}

.specialist-ledger .topic-number,
.specialist-ledger .method-list span,
.method-list.specialist-ledger span,
.systems-map.specialist-ledger div::before {
    grid-column: 1;
    margin: 2px 0 0;
    color: rgba(234, 213, 150, 0.48);
    font-size: 0.76rem;
    font-weight: 850;
    font-family: var(--font-ui);
    letter-spacing: 0.08em;
}

.specialist-ledger h3,
.specialist-ledger strong {
    grid-column: 2;
    margin: 0;
    color: var(--ink);
    font-size: clamp(1rem, 1.28vw, 1.12rem);
    line-height: 1.24;
}

.specialist-ledger p {
    grid-column: 3;
    max-width: 78ch;
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.98rem;
    line-height: 1.68;
}

.specialist-ledger .specialist-row:last-child {
    border-bottom: 0;
}

.final-cta {
    padding: clamp(18px, 3vw, 28px) 0;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(8, 14, 22, 0.96), rgba(5, 9, 15, 0.99));
}

.final-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: clamp(16px, 2.6vw, 24px);
    border: 1px solid rgba(212, 184, 118, 0.22);
    border-left-color: rgba(234, 213, 150, 0.58);
    border-radius: calc(var(--radius) + 4px);
    background:
        linear-gradient(90deg, rgba(212, 184, 118, 0.075), transparent 44%),
        rgba(8, 14, 22, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.final-grid .eyebrow {
    margin-bottom: 6px;
}

.final-grid h2 {
    max-width: 760px;
    margin-bottom: 0;
    font-size: clamp(1.38rem, 2.4vw, 2.18rem);
    line-height: 1.08;
}

.final-grid .button {
    justify-self: end;
    width: max-content;
}

.site-footer {
    padding: 8px 0 9px;
    border-top: 1px solid var(--line);
    background: #05090f;
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--muted);
    font-size: 0.84rem;
}

.footer-signature {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.footer-signature img {
    width: 25px;
    height: 20px;
    object-fit: contain;
    opacity: 0.8;
    filter: drop-shadow(0 5px 12px rgba(212, 184, 118, 0.12));
}

.footer-grid a {
    position: relative;
    color: var(--ink-soft);
    text-decoration: none;
    transition: color 160ms ease;
}

.footer-grid a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -4px;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0;
    transform: scaleX(0.72);
    transform-origin: left;
    transition: opacity 160ms ease, transform 160ms ease;
}

.footer-grid a:hover {
    color: var(--gold-bright);
}

.footer-grid a:hover::after,
.footer-grid a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
}

.js .reveal-target {
    opacity: 0.82;
    transform: translateY(10px);
    transition: opacity 560ms ease, transform 560ms cubic-bezier(0.2, 0.8, 0.2, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

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

@media (max-width: 1020px) {
    .hero-stage,
    .two-column,
    .final-grid {
        grid-template-columns: 1fr;
    }

    .hero-stage {
        grid-template-areas:
            "copy"
            "portrait"
            "actions"
            "proof";
        gap: 28px;
    }

    .profile-card {
        justify-self: start;
        max-width: 400px;
    }

    .final-grid .button {
        justify-self: start;
    }

    .topic-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .topic-ledger {
        display: block;
    }

}
@media (max-width: 760px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    [id] {
        scroll-margin-top: 18px;
    }

    .wrap {
        width: calc(100% - 28px);
        max-width: 1160px;
        min-width: 0;
    }

    .hero-stage,
    .hero-copy,
    .profile-card,
    .direct-answer,
    .topic-row,
    .capability-list div,
    .method-list li,
    .final-grid {
        min-width: 0;
        max-width: 100%;
    }

    .hero {
        min-height: auto;
        padding: 18px 0 30px;
    }

    .hero-bg::after {
        background: linear-gradient(180deg, rgba(5, 9, 15, 0.94), rgba(5, 9, 15, 0.72));
    }

    .hero-bg img {
        animation: none;
        transform: none;
    }

    .hero-copy {
        padding-top: 4px;
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .hero-copy .eyebrow {
        justify-content: center;
    }

    h1 {
        max-width: 14.5ch;
        margin-right: auto;
        margin-left: auto;
        font-size: clamp(1.82rem, 7vw, 2.28rem);
        line-height: 1.04;
        text-wrap: auto;
        overflow-wrap: break-word;
    }

    h2 {
        max-width: 12.5ch;
        font-size: clamp(1.48rem, 6.25vw, 2.08rem);
        line-height: 1.08;
        overflow-wrap: break-word;
    }

    .hero-lede {
        width: 100%;
        max-width: 32ch;
        margin-right: auto;
        margin-left: auto;
        font-size: 0.93rem;
        line-height: 1.48;
    }

    .direct-answer,
    .topic-row p,
    .capability-list p,
    .method-list p {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .direct-answer {
        border-left-width: 2px;
        padding: 19px 18px;
        border-color: rgba(212, 184, 118, 0.18);
        background:
            radial-gradient(circle at 0% 0%, rgba(234, 213, 150, 0.075), transparent 32%),
            linear-gradient(135deg, rgba(212, 184, 118, 0.052), rgba(127, 167, 160, 0.026)),
            rgba(245, 239, 226, 0.022);
    }

    .direct-answer::before {
        left: -2px;
        width: 2px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
        width: min(100%, 390px);
        max-width: 390px;
        gap: 7px;
        margin-right: auto;
        margin-left: auto;
        margin-top: 16px;
    }

    .hero-stage {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "portrait"
            "actions"
            "proof";
        gap: 16px;
        align-items: center;
        justify-items: center;
        text-align: center;
    }

    .hero-actions .button {
        width: 100%;
        white-space: normal;
    }

    .button {
        min-height: 42px;
        padding: 9px 14px;
    }

    .profile-card {
        justify-self: center;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        align-items: start;
        justify-items: center;
        width: 100%;
        max-width: 100%;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        transform: none;
    }

    .profile-card::before {
        display: none;
    }

    .portrait-frame {
        width: min(58vw, 224px);
        min-width: 158px;
        grid-column: auto;
        grid-row: auto;
        align-self: start;
        aspect-ratio: 4 / 5;
        max-height: none;
        border-color: rgba(234, 213, 150, 0.32);
        border-radius: 22px;
        box-shadow: 0 22px 58px rgba(0, 0, 0, 0.38), 0 0 46px rgba(212, 184, 118, 0.08);
    }

    .profile-card-copy {
        display: block;
        max-width: 34ch;
        padding: 0;
        text-align: center;
    }

    .profile-card-copy .profile-name,
    .profile-summary {
        grid-column: auto;
        min-width: 0;
    }

    .profile-card-copy .profile-name {
        grid-row: auto;
        margin: 0 0 5px;
        font-size: 1rem;
    }

    .profile-summary {
        grid-row: auto;
        max-width: 34ch;
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .proof-list {
        grid-template-columns: 1fr;
        width: min(100%, 390px);
        justify-self: center;
        margin-top: 0;
        border-radius: 16px;
    }

    .proof-list div {
        display: grid;
        grid-template-columns: 1fr;
        gap: 3px;
        padding: 11px 12px;
        text-align: center;
        border-bottom: 1px solid rgba(212, 184, 118, 0.08);
    }

    .proof-list dt {
        letter-spacing: 0.1em;
    }

    .proof-list dd {
        overflow-wrap: anywhere;
    }

    .profile-card:hover,
    .final-grid:hover {
        transform: none;
    }

    .section {
        padding: 36px 0;
    }

    .section-heading.compact {
        padding-top: 0;
    }

    .section-heading.compact h2 {
        font-size: clamp(1.55rem, 6.4vw, 2.08rem);
    }

    .systems-heading h2 {
        max-width: 13ch;
        font-size: clamp(1.5rem, 6.2vw, 2rem);
    }

    .topic-row,
    .systems-map div,
    .capability-list div,
    .method-list li {
        min-height: auto;
    }

    .topic-ledger,
    .systems-map,
    .capability-list,
    .method-list {
        padding-right: 10px;
        padding-left: 10px;
    }

    .topic-row {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 5px 11px;
        padding: 12px 0;
    }

    .topic-row::before {
        left: 0;
    }

    .topic-row img {
        display: none;
    }

    .topic-number {
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .topic-row > div {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .capability-list div {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 14px 0;
    }

    .systems-map div {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 5px 11px;
        min-height: auto;
        padding: 12px 0;
    }

    .systems-map div::after {
        left: 0;
    }

    .systems-map strong,
    .systems-map p {
        grid-column: 2;
    }

    .method-list li {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 5px 11px;
        padding: 14px 0;
    }

    .method-list li::after {
        left: 0;
    }

    .method-list span {
        font-size: 0.74rem;
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .method-list strong,
    .method-list p {
        grid-column: 2;
    }

    .topic-row > div,
    .systems-map strong,
    .systems-map p,
    .capability-list strong,
    .capability-list p,
    .method-list strong,
    .method-list p {
        min-width: 0;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .topic-row p,
    .systems-map p,
    .capability-list p,
    .method-list p,
    .section-note,
    .topic-cta p {
        max-width: min(100%, 34ch);
        overflow-wrap: break-word;
    }

    .topic-row,
    .systems-map div,
    .capability-list div,
    .method-list li {
        border-bottom-color: rgba(212, 184, 118, 0.07);
    }

    .topic-row h3,
    .systems-map strong,
    .capability-list strong,
    .method-list strong {
        max-width: min(100%, 28ch);
        overflow-wrap: break-word;
    }

    .final-grid {
        padding: 22px;
    }

    .final-grid h2 {
        max-width: min(100%, 18ch);
    }

    .footer-grid {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}
@media (max-width: 460px) {
    .hero {
        padding-top: 18px;
    }

    h1 {
        max-width: 13.6ch;
        font-size: clamp(1.72rem, 8.15vw, 2.04rem);
        line-height: 1.06;
    }

    .hero-actions,
    .button {
        width: 100%;
    }

    .hero-lede {
        width: min(100%, 30ch);
        max-width: min(100%, 30ch);
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .button {
        padding-right: 12px;
        padding-left: 12px;
    }

    .direct-answer {
        padding: 17px 14px;
        font-size: 0.96rem;
        line-height: 1.62;
    }

    .direct-answer p {
        max-width: 30ch;
        overflow-wrap: break-word;
    }

    .proof-list div,
    .topic-row,
    .systems-map div,
    .method-list li {
        grid-template-columns: 76px minmax(0, 1fr);
    }

    .topic-row,
    .systems-map div,
    .method-list li {
        grid-template-columns: 50px minmax(0, 1fr);
    }

    .proof-list div {
        grid-template-columns: 1fr;
    }

    .eyebrow,
    h1,
    h2,
    h3,
    p,
    a,
    span,
    strong {
        overflow-wrap: anywhere;
    }
}

@media (max-width: 340px) {
    .hero-lede {
        width: min(100%, 28ch);
        max-width: min(100%, 28ch);
    }
}

@media (max-width: 760px) {
    .direct-answer {
        border-left: 0;
        padding-left: 0;
    }

    .specialist-ledger {
        padding-right: 10px;
        padding-left: 10px;
    }

    .specialist-ledger .specialist-row {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 6px 12px;
        padding: 13px 0;
    }

    .specialist-ledger .specialist-row::after {
        left: 0;
    }

    .specialist-ledger .topic-number,
    .method-list.specialist-ledger span,
    .systems-map.specialist-ledger div::before {
        grid-column: 1;
        grid-row: 1;
        font-size: 0.72rem;
    }

    .specialist-ledger h3,
    .specialist-ledger strong {
        grid-column: 2;
        grid-row: 1;
        max-width: min(100%, 30ch);
        overflow-wrap: break-word;
    }

    .specialist-ledger p {
        grid-column: 2;
        grid-row: 2;
        max-width: min(100%, 36ch);
        overflow-wrap: anywhere;
    }
}

@media (hover: none) {
    .button:hover,
    .profile-card:hover,
    .final-grid:hover,
    .topic-row:hover,
    .systems-map div:hover,
    .capability-list div:hover,
    .method-list li:hover {
        transform: none;
    }

    .button:hover::after {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
    }

    .js .reveal-target {
        opacity: 1;
        transform: none;
    }

    .button::after {
        display: none;
    }

    .profile-card:hover,
    .final-grid:hover,
    .topic-row:hover,
    .capability-list div:hover,
    .method-list li:hover {
        transform: none;
    }
}
