.topline {
    background: #eae9df;
    text-align: center;
    padding: 8px 48px;
    font-size: 13px;
    letter-spacing: .8px;
    color: #4b574b;
    display: flex;
    justify-content: space-between
}

.site-header {
    height: 98px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-border);
    gap: 20px
}

    .site-header nav {
        display: flex;
        gap: 29px;
        align-items: center;
        font-size: 15px
    }

        .site-header nav button {
            font-size: 15px
        }

        .site-header nav span {
            margin-left: 7px
        }

.header-actions {
    display: flex;
    gap: 22px;
    align-items: center
}

.search-trigger {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center
}

.library-button {
    border: 1px solid #b8bcaf;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 14px;
    min-height: 44px
}

    .library-button span {
        margin-left: 15px
    }

.menu-button {
    display: none;
    min-height: 44px;
    min-width: 44px
}

.hero {
    display: grid;
    grid-template-columns: 1.03fr 1fr;
    gap: 25px;
    align-items: center;
    padding-block: 58px 65px
}

.tiny-line {
    display: inline-block;
    width: 22px;
    height: 1px;
    background: #967348;
    vertical-align: middle;
    margin-right: 10px
}

.hero h1 {
    font-size: clamp(52px,5.1vw,76px);
    letter-spacing: -3px;
    line-height: 1.07;
    margin: 25px 0
}

    .hero h1 em {
        font-style: italic
    }

.hero-copy > p {
    font-size: 15px;
    line-height: 1.8
}

.hero-actions {
    display: flex;
    gap: 25px;
    align-items: center;
    margin-top: 27px
}

.hero-note {
    font-size: 14px;
    color: #6b7166;
    margin-top: 28px
}

    .hero-note span {
        font-size: 19px;
        margin-right: 9px
    }

.hero-art {
    height: 490px;
    position: relative;
    background: radial-gradient(ellipse at 53% 63%,#ddd8c6 0,transparent 65%)
}

.art-orbit {
    position: absolute;
    width: 415px;
    height: 415px;
    left: 50%;
    top: 35px;
    transform: translateX(-50%);
    border: 1px solid #d8d5c7;
    border-radius: 50%;
    background: #e9e6d950
}

.hero-book {
    position: absolute;
    width: 205px;
    box-shadow: 9px 17px 20px #282a2930
}

    .hero-book.front {
        left: 14%;
        top: 105px;
        transform: rotate(-11deg);
        z-index: 2
    }

    .hero-book.back {
        left: 48%;
        top: 53px;
        transform: rotate(12deg)
    }

.art-note {
    position: absolute;
    right: 4%;
    top: 0;
    font: italic 20px/1.2 var(--font-heading);
    color: #6b705c;
    transform: rotate(6deg)
}

.art-caption {
    position: absolute;
    bottom: 0;
    left: 19%;
    display: flex;
    flex-direction: column;
    gap: 10px
}

    .art-caption span {
        font-size: 12px;
        letter-spacing: 2px
    }

    .art-caption i {
        font: italic 20px var(--font-heading)
    }

.art-star {
    position: absolute;
    bottom: 15px;
    right: 10%;
    color: #8c997b;
    font-size: 54px
}

.interests {
    padding: 30px 0 50px;
    border-top: 1px solid var(--color-border);
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 35px
}

.interest-heading h2 {
    font-size: 29px;
    margin-top: 12px;
    max-width: 220px
}

.interest-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px
}

    .interest-grid a {
        position: relative;
        font-size: 14px;
        line-height: 1.6;
        border-left: 1px solid #dcd9ce;
        padding: 10px 16px
    }

        .interest-grid a > span {
            font-size: 26px;
            color: #6a795e;
            display: block;
            margin-bottom: 8px
        }

    .interest-grid i {
        position: absolute;
        right: 12px;
        top: 20px;
        font-style: normal
    }

    .interest-grid a:hover {
        background: #ecebdf
    }

.discovery {
    position: relative;
    background: #2b4339;
    color: #fff9e9;
    border-radius: 5px;
    padding: 37px 40px;
    display: grid;
    grid-template-columns: 65px 1fr auto;
    gap: 22px;
    align-items: center
}

.discovery-symbol {
    font-size: 66px;
    color: #c6c69c
}

.discovery .eyebrow {
    color: #c3cbae;
    font-size: 12px
}

.discovery h2 {
    font-size: 29px;
    margin: 9px 0
}

    .discovery h2 em {
        color: #e3d6b5
    }

.discovery p {
    color: #c5cfc5;
    font-size: 15px
}

.discovery small {
    grid-column: 3;
    font-size: 12px;
    color: #d7dfd1;
    text-align: center;
    margin-top: -24px
}

.catalogue-note {
    display: flex;
    justify-content: space-between;
    margin-top: 65px;
    font-size: 12px;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 16px;
    color: var(--color-primary)
}

    .catalogue-note span {
        letter-spacing: .3px;
        color: var(--color-text-muted)
    }

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
}

    .section-head h2 {
        margin: 12px 0;
        font-size: 36px
    }

    .section-head p {
        font-size: 15px
    }

.shelf-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-shrink: 0
}

    .shelf-actions > div {
        display: flex;
        gap: 8px
    }

.shelf + .shelf {
    border-top: 1px solid var(--color-border)
}

.featured {
    margin-top: 45px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #eceade
}

.featured-art {
    padding: 50px;
    position: relative;
    background: #d8ddcd;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 470px
}

    .featured-art img {
        height: 330px;
        width: auto;
        transform: rotate(-7deg);
        box-shadow: 15px 20px 25px #2c362433
    }

    .featured-art > span {
        position: absolute;
        right: 22px;
        bottom: 25px;
        font: italic 20px/1.2 var(--font-heading);
        color: #5b6b55;
        transform: rotate(-5deg)
    }

.featured-copy {
    padding: 55px 48px
}

    .featured-copy h2 {
        font-size: 39px;
        margin: 23px 0
    }

    .featured-copy p {
        font-size: 15px;
        max-width: 370px
    }

.feature-tags {
    display: flex;
    gap: 10px;
    margin: 22px 0;
    font-size: 13px
}

    .feature-tags span {
        border: 1px solid #cccebc;
        padding: 4px 10px;
        border-radius: 20px
    }

.approach {
    text-align: center;
    padding-top: 90px;
    padding-bottom: 95px
}

    .approach > h2 {
        margin: 15px 0 12px
    }

.approach-lede {
    max-width: 36rem;
    margin: 0 auto 45px;
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--color-text-muted);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 60px
}

    .approach-grid span {
        font: italic 22px var(--font-heading);
        color: #8b967b
    }

    .approach-grid h3 {
        font: 22px var(--font-heading);
        margin: 17px 0 14px
    }

    .approach-grid p {
        font-size: 15px;
        max-width: 280px;
        margin: auto
    }

