:root {
    --ink: #071724;
    --navy: #0c283c;
    --lake: #277ea5;
    --lake-deep: #15506d;
    --mist: #d8e8e9;
    --paper: #f6f3eb;
    --sand: #e6dfce;
    --line: rgba(7, 23, 36, 0.15);
    --serif: Georgia, "Times New Roman", serif;
    --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --radius: 1.25rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

a:hover {
    text-decoration-thickness: 2px;
}

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

button,
input,
textarea {
    font: inherit;
}

.skip-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 100;
    transform: translateY(-200%);
    padding: 0.75rem 1rem;
    background: var(--paper);
    color: var(--ink);
    border-radius: 0.4rem;
}

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

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100%, 1440px);
    margin: 0 auto;
    padding: 1.15rem clamp(1rem, 4vw, 4.5rem);
    color: #fff;
    transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
    background: rgba(246, 243, 235, 0.94);
    color: var(--ink);
    box-shadow: 0 0.6rem 2rem rgba(7, 23, 36, 0.10);
    backdrop-filter: blur(14px);
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}

.spine-mark {
    display: block;
    width: 2.35rem;
    height: 2.35rem;
    max-width: none;
    object-fit: contain;
}

.spine-mark-footer {
    width: 2rem;
    height: 2rem;
}

.wordmark small {
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2.1rem);
}

.site-header nav a {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-decoration: none;
    text-transform: uppercase;
}

.hero {
    position: relative;
    display: grid;
    min-height: min(860px, 100vh);
    overflow: hidden;
    background: linear-gradient(151deg, #104e6a 0%, #12374e 45%, #071724 100%);
    color: #fff;
    isolation: isolate;
}

.hero::before {
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        radial-gradient(circle at 50% 23%, rgba(208, 239, 238, 0.85), rgba(208, 239, 238, 0) 30%),
        linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(1, 12, 22, 0.42));
    content: "";
}

.hero-aura {
    position: absolute;
    top: -26vh;
    left: 50%;
    z-index: -2;
    width: min(76vw, 920px);
    aspect-ratio: 1;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(237, 245, 237, 0.60), rgba(190, 233, 233, 0.16) 34%, rgba(190, 233, 233, 0) 68%);
    filter: blur(1px);
}

.hero-grain {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.14;
    background-image: repeating-radial-gradient(circle at 19% 31%, transparent 0, transparent 1px, rgba(255, 255, 255, 0.58) 1px, transparent 2px);
    background-size: 5px 5px;
    mix-blend-mode: overlay;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    flex-direction: column;
    width: min(760px, calc(100% - 2rem));
    margin: auto;
    padding: 8.4rem 0 10rem;
    text-align: center;
}

.eyebrow,
.section-label {
    margin: 0 0 1rem;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow {
    color: rgba(255, 255, 255, 0.76);
}

.hero-mark {
    display: block;
    flex: 0 0 auto;
    width: clamp(8.75rem, 18vw, 12.5rem);
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    margin: 0.5rem auto 1.65rem;
    filter: drop-shadow(0 1.15rem 1.6rem rgba(0, 0, 0, 0.18));
}

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

.hero h1 {
    max-width: 650px;
    margin-bottom: 1rem;
    font-family: var(--serif);
    font-size: clamp(3.2rem, 7.2vw, 6.4rem);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 0.94;
}

.hero-copy {
    max-width: 590px;
    margin: 0 auto 2.2rem;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1rem, 1.5vw, 1.17rem);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 3.25rem;
    padding: 0.88rem 1.3rem;
    border: 1px solid transparent;
    border-radius: 100px;
    cursor: pointer;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid #5eb5d4;
    outline-offset: 3px;
}

.button-light {
    background: #fff;
    color: var(--ink);
}

.button-dark {
    background: var(--ink);
    color: #fff;
}

.button-dark:hover {
    background: var(--lake-deep);
}

.button:disabled {
    cursor: wait;
    opacity: 0.68;
    transform: none;
}

.hero-shore {
    position: absolute;
    right: -8vw;
    bottom: 18vh;
    left: -8vw;
    z-index: 1;
    height: 14rem;
    border-radius: 52% 48% 0 0 / 100% 100% 0 0;
    background: #0a3042;
    clip-path: polygon(0 72%, 12% 54%, 24% 64%, 42% 29%, 53% 47%, 64% 30%, 72% 57%, 86% 40%, 100% 68%, 100% 100%, 0 100%);
    opacity: 0.88;
}

.hero-water {
    position: absolute;
    right: -8vw;
    left: -8vw;
    border-radius: 50%;
    border-top: 1px solid rgba(216, 232, 233, 0.32);
}

.hero-water-one {
    bottom: 11vh;
    z-index: 1;
    height: 11rem;
    transform: rotate(-2deg);
}

.hero-water-two {
    bottom: 4vh;
    z-index: 2;
    height: 16rem;
    transform: rotate(2deg);
    border-top-color: rgba(216, 232, 233, 0.20);
}

.hero-river {
    position: absolute;
    right: 0;
    bottom: 2.15rem;
    left: 0;
    z-index: 4;
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-align: center;
    text-transform: uppercase;
}

.section {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: clamp(5.5rem, 11vw, 9.5rem) 0;
}

.section-label {
    color: var(--lake-deep);
}

.intro-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: clamp(2rem, 8vw, 8rem);
    align-items: start;
}

h2 {
    margin-bottom: 1.45rem;
    font-family: var(--serif);
    font-size: clamp(2.45rem, 5.2vw, 4.85rem);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.intro-layout p,
.about-copy p {
    color: #2b3b45;
}

.lead {
    font-family: var(--serif);
    font-size: 1.38rem;
    line-height: 1.38;
}

.genre-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: clamp(3.6rem, 8vw, 7rem);
    background: var(--line);
    border: 1px solid var(--line);
}

