@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');


/* ========================================
   VARIABLES
======================================== */

:root {

    --ink: #25211e;
    --soft-ink: #625a54;

    --cream: #f8f4ed;
    --paper: #fffdf9;

    --warm: #ead9c3;
    --peach: #e9b9a5;
    --rose: #d99691;

    --sage: #aebda6;
    --lavender: #b9aed0;

    --gold: #c99c55;

    --white: #ffffff;

    --radius-lg: 32px;
    --radius-md: 22px;
    --radius-sm: 14px;

    --shadow-soft:
        0 20px 60px rgba(55, 40, 28, 0.09);

    --shadow-hover:
        0 30px 80px rgba(55, 40, 28, 0.15);

    --transition:
        cubic-bezier(.2,.8,.2,1);
}


/* ========================================
   RESET
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    background: var(--cream);
    color: var(--ink);

    font-family:
        "DM Sans",
        sans-serif;

    line-height: 1.6;

    overflow-x: hidden;
}


body.modal-open {
    overflow: hidden;
}


img {
    display: block;
    max-width: 100%;
}


a {
    color: inherit;
    text-decoration: none;
}


button {
    font: inherit;
}


button,
a {
    -webkit-tap-highlight-color: transparent;
}


.container {
    width: min(
        1180px,
        calc(100% - 48px)
    );

    margin: 0 auto;
}


/* ========================================
   AMBIENT BACKGROUND
======================================== */

.ambient {
    position: fixed;

    border-radius: 50%;

    pointer-events: none;

    z-index: -1;

    filter: blur(4px);

    animation:
        ambientFloat 16s ease-in-out infinite;
}


.ambient-one {

    width: 420px;
    height: 420px;

    top: 8%;
    right: -250px;

    background:
        rgba(233,185,165,.15);
}


.ambient-two {

    width: 360px;
    height: 360px;

    top: 48%;
    left: -230px;

    background:
        rgba(174,189,166,.14);

    animation-delay: -5s;
}


.ambient-three {

    width: 300px;
    height: 300px;

    bottom: 5%;
    right: 8%;

    background:
        rgba(185,174,208,.10);

    animation-delay: -10s;
}


@keyframes ambientFloat {

    0%,
    100% {
        transform:
            translate3d(0,0,0);
    }

    50% {
        transform:
            translate3d(0,-30px,0);
    }

}


/* ========================================
   HEADER
======================================== */

.site-header {

    position: sticky;

    top: 0;

    z-index: 100;

    background:
        rgba(248,244,237,.76);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

    border-bottom:
        1px solid
        rgba(37,33,30,.06);

    transition:
        background .3s ease,
        box-shadow .3s ease;
}


.site-header.scrolled {

    background:
        rgba(248,244,237,.95);

    box-shadow:
        0 10px 35px
        rgba(55,40,28,.06);
}


.header-inner {

    min-height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


.logo {

    display: flex;

    align-items: center;

    flex-shrink: 0;
}


.logo img {

    width: 74px;

    height: auto;

    transition:
        transform .35s var(--transition);
}


.logo:hover img {

    transform:
        rotate(-3deg)
        scale(1.04);
}


.main-nav {

    display: flex;

    align-items: center;

    gap: 32px;
}


.main-nav a {

    position: relative;

    color: var(--soft-ink);

    font-size: .88rem;

    font-weight: 600;

    transition:
        color .25s ease;
}


.main-nav a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -8px;

    width: 0;

    height: 1px;

    background: var(--gold);

    transition:
        width .3s var(--transition);
}


.main-nav a:hover {

    color: var(--ink);
}


.main-nav a:hover::after {

    width: 100%;
}


.header-actions {

    display: flex;

    align-items: center;

    gap: 14px;
}


/* ========================================
   BUTTONS
======================================== */

.primary-btn,
.secondary-btn,
.nav-cta {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    border-radius: 999px;

    font-size: .86rem;

    font-weight: 700;

    cursor: pointer;

    transition:
        transform .3s var(--transition),
        box-shadow .3s ease,
        background .3s ease;
}


.primary-btn,
.nav-cta {

    padding: 14px 22px;

    background:
        var(--ink);

    color:
        var(--white);
}


.primary-btn:hover,
.nav-cta:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 15px 30px
        rgba(37,33,30,.16);
}


.button-arrow {

    transition:
        transform .3s var(--transition);
}


.primary-btn:hover .button-arrow {

    transform:
        translateX(4px);
}


.secondary-btn {

    padding: 13px 21px;

    border:
        1px solid
        rgba(37,33,30,.15);

    color:
        var(--ink);

    background:
        rgba(255,253,249,.35);
}


.secondary-btn:hover {

    background:
        var(--paper);

    transform:
        translateY(-3px);

    box-shadow:
        0 10px 25px
        rgba(55,40,28,.07);
}


/* ========================================
   MOBILE MENU BUTTON
======================================== */

.mobile-menu-button {

    display: none;

    width: 44px;
    height: 44px;

    border: 1px solid
        rgba(37,33,30,.12);

    border-radius: 50%;

    background:
        var(--paper);

    cursor: pointer;

    position: relative;
}