footer {
    background: #eae9df;
    padding-top: 56px
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr repeat(4,1fr);
    gap: 30px;
    padding-bottom: 40px
}

.footer-brand .brand {
    font-size: 25px
}

.footer-brand p {
    font: 22px/1.4 var(--font-heading);
    margin: 20px 0
}

.footer-brand > span {
    font-size: 12px;
    letter-spacing: 1px
}

.footer-column h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 17px
}

.footer-column button {
    display: block;
    text-align: left;
    color: #656b60;
    font-size: 14px;
    min-height: 34px
}

    .footer-column button:hover {
        text-decoration: underline
    }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #d4d7c8;
    padding-block: 20px;
    font-size: 13px;
    color: #626b5e
}

@media(min-width:1550px) {
    .hero-art {
        height: 520px
    }

    .hero-book {
        width: 225px
    }
}

@media(max-width:1199px) {
    .site-header nav {
        gap: 15px
    }

    .header-actions {
        gap: 8px
    }

    .brand {
        font-size: 21px
    }

    .hero-book {
        width: 180px
    }

    .hero-art {
        height: 440px
    }

    .art-orbit {
        width: 350px;
        height: 350px
    }

    .hero-actions {
        gap: 14px;
        flex-wrap: wrap
    }

    .interests {
        grid-template-columns: 210px 1fr;
        gap: 15px
    }

    .discovery {
        padding: 30px;
        grid-template-columns: 45px 1fr auto;
        gap: 16px
    }

        .discovery h2 {
            font-size: 25px
        }

    .discovery-symbol {
        font-size: 50px
    }

    .featured-copy {
        padding: 35px
    }

    .footer-top {
        gap: 20px;
        grid-template-columns: 1.3fr repeat(4,1fr)
    }
}

@media(max-width:900px) {
    .site-header nav {
        display: none;
        position: absolute;
        top: 125px;
        left: 20px;
        right: 20px;
        background: var(--color-surface);
        padding: 25px;
        z-index: 10;
        border: 1px solid var(--color-border)
    }

        .site-header nav.open {
            display: flex;
            flex-direction: column;
            align-items: start
        }

    .menu-button {
        display: block
    }

    .hero {
        gap: 5px
    }

    .hero-book {
        width: 155px
    }

    .hero-art {
        height: 395px
    }

    .art-orbit {
        width: 290px;
        height: 290px
    }

    .hero-book.front {
        left: 8%
    }

    .art-note {
        font-size: 17px
    }

    .interests {
        display: block
    }

    .interest-heading {
        margin-bottom: 25px
    }

        .interest-heading h2 {
            max-width: none
        }

    .discovery {
        grid-template-columns: 40px 1fr
    }

        .discovery .button {
            grid-column: 2;
            justify-self: start
        }

        .discovery small {
            grid-column: 2;
            margin: 0;
            text-align: left
        }

    .shelf-actions {
        gap: 10px
    }

    .featured-copy h2 {
        font-size: 32px
    }

    .footer-top {
        grid-template-columns: repeat(4,1fr)
    }

    .footer-brand {
        grid-column: 1/-1;
        display: flex;
        justify-content: space-between;
        align-items: center
    }

    .approach-grid {
        gap: 25px
    }
}

@media(max-width:767px) {
    .topline {
        padding: 8px 20px;
        justify-content: center;
        font-size: 12px
    }

        .topline span {
            display: none
        }

    .site-header {
        height: 85px
    }

    .brand {
        font-size: 21px
    }

    .brand-icon {
        display: none
    }

    .library-button {
        display: none
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 38px;
        padding-bottom: 32px
    }

        .hero h1 {
            font-size: 58px;
            letter-spacing: -2.5px
        }

    .hero-copy > p {
        font-size: 16px
    }

    .hero .eyebrow {
        font-size: 12px;
        letter-spacing: 1.4px
    }

    .hero-actions {
        gap: 18px
    }

    .hero-art {
        height: 400px;
        width: 100%;
        max-width: 420px;
        margin: 30px auto 0
    }

    .hero-book {
        width: 172px
    }

        .hero-book.front {
            left: 13%;
            top: 85px
        }

        .hero-book.back {
            left: 48%;
            top: 40px
        }

    .art-orbit {
        width: 310px;
        height: 310px;
        top: 30px
    }

    .art-note {
        right: 0;
        font-size: 17px
    }

    .art-caption {
        left: 12%;
        bottom: 0
    }

    .art-star {
        font-size: 45px;
        right: 8%;
        bottom: 3px
    }

    .interest-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 18px
    }

        .interest-grid a {
            font-size: 15px
        }

    .interests {
        padding-block: 30px
    }

    .discovery {
        padding: 28px 24px;
        grid-template-columns: 1fr
    }

    .discovery-symbol {
        display: none
    }

    .discovery h2 {
        font-size: 29px
    }

    .discovery .button, .discovery small {
        grid-column: 1
    }

    .discovery p {
        font-size: 15px
    }

    .discovery small {
        margin-top: -8px
    }

    .catalogue-note {
        margin-top: 40px;
        flex-direction: column;
        gap: 8px
    }

    .section-head {
        align-items: start;
        flex-direction: column;
        gap: 12px
    }

        .section-head h2 {
            font-size: 30px
        }

    .shelf-actions {
        width: 100%;
        justify-content: space-between
    }

    .featured {
        grid-template-columns: 1fr;
        margin-top: 15px
    }

    .featured-art {
        min-height: 380px;
        padding: 35px
    }

        .featured-art img {
            height: 290px
        }

    .featured-copy {
        padding: 32px 24px
    }

        .featured-copy h2 {
            font-size: 35px
        }

    .approach {
        padding-top: 60px;
        padding-bottom: 55px
    }

    .approach-grid {
        grid-template-columns: 1fr;
        gap: 35px
    }

    .approach > h2 {
        margin-bottom: 10px
    }

    .approach-lede {
        margin-bottom: 30px;
        font-size: 1rem;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px
    }

    .footer-brand {
        display: block
    }

        .footer-brand p {
            margin: 12px 0
        }

        .footer-brand > span {
            display: none
        }

    .footer-bottom {
        flex-wrap: wrap;
        gap: 15px
    }

        .footer-bottom > span:nth-child(2) {
            display: none
        }
}
/* Homepage refinement: readable type, expandable category rail and app showcase. */
.trust-strip {
    display: grid;
    grid-template-columns: 1.3fr repeat(3,1fr);
    position: relative;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 30px 0 52px;
    gap: 24px;
    align-items: center
}

.trust-intro p {
    font: 25px/1.3 var(--font-heading);
    color: var(--color-primary);
    margin-top: 10px
}

