/* =====================================================================
   Eva Maria Massing — GFK & Gelcoat
   Plum & Roségold (dunkel) · Playfair Display + Inter · build-less
   ===================================================================== */
:root {
    color-scheme: dark;
    --max: 1180px;
    --gutter: clamp(1.1rem, 4vw, 2.5rem);

    --fs-300: clamp(0.85rem, 0.82rem + 0.15vw, 0.95rem);
    --fs-400: clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
    --fs-500: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
    --fs-600: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem);
    --fs-700: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem);
    --fs-900: clamp(3rem, 1.7rem + 6vw, 6.8rem);

    --bg:        #160E1A;
    --bg-2:      #1A1020;
    --surface:   #1F1426;
    --surface-2: #271832;
    --border:    rgba(255, 255, 255, 0.10);
    --border-2:  rgba(255, 255, 255, 0.18);
    --text:      #F4ECF1;
    --text-soft: #DAC9D4;
    --muted:     #A98FA4;

    --rose:    #E8B4B8;
    --magenta: #C98BBA;
    --gold:    #D9B68C;
    --grad: linear-gradient(110deg, var(--rose), var(--magenta) 55%, var(--gold));
    --glass: rgba(31, 20, 38, 0.55);
    --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
    --glow: color-mix(in oklab, var(--magenta) 60%, transparent);

    --radius: 18px;
    --radius-s: 8px;
    --on-accent: #2a132a;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: var(--fs-400);
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text);
    text-wrap: balance;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--rose); text-decoration: none; }
/* Inline-Links im Fliesstext zusaetzlich unterstreichen (Farbe allein < 3:1 zum Umgebungstext, WCAG 1.4.1) */
.about-text a, .legal a { text-decoration: underline; text-underline-offset: 0.15em; }
::selection { background: color-mix(in oklab, var(--magenta) 40%, transparent); color: #fff; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.gradient-text {
    background: var(--grad); background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: shimmer 9s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }
@media (prefers-reduced-motion: reduce) { .gradient-text { animation: none; } }


/* ---------- Skip link ---------- */
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 1000; background: var(--rose); color: var(--on-accent); padding: 0.7rem 1.1rem; border-radius: 0 0 10px 10px; font-weight: 600; transition: top 0.25s var(--ease); }
.skip-link:focus { top: 0; }

/* ---------- Ambient background ---------- */
.aurora {
    position: fixed; inset: -20vmax; z-index: -2; pointer-events: none;
    filter: blur(75px) saturate(135%); opacity: 0.65;
    background:
        radial-gradient(38vmax 38vmax at 16% 14%, color-mix(in oklab, var(--magenta) 60%, transparent), transparent 60%),
        radial-gradient(34vmax 34vmax at 84% 20%, color-mix(in oklab, var(--rose) 50%, transparent), transparent 60%),
        radial-gradient(40vmax 40vmax at 78% 86%, color-mix(in oklab, var(--gold) 42%, transparent), transparent 62%),
        radial-gradient(30vmax 30vmax at 12% 88%, color-mix(in oklab, var(--magenta) 45%, transparent), transparent 60%);
    animation: drift 30s ease-in-out infinite alternate;
}
@keyframes drift {
    0% { transform: translate3d(0,0,0) rotate(0deg) scale(1); }
    100% { transform: translate3d(-3%, 2%, 0) rotate(-6deg) scale(1.06); }
}
.grain {
    position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce) { .aurora { animation: none; } }

/* ---------- Cursor glow ---------- */
.cursor-glow {
    position: fixed; top: 0; left: 0; width: 440px; height: 440px; margin: -220px 0 0 -220px;
    border-radius: 50%; pointer-events: none; z-index: 0; opacity: 0;
    background: radial-gradient(circle, var(--glow), transparent 65%); mix-blend-mode: screen;
    transition: opacity 0.4s var(--ease); transform: translate3d(var(--x, 50vw), var(--y, 50vh), 0); will-change: transform;
}
body.cursor-active .cursor-glow { opacity: 0.5; }
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) { .cursor-glow { display: none; } }

/* ---------- Scroll progress ---------- */
.progress-bar { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200; background: var(--grad); transform: scaleX(var(--sp, 0)); transform-origin: left center; }
@supports (animation-timeline: scroll()) {
    .progress-bar { animation: grow linear; animation-timeline: scroll(root); }
    @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(14px) saturate(150%); background: var(--glass); border-bottom: 1px solid transparent; transition: border-color 0.4s var(--ease); }