.mobile-menu-button span {

    position: absolute;

    width: 17px;
    height: 1px;

    background:
        var(--ink);

    left: 13px;

    transition:
        transform .3s ease;
}


.mobile-menu-button span:first-child {

    top: 18px;
}


.mobile-menu-button span:last-child {

    top: 24px;
}


.mobile-menu-button.active span:first-child {

    transform:
        translateY(3px)
        rotate(45deg);
}


.mobile-menu-button.active span:last-child {

    transform:
        translateY(-3px)
        rotate(-45deg);
}


/* ========================================
   HERO
======================================== */

.hero {

    position: relative;

    min-height:
        calc(100vh - 82px);

    display: flex;

    align-items: center;

    padding:
        80px 0 110px;

    overflow: hidden;
}


.hero::before {

    content: "";

    position: absolute;

    width: 650px;
    height: 650px;

    top: -260px;
    right: -180px;

    border-radius: 50%;

    background:
        rgba(233,185,165,.23);
}


.hero::after {

    content: "";

    position: absolute;

    width: 480px;
    height: 480px;

    bottom: -300px;
    left: -220px;

    border-radius: 50%;

    background:
        rgba(174,189,166,.22);
}


.hero-inner {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        .88fr 1.12fr;

    align-items: center;

    gap: 75px;
}


.hero-copy {

    max-width: 580px;

    animation:
        heroCopyIn .9s var(--transition) both;
}


@keyframes heroCopyIn {

    from {
        opacity: 0;
        transform:
            translateY(25px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }

}


.eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 23px;

    color:
        var(--soft-ink);

    font-size: .72rem;

    font-weight: 700;

    letter-spacing: .14em;

    text-transform: uppercase;
}


.eyebrow::before {

    content: "";

    width: 30px;
    height: 1px;

    background:
        var(--gold);
}


.hero h1 {

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(3.3rem, 6.3vw, 6rem);

    line-height:
        .96;

    font-weight:
        600;

    letter-spacing:
        -.055em;

    margin-bottom:
        28px;
}


.hero h1 span {

    display: inline;

    color:
        var(--rose);

    font-style:
        italic;
}


.hero-description {

    max-width:
        520px;

    color:
        var(--soft-ink);

    font-size:
        1.05rem;

    line-height:
        1.85;

    margin-bottom:
        34px;
}


.hero-actions {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 14px;
}


.hero-details {

    display: flex;

    align-items: center;

    gap: 18px;

    margin-top: 48px;

    color:
        var(--soft-ink);

    font-size: .72rem;
}


.hero-detail {

    display: flex;

    flex-direction: column;

    gap: 2px;
}


.hero-detail strong {

    color:
        var(--ink);

    font-size: .74rem;
}


.hero-detail-line {

    width: 1px;
    height: 28px;

    background:
        rgba(37,33,30,.14);
}


/* ========================================
   HERO ART
======================================== */

.hero-art {

    position: relative;

    min-height: 590px;

    display: flex;

    align-items: center;

    justify-content: center;

    animation:
        heroArtIn 1s var(--transition) both;
}


@keyframes heroArtIn {

    from {

        opacity: 0;

        transform:
            translateY(35px)
            scale(.97);
    }

    to {

        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }

}


.hero-image-frame {

    position: relative;

    width:
        min(570px, 100%);

    border-radius:
        42px;

    overflow: hidden;

    box-shadow:
        var(--shadow-soft);

    transform:
        rotate(1.3deg);

    transition:
        transform .6s var(--transition),
        box-shadow .6s ease;
}


.hero-image-frame:hover {

    transform:
        rotate(0deg)
        translateY(-8px);

    box-shadow:
        var(--shadow-hover);
}


.hero-image-frame::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.16),
            transparent 45%
        );

    pointer-events: none;
}


.hero-image-frame img {

    width: 100%;

    aspect-ratio: 1 / 1;

    object-fit: cover;
}


.hero-image-shadow {

    position: absolute;

    width: 80%;

    height: 70%;

    border-radius: 50%;

    background:
        rgba(201,156,85,.10);

    filter:
        blur(50px);

    transform:
        translateY(60px);

    z-index: -1;
}


.floating-note {

    position: absolute;

    background:
        rgba(255,253,249,.94);

    backdrop-filter:
        blur(10px);

    box-shadow:
        var(--shadow-soft);

    border-radius:
        18px;

    z-index: 3;
}


.note-one {

    right: -5px;

    bottom: 55px;

    max-width: 190px;

    padding:
        17px 19px;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        .93rem;

    line-height:
        1.45;

    animation:
        noteFloat 5s ease-in-out infinite;
}


.note-star {

    display: block;

    color:
        var(--gold);

    font-size:
        1.1rem;

    margin-bottom:
        6px;
}


.note-two {

    left: -15px;

    top: 90px;

    padding:
        10px 15px;

    color:
        var(--soft-ink);

    font-size:
        .67rem;

    font-weight:
        700;

    letter-spacing:
        .12em;

    text-transform:
        uppercase;

    transform:
        rotate(-8deg);

    animation:
        noteFloatTwo 6s ease-in-out infinite;
}


