@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-variable.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
}

@font-face {
    font-family: "Fraunces";
    src: url("../fonts/fraunces-variable.woff2") format("woff2");
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
}

:root {
    --midnight-950: #050d20;
    --midnight-900: #07142f;
    --midnight-850: #0b1939;
    --midnight-800: #102046;
    --indigo-700: #1b2d5b;
    --indigo-600: #304783;
    --periwinkle-400: #aabaff;
    --periwinkle-300: #bdc8ff;
    --periwinkle-200: #d4dcff;
    --paper: #f2f4f8;
    --paper-blue: #e8ecf5;
    --white: #fff;
    --ink: #202331;
    --muted: #6f7586;
    --line: rgba(32, 35, 49, 0.12);
    --shadow-soft: 0 22px 60px rgba(28, 37, 70, 0.11);
    --shadow-deep: 0 36px 80px rgba(0, 0, 0, 0.32);
    --radius-sm: 14px;
    --radius-md: 24px;
    --radius-lg: 32px;
    --shell: min(1180px, calc(100vw - 48px));
    --font-display: "Fraunces", "Iowan Old Style", Baskerville, Georgia, serif;
    --font-sans: "Manrope", "Avenir Next", Avenir, "Segoe UI", 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-sans);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0 0 1.25em;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: var(--font-display);
    font-variation-settings: "SOFT" 50, "WONK" 0, "opsz" 80;
    font-weight: 430;
    letter-spacing: -0.035em;
    line-height: 1.02;
}

h1 {
    font-size: clamp(3.7rem, 8.4vw, 7.5rem);
}

h2 {
    font-size: clamp(2.75rem, 5.5vw, 4.85rem);
}

h3 {
    font-size: clamp(2rem, 3.2vw, 3rem);
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--periwinkle-400);
    outline-offset: 4px;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    z-index: 100000;
    top: 10px;
    left: 10px;
    width: auto;
    height: auto;
    padding: 12px 18px;
    clip: auto;
    color: var(--midnight-900);
    background: var(--white);
    border-radius: 8px;
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

.eyebrow {
    margin: 0 0 22px;
    color: var(--periwinkle-300);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1.25;
    text-transform: uppercase;
}

.eyebrow--ink {
    color: #526ab5;
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 800;
    line-height: 1;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

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

.button--primary {
    color: #101a41;
    background: var(--periwinkle-400);
    box-shadow: 0 15px 36px rgba(1, 9, 28, 0.22);
}

.button--primary:hover {
    background: var(--periwinkle-300);
    box-shadow: 0 18px 42px rgba(1, 9, 28, 0.3);
}

.button--ghost {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.24);
}

.button--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.button--dark {
    color: var(--white);
    background: var(--midnight-900);
    box-shadow: 0 14px 32px rgba(24, 34, 62, 0.16);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #405aa8;
    font-size: 0.88rem;
    font-weight: 800;
}

.text-link span {
    transition: transform 180ms ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

.text-link--light {
    color: var(--periwinkle-300);
}

/* Header */
.site-header {
    position: absolute;
    z-index: 50;
    top: 22px;
    left: 0;
    width: 100%;
    color: var(--white);
}

.site-header__inner {
    display: flex;
    width: var(--shell);
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-inline: auto;
    padding: 10px 14px 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    background: rgba(5, 14, 36, 0.62);
    box-shadow: 0 16px 50px rgba(1, 6, 19, 0.12);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-brand img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.primary-navigation {
    display: flex;
    align-items: center;
    gap: 25px;
}

.primary-navigation ul,
.footer-navigation ul {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-navigation a {
    color: #d8def0;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.primary-navigation .menu a {
    position: relative;
    padding-block: 12px;
}

.primary-navigation .menu a::after {
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;
    height: 1px;
    background: var(--periwinkle-400);
    content: "";
    opacity: 0;
    transform: scaleX(0.3);
    transition: opacity 180ms ease, transform 180ms ease;
}

.primary-navigation .menu a:hover::after,
.primary-navigation .current-menu-item > a::after {
    opacity: 1;
    transform: scaleX(1);
}

.primary-navigation .button--nav {
    min-height: 42px;
    padding-inline: 20px;
    color: #111a40;
    background: var(--periwinkle-400);
}

.menu-toggle {
    display: none;
    color: var(--white);
    background: transparent;
    border: 0;
}

/* Home hero */
.blue-hour-hero {
    position: relative;
    min-height: 900px;
    overflow: hidden;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(3, 17, 43, 0.98) 0%, rgba(9, 22, 55, 0.82) 50%, rgba(34, 31, 83, 0.46) 100%),
        linear-gradient(0deg, rgba(6, 16, 42, 0.84), transparent 50%),
        url("../images/night-house.jpg") center / cover no-repeat;
}

.blue-hour-hero::before {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 83% 24%, rgba(139, 125, 235, 0.23), transparent 30%);
    content: "";
}

.blue-hour-hero__veil {
    position: absolute;
    inset: auto 0 0;
    height: 35%;
    background: linear-gradient(transparent, rgba(4, 12, 31, 0.4));
}

.blue-hour-hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    min-height: 900px;
    align-items: center;
    gap: clamp(44px, 6vw, 90px);
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.74fr);
    padding-top: 95px;
}

