/* Home styles. Generated from main.css by tools/split-discovery-css.php. */

body.chaptertrail-site .site-main:has(.chaptertrail-landing-shell) {
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

.landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 72px;
    align-items: center;
    width: min(var(--max-width), calc(100% - 40px));
    min-height: calc(100vh - 76px);
    margin: 0 auto;
    padding: 96px 0 84px;
}

.landing-hero__copy {
    max-width: 780px;
}

.landing-hero h1 {
    max-width: 11ch;
    margin: 0 0 24px;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 6.4rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 0.94;
}

.landing-hero p,
.split-section p {
    max-width: 680px;
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.chaptertrail-landing-shell {
    width: min(1480px, calc(100% - 40px));
    margin: 12px auto 28px;
}

.chaptertrail-landing-shell--with-header .chaptertrail-landing-header {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-bottom: 0;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -8px 32px rgba(24, 32, 43, 0.04);
}

.chaptertrail-landing-header img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.chaptertrail-landing {
    width: min(1480px, calc(100% - 40px));
    margin: 12px auto 28px;
    padding: 22px 26px 28px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.78) 0%, rgba(248, 244, 236, 0.58) 100%);
    backdrop-filter: blur(16px) saturate(118%);
    -webkit-backdrop-filter: blur(16px) saturate(118%);
    box-shadow:
        0 22px 54px rgba(24, 32, 43, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.chaptertrail-landing-shell .chaptertrail-landing {
    width: 100%;
    margin: 0;
}

.chaptertrail-landing--with-header {
    border-top: 0;
    border-radius: 0 0 18px 18px;
    box-shadow:
        0 22px 54px rgba(24, 32, 43, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.chaptertrail-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.chaptertrail-section-heading h1,
.chaptertrail-section-heading h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: 0;
    line-height: 1;
}

.chaptertrail-section-heading h1 {
    font-size: 3.6rem;
}

.chaptertrail-section-heading h2 {
    font-size: 2.15rem;
}

.chaptertrail-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.4fr);
    gap: 18px;
    padding: 18px 0 22px;
    border-top: 1px solid rgba(222, 216, 202, 0.72);
}

.fiction-row h3,
.random-card h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.15rem;
    line-height: 1.12;
}

.fiction-row h3 a,
.random-card h3 a {
    text-decoration: none;
}

.fiction-row span,
.fiction-row small,
.random-card span {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 750;
}

.chaptertrail-random {
    padding: 18px 0 4px;
    border-top: 1px solid rgba(222, 216, 202, 0.72);
}

.random-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.random-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    min-height: 148px;
    padding: 12px;
    border: 1px solid rgba(222, 216, 202, 0.72);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.random-card img {
    width: 88px;
    height: 132px;
    border-radius: 6px;
    object-fit: cover;
    background: #e7dfd0;
}

.random-card p {
    display: -webkit-box;
    margin: 8px 0;
    overflow: hidden;
    color: var(--muted);
    line-height: 1.48;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.random-card__author {
    margin: 4px 0 0;
    color: var(--wine);
    font-size: 0.86rem;
    font-weight: 800;
}

.random-card .landing-fiction-meta {
    margin-top: 4px;
}

.story-stack {
    position: relative;
    min-height: 520px;
}

.cover-card {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 260px;
    min-height: 380px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: #ffffff;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.cover-card::before {
    position: absolute;
    inset: 18px;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 4px;
}

.cover-card::after {
    position: absolute;
    inset: auto -60px -80px auto;
    width: 180px;
    height: 180px;
    content: "";
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
}

.cover-card--green {
    background: linear-gradient(145deg, #2f6f5e, #193d39);
}

.cover-card--blue {
    background: linear-gradient(145deg, #285c7e, #162f55);
}

.cover-card--wine {
    background: linear-gradient(145deg, #7a2848, #4b314f);
}

.cover-card--1 {
    top: 20px;
    left: 18px;
    z-index: 3;
}

.cover-card--2 {
    top: 92px;
    right: 8px;
    z-index: 2;
}

.cover-card--3 {
    bottom: 0;
    left: 94px;
    z-index: 1;
}

.cover-card span {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
    font-size: 0.8rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cover-card h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.2rem;
    line-height: 1.02;
}

.cover-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
}

.metric-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    width: min(var(--max-width), calc(100% - 40px));
    margin: 0 auto 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
}

.metric-band div {
    padding: 24px;
    background: var(--surface);
}

.metric-band strong {
    display: block;
    color: var(--wine);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.3rem;
    line-height: 1;
}

.metric-band span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-weight: 750;
}

.cms-section {
    padding: 56px 48px;
}

.cms-section__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.shelf,
.split-section,
.author-platform-section,
.principles-section,
.final-cta {
    width: min(var(--max-width), calc(100% - 40px));
    margin: 0 auto;
    padding: 78px 0;
}

.section-heading h2,
.split-section h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3.2rem;
    letter-spacing: 0;
    line-height: 1.02;
}

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

