:root {
  color-scheme: light;
  --ink: #241831;
  --violet: #21132c;
  --paper: #f8f5f1;
  --lime: #e5fb75;
  --serif: Georgia, "Times New Roman", serif;
  font: 100%/1.58 system-ui, sans-serif;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
[hidden] { display: none !important; }
.stories-contact { width: min(36rem, calc(100% - 1.5rem)); max-height: calc(100% - 1.5rem); margin: auto; padding: clamp(1rem, 4vw, 2rem); overflow: auto; border: 1px solid #e0d5e4; border-radius: 18px; background: #fffdfa; color: var(--ink); }
.stories-contact::backdrop { background: #21132cb3; }
.stories-contact-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: .65rem; margin-bottom: .75rem; }
.stories-contact-heading h2 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
.stories-contact-close { border-color: #ad9bb7; background: #fffaf8; color: var(--ink); }
.stories-contact [data-contact-form] { display: grid; gap: .75rem; margin-top: .8rem; }
.stories-contact [data-contact-form] label { display: grid; gap: .2rem; font-weight: 650; }
.stories-contact input, .stories-contact textarea { width: 100%; min-height: 44px; padding: .55rem; border: 1px solid #ad9bb7; border-radius: 8px; background: white; color: var(--ink); font: inherit; }
.stories-contact textarea { resize: vertical; }
.stories-contact input:focus-visible, .stories-contact textarea:focus-visible { outline: 3px solid #9460cc; outline-offset: 2px; }
.stories-contact-note { color: #55465c; font-size: .91rem; }
.stories-contact-note:empty, [data-contact-description]:empty { display: none; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #9460cc; outline-offset: 5px; }
h1, h2, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -.052em; }
h2 { font-size: clamp(2.25rem, 4.15vw, 4rem); }
.wrap { width: min(1160px, calc(100% - 3rem)); margin-inline: auto; }
.top { background: var(--violet); color: white; border-bottom: 1px solid #ffffff24; }
.nav, .footer { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; }
.brand { text-decoration: none; font-size: 1.08rem; white-space: nowrap; }
.brand span { font-weight: 850; letter-spacing: .07em; margin-right: .45rem; }
.navlinks, .footer div { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.navlinks a { color: #f5edf8; text-decoration: none; }
.navlinks a:hover, .footer a:hover { text-decoration: underline; }
.hero { background: radial-gradient(ellipse at 77% 50%, #493057, var(--violet) 66%); color: white; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(1.5rem, 4vw, 4.25rem); align-items: center; padding-block: clamp(3.5rem, 8vw, 7rem); }
h1 { font-size: clamp(3.1rem, 7.35vw, 6.85rem); }
h1 em { color: var(--lime); }
.hero p { color: #e7dce9; max-width: 42ch; margin: 1.45rem 0 1.7rem; font-size: 1.13rem; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; border-radius: 99px; border: 1px solid transparent; padding: .68rem 1.15rem; font: inherit; font-weight: 680; text-decoration: none; cursor: pointer; }
.button:hover { filter: brightness(.92); }
.primary { background: var(--lime); color: #231a2b; }
.outline { color: white; border-color: #ffffff65; }
.dark { background: var(--ink); color: #fff; }
.book-scene { position: relative; min-height: clamp(305px, 34vw, 450px); display: grid; place-items: center; isolation: isolate; }
.book { width: 51%; max-width: 226px; aspect-ratio: 2 / 3; border-radius: 4px 8px 8px 4px; position: absolute; display: flex; flex-direction: column; overflow: hidden; box-shadow: 15px 22px 28px #12091899; }
.book-back { background: linear-gradient(142deg, #dec868, #a87135); color: #201628; transform: translate(30%, -3%) rotate(14deg); padding: 20px; font: 700 clamp(.65rem, 1.2vw, 1rem)/1.25 system-ui; text-align: right; }
.book-front { padding: clamp(15px, 2.4vw, 30px) clamp(12px, 2vw, 26px); color: #f7ecd4; background: linear-gradient(90deg, #21261c 1%, #ffffff20 3%, transparent 8%), linear-gradient(146deg, #687359, #28392e); transform: translate(-16%, -1%) rotate(-10deg); border: 1px solid #c5b86e61; }
.book-label { font-size: .69rem; letter-spacing: .15em; font-weight: 700; }
.book-title { font: italic clamp(2.1rem, 4.2vw, 4.4rem)/.9 var(--serif); margin-top: 19%; position: relative; z-index: 1; }
.book-wave { position: absolute; border: 1px solid #d2c68b77; width: 120%; aspect-ratio: 1; border-radius: 50%; left: 25%; bottom: -24%; box-shadow: 0 0 0 12px #d2c68b28, 0 0 0 24px #d2c68b24, 0 0 0 36px #d2c68b1c; }
.sample-label { align-self: end; font-size: .82rem; color: #e2d2df; margin-top: 15px; }
.editions { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-block: clamp(2.5rem, 6vw, 5rem); }
.route { position: relative; border: 1px solid #ded4e2; padding: clamp(1.5rem, 3.7vw, 3.35rem); border-radius: 18px; }
.route.personal { background: #efe5ee; display: grid; grid-template-columns: 1fr minmax(76px, 23%); gap: 1rem; align-items: center; }
.route.publishing { background: #edece4; }
.route p:not(.eyebrow), .sample h2 + p { margin-block: 1rem 1.25rem; max-width: 48ch; }
.route img { width: 100%; height: auto; display: block; border-radius: 3px; box-shadow: 8px 10px 16px #34223a45; }
.eyebrow { font-weight: 750; font-size: .88rem; color: #594169; margin-bottom: .8rem; }
.sample { background: #ece6f0; border-block: 1px solid #e4dbe9; padding-block: clamp(2.5rem, 6vw, 5rem); }
.sample-grid { display: grid; grid-template-columns: .83fr 1fr; gap: clamp(1.5rem, 6vw, 6rem); align-items: center; }
.reader { background: #fff; border-radius: 16px; padding: clamp(1.25rem, 3vw, 2.25rem); }
blockquote { margin: 0 0 1.2rem; font: 1.4rem/1.4 var(--serif); }
#listen-status:empty { display: none; }
#listen-status { margin-top: .5rem; }
details { margin-top: 1rem; border-top: 1px solid #e4dce8; padding-top: .9rem; }
details p { margin-top: .6rem; }
summary { cursor: pointer; font-weight: 700; }
.footer { min-height: 90px; }
@media (max-width: 800px) {
  .hero-grid, .editions, .sample-grid { grid-template-columns: 1fr; }
  .book-scene { max-width: 500px; width: 100%; margin: auto; min-height: 365px; }
  .book { max-width: 185px; }
  .book-title { font-size: clamp(2.65rem, 8vw, 3.55rem); }
  .route img { max-width: 115px; justify-self: end; }
}
@media (max-width: 460px) {
  .wrap { width: calc(100% - 2rem); }
  .nav, .footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: .4rem; padding-block: .7rem; }
  .navlinks { gap: 1rem; }
  .book-scene { min-height: 300px; }
  .book { max-width: 155px; }
  .route.personal { grid-template-columns: 1fr; }
  .route img { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
.language { padding:.1rem .55rem; border:1px solid #ffffff65; border-radius:999px; }
.button.compact { padding-inline:.8rem; }
.reader audio { width:100%; }
.sample-more { display:inline-block; margin-top:.5rem; }
.sample-grid .actions { margin-top:1.1rem; }
.advice-section { display:grid; grid-template-columns:.8fr 1fr; gap:clamp(1.25rem,6vw,5rem); align-items:start; padding-block:clamp(2.5rem,6vw,5rem); }
.advice-copy p { margin:1rem 0; max-width:42ch; }
.advice-card { border:1px solid #ded4e2; }
.advice-header { display:flex; justify-content:space-between; flex-wrap:wrap; gap:.25rem .6rem; }
.advice-header span { font-size:.86rem; color:#66506d; }
.transcript { max-height:16rem; min-height:5rem; overflow:auto; display:grid; align-content:start; gap:.55rem; margin:.9rem 0; }
.message { padding:.55rem .7rem; max-width:94%; background:#f1e9f3; border-radius:9px; overflow-wrap:anywhere; }
.message a { display:block; margin-top:.35rem; font-weight:700; }
.message.visitor { justify-self:end; background:#f1eee8; }
.chat-questions { display:flex; flex-wrap:wrap; gap:.45rem; margin:.5rem 0 1rem; }
.chat-questions button { border:1px solid #d8cdda; border-radius:999px; background:#fff; color:inherit; padding:.42rem .65rem; min-height:42px; font:inherit; cursor:pointer; }
.chat-questions button:hover { background:#f1e9f3; }
#advice-form label { display:block; font-weight:650; margin-bottom:.3rem; }
.chat-input { display:flex; gap:.45rem; }
.chat-input input { min-width:0; flex:1; padding:.65rem .7rem; border-radius:9px; border:1px solid #baaabd; font:inherit; }
@media(max-width:800px) { .advice-section { grid-template-columns:1fr; } }

/* Photographic entrances shared by the site and its two audiences. */
.story-hero { background: #24152d; }
.story-hero .hero-grid { padding-block: clamp(2rem, 5.5vw, 5rem); }
.story-hero h1 { font-size: clamp(3.5rem, 6.4vw, 6rem); max-width: 11ch; }
.story-photo { width: 100%; height: auto; display: block; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 14px; }
.story-paths { padding-block: clamp(2.6rem, 6vw, 5rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem,3vw,2.75rem); }
.story-route { display: flex; flex-direction: column; }
.story-route img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; display: block; border-radius: 10px; }
.story-route > div { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding-block: 1.4rem .3rem; }
.story-route .button { margin-top: auto; }
.story-route h2 { font-size: clamp(2.3rem, 4vw, 3.3rem); }
.story-route h2 + p { margin: .8rem 0 1.2rem; max-width: 54ch; }
.story-route .eyebrow { margin-bottom: .45rem; }
.brand span { color: var(--violet); }
.top .brand span { color: var(--lime); }
@media (max-width: 800px) {
  .story-photo { aspect-ratio: 16 / 9; }
  .story-hero .hero-grid { gap: 1.5rem; }
}
@media (max-width: 620px) {
  .story-paths { grid-template-columns: 1fr; gap: 2.5rem; }
  .story-hero h1 { max-width: 12ch; }
}

.family-path { grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .family-path .story-route { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
  .family-path .story-route > div { padding-block: 0; }
}