.hero-copy {
    padding-top: 24px;
}

.hero-copy h1 {
    max-width: 720px;
    color: var(--white);
    font-size: clamp(4.4rem, 7.7vw, 7.25rem);
}

.hero-copy h1 em {
    display: block;
    color: var(--periwinkle-400);
    font-style: italic;
    font-variation-settings: "SOFT" 70, "WONK" 1, "opsz" 100;
    font-weight: 380;
}

.hero-intro {
    max-width: 590px;
    margin-top: 26px;
    color: #c9d0e2;
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    line-height: 1.72;
}

.featured-book-frame {
    position: relative;
    display: grid;
    min-height: 590px;
    align-content: space-between;
    padding: 44px 34px 26px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(107, 121, 194, 0.18), rgba(13, 23, 54, 0.22));
    box-shadow: var(--shadow-deep);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
}

.featured-book-frame__glow {
    position: absolute;
    top: -25%;
    right: -30%;
    width: 90%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(143, 131, 238, 0.14);
    filter: blur(40px);
}

.featured-book-cover {
    z-index: 1;
    width: min(75%, 300px);
    max-height: 450px;
    margin: 0 auto 34px;
    object-fit: contain;
    box-shadow: 0 42px 60px rgba(0, 0, 0, 0.48);
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.featured-book-frame:hover .featured-book-cover {
    box-shadow: 0 48px 68px rgba(0, 0, 0, 0.54);
    transform: translateY(-6px) rotate(-0.5deg);
}

.featured-book-frame__meta {
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.featured-book-frame__meta strong {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 430;
}

.featured-book-frame__meta span {
    color: #c8cfe2;
    font-size: 0.69rem;
    text-align: right;
}

/* Shared sections */
.section {
    padding: clamp(86px, 10vw, 140px) 0;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 48px;
}

.section-heading .eyebrow {
    margin-bottom: 12px;
}

.section-heading > p,
.section-heading > a {
    max-width: 430px;
}

.section-heading > p {
    color: var(--muted);
    line-height: 1.65;
}

.section-heading--light {
    color: var(--white);
}

.section-heading--light > p {
    color: #bdc6da;
}

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

.shelf-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1.4fr 0.8fr;
}

.feature-card {
    position: relative;
    min-height: 370px;
    padding: clamp(30px, 4vw, 46px);
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(32, 35, 49, 0.08);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.feature-card > p {
    color: var(--muted);
}

.feature-card h3 {
    margin-bottom: 18px;
}

.feature-card--ink {
    display: grid;
    color: var(--white);
    background:
        radial-gradient(circle at 80% 18%, rgba(128, 145, 226, 0.14), transparent 32%),
        linear-gradient(145deg, #142b56, #202349);
    border: 0;
    grid-template-columns: 1fr 150px;
}

.feature-card--ink > div {
    position: relative;
    z-index: 2;
    max-width: 470px;
}

.feature-card--ink p:not(.eyebrow) {
    color: #bdc6da;
}

.feature-card__cover {
    position: absolute;
    right: 38px;
    bottom: 32px;
    width: 132px;
    max-height: 205px;
    object-fit: cover;
    box-shadow: 0 22px 38px rgba(0, 0, 0, 0.36);
    transform: rotate(1.5deg);
}

.newsletter-form {
    position: relative;
    display: flex;
    min-height: 56px;
    align-items: center;
    margin-top: 30px;
    padding: 6px 7px 6px 20px;
    background: #f4f6fa;
    border: 1px solid rgba(32, 35, 49, 0.07);
    border-radius: 999px;
}

.newsletter-form input {
    min-width: 0;
    flex: 1;
    color: var(--ink);
    background: transparent;
    border: 0;
    outline: 0;
}

.newsletter-form input::placeholder {
    color: #8a90a0;
}

.newsletter-form button {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    color: var(--white);
    background: #596eb6;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 180ms ease, background-color 180ms ease;
}

.newsletter-form button:hover {
    background: #40589f;
    transform: translateX(2px);
}

.newsletter-message {
    position: absolute;
    top: calc(100% + 8px);
    left: 20px;
    margin: 0;
    color: var(--muted);
    font-size: 0.75rem;
}

.section--midnight {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 85% 20%, rgba(126, 111, 217, 0.16), transparent 28%),
        linear-gradient(145deg, var(--midnight-900), #121a43);
}

.section--midnight::before {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 50vw;
    aspect-ratio: 1;
    background: rgba(72, 105, 174, 0.08);
    border-radius: 50%;
    content: "";
    filter: blur(80px);
}

.forthcoming-card {
    position: relative;
    display: grid;
    min-height: 250px;
    align-items: center;
    gap: 46px;
    grid-template-columns: 90px 1fr 60px;
    padding: 42px 46px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-md);
    background: linear-gradient(110deg, rgba(255, 255, 255, 0.06), rgba(170, 186, 255, 0.03));
    transition: background-color 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.forthcoming-card:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(170, 186, 255, 0.42);
    transform: translateY(-3px);
}

.forthcoming-card__number {
    color: var(--periwinkle-400);
    font-family: var(--font-display);
    font-size: 3.8rem;
    font-weight: 350;
    opacity: 0.5;
}

.forthcoming-card h3 {
    margin-bottom: 15px;
}

.forthcoming-card p:last-child {
    max-width: 630px;
    margin: 0;
    color: #bdc6da;
}

.forthcoming-card__arrow {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    color: var(--midnight-900);
    background: var(--periwinkle-400);
    border-radius: 50%;
    font-size: 1.35rem;
}

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

.editorial-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1.08fr 0.92fr;
}

.editorial-panel {
    min-height: 480px;
    padding: clamp(36px, 5vw, 62px);
    border-radius: var(--radius-md);
}

.editorial-panel h2 {
    max-width: 670px;
    margin-bottom: 24px;
    font-size: clamp(2.65rem, 5vw, 4.6rem);
}

.editorial-panel > p:not(.eyebrow) {
    max-width: 590px;
    color: var(--muted);
    font-size: 1.03rem;
}

.editorial-panel .button,
.editorial-panel .text-link {
    margin-top: 18px;
}

.editorial-panel--service {
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.editorial-panel--about {
    color: var(--white);
    background:
        radial-gradient(circle at 84% 12%, rgba(170, 186, 255, 0.22), transparent 30%),
        linear-gradient(145deg, #1a315e, #23264f);
}

.editorial-panel--about .eyebrow {
    color: var(--periwinkle-300);
}

.editorial-panel--about > p:not(.eyebrow) {
    color: #c5cde0;
}

.editorial-panel--about .text-link {
    color: var(--periwinkle-300);
}

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

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

.article-card {
    min-width: 0;
}

.article-card__image,
.article-card__placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 1.45;
    margin-bottom: 28px;
    overflow: hidden;
    border-radius: 18px;
    background:
        radial-gradient(circle at 75% 30%, rgba(170, 186, 255, 0.26), transparent 26%),
        linear-gradient(145deg, #142b56, #232451);
}

.article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
}

.article-card:hover .article-card__image img {
    transform: scale(1.025);
}

.article-card .eyebrow {
    margin-bottom: 13px;
}

.article-card h2,
.article-card h3 {
    margin-bottom: 14px;
    font-size: clamp(1.85rem, 2.7vw, 2.5rem);
    line-height: 1.08;
}

.article-card > p:last-child {
    color: var(--muted);
}

/* Inner pages */
.page-hero,
.article-hero,
.book-hero,
.author-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 85% 20%, rgba(124, 108, 216, 0.2), transparent 28%),
        linear-gradient(145deg, var(--midnight-900), #171b48);
}

.page-hero::after,
.article-hero::after,
.book-hero::after,
.author-hero::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 120px 100%;
    content: "";
    opacity: 0.45;
    pointer-events: none;
}

