/* feliciacarparelli.com — styles. Copied into dist/assets/ with a content hash by the build. */
:root {
  --paper: #fbf7f3;
  --paper-2: #f4ece7;
  --rose: #f7e3ea;
  --ink: #241820;
  --text: #3b2e34;
  --muted: #7d6c72;
  --line: #e7dbd5;
  --accent: #b51859;
  --accent-ink: #8c1145;
  --white: #fff;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1200px;
  --narrow: 720px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 78px;
  --radius: 14px;
  --shadow-book: 0 30px 50px -28px rgba(36, 24, 32, .55), 0 10px 20px -14px rgba(36, 24, 32, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; color: var(--ink); line-height: 1.1; letter-spacing: -.01em; margin: 0 0 .45em; font-variation-settings: 'SOFT' 50; }
h1 { font-size: clamp(40px, 2rem + 3.4vw, 76px); }
h2 { font-size: clamp(30px, 1.5rem + 1.6vw, 46px); }
h3 { font-size: 22px; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
p { margin: 0 0 1em; }
ul { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.eyebrow { margin: 0 0 14px; font: 700 12.5px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.meta { margin: 0; font-size: 14.5px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.i-ext svg { width: .8em; height: .8em; vertical-align: -.05em; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: 13px 24px; border: 1.5px solid var(--accent); border-radius: 999px; background: var(--accent); color: #fff; font: 700 15px/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; box-shadow: 0 12px 22px -14px rgba(140, 17, 69, .8); }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } }
.btn:active { transform: scale(.97); transition-duration: .1s; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn--small { padding: 9px 18px; font-size: 14px; }
.btn--large { padding: 16px 30px; font-size: 16.5px; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--white); color: var(--accent); border-color: var(--accent); box-shadow: none; }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: #fff; color: var(--accent); border-color: #fff; }
.btn--ghost-light { background: transparent; color: var(--paper); border-color: rgba(251, 247, 243, .35); }
.btn--ghost-light:hover { background: rgba(251, 247, 243, .1); color: #fff; border-color: var(--paper); box-shadow: none; }
.more-link { display: inline-flex; align-items: center; gap: 8px; font: 700 15px/1.2 var(--sans); color: var(--ink); text-decoration: none; white-space: nowrap; }
.more-link svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.more-link:hover { color: var(--accent); }
.more-link:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 243, .88); backdrop-filter: saturate(1.5) blur(12px); border-bottom: 1px solid transparent; transition: border-color .25s, background .25s, transform .4s var(--ease); }
.site-header.is-scrolled { border-color: var(--line); background: rgba(251, 247, 243, .96); }
.site-header.is-hidden { transform: translateY(-100%); }
html.menu-open { overflow: hidden; }
html.menu-open .site-header { background: var(--paper); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand img { width: auto; height: 34px; }
.brand span { font: 500 21px/1 var(--display); letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.nav ul { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); list-style: none; padding: 0; }
.nav a:not(.btn) { position: relative; padding: 6px 0; color: var(--ink); font: 500 15.5px/1.2 var(--sans); text-decoration: none; }
.nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current]:not(.btn)::after { transform: scaleX(1); }
.nav .btn.is-current { background: var(--accent-ink); }
.menu-btn { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 28px; height: 28px; }
.menu-btn svg + svg, .menu-btn[aria-expanded="true"] svg { display: none; }
.menu-btn[aria-expanded="true"] svg + svg { display: block; }
@media (max-width: 820px) {
  .brand span { font-size: 19px; }
  .menu-btn { display: block; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100dvh - var(--header-h)); overflow-y: auto; background: var(--paper); visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s .35s; }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .35s var(--ease); }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 32px; }
  .nav li { opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .45s var(--ease); }
  .nav.is-open li { opacity: 1; transform: none; }
  .nav.is-open li:nth-child(2) { transition-delay: .05s; }
  .nav.is-open li:nth-child(3) { transition-delay: .1s; }
  .nav.is-open li:nth-child(4) { transition-delay: .15s; }
  .nav.is-open li:nth-child(5) { transition-delay: .2s; }
  .nav a:not(.btn) { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); font: 500 30px/1.15 var(--display); }
  .nav a:not(.btn) .i-ext svg { width: 18px; height: 18px; }
  .nav a:not(.btn)::after { display: none; }
  .nav a[aria-current]:not(.btn) { color: var(--accent); }
  .nav__cta { margin-top: 18px; }
  .nav__cta .btn { width: 100%; padding: 14px; font-size: 16px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section--tint { background: var(--paper-2); }
.section--flush-top { padding-top: 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: clamp(30px, 4vw, 52px); }
.section-head h2 { margin: 0; }
@media (max-width: 600px) { .section-head { flex-direction: column; align-items: flex-start; gap: 14px; } }
.page-head { padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 5vw, 64px); }
.page-head h1 { margin-bottom: 18px; }
.page-head__lede { max-width: 620px; font: 400 clamp(19px, 1rem + .5vw, 23px)/1.5 var(--serif); color: var(--text); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); }
.hero::before { content: ''; position: absolute; right: -10vw; top: -20vw; width: 60vw; height: 60vw; border-radius: 50%; background: radial-gradient(closest-side, var(--rose), transparent); opacity: .9; pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: clamp(32px, 6vw, 96px); }
.hero h1 { font-size: clamp(54px, 2.4rem + 5.2vw, 118px); line-height: .95; margin-bottom: 26px; animation: rise .9s var(--ease) both; }
.hero h1 em { position: relative; display: inline-block; }
.swash { position: absolute; left: 3%; bottom: -.16em; width: 100%; height: auto; aspect-ratio: 320 / 24; overflow: visible; }
.swash path { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .55; animation: draw 1.4s .7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .swash path { stroke-dashoffset: 0; } }
.hero .eyebrow { animation: rise .9s var(--ease) both; }
.hero__lede { margin: 0 0 8px; font: 400 clamp(21px, 1.1rem + .8vw, 28px)/1.35 var(--serif); color: var(--ink); animation: rise .9s .1s var(--ease) both; }
.hero__sub { max-width: 30em; color: var(--muted); font-size: 17px; animation: rise .9s .15s var(--ease) both; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; animation: rise .9s .2s var(--ease) both; }
.hero__art { position: relative; justify-self: center; width: min(420px, 100%); animation: rise 1.1s .1s var(--ease) both; }
.arch { position: relative; }
.arch::before { content: ''; position: absolute; inset: 22px -22px -22px 22px; border: 1.5px solid var(--accent); border-radius: 999px 999px 18px 18px; opacity: .5; }
.arch img { position: relative; width: 100%; aspect-ratio: 4 / 5.4; object-fit: cover; object-position: center 20%; border-radius: 999px 999px 18px 18px; }
.hero__badge { position: absolute; left: -34px; bottom: 34px; display: grid; gap: 2px; padding: 16px 20px; background: var(--white); border-radius: 14px; box-shadow: 0 24px 40px -24px rgba(36, 24, 32, .45); color: var(--ink); text-decoration: none; transform: rotate(-3deg); animation: float 6s 1.2s ease-in-out infinite; }
.hero__badge:hover { color: var(--ink); animation-play-state: paused; }
@keyframes float { 0%, 100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-1.5deg) translateY(-8px); } }
.hero::before { transform: translate3d(0, var(--blob-y, 0), 0); }
.hero__art .arch { transform: translate3d(0, var(--arch-y, 0), 0); will-change: transform; }
.hero__badge span { font: 700 11px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hero__badge strong { font: 600 19px/1.2 var(--display); }
.hero__badge em { font: italic 400 15px/1.2 var(--display); color: var(--accent); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 820px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; width: min(300px, 78%); }
  .hero__badge { left: auto; right: -10px; bottom: 18px; padding: 12px 16px; }
  .hero__badge strong { font-size: 16px; }
}

