:root {
  --ink: #2f2a37;
  --muted: #706879;
  --purple: #71499a;
  --purple-deep: #51306f;
  --purple-soft: #eee4f5;
  --purple-pale: #f7f1fb;
  --yellow: #f7bf2f;
  --yellow-soft: #fff1bd;
  --blue: #59b3df;
  --paper: #fffdfa;
  --line: #d9c4e7;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(56, 35, 69, .15);
  --radius-lg: 34px;
  --radius-md: 22px;
  --wrap: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.wrap { width: var(--wrap); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 12px 18px; border-radius: 10px; background: var(--yellow); font-weight: 800; }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 14px 0;
  transition: background .25s, box-shadow .25s, padding .25s;
}
.site-header.is-scrolled { padding: 8px 0; background: rgba(255,253,250,.93); box-shadow: 0 1px 0 rgba(73,48,91,.1); backdrop-filter: blur(18px); }
.nav-shell { width: var(--wrap); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand span { display: grid; line-height: 1.05; }
.brand .brand-logo {
  display: block;
  width: 154px;
  aspect-ratio: 407 / 160;
  background: #453747;
  -webkit-mask: url("/assets/oneiros-logo-white.png") center / contain no-repeat;
  mask: url("/assets/oneiros-logo-white.png") center / contain no-repeat;
}
.brand strong { color: var(--purple); font-size: .95rem; letter-spacing: .04em; }
.brand small { margin-top: 4px; color: var(--ink); font-size: .68rem; letter-spacing: .22em; }
.main-nav { display: flex; align-items: center; gap: 27px; font-size: .92rem; font-weight: 700; }
.main-nav a { position: relative; }
.main-nav a::after { content: ""; position: absolute; inset: auto 0 -6px; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
.nav-order { border: 0; border-radius: 999px; background: var(--purple); color: white; padding: 11px 18px; font-weight: 800; cursor: pointer; }
.nav-order:hover { background: var(--purple-deep); }
.menu-button { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--purple-soft); cursor: pointer; }
.menu-button > span:not(.sr-only) { display: block; width: 19px; height: 2px; background: var(--purple-deep); margin: 4px auto; transition: transform .2s, opacity .2s; }

.hero { position: relative; min-height: 760px; padding: 145px 0 120px; background: linear-gradient(135deg, #fbf7fd 0%, #f2e6f8 54%, #e6f4fa 100%); overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(113,73,154,.16); border-radius: 50%; left: -270px; top: 130px; box-shadow: 0 0 0 60px rgba(113,73,154,.03), 0 0 0 120px rgba(113,73,154,.025); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .93fr) minmax(420px, .87fr); align-items: center; gap: 8%; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--purple); font-size: .82rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { width: 25px; height: 4px; border-radius: 999px; background: var(--yellow); transform: rotate(-3deg); }
.eyebrow.light { color: #eadcf4; }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(3.25rem, 6.2vw, 6.5rem); line-height: .92; letter-spacing: -.065em; text-transform: uppercase; }
.hero h1 em { display: inline-block; margin-top: .11em; color: var(--purple); font-family: Georgia, "Times New Roman", serif; font-size: .83em; font-weight: 500; letter-spacing: -.04em; text-transform: none; transform: rotate(-1deg); }
.hero-lead { max-width: 650px; margin: 30px 0 0; color: #554e5c; font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 52px; border: 1px solid transparent; border-radius: 999px; padding: 13px 23px; font-weight: 850; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--purple); color: white; box-shadow: 0 12px 28px rgba(82,49,112,.22); }
.button-primary:hover { background: var(--purple-deep); box-shadow: 0 16px 34px rgba(82,49,112,.29); }
.button-quiet { border-color: rgba(113,73,154,.35); color: var(--purple-deep); background: rgba(255,255,255,.44); }
.button-yellow { background: var(--yellow); color: var(--ink); }
.button-full { width: 100%; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 36px; color: #675f6d; font-size: .85rem; }
.hero-proof span { display: grid; }
.hero-proof strong { color: var(--ink); font-size: .92rem; }
.hero-visual { position: relative; width: min(100%, 550px); justify-self: end; }
.scribble { position: absolute; width: 118%; height: 70%; left: -8%; top: 14%; background: var(--yellow-soft); border-radius: 42% 58% 45% 55% / 50% 43% 57% 50%; transform: rotate(5deg); }
.books-stage { position: relative; z-index: 2; min-height: 560px; }
.book-cover { position: absolute; top: 50%; width: 47%; height: auto; object-fit: contain; border: 1px solid rgba(82,49,112,.12); border-radius: 5px; box-shadow: 0 25px 55px rgba(56,35,69,.24); transform-origin: center; transition: transform .25s ease; }
.cover-one { z-index: 2; left: 1%; transform: translateY(-46%) rotate(-3.5deg); }
.cover-two { z-index: 1; right: 1%; transform: translateY(-54%) rotate(3.5deg); }
.hero-visual:hover .cover-one { transform: translateY(-47%) rotate(-4.5deg) scale(1.01); }
.hero-visual:hover .cover-two { transform: translateY(-55%) rotate(4.5deg) scale(1.01); }
.price-sticker { position: absolute; z-index: 4; right: -29px; top: 14%; display: grid; place-items: center; width: 128px; height: 128px; border-radius: 38% 62% 60% 40% / 46% 42% 58% 54%; background: var(--purple); color: white; transform: rotate(7deg); box-shadow: 0 14px 30px rgba(64,38,83,.25); }
.price-sticker small { color: var(--yellow); font-size: .72rem; font-weight: 900; letter-spacing: .08em; }
.price-sticker strong { margin-top: -13px; font-size: 2.15rem; line-height: 1; }
.note-sticker { position: absolute; z-index: 4; left: -58px; bottom: 8%; padding: 16px 21px; border: 2px solid var(--purple); background: var(--paper); color: var(--purple); font-size: .86rem; font-weight: 900; line-height: 1.1; transform: rotate(-7deg); box-shadow: 6px 7px 0 var(--yellow); }
.hero-wave { position: absolute; inset: auto -5% -48px; height: 100px; border-radius: 50% 50% 0 0 / 45% 45% 0 0; background: var(--paper); transform: rotate(-1deg); }

.skills-band { position: relative; z-index: 3; padding: 17px 0; overflow: hidden; background: var(--purple); color: white; }
.skills-track { display: flex; width: max-content; min-width: 100%; align-items: center; justify-content: space-around; gap: 26px; padding: 0 25px; font-size: .78rem; font-weight: 850; letter-spacing: .14em; white-space: nowrap; }
.skills-track i { color: var(--yellow); font-size: .8rem; font-style: normal; }

.section { padding: 110px 0; }
.section-heading { max-width: 710px; margin-bottom: 48px; }
.section-heading.compact { margin-bottom: 38px; }
.section-heading h2, .why-copy h2, .collaboration h2, .order-copy h2 { margin: 0; font-size: clamp(2.4rem, 4.3vw, 4.5rem); line-height: 1.02; letter-spacing: -.05em; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.08rem; }

.book-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.book-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.book-image-wrap { position: relative; height: 590px; overflow: hidden; background: var(--purple-pale); }
.book-image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s ease; }
.book-card:hover .book-image-wrap img { transform: scale(1.018); }
.book-number { position: absolute; z-index: 2; top: 20px; left: 20px; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--yellow); font-size: .86rem; font-weight: 900; box-shadow: 0 8px 20px rgba(55,42,29,.15); }
.book-copy { padding: 33px 36px 38px; }
.book-label { margin: 0 0 7px; color: var(--purple); font-size: .78rem; font-weight: 900; letter-spacing: .14em; }
.book-copy h3 { margin: 0; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.05; letter-spacing: -.04em; }
.book-copy > p:not(.book-label) { min-height: 58px; color: var(--muted); }
.book-copy ul, .buy-card ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 18px; margin: 25px 0 0; padding: 0; list-style: none; }
.book-copy li, .buy-card li { position: relative; padding-left: 19px; font-size: .91rem; font-weight: 680; }
.book-copy li::before, .buy-card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.book-two { border-color: rgba(89,179,223,.55); }
.author-quote { position: relative; margin: 55px 0 0; padding: 42px 54px 40px 95px; border: 0; border-radius: var(--radius-lg); background: var(--purple-soft); }
.author-quote > span { position: absolute; left: 34px; top: 27px; color: #cbb2dd; font-family: Georgia, serif; font-size: 5rem; line-height: 1; }
.author-quote p { max-width: 840px; margin: 0 0 15px; font-family: Georgia, serif; font-size: clamp(1.45rem, 2.6vw, 2.15rem); line-height: 1.3; }
.author-quote cite { color: var(--purple); font-size: .86rem; font-style: normal; font-weight: 850; }

.why-section { position: relative; background: #faf6fc; }
.why-section::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(130deg, transparent 0 28px, rgba(113,73,154,.035) 29px 30px); pointer-events: none; }
.why-grid { position: relative; display: grid; grid-template-columns: .82fr 1fr; align-items: center; gap: 8%; }
.why-visual { position: relative; overflow: hidden; padding: 40px 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(145deg, #f5edf9 0 66%, #fff1bd 66% 100%); transform: rotate(-1.5deg); box-shadow: var(--shadow); }
.why-visual::after { content: ""; position: absolute; width: 75px; height: 24px; right: 8%; top: -12px; background: rgba(247,191,47,.75); transform: rotate(4deg); }
.why-books { display: flex; min-height: 430px; align-items: center; justify-content: center; gap: 4%; }
.why-book { width: 47%; height: auto; object-fit: contain; border: 1px solid rgba(82,49,112,.12); border-radius: 5px; box-shadow: 0 20px 42px rgba(56,35,69,.2); }
.why-book-one { z-index: 2; transform: translateY(12px) rotate(-3deg); }
.why-book-two { z-index: 1; transform: translateY(-12px) rotate(3deg); }
.why-intro { margin: 24px 0 32px; color: var(--muted); font-size: 1.12rem; }
.audience-list { display: grid; gap: 13px; }
.audience-list article { display: grid; grid-template-columns: 48px 1fr; gap: 17px; padding: 18px 0; border-top: 1px solid var(--line); }
.audience-list article > span { color: var(--purple); font-size: .83rem; font-weight: 900; }
.audience-list h3 { margin: 0; font-size: 1.1rem; }
.audience-list p { margin: 4px 0 0; color: var(--muted); font-size: .93rem; }

.approach-section { background: var(--purple-deep); color: white; }
.approach-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.approach-grid article { min-height: 230px; padding: 30px 28px; border-right: 1px solid rgba(255,255,255,.2); }
.approach-grid article:last-child { border-right: 0; }
.approach-grid b { color: var(--yellow); font-size: .78rem; letter-spacing: .1em; }
.approach-grid h3 { margin: 48px 0 8px; font-size: 1.45rem; }
.approach-grid p { margin: 0; color: #dfd3e5; font-size: .94rem; }

.authors-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.author-card { display: grid; grid-template-columns: 104px 1fr; align-items: center; gap: 25px; min-height: 190px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; }
.author-mark { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50% 45% 52% 46%; background: var(--yellow); color: var(--ink); font-size: 1.7rem; font-weight: 900; transform: rotate(-4deg); }
.author-mark.blue { background: #ccecf8; transform: rotate(4deg); }
.author-card p { margin: 0 0 4px; color: var(--purple); font-size: .76rem; font-weight: 900; letter-spacing: .13em; }
.author-card h3 { margin: 0 0 10px; font-size: 1.75rem; line-height: 1.1; }
.author-card span { color: var(--muted); }

.collaboration { padding-top: 15px; }
.collaboration-card { display: grid; grid-template-columns: 1.25fr .55fr; align-items: end; gap: 9%; padding: 62px; border-radius: var(--radius-lg); background: var(--purple); color: white; box-shadow: var(--shadow); }
.collaboration-card h2 { max-width: 720px; }
.collaboration-card > div:first-child > p:last-child { max-width: 730px; margin: 24px 0 0; color: #eadff0; font-size: 1.03rem; }
.collaboration-actions { display: grid; gap: 20px; justify-items: start; }
.text-link { border-bottom: 1px solid rgba(255,255,255,.5); font-weight: 800; }

.order-section { padding-top: 80px; }
.order-grid { display: grid; grid-template-columns: 1fr .83fr; align-items: center; gap: 9%; }
.order-copy > p:not(.eyebrow) { max-width: 630px; color: var(--muted); font-size: 1.06rem; }
.order-steps { display: grid; gap: 12px; margin-top: 30px; }
.order-steps span { display: flex; align-items: center; gap: 13px; font-weight: 680; }
.order-steps b { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--purple-soft); color: var(--purple); font-size: .78rem; }
.buy-card { padding: 40px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow); }
.buy-card > p { margin: 0 0 7px; color: var(--purple); font-size: .78rem; font-weight: 900; letter-spacing: .12em; }
.buy-card h3 { margin: 0; font-size: clamp(2rem, 3.4vw, 3.15rem); line-height: 1.03; letter-spacing: -.045em; }
.buy-card ul { grid-template-columns: 1fr; margin: 27px 0; padding-bottom: 27px; border-bottom: 1px solid var(--line); }
.buy-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.buy-bottom > strong { font-size: 2.7rem; line-height: 1; }

.site-footer { padding: 75px 0 25px; background: #2f2835; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .8fr; gap: 50px; }
.footer-brand strong { color: white; }
.footer-brand small { color: #d7c8df; }
.footer-grid > div:first-child > p { max-width: 350px; color: #cfc5d5; }
.footer-grid > div:not(:first-child) { display: grid; align-content: start; gap: 6px; }
.footer-grid a:hover { color: var(--yellow); }
.footer-label { margin: 0 0 10px; color: var(--yellow); font-size: .74rem; font-weight: 900; letter-spacing: .14em; }
.footer-grid span { color: #cfc5d5; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); color: #aca1b3; font-size: .78rem; }

.order-dialog { width: min(650px, calc(100% - 28px)); max-height: calc(100vh - 28px); padding: 0; border: 0; border-radius: 28px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 120px rgba(33,20,42,.4); }
.order-dialog::backdrop { background: rgba(37,26,44,.72); backdrop-filter: blur(6px); }
.dialog-inner { position: relative; padding: 42px; }
.dialog-close { position: absolute; right: 20px; top: 18px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--purple-soft); color: var(--purple-deep); font-size: 1.65rem; line-height: 1; cursor: pointer; }
.dialog-heading h2 { margin: 0; padding-right: 45px; font-size: clamp(2rem, 5vw, 3rem); line-height: 1; letter-spacing: -.04em; }
.dialog-heading > p:last-child { color: var(--muted); }
.order-form { display: grid; gap: 16px; margin-top: 28px; }
.order-form label { display: grid; gap: 7px; font-size: .84rem; font-weight: 820; }
.order-form input, .order-form select, .order-form textarea { width: 100%; border: 1px solid #cfbfd9; border-radius: 12px; background: white; padding: 13px 14px; color: var(--ink); outline: none; }
.order-form textarea { resize: vertical; }
.order-form input:focus, .order-form select:focus, .order-form textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(113,73,154,.12); }
.form-row { display: grid; grid-template-columns: .55fr 1fr; gap: 14px; }
.form-total { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-radius: 15px; background: var(--purple-soft); }
.form-total span { font-size: .88rem; font-weight: 750; }
.form-total strong { color: var(--purple); font-size: 1.65rem; }
.form-note { margin: -4px 0 0; color: var(--muted); font-size: .76rem; text-align: center; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Oneiros — general pages */
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.general-page { background: var(--paper); }

.home-hero { position: relative; min-height: 760px; overflow: hidden; padding: 155px 0 105px; background: linear-gradient(135deg, #fffdfa 0%, #f3e9f8 57%, #e8f5fb 100%); }
.home-hero::before { content: ""; position: absolute; width: 630px; height: 630px; right: -330px; top: -210px; border: 1px solid rgba(113,73,154,.15); border-radius: 50%; box-shadow: 0 0 0 70px rgba(113,73,154,.035), 0 0 0 140px rgba(113,73,154,.025); }
.home-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.06fr .72fr; align-items: center; gap: 9%; }
.home-hero-copy h1 { max-width: 760px; margin: 0; font-size: clamp(3.4rem, 6.6vw, 6.8rem); line-height: .91; letter-spacing: -.065em; text-transform: uppercase; }
.home-hero-copy h1 em, .page-hero h1 em { display: inline-block; color: var(--purple); font-family: Georgia, "Times New Roman", serif; font-size: .84em; font-weight: 500; letter-spacing: -.04em; text-transform: none; transform: rotate(-1deg); }
.home-hero-copy > p:not(.eyebrow) { max-width: 690px; margin: 30px 0 0; color: #554e5c; font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.65; }

.identity-card { position: relative; justify-self: end; width: min(100%, 320px); min-height: 220px; overflow: hidden; padding: 30px 32px; border: 1px solid rgba(113,73,154,.18); border-radius: 25px; background: var(--purple); color: white; box-shadow: 0 18px 42px rgba(56,35,69,.18); transform: rotate(1deg); }
.identity-card::after { content: ""; position: absolute; width: 210px; height: 210px; right: -92px; bottom: -104px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; box-shadow: 0 0 0 34px rgba(255,255,255,.035); }
.identity-lines { position: relative; z-index: 1; display: grid; gap: 11px; margin-top: 8px; font-family: Georgia, serif; font-size: 1.05rem; }
.identity-card small { position: absolute; z-index: 1; left: 32px; bottom: 20px; color: #d9cce1; font-size: .69rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.focus-section { background: var(--paper); }
.focus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.focus-card { min-height: 275px; padding: 35px 32px; border-right: 1px solid var(--line); }
.focus-card:last-child { border-right: 0; }
.focus-card b { color: var(--purple); font-size: .78rem; letter-spacing: .12em; }
.focus-card h3 { margin: 60px 0 10px; font-size: 1.55rem; }
.focus-card p { margin: 0; color: var(--muted); }

.featured-section { background: #f8f3fb; }
.featured-grid { display: grid; grid-template-columns: .9fr 1fr; align-items: center; gap: 10%; }
.featured-books { position: relative; min-height: 570px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(145deg, #eee3f5 0 67%, #fff0b8 67% 100%); box-shadow: var(--shadow); }
.featured-cover { position: absolute; top: 50%; width: 43%; height: auto; border: 1px solid rgba(82,49,112,.12); border-radius: 5px; box-shadow: 0 22px 50px rgba(56,35,69,.21); }
.featured-cover-one { z-index: 2; left: 6%; transform: translateY(-46%) rotate(-3deg); }
.featured-cover-two { z-index: 1; right: 6%; transform: translateY(-54%) rotate(3deg); }
.featured-copy h2 { margin: 0; font-size: clamp(2.8rem, 5vw, 5rem); line-height: .96; letter-spacing: -.055em; }
.featured-copy > p:not(.eyebrow) { max-width: 610px; margin: 24px 0; color: var(--muted); font-size: 1.08rem; }
.clean-list { display: grid; gap: 9px; margin: 0 0 31px; padding: 0; list-style: none; }
.clean-list li { position: relative; padding-left: 22px; font-weight: 720; }
.clean-list li::before { content: ""; position: absolute; left: 0; top: .56em; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); }

.home-about { padding-bottom: 25px; }
.home-about-card { display: grid; grid-template-columns: 1.1fr .75fr; align-items: end; gap: 9%; padding: 64px; border-radius: var(--radius-lg); background: var(--purple-deep); color: white; box-shadow: var(--shadow); }
.home-about-card h2 { max-width: 720px; margin: 0; font-size: clamp(2.5rem, 4.6vw, 4.5rem); line-height: 1; letter-spacing: -.05em; }
.home-about-card > div:last-child p { margin: 0 0 26px; color: #e1d6e7; font-size: 1.04rem; }
.home-contact { padding-top: 75px; }
.home-contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding-bottom: 10px; }
.home-contact-inner h2 { margin: 0; font-size: clamp(2.5rem, 4.5vw, 4.2rem); line-height: 1; letter-spacing: -.05em; }

.page-hero { position: relative; overflow: hidden; padding: 165px 0 105px; background: linear-gradient(135deg, #fbf7fd 0%, #f0e4f7 62%, #e7f4fa 100%); }
.page-hero::after { content: ""; position: absolute; width: 420px; height: 420px; right: -170px; bottom: -250px; border: 1px solid rgba(113,73,154,.18); border-radius: 50%; box-shadow: 0 0 0 55px rgba(113,73,154,.035), 0 0 0 110px rgba(113,73,154,.025); }
.page-hero-inner { position: relative; z-index: 2; max-width: 900px; margin-left: max(20px, calc((100% - min(1180px, calc(100% - 40px))) / 2)); }
.page-hero h1 { margin: 0; font-size: clamp(3.3rem, 6vw, 6.1rem); line-height: .93; letter-spacing: -.06em; text-transform: uppercase; }
.page-hero-inner > p:last-child { max-width: 720px; margin: 28px 0 0; color: #5f5666; font-size: 1.13rem; line-height: 1.7; }

.about-story-grid { display: grid; grid-template-columns: .66fr 1.34fr; align-items: center; gap: 9%; }
.about-profile { min-height: 455px; display: flex; flex-direction: column; justify-content: flex-end; padding: 42px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(145deg, #f3e7f8, #fff4c9); box-shadow: var(--shadow); transform: rotate(-1.5deg); }
.about-initials { display: grid; place-items: center; width: 150px; height: 150px; margin-bottom: auto; border-radius: 50% 46% 53% 44%; background: var(--purple); color: white; font-size: 3.1rem; font-weight: 900; transform: rotate(-5deg); }
.about-profile p { margin: 0 0 5px; color: var(--purple); font-size: .78rem; font-weight: 900; letter-spacing: .14em; }
.about-profile h2 { margin: 0 0 8px; font-size: 2.55rem; line-height: 1; letter-spacing: -.045em; }
.about-profile span { color: var(--muted); }
.about-copy h2 { margin: 0 0 25px; font-size: clamp(2.5rem, 4.5vw, 4.4rem); line-height: 1; letter-spacing: -.05em; }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; line-height: 1.75; }

.values-section { background: #faf6fc; }
.values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.value-card { min-height: 285px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; }
.value-card span { color: var(--purple); font-size: .78rem; font-weight: 900; letter-spacing: .12em; }
.value-card h3 { margin: 70px 0 10px; font-size: 1.65rem; }
.value-card p { margin: 0; color: var(--muted); }

.about-project-card { display: grid; grid-template-columns: .7fr 1fr; align-items: center; gap: 10%; padding: 58px 65px; border-radius: var(--radius-lg); background: var(--purple); color: white; box-shadow: var(--shadow); }
.about-project-books { display: flex; align-items: center; justify-content: center; gap: 12px; }
.about-project-books img { width: 47%; height: auto; border-radius: 4px; box-shadow: 0 18px 38px rgba(28,14,37,.28); }
.about-project-books img:first-child { transform: translateY(10px) rotate(-3deg); }
.about-project-books img:last-child { transform: translateY(-10px) rotate(3deg); }
.about-project-card h2 { margin: 0; font-size: clamp(2.8rem, 5vw, 4.8rem); line-height: .95; letter-spacing: -.05em; }
.about-project-card > div:last-child > p:not(.eyebrow) { margin: 22px 0 28px; color: #eadff0; font-size: 1.05rem; }

.products-section { background: #faf6fc; }
.product-showcase { display: grid; grid-template-columns: .9fr 1fr; align-items: center; gap: 8%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow); }
.product-showcase-visual { position: relative; min-height: 650px; background: linear-gradient(145deg, #eee3f5 0 68%, #fff0b8 68% 100%); }
.product-cover { position: absolute; top: 50%; width: 43%; height: auto; border: 1px solid rgba(82,49,112,.12); border-radius: 5px; box-shadow: 0 23px 50px rgba(56,35,69,.22); }
.product-cover-one { z-index: 2; left: 6%; transform: translateY(-46%) rotate(-3deg); }
.product-cover-two { z-index: 1; right: 6%; transform: translateY(-54%) rotate(3deg); }
.product-showcase-copy { padding: 55px 60px 55px 0; }
.product-kicker { margin: 0 0 10px; color: var(--purple); font-size: .78rem; font-weight: 900; letter-spacing: .13em; }
.product-showcase-copy h2 { margin: 0; font-size: clamp(2.8rem, 5vw, 4.8rem); line-height: .98; letter-spacing: -.055em; }
.product-showcase-copy > p:not(.product-kicker) { margin: 24px 0; color: var(--muted); font-size: 1.06rem; }
.product-facts { display: grid; margin: 28px 0 34px; border-top: 1px solid var(--line); }
.product-facts span { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .93rem; }
.product-facts strong { color: var(--ink); }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.text-button { color: var(--purple); font-weight: 850; border-bottom: 1px solid rgba(113,73,154,.35); }
.product-note-section { padding-top: 0; }
.product-note { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px; padding: 36px 42px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; }
.product-note > span { color: var(--yellow); font-size: 2.8rem; line-height: 1; }
.product-note h2 { margin: 0 0 4px; font-size: 1.45rem; }
.product-note p { margin: 0; color: var(--muted); }

.price-list-section { padding-top: 0; background: linear-gradient(to bottom, var(--paper) 0 20%, #faf6fc 20% 100%); }
.price-list-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 30px; }
.price-list-heading .eyebrow { margin-bottom: 10px; }
.price-list-heading h2 { margin: 0; font-size: clamp(2.7rem, 4.8vw, 4.7rem); line-height: 1; letter-spacing: -.055em; }
.price-list-heading > p { max-width: 390px; margin: 0 0 7px; color: var(--muted); }
.price-list-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: 0 18px 52px rgba(56,35,69,.1); }
.price-list-table-wrap:focus-visible { outline: 3px solid rgba(113,73,154,.25); outline-offset: 4px; }
.price-list-table { width: 100%; min-width: 680px; border-collapse: collapse; text-align: left; }
.price-list-table th { padding: 18px 22px; background: var(--purple); color: white; font-size: .78rem; font-weight: 850; letter-spacing: .06em; }
.price-list-table td { padding: 21px 22px; border-bottom: 1px solid var(--line); color: var(--muted); }
.price-list-table tbody tr:last-child td { border-bottom: 0; }
.price-list-table tbody tr:hover { background: var(--purple-pale); }
.price-list-table td strong { color: var(--ink); }
.price-list-table .price-column { text-align: right; white-space: nowrap; }

.development-section { background: #faf6fc; }
.development-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.development-card { position: relative; grid-column: span 3; min-height: 250px; overflow: hidden; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; }
.development-card:nth-child(n+3) { grid-column: span 2; }
.development-card::after { content: ""; position: absolute; width: 155px; height: 155px; right: -82px; bottom: -92px; border: 1px solid rgba(113,73,154,.14); border-radius: 50%; box-shadow: 0 0 0 30px rgba(113,73,154,.025); }
.development-card b { position: relative; z-index: 1; color: var(--purple); font-size: .78rem; letter-spacing: .12em; }
.development-card h3 { position: relative; z-index: 1; max-width: 340px; margin: 58px 0 11px; font-size: clamp(1.45rem, 2.3vw, 2rem); line-height: 1.08; letter-spacing: -.035em; }
.development-card p { position: relative; z-index: 1; max-width: 420px; margin: 0; color: var(--muted); }

.contact-section { background: #faf6fc; }
.contact-grid { display: grid; grid-template-columns: .72fr 1fr; align-items: start; gap: 7%; }
.contact-details { display: grid; border-top: 1px solid var(--line); }
.contact-details article { padding: 24px 0; border-bottom: 1px solid var(--line); }
.contact-details span { display: block; margin-bottom: 8px; color: var(--purple); font-size: .76rem; font-weight: 900; letter-spacing: .14em; }
.contact-details a { display: inline-block; font-size: clamp(1.25rem, 2.4vw, 1.8rem); font-weight: 780; line-height: 1.25; }
.contact-details p { margin: 0; color: var(--muted); font-size: 1.04rem; }
.contact-form-card { padding: 45px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow); }
.contact-form-card h2 { margin: 0; font-size: clamp(2.3rem, 4vw, 3.7rem); line-height: 1; letter-spacing: -.05em; }
.contact-form { display: grid; gap: 16px; margin-top: 30px; }
.contact-form label { display: grid; gap: 7px; font-size: .84rem; font-weight: 820; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #cfbfd9; border-radius: 12px; background: white; padding: 13px 14px; color: var(--ink); outline: none; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(113,73,154,.12); }

@media (max-width: 980px) {
  .hero { padding-top: 130px; }
  .hero-grid { grid-template-columns: 1fr; gap: 65px; }
  .hero-copy { max-width: 780px; }
  .hero-visual { justify-self: center; width: min(82vw, 520px); }
  .book-image-wrap { height: 500px; }
  .why-grid { grid-template-columns: .85fr 1fr; gap: 6%; }
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-grid article:nth-child(2) { border-right: 0; }
  .approach-grid article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.2); }
  .collaboration-card { grid-template-columns: 1fr; align-items: start; }
  .order-grid { grid-template-columns: 1fr 1fr; gap: 5%; }
  .home-hero-grid { grid-template-columns: 1fr; gap: 65px; }
  .identity-card { justify-self: start; width: min(100%, 320px); min-height: 220px; }
  .featured-grid { grid-template-columns: .9fr 1fr; gap: 6%; }
  .about-story-grid { grid-template-columns: .75fr 1.25fr; gap: 6%; }
  .product-showcase { grid-template-columns: .85fr 1fr; gap: 5%; }
  .product-showcase-copy { padding-right: 38px; }
  .development-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .development-card, .development-card:nth-child(n+3) { grid-column: auto; }
}

@media (max-width: 900px) {
  .site-header { background: rgba(255,253,250,.92); backdrop-filter: blur(15px); }
  .menu-button { display: block; }
  .menu-button[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .main-nav { position: absolute; left: 14px; right: 14px; top: calc(100% + 5px); display: grid; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s, transform .2s; }
  .main-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .main-nav a { padding: 12px; }
  .main-nav a::after { display: none; }
  .nav-order { margin-top: 8px; text-align: center; }
}

@media (max-width: 760px) {
  :root { --wrap: min(100% - 28px, 680px); --radius-lg: 25px; }
  .site-header { background: rgba(255,253,250,.92); backdrop-filter: blur(15px); }
  .menu-button { display: block; }
  .menu-button[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .main-nav { position: absolute; left: 14px; right: 14px; top: calc(100% + 5px); display: grid; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s, transform .2s; }
  .main-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .main-nav a { padding: 12px; }
  .main-nav a::after { display: none; }
  .nav-order { margin-top: 8px; }
  .hero { min-height: auto; padding: 125px 0 100px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .hero-lead { font-size: 1rem; }
  .hero-proof { display: grid; grid-template-columns: repeat(2, 1fr); }
  .hero-visual { width: min(85vw, 450px); }
  .books-stage { min-height: 430px; }
  .price-sticker { right: -15px; width: 105px; height: 105px; }
  .price-sticker strong { font-size: 1.8rem; }
  .note-sticker { left: -12px; }
  .skills-track { justify-content: flex-start; overflow: hidden; }
  .section { padding: 82px 0; }
  .book-grid, .why-grid, .authors-grid, .order-grid, .footer-grid { grid-template-columns: 1fr; }
  .book-image-wrap { height: auto; aspect-ratio: 4 / 5; }
  .why-visual { width: min(100%, 520px); margin-inline: auto; }
  .why-books { min-height: 390px; }
  .why-copy { margin-top: 55px; }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-grid article, .approach-grid article:nth-child(2) { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .approach-grid article:last-child { border-bottom: 0; }
  .approach-grid h3 { margin-top: 25px; }
  .collaboration-card { padding: 38px 28px; }
  .order-grid { gap: 50px; }
  .footer-grid { gap: 35px; }
  .footer-bottom { display: grid; }
  .brand small { letter-spacing: .13em; }
  .home-hero { min-height: auto; padding: 135px 0 90px; }
  .home-hero-copy h1 { font-size: clamp(3.2rem, 15vw, 5.2rem); }
  .identity-card { min-height: 220px; padding: 30px; }
  .identity-card small { left: 30px; }
  .focus-grid, .values-grid { grid-template-columns: 1fr; }
  .focus-card { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .focus-card:last-child { border-bottom: 0; }
  .focus-card h3, .value-card h3 { margin-top: 30px; }
  .featured-grid, .about-story-grid, .about-project-card, .product-showcase, .contact-grid { grid-template-columns: 1fr; }
  .development-grid { grid-template-columns: 1fr; }
  .featured-books { width: min(100%, 520px); min-height: 520px; margin-inline: auto; }
  .home-about-card { grid-template-columns: 1fr; align-items: start; padding: 42px 30px; }
  .home-contact-inner { align-items: flex-start; flex-direction: column; }
  .page-hero { padding: 140px 0 85px; }
  .page-hero-inner { width: var(--wrap); max-width: none; margin-inline: auto; }
  .page-hero h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .about-profile { width: min(100%, 520px); min-height: 390px; margin-inline: auto; }
  .about-copy { margin-top: 35px; }
  .about-project-card { padding: 42px 30px; }
  .about-project-books { width: min(100%, 430px); margin-inline: auto; }
  .product-showcase { width: min(100%, 620px); margin-inline: auto; }
  .product-showcase-visual { min-height: 570px; }
  .product-showcase-copy { padding: 42px 30px 48px; }
  .product-note { grid-template-columns: auto 1fr; }
  .product-note .button { grid-column: 1 / -1; }
  .price-list-heading { align-items: start; flex-direction: column; gap: 16px; }
  .price-list-heading > p { max-width: 560px; }
  .contact-form-card { padding: 36px 28px; }
}

@media (max-width: 520px) {
  .brand .brand-logo { width: 128px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-grid { gap: 55px; }
  .books-stage { min-height: 350px; }
  .price-sticker { right: -7px; top: 10%; }
  .note-sticker { bottom: 3%; font-size: .75rem; }
  .book-copy { padding: 27px 23px 31px; }
  .why-visual { padding: 28px 20px; }
  .why-books { min-height: 315px; gap: 3%; }
  .why-book { width: 48%; }
  .book-copy ul { grid-template-columns: 1fr; }
  .author-quote { padding: 72px 25px 30px; }
  .author-quote > span { left: 24px; top: 18px; }
  .author-card { grid-template-columns: 78px 1fr; gap: 17px; padding: 21px; }
  .collaboration-actions { width: 100%; }
  .dialog-inner { padding: 34px 20px 25px; }
  .form-row { grid-template-columns: 1fr; }
  .buy-card { padding: 30px 24px; }
  .buy-bottom { align-items: end; }
  .buy-bottom .button { width: auto; }
  .brand small { font-size: .58rem; letter-spacing: .08em; }
  .identity-card { width: min(100%, 300px); min-height: 205px; padding: 25px; }
  .identity-lines { margin-top: 5px; font-size: 1rem; }
  .identity-card small { left: 25px; bottom: 20px; }
  .featured-books { min-height: 390px; }
  .featured-cover { width: 45%; }
  .featured-cover-one { left: 4%; }
  .featured-cover-two { right: 4%; }
  .home-about-card { padding: 36px 24px; }
  .page-hero-inner > p:last-child { font-size: 1rem; }
  .about-profile { min-height: 350px; padding: 30px; }
  .about-initials { width: 120px; height: 120px; font-size: 2.5rem; }
  .about-project-card { padding: 36px 23px; }
  .product-showcase-visual { min-height: 430px; }
  .product-cover { width: 45%; }
  .product-cover-one { left: 4%; }
  .product-cover-two { right: 4%; }
  .product-facts span { grid-template-columns: 90px 1fr; gap: 12px; }
  .product-note { grid-template-columns: 1fr; padding: 30px 24px; }
  .product-note .button { grid-column: auto; }
  .price-list-table th, .price-list-table td { padding-inline: 18px; }
  .contact-form-card { padding: 30px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