.genre-card {
    min-height: 250px;
    padding: clamp(1.4rem, 3vw, 2.4rem);
    background: var(--paper);
}

.genre-number {
    display: block;
    margin-bottom: 3.6rem;
    color: var(--lake);
    font-family: var(--serif);
    font-size: 1.1rem;
}

.genre-card h3,
.note-grid h3 {
    margin-bottom: 0.65rem;
    font-family: var(--serif);
    font-size: 1.65rem;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.genre-card p,
.note-grid p {
    margin-bottom: 0;
    color: #46555d;
    font-size: 0.93rem;
}

.authors {
    border-top: 1px solid var(--line);
}

.authors-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
    gap: clamp(2rem, 8vw, 8rem);
    align-items: end;
}

.authors-heading p {
    margin-bottom: 1.45rem;
    color: #2b3b45;
}

.author-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2rem);
    margin-top: 3.5rem;
}

.author-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.author-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: #e5ece9;
}

.author-card-copy {
    padding: 1.25rem 1.35rem 1.4rem;
}

.author-card h3 {
    margin-bottom: 0.2rem;
    font-family: var(--serif);
    font-size: 1.65rem;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.author-card p {
    margin-bottom: 1rem;
    color: #526169;
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.author-card a {
    color: var(--lake-deep);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.quote-band {
    padding: clamp(5rem, 9vw, 8.5rem) 1rem;
    background: var(--ink);
    color: #fff;
    text-align: center;
}

.quote-band p {
    width: min(820px, 100%);
    margin: 0 auto 1rem;
    font-family: var(--serif);
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 1;
}

.quote-band span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.about {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 8vw, 8rem);
    align-items: center;
}

.about-art {
    position: relative;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius);
    background: #e7ece9;
}

.about-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-link {
    display: inline-flex;
    gap: 0.55rem;
    margin-top: 0.8rem;
    color: var(--lake-deep);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.notes {
    border-top: 1px solid var(--line);
}

.notes > h2 {
    width: min(690px, 100%);
}

.note-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    margin-top: 3.5rem;
}

.note-grid article {
    padding-top: 1.25rem;
    border-top: 2px solid var(--ink);
}

.contact {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.05fr);
    gap: clamp(2.5rem, 8vw, 8rem);
    align-items: start;
    border-top: 1px solid var(--line);
}

.contact-copy p {
    max-width: 470px;
    color: #33434b;
}

.contact-email {
    margin-top: 1.8rem;
    font-family: var(--serif);
    font-size: 1.35rem;
}

.contact-email a {
    text-decoration-color: var(--lake);
}

.contact-panel {
    padding: clamp(1.2rem, 4vw, 2.75rem);
    border-radius: var(--radius);
    background: #e5ece9;
}

.form-message {
    min-height: 1.55rem;
    margin-bottom: 1rem;
    color: var(--lake-deep);
    font-size: 0.93rem;
    font-weight: 700;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.field {
    margin-bottom: 1.15rem;
}

.field label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.field input,
.field textarea {
    width: 100%;
    padding: 0.78rem 0.86rem;
    border: 1px solid rgba(7, 23, 36, 0.24);
    border-radius: 0.45rem;
    background: rgba(255, 255, 255, 0.78);
    color: var(--ink);
    transition: background 160ms ease, border-color 160ms ease;
}

.field input:focus,
.field textarea:focus {
    border-color: var(--lake);
    background: #fff;
    outline: none;
}

.field textarea {
    min-height: 140px;
    resize: vertical;
}

.field small {
    display: block;
    margin-top: 0.38rem;
    color: #526169;
    font-size: 0.76rem;
}

.verification-field {
    max-width: 210px;
}

.form-note {
    margin: 1rem 0 0;
    color: #5a696e;
    font-size: 0.75rem;
    line-height: 1.45;
}

.form-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.site-footer {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.45rem clamp(1rem, 4vw, 4.5rem);
    background: #06111a;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.77rem;
}

.site-footer p {
    margin: 0;
    text-align: center;
}

.site-footer a {
    color: #fff;
}

.footer-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 820px) {
    .site-header {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .wordmark small {
        display: none;
    }

    .hero {
        min-height: 760px;
    }

    .hero-content {
        padding-top: 7.8rem;
    }

    .intro-layout,
    .about,
    .contact {
        grid-template-columns: 1fr;
    }

    .about-art {
        order: 2;
        min-height: 0;
    }

    .about-copy {
        order: 1;
    }

    .genre-grid,
    .note-grid {
        grid-template-columns: 1fr;
    }

    .genre-card {
        min-height: 0;
    }

    .genre-number {
        margin-bottom: 1.5rem;
    }

    .authors-heading {
        display: block;
    }

    .authors-heading h2 {
        max-width: 12ch;
        margin-bottom: 1.2rem;
    }

    .authors-heading p {
        max-width: 100%;
        margin-bottom: 0;
        font-size: 1.1rem;
        line-height: 1.45;
    }

    .author-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2.5rem;
    }

    .author-card {
        width: 100%;
    }

    .author-card img {
        width: 100%;
        aspect-ratio: 4 / 5;
        object-fit: cover;
    }

    .contact {
        gap: 2rem;
    }
}

@media (max-width: 520px) {
    .site-header nav {
        gap: 0.8rem;
    }

    .site-header nav a {
        font-size: 0.68rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .site-footer {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }

    .site-footer p {
        order: 3;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}