@keyframes noteFloat {

    0%,
    100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-9px);
    }

}


@keyframes noteFloatTwo {

    0%,
    100% {
        transform:
            rotate(-8deg)
            translateY(0);
    }

    50% {
        transform:
            rotate(-5deg)
            translateY(-8px);
    }

}


.floating-dot {

    position: absolute;

    border-radius:
        50%;
}


.dot-one {

    width: 9px;
    height: 9px;

    top: 40px;
    right: 55px;

    background:
        var(--gold);

    animation:
        dotFloat 4s ease-in-out infinite;
}


.dot-two {

    width: 7px;
    height: 7px;

    bottom: 110px;
    left: 15px;

    background:
        var(--sage);

    animation:
        dotFloat 5s ease-in-out infinite -.8s;
}


.dot-three {

    width: 12px;
    height: 12px;

    top: 145px;
    right: -20px;

    background:
        var(--lavender);

    animation:
        dotFloat 4.5s ease-in-out infinite -1.5s;
}


@keyframes dotFloat {

    0%,
    100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-14px);
    }

}


.hero-scroll {

    position: absolute;

    left: 50%;
    bottom: 28px;

    transform:
        translateX(-50%);

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;

    color:
        rgba(98,90,84,.65);

    font-size:
        .62rem;

    text-transform:
        uppercase;

    letter-spacing:
        .14em;
}


.scroll-line {

    width: 1px;
    height: 30px;

    background:
        linear-gradient(
            to bottom,
            var(--gold),
            transparent
        );

    animation:
        scrollLine 2s ease-in-out infinite;
}


@keyframes scrollLine {

    0%,
    100% {
        transform:
            scaleY(.5);
        transform-origin:
            top;
    }

    50% {
        transform:
            scaleY(1);
        transform-origin:
            top;
    }

}


/* ========================================
   GENERAL SECTIONS
======================================== */

.section {

    padding:
        120px 0;
}


.section-kicker {

    margin-bottom:
        13px;

    color:
        var(--gold);

    font-size:
        .71rem;

    font-weight:
        700;

    letter-spacing:
        .17em;

    text-transform:
        uppercase;
}


.section-header {

    max-width:
        680px;

    margin-bottom:
        55px;
}


.section-title {

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(2.6rem, 4.5vw, 4.3rem);

    line-height:
        1.03;

    letter-spacing:
        -.045em;

    font-weight:
        600;
}


.section-title span {

    color:
        var(--rose);
}


.section-description {

    margin-top:
        19px;

    color:
        var(--soft-ink);

    max-width:
        570px;

    line-height:
        1.8;
}

.story-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 28px;
    padding: 12px;
    border: 1px solid rgba(37,33,30,.08);
    border-radius: 18px;
    background: rgba(255,253,249,.58);
}

.story-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.story-filter,
.surprise-button {
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-size: .72rem;
    font-weight: 700;
    transition: transform .25s var(--transition), background .25s ease, color .25s ease, box-shadow .25s ease;
}

.story-filter {
    padding: 9px 13px;
    color: var(--soft-ink);
    background: transparent;
}

.story-filter:hover,
.story-filter.active {
    color: var(--ink);
    background: var(--white);
    box-shadow: 0 5px 16px rgba(55,40,28,.08);
}

.story-filter:active,
.surprise-button:active {
    transform: scale(.96);
}

.surprise-button {
    flex-shrink: 0;
    padding: 10px 14px;
    color: var(--white);
    background: var(--ink);
}

.surprise-button span {
    color: #f4c96d;
    margin-right: 4px;
}

.surprise-button:hover {
    transform: translateY(-2px) rotate(-1deg);
    box-shadow: 0 10px 20px rgba(37,33,30,.14);
}

.story-card.is-hidden {
    display: none;
}

.story-card.is-picked {
    animation: pickedStory .75s var(--transition);
}

@keyframes pickedStory {
    0% { transform: translateY(0) rotate(0); }
    35% { transform: translateY(-15px) rotate(1deg); box-shadow: 0 0 0 7px rgba(201,156,85,.16), var(--shadow-hover); }
    100% { transform: translateY(0) rotate(0); }
}

.story-image img,
.personalized-frame img,
.coloring-image img,
.about-photo-frame img {
    background: linear-gradient(135deg, #f5dfd1, #d9e6d4 48%, #d8cbe7);
}

.image-missing-wrap {
    background:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,.7), transparent 28%),
        linear-gradient(135deg, #f5dfd1, #d9e6d4 48%, #d8cbe7);
}

.image-missing {
    min-height: 180px;
    object-fit: contain !important;
    padding: 28px;
    opacity: .75;
}

/* ========================================
   INTRO
======================================== */

.intro {

    background:
        var(--paper);

    position:
        relative;
}


.intro::before {

    content:
        "✦";

    position:
        absolute;

    top:
        90px;

    right:
        10%;

    color:
        rgba(201,156,85,.25);

    font-size:
        2rem;
}