.story-card,
.author-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.story-card {
    display: flex;
    flex-direction: column;
    min-height: 310px;
    padding: 22px;
}

.story-card__tag,
.admin-badge {
    align-self: flex-start;
    padding: 5px 8px;
    border-radius: 5px;
    background: #efe6d2;
    color: #725115;
    font-size: 0.72rem;
    font-weight: 850;
    text-transform: uppercase;
}

.story-card h3 {
    margin: 24px 0 6px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.7rem;
    line-height: 1.05;
}

.story-card h3 a,
.author-card h3 a {
    text-decoration: none;
}

.story-card__author {
    margin: 0 0 16px;
    color: var(--wine);
    font-weight: 700;
}

.story-card p:not(.story-card__author) {
    color: var(--muted);
    line-height: 1.65;
}

.story-card span:last-child {
    margin-top: auto;
    color: var(--blue);
    font-size: 0.86rem;
    font-weight: 750;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
    gap: 36px;
    align-items: center;
}

.author-platform-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 48px;
    align-items: center;
}

.author-platform-section__copy h2,
.principles-section h2,
.final-cta h2 {
    margin: 0 0 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3.2rem;
    letter-spacing: 0;
    line-height: 1.04;
}

.author-platform-section__copy p,
.final-cta p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

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

.author-card {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 18px;
}

.author-card__avatar {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 8px;
    background: var(--blue);
    color: #ffffff;
    font-weight: 850;
}

.author-card h3 {
    margin: 0 0 6px;
}

.author-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

@media (max-width: 1040px) {
.random-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

.landing-hero {
        min-height: auto;
    }

.story-stack {
        min-height: 430px;
        max-width: 620px;
    }
}

@media (max-width: 760px) {
.site-header,
    .cms-section,
    .site-footer {
        padding-left: 24px;
        padding-right: 24px;
    }

.landing-hero,
    .split-section,
    .author-platform-section,
    .story-grid,
    .author-grid,
    .principle-grid,
    .metric-band,
    .random-grid {
        grid-template-columns: 1fr;
    }

.chaptertrail-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

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

.chaptertrail-columns > .chaptertrail-list-panel,
    .chaptertrail-columns > .chaptertrail-rise-panel {
        min-height: auto;
        max-height: none;
    }

body.chaptertrail-site .site-main:has(.chaptertrail-landing-shell) {
        padding: 0;
    }

.chaptertrail-landing-shell {
        width: min(100% - 24px, 1480px);
        margin: 8px auto 20px;
    }

.chaptertrail-landing-shell--with-header .chaptertrail-landing-header {
        border-radius: 14px 14px 0 0;
    }

.chaptertrail-landing {
        width: min(100% - 24px, 1480px);
        margin: 8px auto 20px;
        padding: 16px 14px 18px;
        border-radius: 14px;
    }

.chaptertrail-landing-shell .chaptertrail-landing {
        width: 100%;
        margin: 0;
    }

.chaptertrail-landing--with-header {
        border-radius: 0 0 14px 14px;
    }

.chaptertrail-section-heading h1 {
        font-size: 2.6rem;
    }

.chaptertrail-section-heading h2 {
        font-size: 1.85rem;
    }

.random-card {
        grid-template-columns: 78px minmax(0, 1fr);
    }

.random-card img {
        width: 78px;
        height: 117px;
    }

.landing-hero {
        min-height: auto;
        padding-top: 48px;
        gap: 34px;
    }

.landing-hero h1 {
        font-size: 3.8rem;
    }

.story-stack {
        min-height: auto;
        display: grid;
        gap: 14px;
    }

.cover-card {
        position: relative;
        inset: auto;
        width: 100%;
        min-height: 250px;
    }
}
