@import url("/brand.css");

:root {
  color-scheme: light;
  --paper:#f8f7f4; --ink:#1d1e1b; --muted:#555852; --rule:#afb0a8;
  --section-space:clamp(3rem,6vw,6.25rem);
  --forest:#222522; --line-primary:2px;
  --ui:"DM Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  font:100%/1.55 var(--ui); color:var(--ink); background:var(--paper);
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body,figure,h1,h2,h3,p,dl,dd { margin:0; }
a { color:inherit; text-underline-offset:.22em; }
button,summary { font:inherit; }
a:focus-visible,summary:focus-visible,button:focus-visible { outline:3px solid var(--ink); outline-offset:4px; }
img { display:block; max-width:100%; }
.layout { width:min(calc(100% - clamp(2rem,9vw,10rem)),90rem); margin-inline:auto; }
.skip { position:fixed; top:0; left:1rem; transform:translateY(-150%); z-index:10; padding:.7rem 1rem; background:white; }
.skip:focus { transform:translateY(0); }
@font-face { font-family:DelayedTitle; src:url('/assets/delayed-title.woff') format('woff'); font-weight:700; font-display:swap; }
.site-head { min-height:4.6rem; display:flex; align-items:center; justify-content:space-between; gap:1.5rem; border-bottom:var(--line-primary) solid var(--ink); }
.nameplate { display:inline-flex; align-items:center; gap:.8rem; color:var(--ink); font-weight:700; font-size:1.05rem; text-decoration:none; letter-spacing:-.045em; white-space:nowrap; }
.wing { width:1.65rem; height:1.12rem; transform:skewX(-26deg); background:linear-gradient(to right,#20201f 0 40%,transparent 40% 49%,#20201f 49% 72%,transparent 72% 82%,var(--accent) 82%); }
nav { display:flex; align-items:center; gap:clamp(.85rem,2.3vw,2.7rem); }
nav a,footer a { font-size:.92rem; text-decoration:none; }
nav a:hover,footer a:hover { text-decoration:underline; }
nav .nav-buy { font-weight:700; }
.corner-arrow { display:inline-block; width:.55em; height:.55em; border-top:1.5px solid; border-right:1.5px solid; color:var(--accent); margin:0 .16em .10em .2em; position:relative; }
.corner-arrow::before { content:""; position:absolute; right:-.5px; top:-.5px; width:.72em; border-top:1.5px solid; transform-origin:100% 50%; transform:rotate(-45deg); }
.terminal-hero { display:grid; grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr); align-items:center; gap:clamp(1.8rem,4vw,4.6rem); padding-block:clamp(1.5rem,3vw,3.5rem) clamp(1.7rem,2.75vw,3rem); }
.hero-text { align-self:center; padding-bottom:1.3rem; }
.hero-kicker,.tray-caption,.terminal-heading>span,.gate-row small,.note-time,.rubric,.memory-count,.format,footer { font-family:var(--ui); }
.hero-kicker { display:flex; gap:.6rem; align-items:center; font-size:.76rem; letter-spacing:.045em; text-transform:uppercase; line-height:1.2; }
.hero-kicker>span { width:1.65rem; height:.19rem; background:var(--accent); }
.terminal-hero h1 { margin:.115em 0 0 -.025em; font:700 clamp(5.65rem,11.25vw,11.6rem)/.95 DelayedTitle,var(--ui); letter-spacing:-.052em; color:#181817; }
.hero-author { margin:.25em 0 0; font:500 clamp(1.85rem,3vw,3.65rem)/1.12 var(--ui); letter-spacing:-.057em; }
.hero-blurb { max-width:33ch; margin:clamp(1.35rem,2.4vw,2.7rem) 0 clamp(1.4rem,2.4vw,2.55rem); font-size:clamp(1rem,1.3vw,1.35rem); line-height:1.5; letter-spacing:-.014em; }
.hero-blurb em { font:inherit; font-weight:600; white-space:nowrap; }
.hero-actions { display:flex; align-items:center; gap:.75rem 1.35rem; flex-wrap:wrap; }
.hero-order,.hero-sample,.button { display:inline-flex; align-items:center; font-weight:700; text-decoration:none; }
.hero-order { padding:.83rem 1.05rem; background:#1c1c1b; color:white; font-size:.97rem; gap:1rem; }
.sale-note { margin:.65rem 0 0; font-size:.89rem; color:var(--muted); }
.sale-note time { color:var(--ink); }
.excerpt-order { display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; max-width:38rem; margin:0 auto clamp(1.5rem,3vw,2.5rem); padding-top:1.15rem; border-top:1px solid var(--rule); }
.excerpt-order p { font:italic 400 clamp(1.55rem,2.4vw,2rem)/1.15 var(--ui); letter-spacing:-.04em; }
.hero-order:hover { background:#393936; }
.hero-sample { font-size:.94rem; gap:.55rem; border-bottom:1px solid; padding-block:.35rem .15rem; }
.hero-sample:hover { border-bottom-color:var(--accent); text-decoration:underline; }
.tray-gallery { position:relative; min-width:0; }
.tray-stage { position:relative; width:100%; aspect-ratio:1.5; isolation:isolate; overflow:hidden; background:#9f9b93; }
.tray-image { width:100%; height:100%; object-fit:cover; }
.book-object { position:absolute; width:32%; aspect-ratio:1001/1420; top:49%; left:48.8%; transform:translate(-50%,-50%) rotate(-8deg); perspective:1100px; }
.book-turn { position:relative; height:100%; width:100%; transform-style:preserve-3d; transition:transform .62s cubic-bezier(.35,.06,.22,.98); box-shadow:1px 1px 0 #aca99f,2px 2px 0 #78746a,3px 3px 0 #d2cec3,4px 4px 0 #78766b,6px 7px 7px #221e1990,12px 15px 18px #1f1c1666; }
.book-object.turned .book-turn { transform:rotateY(180deg); }
.book-face { position:absolute; inset:0; display:block; width:100%; height:100%; -webkit-backface-visibility:hidden; backface-visibility:hidden; }
.book-front { transform:translateZ(.25px); }
.book-back { transform:rotateY(180deg) translateZ(.25px); }
.tray-caption { display:flex; align-items:center; justify-content:space-between; min-height:2rem; gap:.7rem; border-bottom:1px solid var(--rule); font-size:.73rem; color:var(--muted); }
.tray-caption button { display:flex; align-items:center; gap:.4rem; min-height:2.5rem; padding:.35rem .15rem .35rem .5rem; background:none; border:0; cursor:pointer; font:600 .8rem/1.3 var(--ui); color:var(--ink); }
.tray-caption button[hidden] { display:none; }
.tray-caption button>span { display:inline-block; font:1.3rem/1 system-ui; }
.tray-caption button:hover { text-decoration:underline; }
.departures { background:#191a18; color:#f8f7f1; padding:clamp(1.3rem,2.3vw,2.15rem) 0 clamp(1.35rem,2.3vw,2.15rem); border-block:1px solid #242522; }
.departures :focus-visible { outline-color:var(--accent); }
.terminal-heading { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding-bottom:.9rem; border-bottom:1px solid #54554f; }
.terminal-heading h2 { display:flex; align-items:center; gap:.65rem; font:600 clamp(1.3rem,2vw,1.85rem)/1.15 var(--ui); letter-spacing:-.045em; }
.flight-icon { width:1.75rem; height:1.75rem; display:grid; place-items:center; color:#191a18; background:var(--accent); font:1.38rem/1 system-ui; border-radius:2px; }
.flight-icon::before { content:""; width:1.25rem; height:1.25rem; background:currentColor; transform:rotate(38deg); clip-path:polygon(49% 0,55% 5%,58% 34%,96% 59%,96% 69%,58% 55%,55% 78%,69% 91%,69% 99%,50% 92%,31% 99%,31% 91%,45% 78%,42% 55%,4% 69%,4% 59%,42% 34%,45% 6%); }
.terminal-heading>span { color:#c9c8bd; text-transform:uppercase; font-size:.8rem; letter-spacing:.045em; }
.terminal-heading b { color:var(--accent); padding:0 .25em; font-weight:400; }
.gate-row>summary { display:grid; grid-template-columns: minmax(0,1.55fr) .48fr 1fr auto; align-items:center; gap:clamp(.85rem,3vw,3rem); padding-top:1rem; }
.gate-row>summary>span { display:flex; flex-direction:column; align-items:flex-start; gap:.3rem; }
.gate-row small { font-weight:400; font-size:.8rem; line-height:1.3; text-transform:uppercase; letter-spacing:.045em; color:#c3c2b8; }
.route-field strong,.gate-field strong { font:500 clamp(1.35rem,2.4vw,2.65rem)/1.2 var(--ui); letter-spacing:-.047em; }
.gate-field strong { font-variant-numeric:tabular-nums; }
.flaps { display:flex; gap:2px; }
.flaps>span { width:1em; min-width:1em; height:1.28em; padding:0 .07em; display:grid; place-items:center; border-block:1px solid #575952; border-radius:2px; background:linear-gradient(#353634 49%,#171817 49% 52%,#2b2d2a 52%); color:var(--accent); font:600 clamp(1.15rem,1.9vw,2rem)/1 var(--ui); }
/* Each card folds at the seam; the lower half lands after the upper half falls. */
.flaps>span { position:relative; isolation:isolate; perspective:3em; }
.board-face { position:absolute; inset:0; display:grid; place-items:center; font:inherit; color:inherit; background:inherit; border-radius:inherit; pointer-events:none; backface-visibility:hidden; }
.board-face::after { content:attr(data-letter); }
.board-base,.board-in { clip-path:inset(50% 0 0); }
.board-out { clip-path:inset(0 0 50%); animation:board-fall .105s ease-in both; }
.board-in { animation:board-land .11s .105s ease-out both; }
@keyframes board-fall { to { transform:rotateX(-90deg); } }
@keyframes board-land { from { transform:rotateX(90deg); } to { transform:rotateX(0); } }
@media(prefers-reduced-motion:reduce) { .board-face { display:none; } }
.gate-row>summary>.note-trigger { flex-direction:row; align-items:center; gap:.8rem; font-size:.93rem; font-weight:600; border-bottom:1px solid #72736b; padding:.4rem 0; justify-self:end; }
.note-trigger i { width:.85rem; height:.85rem; position:relative; }
.note-trigger i::after,.note-trigger i::before { content:""; position:absolute; width:100%; height:1px; background:var(--accent); top:50%; }
.note-trigger i::after { transform:rotate(90deg); }
.gate-row[open] .note-trigger i::after,.when-open,.gate-row[open] .when-closed { display:none; }
.gate-row[open] .when-open { display:inline; }
.gate-row>summary:hover .note-trigger { border-bottom-color:var(--accent); }
.gate-evidence { margin-top:1.5rem; padding-top:1.5rem; border-top:1px dashed #787a70; display:grid; grid-template-columns:1.1fr 1fr; align-items:center; gap:clamp(1.5rem,5vw,5rem); }
.notebook { background:repeating-linear-gradient(transparent 0 1.95rem,#9f9a8729 1.95rem 2rem),#f4efe0; color:#232320; padding:1.2rem clamp(1.1rem,2.8vw,2.8rem) 1.45rem; border-left:5px solid #d0c8b2; }
.note-time { display:flex; justify-content:space-between; font-size:.76rem; letter-spacing:.08em; text-transform:uppercase; }
.notebook blockquote { margin:.7rem 0 0; font:italic 400 clamp(1.45rem,2.5vw,2.6rem)/1.15 var(--ui); letter-spacing:-.035em; }
.next-page>p:first-child { font-size:1rem; color:#d5d3c8; }
.note-reply { font:italic clamp(1.65rem,3vw,2.7rem)/1.35 var(--ui); }
.next-page a { display:inline-block; margin-top:.6rem; font-size:.9rem; color:var(--accent); }
.button { gap:1.3rem; padding:.75rem 1.05rem; }
.price-line h2 { font:700 clamp(3.2rem,6.5vw,6.4rem)/.95 DelayedTitle,var(--ui); letter-spacing:-.045em; }
.rubric { font-size:.86rem; font-weight:600; letter-spacing:.045em; text-transform:uppercase; color:var(--ink); }
.rubric::before { content:""; display:inline-block; width:1.4rem; height:2px; margin-inline-end:.55rem; vertical-align:middle; background:var(--accent); }
h2 { font:500 clamp(3rem,6.5vw,6.7rem)/.99 var(--ui); letter-spacing:-.045em; }
.sample { padding-block:var(--section-space); }
.sample-top,.story-grid { display:grid; grid-template-columns:1fr 1fr; gap:clamp(2rem,6vw,8rem); }
.sample-top { align-items:end; margin-bottom:1.8rem; }
.sample-top h2,.story-grid h2 { margin-top:.5rem; }
.sample-intro { max-width:31rem; font:400 clamp(1.14rem,1.7vw,1.58rem)/1.5 var(--ui); }
.door-wall { position:relative; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(.5rem,1.4vw,1.4rem); }
.door-wall:has(.door-choice[open]) { padding-bottom:5.2rem; }
summary { cursor:pointer; list-style:none; }
summary::-webkit-details-marker { display:none; }
.door-choice { --wall:#cacbc1; --door:#7a8179; --panel:#8b9188; --shadow:#4e5851; min-width:0; }
.door-choice.white { --wall:#dcd8c8; --door:#dfddcd; --panel:#e8e6d9; --shadow:#918d7d; }
.door-choice.green { --wall:#90a292; --door:#39654e; --panel:#4c745a; --shadow:#203e30; }
.door-choice summary { display:block; }
.jamb { position:relative; display:flex; justify-content:center; align-items:flex-end; height:clamp(8.5rem,17vw,17.5rem); overflow:hidden; isolation:isolate; perspective:900px; background:linear-gradient(175deg,transparent 66%,#26352b21 66.2%),var(--wall); }
.jamb::before { content:""; position:absolute; inset:auto auto 0; width:35%; height:83%; background:#17281e; border:.38rem solid var(--shadow); border-bottom:0; box-shadow:.25rem -.15rem 0 #ffffff40; }
.door-leaf { position:relative; display:block; width:35%; height:81%; background:linear-gradient(90deg,var(--shadow),var(--door) 6%,var(--door) 96%,var(--shadow)); transform-origin:0 50%; transition:transform .42s; box-shadow:inset -2px 0 0 #0002; }
.door-leaf::before { content:""; position:absolute; inset:9% 12% 12%; border:2px solid var(--shadow); box-shadow:inset 0 2px 0 #fffa,inset 0 0 0 .18rem var(--door); background:linear-gradient(to bottom,var(--panel) 51%,var(--shadow) 51.5% 52.5%,var(--door) 53% 58%,var(--shadow) 58.5% 59.5%,var(--panel) 60%); }
.door-leaf::after { content:""; position:absolute; right:8%; top:54%; width:clamp(.35rem,.7vw,.65rem); aspect-ratio:1; background:var(--accent); border-radius:50%; box-shadow:1px 2px 2px #312b1b; }
.green .door-leaf::before { border-radius:45% 45% 0 0 / 12% 12% 0 0; }
.white .door-leaf::before { inset:10% 14% 14%; background:var(--panel); }
.door-choice[open] .door-leaf { transform:rotateY(-57deg); }
@media(hover:hover) { .door-choice:not([open]) summary:hover .door-leaf { transform:rotateY(-12deg); } }
.door-name { display:flex; justify-content:space-between; align-items:center; padding:.6rem 0 .42rem; border-bottom:var(--line-primary) solid var(--ink); font:500 clamp(1.22rem,2.1vw,2rem)/1.25 var(--ui); }
.door-name i { font:normal 1rem/1 system-ui,sans-serif; }
.door-choice[open] .door-name i { transform:rotate(90deg); }
.memory { position:absolute; bottom:0; left:0; width:100%; min-height:4.3rem; display:flex; align-items:center; padding:.65rem 1.25rem; border-left:3px solid var(--forest); background:#e8e8de; font:italic clamp(1.05rem,2vw,1.55rem)/1.3 var(--ui); }
.memory-count { font-size:.8rem; color:var(--muted); margin:.65rem 0 0; min-height:1.2rem; }
.extract { margin-top:1.3rem; border-top:var(--line-primary) solid var(--ink); border-bottom:var(--line-primary) solid var(--ink); }
.extract summary,.edition-details summary { display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:.9rem 0; font-weight:600; }
.extract summary { font:500 clamp(1.4rem,2.4vw,2.1rem)/1.4 var(--ui); }
.expand { display:grid; width:1.4rem; height:1.4rem; place-items:center; position:relative; flex:none; }
.expand::before,.expand::after { content:""; position:absolute; width:1rem; height:1px; background:currentColor; }
.expand::after { transform:rotate(90deg); }
details[open]>summary .expand::after { transform:rotate(0); }
.manuscript { max-width:38rem; margin:clamp(1.4rem,4vw,4rem) auto clamp(2rem,5vw,5rem); font:400 clamp(1.12rem,1.6vw,1.34rem)/1.65 var(--ui); }
.manuscript h3 { font:500 2.45rem/1.1 var(--ui); margin:.45rem 0 1.4rem; }
.manuscript p+p { text-indent:1.4em; }
.book-story { color:#f2f1e5; background:var(--forest); }
.story-grid { padding-block:var(--section-space); align-items:start; }
.story-grid h2 { font-size:clamp(2.8rem,5.1vw,5.2rem); }
.story-grid .rubric { color:var(--accent); }
.synopsis { max-width:43rem; }
.synopsis p { font:400 clamp(1.12rem,1.7vw,1.5rem)/1.55 var(--ui); }
.synopsis p+p { margin-top:.8rem; }
.shelf-grid { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:clamp(2.5rem,7vw,8rem); padding-block:var(--section-space); }
.shelf-notes h2 { margin-top:.85rem; }
.author-profile {
  display:grid;
  grid-template-columns:minmax(8.5rem,12.5rem) minmax(0,39rem);
  justify-content:center;
  align-content:start;
  gap:0 clamp(2.75rem,6vw,6rem);
  padding-block:var(--section-space);
}
.author-portrait { grid-row:1 / span 2; width:100%; height:auto; aspect-ratio:1; }
.author-heading h2 { margin:.55rem 0 1.25rem; font-size:clamp(2.5rem,4.8vw,4.6rem); line-height:1.05; }
.author-prose { max-width:39rem; }
.author-actions { display:flex; flex-wrap:wrap; align-items:center; gap:.75rem 1.35rem; margin-top:1.4rem; }
.author-prose p,.shelf-notes>p:last-child { font:400 clamp(1.16rem,1.75vw,1.54rem)/1.52 var(--ui); }
.author-prose p+p { margin-top:1.05rem; }
.author-news { display:inline-block; padding:.6rem 0; border-bottom:2px solid var(--accent); color:var(--ink); font-weight:650; text-decoration:none; }
.author-news:hover { color:var(--ink); border-color:currentColor; }
.shelf { background:#e6e6e0; }
.shelf-notes>p:last-child { margin-top:1.65rem; max-width:27ch; }
.page-sampler { min-width:0; align-self:start; }
.page-tabs { display:flex; flex-wrap:wrap; gap:.4rem; border-bottom:1px solid #858b7d; margin-bottom:1.25rem; }
.page-tabs[hidden],.folio[hidden] { display:none; }
.page-tabs button { font:inherit; font-size:.96rem; border:0; background:none; color:var(--muted); padding:.55rem .8rem; cursor:pointer; }
.page-tabs button[aria-pressed="true"] { color:var(--ink); box-shadow:inset 0 -3px var(--forest); font-weight:700; }
.page-tabs button:focus-visible { outline:3px solid var(--ink); outline-offset:2px; }
.folio>a { display:grid; justify-items:center; padding:1.2rem; background:#d4d5cf; }
.folio img { width:min(100%,20rem); height:auto; box-shadow:2px 3px 0 #a1a494,5px 6px 0 #b3b6a5,.6rem .7rem 1rem #404b3e36; }
.folio figcaption { display:flex; gap:1rem; justify-content:space-between; margin-top:.7rem; font-size:.94rem; }
.folio:not([hidden])+.folio:not([hidden]) { margin-top:1.5rem; }
.edition { display:grid; grid-template-columns:minmax(14rem,.8fr) 1.2fr; gap:clamp(2.5rem,7vw,8rem); padding-block:var(--section-space); align-items:center; }
.cover-plate { display:grid; place-items:center; padding:clamp(1.7rem,3.2vw,3.6rem); background:#dbdcd5; }
.cover-plate img { width:min(65%,15rem); height:auto; transform:rotate(-5deg); box-shadow:2px 2px 0 #aaa99b,4px 4px 0 #83877d,.7rem 1.1rem 1.2rem #26302655; }
.price-line { display:flex; align-items:baseline; justify-content:space-between; gap:1.2rem; padding:.8rem 0 1.1rem; border-bottom:var(--line-primary) solid var(--ink); }
.price-line h2 { font-size:clamp(3.2rem,6.5vw,6.4rem); }
.price-line p { font:500 clamp(1.85rem,3.2vw,3.5rem)/1 var(--ui); white-space:nowrap; }
.format { margin:.7rem 0 1rem; font-size:.875rem; font-weight:500; line-height:1.45; letter-spacing:-.01em; }
.format span { color:var(--rule); margin-inline:.3em; }
.purchase-slip { display:grid; justify-items:start; gap:.75rem; padding:clamp(1rem,2vw,1.6rem); border-inline-start:var(--line-primary) solid var(--ink); background:#eeeee8; }
.purchase-slip h3 { font:650 clamp(1.25rem,2vw,1.55rem)/1.2 var(--ui); letter-spacing:-.025em; }
.purchase-slip p { max-width:44ch; line-height:1.55; overflow-wrap:break-word; text-wrap:pretty; -webkit-hyphens:auto; hyphens:auto; }
.purchase-slip p:has(> a:only-child) { font-size:.875rem; line-height:1.45; letter-spacing:-.012em; }
.colophon,.author-prose,.synopsis { min-width:0; }
.synopsis p,.author-prose p,.sample-intro,.manuscript p,.shelf-notes>p:last-child { text-wrap:pretty; overflow-wrap:break-word; }
h2,h3 { text-wrap:balance; }
.purchase-slip { scroll-margin-block-start: 5rem; }
.order-method { margin-top: 1rem; border-top: 1px solid var(--rule); padding-top: 1rem; }
.order-method h4 { font-size: 1rem; margin: 0 0 .3rem; }
.shipping-contact { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: underline; }
.purchase-slip .button { font-family:inherit; font-size:1rem; margin:.2rem 0 0; min-height:2.75rem; }
.button { background:var(--forest); color:white; margin-top:.85rem; }
.edition-details { margin-top:1.5rem; border-top:1px solid var(--rule); border-bottom:1px solid var(--rule); }
.edition-details dl { display:grid; grid-template-columns:5.5rem 1fr; margin:0 0 1rem; gap:.4rem .6rem; }
.edition-details dt { color:var(--muted); }
.edition-details dd { min-width:0; overflow-wrap:anywhere; }
.edition-details>a { display:inline-block; margin-bottom:1rem; }
footer { border-top:var(--line-primary) solid var(--ink); display:flex; align-items:baseline; gap:.55rem 1.35rem; flex-wrap:wrap; padding-block:1.2rem; font-size:.84rem; line-height:1.45; letter-spacing:-.012em; }
footer>span { margin-inline-end:auto; }
footer a { font:inherit; padding-block:.35rem; }
@media(max-width:900px) {
  .gate-row>summary { grid-template-columns:minmax(0,1.45fr) .45fr 1fr; gap:.8rem 1.3rem; }
  .gate-row>summary>.note-trigger { grid-column:1 / -1; justify-self:start; }
  .hero-actions { gap:.65rem 1rem; }
}
@media(max-width:760px) {
  .site-head { min-height:3.8rem; gap:.6rem; }
  .site-head nav { gap:1.15rem; }
  .site-head nav a { font-size:.86rem; }
  .site-head nav a:first-child,.site-head nav a:nth-child(3) { display:none; }
  .terminal-hero { grid-template-columns:minmax(0,1fr); gap:1.55rem; padding-block:1.55rem 1.45rem; }
  .hero-text { padding:0; }
  .terminal-hero h1 { font-size:clamp(5.25rem,22vw,8.8rem); }
  .hero-author { font-size:clamp(1.75rem,6vw,2.6rem); }
  .hero-blurb { margin:1.05rem 0 1.15rem; max-width:38ch; }
  .tray-stage { max-height:27rem; }
  .terminal-heading { padding-bottom:.75rem; }
  .gate-evidence { grid-template-columns:1fr; gap:1rem; }
}
@media(max-width:650px) {
  footer { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.2rem 1rem; }
  footer>span { grid-column:1/-1; margin-bottom:.45rem; }
  footer a { justify-self:start; text-wrap:pretty; overflow-wrap:break-word; }
  .purchase-slip { gap:.65rem; }
  .sample-top,.story-grid,.edition { grid-template-columns:1fr; gap:1.18rem; }
  .shelf-grid { grid-template-columns:1fr; gap:1.5rem; }
  .shelf-notes>p:last-child { margin-top:.8rem; max-width:38ch; }
  .sample-intro { max-width:36ch; }
  .jamb { height:clamp(7rem,22vw,10rem); }
  .jamb::before,.door-leaf { width:48%; }
  .jamb::before { border-width:.21rem; }
  .door-leaf::before { border-width:1px; }
  .memory { padding:.55rem .8rem; }
  .cover-plate { padding:1.5rem; }
  .cover-plate img { width:min(40%,10rem); }
  .edition { gap:2rem; }
}
@media(max-width:500px) {
  .layout { width:calc(100% - 2.1rem); }
  .nameplate { font-size:.93rem; gap:.55rem; }
  .wing { width:1.15rem; height:.9rem; }
  .site-head nav { gap:.8rem; }
  .site-head nav a { font-size:.78rem; white-space:nowrap; }
  .hero-actions { gap:.5rem .85rem; }
  .hero-order { gap:.65rem; font-size:.88rem; padding:.72rem .8rem; }
  .hero-sample { font-size:.84rem; gap:.35rem; }
  .gate-row>summary { grid-template-columns:minmax(0,1fr) auto; align-items:start; gap:1rem .75rem; }
  .gate-row>summary>.status-field { grid-column:1; }
  .gate-row>summary>.note-trigger { grid-column:2; justify-self:end; align-self:end; font-size:.76rem; gap:.35rem; }
  .gate-row .gate-field { justify-self:end; align-items:flex-end; }
  .flaps>span { font-size:1.2rem; }
  .terminal-heading>span { letter-spacing:.04em; }
}
@media(max-width:340px) {
  .site-head nav a:nth-child(2) { display:none; }
  .gate-row>summary>.note-trigger { grid-column:1 / -1; justify-self:start; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .door-leaf,.book-turn { transition:none; } }

/* Ticket edge and perforation echo the airport setting. */
.buy-ticket {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  justify-content: space-between;
  min-height: 3.9rem;
  max-width: 100%;
  border: var(--line-primary) solid var(--ink);
  border-radius: 3px;
  background: var(--accent);
  color: #181813;
  box-shadow: 3px 3px 0 var(--ink);
  font-size: clamp(1.12rem, 1.7vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.2;
  text-decoration: none;
}
.buy-ticket > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: .75rem clamp(1.5rem, 3vw, 2.5rem);
}
.ticket-stub {
  width: 1.15rem;
  flex: none;
  border-left: 2px dashed var(--ink);
}
.buy-ticket:hover { text-decoration: underline; }
.buy-ticket:active { transform: translate(2px, 2px); box-shadow: 1px 1px var(--ink); }
.buy-ticket:focus-visible, nav .nav-buy:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero-purchase { margin-top: clamp(1.2rem, 2vw, 2rem); }
.hero-purchase .sale-note { margin-top: .75rem; }
.hero-bottom .hero-blurb { margin-bottom: 0; }
.site-head .nav-buy {
  display: inline-flex;
  min-height: 2.75rem;
  padding: .4rem .85rem;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #181813;
  border: var(--line-primary) solid var(--ink);
  border-radius: 2px;
}
.site-head .nav-buy:hover { text-decoration: underline; }
.excerpt-order { justify-content: flex-start; }
.excerpt-order p { flex-basis: 100%; }
.read-page { display: inline-flex; min-height: 2.75rem; align-items: center; }
.purchase-slip .button { background: var(--accent); color: #181813; border: var(--line-primary) solid var(--ink); }
.purchase-slip a.button:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .hero-purchase .buy-ticket { width: min(100%, 24rem); }
  .hero-purchase .sale-note { margin-bottom: .25rem; }
}
.hero-author .byline-link { display: inline-flex; align-items: center; gap: .25em; }
.byline-link img { width: 1.18em; height: 1.18em; object-fit: cover; border-radius: 50%; margin-right: .1em; }
@media (max-width: 60rem) {
  .author-profile { grid-template-columns:minmax(0,36rem); justify-items:center; row-gap:1.25rem; }
  .author-portrait { grid-row:auto; width:clamp(7.5rem,35vw,10.5rem); }
  .author-heading { text-align:center; }
  .author-heading h2 { margin:.45rem 0 0; font-size:clamp(2.1rem,8vw,3.25rem); }
  .author-prose p { font-size:clamp(1.05rem,2.8vw,1.2rem); line-height:1.55; }
  .author-actions { justify-content:center; }
}
@media (max-width: 32rem) {
  .byline-link img { display:none; }
  .author-actions { flex-direction:column; align-items:stretch; gap:.45rem; }
  .author-news { align-self:center; text-align:center; }
}

.site-head > nav { margin-inline-start: auto; }
.language-picker { position: relative; flex: none; font-weight: 600; }
.language-picker summary {
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .4rem .55rem;
  list-style: none;
  cursor: pointer;
  font-size: .9rem;
}
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker summary::after {
  content: "";
  width: .38rem;
  height: .38rem;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
}
.language-picker[open] summary::after { transform: translateY(2px) rotate(225deg); }
.language-picker ul {
  position: absolute;
  z-index: 2;
  right: 0;
  top: 100%;
  min-width: 10rem;
  margin: 0;
  padding: .25rem;
  border: var(--line-primary) solid var(--ink);
  background: var(--paper);
  box-shadow: 2px 3px 0 var(--ink);
  list-style: none;
}
.language-picker a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .45rem .9rem;
  text-decoration: none;
}
.language-picker a[aria-current="page"] { background: var(--accent); }
.language-picker a:hover, .language-picker a:focus-visible { background: var(--ink); color: #fff; }
.story-grid h2 { max-width: 11ch; }
@media (max-width: 760px) {
  .site-head { gap: .4rem; }
  .site-head nav { gap: .65rem; }
  .site-head nav a:nth-child(2) { display: none; }
  .site-head .nameplate { min-width: 0; white-space: normal; line-height: 1.1; }
  .nameplate .wing { flex-shrink: 0; }
  .language-picker summary { padding-inline: .4rem; }
  .hero-blurb em { white-space: normal; }
}