body.scrolled .site-header { border-bottom-color: var(--border); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--text); }
.logo-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; font-family: "Playfair Display", serif; font-weight: 700; font-size: 1rem; color: var(--on-accent); background: var(--grad); box-shadow: 0 6px 18px -6px var(--glow); }
.logo-text { font-family: "Playfair Display", serif; font-weight: 600; font-size: 1.05rem; letter-spacing: 0.01em; }
.primary-nav ul { list-style: none; display: flex; gap: clamp(0.4rem, 2vw, 1.6rem); }
.primary-nav a { position: relative; color: var(--text-soft); font-weight: 500; font-size: 0.95rem; padding: 0.4rem 0.2rem; transition: color 0.25s var(--ease); }
.primary-nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.primary-nav a:hover, .primary-nav a.active, .primary-nav a[aria-current="page"] { color: var(--text); }
.primary-nav a:hover::after, .primary-nav a.active::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.hamburger { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; place-items: center; border: 1px solid var(--border); border-radius: 11px; background: var(--surface-2); color: var(--text); cursor: pointer; }
.hamburger span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.85rem 1.6rem; border-radius: 8px; font-weight: 600; font-size: 0.98rem; cursor: pointer; border: 1px solid transparent; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease); }
.btn-primary { color: var(--on-accent); background: var(--grad); background-size: 160% auto; box-shadow: 0 12px 30px -12px var(--glow); }
.btn-primary:hover { transform: translateY(-3px); background-position: right center; box-shadow: 0 20px 40px -14px var(--glow); }
.btn-ghost { color: var(--text); border-color: var(--border-2); background: color-mix(in oklab, var(--surface) 50%, transparent); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--rose); }
.btn-arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- Section scaffolding ---------- */
.section { padding-block: clamp(4rem, 10vw, 8rem); position: relative; }
.section-kicker { font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rose); margin-bottom: 0.9rem; }
.section-head { max-width: 46ch; margin-bottom: clamp(2.2rem, 6vw, 3.5rem); }
.section-head h2 { font-size: var(--fs-700); }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding-block: clamp(6rem, 12vh, 9rem) 4rem; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; width: 100%; }
.hero-content { display: flex; flex-direction: column; align-items: flex-start; }
.hero-eyebrow { font-size: var(--fs-300); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem; padding: 0.4rem 0.95rem; border: 1px solid var(--border); border-radius: 7px; background: color-mix(in oklab, var(--surface) 40%, transparent); }
.hero-title { font-size: var(--fs-900); margin-bottom: 0.8rem; }
.hero-roles { font-family: "Playfair Display", serif; font-style: italic; font-size: var(--fs-600); color: var(--text-soft); margin-bottom: 1.4rem; }
.hero-lead { max-width: 52ch; color: var(--muted); font-size: var(--fs-500); margin-bottom: 2.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-figure { position: relative; margin: 0; justify-self: center; width: min(100%, 400px); }
.hero-figure::before { content: ""; position: absolute; inset: -8%; z-index: -1; border-radius: 30px; background: var(--grad); filter: blur(58px); opacity: 0.5; }
.hero-portrait { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--border-2); box-shadow: var(--shadow); }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge { position: absolute; left: 50%; bottom: -14px; translate: -50% 0; display: inline-flex; align-items: center; padding: 0.55rem 1.05rem; border-radius: 7px; font-size: 0.84rem; font-weight: 600; color: var(--text); white-space: nowrap; background: var(--glass); border: 1px solid var(--border-2); backdrop-filter: blur(12px) saturate(160%); box-shadow: var(--shadow); }

/* ---------- About ---------- */
.about-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-figure { position: relative; margin: 0; }
.about-figure::before { content: ""; position: absolute; inset: -6%; z-index: -1; border-radius: 30px; background: var(--grad); filter: blur(55px); opacity: 0.32; }
.about-figure img { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--border-2); box-shadow: var(--shadow); }
.about-inner h2 { font-size: var(--fs-700); margin-bottom: 1.6rem; }
.about-text p { color: var(--text-soft); margin-bottom: 1.1rem; max-width: 60ch; }
@media (max-width: 760px) { .about-inner { grid-template-columns: 1fr; } .about-figure { max-width: 340px; margin-inline: auto; } }

