/* ============================================================
   Zion Advisor — Navy & Gold (light theme)
   Palette taken from the ZA logo: navy #152238 · gold #bfa36f
   Type: DM Serif Display (headlines) + Fira Sans (body), tabular numerals
   Pattern follows leading FDD firms (Kroll, Ankura, CohnReznick):
   light page + dark navy accent bands (hero, CTA, footer).
   ============================================================ */

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

:root {
    /* brand */
    --navy: #152238;
    --navy-2: #1d3050;
    --navy-3: #0e1727;
    --gold: #bfa36f;
    --gold-deep: #a2854f;
    --gold-soft: rgba(191, 163, 111, 0.14);

    /* light surfaces */
    --paper: #ffffff;
    --paper-2: #f6f7f9;
    --paper-3: #eef1f5;

    /* text */
    --ink: #152238;
    --body: #414c5c;
    --muted: #6b7688;
    --on-navy: #eef1f5;
    --on-navy-dim: rgba(238, 241, 245, 0.76);

    --line: #dde3ea;
    --line-navy: rgba(238, 241, 245, 0.16);
    --radius: 10px;
    --shadow: 0 1px 2px rgba(21,34,56,.04), 0 8px 24px rgba(21,34,56,.06);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Fira Sans', system-ui, -apple-system, sans-serif;
    font-variant-numeric: tabular-nums;
    line-height: 1.68;
    color: var(--body);
    background-color: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.16;
    margin-bottom: 0.5em;
}
h1 { font-size: clamp(2.1rem, 4.8vw, 3.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { color: var(--body); max-width: 68ch; }
strong { color: var(--ink); font-weight: 600; }

a { color: var(--gold-deep); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

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

.container { max-width: 1160px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    background: var(--navy);
    color: #fff;
    padding: .85em 1.75em;
    border-radius: var(--radius);
    font-weight: 600;
    letter-spacing: .01em;
    border: 1px solid var(--navy);
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover {
    background: var(--navy-2); color: #fff;
    text-decoration: none; transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(21,34,56,.18);
}
.btn.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 1px solid var(--line);
}
.btn.btn-outline:hover { background: var(--paper-2); border-color: var(--gold); color: var(--navy); }

/* buttons sitting on navy bands */
.hero .btn, .cta-band .btn {
    background: var(--gold); color: var(--navy); border-color: var(--gold); font-weight: 700;
}
.hero .btn:hover, .cta-band .btn:hover { background: #d0b681; color: var(--navy); }
.hero .btn.btn-outline, .cta-band .btn.btn-outline {
    background: transparent; color: #fff; border-color: rgba(255,255,255,.42);
}
.hero .btn.btn-outline:hover, .cta-band .btn.btn-outline:hover {
    background: rgba(255,255,255,.08); border-color: #fff; color: #fff;
}

/* ---------- Header ---------- */
header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
header .container {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 76px; gap: 1rem;
}
.logo img { height: 52px; width: auto; display: block; }
nav ul { list-style: none; display: flex; gap: 1.7em; flex-wrap: wrap; }
nav a {
    color: var(--ink); font-weight: 600; font-size: .95rem; padding: .4em 0;
    border-bottom: 2px solid transparent;
}
nav a:hover { color: var(--navy); text-decoration: none; border-bottom-color: var(--gold); }
.nav-toggle {
    display: none;
    background: none; border: 1px solid var(--line); border-radius: 8px;
    color: var(--navy); font-size: 1.3rem; padding: .3em .6em; cursor: pointer;
}

/* ---------- Hero (navy band) ---------- */
.hero {
    padding: clamp(4rem, 9vw, 6.5rem) 0;
    background:
        radial-gradient(ellipse 65% 70% at 18% 0%, rgba(191, 163, 111, 0.16), transparent 60%),
        linear-gradient(165deg, var(--navy-2) 0%, var(--navy) 55%, var(--navy-3) 100%);
    color: var(--on-navy);
    text-align: center;
    border-bottom: 3px solid var(--gold);
}
.hero h1 { color: #fff; }
.hero h1 em, .hero .accent { color: var(--gold); font-style: normal; }
.hero p { color: var(--on-navy-dim); margin: 1.25rem auto 2rem; font-size: 1.14rem; }
.hero strong { color: var(--gold); font-weight: 600; }
.hero .btn { margin: .35rem; }
.hero-kicker {
    display: inline-block;
    font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(191,163,111,.45); border-radius: 999px;
    padding: .45em 1.2em; margin-bottom: 1.5rem;
}
.breadcrumb {
    font-size: .85rem; color: var(--muted); margin-bottom: 1.25rem; text-align: left;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb span[aria-current] { color: var(--gold-deep); font-weight: 600; }
/* breadcrumbs inside the navy hero */
.hero .breadcrumb, .hero .breadcrumb a { color: var(--on-navy-dim); }
.hero .breadcrumb span[aria-current] { color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 6.5vw, 4.75rem) 0; text-align: center; }
.section.dark-bg {
    background: var(--paper-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.section > .container > h2 { margin-bottom: 1rem; }
.section .lead { margin: 0 auto 2.5rem; font-size: 1.06rem; color: var(--body); }

.section ul { text-align: left; max-width: 720px; margin: 0 auto 1.5rem; padding-left: 1.2rem; }
.section ul li { color: var(--body); margin-bottom: .6rem; }
.section ul li::marker { color: var(--gold); }

/* ---------- Cards & grids ---------- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
    text-align: left;
    margin-top: 2rem;
}
.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    border-radius: var(--radius);
    padding: 1.7rem;
    box-shadow: var(--shadow);
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(21,34,56,.10);
}
.card h3 { color: var(--ink); }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--gold-deep); text-decoration: none; }
.card ul { padding-left: 1.1rem; margin-bottom: 0; }
.card ul li::marker { color: var(--gold); }
.card p { margin-bottom: 1rem; }
.section.dark-bg .card { background: #fff; }

.insight-list {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem; margin-top: 2rem; text-align: left;
}
.insight-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius);
    padding: 1.7rem;
    box-shadow: var(--shadow);
    transition: border-color .2s ease, transform .2s ease;
}
.insight-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.insight-card h3 { color: var(--ink); }

/* ---------- Stat wall ---------- */
.stat-wall {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem; margin-top: 2.5rem;
}
.stat {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem 1.25rem;
    box-shadow: var(--shadow);
}
.stat-value {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--gold-deep);
    line-height: 1;
}
.stat-label { margin-top: .6rem; font-size: .95rem; color: var(--muted); }
/* stat wall placed on a navy band */
.hero .stat, .cta-band .stat {
    background: rgba(255,255,255,.06); border-color: var(--line-navy); box-shadow: none;
}
.hero .stat-value, .cta-band .stat-value { color: var(--gold); }
.hero .stat-label, .cta-band .stat-label { color: var(--on-navy-dim); }

/* ---------- Team ---------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
    align-items: start;
}
.team-card,
.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--paper);
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow);
    min-width: 0;
}
.team-card img,
.team-member img {
    display: block;
    width: 160px;
    height: 160px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    border: 3px solid var(--gold);
    margin: 0 auto 1.25rem;
    flex: 0 0 auto;
}
.team-card h3,
.team-member h3 {
    margin: 0 0 .2em;
    font-size: 1.25rem;
}
/* first paragraph after the name = the role */
.team-card > p:first-of-type,
.team-member > p:first-of-type {
    color: var(--gold-deep);
    font-weight: 600;
    font-size: .95rem;
    margin: 0 0 .75rem;
    max-width: none;
}
.team-card p,
.team-member p {
    max-width: none;
    font-size: .95rem;
    overflow-wrap: break-word;
}
.team-role { color: var(--gold-deep); font-weight: 600; font-size: .95rem; }

@media (max-width: 600px) {
    .team-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .team-card img, .team-member img { width: 140px; height: 140px; }
}

/* ---------- Forms ---------- */
.form-panel {
    max-width: 640px; margin: 2.5rem auto 0; text-align: left;
    background: var(--paper); border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: var(--shadow);
}
.form-field { margin-bottom: 1.25rem; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--ink); }
input, select, textarea {
    width: 100%;
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: .78em .9em;
    font: inherit;
    transition: border-color .2s ease;
}
input:hover, select:hover, textarea:hover { border-color: #c3ccd8; }
input:focus, select:focus, textarea:focus {
    outline: 2px solid var(--gold-deep); outline-offset: 1px; border-color: var(--gold);
}
textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 1rem; }

/* ---------- Intro block (centered column) ---------- */
.intro-block {
    max-width: 760px;
    margin-inline: auto;
    text-align: left;
}

/* ---------- Team grid ---------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    text-align: center;
}
.team-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    border-radius: var(--radius);
    padding: 1.7rem;
    box-shadow: var(--shadow);
}
.team-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--gold);
}
.team-card h3 {
    margin-bottom: 0.25em;
    color: var(--ink);
}
.team-role {
    color: var(--gold-deep);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem !important;
}

/* ---------- Paragraph centering fix ---------- */
.container > p:not(.lead):not(.form-note),
.section > .container > p:not(.lead):not(.form-note) {
    margin-inline: auto;
}

/* ---------- Testimonials ---------- */
.testimonial-credentials {
    text-align: center;
    max-width: 1100px;
    margin-inline: auto;
    font-size: 1.06rem;
}

/* ---------- CTA band email line ---------- */
.cta-band .container > p:last-of-type {
    text-align: center !important;
    max-width: 1100px;
    margin-inline: auto;
}

/* ---------- Centered button row ---------- */
.btn-row-center {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: none !important;
    margin-inline: auto;
    width: 100%;
}

@media (max-width: 768px) {
    .btn-row-center {
        flex-direction: column;
        align-items: center;
    }
}
.cta-band {
    background:
        radial-gradient(ellipse 60% 90% at 50% 120%, rgba(191, 163, 111, 0.20), transparent 60%),
        linear-gradient(165deg, var(--navy-2), var(--navy));
    color: var(--on-navy);
    border-top: 3px solid var(--gold);
}
.cta-band h2 { color: #fff; }
.cta-band h2 em, .cta-band .accent { color: var(--gold); font-style: normal; }
.cta-band p, .cta-band .lead { color: var(--on-navy-dim); }

/* ---------- Article (reading surface) ---------- */
.article-body {
    max-width: 760px; margin: 0 auto; text-align: left;
    background: var(--paper); color: var(--body);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.75rem, 5vw, 3.5rem);
    box-shadow: var(--shadow);
    font-size: 1.04rem;
}
.article-body h1, .article-body h2, .article-body h3 { color: var(--ink); }
.article-body h2 {
    margin-top: 2.25rem;
    border-top: 1px solid var(--line);
    padding-top: 1.5rem;
}
.article-body p, .article-body li { color: var(--body); }
.article-body li::marker { color: var(--gold); }
.article-body a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote {
    border-left: 3px solid var(--gold);
    background: var(--paper-2);
    margin: 1.75rem 0; padding: 1rem 1.25rem;
    border-radius: 0 8px 8px 0;
    color: var(--ink);
}
.article-meta { font-size: .9rem; color: var(--muted); margin-bottom: 1.5rem; }
.article-body .article-meta { color: var(--muted); }
.reading-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0%;
    background: var(--gold); z-index: 200; transition: width .1s linear;
}

/* ---------- Tables (schedules / checklists) ---------- */
table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .96rem; }
th, td { text-align: left; padding: .75em .9em; border-bottom: 1px solid var(--line); }
th { background: var(--paper-2); color: var(--ink); font-weight: 600; }
tbody tr:hover { background: var(--paper-2); }

/* ---------- Footer (navy) ---------- */
footer {
    background: var(--navy-3);
    color: var(--on-navy-dim);
    border-top: 3px solid var(--gold);
    padding: 3em 0 2em;
    text-align: center;
    font-size: .95rem;
}
footer a { color: var(--on-navy-dim); }
footer a:hover { color: var(--gold); text-decoration: none; }
footer nav { margin: 1rem 0; }
footer .footer-links a { margin: 0 .75em; }
footer img { height: 46px; width: auto; margin-bottom: 1rem; }

/* ---------- About: approach grid + stats wall ---------- */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0;
    text-align: left;
}
.approach-grid > div {
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}
.approach-grid p { max-width: none; }

.stats-wall {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin: 2.5rem 0;
    text-align: center;
}
.stats-wall > p {
    margin: 0;
    max-width: none;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.75rem 1.25rem;
    box-shadow: var(--shadow);
    font-size: .95rem;
    color: var(--muted);
}
.stats-wall > p strong {
    display: block;
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    line-height: 1;
    color: var(--gold-deep);
    margin-bottom: .45rem;
}

/* ---------- Industries ---------- */
.industry-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
    text-align: left;
}
.industry-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    border-radius: var(--radius);
    padding: 1.7rem;
    box-shadow: var(--shadow);
    transition: border-color .2s ease, transform .2s ease;
}
.industry-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.industry-card h3 { color: var(--ink); }
.industry-card p, .industry-card ul { max-width: none; }
.industry-card ul { padding-left: 1.1rem; margin-bottom: 0; }
.industry-card li::marker { color: var(--gold); }

