:root {
    --ink: #0b0b0b;
    --paper: #e8e4dc;
    --paper-deep: #d8d1c6;
    --white: #f5f3ee;
    --muted: #b8b4ad;
    --accent: #8e1717;
    --line-dark: rgba(245, 243, 238, 0.16);
    --line-light: rgba(11, 11, 11, 0.17);
    --serif: Georgia, "Times New Roman", serif;
    --sans: "Segoe UI", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.mason-author-home {
    margin: 0;
    background: var(--ink);
    color: var(--white);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.65;
}

.mason-author-home a {
    color: inherit;
    text-decoration: none;
}

.skip-link {
    position: fixed;
    left: 1rem;
    top: -5rem;
    z-index: 20;
    padding: 0.75rem 1rem;
    background: var(--white);
    color: var(--ink) !important;
}

.skip-link:focus {
    top: 1rem;
}

.site-header,
.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    min-height: 78px;
    border-bottom: 1px solid var(--line-dark);
}

.wordmark {
    font-family: var(--serif);
    font-size: 1.25rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.site-header nav,
.site-footer nav {
    display: flex;
    gap: clamp(1.4rem, 3vw, 3rem);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

.site-header nav a {
    position: relative;
    padding: 1.75rem 0;
}

.site-header nav a::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: var(--accent);
    content: "";
    opacity: 0;
    transform: scaleX(0.35);
    transition: 180ms ease;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after,
.site-header nav a[aria-current="page"]::after {
    opacity: 1;
    transform: scaleX(1);
}

.hero {
    display: grid;
    grid-template-columns: minmax(340px, 0.9fr) minmax(500px, 1.35fr);
    min-height: 660px;
    overflow: hidden;
}

.hero-copy {
    display: flex;
    position: relative;
    z-index: 2;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 7vw max(48px, calc((100vw - 1240px) / 2));
    padding-right: 3rem;
    background:
        radial-gradient(circle at 20% 45%, rgba(255, 255, 255, 0.035), transparent 38%),
        var(--ink);
}

.hero h1 {
    max-width: 720px;
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(3rem, 5.2vw, 5.3rem);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1.03;
}

.hero-copy p {
    max-width: 590px;
    margin: 2rem 0 2.25rem;
    color: #d2cfca;
    font-size: clamp(1rem, 1.35vw, 1.2rem);
}

.hero-art {
    display: grid;
    min-width: 0;
    margin: 0;
    padding: clamp(1rem, 2.4vw, 2.25rem);
    place-items: center;
    background: #020202;
}

.hero-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.85rem 1.45rem;
    border: 1px solid transparent;
    font-size: 0.76rem;
    font-weight: 650;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button span {
    margin-left: 1.3rem;
    font-size: 1.25rem;
    font-weight: 400;
}

.button-primary {
    background: var(--accent);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: #a42222;
}

.featured-book,
.about {
    color: var(--ink);
}

.featured-book {
    display: grid;
    grid-template-columns: minmax(300px, 0.76fr) minmax(360px, 1.24fr);
    min-height: 430px;
    padding: 5.5rem max(48px, calc((100vw - 1240px) / 2));
    background:
        linear-gradient(90deg, transparent 0 46%, rgba(86, 18, 18, 0.05) 46% 47%, transparent 47%),
        repeating-linear-gradient(0deg, rgba(31, 26, 21, 0.022) 0 1px, transparent 1px 5px),
        var(--paper);
}

.featured-copy h2,
.about h2 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.08;
}

.featured-copy h2 {
    font-size: clamp(2.8rem, 4.2vw, 4.5rem);
}

.featured-copy h2::after,
.about h2::after {
    display: block;
    width: 42px;
    height: 2px;
    margin: 1.35rem 0;
    background: var(--accent);
    content: "";
}

.featured-copy p {
    max-width: 570px;
    margin: 0 0 2rem;
}

.button-outline {
    border-color: var(--accent);
    color: #721313 !important;
}

.button-outline:hover,
.button-outline:focus-visible {
    background: var(--accent);
    color: var(--white) !important;
}

.descent-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.9rem, 2vw, 2.5rem);
    min-height: 260px;
    opacity: 0.68;
}

