:root {
    --ink: #101212;
    --ink-soft: #1d2322;
    --paper: #f1e7d2;
    --paper-deep: #d8c49d;
    --mist: #e9dcc2;
    --brass: #b98a44;
    --brass-bright: #d3ad6a;
    --verdigris: #285f59;
    --oxblood: #6b2824;
    --plum: #392d47;
    --white: #fffaf0;
    --shadow: rgba(8, 10, 10, 0.34);
    --max-width: 1160px;
    --font-heading: Georgia, "Times New Roman", serif;
    --font-body: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
}

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

a {
    color: inherit;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 10;
    background: rgba(16, 18, 18, 0.86);
    border-bottom: 1px solid rgba(211, 173, 106, 0.24);
    color: var(--white);
    backdrop-filter: blur(12px);
}

.nav {
    width: min(100%, var(--max-width));
    margin: 0 auto;
    min-height: 72px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
}

.brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    color: rgba(255, 250, 240, 0.82);
    font-size: 0.82rem;
    text-transform: uppercase;
}

.nav-links a {
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--brass-bright);
    border-color: var(--brass-bright);
}

.hero {
    min-height: 88svh;
    padding: 118px 24px 92px;
    color: var(--white);
    background-image:
        linear-gradient(90deg, rgba(16, 18, 18, 0.98) 0%, rgba(16, 18, 18, 0.82) 38%, rgba(16, 18, 18, 0.36) 72%),
        url("assets/dr-jekyll-mr-hyde-cover-web.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 120px;
    background: linear-gradient(180deg, transparent, var(--paper));
    pointer-events: none;
}

.hero-inner {
    width: min(100%, var(--max-width));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: clamp(118px, 16vw, 184px);
    height: auto;
    margin-bottom: 24px;
    filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.42));
}

.eyebrow,
.kicker,
.project-status {
    margin: 0 0 12px;
    color: var(--brass-bright);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.hero h1,
.section h2,
.project-card h3,
.process-item h3 {
    font-family: var(--font-heading);
    line-height: 1.08;
    font-weight: 700;
}

.hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: 4.35rem;
}

.hero-copy {
    max-width: 640px;
    margin: 26px 0 0;
    color: rgba(255, 250, 240, 0.82);
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 20px;
    border: 1px solid currentColor;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 700;
    text-transform: uppercase;
}

.button.primary {
    background: var(--brass);
    border-color: var(--brass);
    color: var(--ink);
}

.button.primary:hover,
.button.primary:focus-visible {
    background: var(--brass-bright);
    border-color: var(--brass-bright);
}

.button.secondary {
    color: var(--white);
    background: rgba(255, 250, 240, 0.06);
}

.button.secondary:hover,
.button.secondary:focus-visible {
    color: var(--brass-bright);
}

.section {
    padding: 88px 24px;
}

.section-inner {
    width: min(100%, var(--max-width));
    margin: 0 auto;
}

.mission-section {
    background: var(--paper);
}

.mission-grid,
.contact-layout {
    display: grid;
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
    gap: 60px;
    align-items: start;
}

.section h2 {
    margin: 0;
    color: var(--ink);
    font-size: 2.55rem;
}

.mission-copy p,
.feature-copy p,
.contact-copy p {
    margin: 0 0 18px;
}

.mission-copy {
    max-width: 720px;
    color: rgba(16, 18, 18, 0.78);
    font-size: 1.02rem;
}

.feature-section {
    background: var(--ink);
    color: var(--white);
}

.feature-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: 62px;
    align-items: center;
}

.cover-frame {
    max-width: 380px;
    justify-self: center;
    padding: 14px;
    background: linear-gradient(135deg, var(--paper-deep), var(--brass), var(--verdigris));
    box-shadow: 0 28px 64px var(--shadow);
}

.cover-frame img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.feature-copy .kicker,
.process-section .kicker,
.contact-section .kicker {
    color: var(--brass-bright);
}