/* ---------- Process steps ---------- */
.process-steps {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
    text-align: left;
    counter-reset: za-step;
}
.process-steps .step,
.step {
    position: relative;
    counter-increment: za-step;
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius);
    padding: 1.6rem 1.75rem 1.6rem 4.5rem;
    box-shadow: var(--shadow);
}
.process-steps .step::before,
.step::before {
    content: counter(za-step);
    position: absolute;
    left: 1.4rem;
    top: 1.5rem;
    width: 2.1rem;
    height: 2.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.05rem;
    line-height: 1;
}
.step h3 { margin-bottom: .3em; color: var(--ink); }
.step p, .step ul { max-width: none; }

/* ---------- Forms: status + download ---------- */
.form-status {
    margin-top: 1rem;
    padding: .85em 1.1em;
    border-radius: 8px;
    font-size: .95rem;
    display: none;
    border: 1px solid var(--line);
    background: var(--paper-2);
    color: var(--ink);
}
.form-status.is-visible { display: block; }
.form-status.is-success { border-color: var(--gold); background: var(--gold-soft); }
.form-status.is-error { border-color: #c2564b; background: #fdf1ef; color: #8f342b; }

.download-form {
    max-width: 560px;
    margin: 2rem auto 0;
    text-align: left;
    background: var(--paper);
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    border-radius: var(--radius);
    padding: clamp(1.4rem, 4vw, 2.25rem);
    box-shadow: var(--shadow);
}
.download-form p { max-width: none; }

/* ---------- FAQ (details/summary) ---------- */
.faq-item {
    border: 1px solid var(--line);
    border-left: 3px solid var(--gold);
    border-radius: 8px;
    margin-bottom: 1rem;
    background: var(--paper);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.faq-item summary {
    padding: 1.1rem 1.25rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: var(--ink);
    list-style: none;
    transition: background .15s ease;
}
.faq-item summary:hover { background: var(--paper-2); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    float: right;
    color: var(--gold);
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-answer {
    padding: 0 1.25rem 1.25rem;
    border-top: 1px solid var(--line);
}
.faq-answer p { max-width: none; text-align: left; }

/* ---------- Timeline ---------- */
.timeline {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
    text-align: left;
    counter-reset: za-stage;
}
.tl-item {
    position: relative;
    counter-increment: za-stage;
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius);
    padding: 1.5rem 1.75rem 1.5rem 4.5rem;
    box-shadow: var(--shadow);
}
.tl-item::before {
    content: counter(za-stage);
    position: absolute;
    left: 1.4rem;
    top: 1.35rem;
    width: 2.2rem;
    height: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.1rem;
    line-height: 1;
}
.tl-item h3 { margin-bottom: .3em; color: var(--ink); font-size: 1.1rem; }
.tl-item p { max-width: none; }

@media (max-width: 700px) {
    .tl-item { padding-left: 4rem; }
    .tl-item::before { width: 1.8rem; height: 1.8rem; left: 1rem; top: 1.2rem; font-size: 1rem; }
}

/* ---------- Global media safety ---------- */
img, svg, video, canvas {
    max-width: 100%;
    height: auto;
}
/* stop long words / URLs blowing out grid columns */
.grid > *, .insight-list > *, .team-grid > *, .industry-list > *,
.approach-grid > *, .stats-wall > *, .process-steps > * {
    min-width: 0;
}
/* tables scroll rather than overflow on small screens */
table { display: block; overflow-x: auto; white-space: normal; }
@media (min-width: 700px) { table { display: table; } }

/* ---------- Social proof ---------- */
.social-proof {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
    text-align: center;
}
.proof-item {
    background: var(--paper);
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    border-radius: var(--radius);
    padding: 1.75rem 1.25rem;
    box-shadow: var(--shadow);
}
.proof-value {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    line-height: 1;
    color: var(--gold-deep);
    margin-bottom: .5rem;
}
.proof-label {
    font-size: .9rem;
    color: var(--muted);
    max-width: none;
}

/* ---------- Sample databook showcase ---------- */
.databook-page {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
    text-align: left;
    background: var(--paper);
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    border-radius: var(--radius);
    padding: 1.75rem;
    margin-bottom: 1.75rem;
    box-shadow: var(--shadow);
    scroll-margin-top: 100px;
}
.databook-shot { min-width: 0; }
.databook-shot a {
    display: block;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--paper-2);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.databook-shot a:hover {
    border-color: var(--gold);
    box-shadow: 0 8px 24px rgba(21, 34, 56, .14);
    text-decoration: none;
}
.databook-shot img { display: block; width: 100%; height: auto; }
.databook-caption {
    margin-top: .6rem;
    font-size: .82rem;
    color: var(--muted);
    letter-spacing: .02em;
    max-width: none;
}
.databook-copy { min-width: 0; }
.databook-copy h3 { color: var(--ink); margin-bottom: .4em; }
.databook-copy p { max-width: none; }
.databook-copy ul {
    margin: 1rem 0 0;
    padding-left: 1.15rem;
    text-align: left;
}
.databook-copy li {
    color: var(--body);
    margin-bottom: .55rem;
    font-size: .95rem;
}
.databook-copy li::marker { color: var(--gold); }

@media (max-width: 860px) {
    .databook-page { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.35rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    nav.site-nav {
        display: none;
        width: 100%;
        border-top: 1px solid var(--line);
        padding: 1rem 0;
    }
    nav.site-nav.open { display: block; }
    header .container { flex-wrap: wrap; }
    nav.site-nav ul { flex-direction: column; gap: .75em; }
    .logo img { height: 44px; }
}