.intro-inner {

    display:
        grid;

    grid-template-columns:
        .55fr 1.45fr;

    gap:
        80px;

    align-items:
        start;
}


.intro-label {

    padding-top:
        12px;
}


.intro-content {

    max-width:
        820px;
}


.intro-statement {

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(2.1rem, 4vw, 3.7rem);

    line-height:
        1.12;

    letter-spacing:
        -.035em;

    margin-bottom:
        32px;
}


.intro-statement em {

    color:
        var(--rose);

    font-style:
        italic;
}


.intro-copy {

    max-width:
        680px;

    color:
        var(--soft-ink);

    line-height:
        1.9;

    margin-top:
        15px;
}


/* ========================================
   STORY SHELF
======================================== */

.story-shelf {

    position:
        relative;
}


.story-grid {

    display:
        grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap:
        26px;
}


.story-card {

    position:
        relative;

    background:
        var(--paper);

    border-radius:
        var(--radius-lg);

    overflow:
        hidden;

    box-shadow:
        0 10px 35px
        rgba(55,40,28,.055);

    transition:
        transform .45s var(--transition),
        box-shadow .45s ease;
}


.story-card:hover {

    transform:
        translateY(-10px);

    box-shadow:
        var(--shadow-hover);
}


.story-card:nth-child(2) {

    transform:
        translateY(28px);
}


.story-card:nth-child(2):hover {

    transform:
        translateY(18px);
}


.story-card:nth-child(4),
.story-card:nth-child(5) {

    margin-top:
        20px;
}


.story-image {

    position:
        relative;

    overflow:
        hidden;
}


.story-image img {

    width:
        100%;

    aspect-ratio:
        4 / 3;

    object-fit:
        cover;

    transition:
        transform .8s var(--transition);
}


.story-card:hover .story-image img {

    transform:
        scale(1.06);
}


.image-overlay {

    position:
        absolute;

    inset:
        0;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    background:
        rgba(37,33,30,.22);

    opacity:
        0;

    transition:
        opacity .4s ease;
}


.image-overlay span {

    padding:
        10px 15px;

    border-radius:
        999px;

    background:
        rgba(255,253,249,.94);

    color:
        var(--ink);

    font-size:
        .7rem;

    font-weight:
        700;
}


.story-card:hover .image-overlay {

    opacity:
        1;
}


.story-badge {

    position:
        absolute;

    z-index:
        2;

    top:
        16px;

    left:
        16px;

    padding:
        7px 12px;

    border-radius:
        999px;

    background:
        rgba(255,253,249,.94);

    color:
        var(--ink);

    font-size:
        .64rem;

    font-weight:
        700;

    box-shadow:
        0 7px 20px
        rgba(0,0,0,.09);
}


.story-content {

    padding:
        25px 25px 27px;
}


.story-type {

    color:
        var(--gold);

    font-size:
        .66rem;

    font-weight:
        700;

    letter-spacing:
        .14em;

    text-transform:
        uppercase;

    margin-bottom:
        8px;
}


.story-title {

    font-family:
        "Playfair Display",
        serif;

    font-size:
        1.48rem;

    line-height:
        1.17;

    margin-bottom:
        12px;
}


.story-description {

    color:
        var(--soft-ink);

    font-size:
        .85rem;

    line-height:
        1.72;

    margin-bottom:
        20px;
}


.story-actions {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        15px;
}


.text-link {

    border:
        0;

    border-bottom:
        1px solid
        rgba(37,33,30,.25);

    background:
        transparent;

    padding:
        0 0 2px;

    color:
        var(--ink);

    font-size:
        .79rem;

    font-weight:
        700;

    cursor:
        pointer;

    transition:
        border-color .25s ease,
        color .25s ease;
}


.text-link:hover {

    border-color:
        var(--gold);

    color:
        var(--gold);
}


.mini-buy {

    padding:
        9px 14px;

    border:
        0;

    border-radius:
        999px;

    background:
        var(--ink);

    color:
        var(--white);

    font-size:
        .7rem;

    font-weight:
        700;

    cursor:
        pointer;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.mini-buy:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 8px 18px
        rgba(37,33,30,.14);
}

.personalized-form {
    display: grid;
    gap: 14px;
    margin-top: 34px;
    padding: 24px;
    border: 1px solid rgba(37,33,30,.1);
    border-radius: 24px;
    background: rgba(255,253,249,.62);
    box-shadow: 0 18px 45px rgba(55,40,28,.06);
}

.form-heading {
    display: grid;
    gap: 3px;
    margin-bottom: 4px;
}

.form-heading strong {
    font-family: "Playfair Display", serif;
    font-size: 1.35rem;
}