/* ---------- Cards (Expertise) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(1rem, 3vw, 1.6rem); }
.card { position: relative; padding: clamp(1.6rem, 3vw, 2.2rem); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; transition: transform 0.4s var(--ease), border-color 0.4s var(--ease); }
.card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.card:hover { transform: translateY(-6px); border-color: var(--border-2); }
.card:hover::after { transform: scaleX(1); }
.card-index { font-family: "Playfair Display", serif; font-size: 1rem; color: var(--rose); opacity: 0.7; }
.card h3 { font-size: var(--fs-500); margin: 0.7rem 0 0.8rem; }
.card p { color: var(--muted); font-size: 0.97rem; }





/* ---------- Contact ---------- */
.contact-inner { max-width: 720px; text-align: center; margin-inline: auto; }
.contact-inner h2 { font-size: var(--fs-700); margin-bottom: 1rem; }
.contact-lead { color: var(--muted); font-size: var(--fs-500); margin-bottom: 2rem; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding-block: 2.2rem; margin-top: 2rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; align-items: center; justify-content: space-between; color: var(--muted); font-size: 0.9rem; }

/* ---------- Button-Reihe (ehem. Inline-Style — CSP-konform: style-src 'self') ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.6rem; }

/* ---------- Reveal ---------- */
/* Nur verstecken, wenn JS laeuft — sonst bleibt der Inhalt ohne JS unsichtbar.
   scripting:enabled matcht genau dann, wenn script.js die .reveal wieder einblendet. */
.reveal { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
@media (scripting: enabled) { .reveal { opacity: 0; transform: translateY(30px); } }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .hero { min-height: auto; padding-block: clamp(5rem, 14vh, 7rem) 3.5rem; }
    .hero-inner { grid-template-columns: 1fr; gap: 2.6rem; }
    .hero-figure { width: min(70%, 280px); order: -1; }
}
@media (max-width: 720px) {
    .hamburger { display: grid; }
    /* visibility:hidden nimmt die geschlossenen Links aus Tab-Reihenfolge/AT (verzoegert bis nach dem Slide-Up); Animation bleibt */
    .primary-nav { position: fixed; inset: 70px 0 auto 0; background: var(--bg-2); border-bottom: 1px solid var(--border); max-height: 0; overflow: hidden; visibility: hidden; transition: max-height 0.45s var(--ease), visibility 0s 0.45s; }
    .primary-nav.open { max-height: 70svh; overflow-y: auto; visibility: visible; transition: max-height 0.45s var(--ease); }
    .primary-nav ul { flex-direction: column; padding: 1rem var(--gutter) 1.6rem; gap: 0.3rem; }
    .primary-nav a { display: block; padding: 0.8rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
    .logo-text { display: none; }
    .footer-inner { flex-direction: column; text-align: center; }
}

/* ---------- Footer nav ---------- */
.footer-nav { display: flex; gap: 1.4rem; }
.footer-nav a { color: var(--muted); }
.footer-nav a:hover { color: var(--rose); }
.footer-verbund { flex-basis: 100%; font-size: 0.82rem; color: var(--muted); }
.footer-verbund a { color: var(--muted); text-decoration: underline; }
.footer-verbund a:hover { color: var(--rose); }

/* ---------- Werdegang (Timeline) ---------- */
.timeline { position: relative; display: grid; gap: clamp(1.2rem, 3vw, 2rem); padding-left: 2.2rem; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--magenta), color-mix(in oklab, var(--gold) 70%, transparent), transparent); }
.tl-item { position: relative; padding: clamp(1.3rem, 3vw, 1.9rem); border: 1px solid var(--border); border-radius: var(--radius); background: color-mix(in oklab, var(--surface) 70%, transparent); backdrop-filter: blur(6px); transition: border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.tl-item:hover { border-color: var(--border-2); transform: translateX(4px); }
.tl-dot { position: absolute; left: -2.2rem; top: 2rem; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--rose); box-shadow: 0 0 0 4px color-mix(in oklab, var(--rose) 18%, transparent); }
.tl-tag { display: inline-block; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rose); margin-bottom: 0.4rem; }
.tl-item h3 { font-size: var(--fs-500); margin-bottom: 0.3rem; }
.tl-org { color: var(--muted); margin-bottom: 0.5rem; font-size: 0.95rem; }
.tl-list { list-style: none; display: grid; gap: 0.4rem; margin-top: 0.5rem; }
.tl-list li { position: relative; padding-left: 1.2rem; color: var(--text-soft); }
.tl-list li::before { content: "▹"; position: absolute; left: 0; color: var(--rose); }