.trust-stat {
    border-left: 1px solid var(--color-border);
    padding-left: 40px
}

    .trust-stat strong {
        display: block;
        font-family: var(--font-heading);
        font-size: 42px;
        font-weight: 400;
        line-height: 1;
        color: var(--color-primary);
        font-variant-numeric: lining-nums;
    }

        .trust-stat strong .trust-figure,
        .trust-stat strong .trust-suffix {
            font-size: inherit;
            font-weight: inherit;
            line-height: inherit;
            vertical-align: baseline;
        }

        .trust-stat strong small {
            font-size: 20px;
            font-style: italic;
            color: var(--color-text-muted);
            vertical-align: baseline;
        }

    .trust-stat > span {
        font-size: 15px;
        color: var(--color-text-muted)
    }

.stats-note {
    position: absolute;
    bottom: 12px;
    right: 0;
    font-size: 12px
}

.interests {
    display: block;
    border-top: 0;
    padding: 52px 0
}

.category-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 27px
}

    .category-heading h2 {
        margin: 12px 0
    }

    .category-heading p {
        font-size: 16px
    }

.category-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0
}

    .category-controls .text-link {
        margin-right: 12px
    }

.category-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 5px 1px 18px;
    scrollbar-width: thin;
    scrollbar-color: #b8b09c transparent
}