.form-heading span,
.form-status {
    color: var(--soft-ink);
    font-size: .78rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.personalized-form label {
    display: grid;
    gap: 6px;
    color: var(--ink);
    font-size: .73rem;
    font-weight: 700;
}

.personalized-form input,
.personalized-form select,
.personalized-form textarea {
    width: 100%;
    border: 1px solid rgba(37,33,30,.14);
    border-radius: 12px;
    padding: 11px 12px;
    color: var(--ink);
    background: rgba(255,255,255,.72);
    font: inherit;
    font-size: .82rem;
    outline: none;
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.personalized-form textarea {
    resize: vertical;
}

.personalized-form input:focus,
.personalized-form select:focus,
.personalized-form textarea:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(201,156,85,.15);
}

.personalized-form input::placeholder,
.personalized-form textarea::placeholder {
    color: rgba(98,90,84,.62);
}

.form-submit {
    width: fit-content;
    border: 0;
}

.form-submit[disabled] {
    cursor: wait;
    opacity: .65;
}

.form-status {
    min-height: 1.2em;
    margin: 0;
}

.form-status.success {
    color: #477151;
}

.form-status.error {
    color: #a64d46;
}

/* ========================================
   PERSONALIZED
======================================== */

.personalized {

    position:
        relative;

    overflow:
        hidden;

    background:
        #e9dfd2;
}


.personalized-decoration {

    position:
        absolute;

    width:
        550px;

    height:
        550px;

    border-radius:
        50%;

    right:
        -250px;

    top:
        -250px;

    border:
        1px solid
        rgba(37,33,30,.07);
}


.personalized-inner {

    position:
        relative;

    z-index:
        2;

    display:
        grid;

    grid-template-columns:
        .8fr 1.2fr;

    gap:
        90px;

    align-items:
        center;
}


.personalized-image {

    position:
        relative;
}


.personalized-frame {

    width:
        100%;

    max-width:
        430px;

    margin:
        0 auto;

    border-radius:
        38px;

    overflow:
        hidden;

    box-shadow:
        var(--shadow-soft);

    transform:
        rotate(-2deg);

    transition:
        transform .6s var(--transition);
}


.personalized-frame:hover {

    transform:
        rotate(0)
        translateY(-6px);
}


.personalized-frame img {

    width:
        100%;

    aspect-ratio:
        4 / 5;

    object-fit:
        cover;
}


.personalized-caption {

    position:
        absolute;

    left:
        20px;

    bottom:
        25px;

    padding:
        11px 15px;

    border-radius:
        999px;

    background:
        rgba(255,253,249,.92);

    box-shadow:
        var(--shadow-soft);

    font-family:
        "Playfair Display",
        serif;

    font-size:
        .75rem;
}


.personalized-copy {

    max-width:
        650px;
}


.personalized-list {

    display:
        grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        15px;

    margin:
        35px 0;
}


.personalized-item {

    display:
        flex;

    gap:
        14px;

    padding:
        18px;

    border:
        1px solid
        rgba(37,33,30,.08);

    border-radius:
        18px;

    background:
        rgba(255,253,249,.48);

    transition:
        transform .3s ease,
        background .3s ease;
}


.personalized-item:hover {

    transform:
        translateY(-4px);

    background:
        rgba(255,253,249,.75);
}


.personalized-number {

    color:
        var(--gold);

    font-size:
        .67rem;

    font-weight:
        700;

    padding-top:
        3px;
}


.personalized-item strong {

    display:
        block;

    margin-bottom:
        4px;

    font-size:
        .86rem;
}


.personalized-item span {

    color:
        var(--soft-ink);

    font-size:
        .76rem;

    line-height:
        1.55;
}


/* ========================================
   COLORING
======================================== */

.coloring {

    background:
        var(--paper);
}


.coloring-inner {

    display:
        grid;

    grid-template-columns:
        .9fr 1.1fr;

    gap:
        85px;

    align-items:
        center;
}


.coloring-copy {

    max-width:
        530px;
}


.coloring-copy p {

    color:
        var(--soft-ink);

    line-height:
        1.85;

    margin:
        20px 0 27px;
}


.coloring-note {

    display:
        flex;

    align-items:
        center;

    gap:
        6px;

    margin-bottom:
        30px;

    padding:
        20px 22px;

    border-left:
        2px solid
        var(--gold);

    background:
        var(--cream);

    color:
        var(--soft-ink);

    font-family:
        "Playfair Display",
        serif;

    font-size:
        1rem;
}


.quote-mark {

    color:
        var(--gold);

    font-size:
        1.7rem;

    line-height:
        0;
}


.coloring-image {

    position:
        relative;
}


.coloring-image-backdrop {

    position:
        absolute;

    width:
        90%;

    height:
        90%;

    right:
        -5%;

    bottom:
        -8%;

    border-radius:
        35px;

    background:
        var(--warm);

    transform:
        rotate(4deg);
}


.coloring-image img {

    position:
        relative;

    z-index:
        2;

    width:
        100%;

    border-radius:
        36px;

    box-shadow:
        var(--shadow-soft);

    transform:
        rotate(-1deg);

    transition:
        transform .5s var(--transition);
}


.coloring-image:hover img {

    transform:
        rotate(0)
        translateY(-6px);
}


.coloring-label {

    position:
        absolute;

    z-index:
        3;

    bottom:
        22px;

    left:
        22px;

    padding:
        10px 14px;

    border-radius:
        999px;

    background:
        rgba(255,253,249,.92);

    box-shadow:
        var(--shadow-soft);

    font-size:
        .67rem;

    font-weight:
        700;
}


/* ========================================
   ABOUT
======================================== */

.about {

    background:
        var(--cream);
}


.about-inner {

    display:
        grid;

    grid-template-columns:
        .72fr 1.28fr;

    gap:
        90px;

    align-items:
        center;
}


.about-photo-frame {

    max-width:
        400px;

    border-radius:
        34px;

    overflow:
        hidden;

    box-shadow:
        var(--shadow-soft);

    transform:
        rotate(1.5deg);

    transition:
        transform .5s var(--transition);
}


.about-photo-frame:hover {

    transform:
        rotate(0)
        translateY(-5px);
}


.about-photo-frame img {

    width:
        100%;

    aspect-ratio:
        4 / 5;

    object-fit:
        cover;
}


.about-copy {

    max-width:
        650px;
}


.about-copy p {

    color:
        var(--soft-ink);

    line-height:
        1.85;

    margin-top:
        20px;
}


.about-signature {

    margin-top:
        30px;

    color:
        var(--gold);

    font-family:
        "Playfair Display",
        serif;

    font-size:
        1.2rem;

    font-style:
        italic;
}


/* ========================================
   FINAL CTA
======================================== */

.final-cta {

    position:
        relative;

    padding:
        130px 0;

    background:
        var(--ink);

    color:
        var(--white);

    text-align:
        center;

    overflow:
        hidden;
}


.final-cta::before {

    content:
        "";

    position:
        absolute;

    width:
        500px;

    height:
        500px;

    border-radius:
        50%;

    top:
        -300px;

    left:
        -180px;

    background:
        rgba(233,185,165,.09);
}


.final-cta::after {

    content:
        "";

    position:
        absolute;

    width:
        450px;

    height:
        450px;

    border-radius:
        50%;

    bottom:
        -300px;

    right:
        -180px;

    background:
        rgba(174,189,166,.08);
}


.final-cta-inner {

    position:
        relative;

    z-index:
        2;

    max-width:
        760px;

    margin:
        0 auto;
}


.final-cta .section-kicker {

    color:
        var(--warm);
}


.final-cta h2 {

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(2.8rem, 5vw, 5rem);

    line-height:
        1.02;

    letter-spacing:
        -.045em;

    margin-bottom:
        22px;
}


.final-cta h2 em {

    color:
        var(--peach);

    font-style:
        italic;
}


.final-cta p {

    max-width:
        570px;

    margin:
        0 auto 32px;

    color:
        rgba(255,255,255,.68);

    line-height:
        1.8;
}


.final-cta .primary-btn {

    background:
        var(--white);

    color:
        var(--ink);
}


.cta-stars {

    position:
        absolute;

    inset:
        0;

    pointer-events:
        none;
}


.cta-stars span {

    position:
        absolute;

    color:
        rgba(255,255,255,.25);

    animation:
        starFloat 7s ease-in-out infinite;
}


.cta-stars span:nth-child(1) {
    top: 20%;
    left: 18%;
}


.cta-stars span:nth-child(2) {
    top: 28%;
    right: 17%;
    animation-delay: -2s;
}


.cta-stars span:nth-child(3) {
    bottom: 22%;
    left: 25%;
    animation-delay: -4s;
}


.cta-stars span:nth-child(4) {
    top: 50%;
    right: 27%;
    animation-delay: -1s;
}


.cta-stars span:nth-child(5) {
    bottom: 17%;
    right: 15%;
    animation-delay: -3s;
}


@keyframes starFloat {

    0%,
    100% {
        transform:
            translateY(0)
            scale(1);
    }

    50% {
        transform:
            translateY(-12px)
            scale(1.15);
    }

}


/* ========================================
   FOOTER
======================================== */

.site-footer {

    padding:
        48px 0 28px;

    background:
        var(--ink);

    color:
        rgba(255,255,255,.5);

    border-top:
        1px solid
        rgba(255,255,255,.08);
}


.footer-inner {

    display:
        grid;

    grid-template-columns:
        1.5fr 1fr;

    gap:
        30px;
}


.footer-brand img {

    width:
        64px;

    filter:
        brightness(0) invert(1);

    opacity:
        .9;

    margin-bottom:
        10px;
}


.footer-brand p {

    font-size:
        .74rem;
}


.footer-links {

    display:
        flex;

    justify-content:
        flex-end;

    align-items:
        center;

    gap:
        24px;

    font-size:
        .75rem;
}


.footer-links a {

    transition:
        color .25s ease;
}


.footer-links a:hover {

    color:
        var(--white);
}


.footer-bottom {

    grid-column:
        1 / -1;

    display:
        flex;

    justify-content:
        space-between;

    padding-top:
        25px;

    margin-top:
        15px;

    border-top:
        1px solid
        rgba(255,255,255,.08);

    font-size:
        .67rem;
}


/* ========================================
   STORY MODAL
======================================== */

.story-modal {

    position:
        fixed;

    inset:
        0;

    z-index:
        1000;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    padding:
        28px;

    visibility:
        hidden;

    opacity:
        0;

    pointer-events:
        none;

    transition:
        opacity .35s ease,
        visibility .35s ease;
}


.story-modal.active {

    visibility:
        visible;

    opacity:
        1;

    pointer-events:
        auto;
}


.story-modal-backdrop {

    position:
        absolute;

    inset:
        0;

    background:
        rgba(37,33,30,.60);

    backdrop-filter:
        blur(16px);

    -webkit-backdrop-filter:
        blur(16px);
}


.story-modal-content {

    position:
        relative;

    z-index:
        2;

    width:
        min(930px, 100%);

    max-height:
        calc(100vh - 56px);

    display:
        grid;

    grid-template-columns:
        .9fr 1.1fr;

    background:
        var(--paper);

    border-radius:
        32px;

    overflow:
        hidden;

    box-shadow:
        0 45px 120px
        rgba(0,0,0,.28);

    transform:
        translateY(30px)
        scale(.96);

    opacity:
        0;

    transition:
        transform .45s var(--transition),
        opacity .35s ease;
}


.story-modal.active
.story-modal-content {

    transform:
        translateY(0)
        scale(1);

    opacity:
        1;
}


.story-modal-image {

    min-height:
        520px;

    background:
        var(--warm);

    overflow:
        hidden;
}


.story-modal-image img {

    width:
        100%;

    height:
        100%;

    object-fit:
        cover;

    animation:
        modalImageIn .7s ease both;
}


@keyframes modalImageIn {

    from {
        transform:
            scale(1.06);
    }

    to {
        transform:
            scale(1);
    }

}


.story-modal-copy {

    display:
        flex;

    flex-direction:
        column;

    justify-content:
        center;

    padding:
        60px 55px;
}


.story-modal-copy .story-title {

    font-size:
        clamp(2rem, 4vw, 3.25rem);

    line-height:
        1.05;

    margin-bottom:
        19px;
}


.story-modal-copy .story-description {

    font-size:
        .93rem;

    line-height:
        1.85;

    margin-bottom:
        30px;
}


.purchase-heading {

    color:
        var(--soft-ink);

    font-size:
        .72rem;

    font-weight:
        600;

    margin-bottom:
        12px;
}


.purchase-options {

    display:
        grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        10px;
}


.purchase-button {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    padding:
        14px 16px;

    border-radius:
        14px;

    font-size:
        .75rem;

    font-weight:
        700;

    transition:
        transform .3s var(--transition),
        box-shadow .3s ease;
}


.purchase-button:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 12px 25px
        rgba(37,33,30,.12);
}