/* ---------- Qualifikationen ---------- */
.qual-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--border); }
.qual-list li { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start; padding: clamp(1.1rem, 2.5vw, 1.5rem) 0; border-bottom: 1px solid var(--border); }
.qual-badge { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: color-mix(in oklab, var(--rose) 16%, transparent); color: var(--rose); font-weight: 700; }
.qual-list h3 { font-size: var(--fs-500); margin-bottom: 0.2rem; }
.qual-list p { color: var(--muted); }

/* ---------- Buch ---------- */
.book { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.book-cover { perspective: 1200px; }
.book-cover img { width: 100%; border-radius: 8px; box-shadow: 0 30px 60px -22px rgba(0,0,0,0.6), 0 8px 18px -8px rgba(0,0,0,0.4); transform: rotateY(-9deg) rotateX(2deg); transition: transform 0.6s var(--ease); }
.book-cover img:hover { transform: rotateY(0) rotateX(0) scale(1.02); }
.book-body h3 { font-size: var(--fs-600); margin-bottom: 0.4rem; }
.book-sub { font-style: italic; color: var(--text-soft); font-size: var(--fs-500); margin-bottom: 1rem; }
.book-body > p { color: var(--muted); margin-bottom: 1.2rem; max-width: 54ch; }
.book-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem; }
.book-facts li { font-size: 0.82rem; padding: 0.4rem 0.9rem; border-radius: var(--radius-s); border: 1px solid var(--border); background: var(--surface-2); color: var(--text-soft); }
.book-link { font-weight: 600; }

/* Buch-Detailseite: Bezugsquellen-Chips, ISBN-Zeile, Teil-Uebersicht */
.shop-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem 0.6rem; margin-top: 1rem; }
.shop-row-label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-right: 0.25rem; }
.shop-chip { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 0.95rem; border: 1px solid var(--border-2); border-radius: var(--radius-s); font-size: 0.92rem; font-weight: 600; color: var(--text-soft); background: var(--surface); transition: color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.shop-chip:hover { color: var(--rose); border-color: var(--rose); transform: translateY(-2px); }
.shop-chip .ext { font-size: 0.8em; opacity: 0.75; }
.shop-chip-primary { border-color: color-mix(in oklab, var(--rose) 55%, var(--border-2)); color: var(--text); }
.book-note { margin-top: 0.9rem; font-size: 0.88rem; font-weight: 500; color: var(--rose); }
.section-head h1 { font-size: var(--fs-700); }
.section-head .book-sub { margin-top: 0.7rem; color: var(--text-soft); font-size: var(--fs-500); max-width: 62ch; }
.toc-list { list-style: none; max-width: 760px; border-top: 1px solid var(--border); }
.toc-list li { display: grid; grid-template-columns: 96px 1fr; gap: 1.4rem; align-items: baseline; padding: 0.95rem 0; border-bottom: 1px solid var(--border); }
.toc-num { color: var(--rose); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; }
.toc-list h3 { font-size: 1.05rem; }
@media (max-width: 720px) { .toc-list li { grid-template-columns: 72px 1fr; gap: 0.9rem; } }
.book-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.4rem; margin-top: 0.4rem; }
@media (prefers-reduced-motion: reduce) { .book-cover img { transform: none; } }

/* ---------- Contact links ---------- */
.contact-links { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; margin-top: 1.4rem; }
.contact-links a { color: var(--text-soft); font-weight: 500; }
.contact-links a:hover { color: var(--rose); }

/* ---------- Legal pages ---------- */
.legal { padding-block: clamp(3rem, 8vw, 6rem); min-height: 70svh; }
.legal .container { max-width: 820px; }
.legal-back { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--muted); font-weight: 500; margin-bottom: 1.6rem; }
.legal-back:hover { color: var(--rose); }
.legal h1 { font-size: var(--fs-700); margin-bottom: 1.5rem; }
.legal h2 { font-size: var(--fs-500); margin-top: 2.4rem; margin-bottom: 0.8rem; color: var(--text); }
.legal p, .legal li { color: var(--text-soft); }
.legal p { margin-bottom: 0.9rem; }
.legal ul { padding-left: 1.3rem; margin-bottom: 0.9rem; display: grid; gap: 0.4rem; }
.legal address { font-style: normal; color: var(--text-soft); line-height: 1.9; }
.legal .updated { margin-top: 2.6rem; font-size: 0.88rem; color: var(--muted); }

@media (max-width: 860px) {
    .book { grid-template-columns: 1fr; gap: 2rem; }
    .book-cover { max-width: 230px; margin-inline: auto; }
    .book-cover img { transform: none; }
}

@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