.category-card {
    position: relative;
    flex: 0 0 calc((100% - 80px)/5.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    gap: 17px;
    min-height: 207px;
    padding: 24px 15px 18px;
    border: 1px solid #ddd8c8;
    border-radius: 70px 70px 7px 7px;
    background: linear-gradient(150deg,#fdfaf2,#efebdf);
    scroll-snap-align: start;
    transition: background .2s,transform .2s;
    text-align: center
}

    .category-card:hover {
        background: #e9e7d9;
        transform: translateY(-3px)
    }

.category-emblem {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border: 1px solid #c7b998;
    border-radius: 50%;
    box-shadow: 0 0 0 5px #f7f4ec,0 0 0 6px #e1dac7
}

.category-card > span:nth-child(2) {
    font-size: 15px;
    line-height: 1.45;
    max-width: 150px
}

.category-card i {
    position: absolute;
    right: 13px;
    bottom: 10px;
    color: #80683f;
    font-style: normal;
    font-size: 15px
}

.category-footnote {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: var(--color-text-muted);
    font-size: 13px;
    margin-top: 8px
}

.category-directory {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

    .category-directory button {
        display: flex;
        align-items: center;
        gap: 14px;
        border: 1px solid var(--color-border);
        padding: 14px;
        text-align: left;
        border-radius: 6px
    }

    .category-directory img {
        width: 38px
    }

    .category-directory small {
        display: block;
        color: var(--color-text-muted);
        font-size: 12px
    }

.app-section {
    background: #e9e7db;
    border-block: 1px solid #dad8cb;
    overflow: hidden
}

.app-layout {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
    align-items: center;
    padding-block: 70px
}

.app-copy h2 {
    font-size: 48px;
    line-height: 1.15;
    margin: 20px 0
}

.app-copy > p {
    font-size: 17px;
    max-width: 470px
}

.app-benefits {
    list-style: none;
    padding: 0;
    margin: 28px 0;
    display: grid;
    gap: 12px;
    font-size: 16px;
    color: var(--color-primary)
}

    .app-benefits span {
        display: inline-grid;
        place-items: center;
        font: italic 15px var(--font-heading);
        width: 30px;
        height: 30px;
        border: 1px solid #b9bda7;
        border-radius: 50%;
        margin-right: 10px
    }

.store-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap
}

.store-button {
    background: var(--color-primary);
    color: #fff9ed;
    border-radius: 7px;
    padding: 12px 17px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    min-height: 65px
}

    .store-button:hover {
        background: #3d5548
    }

    .store-button svg {
        width: 29px;
        height: 33px
    }

    .store-button small {
        display: block;
        font-size: 10px;
        letter-spacing: .8px
    }

    .store-button > span {
        font-size: 20px;
        line-height: 1.4
    }

        .store-button > span:last-child {
            font-size: 16px;
            margin-left: 10px
        }

.app-copy .app-status {
    font-size: 13px;
    margin-top: 18px;
    max-width: 460px
}

.app-visual {
    position: relative;
    display: flex;
    justify-content: center;
    min-height: 555px;
    align-items: center
}

.app-orbit {
    position: absolute;
    width: 440px;
    height: 440px;
    border: 1px solid #b8bea7;
    border-radius: 50%;
    background: #dde0cd
}

.phone {
    z-index: 1;
    width: 264px;
    padding: 25px 17px 14px;
    border: 6px solid #344437;
    border-radius: 38px;
    background: #faf6ec;
    box-shadow: 20px 25px 40px #25351e25;
    transform: rotate(6deg);
    position: relative
}

.phone-island {
    height: 15px;
    width: 75px;
    border-radius: 20px;
    background: #344437;
    position: absolute;
    left: 50%;
    top: 8px;
    transform: translateX(-50%)
}

.phone-header {
    font: 17px var(--font-heading);
    padding: 12px 0 18px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between
}

.phone-greeting {
    font-size: 10px;
    letter-spacing: 1px;
    color: #747a60;
    margin: 19px 0 9px
}

.phone h3 {
    font: 27px/1.15 var(--font-heading)
}

.phone-book {
    padding: 19px;
    background: #e5e7d6;
    margin-top: 18px;
    display: flex;
    justify-content: center
}

    .phone-book img {
        height: 170px;
        width: auto;
        box-shadow: 5px 5px 10px #0003;
        transform: rotate(-4deg)
    }

.phone-reading {
    padding: 15px 0
}

    .phone-reading > span {
        font-size: 9px;
        letter-spacing: 1px
    }

    .phone-reading strong {
        display: block;
        font: 18px var(--font-heading);
        margin: 5px 0 12px
    }

.reading-progress {
    height: 3px;
    background: linear-gradient(to right,#526347 35%,#dadbcb 35%)
}

.phone-reading small {
    font-size: 11px;
    color: #686860;
    display: block;
    margin-top: 8px
}

.phone-nav {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    border-top: 1px solid var(--color-border);
    padding-top: 10px
}

.app-side-note {
    z-index: 2;
    position: absolute;
    bottom: 8px;
    right: 0;
    font: italic 22px/1.3 var(--font-heading);
    color: #5c694e;
    transform: rotate(-8deg)
}

.book-card p {
    min-height: 52px
}

.discovery {
    grid-template-columns: 55px 1fr auto;
    column-gap: 22px
}

    .discovery small {
        margin-top: -12px
    }

.site-header nav {
    gap: 20px
}

.header-actions {
    gap: 12px
}

.footer-column button {
    min-height: 38px
}

.hero-note {
    font-size: 14px
}

@media(max-width:1199px) {
    .category-card {
        flex-basis: calc((100% - 48px)/3.5)
    }

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

    .site-header nav {
        gap: 12px;
        font-size: 14px
    }

        .site-header nav button {
            font-size: 14px
        }

    .header-actions {
        gap: 5px
    }

    .app-layout {
        gap: 25px
    }

    .app-copy h2 {
        font-size: 40px
    }

    .app-orbit {
        width: 340px;
        height: 340px
    }

    .trust-stat {
        padding-left: 24px
    }

    .discovery {
        grid-template-columns: 1fr auto
    }

    .discovery-symbol {
        display: none
    }

    .discovery small {
        grid-column: 2;
        margin: 0
    }

    .category-card {
        min-height: 215px
    }
}

@media(max-width:900px) {
    .discovery {
        grid-template-columns: 1fr
    }

        .discovery .button, .discovery small {
            grid-column: 1
        }

    .app-layout {
        grid-template-columns: 1fr 1fr
    }

    .app-copy h2 {
        font-size: 35px
    }

    .app-copy > p {
        font-size: 16px
    }

    .app-benefits {
        font-size: 15px
    }

    .trust-intro .eyebrow {
        font-size: 10px
    }

    .trust-intro p {
        font-size: 22px
    }

    .trust-strip {
        gap: 14px
    }

    .trust-stat {
        padding-left: 15px
    }

        .trust-stat > span {
            font-size: 14px
        }
}

@media(max-width:767px) {
    .trust-strip {
        grid-template-columns: 1fr 1fr;
        padding: 25px 0 55px;
        gap: 24px
    }

    .trust-intro {
        grid-column: 1/-1
    }

        .trust-intro p br {
            display: none
        }

    .trust-stat {
        padding-left: 14px
    }

        .trust-stat strong {
            font-size: 35px
        }

    .stats-note {
        left: 0;
        right: auto;
        font-size: 12px
    }

    .interests {
        padding-block: 38px
    }

    .category-card {
        flex-basis: calc((100% - 16px)/2.15);
        padding: 23px 12px 18px;
        min-height: 211px
    }

    .category-controls {
        width: 100%;
        gap: 8px
    }

        .category-controls .text-link {
            margin-right: auto;
            font-size: 14px
        }

    .category-footnote {
        font-size: 12px
    }

        .category-footnote > span:last-child {
            display: none
        }

    .category-emblem {
        width: 63px;
        height: 63px
    }

    .category-card > span:nth-child(2) {
        font-size: 14px
    }

    .category-directory {
        grid-template-columns: 1fr
    }

    .app-layout {
        grid-template-columns: 1fr;
        padding-block: 45px;
        gap: 30px
    }

    .app-copy h2 {
        font-size: 39px
    }

    .store-buttons {
        gap: 10px
    }

    .store-button {
        padding: 10px 12px;
        gap: 8px
    }

        .store-button > span {
            font-size: 18px
        }

            .store-button > span:last-child {
                display: none
            }

    .app-visual {
        min-height: 550px
    }

    .app-side-note {
        right: 5px;
        font-size: 19px
    }

    .hero .eyebrow {
        font-size: 12px;
        line-height: 1.6
    }

    .hero .hero-copy > p {
        font-size: 16px
    }

    .discovery .eyebrow {
        font-size: 12px
    }

    .discovery p {
        font-size: 15px
    }

    .discovery small {
        font-size: 13px
    }

    .topline {
        font-size: 12px
    }

    .app-copy .app-status {
        font-size: 13px
    }
}

.footer-column a {
    display: block;
    text-align: left;
    color: #656b60;
    font-size: 14px;
    min-height: 38px;
    padding-block: 6px;
    line-height: 1.5
}

    .footer-column a:hover {
        text-decoration: underline;
        text-underline-offset: 3px
    }

.hero-showcase {
    min-width: 0;
    position: relative;
    background: linear-gradient(145deg,#eeeadf,#e5e5d7);
    border: 1px solid #dcd9c9;
    border-radius: 120px 120px 8px 8px;
    padding: 40px 28px 20px;
    margin-top: 5px
}

.showcase-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 8px 20px 22px;
    gap: 12px
}

    .showcase-heading .eyebrow {
        font-size: 11px;
        letter-spacing: 1.5px
    }

#hero-counter {
    font-size: 13px;
    color: var(--color-text-muted);
    white-space: nowrap
}

.hero-slide {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 345px
}

    .hero-slide[hidden] {
        display: none
    }

.hero-cover-button {
    flex: 0 0 45%;
    min-width: 0;
    border: 1px solid transparent;
    border-radius: 3px;
    padding: 10px
}

    .hero-cover-button:hover {
        border-color: var(--color-accent)
    }

    .hero-cover-button img {
        width: 100%;
        box-shadow: 8px 12px 20px #263d3526
    }

.hero-slide-info {
    flex: 1;
    min-width: 0
}

    .hero-slide-info .eyebrow {
        font-size: 10px;
        line-height: 1.7;
        letter-spacing: 1.2px
    }

    .hero-slide-info h2 {
        font-size: 32px;
        letter-spacing: -.7px;
        margin: 14px 0
    }

    .hero-slide-info p {
        font-size: 15px;
        margin-bottom: 18px;
        line-height: 1.6
    }

    .hero-slide-info .text-link {
        margin-top: 12px;
        font-size: 14px
    }

.showcase-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 20px
}

.hero-dots {
    display: flex;
    gap: 0
}

    .hero-dots button {
        width: 32px;
        height: 44px;
        display: grid;
        place-items: center
    }

        .hero-dots button:after {
            content: '';
            display: block;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #b8bcaa
        }

        .hero-dots button[aria-pressed="true"]:after {
            width: 19px;
            border-radius: 5px;
            background: var(--color-primary)
        }

.showcase-note {
    display: block;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 12px;
    margin-top: 12px
}

@media(max-width:1199px) {
    .hero-showcase {
        padding: 30px 20px 18px;
        border-radius: 80px 80px 8px 8px
    }

    .hero-slide {
        gap: 12px
    }

    .hero-slide-info h2 {
        font-size: 27px
    }

    .hero-slide-info p {
        font-size: 14px
    }

    .hero-cover-button {
        flex-basis: 44%;
        padding: 3px
    }

    .showcase-heading {
        margin-inline: 9px
    }

    .hero-slide-info .eyebrow {
        display: none
    }
}

@media(min-width:768px) and (max-width:900px) {
    .hero-slide {
        flex-direction: column;
        min-height: 510px;
        text-align: center;
        gap: 16px
    }

    .hero-cover-button {
        width: 155px;
        flex: auto
    }

    .hero-slide-info h2 {
        margin: 0 0 10px
    }

    .hero-slide-info .price-group {
        justify-content: center
    }

    .hero-slide-info p {
        margin-bottom: 10px
    }

    .hero-slide-info .text-link {
        margin-top: 3px
    }
}

@media(max-width:767px) {
    .hero-showcase {
        width: 100%;
        max-width: 470px;
        margin: 32px auto 0;
        padding: 26px 18px 15px;
        border-radius: 75px 75px 7px 7px
    }

    .hero-slide {
        min-height: 305px;
        gap: 15px
    }

    .hero-slide-info h2 {
        font-size: 28px
    }

    .hero-slide-info p {
        font-size: 14px
    }

    .hero-cover-button {
        flex-basis: 43%
    }

    .showcase-heading {
        margin: 10px 15px 15px
    }

    .showcase-controls {
        margin-top: 8px
    }

    .hero-slide-info .discount {
        font-size: 11px
    }

    .hero-slide-info .price-group {
        gap: 6px
    }

    .hero-slide-info .offer-price {
        font-size: 18px
    }
}

@media(max-width:360px) {
    .hero-slide {
        flex-direction: column;
        text-align: center
    }

    .hero-cover-button {
        width: 145px
    }

    .hero-slide-info .price-group {
        justify-content: center
    }

    .hero-slide-info h2 {
        margin-top: 5px
    }
}
/* A single edge-to-edge hero carousel: each book owns both columns. */
.full-hero {
    padding-top: 30px;
    padding-bottom: 32px
}

.feature-rail {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    border-radius: 5px
}

    .feature-rail::-webkit-scrollbar {
        display: none
    }

.feature-slide {
    flex: 0 0 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: 1.12fr 1fr;
    gap: 55px;
    align-items: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    padding: 20px 8px 24px 0
}

.feature-copy {
    padding-block: 15px
}

    .feature-copy > .eyebrow {
        font-size: 12px;
        letter-spacing: 1.8px
    }

    .feature-copy h2 {
        font-size: clamp(45px,4.8vw,70px);
        line-height: 1.06;
        letter-spacing: -2.5px;
        max-width: 620px;
        margin: 23px 0 20px
    }

.feature-tagline {
    font: italic 25px/1.35 var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 16px
}

.feature-description {
    font-size: 17px;
    line-height: 1.75;
    max-width: 520px
}

.feature-points {
    padding: 0;
    list-style: none;
    margin: 20px 0 24px;
    display: grid;
    gap: 7px;
    color: #4f5c4d;
    font-size: 15px
}

    .feature-points li:before {
        content: '✓';
        color: #7c825f;
        padding-right: 12px
    }

.feature-purchase .offer-price {
    font-size: 28px
}

.feature-purchase .mrp {
    font-size: 18px
}

.feature-purchase .discount {
    font-size: 14px
}

.feature-actions {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-top: 18px;
    flex-wrap: wrap
}

    .feature-actions .button {
        font-size: 16px;
        padding: 15px 26px;
        min-height: 54px
    }

    .feature-actions .text-link {
        font-size: 15px
    }

.feature-format {
    font-size: 13px;
    margin-top: 14px
}

.feature-art {
    position: relative;
    isolation: isolate;
    min-height: 540px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 55px 30px 28px;
    background: #e8e7da;
    border-radius: 140px 140px 5px 5px;
    overflow: hidden
}

.feature-slide:nth-child(2) .feature-art {
    background: #e8e2d5
}

.feature-slide:nth-child(3) .feature-art {
    background: #ebdfd1
}

.feature-slide:nth-child(4) .feature-art {
    background: #dde3e5
}

.feature-slide:nth-child(5) .feature-art {
    background: #e0e1e5
}

.feature-art-halo {
    position: absolute;
    width: 370px;
    height: 370px;
    border-radius: 50%;
    border: 1px solid #aeb39760;
    z-index: -1;
    top: 82px;
    left: 50%;
    transform: translateX(-50%)
}

.feature-edition {
    font-size: 10px;
    letter-spacing: 2px;
    color: #57614d;
    display: flex;
    gap: 35px;
    align-items: center;
    margin-bottom: 30px
}

    .feature-edition > span {
        font: italic 23px var(--font-heading);
        letter-spacing: 0
    }

.feature-cover {
    width: 250px;
    max-width: 75%;
    border: 1px solid transparent;
    padding: 5px
}

    .feature-cover:hover {
        border-color: var(--color-accent)
    }

    .feature-cover img {
        box-shadow: 13px 16px 24px #263d3529;
        width: 100%
    }

.feature-art > p {
    font: italic 21px/1.4 var(--font-heading);
    text-align: center;
    margin-top: 26px;
    max-width: 290px;
    color: #657057
}

.full-hero-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--color-border);
    padding-top: 19px;
    margin-top: 15px;
    gap: 20px
}