.gumroad-button {

    background:
        var(--ink);

    color:
        var(--white);
}


.payhip-button {

    background:
        var(--warm);

    color:
        var(--ink);
}


.modal-note {

    margin-top:
        16px;

    color:
        rgba(98,90,84,.7);

    font-size:
        .65rem;
}


/* ========================================
   MODAL CLOSE
======================================== */

.story-modal-close {

    position:
        absolute;

    z-index:
        10;

    top:
        17px;

    right:
        17px;

    width:
        43px;

    height:
        43px;

    border:
        1px solid
        rgba(37,33,30,.10);

    border-radius:
        50%;

    background:
        rgba(255,253,249,.94);

    cursor:
        pointer;

    transition:
        transform .3s ease,
        background .3s ease;
}


.story-modal-close:hover {

    transform:
        rotate(8deg)
        scale(1.05);

    background:
        var(--white);
}


.story-modal-close span {

    position:
        absolute;

    width:
        15px;

    height:
        1px;

    left:
        14px;

    top:
        20px;

    background:
        var(--ink);
}


.story-modal-close span:first-child {

    transform:
        rotate(45deg);
}


.story-modal-close span:last-child {

    transform:
        rotate(-45deg);
}


/* ========================================
   SCROLL REVEAL
======================================== */

.reveal {

    opacity:
        0;

    transform:
        translateY(28px);

    transition:
        opacity .75s ease,
        transform .75s var(--transition);
}


