:root {
  --paper: #f5f0e6;
  --paper-deep: #ebe2d2;
  --ink: #191713;
  --muted: #6f695f;
  --wine: #6f1d2c;
  --wine-dark: #43101a;
  --gold: #b58a38;
  --line: rgba(25, 23, 19, .15);
  --white: #fffdf8;
  --success: #2f6b47;
  --danger: #9d3131;
  --shadow: 0 24px 70px rgba(55, 39, 20, .12);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .28; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E"); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, .button { touch-action: manipulation; }
.hidden, [hidden] { display: none !important; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 40px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.09); background: rgba(25,23,19,.94); color: white; backdrop-filter: blur(16px); }
.nav { min-height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { margin-right: auto; color: white; text-decoration: none; font: 700 1.35rem/1 var(--serif); letter-spacing: -.02em; }
.brand span { color: #d8b664; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: #e7e0d5; text-decoration: none; font-size: .86rem; font-weight: 650; }
.nav-links a:hover, .nav-links a[aria-current='page'] { color: #edcf82; }
.nav-order { padding: 10px 17px; border: 1px solid #cda957; border-radius: 999px; }
.menu-button { display: none; border: 1px solid #716d65; border-radius: 8px; background: transparent; color: white; padding: 8px 11px; }
.quick-links { display: flex; align-items: center; gap: 22px; }
.quick-links a { color: #e7e0d5; text-decoration: none; font-size: .86rem; font-weight: 650; }
.quick-links a:hover { color: #edcf82; }

.eyebrow { margin: 0 0 14px; color: var(--wine); font-size: .72rem; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
.display { margin: 0; font: 500 clamp(3.2rem, 8vw, 7rem)/.94 var(--serif); letter-spacing: -.055em; }
.lede { color: var(--muted); font-size: clamp(1rem, 2vw, 1.18rem); max-width: 650px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--wine); border-radius: 999px; background: var(--wine); color: white; padding: 11px 22px; text-decoration: none; font-size: .84rem; font-weight: 800; letter-spacing: .04em; cursor: pointer; transition: transform .18s, background .18s, box-shadow .18s; }
.button:hover { transform: translateY(-2px); background: var(--wine-dark); box-shadow: 0 10px 30px rgba(111,29,44,.2); }
.button:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.button.secondary { background: transparent; color: var(--wine); }
.button.secondary:hover { background: rgba(111,29,44,.06); }
.button.light { border-color: #d9b967; background: #d9b967; color: #241f16; }
.button.block { width: 100%; }

.hero { min-height: 640px; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(300px,.92fr); align-items: center; gap: clamp(40px, 8vw, 110px); padding: 70px 0 82px; }
.hero-copy { position: relative; z-index: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 22px; color: var(--muted); font-size: .84rem; }
.hero-art { position: relative; min-height: 470px; display: grid; place-items: center; }
.hero-art::before { content: ''; position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%; background: var(--paper-deep); }
.hero-cover { position: relative; width: min(300px, 70%); aspect-ratio: 2/3; object-fit: cover; border-radius: 4px; box-shadow: 28px 34px 0 var(--wine), var(--shadow); transform: rotate(2deg); }
.hero-placeholder { position: relative; width: min(300px,70%); aspect-ratio: 2/3; display: grid; place-items: center; padding: 30px; background: var(--wine); color: white; box-shadow: 28px 34px 0 #cfb06b, var(--shadow); font: 500 2.2rem/1.1 var(--serif); text-align: center; }
.hero-float { position: absolute; right: 0; bottom: 15%; z-index: 2; max-width: 190px; padding: 14px 17px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); font-size: .82rem; }
.hero-float strong { display: block; color: var(--wine); font: 1.25rem var(--serif); }

.trust { background: var(--ink); color: white; }
.trust-row { min-height: 108px; display: grid; grid-template-columns: repeat(3,1fr); align-items: center; }
.trust-item { padding: 6px 28px; border-left: 1px solid rgba(255,255,255,.14); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item strong { display: block; font: 1.08rem var(--serif); color: #f0d58e; }
.trust-item span { color: #bdb7ae; font-size: .82rem; }

.section { padding: 92px 0; }
.section.alt { background: var(--paper-deep); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-title { margin: 0; font: 500 clamp(2.15rem, 4vw, 4rem)/1.02 var(--serif); letter-spacing: -.035em; }
.section-head p { max-width: 520px; margin: 0; color: var(--muted); }
.catalog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.book-card { position: relative; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); box-shadow: 0 13px 40px rgba(55,39,20,.06); transition: transform .22s, box-shadow .22s; }
.book-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-media { position: relative; display: grid; place-items: center; min-height: 360px; padding: 30px; background: #e7ddcd; overflow: hidden; }
.card-media::after { content: ''; position: absolute; inset: auto 14% 12px; height: 15px; border-radius: 50%; background: rgba(31,23,14,.18); filter: blur(12px); }
.card-cover { position: relative; z-index: 1; width: auto; height: 300px; max-width: 88%; object-fit: contain; filter: drop-shadow(13px 16px 10px rgba(30,20,12,.24)); }
.card-fallback { position: relative; z-index: 1; width: 190px; aspect-ratio: 2/3; display: grid; place-items: center; padding: 20px; background: var(--wine); color: white; font: 1.6rem/1.05 var(--serif); text-align: center; box-shadow: 10px 14px 0 #b99143; }
.card-badge { position: absolute; z-index: 2; top: 16px; left: 16px; padding: 6px 10px; border-radius: 999px; background: var(--ink); color: white; font-size: .67rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.card-kicker { color: var(--wine); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.card-title { margin: 6px 0 4px; font: 500 1.55rem/1.08 var(--serif); }
.card-title a { text-decoration: none; }
.card-author { color: var(--muted); font-size: .86rem; }
.card-description { display: -webkit-box; overflow: hidden; margin: 16px 0; color: var(--muted); -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.card-footer { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.card-price { font-weight: 850; }
.card-price-group { display: grid; gap: 3px; min-width: 0; }
.card-discount-row { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.card-price-old { color: var(--muted); font-size: .7rem; text-decoration: line-through; }
.discount-chip { padding: 3px 7px; border-radius: 999px; background: #f4dede; color: #9b2f3f; font-size: .62rem; font-weight: 850; letter-spacing: .04em; white-space: nowrap; }
.card-link { color: var(--wine); font-size: .8rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.empty-state { grid-column: 1/-1; padding: 48px 24px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); text-align: center; background: rgba(255,255,255,.35); }
.empty-state strong { display: block; margin-bottom: 6px; color: var(--ink); font: 1.5rem var(--serif); }

.journey { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px,7vw,90px); align-items: start; }
.journey-copy { position: sticky; top: 110px; }
.journey-list { display: grid; gap: 14px; }
.journey-step { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.journey-step b { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: var(--wine); color: white; font: 1rem var(--serif); }
.journey-step h3 { margin: 0 0 4px; font: 1.25rem var(--serif); }
.journey-step p { margin: 0; color: var(--muted); }

.cta-band { padding: 72px 0; background: var(--wine); color: white; }
.cta-content { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-content h2 { margin: 0; font: 500 clamp(2rem,5vw,4rem)/1 var(--serif); }
.cta-content p { margin: 10px 0 0; color: #ead8d8; }

.page-hero { padding: 64px 0 35px; }
.page-hero h1 { margin: 0; font: 500 clamp(2.7rem,7vw,5.5rem)/.98 var(--serif); letter-spacing: -.045em; }
.page-hero p { max-width: 660px; color: var(--muted); }
.panel { border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 18px 50px rgba(55,39,20,.07); }
.notice { padding: 14px 16px; border-left: 4px solid var(--gold); background: #f6edd7; color: #5c4c2f; }
.alert { padding: 13px 15px; border: 1px solid #dfbaba; border-radius: 9px; background: #fff2f0; color: var(--danger); }
.field label { display: block; margin: 0 0 7px; color: #484239; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border: 1px solid #c9c0b2; border-radius: 8px; background: #fffefa; color: var(--ink); padding: 11px 12px; outline: 0; }
.field textarea { min-height: 115px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--wine); box-shadow: 0 0 0 3px rgba(111,29,44,.1); }
.optional { color: #91897e; font-weight: 500; letter-spacing: 0; text-transform: none; }

.site-footer { padding: 54px 0 26px; background: var(--ink); color: #d7d0c5; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer-title { color: white; font: 1.3rem var(--serif); }
.footer-copy { max-width: 420px; color: #aaa49b; }
.footer-links { display: grid; align-content: start; gap: 9px; }
.footer-links strong { margin-bottom: 5px; color: #f0d58e; font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; }
.footer-links a { color: #d7d0c5; text-decoration: none; font-size: .9rem; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #8e8981; font-size: .76rem; }

.skeleton { min-height: 330px; border-radius: 12px; background: linear-gradient(100deg,#e5dccd 30%,#f3ecdf 50%,#e5dccd 70%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position-x: -200%; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }

@media (max-width: 860px) {
  .menu-button { display: block; }
  .nav-links { position: absolute; top: 72px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; background: var(--ink); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-order { border: 0; border-radius: 0; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 52px; }
  .hero-art { min-height: 420px; }
  .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .journey { grid-template-columns: 1fr; }
  .journey-copy { position: static; }
  .cta-content { align-items: start; flex-direction: column; }
}

@media (max-width: 600px) {
  .container, .narrow { width: min(100% - 24px,1180px); }
  .nav { min-height: 64px; }
  .nav-links { top: 64px; }
  .quick-links { display: none; }
  .display { font-size: clamp(3rem,16vw,4.5rem); }
  .hero { gap: 20px; padding-bottom: 58px; }
  .hero-art { min-height: 360px; }
  .hero-cover, .hero-placeholder { width: 62%; }
  .hero-float { right: 2%; max-width: 155px; }
  .trust-row { grid-template-columns: 1fr; padding: 20px 0; }
  .trust-item, .trust-item:first-child { padding: 14px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .trust-item:first-child { border-top: 0; }
  .section { padding: 66px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .catalog-grid { grid-template-columns: 1fr; }
  .card-media { min-height: 320px; }
  .journey-step { grid-template-columns: 42px 1fr; padding: 18px 15px; }
  .journey-step b { width: 38px; height: 38px; }
  .footer-grid { grid-template-columns: 1fr; }
}
