/* ==========================================================================
   Karianne Mikalsen — page sections
   ========================================================================== */

/* Keep off-canvas reveal offsets and decorative glows from widening the page (clip keeps sticky working) */
.section, .statement, .closing, .page-hero { overflow-x: clip; }

/* ---------- Shared atmospheric backgrounds ---------- */
.atmo { position: absolute; inset: 0; overflow: hidden; }
.atmo img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.atmo--mountains img { object-position: 50% 62%; }
.atmo--lake img { object-position: 50% 55%; }
.veil { position: absolute; inset: 0; }

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: var(--midnight); padding: 110px 0 80px; }
.hero .veil {
  background:
    linear-gradient(90deg, rgba(7, 12, 46, 0.96) 0%, rgba(7, 12, 46, 0.8) 36%, rgba(7, 12, 46, 0.2) 72%, rgba(7, 12, 46, 0.4) 100%),
    linear-gradient(180deg, rgba(7, 12, 46, 0.7) 0%, transparent 28%, transparent 66%, rgba(7, 12, 46, 0.92) 100%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.hero__title { font-size: clamp(3.4rem, 8.2vw, 7.4rem); color: #fff; }
.hero__title .split-word:nth-of-type(2) > span { font-style: italic; color: var(--sunset); }
.hero__subtitle { margin: 1.4rem 0 1.3rem; font-family: var(--serif); font-size: clamp(1.45rem, 2.5vw, 2rem); font-style: italic; line-height: 1.3; color: #fff; }
.hero .lead { max-width: 33em; }
.hero .btn-row { margin-top: 2.4rem; }
.hero__meta { display: flex; align-items: center; gap: 0.75rem; margin-top: 2.6rem; font-size: 0.82rem; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.6); }
.hero__meta::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 5px rgba(163, 201, 165, 0.18); animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(163, 201, 165, 0); } }

.hero__books { position: relative; height: clamp(440px, 46vw, 600px); }
.hero__glow { position: absolute; left: 50%; top: 52%; width: 120%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(229, 101, 79, 0.22), rgba(39, 83, 179, 0.12) 40%, transparent 65%); animation: glow 9s ease-in-out infinite; }
@keyframes glow { 50% { transform: translate(-50%, -50%) scale(1.08); opacity: 0.75; } }
.hero__book { position: absolute; animation: book-rise 1.5s var(--ease) both; }
.hero__book--back { left: 2%; top: 6%; animation-delay: 0.55s; filter: brightness(0.9); }
.hero__book--back .book3d { --ry: -28deg; }
.hero__book--front { right: 4%; bottom: 2%; animation-delay: 0.3s; z-index: 2; }
@keyframes book-rise { from { opacity: 0; transform: translate3d(0, 70px, 0); } to { opacity: 1; transform: none; } }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.7rem; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.hero__scroll::after { content: ""; width: 1px; height: 46px; background: linear-gradient(var(--sunset), transparent); transform-origin: top; animation: scroll-line 2.4s var(--ease) infinite; }
@keyframes scroll-line { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Book cards (home featured) ---------- */
.book-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.book-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 26px; background: #fff; box-shadow: 0 1px 0 var(--line), var(--shadow-soft); transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease); }
.book-card:hover { transform: translateY(-8px); box-shadow: 0 1px 0 var(--line), 0 40px 70px -34px rgba(7, 12, 46, 0.45); }
.book-card__media { position: relative; display: flex; justify-content: center; padding: 2.6rem 2rem 3rem; overflow: hidden; }
.book-card__body { display: flex; flex-direction: column; flex: 1; padding: 2.3rem clamp(1.6rem, 3vw, 2.6rem) 2.6rem; }
.book-card__subtitle { margin: 0.55rem 0 0; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.book-card__hook { margin: 1.2rem 0 0.9rem; font-family: var(--serif); font-size: 1.5rem; font-style: italic; line-height: 1.3; color: var(--navy); }
.book-card .btn-row { margin-top: auto; padding-top: 1.6rem; gap: 1.4rem; }

/* Per-book tinted stages (echo each cover's sky) */
.stage--rising-forgiveness { background: radial-gradient(90% 55% at 50% 105%, rgba(229, 101, 79, 0.5), transparent 62%), linear-gradient(180deg, #0a1250 0%, #1c3a95 100%); }
.stage--rising-resilience { background: radial-gradient(90% 55% at 50% 105%, rgba(242, 160, 107, 0.6), transparent 62%), linear-gradient(180deg, #262a44 0%, #4d5170 100%); }
.stage-lines { position: absolute; inset: auto 0 22%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent); }

/* ---------- Statement ---------- */
.statement { position: relative; overflow: hidden; padding: clamp(4rem, 8vw, 6.5rem) 0; background: var(--midnight); text-align: center; }
.statement .veil { background: linear-gradient(180deg, rgba(7, 12, 46, 0.9) 0%, rgba(14, 22, 80, 0.55) 45%, rgba(7, 12, 46, 0.92) 100%); }
.statement .container { position: relative; }
.statement__icon { width: 62px; height: 62px; margin: 0 auto 2rem; color: var(--sunset); }
.statement__quote { font-size: clamp(2.7rem, 6.4vw, 5.4rem); line-height: 1.04; color: #fff; }
.statement .lead { margin: 2rem auto 0; }
.statement .horizon-rule { margin-left: auto; margin-right: auto; background: linear-gradient(90deg, transparent, var(--coral), var(--sunset), transparent); }

/* ---------- Spotlights ---------- */
.spotlight__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.spotlight--reverse .spotlight__visual { order: 2; }
.spotlight__visual { position: relative; display: flex; justify-content: center; padding: 1.5rem 0; }
.spotlight__ring { position: absolute; top: 50%; left: 50%; width: min(92%, 470px); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(39, 83, 179, 0.16); transform: translate(-50%, -50%); animation: spin 40s linear infinite; }
.spotlight__ring::after { content: ""; position: absolute; top: 14%; left: 14%; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 6px rgba(229, 101, 79, 0.15); }
.spotlight__ring--inner { width: min(70%, 350px); border-style: dashed; border-color: rgba(86, 135, 95, 0.3); animation-duration: 60s; animation-direction: reverse; }
.spotlight__ring--inner::after { background: var(--sage); box-shadow: 0 0 0 6px rgba(163, 201, 165, 0.2); top: auto; bottom: 10%; left: auto; right: 12%; }
.on-dark .spotlight__ring { border-color: rgba(255, 255, 255, 0.12); }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.spotlight__sun { position: absolute; top: 50%; left: 50%; width: min(80%, 420px); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(242, 160, 107, 0.3), transparent 65%); }
.spotlight__content .h2 { margin-bottom: 1.4rem; }
.spotlight__subtitle { display: block; margin-top: 0.6rem; font-family: var(--sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; font-style: normal; color: var(--sage); }
.spotlight__quote { margin: 2rem 0; padding-left: 1.3rem; border-left: 2px solid var(--coral); font-family: var(--serif); font-size: 1.55rem; font-style: italic; line-height: 1.35; color: var(--navy); }
.spotlight__quote cite { display: block; margin-top: 0.5rem; font-family: var(--sans); font-size: 0.72rem; font-style: normal; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.on-dark .spotlight__quote { color: #fff; border-color: var(--sunset); }
.on-dark .spotlight__quote cite { color: rgba(255, 255, 255, 0.5); }
.spotlight .chips { margin: 0 0 2.4rem; }

/* ---------- About teaser / portrait ---------- */
.about-teaser { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(3rem, 7vw, 6.5rem); align-items: center; }
.portrait { position: relative; width: 100%; max-width: 420px; margin: 0 auto; isolation: isolate; }
.portrait::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1; border: 1px solid var(--sage); border-radius: 220px 220px 20px 20px; }
.portrait__frame { overflow: hidden; aspect-ratio: 4 / 5; border-radius: 220px 220px 20px 20px; background: var(--mist); box-shadow: var(--shadow-soft); }
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transition: transform 1.4s var(--ease); }
.portrait:hover .portrait__frame img { transform: scale(1.04); }
.portrait__badge { position: absolute; left: -24px; bottom: 34px; padding: 0.95rem 1.3rem; border-radius: 16px; background: var(--navy); color: #fff; font-family: var(--serif); font-size: 1.15rem; font-style: italic; line-height: 1.2; box-shadow: 0 20px 40px -18px rgba(7, 12, 46, 0.6); }
.portrait__badge small { display: block; margin-bottom: 0.3rem; font-family: var(--sans); font-size: 0.64rem; font-style: normal; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage); }
.portrait__dot { position: absolute; top: 8%; right: -14px; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--sunset), var(--coral)); box-shadow: 0 10px 20px -6px rgba(229, 101, 79, 0.6); }
.about-teaser .btn-row { margin-top: 2.2rem; gap: 1.5rem; }

/* ---------- Closing: sunrise over the footer ---------- */
.closing { position: relative; overflow: hidden; padding: clamp(3.5rem, 7vw, 5.5rem) 0 0; background: linear-gradient(180deg, var(--paper) 0%, var(--mist) 100%); text-align: center; }
.closing .btn-row { justify-content: center; margin-top: 2.4rem; }
.closing__scene { position: relative; height: clamp(230px, 27vw, 330px); margin-top: clamp(2rem, 4vw, 3rem); }
.closing__sun { position: absolute; left: 50%; bottom: 0; width: clamp(260px, 34vw, 460px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #ffe0bf 0%, var(--sunset) 38%, var(--coral) 78%); box-shadow: 0 0 140px 50px rgba(242, 160, 107, 0.35); transform: translate(-50%, 85%); transition: transform 2.8s var(--ease); }
.closing__scene.is-visible .closing__sun { transform: translate(-50%, 42%); }
.closing__covers { position: absolute; inset: auto 0 0; display: flex; justify-content: center; align-items: flex-end; gap: clamp(9rem, 30vw, 26rem); }
.closing__covers .cover-flat { width: clamp(100px, 13vw, 170px); margin-bottom: -6px; transition: transform 0.6s var(--ease); }
.closing__covers a:hover .cover-flat { transform: translateY(-10px) rotate(-1deg); }
.closing + .site-footer .site-footer__glow { background: radial-gradient(35% 60% at 50% 0%, rgba(242, 160, 107, 0.28), transparent 70%); inset: -30% 0 auto; }

/* ---------- Sub-page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(7.5rem, 12vw, 9.5rem) 0 clamp(3rem, 6vw, 4.5rem); background: var(--midnight); }
.page-hero .veil { background: linear-gradient(90deg, rgba(7, 12, 46, 0.94) 0%, rgba(7, 12, 46, 0.7) 50%, rgba(7, 12, 46, 0.45) 100%), linear-gradient(180deg, rgba(7, 12, 46, 0.6), transparent 40%, rgba(7, 12, 46, 0.7)); }
.page-hero .container { position: relative; }
.page-hero__title { font-size: clamp(3rem, 7.2vw, 6rem); }
.page-hero .lead { margin-top: 1.6rem; }
.breadcrumb { display: flex; gap: 0.6rem; margin-bottom: 1.8rem; font-size: 0.8rem; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.55); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span[aria-hidden] { color: var(--coral); }

/* ---------- Books catalogue ---------- */
.catalogue-item { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(3rem, 7vw, 6rem); align-items: center; padding: clamp(2.5rem, 5vw, 4rem) 0; }
.catalogue-item + .catalogue-item { border-top: 1px solid var(--line); }
.catalogue-item:nth-child(even) .catalogue-item__visual { order: 2; }
.catalogue-item__visual { position: relative; display: flex; justify-content: center; padding: clamp(2.2rem, 4.5vw, 3.2rem) 1rem; border-radius: 30px; overflow: hidden; }
.catalogue-item__index { display: block; margin-bottom: 0.4rem; font-family: var(--serif); font-size: clamp(4rem, 8vw, 6rem); font-style: italic; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(14, 22, 80, 0.22); }
.catalogue-item .h2 { margin-bottom: 0.2rem; }
.catalogue-item .book-card__hook { font-size: 1.65rem; }
.catalogue-item .chips { margin: 1.8rem 0 2.2rem; }
.catalogue-item .btn-row { gap: 1rem; }

.buy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.buy-card { display: grid; grid-template-columns: 118px 1fr; gap: 1.7rem; align-items: center; padding: 1.8rem; border-radius: 24px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-light); transition: background-color 0.4s, border-color 0.4s, transform 0.6s var(--ease); }
.buy-card:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(242, 160, 107, 0.35); transform: translateY(-4px); }
.buy-card h3 { font-size: 1.7rem; }
.buy-card .book-card__subtitle { color: rgba(255, 255, 255, 0.5); margin-bottom: 1.2rem; }
.buy-card .btn-row { gap: 1rem; }

/* ---------- Book detail ---------- */
.book-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(3rem, 6vw, 5rem); align-items: center; }
.book-hero__title { font-size: clamp(3.2rem, 7vw, 6.2rem); }
.book-hero__subtitle { display: block; margin-top: 1rem; font-family: var(--sans); font-size: clamp(0.85rem, 1.3vw, 1rem); font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--sage); }
.book-hero__tagline { margin: 1.8rem 0 0; font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-style: italic; line-height: 1.3; color: var(--sunset); }
.book-hero .btn-row { margin-top: 2.4rem; }
.book-hero__visual { position: relative; display: flex; justify-content: center; }
.book-hero__visual .hero__glow { width: 110%; }

.story { font-size: 1.14rem; line-height: 1.85; }
.story > p:first-of-type::first-letter { float: left; margin: 0.08em 0.14em 0 0; font-family: var(--serif); font-size: 4.6em; line-height: 0.8; color: var(--coral); }
.pull-quote { margin: 2.4rem 0 0; padding: 2rem 0 0; border-top: 1px solid var(--line); }
.pull-quote p { font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-style: italic; line-height: 1.28; color: var(--navy); }
.pull-quote cite { display: block; margin-top: 1rem; font-size: 0.74rem; font-style: normal; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.story-tease { margin-top: 2.6rem; display: flex; align-items: center; gap: 1rem; font-size: 0.95rem; color: var(--muted); }
.story-tease::before { content: ""; width: 44px; height: 1px; background: var(--coral); }

.themes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.about-block .themes-grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .themes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .themes-grid, .about-block .themes-grid { grid-template-columns: 1fr; } }
.theme-card { padding: 2rem 1.7rem; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.4s; }
.theme-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--shadow-soft); }
.theme-card__icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 1.4rem; border-radius: 15px; background: var(--sage-soft); color: var(--sage-deep); transition: transform 0.6s var(--ease); }
.theme-card:hover .theme-card__icon { transform: rotate(-8deg) scale(1.06); }
.theme-card:nth-child(3n+2) .theme-card__icon { background: rgba(229, 101, 79, 0.1); color: var(--coral-deep); }
.theme-card:nth-child(3n) .theme-card__icon { background: rgba(39, 83, 179, 0.08); color: var(--ocean); }
.theme-card__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme-card h3 { margin-bottom: 0.5rem; font-size: 1.55rem; }
.theme-card p { margin: 0; font-size: 0.94rem; line-height: 1.65; color: var(--muted); }