.reveal.visible {

    opacity:
        1;

    transform:
        translateY(0);
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 1000px) {

    .hero-inner,
    .personalized-inner,
    .coloring-inner,
    .about-inner {

        grid-template-columns:
            1fr 1fr;

        gap:
            45px;
    }


    .hero-inner {

        grid-template-columns:
            1fr;

    }


    .hero-copy {

        max-width:
            720px;
    }


    .hero-art {

        max-width:
            680px;

        width:
            100%;

        margin:
            0 auto;
    }


    .intro-inner {

        grid-template-columns:
            .35fr 1.65fr;

        gap:
            45px;
    }


    .story-grid {

        grid-template-columns:
            repeat(2,1fr);
    }


    .story-card:nth-child(2) {

        transform:
            none;
    }


    .story-card:nth-child(2):hover {

        transform:
            translateY(-10px);
    }


    .story-card:nth-child(4),
    .story-card:nth-child(5) {

        margin-top:
            0;
    }


    .personalized-inner,
    .coloring-inner,
    .about-inner {

        grid-template-columns:
            1fr;

        gap:
            55px;
    }


    .personalized-image,
    .about-photo {

        max-width:
            500px;
    }


    .coloring-copy {

        max-width:
            650px;
    }


    .coloring-inner {

        display:
            flex;

        flex-direction:
            column-reverse;

        align-items:
            stretch;
    }


    .coloring-image {

        max-width:
            700px;
    }


    .story-modal-content {

        width:
            min(850px,100%);
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 700px) {

    .container {

        width:
            min(
                100% - 32px,
                1180px
            );
    }


    .header-inner {

        min-height:
            70px;
    }


    .main-nav {

        position:
            absolute;

        top:
            70px;

        left:
            16px;

        right:
            16px;

        display:
            flex;

        flex-direction:
            column;

        align-items:
            stretch;

        gap:
            0;

        padding:
            10px;

        border-radius:
            20px;

        background:
            rgba(255,253,249,.96);

        backdrop-filter:
            blur(20px);

        box-shadow:
            0 20px 50px
            rgba(55,40,28,.12);

        opacity:
            0;

        transform:
            translateY(-10px);

        pointer-events:
            none;

        transition:
            opacity .3s ease,
            transform .3s var(--transition);
    }


    .main-nav.open {

        opacity:
            1;

        transform:
            translateY(0);

        pointer-events:
            auto;
    }


    .main-nav a {

        padding:
            14px 15px;

        border-radius:
            12px;
    }


    .main-nav a:hover {

        background:
            var(--cream);
    }


    .main-nav a::after {

        display:
            none;
    }


    .nav-cta {

        display:
            none;
    }


    .mobile-menu-button {

        display:
            block;
    }


    .hero {

        min-height:
            auto;

        padding:
            60px 0 85px;
    }


    .hero h1 {

        font-size:
            clamp(
                3rem,
                15vw,
                4.5rem
            );
    }


    .hero-description {

        font-size:
            .96rem;
    }


    .hero-actions {

        flex-direction:
            column;

        align-items:
            stretch;
    }


    .primary-btn,
    .secondary-btn {

        width:
            100%;
    }


    .hero-details {

        margin-top:
            35px;
    }


    .hero-art {

        min-height:
            400px;
    }


    .hero-image-frame {

        border-radius:
            28px;
    }


    .note-one {

        right:
            4px;

        bottom:
            25px;

        max-width:
            155px;

        padding:
            13px 15px;

        font-size:
            .78rem;
    }


    .note-two {

        left:
            0;

        top:
            35px;

        font-size:
            .58rem;
    }


    .hero-scroll {

        display:
            none;
    }


    .section {

        padding:
            82px 0;
    }


    .intro-inner {

        grid-template-columns:
            1fr;

        gap:
            20px;
    }


    .intro-statement {

        font-size:
            2.25rem;
    }


    .section-header {

        margin-bottom:
            35px;
    }

    .story-toolbar {
        align-items: stretch;
        flex-direction: column;
        padding: 10px;
    }

    .story-filters {
        justify-content: center;
    }

    .surprise-button {
        width: 100%;
    }


    .section-title {

        font-size:
            2.6rem;
    }


    .story-grid {

        grid-template-columns:
            1fr;
    }


    .story-card,
    .story-card:nth-child(2),
    .story-card:nth-child(2):hover {

        transform:
            none;
    }


    .story-card:hover {

        transform:
            translateY(-6px);
    }


    .personalized-list {

        grid-template-columns:
            1fr;
    }

    .personalized-form {
        padding: 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-submit {
        width: 100%;
    }


    .personalized-frame {

        max-width:
            100%;

        transform:
            none;
    }


    .personalized-caption {

        bottom:
            15px;

        left:
            15px;
    }


    .coloring-inner {

        gap:
            40px;
    }


    .coloring-image {

        width:
            100%;
    }


    .about-inner {

        gap:
            40px;
    }


    .about-photo-frame {

        max-width:
            100%;

        transform:
            none;
    }


    .final-cta {

        padding:
            95px 0;
    }


    .final-cta h2 {

        font-size:
            3rem;
    }


    .footer-inner {

        grid-template-columns:
            1fr;

        text-align:
            center;
    }


    .footer-brand img {

        margin:
            0 auto 10px;
    }


    .footer-links {

        justify-content:
            center;

        flex-wrap:
            wrap;
    }


    .footer-bottom {

        flex-direction:
            column;

        gap:
            8px;
    }


    .story-modal {

        padding:
            12px;
    }


    .story-modal-content {

        grid-template-columns:
            1fr;

        max-height:
            calc(100vh - 24px);

        overflow-y:
            auto;

        border-radius:
            25px;
    }


    .story-modal-image {

        min-height:
            300px;

        max-height:
            42vh;
    }


    .story-modal-copy {

        padding:
            35px 25px 35px;
    }


    .story-modal-copy .story-title {

        font-size:
            2.15rem;
    }


    .purchase-options {

        grid-template-columns:
            1fr;
    }


    .story-modal-close {

        top:
            12px;

        right:
            12px;
    }

}