.inner-page {padding-bottom:clamp(3.5rem,7vw,7rem)}
.inner-page [hidden] {display:none!important}
.inner-page h1,.inner-page h2,.inner-page h3 {color:var(--ink);font-family:Georgia,"Times New Roman",serif;font-weight:400;line-height:1.04;letter-spacing:-.045em}
.inner-page h1 {font-size:clamp(3.4rem,6.2vw,6.25rem);margin:.15em 0 .3em}
.inner-page h1 em {color:var(--wine);font-weight:400}
.inner-page h2 {font-size:clamp(2rem,4vw,3.7rem);margin:0 0 .5em}
.inner-page p:not(.eyebrow,.stage-no,.fine-print) {line-height:1.65}
.inner-page .lede,.inner-page .book-byline {font-family:Georgia,serif;font-size:clamp(1.25rem,2.1vw,1.65rem)}
.inner-page .book-byline {font-style:italic;color:var(--wine);margin:0 0 1.35em}
/* Inner pages share the masthead gutters. Reading panels retain their own line length. */
.inner-page .button {margin-top:.65rem}
.inner-page .editorial-link {display:inline-block;color:var(--wine);font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.35em}
.editorial-link span {display:inline-block;margin-inline-start:.3em}
.inner-page .page-intro {padding:clamp(3.8rem,7vw,7.5rem) 0 2.3rem;border-bottom:1px solid #cfc5b6}
.page-intro .lede {max-width:48rem;margin-bottom:0}
.book-spread,.profile-spread,.contact-layout {display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(2rem,6vw,6rem);padding-block:clamp(2rem,3.5vw,3.75rem)}
.editorial-image {margin:0;display:grid;place-items:center}
.cover-plate {padding:clamp(1.65rem,4.6vw,4.6rem);background:#e6ddca;background-image:radial-gradient(ellipse at 35% 25%,#f7efde 0,transparent 70%);border:1px solid #d7cbb5}
.cover-plate img {width:min(100%,315px);height:auto;box-shadow:10px 14px 22px #392b2036;transform:rotate(-3deg)}
.portrait-plate img {width:100%;height:auto;display:block}
.editorial-band {background:#e9e1d3;padding:clamp(3rem,5vw,6rem) 0}
.band-layout {display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:start}
.band-layout p {margin-top:0}
.reading-sheet,.faq-list {padding:clamp(2.8rem,5vw,5rem) 0 0}
.inner-page .reading-sheet,.inner-page .faq-list {max-width:800px}
.reading-sheet p {font:1.2rem Georgia,serif;max-width:63ch}
.inner-actions {display:flex;align-items:center;flex-wrap:wrap;gap:1.5rem;margin-top:1.6rem}
.journey-layout {display:grid;grid-template-columns:minmax(170px,.45fr) 1fr;gap:clamp(1.8rem,6vw,7rem);padding-top:4rem}
.journey-index {position:sticky;top:6rem;align-self:start;display:grid;border-left:1px solid #cfc2af}
.journey-index a {padding:.55rem 1.15rem;color:var(--ink);text-decoration:none;line-height:1.45}
.journey-index a:hover,.journey-index a[aria-current] {color:var(--wine);box-shadow:inset 3px 0 var(--wine);background:#ece4d7}
.journey-stages section {position:relative;padding:0 0 2.5rem;margin:0 0 2.5rem;border-bottom:1px solid #cfc5b6;scroll-margin-top:8rem}
.stage-no {font:italic 1.3rem Georgia,serif;color:var(--wine);margin:0 0 .8rem}
.journey-stages img {display:block;width:100%;max-height:300px;object-fit:cover;margin-top:1.25rem}
.gallery-grid {padding-top:3rem;display:grid;grid-template-columns:repeat(3,1fr);gap:2rem}
.gallery-grid figure {margin:0}
.gallery-open {position:relative;display:block;width:100%;padding:0;border:0;background:#dfd5c1;cursor:zoom-in;overflow:hidden}
.gallery-open img {display:block;width:100%;height:clamp(190px,20vw,285px);object-fit:cover;transition:transform .45s ease}
.gallery-grid figure:first-child .gallery-open img {object-fit:contain}
.gallery-open img[src$="/portrait-editorial.jpg"] {object-fit:contain;object-position:center}
.gallery-open:hover img {transform:scale(1.035)}
.gallery-open span {position:absolute;right:.6rem;bottom:.6rem;background:#faf6ed;color:var(--ink);padding:.35rem .5rem}
.gallery-grid figcaption {padding:.9rem 0;font-size:.85rem}
.gallery-grid figcaption strong {display:block;font:1.35rem Georgia,serif;margin-bottom:.4rem}
.image-dialog {width:min(90vw,880px);max-width:95vw;max-height:92dvh;padding:2.8rem 1rem 1rem;border:0;color:#fff;background:#242529}
.image-dialog::backdrop {background:#17171be6}
.image-dialog img {display:block;margin:auto;max-width:100%;width:auto;height:auto;max-height:65dvh;object-fit:contain}
.image-dialog div {display:flex;align-items:center;justify-content:space-between;gap:1rem}
.image-dialog p {text-align:center}
.image-dialog button {width:44px;height:44px;color:#fff;background:transparent;border:1px solid #ffffff78;cursor:pointer;font-size:1.4rem}
.image-dialog [data-close] {position:absolute;right:0;top:0;border:0}
.order-box {padding:1.6rem 0;margin:1.5rem 0;border-block:1px solid #cfc5b6}
.order-box h2 {font-size:1.9rem}
.order-box .editorial-link {margin:.6rem 1rem .3rem 0}
.order-box form {display:flex;flex-wrap:wrap;align-items:center;gap:.7rem;margin-bottom:1.5rem}
.order-box form .button {margin:0}
.order-box input {width:4.5rem;min-height:44px;border:1px solid #968873;background:#fffaf2;color:var(--ink);padding:.5rem}
.book-spread, .contact-layout {align-items:start}
.book-spread h1 em {white-space:nowrap}
.book-copy > p {max-width:64ch}
.contact-form {display:grid;gap:.6rem}
.contact-form label {font-size:.9rem;font-weight:600}
.contact-form input,.contact-form textarea {border:1px solid #a49682;border-radius:0;background:#fffcf7;color:var(--ink);width:100%;font:inherit;padding:.8rem;margin:0 0 .6rem}
.contact-form textarea {resize:vertical;min-height:120px}
.contact-form .button {justify-self:start}
.contact-form .button:disabled {opacity:.65;cursor:default}
.contact-form #contact-state,.contact-form .fine-print {font-size:.85rem;margin:0}
.inner-page a:focus-visible,.inner-page button:focus-visible,.inner-page input:focus-visible,.inner-page textarea:focus-visible,.inner-page summary:focus-visible {outline:3px solid var(--wine);outline-offset:3px}
.image-dialog button:focus-visible {outline-color:white}
.inner-page #checkout-error:empty,.inner-page #order-result:empty {display:none}
#order-result:not(:empty) {padding:1rem;border-left:2px solid var(--wine);background:#ece4d7}
.faq-list details {border-bottom:1px solid #cfc5b6}
.faq-list summary {cursor:pointer;display:flex;justify-content:space-between;gap:1rem;align-items:center;font:clamp(1.15rem,2vw,1.65rem) Georgia,serif;line-height:1.4;padding:1.3rem .25rem;list-style:none}
.faq-list summary::-webkit-details-marker {display:none}
.faq-list summary::after {content:'\f067';font:900 .8rem 'Font Awesome 5 Free';color:var(--wine)}
.faq-list details[open] summary::after {content:'\f068'}
.faq-list details p {padding:0 .25rem 1rem;margin-top:0}
.faq-list details[open] p {animation:faq-in .25s ease}
@keyframes faq-in {from {opacity:.25;transform:translateY(-4px)}}
@media(max-width:750px){
  .book-spread,.profile-spread,.contact-layout,.band-layout {grid-template-columns:1fr;gap:2rem}
  .cover-plate img {width:min(58%,260px)}
  .profile-spread .portrait-plate {width:min(100%,320px)}
  .profile-spread .portrait-plate,.shop-spread .cover-plate {order:1}
  .journey-layout {grid-template-columns:1fr;padding-top:2rem}
  .journey-index {display:none}
  .gallery-grid {grid-template-columns:1fr 1fr;gap:1rem}
}
@media(max-width:440px){.gallery-open img {height:170px}.gallery-grid {gap:.9rem}}
@media(prefers-reduced-motion:reduce){.inner-page * {animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.inner-page .book-copy>p+p:not(.book-byline),.inner-page .prose p+p,.inner-page .reading-sheet p+p {margin-top:1em}
.inner-page .prose {margin:1.25rem 0}
.inner-page .published-reviews {padding-top:2rem;max-width:800px}
.reader-review {border-bottom:1px solid var(--rule);padding-block:2rem}
.reader-review blockquote {margin:0 0 .6rem;font:italic 1.6rem/1.4 var(--serif)}
.review-rating {color:var(--wine)}

.inner-page h1, .inner-page h2, .inner-page h3,
.inner-page .lede, .inner-page .book-byline { font-family: var(--serif); }
.inner-page .page-intro {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(42px, 5vw, 85px) 0;
  background: #28303b;
  border: 0;
  color: #fbf5e9;
}
.page-intro::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 42%;
  background: linear-gradient(90deg, #28303b, #28303b88 42%, #28303b24), var(--header-photo, url("assets/archive.webp")) center 40% / cover;
}
.page-intro .eyebrow { color: #e9c9a4; }
.page-intro h1 { color: #fffbf1; max-width: 17ch; margin: .18em 0; }
.page-intro .lede { max-width: min(48%, 52ch); font-size: clamp(18px, 1.55vw, 24px); }
.inner-page:has(.journey-layout) { --header-photo: url("assets/flight.webp"); }
.inner-page:has(.gallery-grid) { --header-photo: url("assets/ballet.webp"); }
.inner-page:has(.reading-sheet) .reading-sheet,
.inner-page .faq-list, .contact-form {
  background: #fffdf7;
  padding: clamp(24px, 4.6vw, 60px);
  border: 1px solid #d8cdbb;
  box-shadow: 0 8px 30px #5c48350c;
}
.inner-page .reading-sheet, .inner-page .faq-list { margin-top: clamp(24px, 4vw, 58px); }
.reading-sheet h2 { font-style: italic; color: var(--wine); }
.inner-page .reading-sheet p { font-family: var(--serif); }
.inner-page .reading-sheet .fine-print { font: 14px/1.65 var(--sans); color: var(--muted); }
.cover-plate, .portrait-plate { position: relative; isolation: isolate; }
.cover-plate {
  overflow: hidden;
  background: radial-gradient(ellipse at 20% 15%, #f5ead3, #d2bc96);
  box-shadow: inset 0 0 0 8px #f3ecdd;
}
.cover-plate::before {
  content: "";
  position: absolute;
  width: 77%;
  height: 45%;
  right: -8%;
  bottom: 6%;
  z-index: -1;
  rotate: 10deg;
  border: 7px solid #fff7e4;
  background: url("assets/flight.webp") center / cover;
  opacity: .66;
}
.cover-plate img { border-radius: 2px; box-shadow: 10px 17px 25px #33281a68; }
.portrait-plate { padding: 7px; background: #fffdf6; box-shadow: 3px 9px 20px #54473525; width: min(100%, 430px); justify-self: center; }
.portrait-plate::after { content:""; position:absolute; inset:14px -9px -9px 14px; border:1px solid #a58858; pointer-events:none; }
.editorial-band { background: #29313c; color: #f9f3e9; }
.editorial-band h2, .editorial-band h2 i { color: #f6e4c8; }
.editorial-band .eyebrow, .editorial-band .editorial-link { color: #f1cfaa; }
.editorial-band .editorial-link { margin-top: 1em; }
.journey-stages { border-left: 1px solid #bfae92; padding-left: clamp(23px, 3vw, 46px); }
.journey-stages section::before {
  content: "";
  position: absolute;
  top: .7em;
  left: calc(-1 * clamp(23px, 3vw, 46px) - 5px);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--wine);
  box-shadow: 0 0 0 4px var(--paper);
}
.gallery-grid figure { padding: 7px 7px 0; background: #fffcf4; border: 1px solid #d9cfbd; box-shadow: 0 5px 14px #51433212; }
.gallery-grid figcaption { padding: 12px 8px 16px; line-height: 1.4; }
@media (min-width: 751px) {
  .gallery-grid { grid-template-columns: 1.1fr 1fr 1fr; gap: 22px; align-items: stretch; }
  .gallery-grid figure:first-child { grid-row: span 2; display: flex; flex-direction: column; }
  .gallery-grid figure:first-child .gallery-open { flex: 1; min-height: 360px; }
  .gallery-grid figure:first-child img { position: absolute; inset: 0; height: 100%; padding: 8%; }
  .contact-layout > div:first-child::after {
    content: "";
    display: block;
    margin-top: 2rem;
    height: clamp(150px, 20vw, 240px);
    background: url("assets/flight.webp") center / cover;
    border: 8px solid #fffaf0;
    box-shadow: 0 6px 18px #57463120;
    rotate: -2deg;
  }
}
.order-box { padding: 1.4rem; background: #efe8d9; border: 1px solid var(--rule); }
@media (max-width: 750px) {
  .page-intro::after { inset-inline-start: 20%; opacity: .45; }
  .page-intro .lede { max-width: 36ch; }
  .portrait-plate { margin-inline: 4px; }
  .gallery-grid figure:first-child { grid-column: 1 / -1; }
  .gallery-grid figure:first-child img { height: 255px; padding: 12px; }
}

/* Keep archival details at the page edges, beneath content and controls. */
.inner-page {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}
.inner-page::before, .inner-page::after, .page-intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.inner-page::before {
  width: clamp(120px, 18vw, 260px);
  aspect-ratio: 1.35;
  left: -6%;
  top: 24rem;
  rotate: -13deg;
  background: repeating-linear-gradient(transparent 0 15px, #77634644 15px 16px), url("assets/paper-grain.png");
  border: 1px solid #a48f6b;
  opacity: .12;
}
.inner-page::after, .page-intro::before {
  width: clamp(110px, 14vw, 205px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 4px double currentColor;
  background: radial-gradient(circle, transparent 55%, currentColor 56%, transparent 57%);
}
.inner-page::after {
  bottom: 1rem;
  right: -3rem;
  color: #9a7c57;
  opacity: .21;
}
.page-intro::before {
  right: 6%;
  top: -42px;
  z-index: 0;
  color: #fff1d3;
  opacity: .3;
}
.page-intro .intro-copy {
  position: relative;
  z-index: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .inner-page::before, .inner-page::after, .page-intro::before {
    animation: archive-drift 18s ease-in-out infinite alternate;
  }
  .inner-page::after { animation-direction: alternate-reverse; }
}

/* Author feature */
.author-hero {
  background: #142f32;
  color: #f9f3e6;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.author-hero::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid #c5ad7860;
  pointer-events: none;
  z-index: -1;
}
.author-hero .profile-spread {
  grid-template-columns: .95fr 1fr;
  gap: clamp(40px, 8vw, 120px);
  padding-block: clamp(45px, 5.5vw, 88px);
}
.author-hero .portrait-plate {
  width: min(100%, 440px);
  padding: 0;
  background: transparent;
  box-shadow: 0 24px 50px #071c2655;
}
.author-hero .portrait-plate::after {
  inset: -12px 12px 12px -12px;
  border-color: #c9af7a;
}
.author-hero .eyebrow { color: #dfc699; }
.author-hero h1 {
  font-size: clamp(64px, 7.8vw, 126px);
  line-height: .9;
  letter-spacing: -.045em;
  color: #fff9ee;
  margin: 25px 0 28px;
}
.author-hero h1 em { color: #dfbc89; }
.author-hero .lede { color: #e2cba5; font-size: clamp(20px, 1.8vw, 28px); }
.author-hero .prose { max-width: 50ch; color: #e0e4dc; font-size: 18px; margin-top: 26px; }
.author-hero .editorial-link { color: #f0d8ae; font: 500 13px var(--sans); }
.author-hero .button { background: #ebd7b6; color: #193336; border-color: #ebd7b6; margin: 0; }
.author-hero .button:hover { background: #fff0d7; }
.author-novel { display: grid; grid-template-columns: 220px 1fr; align-items: center; gap: clamp(35px, 7vw, 100px); padding-block: 70px; max-width: 1000px; }
.author-book-cover { padding: 13px; background: #e6dbc6; rotate: -4deg; box-shadow: 10px 15px 24px #59482f22; }
.author-book-cover img { width: 100%; height: auto; }
.author-novel h2 { margin-top: 16px; }
.author-novel h2 i { color: var(--wine); }
.author-novel p:not(.eyebrow) { font-size: 20px; margin-bottom: 22px; max-width: 48ch; }
@media (max-width: 750px) {
  .author-hero .profile-spread { grid-template-columns: 1fr; gap: 38px; padding-block: 46px; }
  .author-hero .portrait-plate { order: 0; width: min(80%, 320px); }
  .author-hero::before { inset: 13px; }
  .author-hero .author-introduction { padding-inline: 10px; }
  .author-hero h1 { font-size: clamp(66px, 13vw, 90px); }
  .author-novel { grid-template-columns: 1fr; gap: 34px; padding-block: 45px; }
  .author-book-cover { width: 145px; margin-left: 8px; }
}
