.ap-editorial-page {
    --ap-cream: #fbf8f4;
    --ap-paper: #fffdfb;
    --ap-ink: #302c2a;
    --ap-muted: #776f69;
    --ap-gold: #ab7d3e;
    --ap-gold-deep: #8d612c;
    --ap-line: #e8dfd5;
    --ap-soft: #f6efe6;
    --ap-serif: "Cormorant Garamond", Baskerville, Georgia, serif;
    --ap-sans: Manrope, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--ap-cream);
    color: var(--ap-ink);
    font-family: var(--ap-sans);
    min-height: 100vh;
    overflow: hidden;
    padding: 0 clamp(1rem, 4vw, 3rem) 2rem;
}

.ap-editorial-page *,
.ap-editorial-page *::before,
.ap-editorial-page *::after { box-sizing: border-box; }
.ap-editorial-page a { color: inherit; }
.ap-editorial-page img { display: block; }
.ap-editorial-page button,
.ap-editorial-page input { font: inherit; }

.ap-editorial-header,
.ap-catalog-hero,
.ap-catalog-section,
.ap-collections,
.ap-about-hero,
.ap-stat-strip,
.ap-about-panels,
.ap-about-lower,
.ap-newsletter--image,
.ap-blog-hero,
.ap-blog-categories,
.ap-blog-content,
.ap-book-detail,
.ap-reader-workspace {
    margin-inline: auto;
    max-width: 1240px;
}

.ap-editorial-header {
    align-items: center;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr auto 1fr;
    min-height: 86px;
    padding: 0.65rem 0;
    position: relative;
    z-index: 10;
}

