/* Vasia vivid palette. Layout and book content remain in the base stylesheet. */
:root {
  --paper: #fbf9ff;
  --white: #ffffff;
  --ink: #30204d;
  --muted: #6c627d;
  --line: #e6def2;
  --orange: #7139cf;
  --orange-dark: #5623a8;
  --green: #35226d;
  --shadow: 0 20px 60px #522b9b19;
}
::selection { background: #d6c1ff; color: #30204d; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible,
select:focus-visible, summary:focus-visible { outline-color: #7139cf; }
.promo { background: linear-gradient(105deg, #186c79, #5531a9 54%, #8039b2); }
.site-header { background: #fffcfff5; border-bottom-color: #e6ddf3; }
.brand-mark { color: #8b46d5; }
.brand strong { color: #392153; }
.brand small { color: #bd3e86; }
.desktop-nav { color: #655775; }
.btn.primary {
  background: linear-gradient(120deg, #7836d0, #a23dc1);
  box-shadow: 0 7px 19px #733bc829;
}
.btn.primary:hover {
  background: linear-gradient(120deg, #6226b8, #8c2ba9);
  box-shadow: 0 10px 24px #733bc83d;
}
.btn.secondary { background: #ffffff80; border-color: #d8c7ec; }
.btn.secondary:hover { background: #eee3ff; }
.hero { background: radial-gradient(ellipse at 86% 28%, #ffe8f340, transparent 58%), linear-gradient(130deg, #f2eaff, #fff3ef 60%, #fffaf3); }
.hero-copy h1 { color: #352044; }
.hero-copy h1 em { color: #803ad1; background: linear-gradient(95deg, #e3418f, #7139cf); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-copy h1 em:after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 270 10'%3E%3Cpath d='M3 6Q130 0 267 7' fill='none' stroke='%23b45fea' stroke-width='3' opacity='.6'/%3E%3C/svg%3E"); }
.hero .eyebrow { color: #a83f7b; }
.hero-note { color: #746181; }
.hero-note .icon { color: #10877d; }
.scene-orb { background: radial-gradient(ellipse at 70% 20%, #d5f3ee, #d8c0f8 60%, #eeb5d7); opacity: .9; }
.scene-orb:after { border-color: #a489ca88; }
.scene-line { border-color: #bc90e06e; }
.scene-plinth { background: #aa80d7; box-shadow: 0 22px 36px #5d31912d; }
.scene-plinth:before { background: linear-gradient(120deg, #d8bcff, #e6d2fb 55%, #b9e4e1); }
.star { color: #d68b0a; }
.scene-float { box-shadow: 0 10px 30px #6835941c; border: 1px solid #fff; }
.float-top { background: #fff4bd; color: #7d5424; }
.float-top .icon { color: #b56d17; }
.float-bottom { background: #fce4f0; color: #8e326a; }
.float-bottom .icon { color: #d23e88; }
.scene-caption { color: #7d6a8d; }
.book { --book-bg: #128286; --book-ink: #fff5db; box-shadow: 12px 18px 25px #35204b32, 0 4px 7px #35204b20; }
.book.mist { --book-bg: #dbc5fa; --book-ink: #532c7d; }
.book.rose { --book-bg: #b72a68; --book-ink: #fff1dc; }
.book.sun { --book-bg: #ffc84d; --book-ink: #64391d; }
.book.night { --book-bg: #6440ae; --book-ink: #fff0ce; }
.benefit-strip { background: #e5f5f1; border-color: #cce5df; }
.benefits>div { border-color: #bddbd3; }
.benefits>div:nth-child(1)>.icon { color: #8e40cd; }
.benefits>div:nth-child(2)>.icon { color: #d83e83; }
.benefits>div:nth-child(3)>.icon { color: #087f87; }
.benefits>div:nth-child(4)>.icon { color: #af720d; }
.benefits strong { color: #34534e; }
.benefits p { color: #617870; }
.example-stage { background: #e4d6fc; }
.example-stage:hover { background: #d6bff7; }
.example:nth-child(2) .example-stage { background: #cdece6; }
.example:nth-child(3) .example-stage { background: #f9d5e7; }
.example:nth-child(4) .example-stage { background: #d4e8fa; }
.example:nth-child(5) .example-stage { background: #ffe5b3; }
.example:nth-child(6) .example-stage { background: #ded7fa; }
.example-meta .icon { color: #8159a3; }
.demo-tag { color: #75568b; border-color: #cdb9e6; }
.sample-note { color: #83738f; }
.how-section { background: radial-gradient(ellipse at 6% 95%, #246b80, transparent 60%), linear-gradient(115deg, #292459, #542c85); }
.how-section .eyebrow { color: #ffc85a; }
.how-section p { color: #d8d3eb; }
.process-step { border-color: #d4bdff40; }
.process-step .number { color: #ffc85a; }
.process-step .icon { color: #83e1d4; }
.process-step:nth-child(2) .number { color: #efa2cf; }
.process-step:nth-child(3) .number { color: #83e1d4; }
.occasion-card { border-color: #e0d5ee; box-shadow: 0 5px 16px #512d7510; }
.occasion-card:hover { border-color: #af71dc; box-shadow: 0 9px 23px #512d7520; }
.occasion-card:nth-child(4n+1) { background: #f2eaff; }
.occasion-card:nth-child(4n+1) .occasion-icon { background: #e1ccfa; color: #7542a8; }
.occasion-card:nth-child(4n+2) { background: #e8f7f2; }
.occasion-card:nth-child(4n+2) .occasion-icon { background: #c6e9de; color: #147764; }
.occasion-card:nth-child(4n+3) { background: #fff0f6; }
.occasion-card:nth-child(4n+3) .occasion-icon { background: #f8d3e3; color: #ac3a70; }
.occasion-card:nth-child(4n+4) { background: #fff6dd; }
.occasion-card:nth-child(4n+4) .occasion-icon { background: #ffe6a2; color: #9b6613; }
.personal-grid { background: #f4eaf9; border-color: #e8d1ed; }
.personal-visual { background: radial-gradient(ellipse at 75% 22%, #fce3a7, #f4b8cf 65%, #d39fe0); }
.open-book { box-shadow: 12px 23px 38px #6f287433; }
.open-book .book-art { color: #9158a9; }
.open-book h3 { color: #7a398e; }
.handwritten { color: #8e366e; }
.closing { background: radial-gradient(ellipse at 95% 15%, #ffddb3, transparent 50%), radial-gradient(ellipse at 5% 80%, #aee6df, transparent 50%), #e9d8fb; }
.closing h2 { color: #462768; }
.closing .eyebrow { color: #a1397d; }
.site-footer { background: #f0eafa; }
.footer-bottom { border-color: #d9cceb; color: #80708e; }
.floating-contact { background: #098276; border-color: #c4fff4; box-shadow: 0 6px 20px #12695f33; }
.floating-contact:hover { background: #06685f; }
.page-head { background: linear-gradient(110deg, #f3eaff, #fff0f5, #fff7e7); }
.page-content { padding-top: 32px; }
.product-card:nth-child(1), .price-card:nth-child(1) { background: #f2eaff; border-color: #ddcaf5; }
.product-card:nth-child(2), .price-card:nth-child(2) { background: #eaf7f3; border-color: #b4dace; }
.product-card:nth-child(3), .price-card:nth-child(3) { background: #fff1f6; border-color: #efd0e0; }
.price-card.featured { border: 2px solid #9861cd; box-shadow: 0 13px 35px #733bc814; }
.pill { background: #e5d4fa; color: #74449b; }
.price-card .pill { background: #fff0b7; color: #80571b; }
.notice { background: #f0e8fb; border-color: #ddcaef; color: #6c5283; }
.empty { background: #eee4fa; border-color: #c6aadf; }
.empty>.icon { color: #9b69c9; }
.draft-card .draft-stage { background: linear-gradient(135deg, #e4d2fa, #cfebe6); }
.draft-card:nth-child(2n) .draft-stage { background: linear-gradient(135deg, #f9d9e8, #ffe5b5); }
input, textarea, select { background: #fff; border-color: #d8cbe6; }
input::placeholder, textarea::placeholder { color: #95849e; }
.studio-header { background: #fbf7ff; }
.step-nav button.done .step-index { background: #d6eee6; color: #1d715c; border-color: #b5d9ca; }
.choice-card.selected { background: #f0e4fc; border-color: #9560c9; box-shadow: 0 0 0 1px #8d4ed924; }
.choice-card:hover { border-color: #b084d1; }
.choice-card .icon { color: #9a6db5; }
.palette-choice { background: #fff; }
.upload-box { background: #e9f5f2; border-color: #9dcac0; }
.manuscript { color: #554568; border-color: #ddd0ea; }
.form-error { color: #b02064; }
.text-link { border-bottom-color: #c79fea; }
.filter-chip.active { background: #743bb7; border-color: #743bb7; }
.home-quote { color: #8a4798; }
.mobile-nav.open { background: #fcf8ff; }
@media(max-width:640px) {
  .benefits>div { border-color: #bddbd3; }
  .scene-plinth { box-shadow: 0 16px 27px #5d31912d; }
  .occasion-card { box-shadow: none; }
}
@media print {
  body { background: white; color: #222; }
  .print-body { color: #222; }
}

/* Tactile materials and a real product-photo composition. */
.photo-hero-scene { height: 575px; padding: 0; }
.tactile-hero { margin: 0; position: relative; width: 100%; max-width: 550px; }
.tactile-hero img {
  display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover;
  border-radius: 155px 20px 20px 20px;
  border: 1px solid #ffffffc0;
  box-shadow: 0 32px 50px -26px #4f2c675e, 0 5px 15px #71456b14;
}
.tactile-hero figcaption { font-size: 8px; color: #86728e; direction: rtl; text-align: center; margin-top: 15px; }
.photo-hero-scene .float-top { top: 47px; right: -8px; transform: rotate(3deg); }
.photo-hero-scene .float-bottom { bottom: 35px; left: 22px; transform: rotate(-3deg); }
.tactile-preview-button { cursor: pointer; border: 1px solid #fff8; transition: transform .25s, box-shadow .25s; }
.tactile-preview-button:hover { transform: rotate(0) translateY(-3px); box-shadow: 0 14px 30px #68359433; }
.tactile-preview-button>.icon:last-child { width: 15px; height: 15px; }
.book-wrap, .cover-preview { position: relative; isolation: isolate; }
.example-stage .book-wrap:after, .draft-stage .book-wrap:after, .cover-preview:after, .reader-real-book .book-wrap:after {
  content: ''; position: absolute; top: 5px; bottom: 3px; right: -8px; width: 13px;
  background: repeating-linear-gradient(0deg,#eee5d5 0px,#eee5d5 1px,#fffdf4 1px,#fffdf4 3px);
  transform: skewY(-13deg); transform-origin: left center; border-radius: 0 4px 4px 0;
  border: 1px solid #bcb099; box-shadow: 4px 5px 7px #3b24452b; z-index: -1;
}
.book { border-left: 1px solid #ffffff80; border-bottom: 2px solid #0003; }
.book:after { width: 18px; background: linear-gradient(90deg,#0004,transparent 30%,#fff3 48%,#0002 65%,transparent); }
.book-title { text-shadow: 0 1px 0 #fff2, 0 -1px 1px #0003; }
.cloth-grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: .22;
  background-image: repeating-linear-gradient(0deg,#fff2 0px,#fff2 1px,transparent 1px,transparent 3px),repeating-linear-gradient(90deg,#0001 0px,#0001 1px,transparent 1px,transparent 3px);
  mix-blend-mode: soft-light;
}
.example-stage .book-wrap { transform: perspective(900px) rotateY(-18deg) rotate(-6deg); }
.example-stage:hover .book-wrap { transform: perspective(900px) rotateY(-27deg) rotate(-3deg) translateY(-8px); }
.example-stage { box-shadow: inset 0 -40px 55px -40px #37204130; }
.open-book { border-bottom: 5px double #d9ccb7; border-left: 4px solid #e1d3bd; }
.open-book>div { background-color: #fff8e9; }
.open-book>div:first-child { box-shadow: inset 16px 0 22px -20px #6a523ca6; }
.open-book>div:last-child { box-shadow: inset -16px 0 22px -20px #6a523ca6; }
.tactile-reader { width: 690px; max-width: 100%; }
#sample-pages { min-height: 360px; display: grid; align-items: center; }
.reader-cover-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-items: center; padding: 10px 18px 20px; }
.reader-real-book { display: flex; justify-content: center; padding: 7px 10px 20px; perspective: 1000px; }
.reader-real-book .book-wrap { width: 210px; height: 310px; transform: rotateY(-18deg) rotate(-4deg); }
.reader-real-book .book { padding: 28px 23px 20px; }
.reader-real-book .book-title { font-size: 34px; }
.reader-real-book .book-art { height: 110px; }
.reader-intro .pill { margin-bottom: 20px; }
.reader-intro p { font-size: 13px; line-height: 1.9; }
.reader-hint { margin-top: 22px; color: #8843ac; font-size: 11px; display: flex; gap: 8px; align-items: center; }
.reader-spread {
  display: grid; grid-template-columns: 1fr 1fr; width: 100%; min-height: 345px;
  border-radius: 4px 10px 10px 4px; border: 1px solid #e3d6be; border-bottom: 7px double #d9ccb7;
  box-shadow: 0 22px 32px -22px #4d314b73, 3px 5px 0 #e1d7c7;
  background: #fffbf0; transform: perspective(1600px) rotateX(3deg);
}
.reader-sheet {
  padding: 31px 30px 45px; position: relative; color: #56462e; min-height: 345px;
  background-image: linear-gradient(90deg,#9d855735,transparent 12%,#fff8 50%,transparent);
  animation: paper-settle .4s ease-out; transform-origin: left center;
}
.reader-sheet:nth-child(2) { background-image: linear-gradient(270deg,#9d855735,transparent 12%,#fff8 50%,transparent); border-right: 1px solid #bdb09a55; }
.reader-sheet small { display: block; color: #9f8056; font-size: 9px; margin-bottom: 25px; }
.reader-sheet h3 { font-family: var(--serif); font-size: 28px; line-height: 1.3; color: #614570; margin-bottom: 19px; }
.reader-sheet p { font-family: var(--serif); font-size: 17px; line-height: 1.95; color: #5d503f; }
.page-number { position: absolute; bottom: 15px; left: 0; right: 0; text-align: center; color: #ac9679; font-size: 9px; }
.dedication-sheet, .illustrated-sheet { text-align: center; display: flex; flex-direction: column; justify-content: center; }
.dedication-sheet h3 { font-size: 29px; }
.dedication-sheet p { font-size: 13px; }
.illustrated-sheet .book-art { width: 110px; height: 145px; color: #9974ac; margin: 0 auto 15px; }
.illustrated-sheet h3 { font-size: 25px; margin: 5px 0 10px; }
.illustrated-sheet p { font-size: 13px; }
.reader-flourish { display: block; text-align: center; color: #b89a61; margin-top: 25px; }
.reader-controls { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 28px; }
#sample-position { font-size: 10px; color: #94809f; text-align: center; }
.reader-bottom { margin-top: 23px; border-top: 1px solid var(--line); padding-top: 18px; text-align: center; }
.reader-bottom p { font-size: 9px; margin-bottom: 10px; }
.reader-bottom .text-link { font-size: 12px; }
@keyframes paper-settle { from { opacity: .7; transform: perspective(800px) rotateY(-7deg); } to { opacity: 1; transform: none; } }
@media(max-width:1120px) { .photo-hero-scene { height: 510px; } .photo-hero-scene .float-top { top: 40px; } }
@media(max-width:900px) { .photo-hero-scene { height: 430px; } .photo-hero-scene .float-top { top: 30px; } .photo-hero-scene .float-bottom { bottom: 33px; left: 0; } }
@media(max-width:640px) {
  .photo-hero-scene { height: auto; max-width: 400px; padding: 16px 0 20px; margin-top: 26px; }
  .tactile-hero img { border-radius: 85px 14px 14px 14px; }
  .tactile-hero figcaption { font-size: 7px; margin-top: 14px; }
  .photo-hero-scene .float-top { top: 14px; right: -4px; }
  .photo-hero-scene .float-bottom { bottom: 50px; left: -3px; font-size: 9px; }
  .tactile-reader { width: 100%; }
  .tactile-reader #sample-pages { min-height: 335px; }
  .reader-cover-stage { grid-template-columns: 1fr; gap: 20px; padding: 0; }
  .reader-real-book { padding-bottom: 5px; }
  .reader-real-book .book-wrap { width: 160px; height: 235px; }
  .reader-real-book .book { padding: 24px 18px 17px; }
  .reader-real-book .book-title { font-size: 27px; }
  .reader-real-book .book-art { height: 78px; }
  .reader-real-book .book small { font-size: 6px; }
  .reader-real-book .book-subtitle { font-size: 8px; }
  .reader-real-book .book-author { font-size: 7px; }
  .reader-intro p { font-size: 11px; line-height: 1.8; }
  .reader-intro .pill { display: none; }
  .reader-hint { font-size: 10px; margin-top: 12px; }
  .reader-spread { min-height: 335px; }
  .reader-sheet { padding: 20px 13px 33px; min-height: 335px; }
  .reader-sheet small { font-size: 7px; margin-bottom: 17px; }
  .reader-sheet h3 { font-size: 21px; margin-bottom: 13px; }
  .reader-sheet p { font-size: 13px; line-height: 1.85; }
  .dedication-sheet h3 { font-size: 23px; }
  .dedication-sheet p, .illustrated-sheet p { font-size: 11px; }
  .illustrated-sheet .book-art { width: 80px; height: 120px; }
  .illustrated-sheet h3 { font-size: 21px; }
  .reader-controls { gap: 8px; margin-top: 23px; }
  .reader-controls .btn { padding: 9px 10px; min-height: 40px; font-size: 10px; gap: 5px; }
  .reader-controls .icon { width: 14px; height: 14px; }
  #sample-position { font-size: 8px; }
  .reader-bottom .text-link { font-size: 11px; }
}
@media(prefers-reduced-motion:reduce) { .reader-sheet { animation: none; } }