.hero-collection-label {
    font-size: 11px;
    letter-spacing: 1.8px;
    color: #66705e
}

.feature-navigation {
    display: flex;
    align-items: center;
    gap: 13px
}

    .feature-navigation #hero-counter {
        margin-left: 14px;
        min-width: 50px
    }

.hero-sample-note {
    font-size: 12px;
    margin-top: 12px;
    color: var(--color-text-muted)
}

@media(max-width:1199px) {
    .feature-slide {
        gap: 30px;
        grid-template-columns: 1.1fr 1fr
    }

    .feature-art {
        min-height: 515px;
        padding-inline: 15px
    }

    .feature-copy h2 {
        font-size: 55px
    }

    .feature-tagline {
        font-size: 23px
    }

    .feature-description {
        font-size: 16px
    }

    .feature-copy > .eyebrow {
        font-size: 11px;
        letter-spacing: 1px
    }

    .feature-actions {
        gap: 12px
    }

    .feature-cover {
        width: 230px
    }

    .feature-edition {
        gap: 15px;
        letter-spacing: 1px
    }
}

@media(max-width:900px) {
    .feature-slide {
        gap: 24px
    }

    .feature-copy h2 {
        font-size: 46px
    }

    .feature-art {
        min-height: 490px;
        border-radius: 100px 100px 5px 5px
    }

    .feature-cover {
        max-width: 90%;
        width: 210px
    }

    .feature-edition {
        font-size: 9px
    }

    .feature-art > p {
        font-size: 19px
    }

    .feature-points {
        font-size: 14px
    }

    .hero-collection-label {
        max-width: 230px
    }
}