.descent-mark span {
    display: block;
    width: clamp(35px, 5vw, 78px);
    border: 1px solid rgba(65, 42, 32, 0.38);
    border-top: 0;
}

.descent-mark span:nth-child(1),
.descent-mark span:nth-child(5) { height: 70px; }
.descent-mark span:nth-child(2),
.descent-mark span:nth-child(4) { height: 140px; }
.descent-mark span:nth-child(3) {
    height: 235px;
    border-color: rgba(111, 19, 19, 0.62);
    background: linear-gradient(180deg, transparent, rgba(111, 19, 19, 0.09));
}


.gallery {
    display: grid;
    grid-template-columns: minmax(220px, 0.42fr) minmax(320px, 0.58fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
    padding: 5.5rem max(48px, calc((100vw - 1240px) / 2));
    border-top: 1px solid var(--line-dark);
    background:
        radial-gradient(circle at 68% 18%, rgba(142, 23, 23, 0.18), transparent 32%),
        linear-gradient(180deg, #101010 0%, #070707 100%);
    color: var(--white);
}

.gallery h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(2.7rem, 4.5vw, 4.8rem);
    font-weight: 400;
    line-height: 1;
}

.gallery h2::after {
    display: block;
    width: 42px;
    height: 2px;
    margin: 1.35rem 0 0;
    background: var(--accent);
    content: "";
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.2rem, 2.4vw, 2rem);
    width: 100%;
    max-width: 760px;
    justify-self: center;
}

.gallery-feature {
    min-width: 0;
    margin: 0;
}

.gallery-feature img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid rgba(245, 243, 238, 0.18);
    background: #050505;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.gallery-feature-concept img {
    opacity: 0.9;
}

.gallery-feature figcaption {
    margin-top: 0.9rem;
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.about {
    display: grid;
    grid-template-columns: 180px minmax(0, 680px);
    gap: 3.5rem;
    align-items: center;
    padding: 4.2rem max(48px, calc((100vw - 1240px) / 2));
    border-top: 1px solid var(--line-light);
    background: var(--paper-deep);
}

.about h2 {
    font-size: 2.4rem;
}

.about p {
    margin: 0;
}

.monogram {
    display: grid;
    width: 160px;
    height: 160px;
    place-items: center;
    border: 1px solid rgba(11, 11, 11, 0.4);
    font-family: var(--serif);
    font-size: 2.6rem;
    letter-spacing: 0.12em;
}

.site-footer {
    min-height: 92px;
    color: var(--muted);
    font-size: 0.72rem;
}

.site-footer p {
    margin: 0;
}

@media (max-width: 760px) {
    .gallery {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
    }
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        min-height: 560px;
        padding: 5rem 32px;
    }

    .hero-art {
        height: 470px;
    }

    .featured-book {
        grid-template-columns: 1fr;
        padding: 4.5rem 32px;
    }

    .descent-mark {
        min-height: 210px;
    }
}

@media (max-width: 640px) {
    body.mason-author-home {
        font-size: 16px;
    }

    .site-header {
        width: calc(100% - 32px);
        min-height: 68px;
    }

    .wordmark {
        font-size: 0.95rem;
    }

    .site-header nav {
        gap: 1rem;
    }

    .site-header nav a {
        padding: 1.5rem 0;
        font-size: 0.72rem;
    }

    .site-header nav a:first-child {
        display: none;
    }

    .hero-copy {
        min-height: 520px;
        padding: 4rem 24px;
    }

    .hero h1 {
        font-size: clamp(2.75rem, 13vw, 4.2rem);
    }

    .hero-art {
        height: 360px;
    }

    .featured-book {
        padding: 4rem 24px;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3.5rem 24px;
    }

    .monogram {
        width: 110px;
        height: 110px;
        font-size: 2rem;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
        width: calc(100% - 48px);
        padding: 2rem 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}