.page-hero__inner {
    position: relative;
    z-index: 1;
    padding-top: 220px;
    padding-bottom: 110px;
}

.page-hero h1 {
    max-width: 900px;
}

.page-hero__inner > p:last-child {
    max-width: 650px;
    margin-top: 25px;
    color: #c7cede;
    font-size: 1.15rem;
}

.page-hero--404 {
    min-height: 72vh;
}

.prose {
    width: min(760px, calc(100vw - 48px));
    margin-inline: auto;
    font-family: var(--font-display);
    font-size: clamp(1.13rem, 1.7vw, 1.28rem);
    font-variation-settings: "SOFT" 30, "WONK" 0, "opsz" 20;
    line-height: 1.78;
}

.prose > *:first-child {
    margin-top: 0;
}

.prose h2,
.prose h3 {
    margin: 1.4em 0 0.55em;
}

.prose h2 {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
}

.prose h3 {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.prose a {
    color: #405aa8;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

.prose blockquote {
    margin: 2.2em 0;
    padding: 0 0 0 1.35em;
    color: #354982;
    border-left: 3px solid var(--periwinkle-400);
    font-size: 1.32em;
    line-height: 1.5;
}

.prose ul,
.prose ol {
    padding-left: 1.4em;
}

.article-hero__inner {
    position: relative;
    z-index: 1;
    width: min(920px, calc(100vw - 48px));
    margin-inline: auto;
    padding: 235px 0 110px;
    text-align: center;
}

.article-hero h1 {
    font-size: clamp(3.8rem, 7vw, 6.8rem);
}

.article-standfirst {
    max-width: 720px;
    margin: 30px auto 0;
    color: #c7cede;
    font-size: 1.15rem;
}

.article-byline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 34px;
    color: #abb5cd;
    font-size: 0.78rem;
}

.article-byline span + span::before {
    margin-right: 16px;
    content: "·";
}

.article-featured-image {
    margin-top: -58px;
}

.article-featured-image img {
    width: 100%;
    max-height: 680px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.prose--article::first-letter {
    float: left;
    margin: 0.08em 0.12em 0 0;
    color: #405aa8;
    font-family: var(--font-display);
    font-size: 4.8em;
    line-height: 0.78;
}

.article-signup {
    padding: 90px 0;
    color: var(--white);
    background: var(--midnight-900);
}

.article-signup__inner {
    display: grid;
    align-items: center;
    gap: 80px;
    grid-template-columns: 1fr 0.8fr;
}

.article-signup h2 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
}

.article-signup .newsletter-form {
    margin-top: 0;
}

/* Books */
.book-grid {
    display: grid;
    gap: 80px 48px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.book-card {
    display: grid;
    align-items: center;
    gap: clamp(26px, 4vw, 46px);
    grid-template-columns: minmax(170px, 0.78fr) 1.22fr;
}

.book-card__cover {
    display: block;
    transition: transform 250ms ease;
}

.book-card__cover:hover {
    transform: translateY(-5px);
}

.book-card__cover img,
.coverless-book {
    width: 100%;
    box-shadow: 0 28px 50px rgba(23, 29, 54, 0.2);
}

.book-card__copy h2 {
    margin-bottom: 4px;
    font-size: clamp(2.4rem, 4vw, 3.6rem);
}

.book-card__copy > p:not(.eyebrow, .book-card__author) {
    color: var(--muted);
}

.book-card__author {
    margin-bottom: 20px;
    color: #4d5982;
    font-size: 0.84rem;
    font-weight: 700;
}

.coverless-book {
    display: flex;
    aspect-ratio: 0.655;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
    color: var(--white);
    background:
        radial-gradient(circle at 70% 25%, rgba(170, 186, 255, 0.22), transparent 28%),
        linear-gradient(145deg, #152b56, #24244e);
}

.coverless-book small {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.coverless-book strong {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 430;
    line-height: 1;
}

.book-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 790px;
    align-items: center;
    gap: clamp(55px, 9vw, 130px);
    grid-template-columns: 0.78fr 1.22fr;
    padding: 175px 0 95px;
}

.book-hero__cover {
    display: flex;
    justify-content: center;
}

.book-hero__cover img,
.coverless-book--large {
    width: min(100%, 390px);
    box-shadow: 0 45px 70px rgba(0, 0, 0, 0.42);
}

.book-hero__copy h1 {
    font-size: clamp(4.2rem, 8vw, 7.8rem);
}

.book-hero__author {
    margin-top: 12px;
    color: var(--periwinkle-300);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.book-hero__intro {
    max-width: 660px;
    margin-top: 28px;
    color: #c9d0e2;
    font-size: 1.15rem;
}

.book-body__grid {
    display: grid;
    align-items: start;
    gap: 90px;
    grid-template-columns: minmax(0, 1fr) 310px;
}

.book-body .prose {
    width: 100%;
}

.book-details {
    position: sticky;
    top: 32px;
    padding: 32px;
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
}

.book-details dl {
    margin: 0 0 26px;
}

.book-details dl > div {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}

.book-details dt {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.book-details dd {
    margin: 3px 0 0;
    font-family: var(--font-display);
    font-size: 1.1rem;
}

/* Authors */
.author-grid {
    display: grid;
    gap: 70px;
}

.author-card {
    display: grid;
    align-items: center;
    gap: clamp(35px, 7vw, 90px);
    grid-template-columns: minmax(260px, 0.75fr) 1.25fr;
}

.author-card img,
.author-card__monogram {
    width: 100%;
    aspect-ratio: 1.05;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.author-card__monogram {
    display: grid;
    place-items: center;
    color: var(--periwinkle-300);
    background:
        radial-gradient(circle at 70% 25%, rgba(170, 186, 255, 0.25), transparent 28%),
        linear-gradient(145deg, #152b56, #24244e);
    font-family: var(--font-display);
    font-size: clamp(5rem, 12vw, 10rem);
}

.author-card h2 {
    margin-bottom: 20px;
}

.author-card p:not(.eyebrow) {
    max-width: 610px;
    color: var(--muted);
}

.author-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 740px;
    align-items: center;
    gap: 90px;
    grid-template-columns: 1fr 0.72fr;
    padding: 170px 0 80px;
}

.author-hero__grid > div:first-child > p:last-child {
    max-width: 650px;
    margin-top: 24px;
    color: #c7cede;
    font-size: 1.15rem;
}

.author-hero__portrait img {
    width: 100%;
    aspect-ratio: 0.86;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-deep);
}

/* Footer */
.site-footer {
    color: var(--white);
    background: var(--midnight-950);
}

.footer-newsletter {
    display: grid;
    align-items: center;
    gap: 70px;
    grid-template-columns: 1fr 0.9fr;
    padding: 90px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-newsletter h2 {
    margin-bottom: 16px;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
}

.footer-newsletter > div:first-child > p:last-child {
    max-width: 560px;
    color: #abb5cd;
}

.footer-newsletter .newsletter-form {
    margin-top: 0;
}

.consent-note {
    margin: 12px 14px 0;
    color: #8995af;
    font-size: 0.68rem;
}

.footer-main {
    display: grid;
    gap: 55px;
    grid-template-columns: 1.1fr 1fr 0.7fr;
    padding: 72px 0 62px;
}

.footer-brand .site-brand {
    margin-bottom: 22px;
}

.footer-brand p {
    max-width: 340px;
    color: #9da8bf;
}

.footer-navigation ul {
    display: grid;
    gap: 9px 30px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-navigation a,
.footer-contact a {
    color: #c7cede;
    font-size: 0.85rem;
}

.footer-navigation a:hover,
.footer-contact a:hover {
    color: var(--white);
}

.footer-contact .eyebrow {
    margin-bottom: 18px;
}

.footer-legal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 24px 0 34px;
    color: #77839d;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.69rem;
}

.footer-legal p {
    margin: 0;
}

.footer-legal > div {
    display: flex;
    gap: 20px;
}

/* Private holding page */
.holding-page {
    min-height: 100vh;
    color: var(--white);
    background: var(--midnight-900);
}

.holding {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(3, 17, 43, 0.98), rgba(9, 22, 55, 0.78) 55%, rgba(34, 31, 83, 0.48)),
        url("../images/night-house.jpg") center / cover no-repeat;
}

.holding::after {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 82% 24%, rgba(139, 125, 235, 0.24), transparent 31%);
    content: "";
}

.holding__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(4, 12, 31, 0.62), transparent 55%);
}

.holding__content {
    position: relative;
    z-index: 2;
    display: flex;
    width: var(--shell);
    min-height: 100vh;
    flex-direction: column;
    justify-content: space-between;
    margin-inline: auto;
    padding: 42px 0 34px;
}

.holding__copy {
    max-width: 780px;
    padding: 80px 0;
}

.holding__copy h1 {
    font-size: clamp(4rem, 9vw, 8rem);
}

.holding__copy h1 em {
    display: block;
    color: var(--periwinkle-400);
    font-weight: 380;
}

.holding__copy > p:not(.eyebrow) {
    max-width: 600px;
    margin-top: 28px;
    color: #c9d0e2;
    font-size: 1.12rem;
}

.holding__copy .button {
    margin-top: 18px;
}

.holding__footer {
    color: #8995af;
    font-size: 0.7rem;
}

/* Motion */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 650ms ease, transform 650ms ease;
}

.reveal--delay {
    transition-delay: 120ms;
}

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

/* Responsive */
@media (max-width: 1080px) {
    .primary-navigation {
        gap: 16px;
    }

    .primary-navigation ul {
        gap: 16px;
    }

    .primary-navigation a {
        font-size: 0.73rem;
    }

    .blue-hour-hero__grid {
        gap: 46px;
        grid-template-columns: minmax(0, 1fr) minmax(330px, 0.68fr);
    }

    .featured-book-frame {
        min-height: 540px;
    }

    .book-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    :root {
        --shell: min(100% - 36px, 720px);
    }

    .site-header {
        top: 16px;
    }

    .site-header__inner {
        min-height: 64px;
        padding: 8px 12px 8px 14px;
        border-radius: 18px;
    }

    .menu-toggle {
        z-index: 4;
        display: inline-flex;
        min-height: 44px;
        align-items: center;
        gap: 12px;
        padding: 0 10px;
        cursor: pointer;
    }

    .menu-toggle__label {
        font-size: 0.7rem;
        font-weight: 800;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .menu-toggle__icon {
        position: relative;
        width: 20px;
        height: 14px;
    }

    .menu-toggle__icon i {
        position: absolute;
        left: 0;
        width: 20px;
        height: 1px;
        background: currentColor;
        transition: transform 180ms ease, top 180ms ease;
    }

    .menu-toggle__icon i:first-child {
        top: 3px;
    }

    .menu-toggle__icon i:last-child {
        top: 10px;
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle__icon i:first-child {
        top: 7px;
        transform: rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle__icon i:last-child {
        top: 7px;
        transform: rotate(-45deg);
    }

    .primary-navigation {
        position: fixed;
        z-index: 3;
        inset: -16px -18px auto;
        display: flex;
        min-height: 100svh;
        align-items: stretch;
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        padding: 110px 34px 48px;
        background: rgba(5, 13, 32, 0.98);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-14px);
        transition: opacity 200ms ease, transform 200ms ease;
    }

    .primary-navigation.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .primary-navigation ul {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .primary-navigation .menu a {
        display: block;
        font-family: var(--font-display);
        font-size: clamp(2rem, 8vw, 3.2rem);
        font-weight: 430;
    }

    .primary-navigation .button--nav {
        align-self: flex-start;
        padding-inline: 24px;
        font-family: var(--font-sans);
        font-size: 0.8rem;
    }

    .blue-hour-hero {
        min-height: auto;
    }

    .blue-hour-hero__grid {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-top: 170px;
        padding-bottom: 90px;
    }

    .hero-copy {
        max-width: 700px;
    }

    .featured-book-frame {
        width: min(100%, 520px);
        min-height: 580px;
        justify-self: center;
    }

    .shelf-grid,
    .editorial-grid,
    .article-signup__inner,
    .footer-newsletter,
    .footer-main,
    .book-hero__grid,
    .book-body__grid,
    .author-hero__grid {
        grid-template-columns: 1fr;
    }

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

    .feature-card--ink {
        grid-template-columns: 1fr 140px;
    }

    .editorial-panel {
        min-height: 400px;
    }

    .book-hero__grid {
        gap: 55px;
        padding-top: 160px;
    }

    .book-hero__cover {
        justify-content: flex-start;
    }

    .book-hero__cover img,
    .coverless-book--large {
        width: min(70vw, 350px);
    }

    .book-details {
        position: static;
    }

    .footer-main {
        gap: 42px;
    }
}

@media (max-width: 620px) {
    :root {
        --shell: calc(100vw - 28px);
    }

    body {
        font-size: 15px;
    }

    .site-brand {
        gap: 9px;
        letter-spacing: 0.12em;
    }

    .site-brand img {
        width: 36px;
        height: 36px;
    }

    .menu-toggle__label {
        display: none;
    }

    .hero-copy h1 {
        font-size: clamp(3.8rem, 17vw, 5.5rem);
    }

    .button-row {
        align-items: stretch;
        flex-direction: column;
    }

    .button-row .button {
        width: 100%;
    }

    .featured-book-frame {
        min-height: 510px;
        padding: 32px 24px 22px;
        border-radius: 24px;
    }

    .featured-book-cover {
        max-height: 380px;
    }

    .featured-book-frame__meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .featured-book-frame__meta span {
        text-align: left;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .section-heading > p {
        margin-bottom: 0;
    }

    .feature-card {
        min-height: 350px;
        border-radius: 20px;
    }

    .feature-card--ink {
        display: block;
        padding-bottom: 230px;
    }

    .feature-card__cover {
        right: auto;
        bottom: 28px;
        left: 34px;
        width: 116px;
        max-height: 180px;
    }

    .forthcoming-card {
        gap: 22px;
        grid-template-columns: 1fr;
        padding: 34px 30px;
    }

    .forthcoming-card__number {
        font-size: 2.8rem;
    }

    .forthcoming-card__arrow {
        position: absolute;
        top: 28px;
        right: 28px;
        width: 44px;
        height: 44px;
    }

    .editorial-panel {
        min-height: 0;
        padding: 38px 30px;
        border-radius: 20px;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }

    .page-hero__inner {
        padding-top: 175px;
        padding-bottom: 80px;
    }

    .article-hero__inner {
        padding-top: 180px;
        padding-bottom: 80px;
    }

    .article-byline {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .article-byline span + span::before {
        display: none;
    }

    .book-card,
    .author-card {
        grid-template-columns: 1fr;
    }

    .book-card__cover {
        width: min(72vw, 320px);
    }

    .book-hero__copy h1 {
        font-size: clamp(3.8rem, 17vw, 5.6rem);
    }

    .footer-navigation ul {
        grid-template-columns: 1fr;
    }

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

    .footer-legal > div {
        flex-wrap: wrap;
    }

    .holding__content {
        padding-top: 26px;
    }

    .holding__copy {
        padding-block: 60px;
    }
}

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

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

    .reveal {
        opacity: 1;
        transform: none;
    }
}