.ap-editorial-header .ap-brand,
.ap-editorial-header .ap-main-nav,
.ap-editorial-header .ap-header-actions { align-items: center; display: flex; }
.ap-editorial-header .ap-brand { gap: 0.68rem; text-decoration: none; width: max-content; }
.ap-editorial-header .ap-brand-logo-image { height: auto; max-height: 66px; mix-blend-mode: multiply; object-fit: contain; object-position: left center; width: min(258px, 40vw); }
.ap-editorial-header .ap-brand-mark-image { height: 66px; mix-blend-mode: multiply; object-fit: contain; width: 50px; }
.ap-editorial-header .ap-brand-copy { display: grid; gap: 0; }
.ap-editorial-header .ap-brand-copy strong { font-family: var(--ap-serif); font-size: 1.48rem; font-weight: 600; line-height: 1; }
.ap-editorial-header .ap-brand-copy small { color: var(--ap-muted); font-family: var(--ap-serif); font-size: 0.86rem; line-height: 1.15; }
.ap-editorial-header .ap-main-nav { gap: clamp(1.4rem, 3vw, 3.2rem); justify-content: center; }
.ap-editorial-header .ap-main-nav a { color: #504944; font-size: 0.76rem; padding: 1.25rem 0; position: relative; text-decoration: none; white-space: nowrap; }
.ap-editorial-header .ap-main-nav a::after { background: var(--ap-gold); border-radius: 50%; bottom: 0.72rem; content: ""; height: 4px; left: 50%; opacity: 0; position: absolute; transform: translateX(-50%); transition: opacity 180ms ease; width: 4px; }
.ap-editorial-header .ap-main-nav a:hover,
.ap-editorial-header .ap-main-nav a.is-active { color: var(--ap-ink); }
.ap-editorial-header .ap-main-nav a.is-active::after { opacity: 1; }
.ap-editorial-header .ap-header-actions { justify-content: flex-end; }
.ap-editorial-header .ap-login-link { border: 1px solid #ddcfc0; border-radius: 6px; font-size: 0.74rem; padding: 0.62rem 1rem; text-decoration: none; transition: border-color 180ms ease, background 180ms ease; }
.ap-editorial-header .ap-login-link:hover { background: var(--ap-paper); border-color: var(--ap-gold); }

.ap-script-line { color: #9b8d82; font-family: "Segoe Script", "Bradley Hand", cursive; font-size: clamp(0.95rem, 1.5vw, 1.4rem); line-height: 1.25; margin: 0 0 0.45rem; }
.ap-gold-button,
.ap-dark-button,
.ap-outline-button {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex;
    gap: 0.65rem;
    justify-content: center;
    min-height: 40px;
    padding: 0.64rem 1rem;
    text-decoration: none;
    transition: box-shadow 180ms ease, transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.ap-gold-button { background: linear-gradient(180deg, #b98949, #956727); color: #fff !important; }
.ap-dark-button { background: #262321; color: #fff !important; }
.ap-outline-button { background: rgba(255,255,255,0.5); border-color: #decfbd; color: var(--ap-ink); }
.ap-gold-button:hover,
.ap-dark-button:hover,
.ap-outline-button:hover { box-shadow: 0 10px 25px rgba(83, 57, 30, 0.12); transform: translateY(-1px); }
.ap-inline-actions,
.ap-card-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.ap-section-title { align-items: center; display: flex; gap: 1rem; margin: 1rem 0 0.75rem; }
.ap-section-title h2 { font-family: var(--ap-serif); font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 500; letter-spacing: 0; margin: 0; white-space: nowrap; }
.ap-section-title h2 b { color: var(--ap-gold); font-size: 0.8rem; }
.ap-section-title > span { background: var(--ap-line); height: 1px; width: 100%; }
.ap-section-title a,
.ap-section-title button { background: none; border: 0; color: var(--ap-muted); cursor: pointer; font-size: 0.7rem; padding: 0; text-decoration: none; white-space: nowrap; }
.ap-tags { display: flex; flex-wrap: wrap; gap: 0.38rem; }
.ap-tags span,
.ap-label { background: #f7efe3; border-radius: 4px; color: #8b673d; font-size: 0.58rem; line-height: 1; padding: 0.38rem 0.48rem; }

/* Books archive */
.ap-catalog-tabs { border-bottom: 1px solid var(--ap-line); display: flex; gap: 1.5rem; margin: 0 0 1rem; }
.ap-catalog-tabs a { color: var(--ap-muted); font-size: .78rem; padding: .65rem 0; position: relative; text-decoration: none; }
.ap-catalog-tabs a.is-active { color: var(--ap-ink); font-weight: 700; }
.ap-catalog-tabs a.is-active::after { background: var(--ap-gold); bottom: -1px; content: ""; height: 2px; left: 0; position: absolute; right: 0; }
.ap-scroll-book-scene { align-items: flex-end; display: flex; height: 320px; justify-content: center; perspective: 1200px; position: relative; }
.ap-scroll-book { background: #312923; border-radius: 5px; box-shadow: 12px 18px 22px rgba(55,39,27,.18); overflow: hidden; transform-origin: bottom center; transition: transform .72s cubic-bezier(.2,.8,.2,1), opacity .5s ease; }
.ap-scroll-book img { height: 100%; object-fit: cover; width: 100%; }
.ap-scroll-book > span,.ap-scroll-book-cover > span { align-items: center; color: #f1dfc7; display: flex; font-family: var(--ap-serif); font-size: 1.3rem; height: 100%; justify-content: center; padding: 1rem; text-align: center; }
.ap-scroll-book--left,.ap-scroll-book--right { height: 215px; width: 145px; }
.ap-scroll-book--left { margin-right: -12px; transform: translateX(28px) rotateY(18deg) rotateZ(-3deg); }
.ap-scroll-book--right { margin-left: -12px; transform: translateX(-28px) rotateY(-18deg) rotateZ(3deg); }
.ap-scroll-book--center { background: transparent; box-shadow: none; display: flex; height: 285px; overflow: visible; position: relative; transform: translateY(0); width: 360px; }
.ap-scroll-book-cover { background: #29221e; border-radius: 5px; box-shadow: 12px 16px 22px rgba(55,39,27,.22); height: 100%; overflow: hidden; position: relative; transform-origin: left center; transition: transform .82s cubic-bezier(.2,.8,.2,1); width: 190px; z-index: 2; }
.ap-scroll-book-cover img { height: 100%; object-fit: cover; width: 100%; }
.ap-scroll-book-pages { background: #fffdf9; box-shadow: 10px 14px 18px rgba(55,39,27,.1); color: var(--ap-ink); display: grid; gap: .8rem; height: 100%; padding: 2rem 1.25rem; transform: scaleX(.04); transform-origin: left; transition: transform .82s cubic-bezier(.2,.8,.2,1); width: 170px; }
.ap-scroll-book-pages b { font-family: var(--ap-serif); font-size: 1.2rem; font-weight: 500; line-height: 1.05; }.ap-scroll-book-pages p { color: var(--ap-muted); font-size: .7rem; line-height: 1.55; margin: 0; }
.ap-catalog-hero.is-open .ap-scroll-book--left { transform: translateX(-42px) rotateY(28deg) rotateZ(-8deg); }.ap-catalog-hero.is-open .ap-scroll-book--right { transform: translateX(42px) rotateY(-28deg) rotateZ(8deg); }.ap-catalog-hero.is-open .ap-scroll-book-cover { transform: perspective(700px) rotateY(-132deg); }.ap-catalog-hero.is-open .ap-scroll-book-pages { transform: scaleX(1); }
.ap-cycle-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ap-cycle-card { align-items: center; background: rgba(255,255,255,.52); border: 1px solid rgba(224,211,196,.72); border-radius: 8px; display: grid; gap: 1.35rem; grid-template-columns: minmax(185px, .82fr) minmax(180px, 1fr); min-height: 260px; overflow: hidden; padding: 1rem; transition: box-shadow 240ms ease, transform 240ms ease; }
.ap-cycle-card:hover { box-shadow: 0 18px 42px rgba(70,49,29,.11); transform: translateY(-3px); }
.ap-cycle-card h3 { font-family: var(--ap-serif); font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 500; line-height: 1.05; margin: .35rem 0 .65rem; }
.ap-cycle-card small,.ap-cycle-card p { color: var(--ap-muted); font-size: .72rem; }
.ap-cycle-card-copy { min-width: 0; }
.ap-cycle-visual { aspect-ratio: 1 / 1; display: block; min-width: 0; overflow: visible; position: relative; }
.ap-cycle-visual.is-custom { background: #e6d9ca; border-radius: 6px; }
.ap-cycle-visual.is-custom img { height: 100%; object-fit: cover; width: 100%; }
.ap-cycle-visual.is-composite { align-items: center; background: transparent; border: 0; border-radius: 0; display: flex; justify-content: center; perspective: 900px; }
.ap-cycle-book-cover { aspect-ratio: 2 / 3; background: #332a24; border: 1px solid rgba(255,255,255,.72); border-radius: 5px; box-shadow: 10px 16px 24px rgba(49,35,24,.24); display: block; overflow: hidden; position: absolute; transition: transform 500ms cubic-bezier(.2,.8,.2,1); width: 50%; }
.ap-cycle-book-cover img { height: 100%; object-fit: cover; width: 100%; }
.ap-cycle-book-cover b { align-items: center; color: #f2dfc8; display: flex; font-family: var(--ap-serif); font-size: 1.8rem; height: 100%; justify-content: center; }
.ap-cycle-visual.has-1 .ap-cycle-book-cover--1 { transform: translateY(1%); width: 58%; z-index: 3; }
.ap-cycle-visual.has-2 .ap-cycle-book-cover--1 { transform: translateX(-28%) rotateY(8deg) rotateZ(-4deg); z-index: 2; }
.ap-cycle-visual.has-2 .ap-cycle-book-cover--2 { transform: translateX(28%) rotateY(-8deg) rotateZ(4deg); z-index: 3; }
.ap-cycle-visual.has-3 .ap-cycle-book-cover--1 { transform: translateX(-48%) scale(.9) rotateY(12deg) rotateZ(-5deg); z-index: 1; }
.ap-cycle-visual.has-3 .ap-cycle-book-cover--2 { transform: translateY(-3%) scale(1.03); z-index: 3; }
.ap-cycle-visual.has-3 .ap-cycle-book-cover--3 { transform: translateX(48%) scale(.9) rotateY(-12deg) rotateZ(5deg); z-index: 2; }
.ap-cycle-card:hover .ap-cycle-visual.has-2 .ap-cycle-book-cover--1 { transform: translateX(-34%) rotateY(11deg) rotateZ(-6deg); }
.ap-cycle-card:hover .ap-cycle-visual.has-2 .ap-cycle-book-cover--2 { transform: translateX(34%) rotateY(-11deg) rotateZ(6deg); }
.ap-cycle-card:hover .ap-cycle-visual.has-3 .ap-cycle-book-cover--1 { transform: translateX(-56%) scale(.9) rotateY(14deg) rotateZ(-7deg); }
.ap-cycle-card:hover .ap-cycle-visual.has-3 .ap-cycle-book-cover--3 { transform: translateX(56%) scale(.9) rotateY(-14deg) rotateZ(7deg); }
.ap-cycle-empty-cover { color: #a57b4a; font-family: var(--ap-serif); font-size: 3rem; }
.ap-cycle-card[data-cycle-reveal],.ap-catalog-card[data-book-reveal] { opacity: 0; transform: translateY(16px); }
.ap-cycle-card[data-cycle-reveal].is-visible,.ap-catalog-card[data-book-reveal].is-visible { opacity: 1; transform: translateY(0); transition: opacity 420ms ease, transform 420ms ease, box-shadow 240ms ease; }
.ap-catalog-section { transition: opacity 260ms cubic-bezier(.2,.8,.2,1), transform 260ms cubic-bezier(.2,.8,.2,1), filter 260ms cubic-bezier(.2,.8,.2,1); }
.ap-catalog-section.is-loading { filter: blur(4px); opacity: .25; transform: translateY(8px); pointer-events: none; }
.ap-cycle-hero { align-items: center; display: grid; gap: clamp(2rem, 6vw, 5rem); grid-template-columns: minmax(280px, 480px) minmax(300px, 1fr); min-height: 590px; padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 5vw, 4rem); }
.ap-cycle-hero-visual { width: min(100%, 460px); }
.ap-cycle-hero-copy h1 { font-family: var(--ap-serif); font-size: clamp(3rem, 6vw, 6.4rem); font-weight: 400; letter-spacing: 0; line-height: .92; margin: .4rem 0 1.2rem; }
.ap-cycle-hero-copy > p:not(.ap-script-line) { color: var(--ap-muted); margin: 0 0 1.5rem; }
.ap-cycle-catalog { padding-bottom: 3rem; scroll-margin-top: 1rem; }
.ap-catalog-hero { align-items: center; display: grid; gap: 2rem; grid-template-columns: minmax(320px, 0.8fr) minmax(480px, 1.55fr); min-height: 330px; }
.ap-catalog-copy { padding-left: clamp(1rem, 4vw, 3.2rem); position: relative; z-index: 2; }
.ap-catalog-copy h1 { font-family: var(--ap-serif); font-weight: 400; line-height: 0.86; margin: 0; text-transform: uppercase; }
.ap-catalog-copy h1 span { color: #9a6b2e; display: block; font-size: clamp(3.7rem, 7vw, 6.2rem); text-shadow: 0 3px 6px rgba(121, 78, 26, 0.24); }
.ap-catalog-copy h1 small { display: block; font-size: clamp(2rem, 3.8vw, 3.5rem); margin-top: 0.35rem; text-transform: none; }
.ap-catalog-copy > p:not(.ap-script-line) { font-family: var(--ap-serif); font-size: 0.95rem; line-height: 1.55; max-width: 430px; }
.ap-catalog-copy .ap-inline-actions { margin-top: 1.15rem; }
.ap-catalog-visual { align-self: stretch; min-height: 320px; position: relative; }
.ap-catalog-visual::after { background: linear-gradient(90deg, var(--ap-cream), transparent 32%); content: ""; inset: 0; pointer-events: none; position: absolute; }
.ap-catalog-visual img { height: 100%; object-fit: contain; object-position: center right; width: 100%; }
.ap-catalog-section { scroll-margin-top: 1rem; }
.ap-catalog-grid { display: grid; gap: 0.85rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ap-catalog-card { background: rgba(255,255,255,0.55); border: 1px solid var(--ap-line); border-radius: 7px; display: grid; gap: 0.8rem; grid-template-columns: 42% 1fr; min-height: 198px; overflow: hidden; padding: 0.65rem; transition: box-shadow 180ms ease, transform 180ms ease; }
.ap-catalog-card:hover { box-shadow: 0 14px 35px rgba(77, 53, 31, 0.1); transform: translateY(-2px); }
.ap-mini-cover { aspect-ratio: 2 / 3; background: #ded4c7; border-radius: 4px; min-height: 0; overflow: hidden; position: relative; text-decoration: none; }
.ap-mini-cover::after { background: linear-gradient(0deg, rgba(18,16,15,0.72), transparent 70%); content: ""; inset: 0; position: absolute; }
.ap-mini-cover img { display: block; height: 100%; inset: 0; object-fit: cover; object-position: center; position: absolute; width: 100%; }
.ap-mini-cover > span { bottom: 0.85rem; color: #f6e6c7; display: grid; gap: 0.35rem; left: 0.5rem; position: absolute; right: 0.5rem; text-align: center; z-index: 1; }
.ap-mini-cover small { font-size: 0.42rem; letter-spacing: 0.08em; }
.ap-mini-cover strong { font-family: var(--ap-serif); font-size: clamp(0.82rem, 1.25vw, 1.15rem); font-weight: 500; line-height: 0.95; text-transform: uppercase; }
.ap-cover-light { background: linear-gradient(145deg, #f8f2e8, #cbbba8); }
.ap-cover-light::after { background: linear-gradient(0deg, rgba(97,74,50,0.45), transparent 70%); }
.ap-cover-night { background: linear-gradient(145deg, #171615, #5b4636); }
.ap-cover-mist { background: linear-gradient(160deg, #d9d0c6, #6c665f); }
.ap-cover-sepia { background: linear-gradient(160deg, #80654e, #241e1a); }
.ap-cover-dawn { background: linear-gradient(160deg, #e3cbaa, #715342); }
.ap-cover-soft { background: linear-gradient(160deg, #e8ddd1, #8b7565); }
.ap-cover-coffee { background: linear-gradient(160deg, #efe5d6, #b08b62); }
.ap-catalog-card-copy { display: flex; flex-direction: column; min-width: 0; }
.ap-catalog-card-copy h3 { font-family: var(--ap-serif); font-size: 1rem; font-weight: 600; line-height: 1.05; margin: 0.25rem 0 0.55rem; }
.ap-catalog-card-copy p { color: var(--ap-muted); font-size: 0.66rem; line-height: 1.5; margin: 0.65rem 0; }
.ap-catalog-card-copy .ap-card-actions { margin-top: auto; }
.ap-catalog-card-copy .ap-card-actions a { font-size: 0.62rem; min-height: 30px; padding: 0.42rem 0.7rem; }
.ap-catalog-card-copy .ap-card-read-button { width: 100%; }
.ap-collections { margin-top: 0.65rem; }
.ap-collection-grid { display: grid; gap: 0.85rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ap-collection-card { background: linear-gradient(100deg, rgba(255,255,255,0.9), rgba(244,235,223,0.5)), url("../images/blog-writing-still-life.png") center/cover; border: 1px solid var(--ap-line); border-radius: 7px; min-height: 128px; padding: 1.1rem; text-decoration: none; }
.ap-collection-card--books { background-image: linear-gradient(100deg, rgba(255,255,255,0.94), rgba(244,235,223,0.4)), url("../images/subscriber-library-still-life.png"); }
.ap-collection-card--coffee { background-image: linear-gradient(100deg, rgba(255,255,255,0.94), rgba(244,235,223,0.35)), url("../images/blog-writing-still-life.png"); background-position: right; }
.ap-collection-card strong { font-family: var(--ap-serif); font-size: 1.08rem; }
.ap-collection-card p { color: var(--ap-muted); font-size: 0.66rem; line-height: 1.45; max-width: 210px; }
.ap-collection-card span { color: var(--ap-gold-deep); font-size: 0.63rem; }

/* About */
.ap-about-hero { min-height: 340px; position: relative; }
.ap-about-hero > img { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
.ap-about-copy { max-width: 560px; padding: clamp(2rem, 5vw, 4.2rem) 0 2rem 1.1rem; position: relative; z-index: 1; }
.ap-about-copy h1 { color: #8f6027; font-family: var(--ap-serif); font-size: clamp(4rem, 7vw, 6rem); font-weight: 400; line-height: 0.85; margin: 0; text-shadow: 0 3px 5px rgba(91,57,19,0.2); text-transform: uppercase; }
.ap-about-copy blockquote { border: 0; font-family: var(--ap-serif); font-size: clamp(1.16rem, 1.65vw, 1.34rem); line-height: 1.48; margin: 1.1rem 0 1.25rem; max-width: 540px; padding-left: 3rem; position: relative; }
.ap-about-copy blockquote::before { color: #d8c0a1; content: "“"; font-size: 4rem; left: 0; line-height: 1; position: absolute; top: -0.2rem; }
.ap-about-copy > p:not(.ap-script-line) { font-family: var(--ap-serif); font-size: clamp(0.94rem, 1.32vw, 1.08rem); line-height: 1.62; max-width: 520px; }
.ap-signature { color: var(--ap-gold); display: block; font-family: "Segoe Script", cursive; font-size: clamp(1.08rem, 1.55vw, 1.26rem); margin-left: auto; max-width: 280px; text-align: center; }
.ap-stat-strip { background: rgba(255,255,255,0.66); border: 1px solid var(--ap-line); border-radius: 7px; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 0.55rem; padding: 0.75rem 0; }
.ap-stat-strip > div { align-items: center; border-right: 1px solid var(--ap-line); display: grid; gap: 0 0.65rem; grid-template-columns: auto auto; justify-content: center; }
.ap-stat-strip > div:last-child { border: 0; }
.ap-stat-strip span { color: var(--ap-gold); font-size: 1.45rem; grid-row: span 2; }
.ap-stat-strip strong { font-family: var(--ap-serif); font-size: 1.5rem; font-weight: 500; line-height: 1; }
.ap-stat-strip small { color: var(--ap-muted); font-size: 0.57rem; }
.ap-about-panels { display: grid; gap: 0.8rem; grid-template-columns: 1fr 1fr 1.12fr; margin-top: 0.85rem; }
.ap-info-panel,
.ap-facts,
.ap-faq,
.ap-blog-sidebar > section,
.ap-newsletter { background: rgba(255,255,255,0.6); border: 1px solid var(--ap-line); border-radius: 7px; padding: 1rem; }
.ap-info-panel h2,
.ap-facts h2,
.ap-faq h2,
.ap-blog-sidebar h2,
.ap-newsletter h2 { font-family: var(--ap-serif); font-size: 1.25rem; font-weight: 500; margin: 0 0 0.75rem; }
.ap-timeline ol { list-style: none; margin: 0; padding: 0 0 0 0.35rem; }
.ap-timeline li { display: grid; gap: 0.7rem; grid-template-columns: 38px 1fr; margin-bottom: 0.7rem; padding-left: 1rem; position: relative; }
.ap-timeline li::before { background: var(--ap-gold); border: 3px solid #f4e8d8; border-radius: 50%; content: ""; height: 9px; left: -0.3rem; position: absolute; top: 0.2rem; width: 9px; }
.ap-timeline li:not(:last-child)::after { background: #ddcbb6; content: ""; height: calc(100% + 0.7rem); left: 0; position: absolute; top: 0.55rem; width: 1px; }
.ap-timeline b { color: #795b37; font-family: var(--ap-serif); font-size: 0.84rem; }
.ap-timeline span,
.ap-values p,
.ap-genres blockquote { color: var(--ap-muted); font-size: 0.76rem; line-height: 1.52; }
.ap-values > div { align-items: center; display: grid; gap: 0.8rem; grid-template-columns: 40px 1fr; margin-bottom: 0.75rem; }
.ap-values > div > span { align-items: center; border: 1px solid var(--ap-line); border-radius: 6px; color: var(--ap-gold); display: flex; font-size: 1.35rem; height: 40px; justify-content: center; }
.ap-values p { margin: 0; }
.ap-genres blockquote { border: 0; font-family: var(--ap-serif); font-size: 0.94rem; margin: 1.2rem 0 0; padding-left: 2.5rem; position: relative; }
.ap-genres blockquote::before { color: #dcc9b2; content: "“"; font-size: 3rem; left: 0; position: absolute; top: -0.5rem; }
.ap-about-lower { display: grid; gap: 0.8rem; grid-template-columns: 2fr 1fr; margin-top: 0.85rem; }
.ap-facts > div { display: grid; grid-template-columns: repeat(5, 1fr); }
.ap-facts p { border-right: 1px solid var(--ap-line); color: var(--ap-muted); font-size: 0.6rem; line-height: 1.45; margin: 0; padding: 0 0.75rem; }
.ap-facts p:last-child { border: 0; }
.ap-facts b { color: var(--ap-gold); display: block; font-family: var(--ap-serif); font-size: 1rem; margin-bottom: 0.45rem; }
.ap-faq details { border: 1px solid var(--ap-line); border-radius: 4px; font-size: 0.62rem; margin-top: 0.4rem; padding: 0.5rem 0.65rem; }
.ap-faq summary { cursor: pointer; list-style: none; }
.ap-faq summary::after { content: "+"; float: right; font-size: 1rem; }
.ap-faq details[open] summary::after { content: "−"; }
.ap-faq p { color: var(--ap-muted); line-height: 1.45; }
.ap-newsletter--image { align-items: center; background: linear-gradient(90deg, rgba(255,253,251,0.88), rgba(255,253,251,0.72)), url("../images/blog-writing-still-life.png") left center/cover; display: grid; gap: 2rem; grid-template-columns: 1fr 1.25fr; margin-top: 0.85rem; }
.ap-newsletter--image h2 { margin-bottom: 0.3rem; }
.ap-newsletter--image p,
.ap-newsletter p { color: var(--ap-muted); font-size: 0.65rem; line-height: 1.45; margin: 0; }

/* Blog */
.ap-blog-hero { align-items: center; display: grid; gap: 2rem; grid-template-columns: 0.88fr 1.42fr; min-height: 320px; }
.ap-blog-intro { padding-left: 1rem; }
.ap-blog-intro h1 { font-family: var(--ap-serif); font-weight: 400; line-height: 0.78; margin: 0; text-transform: uppercase; }
.ap-blog-intro h1 span,
.ap-blog-intro h1 small { display: block; }
.ap-blog-intro h1 span { color: #9a6b2e; font-size: clamp(4.2rem, 8vw, 6.6rem); text-shadow: 0 3px 6px rgba(121,78,26,0.2); }
.ap-blog-intro h1 small { color: var(--ap-ink); font-size: clamp(3.5rem, 7vw, 6rem); }
.ap-blog-intro > p:not(.ap-script-line) { font-family: var(--ap-serif); font-size: 0.95rem; line-height: 1.55; max-width: 330px; }
.ap-featured-post { background: rgba(255,255,255,0.62); border: 1px solid var(--ap-line); border-radius: 8px; display: grid; grid-template-columns: 1fr 1.12fr; min-height: 250px; overflow: hidden; }
.ap-featured-post > img { height: 100%; object-fit: cover; width: 100%; }
.ap-featured-post > div { display: flex; flex-direction: column; padding: 2rem; }
.ap-featured-post h2 { font-family: var(--ap-serif); font-size: clamp(1.5rem, 2.5vw, 2.05rem); font-weight: 500; line-height: 1.2; margin: 0.85rem 0; }
.ap-featured-post p { color: var(--ap-muted); font-size: 0.7rem; line-height: 1.5; }
.ap-featured-post footer { align-items: center; display: flex; justify-content: space-between; margin-top: auto; }
.ap-featured-post footer small { color: var(--ap-muted); font-size: 0.58rem; }
.ap-featured-post footer a { color: var(--ap-gold-deep); font-size: 0.65rem; text-decoration: none; }
.ap-blog-categories { background: rgba(255,255,255,0.6); border: 1px solid var(--ap-line); border-radius: 7px; display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 0.8rem; }
.ap-blog-categories a { align-items: center; border-right: 1px solid var(--ap-line); display: flex; gap: 0.65rem; padding: 0.75rem 1rem; text-decoration: none; }
.ap-blog-categories a:last-child { border: 0; }
.ap-blog-categories b { align-items: center; border: 1px solid var(--ap-line); border-radius: 50%; color: var(--ap-gold); display: flex; flex: 0 0 34px; height: 34px; justify-content: center; }
.ap-blog-categories span { display: grid; }
.ap-blog-categories strong { font-family: var(--ap-serif); font-size: 0.82rem; }
.ap-blog-categories small { color: var(--ap-muted); font-size: 0.5rem; }
.ap-blog-content { display: grid; gap: 1.8rem; grid-template-columns: 1fr 310px; margin-top: 0.8rem; }
.ap-article-grid { display: grid; gap: 0.7rem; grid-template-columns: repeat(3, 1fr); }
.ap-article-card { background: rgba(255,255,255,0.48); border: 1px solid var(--ap-line); border-radius: 6px; overflow: hidden; padding-bottom: 0.7rem; }
.ap-article-image { aspect-ratio: 2 / 0.95; overflow: hidden; position: relative; }
.ap-article-image img { height: 100%; object-fit: cover; transition: transform 400ms ease; width: 100%; }
.ap-article-card:hover .ap-article-image img { transform: scale(1.025); }
.ap-article-image--portrait img { object-position: 35% 70%; }
.ap-article-image--book img { object-position: center; }
.ap-article-image--writing img { object-position: 55% 55%; }
.ap-article-image--desk img { object-position: 20% 80%; }
.ap-article-image--letters img { filter: sepia(0.25); object-position: 75% 50%; }
.ap-article-image--city img { filter: sepia(0.35) contrast(0.9); object-position: 0 40%; }
.ap-article-image button { background: rgba(255,255,255,0.88); border: 0; border-radius: 4px; color: var(--ap-gold); cursor: pointer; font-size: 1rem; padding: 0.35rem 0.48rem; position: absolute; right: 0.5rem; top: 0.5rem; }
.ap-article-image button.is-saved { background: var(--ap-gold); color: #fff; }
.ap-article-image > span { background: #f6ead8; bottom: 0.45rem; color: #8c683e; font-size: 0.5rem; left: 0.45rem; padding: 0.32rem 0.45rem; position: absolute; text-transform: uppercase; }
.ap-article-card h3 { font-family: var(--ap-serif); font-size: 0.9rem; font-weight: 600; line-height: 1.2; margin: 0.55rem 0.6rem 0.3rem; }
.ap-article-card > p { color: var(--ap-muted); font-size: 0.55rem; margin: 0 0.6rem; }
.ap-blog-quote { background: rgba(255,255,255,0.52); border: 0; color: #766d65; font-family: var(--ap-serif); font-size: 0.82rem; margin: 1rem 0 0; padding: 1rem 2.5rem; }
.ap-blog-quote span { color: var(--ap-gold); float: right; font-family: "Segoe Script", cursive; }
.ap-blog-sidebar { display: grid; gap: 0.8rem; }
.ap-blog-sidebar > section { align-self: start; }
.ap-newsletter form,
.ap-newsletter--image form { display: flex; margin-top: 0.75rem; }
.ap-newsletter input,
.ap-newsletter--image input { background: #fff; border: 1px solid var(--ap-line); border-radius: 5px 0 0 5px; min-width: 0; padding: 0.7rem; width: 100%; }
.ap-newsletter button,
.ap-newsletter--image button { background: linear-gradient(180deg, #b98949, #956727); border: 0; border-radius: 0 5px 5px 0; color: #fff; cursor: pointer; padding: 0.7rem 1rem; white-space: nowrap; }
.ap-blog-sidebar > section > a { align-items: center; display: flex; gap: 0.7rem; margin-top: 0.65rem; text-decoration: none; }
.ap-blog-sidebar > section > a img { border-radius: 4px; height: 42px; object-fit: cover; width: 56px; }
.ap-blog-sidebar > section > a span { font-family: var(--ap-serif); font-size: 0.75rem; line-height: 1.15; }
.ap-blog-sidebar > section > a small { color: var(--ap-muted); display: block; font-family: var(--ap-sans); font-size: 0.5rem; margin-top: 0.2rem; }
.ap-blog-sidebar .ap-all-posts { color: var(--ap-gold-deep); display: block; font-size: 0.65rem; margin-top: 0.9rem; text-align: center; }

@media (max-width: 1050px) {
    .ap-catalog-grid { grid-template-columns: repeat(2, 1fr); }
    .ap-cycle-grid { grid-template-columns: 1fr; }
    .ap-cycle-card { grid-template-columns: minmax(180px, 250px) 1fr; }
    .ap-blog-content { grid-template-columns: 1fr; }
    .ap-blog-sidebar { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
    .ap-editorial-header { grid-template-columns: 1fr auto; }
    .ap-editorial-header .ap-main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; overflow-x: auto; }
    .ap-catalog-hero,
    .ap-blog-hero { grid-template-columns: 1fr; }
    .ap-cycle-hero { gap: 2rem; grid-template-columns: minmax(220px, 40vw) 1fr; min-height: 470px; padding-inline: 0; }
    .ap-catalog-visual { min-height: 230px; }
    .ap-about-hero { min-height: 560px; }
    .ap-about-hero > img { object-position: 68% center; }
    .ap-about-copy { max-width: 52%; }
    .ap-about-panels { grid-template-columns: 1fr 1fr; }
    .ap-about-panels .ap-genres { grid-column: 1 / -1; }
    .ap-about-lower { grid-template-columns: 1fr; }
    .ap-blog-categories { grid-template-columns: repeat(2, 1fr); }
    .ap-blog-categories a { border-bottom: 1px solid var(--ap-line); }
    .ap-blog-sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .ap-editorial-page { padding-inline: 0.8rem; }
    .ap-editorial-header {
        display: flex;
        flex-direction: column;
        gap: .45rem;
        min-height: 0;
        padding: .7rem 0 .35rem;
        text-align: center;
    }
    .ap-editorial-header .ap-brand {
        justify-content: center;
        margin-inline: auto;
    }
    .ap-editorial-header .ap-brand-copy strong { font-size: 1.08rem; }
    .ap-editorial-header .ap-brand-copy small { font-size: 0.68rem; }
    .ap-editorial-header .ap-brand-mark-image { height: 52px; width: 40px; }
    .ap-editorial-header .ap-brand-logo-image { max-height: 54px; width: min(210px, 56vw); }
    .ap-editorial-header .ap-header-actions { display: none; min-width: 0; }
    .ap-editorial-header .ap-login-link { max-width: 34vw; overflow: hidden; padding: 0.5rem 0.7rem; text-overflow: ellipsis; white-space: nowrap; }
    .ap-editorial-header .ap-main-nav {
        gap: 1.2rem;
        justify-content: center;
        margin-inline: 0;
        overflow: visible;
        padding-inline: 0;
        scrollbar-width: none;
        width: 100%;
    }
    .ap-editorial-header .ap-main-nav a { padding: .42rem 0 .78rem; }
    .ap-editorial-header .ap-main-nav a::after {
        border-radius: 999px;
        bottom: .24rem;
        height: 3px;
        width: 34px;
    }
    .ap-editorial-header .ap-main-nav::-webkit-scrollbar { display: none; }
    .ap-catalog-hero {
        min-height: 0;
        padding: 1.2rem 0 .55rem;
        text-align: center;
    }
    .ap-catalog-copy {
        margin-inline: auto;
        padding: 0;
    }
    .ap-catalog-copy > p:not(.ap-script-line) {
        margin-inline: auto;
    }
    .ap-catalog-copy h1 span { font-size: 3.5rem; }
    .ap-catalog-visual { display: none; }
    .ap-catalog-section {
        text-align: center;
    }
    .ap-section-title {
        justify-content: center;
        margin-top: .45rem;
    }
    .ap-catalog-tabs {
        justify-content: center;
    }
    .ap-catalog-grid,
    .ap-collection-grid,
    .ap-article-grid,
    .ap-about-panels,
    .ap-newsletter--image { grid-template-columns: 1fr; }
    .ap-catalog-card { gap: .7rem; grid-template-columns: 108px minmax(0, 1fr); min-height: 184px; padding: .55rem; }
    .ap-catalog-card-copy h3 { font-size: .98rem; overflow-wrap: anywhere; }
    .ap-catalog-card-copy p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
    .ap-scroll-book-scene { height: 250px; margin-left: -12.5%; transform: scale(.8); transform-origin: center; width: 125%; }
    .ap-cycle-card { gap: .8rem; grid-template-columns: 148px minmax(0, 1fr); min-height: 178px; padding: .65rem; }
    .ap-cycle-card h3 { font-size: 1.35rem; overflow-wrap: anywhere; }
    .ap-cycle-card .ap-outline-button { min-height: 36px; padding: .5rem .75rem; }
    .ap-cycle-book-cover { width: 55%; }
    .ap-cycle-hero { grid-template-columns: 1fr; min-height: 0; padding: 1.5rem 0 3rem; }
    .ap-cycle-hero-visual { margin-inline: auto; width: min(82vw, 340px); }
    .ap-cycle-hero-copy { text-align: center; }
    .ap-cycle-hero-copy h1 { font-size: clamp(2.7rem, 13vw, 4rem); overflow-wrap: anywhere; }
    .ap-about-hero {
        display: grid;
        min-height: 0;
        padding: 1.2rem 0 .55rem;
        text-align: center;
    }
    .ap-about-hero > img {
        display: none;
    }
    .ap-about-hero::after { display: none; }
    .ap-about-copy { margin-inline: auto; max-width: 100%; padding: 0 .35rem; }
    .ap-about-copy h1 { font-size: 3.6rem; }
    .ap-about-copy blockquote {
        font-size: clamp(1.18rem, 5.6vw, 1.55rem);
        line-height: 1.42;
        margin-inline: auto;
        max-width: 330px;
        padding-left: 0;
    }
    .ap-about-copy blockquote::before { display: none; }
    .ap-about-copy > p:not(.ap-script-line) {
        font-size: clamp(1rem, 4.65vw, 1.24rem);
        line-height: 1.62;
        margin-inline: auto;
        max-width: 355px;
    }
    .ap-signature {
        display: block;
        font-size: clamp(1.2rem, 5.1vw, 1.45rem);
        text-align: center;
    }
    .ap-about-page .ap-info-panel h2 {
        font-size: clamp(1.75rem, 8vw, 2.25rem);
    }
    .ap-timeline li {
        gap: 1rem;
        grid-template-columns: 52px 1fr;
        margin-bottom: 1.1rem;
    }
    .ap-timeline b {
        font-size: clamp(0.92rem, 4.2vw, 1.08rem);
    }
    .ap-timeline span,
    .ap-values p {
        font-size: clamp(0.98rem, 4.5vw, 1.16rem);
        line-height: 1.5;
    }
    .ap-genres blockquote {
        font-size: clamp(1rem, 4.45vw, 1.18rem);
        line-height: 1.52;
    }
    .ap-stat-strip { grid-template-columns: repeat(2, 1fr); }
    .ap-stat-strip > div { border-bottom: 1px solid var(--ap-line); padding: 0.65rem 0; }
    .ap-stat-strip > div:nth-child(2) { border-right: 0; }
    .ap-facts > div { grid-template-columns: 1fr; }
    .ap-facts p { border-bottom: 1px solid var(--ap-line); border-right: 0; padding: 0.65rem 0; }
    .ap-featured-post { grid-template-columns: 1fr; }
    .ap-featured-post > img { aspect-ratio: 1.8; }
    .ap-featured-post > div { padding: 1.2rem; }
    .ap-blog-categories { grid-template-columns: 1fr; }
    .ap-blog-categories a { border-right: 0; }
    .ap-blog-quote span { display: block; float: none; margin-top: 0.6rem; }
    .ap-newsletter--image form,
    .ap-newsletter form { flex-direction: column; }
    .ap-newsletter input,
    .ap-newsletter--image input,
    .ap-newsletter button,
    .ap-newsletter--image button { border-radius: 5px; }
}

@media (max-width: 390px) {
    .ap-editorial-page { padding-inline: .65rem; }
    .ap-editorial-header { gap: .65rem; }
    .ap-editorial-header .ap-brand-logo-image { width: min(188px, 52vw); }
    .ap-catalog-copy h1 span { font-size: 3rem; }
    .ap-catalog-card { grid-template-columns: 98px minmax(0, 1fr); }
    .ap-cycle-card { grid-template-columns: 104px minmax(0, 1fr); }
    .ap-cycle-card p { margin-block: .35rem .65rem; }
}

@media (prefers-reduced-motion: reduce) {
    .ap-cycle-card[data-cycle-reveal],
    .ap-catalog-card[data-book-reveal] { opacity: 1; transform: none; }
    .ap-cycle-card,
    .ap-cycle-book-cover { transition: none; }
}