/* ---------- Published in (marquee) ---------- */
.press { border-block: 1px solid var(--line); background: var(--white); overflow: hidden; }
.press__inner { display: flex; align-items: center; gap: 28px; padding-block: 22px; }
.press__label { flex: none; margin: 0; font: 700 12px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.press__viewport { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.press__track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.press:hover .press__track { animation-play-state: paused; }
.press ul { display: flex; list-style: none; padding: 0; }
.press li { white-space: nowrap; font: italic 400 clamp(16px, .9rem + .3vw, 19px)/1.4 var(--display); color: var(--ink); }
.press li::after { content: '✦'; margin: 0 18px; font-size: 10px; font-style: normal; color: var(--accent); vertical-align: 2px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 720px) {
  .press__inner { flex-direction: column; align-items: stretch; gap: 10px; padding-block: 18px; }
  .press__label { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .press__viewport { -webkit-mask-image: none; mask-image: none; }
  .press__track { width: auto; }
  .press__track ul { flex-wrap: wrap; gap: 6px 0; }
  .press__track ul[aria-hidden] { display: none; }
}

/* ---------- Featured book ---------- */
.featured { background: linear-gradient(180deg, var(--paper) 0, var(--paper-2) 100%); }
.featured__grid { display: grid; grid-template-columns: minmax(220px, .8fr) 1.2fr; gap: clamp(32px, 7vw, 110px); align-items: center; }
.featured__cover { display: block; max-width: 380px; justify-self: center; }
.featured__cover img { filter: drop-shadow(0 30px 30px rgba(36, 24, 32, .28)); transition: transform .5s var(--ease); }
@media (hover: hover) { .featured__cover:hover { --ty: -8px; } }
.featured h2 a { color: inherit; text-decoration: none; }
.featured h2 a:hover { color: var(--accent); }
.featured .prose { max-width: 36em; }
@media (max-width: 760px) { .featured__grid { grid-template-columns: 1fr; } .featured__cover { max-width: 240px; } }

/* ---------- Books ---------- */
.book-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(30px, 4vw, 56px) clamp(18px, 3vw, 40px); }
@media (max-width: 960px) { .book-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .book-grid { grid-template-columns: repeat(2, 1fr); } }
.book-card { position: relative; display: flex; flex-direction: column; }
.book-card__cover { display: block; margin-bottom: 18px; }
.book-card__cover img { width: 100%; aspect-ratio: 400 / 620; object-fit: contain; filter: drop-shadow(0 22px 20px rgba(36, 24, 32, .22)); transition: transform .45s var(--ease), filter .45s var(--ease); }
/* Covers lean toward the pointer (site.js sets --rx/--ry); mouse users only */
.book-card__cover img, .featured__cover img, .book__cover img { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)); }
.tilt.is-tilting img { transition: transform .12s linear, filter .45s var(--ease); }
@media (hover: hover) {
  .book-card:hover .book-card__cover { --ty: -8px; }
  .book-card:hover .book-card__cover img { filter: drop-shadow(0 30px 24px rgba(36, 24, 32, .28)); }
}
/* Home shelf: a swipeable row on phones */
@media (max-width: 640px) {
  .book-grid--scroll { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%; gap: 18px; margin-inline: calc(-1 * var(--gutter)); padding: 10px var(--gutter) 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
  .book-grid--scroll::-webkit-scrollbar { display: none; }
  .book-grid--scroll .book-card { scroll-snap-align: start; }
}
.swipe-hint { display: none; }
@media (max-width: 640px) {
  .swipe-hint { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; font: 500 13.5px/1.2 var(--sans); color: var(--muted); }
  .swipe-hint i { position: relative; flex: none; width: 60px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
  .swipe-hint b { position: absolute; inset: 0 auto 0 0; width: var(--thumb, 30%); border-radius: 3px; background: var(--accent); transform: translateX(var(--pos, 0)); }
}
.book-card__title { margin: 0; font-size: clamp(17px, .95rem + .3vw, 20px); line-height: 1.25; }
.book-card__title a { color: var(--ink); text-decoration: none; }
.book-card__title a::after { content: ''; position: absolute; inset: 0; }
.book-card__title a:hover { color: var(--accent); }
.subtitle { display: block; margin-top: 6px; font: italic 400 .8em/1.35 var(--display); color: var(--muted); }
.book-card__actions { position: relative; z-index: 1; margin: 14px 0 0; }
.book-grid--roomy .book-card { padding-bottom: 6px; }

.book { padding-top: clamp(28px, 4vw, 48px); }
.book__grid { display: grid; grid-template-columns: minmax(240px, .8fr) 1.2fr; gap: clamp(32px, 7vw, 110px); align-items: start; margin-top: 28px; }
.book__cover { position: sticky; top: calc(var(--header-h) + 28px); max-width: 400px; justify-self: center; }
.book__cover img { filter: drop-shadow(0 30px 30px rgba(36, 24, 32, .28)); }
.book__text h1 { font-size: clamp(36px, 1.8rem + 2.4vw, 64px); }
.book__text h1 .subtitle { margin-top: 12px; font-size: .42em; }
@media (max-width: 760px) { .book__grid { grid-template-columns: 1fr; } .book__cover { position: static; max-width: 240px; } }

/* ---------- Placeholders (content without an image) ---------- */
.placeholder { display: grid; place-items: center; width: 100%; aspect-ratio: 3 / 2; background: linear-gradient(135deg, var(--rose), var(--paper-2)); font: italic 500 64px/1 var(--display); color: var(--accent); }
.placeholder--book { aspect-ratio: 400 / 620; padding: 18px; font-size: 20px; text-align: center; border-radius: 4px; }

/* ---------- Story cards ---------- */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 52px) clamp(20px, 3vw, 36px); }
@media (max-width: 960px) { .story-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .story-grid { grid-template-columns: 1fr; } }
.story-card { position: relative; display: flex; flex-direction: column; }
.story-card[hidden] { display: none; }
.story-card__media { overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.story-card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .7s var(--ease); }
@media (hover: hover) { .story-card:hover .story-card__media img { transform: scale(1.05); } }
.story-card__body { padding-top: 20px; }
.story-card .eyebrow { margin-bottom: 8px; font-size: 11.5px; }
.story-card__title { margin: 0 0 10px; font-size: clamp(21px, 1.1rem + .3vw, 25px); line-height: 1.2; }
.story-card__title a { color: var(--ink); text-decoration: none; }
.story-card__title a::after { content: ''; position: absolute; inset: 0; }
@media (hover: hover) { .story-card:hover .story-card__title a { color: var(--accent); } }
.story-card:active .story-card__media img { transform: scale(.98); transition-duration: .15s; }
.story-card__excerpt { margin-bottom: 12px; font: 400 16.5px/1.6 var(--serif); color: var(--text); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.filters button { padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font: 500 14.5px/1.2 var(--sans); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.filters button span { margin-left: 4px; color: var(--muted); }
.filters button:hover { border-color: var(--accent); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filters button[aria-pressed="true"] span { color: rgba(251, 247, 243, .6); }

/* ---------- Quote band ---------- */
.quote-band { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); text-align: center; }
.quote-band::before { content: '“'; position: absolute; left: 50%; top: 0; transform: translateX(-50%); font: italic 400 min(40vw, 340px)/.9 var(--display); color: rgba(181, 24, 89, .3); pointer-events: none; }
.quote-band blockquote { position: relative; margin: 0; }
.quote-band blockquote p { margin: 0; font: italic 400 clamp(26px, 1.3rem + 1.8vw, 44px)/1.3 var(--display); color: var(--paper); }
.quote-band .actions { position: relative; justify-content: center; margin-top: 40px; }

/* ---------- Prose ---------- */
.prose { font: 400 18.5px/1.7 var(--serif); color: var(--text); }
.prose p { margin-bottom: 1.15em; }
.prose a { color: var(--accent); }
.prose--large { font-size: clamp(18.5px, 1rem + .35vw, 21px); }
.prose--story { font-size: clamp(18.5px, 1rem + .4vw, 21.5px); line-height: 1.78; }
.prose--story > p:first-child::first-letter { float: left; margin: .06em .12em 0 0; font: 500 4.1em/.8 var(--display); color: var(--accent); }
.prose h2, .prose h3, .prose h4 { margin: 1.8em 0 .6em; font-family: var(--display); font-weight: 500; color: var(--ink); line-height: 1.2; }
.prose h3 { font-size: 1.35em; }
.prose h4 { font-size: 1.15em; }
.prose ol, .prose ul { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--accent); }
.prose blockquote { margin: 2em 0; padding: 4px 0 4px 28px; border-left: 2px solid var(--accent); }
.prose blockquote p { margin: 0; font: italic 400 1.22em/1.45 var(--display); color: var(--ink); }
.prose figure { margin: 2.2em 0; }
.prose figure img { margin: 0 auto; border-radius: 8px; }
.prose hr { border: 0; text-align: center; margin: 2.4em 0; }
.prose hr::after { content: '✦ ✦ ✦'; color: var(--accent); letter-spacing: .6em; font-size: 12px; }

/* ---------- Story page ---------- */
.story__head { padding: clamp(36px, 6vw, 80px) 0 clamp(32px, 4vw, 48px); text-align: center; }
.story__head h1 { font-size: clamp(36px, 1.6rem + 3.2vw, 70px); margin-bottom: 18px; }
.crumbs { margin-bottom: 30px; }
.crumbs a { display: inline-flex; align-items: center; gap: 8px; font: 500 14.5px/1.2 var(--sans); color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs svg { width: 16px; height: 16px; }
.story__head .crumbs { display: flex; justify-content: center; }
.story__image { max-width: 1100px; margin: 0 auto clamp(36px, 5vw, 60px); }
.story__image img { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--radius); }
.published { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 34px; padding: 15px 20px; border-radius: 12px; background: var(--rose); color: var(--ink); font: 500 15.5px/1.4 var(--sans); }
.published > svg { width: 18px; height: 18px; color: var(--accent); }
.published a { font-weight: 700; }
.story__more { margin: 34px 0 0; }
.author { display: flex; align-items: center; gap: 20px; margin: 56px 0 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.author img { flex: none; width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.author p { margin: 0; font-size: 16px; }
.author__name { font: 500 20px/1.3 var(--display) !important; color: var(--ink); margin-bottom: 4px !important; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 44px 0 clamp(56px, 8vw, 96px); }
.pager__link { display: block; padding: 18px 0; border-top: 1px solid var(--line); font: 500 19px/1.3 var(--display); color: var(--ink); text-decoration: none; }
.pager__link span { display: block; margin-bottom: 6px; font: 700 11.5px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pager__link:hover { color: var(--accent); }
.pager__link--next { text-align: right; }
@media (max-width: 560px) { .pager { grid-template-columns: 1fr; gap: 0; } .pager__link--next { text-align: left; } }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 7vw, 110px); align-items: start; }
.about__art { position: sticky; top: calc(var(--header-h) + 40px); max-width: 420px; padding: 0 22px 22px 0; }
.about__text .socials { margin-top: 30px; }
@media (max-width: 820px) { .about__grid { grid-template-columns: 1fr; } .about__art { position: static; max-width: 300px; margin: 0 auto; } }

/* ---------- Socials ---------- */
.socials { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.socials svg { width: 18px; height: 18px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 7vw, 100px); align-items: start; }
.contact__intro .socials { margin-top: 14px; }
.contact__card { padding: clamp(24px, 4vw, 44px); background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 60px -44px rgba(36, 24, 32, .45); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 7px; font: 500 15px/1.3 var(--sans); color: var(--ink); }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field textarea { width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); font: 400 16.5px/1.4 var(--sans); transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 170px; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(181, 24, 89, .12); }
.was-validated :invalid { border-color: #c62828; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile:not(:empty) { margin-bottom: 20px; }
.form-status { min-height: 1.5em; margin: 16px 0 0; font-size: 15.5px; }
.form-status.ok { color: #1b6e3a; }
.form-status.err { color: #b3261e; }
@media (max-width: 820px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- CTA + footer ---------- */
.cta { background: var(--accent); color: #fff; }
.cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(40px, 6vw, 64px); }
.cta .eyebrow { color: rgba(255, 255, 255, .75); margin-bottom: 8px; }
.cta h2 { margin: 0; color: #fff; font-style: italic; }
.site-footer { background: var(--ink); color: rgba(251, 247, 243, .7); padding: clamp(52px, 7vw, 80px) 0 32px; font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid rgba(251, 247, 243, .14); }
.brand--light, .brand--light:hover { color: var(--paper); }
.footer-brand p { margin: 16px 0 20px; }
.site-footer .socials a { border-color: rgba(251, 247, 243, .2); color: var(--paper); }
.site-footer .socials a:hover { border-color: var(--accent); }
.footer-title { margin: 0 0 14px; font: 700 12px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: rgba(251, 247, 243, .5); }
.site-footer ul:not(.socials) { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a:not(.brand) { color: var(--paper); text-decoration: none; }
.site-footer a:not(.brand):hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin: 24px 0 0; font-size: 14px; color: rgba(251, 247, 243, .5); }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Motion & interactivity ---------- */
/* Page-to-page cross-fade in browsers that support cross-document view transitions */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .25s ease both vt-out; }
::view-transition-new(root) { animation: .35s var(--ease) both vt-in; }
.site-header { view-transition-name: site-header; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* Scroll reveal: site.js adds .will-reveal only to elements below the fold, so nothing flashes or hides without JS */
.will-reveal { opacity: 0; transform: translateY(26px); }
.will-reveal.is-revealed { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }

/* Reading progress on story pages */
.progress { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 3px; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #e0538f); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* Share buttons + toast */
.story__share { margin: 22px 0 0; }
.share-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font: 500 14.5px/1.2 var(--sans); cursor: pointer; transition: border-color .2s, color .2s, transform .2s var(--ease); }
.share-btn svg { width: 16px; height: 16px; }
.share-btn:hover { border-color: var(--accent); color: var(--accent); }
.share-btn:active { transform: scale(.96); }
.author .share-btn { margin-left: auto; flex: none; }
.author > div { flex: 1 1 200px; min-width: 0; }
@media (max-width: 600px) {
  .author { flex-wrap: wrap; gap: 16px; padding: 20px; }
  .author img { width: 60px; height: 60px; }
  .author > div { flex-basis: calc(100% - 76px); }
  .author .share-btn { margin-left: 76px; }
}
.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 80; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--paper); font: 500 15px/1.2 var(--sans); box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .5); transform: translate(-50%, 20px); opacity: 0; transition: opacity .3s, transform .4s var(--ease); pointer-events: none; }
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* Back to top */
.to-top { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--ink); color: var(--paper); box-shadow: 0 14px 24px -14px rgba(0, 0, 0, .6); cursor: pointer; opacity: 0; transform: translateY(16px) scale(.9); transition: opacity .3s, transform .35s var(--ease), background .2s; pointer-events: none; }
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent); }
.to-top svg { width: 20px; height: 20px; transform: rotate(-90deg); }

/* ---------- 404 ---------- */
.notfound { text-align: center; }
.notfound .page-head__lede { margin-inline: auto; }
.notfound .actions { justify-content: center; }
