:root {
  --purple: #8a02f1;
  --purple-20: rgba(138, 2, 241, .20);
  --purple-soft: #f1e2fc;
  --wine: #842d2d;
  --ink: #242226;
  --muted: #666168;
  --paper: #fbfbfa;
  --mist: #f1f0ee;
  --line: rgba(36, 34, 38, .17);
  --serif: "Source Serif 4", Georgia, serif;
  --sans: Inter, Arial, sans-serif;
  --wide: "Libre Franklin", Inter, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 100; padding: .7rem 1rem; background: #fff; }
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { min-height: 6.35rem; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem clamp(1.4rem, 5vw, 5.8rem); background: rgba(251,251,250,.96); border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.brand { text-decoration: none; display: flex; align-items: baseline; gap: .9rem; font-family: var(--wide); text-transform: uppercase; letter-spacing: .15em; }
.brand span { font-weight: 600; }
.brand small { color: var(--wine); font-size: .66rem; letter-spacing: .18em; }
.site-header nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.25rem); }
.site-header nav a { font-size: .76rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; text-decoration: none; }
.nav-contact { border-bottom: 1px solid var(--ink); padding-bottom: .15rem; }

.hero { min-height: min(48rem, calc(100vh - 6.35rem)); display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); background: #f7f4f1; border-bottom: 1px solid var(--line); }
.hero-photo { min-height: 42rem; background: url("assets/peter-vollmer-hero.jpg") 50% 22% / cover no-repeat; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem, 7vw, 7rem) clamp(2rem, 6vw, 6.5rem); color: #343136; background: rgba(255, 253, 250, .89); }
.eyebrow { margin: 0 0 1rem; font: 600 .76rem/1.2 var(--wide); letter-spacing: .19em; text-transform: uppercase; color: var(--wine); }
h1, h2, h3 { margin-top: 0; }
h1 { margin-bottom: 1.7rem; font: 600 clamp(2.5rem, 3.5vw, 3rem)/1 var(--serif); letter-spacing: -.035em; color: var(--wine); text-wrap: balance; }
.intro { max-width: 39rem; margin: 0 0 2rem; font-size: clamp(.98rem, 1.15vw, 1.08rem); line-height: 1.58; color: #4c494e; }
.intro p { margin: 0 0 .8rem; }
.intro p:last-child { margin-bottom: 0; }
.intro a { color: var(--wine); text-underline-offset: .16em; }
.text-link { display: inline-flex; gap: .5rem; align-items: center; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; }
.hero-link { color: var(--wine); }

.books-section { padding: clamp(5rem, 8vw, 8.5rem) clamp(1.4rem, 5vw, 5.8rem); background: #fff; }
.section-heading { display: grid; grid-template-columns: minmax(12rem, .7fr) 1.3fr; gap: 3rem; align-items: end; max-width: 78rem; margin: 0 auto 3.5rem; border-bottom: 1px solid var(--line); padding-bottom: 2rem; }
.section-heading .eyebrow { margin-bottom: .25rem; }
.section-heading h2 { font: 600 clamp(2.4rem, 4.4vw, 4.5rem)/1.02 var(--serif); letter-spacing: -.035em; margin-bottom: 0; }
.feature-grid { max-width: 90rem; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.9rem, 1.6vw, 1.4rem); align-items: stretch; }
.feature-item { min-width: 0; display: flex; flex-direction: column; }
.card-heading { margin: 0 0 1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); font: 600 clamp(1.55rem, 2.2vw, 2.15rem)/1.05 var(--serif); letter-spacing: -.025em; color: var(--ink); }
.tile { --tile-pad: clamp(1.35rem, 2.4vw, 2.4rem); min-width: 0; height: 100%; border: 1px solid rgba(255,255,255,.78); padding: var(--tile-pad); background: rgba(255,255,255,.91); box-shadow: 0 16px 38px rgba(36,34,38,.09); backdrop-filter: blur(9px); display: flex; flex-direction: column; }
.tile-label { color: var(--wine); font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.7rem; }
.tile h3 { font: 600 clamp(1.75rem, 2.5vw, 2.65rem)/1.05 var(--serif); letter-spacing: -.025em; margin-bottom: .65rem; }
.author { margin: 0 0 .35rem; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.subtitle { color: var(--wine); margin: -.25rem 0 1.25rem; font-weight: 600; }
.book-layout, .product-layout { display: flex; flex-direction: column; flex: 1; gap: 1.5rem; }
.cover-stage, .mini-cover, .product-visual, .contact-visual { width: min(100%, 13.5rem); aspect-ratio: 4 / 5; align-self: center; background: var(--mist); padding: 1rem; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-visual, .contact-visual { width: 100%; max-width: 20rem; aspect-ratio: 2 / 3; padding: clamp(1rem, 2vw, 1.6rem); }
.product-tile .product-visual { width: calc(100% + var(--tile-pad) + var(--tile-pad) - .8rem); max-width: none; margin-inline: calc(.4rem - var(--tile-pad)); padding: .35rem; }
.cover-stage img, .mini-cover img, .product-visual img, .contact-visual img { display: block; width: 100%; height: 100%; object-fit: contain; box-shadow: 0 18px 35px rgba(35,22,42,.23); }
.product-visual img { box-shadow: none; filter: drop-shadow(0 18px 22px rgba(35,22,42,.22)); }
.product-visual--book img { width: 100%; height: 100%; }
.contact-visual img { object-fit: cover; }
.book-copy p:not(.author):not(.subtitle), .upcoming-inner p:not(.subtitle) { color: var(--muted); }
.book-copy { display: flex; flex-direction: column; flex: 1; align-items: flex-start; }
.book-copy .button { margin-top: auto; }
.product-description-space { min-height: 9rem; flex: 1; }
.order-price { margin: .35rem 0 0; color: var(--ink) !important; font: 600 1.25rem/1.2 var(--serif); }
.order-note { margin: .45rem 0 1rem; color: var(--muted) !important; font-size: .78rem; line-height: 1.45; }
.order-note a { color: var(--wine); text-underline-offset: .15em; }
.button { display: inline-block; margin-top: 1rem; padding: .8rem 1.05rem; background: var(--wine); color: #fff; font-size: .74rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: #662222; }
.upcoming-inner { display: flex; flex-direction: column; flex: 1; gap: 1.5rem; }
.mini-cover { padding: 1rem; }
.note { font-style: italic; font-family: var(--serif); }
.contact-tile { background: rgba(248, 245, 239, .94); color: var(--ink); display: flex; flex-direction: column; }
.contact-visual { margin-bottom: 1.5rem; }
.contact-tile .tile-label { color: var(--wine); }
.contact-tile p { color: var(--muted); }
.social-links { display: flex; align-items: center; gap: .75rem; margin: 1.5rem 0 1.7rem; }
.social-button { width: 3rem; height: 3rem; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.82); color: var(--wine); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 7px 18px rgba(36,34,38,.08); transition: transform .2s ease, color .2s ease, border-color .2s ease, background .2s ease; }
.social-button:hover { transform: translateY(-2px); color: #fff; border-color: var(--wine); background: var(--wine); }
.social-button:focus-visible { outline: 3px solid rgba(132,45,45,.28); outline-offset: 3px; }
.social-button svg { width: 1.35rem; height: 1.35rem; fill: currentColor; }
.social-button:nth-child(2) svg rect, .social-button:nth-child(2) svg circle:not(.icon-dot) { fill: none; stroke: currentColor; stroke-width: 1.8; }
.social-button:nth-child(2) .icon-dot { fill: currentColor; stroke: none; }
.button-light { background: var(--wine); color: #fff; text-align: center; margin-top: auto; }
.contact-actions { margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--line); display: grid; gap: .8rem; }
.contact-actions .button { width: 100%; margin-top: 0; text-align: center; }
.newsletter-copy { margin: 0 0 .2rem; color: var(--ink) !important; font-family: var(--serif); font-size: 1.05rem; line-height: 1.4; }
.newsletter-button { background: transparent; color: var(--wine); box-shadow: inset 0 0 0 1px var(--wine); }
.newsletter-button:hover { background: #f6ece9; color: #662222; }

.archive-heading { max-width: 78rem; margin: clamp(4.8rem, 8vw, 8rem) auto 2.5rem; border-bottom: 1px solid var(--line); padding-bottom: 1.6rem; }
.archive-heading h2 { margin: 0; font: 600 clamp(1.55rem, 2.2vw, 2.15rem)/1.05 var(--serif); letter-spacing: -.025em; color: var(--ink); }
.archive-grid { max-width: 78rem; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 3rem); }
.archive-book { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.archive-cover { width: 100%; aspect-ratio: 2 / 3; padding: clamp(1rem, 2vw, 1.6rem); margin-bottom: 1.5rem; background: var(--mist); display: flex; align-items: center; justify-content: center; }
.archive-cover img { width: 100%; height: 100%; object-fit: contain; box-shadow: 0 17px 34px rgba(35,22,42,.19); }
.archive-book h3 { min-height: 3.2em; margin: 0 0 1rem; font: 600 clamp(1.4rem, 2vw, 2rem)/1.08 var(--serif); letter-spacing: -.02em; }
.archive-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: auto; }
.archive-actions .button { margin-top: 0; }
.button-outline { background: transparent; color: var(--wine); box-shadow: inset 0 0 0 1px var(--wine); }
.button-outline:hover { background: #f6ece9; color: #662222; }

.detail-page { background: #f7f4f1; }
.detail-page .site-header { background: rgba(251,251,250,.98); }
.detail-main { padding: clamp(3.5rem, 7vw, 7rem) clamp(1.4rem, 5vw, 5.8rem); }
.detail-shell { max-width: 72rem; margin: 0 auto; }
.back-link { margin-bottom: 2.2rem; color: var(--wine); }
.detail-grid { display: grid; grid-template-columns: minmax(15rem, .72fr) minmax(0, 1.28fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.detail-cover { padding: clamp(1.2rem, 2vw, 2rem); background: #fff; box-shadow: 0 16px 38px rgba(36,34,38,.09); }
.detail-cover img { width: 100%; aspect-ratio: 2 / 3; object-fit: contain; box-shadow: 0 17px 34px rgba(35,22,42,.18); }
.detail-copy .author { margin-bottom: .8rem; }
.detail-copy h1 { max-width: 15ch; margin-bottom: .75rem; font-size: clamp(2.35rem, 5vw, 4.6rem); line-height: .98; color: var(--ink); }
.detail-subtitle { margin: 0 0 2rem; color: var(--wine); font: 600 clamp(1.15rem, 2vw, 1.5rem)/1.25 var(--serif); }
.detail-summary { max-width: 43rem; font-size: clamp(1.02rem, 1.35vw, 1.16rem); color: #4c494e; }
.detail-meta { margin: 2rem 0; padding: 1.35rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem 2rem; color: var(--muted); font-size: .9rem; }
.detail-meta p { margin: 0; }
.detail-meta strong { color: var(--ink); }
.detail-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.detail-actions .button { margin-top: 0; }
.voices { margin-top: clamp(3.5rem, 7vw, 6rem); padding: clamp(1.7rem, 3vw, 3rem); background: rgba(255,255,255,.9); border-top: 3px solid var(--wine); box-shadow: 0 16px 38px rgba(36,34,38,.07); }
.voices h2 { margin-bottom: 1rem; font: 600 clamp(1.8rem, 3vw, 2.8rem)/1.05 var(--serif); }
.voices p { max-width: 52rem; margin: 0; color: var(--muted); }
.voice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.8rem 0 2rem; }
.voice-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.voice-card { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; margin: 0; padding: 1.4rem; background: #f7f4f1; border: 1px solid var(--line); }
.voice-card blockquote { margin: 0 0 1.25rem; color: #4c494e; font: 500 1rem/1.62 var(--serif); }
.voice-card figcaption { color: var(--wine); font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.rating { display: inline-flex; align-items: center; gap: .75rem; margin-bottom: 1rem; color: var(--wine); font-weight: 600; }
.source-note { margin-top: 1.5rem !important; font-size: .78rem; }
.source-note a { color: var(--wine); text-underline-offset: .15em; }

.legal-main { padding: clamp(3.5rem, 7vw, 7rem) clamp(1.4rem, 5vw, 5.8rem); background: #f7f4f1; }
.legal-shell { max-width: 64rem; margin: 0 auto; }
.legal-shell > h1 { max-width: none; color: var(--ink); font-size: clamp(2.4rem, 5vw, 4.8rem); }
.legal-intro { max-width: 48rem; margin-bottom: 2.5rem; color: var(--muted); font-size: 1.08rem; }
.legal-section { margin-top: 1.25rem; padding: clamp(1.6rem, 3vw, 2.6rem); background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.8); box-shadow: 0 14px 32px rgba(36,34,38,.07); }
.legal-section h2 { margin-bottom: 1rem; font: 600 clamp(1.75rem, 3vw, 2.6rem)/1.08 var(--serif); }
.legal-section h3 { margin: 1.7rem 0 .6rem; font: 600 1.28rem/1.2 var(--serif); color: var(--wine); }
.legal-section p, .legal-section li { color: #4c494e; }
.legal-section ol, .legal-section ul { padding-left: 1.3rem; }
.legal-section address { font-style: normal; color: #4c494e; }
.price-table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; }
.price-table th, .price-table td { padding: .8rem .65rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price-table th:last-child, .price-table td:last-child { text-align: right; white-space: nowrap; }
.legal-callout { margin: 1.25rem 0; padding: 1rem 1.15rem; background: #f6ece9; border-left: 3px solid var(--wine); }
.legal-action { margin-top: 1.5rem; }
.legal-action .button { margin-top: 0; }
.form-lines { padding: 1.2rem; background: #f7f4f1; border: 1px solid var(--line); white-space: pre-line; color: #4c494e; }

.blog-section { padding: clamp(5rem, 8vw, 8rem) clamp(1.4rem, 8vw, 8.5rem); background: linear-gradient(135deg, #f4eef1, var(--paper) 62%); }
.blog-heading { max-width: 78rem; margin: 0 auto 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.blog-heading h2 { margin: 0; font: 600 clamp(2.5rem, 4.5vw, 4.5rem)/1 var(--serif); letter-spacing: -.035em; color: var(--ink); }
.blog-grid { max-width: 78rem; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); align-items: stretch; }
.blog-card { min-width: 0; min-height: 16rem; padding: clamp(1.6rem, 2.5vw, 2.5rem); background: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.8); box-shadow: 0 16px 38px rgba(36,34,38,.09); backdrop-filter: blur(9px); }
.blog-card h3 { margin: 0 0 1rem; font: 600 clamp(1.6rem, 2.2vw, 2.15rem)/1.08 var(--serif); letter-spacing: -.025em; color: var(--wine); }
.blog-card p { margin: 0; color: var(--muted); }

footer { background: #171519; color: #fff; padding: 2.2rem clamp(1.4rem, 5vw, 5.8rem); display: grid; grid-template-columns: 1fr auto auto; gap: 2rem; align-items: center; font-size: .8rem; }
footer div { display: flex; gap: 1rem; align-items: baseline; }
footer strong { font-family: var(--wide); letter-spacing: .12em; text-transform: uppercase; }
footer span, footer p { color: rgba(255,255,255,.6); }
footer nav { display: flex; gap: 1.2rem; }
footer a { text-decoration: none; }

@media (max-width: 1050px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .contact-tile .button-light { margin-top: 1rem; max-width: 18rem; }
}
@media (max-width: 780px) {
  .site-header { min-height: auto; align-items: flex-start; gap: 1rem; }
  .brand { flex-direction: column; gap: .2rem; }
  .site-header nav a:not(.nav-contact) { display: none; }
  .hero { min-height: 0; grid-template-columns: 1fr; }
  .hero-copy { padding: 4.5rem 1.4rem; }
  .hero-photo { min-height: 34rem; background-position: 50% 18%; }
  h1 { font-size: clamp(2.5rem, 11vw, 3rem); }
  .section-heading { grid-template-columns: 1fr; gap: .8rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card { min-height: 0; }
  .archive-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .archive-cover { max-width: 20rem; }
  .archive-book h3 { min-height: auto; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-cover { max-width: 22rem; }
  .detail-meta { grid-template-columns: 1fr; }
  .voice-grid { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 520px) {
  .brand small { display: none; }
  .cover-stage, .mini-cover { max-width: 14rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