.resonate { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.resonate .section-head { margin-bottom: 0; }
.resonate-list li { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.35rem 0; border-bottom: 1px solid var(--line); font-size: 1.06rem; color: var(--ink); }
.resonate-list li:first-child { border-top: 1px solid var(--line); }
.tick { flex: none; display: grid; place-items: center; width: 28px; height: 28px; margin-top: 0.15rem; border-radius: 50%; background: var(--sage-soft); color: var(--sage-deep); }
.tick svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.buy-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding: clamp(2.5rem, 6vw, 4.5rem); border-radius: 34px; background: linear-gradient(150deg, var(--navy-2) 0%, var(--navy) 45%, var(--midnight) 100%); box-shadow: 0 50px 90px -50px rgba(7, 12, 46, 0.8); }
.buy-panel::before { content: ""; position: absolute; right: -10%; bottom: -60%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(229, 101, 79, 0.35), transparent 65%); pointer-events: none; }
.buy-panel > * { position: relative; }
.buy-panel__cover { width: clamp(150px, 18vw, 230px); }
.buy-panel .h2 { margin-bottom: 1rem; }

.also-card { display: grid; grid-template-columns: 130px 1fr; gap: 2rem; align-items: center; padding: 2rem; border-radius: 26px; background: #fff; border: 1px solid var(--line); transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.also-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.also-card h3 { font-size: 1.9rem; }

/* ---------- About page ---------- */
.about-hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(3rem, 6vw, 5rem); align-items: center; }
.about-hero .portrait::before { border-color: rgba(163, 201, 165, 0.5); }
.about-block { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(2rem, 6vw, 5rem); padding: clamp(2rem, 4vw, 3rem) 0; }
.about-block + .about-block { border-top: 1px solid var(--line); }
.about-block__label { position: sticky; top: 110px; align-self: start; }
.about-block__num { display: block; margin-bottom: 0.8rem; font-family: var(--serif); font-size: 1.1rem; font-style: italic; color: var(--coral); }
.about-block__content { font-size: 1.1rem; }
.about-block__content .h3 { margin-bottom: 1.2rem; }
.placeholder-note { margin-top: 1.6rem; padding: 1rem 1.2rem; border: 1px dashed rgba(86, 135, 95, 0.55); border-radius: 14px; background: var(--sage-soft); font-size: 0.88rem; line-height: 1.6; color: var(--sage-deep); }
.placeholder-note strong { letter-spacing: 0.08em; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 0.8fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form-card { position: relative; z-index: 2; margin-top: clamp(-7rem, -9vw, -4rem); padding: clamp(1.8rem, 4vw, 3.2rem); border-radius: 28px; background: #fff; box-shadow: 0 1px 0 var(--line), 0 40px 80px -40px rgba(7, 12, 46, 0.45); }
.form-card .h3 { margin-bottom: 0.6rem; }
.form-card > p { color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { position: relative; margin-bottom: 1.4rem; }
.field__label { display: block; margin-bottom: 0.5rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.field__input { width: 100%; padding: 1rem 1.1rem; border: 1px solid rgba(18, 24, 56, 0.14); border-radius: 14px; background: var(--paper); font: inherit; font-size: 1rem; color: var(--ink); transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s; }
.field__input::placeholder { color: #9aa0b8; }
.field__input:hover { border-color: rgba(18, 24, 56, 0.28); }
.field__input:focus { outline: none; border-color: var(--ocean); background: #fff; box-shadow: 0 0 0 4px rgba(39, 83, 179, 0.1); }
textarea.field__input { min-height: 190px; resize: vertical; }
.field__error { display: none; margin-top: 0.45rem; font-size: 0.82rem; color: var(--coral-deep); }
.has-error .field__input { border-color: var(--coral); background: #fffaf9; }
.has-error .field__error { display: block; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.form-footer small { color: var(--muted); }
.alert { margin-bottom: 1.8rem; padding: 1.05rem 1.3rem; border-radius: 16px; font-size: 0.95rem; animation: alert-in 0.7s var(--ease) both; }
.alert--success { background: var(--sage-soft); border: 1px solid rgba(86, 135, 95, 0.3); color: var(--sage-deep); }
.alert--error { background: rgba(229, 101, 79, 0.08); border: 1px solid rgba(229, 101, 79, 0.3); color: var(--coral-deep); }
@keyframes alert-in { from { opacity: 0; transform: translateY(-10px); } }
.aside-card { padding: 2.1rem; border-radius: 24px; background: var(--mist); }
.aside-card + .aside-card { margin-top: 1.2rem; }
.aside-card .h3 { font-size: 1.7rem; margin-bottom: 0.8rem; }
.aside-card--dark { background: linear-gradient(160deg, var(--navy), var(--midnight)); }
.aside-books { display: flex; gap: 1rem; margin: 1.4rem 0 1.6rem; }
.aside-books a { width: 88px; transition: transform 0.5s var(--ease); }
.aside-books a:hover { transform: translateY(-6px); }
.contact-list li { display: flex; gap: 0.8rem; padding: 0.55rem 0; font-size: 0.97rem; }
.contact-list li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 0.62em; border-radius: 50%; background: var(--sage-deep); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr 0.9fr; }
}
@media (max-width: 960px) {
  .hero { padding-top: 120px; }
  .hero__inner, .spotlight__grid, .about-teaser, .catalogue-item, .book-hero__grid, .resonate, .about-hero__grid, .about-block, .contact-grid { grid-template-columns: 1fr; }
  .hero__books { height: clamp(400px, 80vw, 540px); max-width: 560px; width: 100%; margin: 0 auto; }
  .spotlight--reverse .spotlight__visual, .catalogue-item:nth-child(even) .catalogue-item__visual { order: 0; }
  .about-block__label { position: static; }
  .book-hero__visual { order: -1; margin-bottom: 1rem; }
  .form-card { margin-top: -3rem; }
  .about-hero .portrait { max-width: 340px; }
}
@media (max-width: 760px) {
  .book-cards, .buy-grid { grid-template-columns: 1fr; }
  .buy-panel, .also-card { grid-template-columns: 1fr; text-align: left; }
  .buy-panel__cover { width: 160px; }
  .also-card { grid-template-columns: 96px 1fr; gap: 1.3rem; padding: 1.4rem; }
  .field-row { grid-template-columns: 1fr; }
  .page-hero { padding-top: 6.5rem; }
  .book-hero .book3d-wrap { --w: 175px !important; }
  .book-hero__visual { margin-bottom: 0.5rem; }
  .portrait__badge { left: -8px; }
  .hero__scroll { display: none; }
}
@media (max-width: 480px) {
  .buy-card { grid-template-columns: 88px 1fr; gap: 1.1rem; padding: 1.3rem; }
  .btn { padding: 0.95rem 1.4rem; }
}