@media(max-width:767px) {
    .full-hero {
        padding-top: 15px;
        padding-bottom: 24px
    }

    .feature-slide {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 12px 0 22px;
        align-content: start
    }

    .feature-copy {
        padding: 0 2px
    }

        .feature-copy h2 {
            font-size: 49px;
            margin: 20px 0 16px;
            letter-spacing: -1.8px;
            max-width: 95%
        }

        .feature-copy > .eyebrow {
            font-size: 11px
        }

    .feature-tagline {
        font-size: 23px
    }

    .feature-description {
        font-size: 16px;
        line-height: 1.7
    }

    .feature-points {
        margin: 18px 0 20px;
        font-size: 14px
    }

    .feature-actions {
        gap: 15px
    }

        .feature-actions .button {
            padding: 14px 19px;
            font-size: 15px
        }

        .feature-actions .text-link {
            font-size: 14px
        }

    .feature-art {
        min-height: 410px;
        padding: 28px 20px 24px;
        border-radius: 95px 95px 5px 5px
    }

    .feature-edition {
        margin-bottom: 18px;
        font-size: 10px
    }

    .feature-cover {
        width: 180px
    }

    .feature-art > p {
        margin-top: 18px;
        font-size: 20px;
        max-width: 300px
    }

    .feature-art-halo {
        width: 285px;
        height: 285px;
        top: 65px
    }

    .full-hero-controls {
        flex-direction: column;
        gap: 10px;
        margin-top: 0;
        padding-top: 16px
    }

    .hero-collection-label {
        max-width: none;
        font-size: 10px
    }

    .feature-navigation {
        gap: 7px
    }

        .feature-navigation #hero-counter {
            margin-left: 5px
        }

    .hero-sample-note {
        text-align: center;
        font-size: 11px
    }
}
/* Unframed, stacked 3D cover presentation throughout the hero. */
.feature-art, .feature-slide:nth-child(n) .feature-art {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    perspective: 1200px
}

.feature-art-halo {
    display: none
}

.feature-cover {
    height: 365px;
    width: 245px;
    max-width: 65%;
    padding: 0;
    border: 0;
    perspective: 1200px
}

    .feature-cover:hover {
        border: 0
    }

    .feature-cover .book-stack {
        width: 100%;
        height: 100%;
        transform: rotateY(-19deg) rotateZ(-5deg)
    }

        .feature-cover .book-stack img {
            width: 100%;
            height: 100%;
            box-shadow: none
        }

.feature-art {
    min-height: 490px
}

.feature-edition {
    margin-bottom: 40px
}

.feature-art > p {
    margin-top: 36px
}

.featured-art {
    background: transparent
}

.featured {
    background: transparent;
    border-block: 1px solid var(--color-border)
}

@media(max-width:900px) {
    .feature-cover {
        height: 300px;
        width: 200px
    }

    .feature-art {
        min-height: 430px
    }
}

@media(max-width:767px) {
    .feature-cover {
        height: 280px;
        width: 187px
    }

    .feature-art {
        min-height: 405px
    }

        .feature-art > p {
            margin-top: 30px
        }

    .book-card .cover-stage {
        height: 310px;
        padding: 40px 50px
    }
}

/* Static digital-library hero. All rules are isolated from the storefront below. */
html[data-theme] .library-hero, .library-hero {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    align-items: center;
    gap: 65px;
    padding-block: 65px 75px
}

.library-hero-copy h1 {
    font-size: clamp(44px,4.6vw,66px);
    line-height: 1.08;
    letter-spacing: -2.6px;
    margin: 25px 0
}

    .library-hero-copy h1 em {
        font-family: var(--font-heading);
        font-weight: 400
    }

.library-hero-copy > p {
    font-size: 19px;
    line-height: 1.75;
    max-width: 450px;
    margin-bottom: 30px
}

.library-hero-copy > .eyebrow {
    font-size: 12px;
    letter-spacing: 1.6px
}

.library-hero-note {
    margin-top: 28px;
    font-size: 15px;
    color: var(--color-text-muted)
}

.library-collage {
    min-width: 0;
    position: relative;
    padding: 20px 0
}

.library-collage-heading, .library-collage-caption {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--color-text-muted);
    font-size: 10px;
    letter-spacing: 1.5px
}

.library-collage-heading {
    padding: 0 8px 22px;
    border-bottom: 1px solid var(--color-border)
}

.library-collage-caption {
    padding: 23px 8px 0;
    letter-spacing: .3px;
    font-size: 11px;
    flex-wrap: wrap
}

.library-cover-wall {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 20px 18px;
    padding: 25px 8px 10px;
    perspective: 1300px
}