.feature-copy h2 {
    color: var(--white);
}

.book-meta {
    color: var(--brass-bright);
    font-weight: 700;
}

.feature-copy > p:not(.kicker):not(.book-meta) {
    color: rgba(255, 250, 240, 0.78);
    max-width: 710px;
}

.edition-list {
    margin: 32px 0 0;
    display: grid;
    gap: 14px;
}

.edition-list div {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
    padding: 16px 0;
    border-top: 1px solid rgba(211, 173, 106, 0.22);
}

.edition-list dt {
    color: var(--brass-bright);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.edition-list dd {
    margin: 0;
    color: rgba(255, 250, 240, 0.76);
}

.process-section {
    background: var(--mist);
}

.section-heading {
    max-width: 700px;
    margin-bottom: 40px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: rgba(16, 18, 18, 0.14);
    border: 1px solid rgba(16, 18, 18, 0.14);
}

.process-item {
    min-height: 260px;
    padding: 28px;
    background: var(--paper);
}

.process-item span {
    color: var(--oxblood);
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
}

.process-item h3 {
    margin: 32px 0 10px;
    font-size: 1.45rem;
}

.process-item p {
    margin: 0;
    color: rgba(16, 18, 18, 0.72);
    font-size: 0.95rem;
}

.projects-section {
    background: var(--paper);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.project-card {
    min-height: 250px;
    padding: 30px;
    border: 1px solid rgba(16, 18, 18, 0.14);
    border-radius: 8px;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card.highlighted {
    background: var(--verdigris);
    color: var(--white);
    border-color: var(--verdigris);
}

.project-card h3 {
    margin: 0;
    font-size: 1.62rem;
}

.project-card p:last-child {
    margin: 20px 0 0;
    color: rgba(16, 18, 18, 0.62);
}

.project-card.highlighted p:last-child {
    color: rgba(255, 250, 240, 0.7);
}

.contact-section {
    background: var(--plum);
    color: var(--white);
}

.contact-section h2 {
    color: var(--white);
}

.contact-copy {
    max-width: 620px;
    color: rgba(255, 250, 240, 0.78);
}

.contact-copy .button {
    margin-top: 12px;
}

.site-footer {
    padding: 30px 24px;
    background: var(--ink);
    color: rgba(255, 250, 240, 0.72);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-size: 0.9rem;
}

.footer-inner p {
    margin: 0;
}

@media (max-width: 920px) {
    .nav {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        min-height: 96px;
    }

    .nav-links {
        width: 100%;
        justify-content: flex-start;
        gap: 16px;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .hero {
        padding-top: 146px;
        min-height: 86svh;
        background-position: center;
    }

    .hero h1 {
        font-size: 3.1rem;
    }

    .mission-grid,
    .feature-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .cover-frame {
        justify-self: start;
        max-width: 330px;
    }

    .process-grid,
    .project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    body {
        font-size: 16px;
    }

    .brand span {
        font-size: 0.95rem;
    }

    .nav {
        padding-inline: 18px;
    }

    .nav-links {
        font-size: 0.74rem;
    }

    .hero,
    .section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero {
        min-height: 84svh;
        background-image:
            linear-gradient(180deg, rgba(16, 18, 18, 0.94) 0%, rgba(16, 18, 18, 0.78) 54%, rgba(16, 18, 18, 0.44) 100%),
            url("assets/dr-jekyll-mr-hyde-cover-web.jpg");
    }

    .hero-logo {
        width: 112px;
        margin-bottom: 18px;
    }

    .hero h1 {
        font-size: 2.42rem;
    }

    .hero-copy {
        font-size: 1rem;
    }

    .button {
        width: 100%;
    }

    .section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .section h2 {
        font-size: 2rem;
    }

    .edition-list div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .process-grid,
    .project-grid {
        grid-template-columns: 1fr;
    }

    .process-item,
    .project-card {
        min-height: 220px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}