.library-cover {
    aspect-ratio: 2/3;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 18px 14px;
    box-shadow: 3px 4px 0 #ffffff90,6px 6px 0 #aca79c,10px 15px 20px #18231920;
    border-radius: 1px 3px 3px 1px;
    display: flex;
    flex-direction: column;
    color: #fff;
    transform: rotateY(-8deg);
    font-family: Arial,Helvetica,sans-serif
}

    .library-cover:after {
        content: '';
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(90deg,#0003,transparent 4%,#ffffff24 5%,transparent 8%);
        border: 1px solid #00000012
    }

    .library-cover:nth-child(3n+2) {
        transform: translateY(12px) rotateY(-8deg)
    }

    .library-cover small {
        font-size: 7px;
        letter-spacing: 1.3px;
        line-height: 1.5;
        z-index: 1
    }

    .library-cover strong {
        display: block;
        font-size: clamp(20px,2.05vw,29px);
        line-height: 1.03;
        letter-spacing: -1px;
        z-index: 1
    }

    .library-cover .cover-foot {
        font-size: 6px;
        letter-spacing: 1.15px;
        line-height: 1.5;
        margin-top: auto;
        z-index: 1
    }

    .library-cover em {
        color: inherit
    }

.library-cover-voice {
    background: #123b9b
}

    .library-cover-voice strong {
        margin-top: 25px;
        font-weight: 900
    }

        .library-cover-voice strong em {
            color: #ffe248;
            font-style: normal
        }

.cover-voice-mark {
    font: bold 130px/1 Georgia;
    position: absolute;
    bottom: -17px;
    right: 9px;
    color: #8ce3ed
}

.library-cover-reset {
    background: #ead7bc;
    color: #42372c
}

    .library-cover-reset strong {
        font: 400 clamp(24px,2.5vw,35px)/.96 Georgia,serif;
        margin-top: auto;
        margin-bottom: 28px
    }

.cover-sun {
    position: absolute;
    border-radius: 50%;
    background: #bd552d;
    width: 90px;
    height: 90px;
    right: -10px;
    top: 30px;
    box-shadow: 0 0 0 12px #bd552d16
}

.library-cover-family {
    background: #d6ebdf;
    color: #22483f
}

    .library-cover-family strong {
        font: 700 clamp(22px,2.15vw,31px)/1.05 Georgia,serif;
        margin-top: 15px;
        letter-spacing: -.8px
    }

.cover-family-art {
    display: flex;
    gap: 7px;
    align-items: end;
    justify-content: center;
    margin: auto 0 18px
}

    .cover-family-art i {
        display: block;
        width: 29px;
        height: 55px;
        border-radius: 25px 25px 5px 5px;
        background: #d67c53;
        position: relative
    }

        .cover-family-art i:before {
            content: '';
            width: 23px;
            height: 23px;
            border-radius: 50%;
            background: #eab88a;
            position: absolute;
            top: -19px;
            left: 3px
        }

        .cover-family-art i:nth-child(2) {
            height: 35px;
            width: 24px;
            background: #d4ab3c
        }

        .cover-family-art i:nth-child(3) {
            height: 64px;
            background: #54786a
        }

.library-cover-create {
    background: #eb5838;
    color: #fff5df
}

    .library-cover-create strong {
        font-weight: 800;
        margin-top: 18px;
        position: relative
    }

        .library-cover-create strong em {
            font-family: Georgia,serif
        }

.cover-create-art {
    position: absolute;
    right: -11px;
    bottom: 6px;
    color: #ffce59;
    font: 110px/1 Georgia;
    transform: rotate(15deg)
}

.library-cover-next {
    background: #20273a;
    color: #eee7d9
}

    .library-cover-next strong {
        font-size: clamp(23px,2.25vw,32px);
        margin-top: 24px;
        letter-spacing: -.8px
    }

        .library-cover-next strong > span {
            display: block;
            color: #adc4fa;
            font-size: 60px;
            line-height: .9;
            margin: 8px 0
        }

.cover-next-grid {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg,transparent 0 26px,#ffffff0a 26px 27px),repeating-linear-gradient(90deg,transparent 0 26px,#ffffff0a 26px 27px)
}

.library-cover-quiet {
    background: #eee5ef;
    color: #554357
}

    .library-cover-quiet strong {
        font: 400 clamp(21px,2vw,29px)/1.1 Georgia,serif;
        margin-top: 19px
    }

.cover-quiet-arch {
    width: 90px;
    height: 110px;
    border-radius: 60px 60px 0 0;
    border: 1px solid #93829e;
    position: absolute;
    bottom: 30px;
    right: -12px;
    box-shadow: 0 0 0 11px #eee5ef,0 0 0 12px #93829e,0 0 0 23px #eee5ef,0 0 0 24px #93829e;
    z-index: -1
}

@media(min-width:1550px) {
    .library-cover {
        padding: 20px 16px
    }

        .library-cover strong {
            font-size: 32px
        }

        .library-cover small {
            font-size: 8px
        }

        .library-cover .cover-foot {
            font-size: 7px
        }
}

@media(max-width:1050px) {
    html[data-theme] .library-hero, .library-hero {
        gap: 32px;
        grid-template-columns: .9fr 1.1fr
    }

    .library-hero-copy h1 {
        font-size: 46px
    }

    .library-hero-copy > p {
        font-size: 17px
    }

    .library-cover {
        padding: 13px 10px
    }

    .library-cover-wall {
        gap: 18px 12px
    }

    .library-cover small {
        font-size: 6px
    }

    .library-cover .cover-foot {
        font-size: 5px
    }

    .library-cover strong {
        font-size: 23px
    }

    .cover-family-art {
        transform: scale(.8);
        margin-bottom: 10px
    }

    .library-cover-next strong > span {
        font-size: 44px
    }
}

@media(max-width:767px) {
    html[data-theme] .library-hero, .library-hero {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-block: 38px 42px
    }

    .library-hero-copy h1 {
        font-size: clamp(40px,8vw,58px);
        letter-spacing: -1.8px;
        max-width: 560px
    }

        .library-hero-copy h1 br:nth-of-type(2) {
            display: none
        }

    .library-hero-copy > p {
        font-size: 18px;
        max-width: 530px
    }

    .library-hero-copy > .eyebrow {
        font-size: 10px
    }

    .library-hero-note {
        margin-top: 20px
    }

    .library-collage {
        width: 100%;
        max-width: 530px;
        margin: auto
    }

    .library-cover strong {
        font-size: clamp(19px,5.3vw,29px)
    }

    .library-cover small {
        font-size: 6px
    }

    .library-cover .cover-foot {
        font-size: 5px
    }

    .library-cover-voice strong {
        margin-top: 18px
    }

    .library-cover-next strong {
        margin-top: 15px
    }

    .library-cover-reset strong {
        margin-bottom: 22px
    }

    .library-collage-heading {
        font-size: 8px
    }

    .library-collage-caption {
        font-size: 10px
    }

    .cover-voice-mark {
        font-size: 100px
    }

    .cover-create-art {
        font-size: 90px
    }

    .cover-sun {
        width: 70px;
        height: 70px
    }

    .library-cover-next strong > span {
        font-size: 40px
    }

    .library-cover-family strong {
        margin-top: 12px
    }

    .cover-family-art {
        transform: scale(.72);
        margin-bottom: 10px
    }
}

/* Four-by-four library collage, sized to the available desktop fold. */
html[data-theme] .library-hero, .library-hero {
    padding-block: 26px 32px;
    gap: 45px
}

    .library-hero .library-collage {
        padding: 0
    }

    .library-hero .library-collage-heading {
        padding-bottom: 12px
    }

    .library-hero .library-cover-wall {
        grid-template-columns: repeat(4,minmax(0,1fr));
        gap: 12px;
        padding: 12px 5px;
        width: min(100%,380px,calc((100svh - 280px)*.66667));
        margin-inline: auto
    }

    .library-hero .library-cover {
        container-type: inline-size;
        padding: 9px 7px;
        aspect-ratio: 2/3;
        transform: rotateY(-8deg);
        box-shadow: 2px 2px 0 #ffffff90,4px 3px 0 #aca79c,5px 7px 10px #18231920
    }

        .library-hero .library-cover small {
            font-size: 5cqw;
            letter-spacing: .6px;
            line-height: 1.4
        }

        .library-hero .library-cover strong {
            font-size: 23cqw;
            line-height: 1.04;
            letter-spacing: -.5px;
            margin-top: 16%;
            margin-bottom: 8%
        }

        .library-hero .library-cover .cover-foot {
            font-size: 4.5cqw;
            letter-spacing: .5px;
            line-height: 1.3
        }

    .library-hero .library-cover-reset strong {
        font-size: 28cqw;
        margin-top: auto
    }

    .library-hero .library-cover-family strong, .library-hero .library-cover-quiet strong {
        font-size: 24cqw
    }

    .library-hero .cover-sun {
        width: 65cqw;
        height: 65cqw;
        right: -8px;
        top: 20px;
        box-shadow: 0 0 0 5px #bd552d16
    }

    .library-hero .cover-voice-mark {
        font-size: 100cqw;
        bottom: -10px;
        right: 3px
    }

    .library-hero .cover-create-art {
        font-size: 90cqw;
        bottom: 5px;
        right: -6px
    }

    .library-hero .library-cover-next strong > span {
        font-size: 48cqw;
        line-height: .8;
        margin: 5px 0
    }

    .library-hero .cover-family-art {
        gap: 4px;
        transform: none;
        margin: auto 0 10px
    }

        .library-hero .cover-family-art i {
            width: 17cqw;
            height: 26cqw;
            border-radius: 15px 15px 3px 3px
        }

            .library-hero .cover-family-art i:before {
                width: 14cqw;
                height: 14cqw;
                top: -11cqw;
                left: 1cqw
            }

            .library-hero .cover-family-art i:nth-child(2) {
                width: 14cqw;
                height: 19cqw
            }

            .library-hero .cover-family-art i:nth-child(3) {
                height: 32cqw
            }

    .library-hero .cover-quiet-arch {
        width: 48cqw;
        height: 65cqw;
        bottom: 20px;
        box-shadow: 0 0 0 5px #eee5ef,0 0 0 6px #93829e,0 0 0 11px #eee5ef,0 0 0 12px #93829e
    }

    .library-hero .library-collage-caption {
        padding-top: 12px;
        font-size: 10px
    }

@media(min-width:768px) and (max-height:820px) {
    .library-hero-copy h1 {
        font-size: clamp(40px,4vw,56px);
        margin-block: 18px
    }

    .library-hero-copy > p {
        font-size: 17px;
        line-height: 1.6;
        margin-bottom: 22px
    }

    .library-hero-note {
        margin-top: 18px
    }
}

@media(max-width:767px) {
    html[data-theme] .library-hero, .library-hero {
        padding-block: 30px;
        gap: 26px
    }

        .library-hero .library-cover-wall {
            width: min(100%,350px);
            gap: 10px
        }

        .library-hero .library-collage-caption {
            font-size: 9px
        }
}

/* Five columns, three rows; each cover is 20% wider than the previous grid. */
.library-hero .library-cover-wall {
    grid-template-columns: repeat(5,minmax(0,1fr));
    width: min(100%,564px,calc((100svh - 280px) - 6px));
    gap: 12px
}

.library-hero .library-cover {
    padding: 10.8px 8.4px
}

@media(max-width:767px) {
    .library-hero .library-cover-wall {
        width: min(100%,518px);
        gap: 10px
    }
}

/* Keep the same gutters and readable card spacing on the secondary pages. */
.contact-routing, .contact-location, .about-story-split, .reading-layout {
    gap: clamp(20px,4vw,48px)
}

.conversion-section {
    padding-block: clamp(44px,6vw,76px)
}

.product-breadcrumb {
    padding-block: 14px
}

.site-header {
    min-width: 0
}

    .site-header nav, .header-actions {
        min-width: 0
    }

.sales-footer, .footer-bottom {
    row-gap: 16px
}

@media(max-width:1023px) {
    .site-header nav {
        gap: 12px
    }

    .library-hero, .about-story-hero, .conversion-hero {
        gap: 32px
    }

    .contact-location, .about-story-split, .reading-layout {
        grid-template-columns: 1fr 1fr
    }

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

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

@media(max-width:767px) {
    .contact-routing, .contact-location, .about-story-hero, .about-story-split, .about-story-invite,
    .conversion-hero, .reading-layout, .inside-layout, .two-column, .three-column, .four-column,
    .situation-grid, .audience-tiles, .delivery-guide, .sales-hero {
        grid-template-columns: minmax(0,1fr)
    }

    .contact-intro, .contact-note, .about-story-intro, .about-story-section {
        padding-block: var(--space-4)
    }

    .contact-routing article, .outline-card, .delivery-panel {
        padding: var(--space-2)
    }

    .feedback-panel {
        border-left: 0;
        border-top: 1px solid var(--color-border);
        padding: 24px 0 0
    }

    .sales-section {
        padding-block: var(--space-4)
    }

        .sales-section h2 {
            font-size: clamp(30px,8vw,38px);
            margin-bottom: 24px
        }

    .sales-header {
        flex-wrap: wrap;
        min-height: 0;
        padding-block: 16px
    }

    .sales-footer {
        flex-direction: column;
        padding-block: 28px
    }

        .sales-footer nav {
            gap: 10px 18px
        }

    .mobile-purchase {
        display: flex
    }

    .section-head, .category-heading {
        margin-bottom: 20px
    }
}

@media(max-width:420px) {
    .footer-top, .information-footer-grid {
        grid-template-columns: 1fr
    }

        .footer-top > * {
            grid-column: 1/-1
        }

    .hero-actions, .feature-actions, .hero-buy {
        gap: 12px
    }

        .hero-actions .button, .feature-actions .button {
            width: 100%
        }

    .product-breadcrumb {
        font-size: 12px
    }

    .price-group {
        gap: 6px 9px
    }
}


/* Shared layouts with colours inherited from the active theme. */
html[data-theme] site-footer footer {
    --font-heading: Georgia,'Times New Roman',serif;
    background: var(--theme-soft,#eae9df);
    color: var(--color-text);
    font-family: Arial,Helvetica,sans-serif;
}

html[data-theme="ivory"] site-footer footer {
    background: #eae9df
}

html[data-theme] site-footer footer .wrap {
    max-width: 1280px
}

html[data-theme] site-footer .footer-column a,
html[data-theme] site-footer .footer-column button,
html[data-theme] site-footer .footer-bottom {
    color: var(--color-text-muted)
}

html[data-theme] site-footer .footer-bottom,
html[data-theme] site-footer .social-links a,
html[data-theme] site-footer .social-links button {
    border-color: var(--color-border)
}

html[data-theme] site-footer .social-links {
    color: var(--color-primary)
}

html[data-theme] #categories {
    --font-heading: Arial,Helvetica,sans-serif;
    display: block;
    max-width: 1280px;
    color: var(--color-text);
    font-family: Arial,Helvetica,sans-serif;
}

    html[data-theme] #categories h2 {
        font-weight: 400;
        letter-spacing: -1px
    }

    html[data-theme] #categories .category-card {
        background: var(--color-surface);
        border-color: var(--color-border)
    }

        html[data-theme] #categories .category-card:hover {
            background: var(--theme-soft,var(--color-background));
            border-color: var(--color-accent);
            transform: none;
            box-shadow: none
        }

        html[data-theme] #categories .category-card > span:nth-child(2) {
            font-size: 16px;
            line-height: 1.45
        }
