/* The Nazarene reader. One face, set plainly. */

@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader.woff2") format("woff2-variations"), url("/assets/fonts/newsreader.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-italic.woff2") format("woff2-variations"), url("/assets/fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #F4EEE3;
  --paper-2: #ECE5D8;
  --ink: #2A211B;
  --ink-2: #5A4E45;
  --ink-3: #8B7E72;
  --rule: rgba(42, 33, 27, 0.14);
  --ox: #6F2B27;
  --btn: #2A211B;
  --btn-ink: #F4EEE3;
  --shade: 42, 33, 27;
  --fs: 20px;
  --measure: 33rem;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --read-paper: #FAF6EE;
  --own-bg: #221A15;
  --own-ink: #EFE6D6;
  --own-ink-2: #B9AC9A;
  --gutter: 24px;
  --sec: 76px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="day"]) {
    --paper: #17120F; --paper-2: #201A16; --ink: #E6DBC9; --ink-2: #B5A794; --ink-3: #85786B;
    --rule: rgba(230, 219, 201, 0.13); --ox: #C08376; --btn: #E6DBC9; --btn-ink: #17120F; --shade: 0, 0, 0;
    color-scheme: dark;
  }
}
:root[data-theme="night"] {
  --paper: #17120F; --paper-2: #201A16; --ink: #E6DBC9; --ink-2: #B5A794; --ink-3: #85786B;
  --rule: rgba(230, 219, 201, 0.13); --ox: #C08376; --btn: #E6DBC9; --btn-ink: #17120F; --shade: 0, 0, 0;
  color-scheme: dark;
}
:root[data-size="1"] { --fs: 18px; }
:root[data-size="2"] { --fs: 20px; }
:root[data-size="3"] { --fs: 22px; }
:root[data-size="4"] { --fs: 25px; }
:root[data-size="5"] { --fs: 28px; }
@media (min-width: 760px) {
  :root { --fs: 21px; --measure: 34rem; }
  :root[data-size="1"] { --fs: 19px; }
  :root[data-size="2"] { --fs: 21px; }
  :root[data-size="3"] { --fs: 23px; }
  :root[data-size="4"] { --fs: 26px; }
  :root[data-size="5"] { --fs: 29px; }
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 260ms; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  font-feature-settings: "kern", "liga", "onum";
  transition: background-color 300ms ease, color 300ms ease;
}
::selection { background: rgba(111, 43, 39, 0.16); }
a { color: inherit; }
p, h1, h2, h3, figure, blockquote, ol { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ox); outline-offset: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.label { font-family: var(--sans); font-size: 12.5px; font-weight: 500; line-height: 1.4; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); }

/* Actions */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid var(--btn);
  border-radius: 3px;
  background: var(--btn);
  color: var(--btn-ink);
  font-family: var(--serif);
  font-size: 18px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  font-feature-settings: "kern", "lnum";
  transition: opacity 160ms ease;
}
.btn:hover { opacity: 0.88; }
.btn .price { margin-left: 12px; padding-left: 12px; border-left: 1px solid color-mix(in srgb, var(--btn-ink) 30%, transparent); }
.btn-plain {
  border: 0;
  background: none;
  padding: 0;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
  text-decoration-color: var(--ink-3);
  cursor: pointer;
  font-feature-settings: "kern", "lnum";
}
.btn-plain:hover { text-decoration-color: var(--ink); }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 28px; }
.center .acts, .acts.center { justify-content: center; }
.note { margin-top: 14px; font-size: 15px; line-height: 1.55; color: var(--ink-3); font-feature-settings: "kern", "lnum"; }

/* Covers, flat, as printed */
.cover {
  display: block;
  aspect-ratio: 1000 / 1600;
  background: var(--paper-2);
  box-shadow: 0 0 0 1px rgba(var(--shade), .06), 0 2px 4px rgba(var(--shade), .10), 0 14px 28px -12px rgba(var(--shade), .30);
}
.cover img { width: 100%; height: 100%; object-fit: cover; }
.row-of-books {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 330px;
  margin: 0 auto;
}

/* Top bar */
.bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(52px + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) max(10px, env(safe-area-inset-right, 0px)) 0 max(10px, env(safe-area-inset-left, 0px));
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: transform 320ms ease, opacity 320ms ease, background-color 300ms ease;
}
.bar.away { transform: translateY(-100%); opacity: 0; }
.bar-title { flex: 1; min-width: 0; text-align: center; font-size: 15px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 8px;
  border: 0; background: transparent; color: var(--ink); cursor: pointer; text-decoration: none;
  font-size: 15px;
}
.icon-btn svg { width: 20px; height: 20px; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 21; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--ox); opacity: .7; transform-origin: left center; transform: scaleX(0); }

/* Settings: a small box under the Aa button */
.sheet-scrim { position: fixed; inset: 0; z-index: 30; background: transparent; pointer-events: none; }
.sheet-scrim.open { pointer-events: auto; }
.sheet {
  position: fixed;
  top: calc(52px + env(safe-area-inset-top, 0px));
  right: max(10px, env(safe-area-inset-right, 0px));
  z-index: 31;
  width: 236px;
  padding: 10px;
  display: grid;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--rule);
  box-shadow: 0 8px 24px -12px rgba(var(--shade), .28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
}
.sheet.open { opacity: 1; visibility: visible; transform: none; transition: opacity 180ms ease, transform 180ms ease, visibility 0s; }
.seg { display: flex; border: 1px solid var(--rule); }
.seg button { flex: 1; min-height: 42px; border: 0; background: transparent; cursor: pointer; font-size: 15px; color: var(--ink-2); }
.seg button + button { border-left: 1px solid var(--rule); }
.seg button[aria-pressed="true"] { background: var(--paper-2); color: var(--ink); }
.seg button:disabled { opacity: .35; cursor: default; }
.seg .a-s { font-size: 14px; }
.seg .a-l { font-size: 21px; }

/* Reading */
.read {
  max-width: var(--measure);
  margin: 0 auto;
  padding: calc(84px + env(safe-area-inset-top, 0px)) max(26px, env(safe-area-inset-right, 0px)) 0 max(26px, env(safe-area-inset-left, 0px));
}
.opening { padding: 72px 0 52px; text-align: center; }

.opening h1 {
  margin-top: 10px;
  font-size: 38px;
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -0.005em;
  text-wrap: balance;
  animation: fade 700ms ease both;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.prose {
  font-size: var(--fs);
  line-height: 1.64;
  hyphens: manual;
  hanging-punctuation: first;
  transition: font-size 200ms ease;
}
.prose p { text-indent: 1.3em; text-wrap: pretty; }
.prose p.first, .prose p.after-break { text-indent: 0; }
.prose em { font-style: italic; }
.prose .break { display: block; height: 2.2em; }
.prose .break::after { content: "*"; display: block; text-align: center; color: var(--ink-3); line-height: 2.2em; font-size: 0.9em; }

.chapter-end { margin-top: 12vh; }
.next {
  display: block;
  padding: 26px 0 28px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
  text-align: center;
}
.next .label { display: block; }
.next .t { display: block; margin-top: 6px; font-size: 28px; line-height: 1.2; }
.next:hover .t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; text-decoration-color: var(--ink-3); }
.end-links { display: flex; justify-content: center; gap: 28px; margin-top: 22px; }
.end-links .btn-plain { font-size: 16px; color: var(--ink-2); }

/* Between chapters: the books */
.books-break { margin: 14vh 0 12vh; text-align: center; }
.books-break .row-of-books { max-width: 270px; }
.books-break h2 { margin-top: 30px; font-size: 24px; line-height: 1.3; font-weight: 400; text-wrap: balance; }
.books-break .say { margin: 10px auto 0; max-width: 24rem; font-size: 18px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.voice { margin: 24px auto 0; max-width: 24rem; }
.voice blockquote { font-size: 18px; line-height: 1.55; color: var(--ink); text-wrap: pretty; }
.voice figcaption { margin-top: 6px; font-size: 14px; color: var(--ink-3); }

/* Landing */
.land-top {
  display: flex; justify-content: space-between; align-items: baseline;
  max-width: 64rem; margin: 0 auto;
  padding: calc(20px + env(safe-area-inset-top, 0px)) max(24px, env(safe-area-inset-right, 0px)) 0 max(24px, env(safe-area-inset-left, 0px));
  font-size: 16px;
}
.land-top a { text-decoration: none; }
.land-top .own { color: var(--ink-2); }
.hero {
  max-width: 64rem; margin: 0 auto;
  padding: 9vh max(24px, env(safe-area-inset-right, 0px)) 10vh max(24px, env(safe-area-inset-left, 0px));
  display: grid; gap: 44px; align-items: center;
}
.hero .cover { width: min(52vw, 220px); margin: 0 auto; }
.hero-text { text-align: center; }
.hero h1 { font-size: 46px; line-height: 1.05; font-weight: 400; letter-spacing: -0.01em; }
.hero .by { margin-top: 10px; font-size: 17px; color: var(--ink-2); }
.hero .hook { margin: 26px auto 0; max-width: 22rem; font-size: 22px; line-height: 1.4; text-wrap: balance; }
.hero .acts { justify-content: center; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 300px 1fr; gap: 96px; padding-top: 14vh; }
  .hero .cover { width: 300px; }
  .hero-text { text-align: left; }
  .hero h1 { font-size: 64px; }
  .hero .hook { margin-left: 0; font-size: 26px; max-width: 26rem; }
  .hero .acts { justify-content: flex-start; }
}
.sec { border-top: 1px solid var(--rule); }
.sec-in {
  max-width: 36rem; margin: 0 auto;
  padding: 10vh max(26px, env(safe-area-inset-right, 0px)) 10vh max(26px, env(safe-area-inset-left, 0px));
}
.sec h2 { font-size: 15px; font-weight: 400; color: var(--ink-3); margin-bottom: 22px; }
.first-lines { font-size: 21px; line-height: 1.64; }
.first-lines p + p { text-indent: 1.3em; }
.premise p { font-size: 21px; line-height: 1.6; text-wrap: pretty; }
.premise p + p { margin-top: 14px; }
.voices { display: grid; gap: 34px; }
.voices blockquote { font-size: 20px; line-height: 1.55; text-wrap: pretty; }
.voices figcaption { margin-top: 8px; font-size: 14px; color: var(--ink-3); }
.paper { text-align: center; }
.paper .row-of-books { margin-bottom: 34px; }
.paper .title { font-size: 26px; line-height: 1.3; text-wrap: balance; }
.paper .say { margin: 10px auto 0; max-width: 26rem; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.foot {
  border-top: 1px solid var(--rule);
  padding: 30px 22px calc(36px + env(safe-area-inset-bottom, 0px));
  text-align: center; font-size: 15px; color: var(--ink-3); line-height: 2.1;
}
.foot a { color: inherit; text-decoration: none; margin: 0 9px; }
.foot a:hover { color: var(--ink); }

/* Contents */
.toc-head { text-align: center; padding: 6vh 0 7vh; }
.toc-head .cover { width: 130px; margin: 0 auto 34px; }
.toc-head h1 { font-size: 40px; line-height: 1.1; font-weight: 400; }
.toc-head .by { margin-top: 8px; font-size: 16px; color: var(--ink-2); }
.toc-head .epigraph { margin-top: 30px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.toc-head .epigraph small { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-3); }
.toc { list-style: none; padding: 0; border-top: 1px solid var(--rule); }
.toc li { border-bottom: 1px solid var(--rule); }
.toc a { display: grid; grid-template-columns: 2.2rem 1fr auto; align-items: baseline; gap: 6px; padding: 17px 2px; text-decoration: none; }
.toc a:hover .t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; text-decoration-color: var(--ink-3); }
.toc .n { font-size: 16px; color: var(--ink-3); font-feature-settings: "lnum", "tnum"; }
.toc .t { font-size: 20px; line-height: 1.3; }
.toc .s { font-size: 14px; color: var(--ink-3); white-space: nowrap; font-feature-settings: "lnum"; }
.toc li.done .t { color: var(--ink-2); }
.toc-foot { padding: 7vh 0 9vh; text-align: center; }

/* Signup */
.signup { margin: 40px auto 0; max-width: 26rem; text-align: center; }
.signup p { font-size: 17px; color: var(--ink-2); }
.signup form { display: flex; margin-top: 12px; border: 1px solid var(--ink-3); border-radius: 3px; }
.signup input { flex: 1; min-width: 0; min-height: 50px; padding: 0 14px; border: 0; background: transparent; color: var(--ink); font-family: var(--serif); font-size: 17px; }
.signup input::placeholder { color: var(--ink-3); }
.signup button { border: 0; border-left: 1px solid var(--ink-3); background: transparent; padding: 0 18px; font-family: var(--serif); font-size: 17px; cursor: pointer; color: var(--ink); }

.toast {
  position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  transform: translateX(-50%); opacity: 0; padding: 10px 18px; border-radius: 3px;
  background: var(--btn); color: var(--btn-ink); font-size: 15px; pointer-events: none; transition: opacity 240ms ease;
}
.toast.on { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  @view-transition { navigation: none; }
}
@media print {
  .bar, .progress, .sheet, .sheet-scrim, .chapter-end, .toast { display: none !important; }
  .read { padding-top: 0; }
}

/* ===== System: sans for interface, serif for the book ===== */
.btn, .btn-plain, .note, .bar, .icon-btn, .bar-title, .seg button, .toc .n, .toc .s, .foot, .land-top,
.voice figcaption, .voices figcaption, .signup p, .signup input, .signup button, .end-links .btn-plain, .next .label, .toast, .facts {
  font-family: var(--sans);
}
.btn { font-size: 16px; font-weight: 500; letter-spacing: 0.005em; min-height: 50px; }
.btn-plain { font-size: 16px; }
.note { font-size: 14px; }
.bar-title { font-size: 14px; }
.icon-btn { font-size: 15px; }
.toc .n { font-size: 14px; }
.toc .s { font-size: 13px; }
.foot { font-size: 14px; }
.voice figcaption, .voices figcaption { font-size: 13px; letter-spacing: 0.01em; }

/* Widths and rhythm */
@media (min-width: 760px) { :root { --gutter: 48px; --sec: 112px; } }
.wrap { max-width: calc(1160px + var(--gutter) * 2); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.measure { max-width: calc(33rem + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.bleed { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding-left: var(--gutter); padding-right: var(--gutter); }

/* ===== Discover ===== */
.land-top { display: flex; justify-content: space-between; align-items: baseline; padding-top: calc(22px + env(safe-area-inset-top, 0px)); font-size: 15px; max-width: calc(1160px + var(--gutter) * 2); }
.hero { display: grid; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: var(--sec); }
.hero-cover .cover { width: min(56vw, 230px); margin: 0 auto; }
.hero-text { text-align: center; }
.hero h1 { font-size: 46px; line-height: 1.04; font-weight: 400; letter-spacing: -0.012em; }
.hero .by { margin-top: 10px; font-size: 17px; color: var(--ink-2); }
.hero .hook { margin: 24px auto 0; max-width: 21rem; font-size: 22px; line-height: 1.4; text-wrap: balance; }
.hero .acts { justify-content: center; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 5fr 7fr; gap: 0 8%; padding-top: 96px; min-height: min(86vh, 820px); }
  .hero-cover .cover { width: min(100%, 360px); margin: 0 0 0 auto; }
  .hero-text { text-align: left; }
  .hero h1 { font-size: 72px; }
  .hero .by { font-size: 18px; }
  .hero .hook { margin-left: 0; font-size: 28px; max-width: 26rem; }
  .hero .acts { justify-content: flex-start; }
}

/* ===== Read (the sample on the home page, and every chapter) ===== */
.env-read-band { background: var(--read-paper); padding: var(--sec) 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.sample-head { margin-top: 22px; font-size: 15px; color: var(--ink-3); font-family: var(--sans); }
.sample-head span { display: block; margin-top: 6px; font-family: var(--serif); font-size: 32px; line-height: 1.15; color: var(--ink); }
.env-read-band .first-lines { margin-top: 28px; font-size: 20px; line-height: 1.6; }
.env-read-band .first-lines p + p { text-indent: 1.3em; }
@media (prefers-color-scheme: light) { :root:not([data-theme="night"]) body[data-page="chapter"] { --paper: var(--read-paper); } }
:root[data-theme="day"] body[data-page="chapter"] { --paper: var(--read-paper); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="day"]) { --read-paper: #1B1612; } }
:root[data-theme="night"] { --read-paper: #1B1612; }

/* About: left-aligned explanatory material, nested width */
.about { padding-top: var(--sec); padding-bottom: var(--sec); }
.about-grid { display: grid; gap: 18px; max-width: 40rem; margin: 0 auto; }
.about .premise p { font-size: 21px; line-height: 1.6; text-wrap: pretty; }
.about .premise p + p { margin-top: 14px; color: var(--ink-2); font-size: 19px; }
.about .voices { margin: 64px auto 0; display: grid; gap: 36px; max-width: 40rem; }
.about .voice { margin: 0; max-width: 30rem; }
.about .voice blockquote { font-size: 19px; }
@media (min-width: 1100px) {
  .about-grid { grid-template-columns: 220px 1fr; gap: 0 48px; max-width: none; margin: 0; }
  .about .voices { max-width: none; }
  .about .premise { max-width: 40rem; }
  .about .voices { grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 88px; padding-top: 48px; border-top: 1px solid var(--rule); }
}

/* ===== Own ===== */
.env-own { background: var(--own-bg); color: var(--own-ink); --ink: var(--own-ink); --ink-2: var(--own-ink-2); --ink-3: #8F8373; --rule: rgba(239, 230, 214, 0.14); --btn: var(--own-ink); --btn-ink: var(--own-bg); --shade: 0, 0, 0; }
.own-in { padding-top: var(--sec); padding-bottom: var(--sec); }
.env-own .label { color: #A79A88; }
.row-of-books.big { max-width: 620px; gap: 18px; margin: 34px 0 0; }
.env-own .cover { box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 18px 40px -16px rgba(0,0,0,.6); }
.own-copy { margin-top: 44px; max-width: 32rem; }
.own-copy h2 { font-size: 30px; line-height: 1.2; font-weight: 400; text-wrap: balance; }
.facts { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; font-size: 15.5px; line-height: 1.5; color: var(--own-ink-2); }
.facts li { padding-left: 18px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 6px; height: 1px; background: currentColor; }
.env-own .btn-plain { text-decoration-color: rgba(239, 230, 214, 0.4); }
@media (min-width: 900px) {
  .own-in { display: grid; grid-template-columns: 7fr 5fr; gap: 0 72px; align-items: end; }
  .own-in .label { grid-column: 1 / -1; }
  .row-of-books.big { max-width: none; }
  .own-copy { margin-top: 0; }
  .own-copy h2 { font-size: 36px; }
}

/* Chapter break band (soft) and finale (dark) inside the reader */
.band-soft { background: var(--paper-2); padding-top: 64px; padding-bottom: 64px; margin-top: 12vh; margin-bottom: 0; }
.chapter-end .env-own.bleed { padding-top: 72px; padding-bottom: 72px; margin-top: 10vh; }
.chapter-end .env-own .say, .chapter-end .env-own .voice blockquote { color: var(--own-ink); }

/* ===== Motion: four moves, nothing on the prose ===== */
@keyframes settle { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.js .hero-cover { animation: settle 560ms cubic-bezier(.2, .7, .2, 1) both; }
.js .hero-text { animation: settle 560ms cubic-bezier(.2, .7, .2, 1) 120ms both; }
.js [data-reveal] { opacity: 0; transform: translateY(6px); transition: opacity 260ms ease, transform 300ms cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }
.btn, .btn-plain, .seg button, .icon-btn { transition: opacity 180ms ease, background-color 180ms ease, text-decoration-color 180ms ease; }
@media (prefers-reduced-motion: reduce) {
  .js .hero-cover, .js .hero-text { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}
.env-read-band .first-lines .gap { height: 1.4em; }
.env-read-band .first-lines p.gap + p, .env-read-band .first-lines p.ni { text-indent: 0; }

/* The collection photograph */
.photo { margin: 0 auto; max-width: 560px; }
.photo img { width: 100%; height: auto; border-radius: 2px; }
.books-break .photo { margin-bottom: 30px; }
.photo.big { max-width: none; margin-top: 30px; }
.env-own .photo img { box-shadow: 0 24px 48px -28px rgba(0,0,0,.7); }
@media (min-width: 900px) { .photo.big { margin-top: 34px; } }

/* Next chapter: a clear, quiet page turn */
.next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 4px 28px;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 180ms ease;
}
.next .t { margin-top: 4px; }
.next-go {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--ink-3);
  border-radius: 50%;
  color: var(--ink);
  transition: transform 220ms cubic-bezier(.2, .7, .2, 1), background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.next-go svg { width: 20px; height: 20px; }
.next:hover .next-go { transform: translateX(3px); border-color: var(--ink); }
.next:active { background-color: var(--paper-2); }
.next:active .next-go { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.next:hover .t { text-decoration: none; }

/* Two-line action (Continue reading + chapter) */
.btn.has-sub { flex-direction: column; gap: 3px; min-height: 58px; padding-top: 9px; padding-bottom: 9px; line-height: 1.2; white-space: normal; text-align: center; }
.btn-sub { font-size: 13px; font-weight: 400; opacity: 0.78; }

/* Contents drawer */
.toc-drawer {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 41;
  width: min(86vw, 360px);
  display: flex; flex-direction: column;
  background: var(--paper);
  border-right: 1px solid var(--rule);
  box-shadow: 16px 0 40px -24px rgba(var(--shade), .35);
  transform: translateX(-102%);
  visibility: hidden;
  transition: transform 280ms cubic-bezier(.2, .7, .2, 1), visibility 0s linear 280ms;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.toc-drawer.open { transform: none; visibility: visible; transition: transform 280ms cubic-bezier(.2, .7, .2, 1), visibility 0s; }
.drawer-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(15, 10, 8, 0.28); opacity: 0; pointer-events: none; transition: opacity 240ms ease; }
.drawer-scrim.open { opacity: 1; pointer-events: auto; }
html.drawer-open, html.drawer-open body { overflow: hidden; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 8px 0 22px; border-bottom: 1px solid var(--rule); }
.drawer-book { font-size: 18px; text-decoration: none; color: var(--ink); }
.drawer-x { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: none; color: var(--ink-2); cursor: pointer; }
.drawer-x svg { width: 20px; height: 20px; }
.drawer-list { list-style: none; margin: 0; padding: 6px 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; flex: 1; }
.drawer-list a { display: grid; grid-template-columns: 2rem 1fr auto; align-items: baseline; gap: 6px; min-height: 52px; padding: 14px 18px 14px 22px; text-decoration: none; color: var(--ink); transition: background-color 150ms ease; }
.drawer-list a:active { background: var(--paper-2); }
.drawer-list .n { font-family: var(--sans); font-size: 13px; color: var(--ink-3); font-feature-settings: "tnum"; }
.drawer-list .t { font-size: 18px; line-height: 1.3; }
.drawer-list .s { font-family: var(--sans); font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.drawer-list li.current a { background: var(--paper-2); box-shadow: inset 2px 0 0 var(--ox); }
.drawer-list li.current .s { color: var(--ox); }
.drawer-list li.done .t { color: var(--ink-2); }
.drawer-foot { display: flex; gap: 22px; padding: 14px 22px 18px; border-top: 1px solid var(--rule); font-family: var(--sans); font-size: 14px; }
.drawer-foot a { color: var(--ink-2); text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .toc-drawer, .drawer-scrim { transition: none; } }

/* Books cut out of the photo: they sit on any surface, day or night */
.photo img { border-radius: 0; box-shadow: none !important; filter: drop-shadow(0 14px 16px rgba(42, 33, 27, 0.28)) drop-shadow(0 2px 3px rgba(42, 33, 27, 0.18)); }
.env-own .photo img { filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.55)) drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="day"]) .photo img { filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.55)) drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4)); } }
:root[data-theme="night"] .photo img { filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.55)) drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4)); }

/* Paperbacks made from the flat cover files: upright, a thin page block, a soft shadow */
.paperbacks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7%; max-width: 380px; margin: 0 auto; }
.books-break .paperbacks { margin-bottom: 34px; }
.paperbacks.big { max-width: 560px; margin: 34px 0 0; gap: 6%; }
.paperbacks .cover {
  box-shadow:
    1px 1px 0 #EFE8DA, 2px 2px 0 #E2D9C8, 3px 3px 0 #EFE8DA, 4px 4px 0 #D8CEBC,
    0 18px 30px -16px rgba(20, 14, 10, 0.45);
}
.env-own .paperbacks .cover, :root[data-theme="night"] .paperbacks .cover {
  box-shadow:
    1px 1px 0 #E9E1D2, 2px 2px 0 #CFC5B3, 3px 3px 0 #E9E1D2, 4px 4px 0 #BDB29F,
    0 20px 34px -14px rgba(0, 0, 0, 0.7);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="day"]) .paperbacks .cover {
  box-shadow: 1px 1px 0 #E9E1D2, 2px 2px 0 #CFC5B3, 3px 3px 0 #E9E1D2, 4px 4px 0 #BDB29F, 0 20px 34px -14px rgba(0, 0, 0, 0.7); } }

/* ===== Final pass: three acts on the front page ===== */
:root { --paper: #F0E8DB; --paper-2: #E7DECF; --read-paper: #FCF9F3; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="day"]) { --paper: #17120F; --paper-2: #201A16; --read-paper: #1D1814; } }
:root[data-theme="night"] { --paper: #17120F; --paper-2: #201A16; --read-paper: #1D1814; }

/* Act two: Read. A bright page and the first line set like a book opening */
.env-read-band { padding: calc(var(--sec) * 1.15) 0; box-shadow: inset 0 1px 0 var(--rule), inset 0 -1px 0 var(--rule); border: 0; }
.env-read-band .first-lines p:first-child { font-size: 27px; line-height: 1.35; margin-bottom: 4px; text-wrap: balance; }
@media (min-width: 760px) { .env-read-band .first-lines p:first-child { font-size: 32px; } }

/* Act three: Own. The visual high point */
.climax { background: radial-gradient(ellipse 80% 55% at 50% 42%, #3A2C22 0%, #2A201A 45%, var(--own-bg) 80%); }
.climax .own-in { display: block !important; text-align: center; padding-top: calc(var(--sec) * 1.2); padding-bottom: calc(var(--sec) * 1.2); }
.climax .label { text-align: center; }
.climax h2 { margin-top: 14px; font-size: 34px; line-height: 1.15; font-weight: 400; letter-spacing: -0.012em; text-wrap: balance; }
.climax .paperbacks.big { max-width: 760px; margin: 44px auto 0; gap: 5.5%; }
.climax .own-line { margin: 44px auto 0; max-width: 30rem; font-size: 19px; line-height: 1.55; color: var(--own-ink-2); text-wrap: pretty; }
.climax .acts { margin-top: 26px; }
.climax .note { max-width: 28rem; margin-left: auto; margin-right: auto; color: #9C8F7E; }
@media (min-width: 900px) { .climax h2 { font-size: 46px; } .climax .paperbacks.big { margin-top: 60px; } }

/* Motion: a little more presence, still quiet. The novel's text never moves. */
.js [data-reveal] { transform: translateY(6px); transition: opacity 260ms ease, transform 300ms cubic-bezier(.2, .7, .2, 1); }
.js .paperbacks.stage[data-reveal] { opacity: 1; transform: none; }
.js .paperbacks.stage .cover { opacity: 0; transform: translateY(28px); transition: opacity 700ms ease, transform 900ms cubic-bezier(.2, .7, .2, 1); }
.js .paperbacks.stage.in .cover { opacity: 1; transform: none; }
.js .paperbacks.stage.in .cover:nth-child(2) { transition-delay: 60ms; }
.js .paperbacks.stage.in .cover:nth-child(3) { transition-delay: 120ms; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .paperbacks.stage .cover { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Book setting for phones: ragged right like a trade paperback, an even right edge, a fuller line */
.prose { text-align: left; hyphens: manual; font-kerning: normal; font-variant-ligatures: common-ligatures; font-feature-settings: "kern", "liga", "onum"; }
.prose p { text-wrap: pretty; }
@media (max-width: 759px) {
  :root { --fs: 21px; }
  :root[data-size="1"] { --fs: 18px; }
  :root[data-size="2"] { --fs: 21px; }
  :root[data-size="3"] { --fs: 23px; }
  :root[data-size="4"] { --fs: 25px; }
  :root[data-size="5"] { --fs: 28px; }
  .measure { padding-left: 22px; padding-right: 22px; }
  .prose { line-height: 1.6; }
  .prose p { text-indent: 1.15em; }
}
/* Light type on a dark page reads heavier and wider, so night mode is set a touch lighter */
@media (prefers-color-scheme: dark) { :root:not([data-theme="day"]) .prose { font-weight: 370; } }
:root[data-theme="night"] .prose { font-weight: 370; }

/* Four-book set (shown only once Third Day is for sale) */
.paperbacks.n4 { grid-template-columns: repeat(4, 1fr); max-width: 520px; gap: 5%; }
.climax .paperbacks.big.four { max-width: 900px; grid-template-columns: repeat(4, 1fr); gap: 4%; }
@media (max-width: 599px) { .climax .paperbacks.big.four { grid-template-columns: repeat(2, 1fr); max-width: 330px; gap: 22px 9%; } }
.price-line { margin: 30px auto 0; font-family: var(--serif); font-size: 23px; line-height: 1.3; text-align: center; text-wrap: balance; }
.was { margin-top: 6px; font-family: var(--sans); font-size: 14px; color: var(--ink-3); text-align: center; }
.env-own .was, .climax .was { color: #9C8F7E; }
.price-line + .was + .acts, .price-line + .acts { margin-top: 18px; }
.also { margin-top: 18px; font-family: var(--sans); font-size: 15px; color: var(--own-ink-2); text-align: center; }
.also a { color: var(--own-ink); text-underline-offset: 3px; }
.gift-h { margin-top: 14px; font-size: 36px; line-height: 1.12; font-weight: 400; letter-spacing: -0.012em; color: var(--own-ink); text-wrap: balance; }
@media (min-width: 900px) { .gift-h { font-size: 52px; } .price-line { font-size: 26px; } }
/* The book title in the bar and the chapter heading both open the contents */
a.bar-title { text-decoration: none; color: var(--ink-3); }
.opening[data-toc-also] { cursor: pointer; -webkit-tap-highlight-color: transparent; }
/* Language row in the reading settings */
.sheet .langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; padding: 12px 6px 2px; border-top: 1px solid var(--rule); margin-top: 6px; font-family: var(--sans); font-size: 15px; }
.sheet .langs a { color: var(--ink-2); text-decoration: none; padding: 6px 2px; }
.sheet .langs a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* The saga, at the foot of the contents */
.saga { margin-top: 9vh; padding: 7vh 0 9vh; border-top: 1px solid var(--rule); }
.saga > .label, .saga > h2 { text-align: center; }
.saga > h2 { margin-top: 10px; font-size: 28px; font-weight: 400; line-height: 1.2; text-wrap: balance; }
.saga-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 34px; }
.saga-list li { display: grid; grid-template-columns: 84px 1fr; gap: 20px; align-items: start; }
.saga-list .cover img { width: 100%; height: auto; display: block; }
.saga-list .cover.soon { display: grid; place-items: center; aspect-ratio: 1000 / 1600; background: var(--paper-2); color: var(--ink-3); font-family: var(--serif); font-size: 13px; text-align: center; border: 1px solid var(--rule); }
.saga-list h3 { margin: 4px 0 0; font-size: 22px; font-weight: 400; line-height: 1.2; }
.saga-list .line { margin: 6px 0 0; font-size: 17px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.saga-list .links { margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--sans); font-size: 15px; }
.saga-list .links a { color: var(--ink); text-underline-offset: 3px; }
.saga-list .soon-t { color: var(--ink-3); }
.saga-foot { margin-top: 44px; text-align: center; font-family: var(--sans); font-size: 15px; }
.saga-foot a { color: var(--ink-2); text-underline-offset: 3px; }
@media (min-width: 760px) { .saga-list li { grid-template-columns: 104px 1fr; gap: 26px; } .saga > h2 { font-size: 34px; } }
.saga { max-width: calc(36rem + 44px); margin-left: auto; margin-right: auto; padding-left: 22px; padding-right: 22px; }
.saga-list .cover { box-shadow: 1px 1px 0 rgba(255,255,255,.06), 0 10px 22px -12px rgba(0,0,0,.5); }
/* Other languages, one quiet line */
.also-in { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 4px 14px; font-family: var(--sans); font-size: 14px; color: var(--ink-3); }
.toc-head .also-in, .hero-text .also-in { justify-content: center; }
@media (min-width: 900px) { .hero-text .also-in { justify-content: flex-start; } }
.also-in a { color: var(--ink-3); text-decoration: none; }
.also-in a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
/* Korean: break between words, never inside one, and prefer a serif Hangul face where the device has one */
:lang(ko) .prose, :lang(ko) h1, :lang(ko) h2, :lang(ko) .toc .t { word-break: keep-all; overflow-wrap: break-word; }
:lang(ko) .prose { font-family: "Newsreader", "AppleMyungjo", "Nanum Myeongjo", "Noto Serif KR", "Batang", serif; line-height: 1.75; }
.saga-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }

/* Question pages */
.qa { max-width: calc(34rem + 44px); margin: 0 auto; padding: 9vh 22px 10vh; }
.qa-kicker { color: var(--ink-3); }
.qa-h { margin-top: 10px; font-size: 34px; line-height: 1.15; font-weight: 400; letter-spacing: -0.01em; text-wrap: balance; }
.qa-lede { margin-top: 16px; font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.qa-body { margin-top: 28px; font-size: var(--fs); line-height: 1.6; }
.qa-body h3 { margin: 34px 0 8px; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); }
.qa-body p { margin: 0 0 1em; text-wrap: pretty; }
.qa-body blockquote { margin: 18px 0; padding-left: 18px; border-left: 2px solid var(--rule); color: var(--ink-2); font-style: italic; }
.qa-body blockquote p { margin: 0; }
.qa-body a { color: var(--ink); text-underline-offset: 3px; }
.qa-more { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--rule); font-family: var(--sans); font-size: 15px; }
.qa-more ul, .qa-group ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.qa-more a, .qa-group a { color: var(--ink); text-underline-offset: 3px; }
.qa-group { margin-top: 40px; }
.qa-group h2 { font-size: 24px; font-weight: 400; }
.qa-group li { font-size: 18px; line-height: 1.4; }
@media (min-width: 760px) { .qa-h { font-size: 44px; } }
.qa-more > p:last-child { margin-top: 16px; }

/* No sideways scroll anywhere: full-bleed bands can poke past the scrollbar on desktop */
html, body { overflow-x: clip; }

/* Home top bar: Aa sits beside Own the books. On a mouse device it stays faint until you move into the bar */
.land-top .top-r { display: inline-flex; align-items: baseline; gap: 18px; }
.land-top .top-aa { font-size: 16px; padding: 0 2px; background: none; border: 0; color: var(--ink-2); cursor: pointer; }
@media (hover: hover) {
  .land-top .top-aa { opacity: 0; transition: opacity 220ms ease; }
  .land-top:hover .top-aa, .land-top .top-aa:focus-visible, .land-top .top-aa[aria-expanded="true"] { opacity: 1; }
}
body[data-page="home"] .sheet { top: calc(56px + env(safe-area-inset-top, 0px)); }

/* Languages: English alone on top, then pairs */
.sheet .langs { display: grid; grid-template-columns: 1fr 1fr; justify-items: center; gap: 2px 8px; }
.sheet .langs a[lang="en"] { grid-column: 1 / -1; }
.end-links { flex-wrap: wrap; gap: 10px 24px; }

/* Questions index and FAQ share one system */
.qa-group { margin-top: 52px; }
.qa-group h2, .qa-body.faq h2 { font-size: 30px; font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; }
.qa-group h2 { padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.qa-group ul { margin-top: 18px; gap: 14px; }
.qa-body.faq h2 { margin: 52px 0 12px; }
.qa-body.faq h3 { margin-top: 30px; }
.qa-body.faq ul { padding-left: 0; list-style: none; display: grid; gap: 10px; margin: 10px 0 16px; }
.qa-body.faq li { line-height: 1.5; }
@media (min-width: 760px) { .qa-group h2, .qa-body.faq h2 { font-size: 34px; } }

/* Covers are links to the paperback. A small lift on hover, nothing more */
.cover-link { display: block; color: inherit; -webkit-tap-highlight-color: transparent; }
.cover-link img { display: block; width: 100%; height: auto; }
.paperbacks .cover, .saga-list .cover { translate: 0 0; transition: opacity 700ms ease, transform 900ms cubic-bezier(.2, .7, .2, 1), translate 260ms ease, box-shadow 260ms ease; }
.js .paperbacks.stage.in .cover:nth-child(2) { transition-delay: 60ms, 60ms, 0s, 0s; }
.js .paperbacks.stage.in .cover:nth-child(3) { transition-delay: 120ms, 120ms, 0s, 0s; }
@media (hover: hover) {
  .paperbacks .cover:has(.cover-link:hover), .saga-list .cover:has(.cover-link:hover) { translate: 0 -6px; }
}
.cover-link:focus-visible { outline: 2px solid var(--ink-2); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .paperbacks .cover, .saga-list .cover { translate: none !important; } }
.say.sig a { color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 200ms ease; }
.say.sig a:hover { border-bottom-color: var(--ink-3); }
.say.sig a { -webkit-tap-highlight-color: transparent; }

/* Book four, faded, coming soon */
.climax .paperbacks.big.with-soon { max-width: 900px; grid-template-columns: repeat(4, 1fr); gap: 4%; }
@media (max-width: 599px) { .climax .paperbacks.big.with-soon { grid-template-columns: repeat(2, 1fr); max-width: 330px; gap: 22px 9%; } }
.paperbacks .soon-cover { position: relative; box-shadow: none !important; }
.paperbacks .soon-cover img { opacity: .32; filter: grayscale(.55); }
.soon-tag { position: absolute; left: 0; right: 0; bottom: -28px; text-align: center; font-family: var(--sans); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--own-ink-2); white-space: nowrap; }
.climax .paperbacks.big.with-soon { margin-bottom: 28px; }
.paperbacks .soon-cover { background: transparent !important; } .paperbacks .soon-cover img { filter: grayscale(.55) brightness(.9); }
.saga-list .soon-cover { box-shadow: none !important; background: transparent !important; }
.saga-list .soon-cover img { display: block; width: 100%; height: auto; opacity: .32; filter: grayscale(.55) brightness(.9); }

/* A question that matches the chapter, quiet, under the end links */
.ch-q { margin: 30px auto 0; max-width: 30rem; text-align: center; font-family: var(--sans); font-size: 15px; line-height: 1.5; color: var(--ink-3); }
.ch-q span { display: block; font-size: 12px; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 4px; }
.ch-q a { color: var(--ink-2); text-underline-offset: 3px; }
/* Questions on the front page */
.home-q { margin-top: 40px; font-family: var(--sans); font-size: 16px; }
.home-q ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.home-q a { color: var(--ink); text-underline-offset: 3px; }
.home-q .more { display: inline-block; margin-top: 12px; color: var(--ink-3); }
/* Third Day: free early copy, softer fade than "coming soon" */
.soon-cover.early img { opacity: .78 !important; filter: grayscale(.15) !important; }
.soon-cover.early:hover img { opacity: 1 !important; filter: none !important; }
.chapter-end .signup { margin-top: 36px; }
.signup-done { font-size: 18px; color: var(--ink); padding: 14px 0; }
/* Hero cover: same small lift, opens "The book" */
.hero-cover .cover { translate: 0 0; transition: translate 260ms ease, box-shadow 260ms ease; }
@media (hover: hover) { .hero-cover .hero-link:hover .cover { translate: 0 -6px; } }
@media (prefers-reduced-motion: reduce) { .hero-cover .cover { translate: none !important; } }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
#the-book { scroll-margin-top: 72px; }
/* The book: four moments, a tease of the story */
.beats { list-style: none; padding: 0; margin: 36px 0 8px; display: grid; gap: 14px; }
@media (min-width: 700px) { .beats { grid-template-columns: 1fr 1fr; gap: 16px; } }
.beats a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px 22px 18px; border: 1px solid var(--rule); border-radius: 3px; color: inherit; text-decoration: none; transition: border-color 220ms ease, translate 260ms ease; }
@media (hover: hover) { .beats a:hover { border-color: var(--ink-3); translate: 0 -3px; } }
.beats .age { font-family: var(--serif); font-size: 25px; line-height: 1.2; color: var(--ink); }
.beats .beat { font-family: var(--serif); font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.beats .ch { margin-top: auto; padding-top: 8px; font-family: var(--sans); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
@media (prefers-reduced-motion: reduce) { .beats a { translate: none !important; } }
.read-again { margin-top: 30px; }
/* Question pages: breadcrumbs, chapter card, updated date */
.crumbs { font-family: var(--sans); font-size: 13px; letter-spacing: .04em; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a { color: var(--ink-3); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 200ms ease; }
.crumbs a:hover { border-bottom-color: var(--ink-3); }
.qa-card { display: flex; flex-direction: column; gap: 6px; margin: 44px 0 0; padding: 22px 24px; border: 1px solid var(--rule); border-radius: 3px; color: inherit; text-decoration: none; transition: border-color 220ms ease, translate 260ms ease; }
@media (hover: hover) { .qa-card:hover { border-color: var(--ink-3); translate: 0 -3px; } }
.qa-card .t { font-family: var(--serif); font-size: 24px; line-height: 1.25; color: var(--ink); }
.qa-card .s { font-family: var(--sans); font-size: 14px; color: var(--ink-3); }
.qa-updated { margin-top: 22px; font-family: var(--sans); font-size: 13px; color: var(--ink-3); }
@media (prefers-reduced-motion: reduce) { .qa-card { translate: none !important; } }
.novel-note { max-width: 30rem; margin: 18px auto 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.55; color: var(--ink-3); } .novel-note a { color: var(--ink-3); font-style: normal; font-family: var(--sans); font-size: 13px; white-space: nowrap; }
/* Three story cards: one column, read top to bottom */
.beats { grid-template-columns: 1fr !important; }
.prose p[id] { scroll-margin-top: 84px; }
/* Paperback block: an even rhythm and lines that break in balanced pairs */
.note, .say, .own-line, .books-break h2, .climax h2 { text-wrap: balance; }
.climax .paperbacks.big.with-soon { margin-bottom: 0; }
.soon-tag { position: static; display: block; margin-top: 14px; }
.climax .own-line { margin: 56px auto 0; max-width: 34rem; font-size: 19px; text-wrap: balance; }
.climax .acts { margin-top: 32px; }
.climax .note { max-width: 36rem; margin-top: 22px; }
.climax .note.note-td { margin-top: 6px; }
@media (max-width: 599px) {
  .climax .own-line { margin-top: 44px; font-size: 18px; }
  .climax .note { max-width: 22rem; }
}
.climax .paperbacks.big.with-soon { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 4%; }
@media (max-width: 599px) { .climax .paperbacks.big.with-soon { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 300px; gap: 26px 28px; } }
.note a, .say a { white-space: nowrap; }
/* Third Day stays still until its paperback exists */
.paperbacks .cover.soon-cover, .saga-list .cover.soon-cover { translate: none !important; transition: none !important; }
.soon-cover.early:hover img { opacity: .78 !important; filter: grayscale(.15) !important; }
/* Reading progress: a visible track, so the line reads as progress, not decoration */
.progress { height: 3px; background: color-mix(in srgb, var(--ink) 9%, transparent); }
.progress i { opacity: 1; border-radius: 0 2px 2px 0; }

/* ===== Staged revision: first screen, samples, book ending, contrast ===== */
:root { --ink-3: #6B5F53; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="day"]) { --ink-3: #A39582; } }
:root[data-theme="night"] { --ink-3: #A39582; }
.env-own { --ink-3: #ADA08D; }
.climax .note { color: #B7A994; }
.land-top .top-lang { font-family: var(--sans); font-size: 15px; padding: 0 2px; background: none; border: 0; color: var(--ink-2); cursor: pointer; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 4px; }

/* First screen: the promise and the button before the cover */
.hero-v2 { padding-top: 28px; gap: 28px; }
.hero-v2 .hero-text { order: 1; }
.hero-v2 .hero-cover { order: 2; }
.hero-v2 .kicker { font-family: var(--sans); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ox); margin-bottom: 12px; }
:root[data-theme="night"] .hero-v2 .kicker { color: #D69A8F; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="day"]) .hero-v2 .kicker { color: #D69A8F; } }
.hero-v2 h1 { font-size: 44px; }
.hero-v2 .hook { margin-top: 14px; font-size: 21px; }
.hero-v2 .acts { margin-top: 22px; }
.hero-v2 .start-meta { margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.hero-v2 .by { margin-top: 18px; font-size: 15px; color: var(--ink-3); font-family: var(--sans); }
.hero-v2 .hero-cover .cover { width: min(38vw, 150px); }
@media (min-width: 900px) {
  .hero-v2 { padding-top: 88px; }
  .hero-v2 .hero-cover { order: 0; }
  .hero-v2 .hero-text { order: 1; }
  .hero-v2 .hero-cover .cover { width: min(100%, 320px); }
  .hero-v2 h1 { font-size: 68px; }
  .hero-v2 .hook { font-size: 26px; }
}

/* Book ending: the next book first */
.next-book { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: start; max-width: 34rem; margin: 34px auto 0; text-align: left; }
.next-book .nb-cover .cover { width: 120px; }
.next-book h3 { font-family: var(--serif); font-size: 30px; font-weight: 400; margin-top: 4px; }
.next-book .say { text-align: left; margin-top: 10px; }
.next-book .acts { justify-content: flex-start; margin-top: 18px; flex-wrap: wrap; }
.next-book .note { text-align: left; margin-top: 12px; }
@media (max-width: 480px) { .next-book { grid-template-columns: 1fr; } .next-book .nb-cover .cover { width: 130px; } }
.books-break.carry { margin-top: 48px; }

/* Samples: a scene opened from a card or a question */
.sample-intro { max-width: 33rem; margin: 0 auto 26px; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 3px; font-family: var(--sans); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.sample-intro a { color: var(--ink); }
.sample-end { max-width: 33rem; margin: 40px auto 0; padding: 22px 20px; border: 1px solid var(--rule); border-radius: 3px; text-align: center; }
.sample-end p { font-family: var(--serif); font-size: 20px; line-height: 1.45; color: var(--ink); }
.sample-end .acts { justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.next-book { padding: 0 22px; box-sizing: border-box; }
.next-book .say { font-size: 18px; line-height: 1.55; }
.next-book .note { line-height: 1.55; }
.js.returning .start-meta { display: none; }

/* ===== The title-page identity, sitewide ===== */
/* Prototype: the Nazarene as a printed title page */
@font-face { font-family: "Fell"; src: url("/assets/fonts/fell-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("/assets/fonts/garamond.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("/assets/fonts/garamond-italic.woff2") format("woff2"); font-style: italic; font-weight: 400 800; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("/assets/fonts/garamond-ext.woff2") format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }

:root { --serif: "EB Garamond", Garamond, "Iowan Old Style", Georgia, serif; --paper: #F7F5EF; --paper-2: #EFECE3; --read-paper: #F7F5EF; --ink: #24231F; --ink-2: #58564E; --ink-3: #6A675E; --rule: rgba(36, 35, 31, 0.16); --btn: #24231F; --btn-ink: #F7F5EF; }
:root[data-size="2"] { --fs: 21px; }
@media (min-width: 720px) { :root[data-size="2"] { --fs: 22px; } }
.proto .prose p, .proto .first-lines p { line-height: 1.57; }
.the { font-family: "Fell", "IM Fell English", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: 0; text-transform: none; }

/* Home */
body.proto { background: var(--paper); }
.pt-nav { display: flex; justify-content: space-between; align-items: center; max-width: 1080px; margin: 0 auto; padding: 14px 20px 0; font-family: var(--sans); font-size: 15px; }
.pt-nav a, .pt-nav .pt-lang { color: var(--ink-2); text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; padding: 6px 0; }
.pt-nav span { display: flex; gap: 18px; }
.pt-nav .pt-lang { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 4px; }

.title-page { text-align: center; padding: 22px 20px 34px; max-width: 34rem; margin: 0 auto; }
.masthead { margin: 0; line-height: 1; font-weight: 400; }
.masthead .the { display: block; font-size: 36px; line-height: .9; margin-bottom: -4px; color: var(--ink); transform: none; }
.masthead .naz { display: block; font-family: "EB Garamond", serif; font-weight: 500; font-size: 44px; letter-spacing: .06em; color: var(--ink); }
.book-label { margin-top: 14px; font-family: var(--sans); font-size: 13px; letter-spacing: .14em; color: var(--ink-2); }
.author { margin-top: 4px; font-family: var(--sans); font-size: 15px; color: var(--ink-2); }
.promise { margin: 20px auto 0; font-size: 27px; line-height: 1.22; color: var(--ink); }
.pt-btn { display: inline-flex; flex-direction: column; justify-content: center; min-height: 52px; margin-top: 22px; padding: 0 30px; background: var(--btn); color: var(--btn-ink); font-family: var(--sans); font-size: 17px; border-radius: 3px; }
.pt-btn .btn-sub { font-size: 13px; opacity: .8; }
.free { margin-top: 12px; font-family: var(--sans); font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.restart { display: none; margin-top: 10px; font-family: var(--sans); font-size: 14px; color: var(--ink-2); }
.js.returning .restart { display: inline-block; }

.pt-excerpt { max-width: 560px; margin: 0 auto; padding: 34px 20px 8px; border-top: 1px solid var(--rule); }
.pt-chlabel { font-family: var(--sans); font-size: 12px; letter-spacing: .16em; color: var(--ink-2); text-align: center; }
.pt-chtitle { font-size: 34px; font-weight: 400; text-align: center; margin: 6px 0 26px; }
.pt-excerpt .first-lines p { font-size: var(--fs); text-indent: 1.3em; margin: 0; }
.pt-excerpt .first-lines p:first-child { text-indent: 0; font-size: 1.12em; }
.pt-excerpt .first-lines p.gap { height: 1.2em; }
.pt-excerpt .first-lines p.ni { text-indent: 0; }
.pt-excerpt .pt-btn { display: flex; margin: 28px auto 0; width: max-content; }

.pt-section { max-width: 560px; margin: 0 auto; padding: 46px 20px 0; }
.pt-label { font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
.pt-section p { font-size: 19px; line-height: 1.55; }
.pt-section p + p { margin-top: 12px; }
.pt-lede { font-size: 22px !important; }
.pt-small { font-family: var(--sans); font-size: 14px !important; color: var(--ink-2); margin-top: 14px; }
.proto .beats { margin-top: 0; }
.pt-review .voice { margin: 0; }
.pt-review blockquote { font-size: 24px; line-height: 1.4; font-style: italic; }
.reading-order { list-style: none; padding: 0; margin: 0; }
.reading-order li { display: grid; grid-template-columns: 76px 1fr; gap: 18px; padding: 16px 0; border-top: 1px solid var(--rule); }
.reading-order img { width: 76px; height: auto; box-shadow: 0 6px 12px rgba(36,35,31,.18); }
.reading-order .soon-img { opacity: 1; }
.reading-order .ro-n { font-family: var(--sans); font-size: 12px !important; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.reading-order h3 { font-size: 24px; font-weight: 400; margin: 2px 0 4px; }
.reading-order .ro-l { font-size: 17px !important; color: var(--ink-2); }
.reading-order .ro-a { margin-top: 8px !important; font-family: var(--sans); font-size: 15px !important; }
.reading-order .ro-a a { color: var(--ink); }
.reading-order .soon { color: var(--ink-2); }
.pt-links ul { list-style: none; padding: 0; margin: 0 0 14px; }
.pt-links li { padding: 6px 0; font-size: 19px; }
.pt-links a { color: var(--ink); }
.proto .foot { margin-top: 64px; }

/* Chapter: masthead in the bar */
.pt-mini { font-family: "EB Garamond", serif; font-weight: 500; letter-spacing: .08em; font-size: 15px; color: var(--ink); }
.pt-mini .the { font-size: 17px; letter-spacing: 0; margin-right: 1px; }

@media (min-width: 720px) {
  .title-page { padding-top: 64px; padding-bottom: 54px; }
  .masthead .the { font-size: 52px; }
  .masthead .naz { font-size: 76px; }
  .promise { font-size: 34px; }
}
.pt-section .pt-label { font-size: 12px; line-height: 1.4; }
.proto .beats li { opacity: 1 !important; transform: none !important; }
@font-face { font-family: "EB Garamond"; src: url("/assets/fonts/garamond-cyr.woff2") format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "EB Garamond"; src: url("/assets/fonts/garamond-cyr-italic.woff2") format("woff2"); font-style: italic; font-weight: 400 800; font-display: swap; unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
/* Every page, not just the prototype */
.prose p, .first-lines p { line-height: 1.57; }
.pt-mini { white-space: nowrap; }
.lang-title { padding-top: 34px; }
.lang-title .promise { font-size: 25px; }
:lang(ko) .masthead .naz, .lang-title .masthead .naz:lang(ko) { letter-spacing: .02em; }
.toc { margin-top: 8px; }
.lang-title .promise, .lang-title .free, .lang-title .author { word-break: keep-all; text-wrap: balance; }

/* ===== Go-live polish ===== */
:root { --paper: #F6F1E8; --paper-2: #EEE8DC; --read-paper: #F6F1E8; --ink: #26221D; --btn-ink: #F6F1E8; }
.title-page .pt-btn, .pt-excerpt .pt-btn { display: flex; align-items: center; justify-content: center; width: 280px; max-width: 100%; min-height: 52px; margin-left: auto; margin-right: auto; white-space: nowrap; }
.resume-where { margin-top: 22px; font-family: var(--sans); font-size: 15px; color: var(--ink-2); }
.resume-where + .pt-btn { margin-top: 10px; }
.btn, .pt-btn { transition: background-color 160ms ease, transform 120ms ease, opacity 160ms ease; }
.btn:active, .pt-btn:active { transform: translateY(1px) scale(.99); opacity: .9; }
a { text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color 180ms ease, color 180ms ease; }
:focus-visible { outline: 2px solid var(--ox); outline-offset: 3px; }
.place-mark { box-shadow: -14px 0 0 -11px var(--ox); transition: box-shadow 1200ms ease; }
.place-mark-out { box-shadow: -14px 0 0 -14px transparent; }
.passage-btn { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 40; padding: 12px 20px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 15px; box-shadow: 0 6px 18px rgba(0,0,0,.18); transition: opacity 160ms ease, transform 200ms ease; }
.passage-btn.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
::target-text { background: rgba(111, 43, 39, .16); }
@media (prefers-reduced-motion: reduce) { .btn, .pt-btn, .passage-btn, .place-mark { transition: none !important; } }

/* ===== Cover panel: the top of the homepage reads like a cloth book cover ===== */
.cover-panel { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(0deg, rgba(60,45,25,.016) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(60,45,25,.012) 0 1px, transparent 1px 3px); }
.cover-panel .pt-nav { width: 100%; }
.cover-panel .title-page { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 40px 24px 12vh; }
.cover-panel .masthead .the { font-size: 46px; }
.cover-panel .masthead .naz { font-size: 50px; }
.cover-panel .promise { margin-top: 40px; }
.cover-read { display: inline-block; margin-top: 40px; padding: 12px 18px; font-size: 22px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--ox); text-decoration-thickness: 1px; text-underline-offset: 7px; }
.cover-read:hover { text-decoration-thickness: 2px; }
.cover-panel .author { margin-top: 26px; }
.cover-panel .pt-btn { display: none; }
.js.returning .cover-panel { min-height: 0; }
.js.returning .cover-panel .title-page { padding: 28px 24px 40px; }
.js.returning .cover-read { display: none; }
.js.returning .cover-panel .pt-btn { display: flex; }
.js.returning .cover-panel .promise { margin-top: 18px; }
.pt-intro { max-width: 34rem; margin: 0 auto; padding: 56px 24px 8px; text-align: center; border-top: 1px solid var(--rule); }
.pt-intro .pt-lede { margin-top: 16px; font-size: 22px; line-height: 1.4; }
.pt-intro .free { margin-top: 16px; }
.js.returning .pt-intro { display: none; }
@media (min-width: 700px) {
  .cover-panel .masthead .the { font-size: 64px; }
  .cover-panel .masthead .naz { font-size: 96px; }
  .cover-panel .promise { font-size: 36px; }
}
[data-theme="dark"] .cover-panel { background-image: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cover-panel { background-image: none; } }
.reading-order img { background: #E4DCCD; }

/* Homepage footer: links sit on the same left edge as the sections above */
.proto .foot { text-align: left; padding-left: 0; padding-right: 0; }
.proto .foot > div { max-width: 560px; margin: 0 auto; padding: 0 20px; display: flex; flex-wrap: wrap; column-gap: 24px; row-gap: 0; }
.proto .foot a { margin: 0; }

/* Far Country, chapter one in the same reader */
.fc-sample .progress, .fc-sample .sheet .langs { display: none; }
.fc-next .acts.center { margin-top: 18px; }
.fc-next .note { text-align: center; }
.next-book .acts { flex-wrap: wrap; row-gap: 10px; }
.nw { white-space: nowrap; }
.pt-chlabel { text-transform: uppercase; }
.js.returning .pt-excerpt .pt-btn { display: none; }
/* Reading order: two matching actions per book */
.reading-order .ro-a{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px !important}
.reading-order .ro-a a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:132px;padding:0 18px;border:1px solid var(--ink);border-radius:3px;text-decoration:none;font-size:15px}
.reading-order .ro-a a + a{background:var(--ink);color:var(--paper)}
.ro-set{margin-top:28px;display:grid;gap:12px;justify-items:start}
.ro-set p{margin:0 !important;font-family:var(--sans);font-size:14px;color:var(--ink-2)}
.reading-order .ro-a{display:grid;grid-template-columns:1fr 1fr;max-width:320px}
.reading-order .ro-a a{min-width:0;padding:0 10px;white-space:nowrap}
.reading-order .ro-a a + a{background:transparent;color:var(--ink)}
.reading-order .ro-a a:first-child{background:var(--ink);color:var(--paper)}
.reading-order .ro-t{margin-top:10px !important;font-family:var(--sans);font-size:15px !important}
.reading-order .ro-t a{color:var(--ink);text-underline-offset:.24em}
/* Hero: all four books are out */
.cover-four{display:inline-flex;flex-direction:column;align-items:center;gap:10px;margin-top:26px;text-decoration:none;color:var(--ink-2)}
.cover-four .cf-row{display:flex;gap:6px}
.cover-four img{width:40px;height:auto;box-shadow:0 4px 10px -4px rgba(20,14,10,.5);transition:translate .25s ease}
.cover-four:hover img{translate:0 -3px}
.cover-four .cf-t{font-family:var(--sans);font-size:14px;text-decoration:underline;text-underline-offset:.24em;text-decoration-color:var(--ink-3)}
.cover-panel .author,.author{text-wrap:balance}
/* Gift page: the header sits on the dark page, not a cream strip */
body[data-page="gift"] .land-top{padding-bottom:22px;color:var(--own-ink);background:var(--own-bg);box-shadow:0 0 0 100vmax var(--own-bg);clip-path:inset(0 -100vmax)}
body[data-page="gift"] .land-top a,body[data-page="gift"] .land-top .own{color:var(--own-ink)}
/* Gift page quotes: centered, with air between them */
body[data-page="gift"] .about .voice{text-align:center;margin:0 auto 40px;max-width:36rem}
body[data-page="gift"] .about .voice figcaption{margin-top:10px}
body[data-page="gift"] .about{padding-top:72px;padding-bottom:72px}
@media (max-width:600px){.reading-order .ro-a{margin-top:22px !important}}
body[data-page="gift"] .gift .price-line{margin-top:18px}
body[data-page="gift"] .gift .note + .paperbacks{margin-top:48px}
.free-note{margin-top:10px !important;font-family:var(--sans);font-size:14px;color:var(--ink-2)}
.js.returning .free-note{display:none}
.js.returning .cover-four{display:flex;margin:22px auto 0}
/* Four-book rows: the fourth cover gets its own beat, and hover eases like the rise */
.js .paperbacks.stage.in .cover:nth-child(4) { transition-delay: 180ms, 180ms, 0s, 0s; }
.paperbacks .cover, .saga-list .cover { transition: opacity 700ms ease, transform 900ms cubic-bezier(.2, .7, .2, 1), translate 320ms cubic-bezier(.2, .7, .2, 1), box-shadow 320ms ease; }
.gift-voice{margin:14px auto 6px !important;font-style:italic;font-size:22px;color:var(--own-ink)}
.gift-voice span{display:block;margin-top:4px;font-style:normal;font-family:var(--sans);font-size:13px;color:var(--own-ink-2)}
.next .next-first{display:block;margin-top:8px;font-style:italic;font-size:16px;line-height:1.45;color:var(--ink-2);font-family:inherit;text-wrap:pretty}

/* ---- The Shop ---- */
/* Home: one cover instead of four */
.home-cover{display:inline-flex;flex-direction:column;align-items:center;gap:10px;margin-top:30px;text-decoration:none;color:var(--ink-2, var(--ink))}
.home-cover img{display:block;width:210px;height:auto;box-shadow:0 10px 28px rgba(var(--shade),.28)}
.home-cover .cf-t{font-family:var(--sans);font-size:15px;text-decoration:underline;text-decoration-color:var(--ox);text-underline-offset:5px}
.title-page .pt-btn{margin-top:26px}
.small-print{font-size:13px;opacity:.75}

/* Contents page */
.contents-note{font-size:var(--fs);line-height:1.55;margin:0 0 28px}
.shop-toc{margin:0 0 8px}
.shop-toc a,.drawer-list a{display:flex;align-items:baseline;gap:14px;text-decoration:none;color:var(--ink)}
.shop-toc a{padding:14px 2px}
.shop-toc .n{min-width:1.6em;font-variant-numeric:tabular-nums;color:var(--ox)}
.shop-toc .t{flex:1}
.shop-toc .s{font-family:var(--sans);font-size:14px;color:var(--ink-3, var(--ink));opacity:.8}
.shop-toc li.done .s{color:var(--ox);opacity:1}
.center{justify-content:center;text-align:center}

/* Give */
.give-page h1{line-height:1.12}
.give-lede,.season{font-size:var(--fs);line-height:1.55;margin:0 0 16px}
.season{color:var(--ox)}
.soon-note{font-size:17px;line-height:1.5;margin:0;max-width:30rem}
.give-h2{font-weight:400;font-size:28px;line-height:1.2;margin:64px 0 14px}
.give-page > p{font-size:var(--fs);line-height:1.55}
.mill-card{position:relative;background:#F3E7CB;color:#2E241B;max-width:400px;aspect-ratio:5/3;margin:26px 0 18px;padding:34px 30px 22px;box-shadow:0 6px 18px rgba(0,0,0,.16);transform:rotate(-1.2deg);display:flex;align-items:center}
.mill-card:before{content:"";position:absolute;left:0;right:0;top:22px;height:1px;background:#C9746B;opacity:.75}
.mill-card span{font-family:var(--sans);font-weight:600;text-transform:uppercase;letter-spacing:.04em;font-size:19px;line-height:1.5}
.card-links{display:flex;flex-wrap:wrap;gap:10px 26px;font-family:var(--sans);font-size:16px}
.bench{padding-left:1.3em;margin:18px 0 0}
.bench li{font-size:calc(var(--fs) - 1px);line-height:1.55;margin:0 0 18px;padding-left:4px}
.bench li strong{font-weight:600}
[hidden]{display:none!important}
.promise{text-wrap:balance}

/* ================= v11: paper, ink, and the card ================= */
@font-face{font-family:"Mill Card";src:url("/assets/fonts/architects-daughter.ttf") format("truetype");font-display:swap}
body.shop-page{background:var(--paper);margin:0;color:var(--ink)}
.shop-page main{overflow-x:clip}
.sp-nav{display:flex;justify-content:space-between;align-items:center;max-width:1080px;margin:0 auto;padding:calc(10px + env(safe-area-inset-top,0px)) 24px 0;font-family:var(--sans);font-size:15px}
.sp-nav a{color:var(--ink-2);text-decoration:none;padding:10px 0;min-height:44px;display:inline-flex;align-items:center}
.sp-nav a:hover{color:var(--ink)}
.sp-nav .sp-home{font-family:var(--serif);font-size:19px;color:var(--ink);letter-spacing:.01em}

/* buttons: ink on paper */
.sp-btn{display:flex;align-items:center;justify-content:center;min-height:58px;padding:0 26px;background:var(--btn);color:var(--btn-ink);border:0;border-radius:3px;font-family:var(--sans);font-size:17px;font-weight:600;letter-spacing:.01em;text-decoration:none;text-align:center;cursor:pointer;width:100%;transition:opacity 160ms ease,transform 160ms ease}
.sp-btn:hover{opacity:.9}
.sp-btn:active{transform:translateY(1px)}
.sp-btn.has-sub{flex-direction:column;gap:2px;line-height:1.2;padding-top:9px;padding-bottom:9px}
.sp-btn .btn-sub{font-size:13px;font-weight:400;opacity:.8}
.sp-btn-light{background:#F1E6CC;color:#1C1511}
.sp-acts{max-width:360px;margin:0 auto}
.sp-note{font-family:var(--sans);font-size:14.5px;line-height:1.5;color:var(--ink-3);margin:14px 0 0}
.sp-note a{color:inherit;text-underline-offset:4px}
.sp-eyebrow,.sp-label{font-family:var(--sans);font-size:12.5px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-3);margin:0}
.card-img{display:block;height:auto;filter:drop-shadow(0 1px 1px rgba(var(--shade),.25)) drop-shadow(0 12px 14px rgba(var(--shade),.22))}

/* the book as an object */
.book{position:relative;display:block;line-height:0;border-radius:2px 4px 4px 2px;box-shadow:0 1px 2px rgba(var(--shade),.3),0 18px 36px -14px rgba(var(--shade),.55),0 40px 60px -40px rgba(var(--shade),.5)}
.book img{display:block;width:100%;height:auto;border-radius:2px 4px 4px 2px}
.book:after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(90deg,rgba(0,0,0,.28) 0,rgba(255,255,255,.16) 1.6%,rgba(0,0,0,.10) 3.4%,rgba(0,0,0,0) 7%)}

/* ---------- home hero ---------- */
.sp-hero{max-width:1080px;margin:0 auto;padding:22px 24px 64px;text-align:center}
.sp-title{font-family:var(--serif);font-weight:500;font-size:clamp(68px,21vw,92px);line-height:.9;letter-spacing:-.028em;margin:12px 0 22px;color:var(--ink)}
.sp-hook{font-family:var(--serif);font-size:20.5px;line-height:1.36;margin:0 auto;max-width:17em;color:var(--ink)}
.sp-hook span{display:block;text-wrap:balance}
.sp-hook span+span{margin-top:.4em}
.card-hero{width:min(86%,330px);margin:30px auto 32px}
.sp-cta{max-width:360px;margin:0 auto}
.sp-second{margin:20px 0 0;font-family:var(--serif);font-size:18px}
.sp-second a{color:var(--ink);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.26em;text-decoration-color:var(--ink-3)}
.sp-art{margin:54px auto 0;width:min(60vw,250px)}
.card-over{display:none}

/* ---------- the opening ---------- */
.sp-excerpt{max-width:34rem;margin:0 auto;padding:60px 26px 68px;border-top:1px solid var(--rule)}
.sp-excerpt .sp-label{text-align:center}
.sp-day{font-family:var(--serif);font-weight:400;font-size:38px;line-height:1.1;margin:8px 0 34px;text-align:center}
.sp-prose{font-family:var(--serif);font-size:var(--fs);line-height:1.64;hanging-punctuation:first;font-feature-settings:"kern","liga","onum"}
.sp-prose p{margin:0;text-indent:1.3em;text-wrap:pretty}
.sp-prose p.ni{text-indent:0}
.sp-prose p.ni:first-letter{float:left;font-size:3.35em;line-height:.82;padding:.06em .05em 0 0;font-weight:500;color:var(--ink)}
.sp-more{margin:34px 0 0;text-align:center;font-family:var(--serif);font-size:20px}
.sp-more a{color:var(--ink);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.28em;text-decoration-color:var(--ox)}
.sp-more a span{display:inline-block;transition:transform 200ms ease}
.sp-more a:hover span{transform:translateX(3px)}

/* ---------- the ritual: a pencil calendar ---------- */
.sp-ritual{max-width:34rem;margin:0 auto;padding:60px 26px 72px;border-top:1px solid var(--rule);text-align:center}
.sp-ritual h2{font-family:var(--serif);font-weight:400;font-size:26px;line-height:1.25;margin:0 0 8px;text-wrap:balance}
.sp-ritual>p{font-family:var(--serif);font-size:19px;line-height:1.5;color:var(--ink-2);margin:0}
.cal{margin:34px auto 0;max-width:336px}
.cal-month{font-family:var(--sans);font-size:12.5px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-3);margin:0 0 6px;padding-bottom:10px;border-bottom:1px solid var(--rule)}
.cal-grid{display:grid;grid-template-columns:repeat(6,1fr)}
.cal-grid a{position:relative;display:flex;align-items:center;justify-content:center;height:52px;font-family:var(--serif);font-size:19px;font-variant-numeric:lining-nums tabular-nums;color:var(--ink);text-decoration:none;border-bottom:1px solid var(--rule)}
.cal-grid a span{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;transition:background-color 160ms ease}
.cal-grid a:hover span{background:var(--paper-2)}
.cal-grid a.is-read{color:var(--ink-3)}
.cal-grid a.is-read:after{content:"";position:absolute;left:50%;top:50%;width:30px;height:1.6px;margin:-1px 0 0 -15px;background:var(--ink-2);opacity:.8;border-radius:2px;transform:rotate(-52deg)}
.cal-grid a.today span{box-shadow:inset 0 0 0 1.5px var(--ox)}
.cal-epi{display:inline-block;margin-top:14px;font-family:var(--serif);font-style:italic;font-size:17px;color:var(--ink-2);text-decoration:none;padding:8px 10px}
.cal-epi.is-read{text-decoration:line-through;text-decoration-thickness:1px;color:var(--ink-3)}
.cal-count{font-family:var(--serif);font-style:italic;font-size:18px;color:var(--ink-2);margin:10px 0 0}
.contents-count{margin:-12px 0 24px;text-align:left}

/* ---------- the warm room ---------- */
.sp-room{background:#1C1511;color:#F1E6CC;padding:64px 26px 68px;background-image:radial-gradient(120% 90% at 50% 0%,rgba(226,150,62,.16),rgba(226,150,62,0) 62%)}
.sp-room-in{max-width:760px;margin:0 auto;display:grid;gap:34px;justify-items:center;text-align:center}
.sp-room .book{width:170px;box-shadow:0 20px 44px -12px rgba(0,0,0,.8),0 0 90px rgba(233,150,50,.2)}
.sp-room h2{font-family:var(--serif);font-weight:400;font-size:30px;line-height:1.15;margin:0 0 12px;color:#F6ECD4}
.sp-room p{font-family:var(--serif);font-size:19px;line-height:1.5;margin:0;color:#DDCFAF}
.sp-room .sp-spec{font-family:var(--sans);font-size:14.5px;letter-spacing:.02em;color:#BFAF8C;margin:18px 0 20px}
.sp-room .sp-note{font-family:var(--sans);font-size:14.5px;color:#BFAF8C;margin-top:16px}
body.shop-page .foot{margin-top:0}

/* ---------- leave a card ---------- */
.leave-card{display:grid;gap:26px;justify-items:center;text-align:center;max-width:34rem;margin:0 auto}
.card-sm{width:min(78%,270px)}
.leave-card h3{font-family:var(--serif);font-weight:400;font-size:27px;line-height:1.2;margin:0 0 8px;color:var(--ink)}
.leave-card p{font-family:var(--serif);font-size:18px;line-height:1.5;margin:0;color:var(--ink-2);text-indent:0}
.lc-sign{display:block;max-width:360px;margin:22px auto 12px;text-align:left}
.lc-sign span,.ins-fields span{display:block;font-family:var(--sans);font-size:13.5px;color:var(--ink-3);margin:0 0 6px}
.lc-sign input,.ins-fields input{width:100%;box-sizing:border-box;min-height:52px;padding:0 14px;border:1px solid var(--ink-3);border-radius:3px;background:transparent;color:var(--ink);font-family:var(--serif);font-size:19px}
.lc-sign input:focus,.ins-fields input:focus{outline:2px solid var(--ox);outline-offset:1px;border-color:transparent}
.lc-sign input::placeholder,.ins-fields input::placeholder{color:var(--ink-3);opacity:.7}
.leave-card .sp-btn{max-width:360px;margin:0 auto}
.leave-card .lc-note{font-family:var(--sans);font-size:13.5px;color:var(--ink-3);margin-top:12px}

/* ---------- chapter ends ---------- */
.day-of{font-family:var(--sans);font-size:12.5px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-3);text-align:center;margin:0 0 22px;text-indent:0}
.invite{margin:46px auto 0;padding:26px 0 0;border-top:1px solid var(--rule);text-align:center}
.invite p{font-family:var(--serif);font-size:18px;line-height:1.5;color:var(--ink-2);margin:0 0 8px;text-indent:0}
.invite .btn-plain{font-family:var(--serif);font-size:19px;min-height:44px}
.the-end{margin-top:20vh}
.end-mark{font-family:var(--sans);font-size:12.5px;font-weight:500;letter-spacing:.3em;text-transform:uppercase;color:var(--ink-3);text-align:center;margin:0}
.end-ask{text-align:center;margin:20vh 0 44px}
.end-ask .sp-eyebrow{margin:0 0 12px}
.end-ask h2{font-family:var(--serif);font-weight:400;font-size:32px;line-height:1.15;margin:0 0 12px;text-wrap:balance}
.end-ask p{font-family:var(--serif);font-size:19px;line-height:1.5;color:var(--ink-2);margin:0}
.end-paths{margin-top:64px}
.end-paths .next+.next{border-top:0}
.end-letters{font-family:var(--sans);font-size:14.5px;color:var(--ink-3);text-align:center;margin:34px 0 0}
.end-letters a{color:var(--ink-2);text-underline-offset:4px}
.sheet-done{min-height:42px;border:1px solid var(--rule);background:transparent;color:var(--ink-2);font-family:var(--sans);font-size:15px;cursor:pointer}
.bench-end{margin:72px 0 0;padding-top:56px;border-top:1px solid var(--rule)}

/* ---------- give ---------- */
.gv-top{max-width:1000px;margin:0 auto;padding:18px 26px 60px;display:grid;gap:30px}
.gv-book{display:flex;justify-content:center}
.gv-book .book{width:min(44vw,176px)}
.gv-pitch h1{font-family:var(--serif);font-weight:400;font-size:34px;line-height:1.1;letter-spacing:-.012em;margin:12px 0 18px;text-wrap:balance}
.gv-pitch>p{font-family:var(--serif);font-size:19.5px;line-height:1.55;margin:0 0 14px;color:var(--ink)}
.gv-pitch>p.sp-eyebrow{font-family:var(--sans);font-size:12.5px;line-height:1.4;margin:0;color:var(--ink-3)}
.buy{margin:28px 0 0;padding:24px 22px 22px;border:1px solid var(--rule);background:var(--read-paper,#FAF6EE);border-radius:3px;max-width:420px}
:root[data-theme="night"] .buy{background:var(--paper-2)}
@media (prefers-color-scheme:dark){:root:not([data-theme="day"]) .buy{background:var(--paper-2)}}
.buy p{margin:0;text-indent:0}
.buy-what{font-family:var(--sans);font-size:15px;color:var(--ink-2)}
.buy-what strong{color:var(--ink);font-weight:600}
.buy-price{font-family:var(--serif);font-size:38px;line-height:1.1;font-variant-numeric:lining-nums;margin:6px 0 16px!important;color:var(--ink)}
.buy-note{font-family:var(--sans);font-size:13.5px;line-height:1.45;color:var(--ink-3);margin-top:12px!important}
.buy-try{font-family:var(--serif);font-size:17.5px;margin-top:14px!important;color:var(--ink-2)}
.buy-try a{color:var(--ink);text-underline-offset:.24em;text-decoration-thickness:1px;text-decoration-color:var(--ox)}
.gv-ins{background:var(--paper-2);padding:60px 26px 64px;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.gv-ins-in{max-width:900px;margin:0 auto;display:grid;gap:38px}
.gv-ins h2,.gv-row h2{font-family:var(--serif);font-weight:400;font-size:27px;line-height:1.2;margin:0 0 10px;text-wrap:balance}
.gv-ins-text>p,.gv-row p{font-family:var(--serif);font-size:19px;line-height:1.55;margin:0 0 12px;color:var(--ink-2)}
.ins-fields{display:grid;gap:14px;max-width:360px;margin:20px 0 14px}
.gv-ins-text .ins-note{font-family:var(--sans);font-size:13.5px;line-height:1.5;color:var(--ink-3)}
.ins-page{justify-self:center;width:min(100%,310px);aspect-ratio:5.5/8.5;box-sizing:border-box;background:#FBF8F1;color:#2A211B;padding:22% 13% 0;text-align:center;box-shadow:0 1px 2px rgba(var(--shade),.25),0 22px 40px -22px rgba(var(--shade),.6);background-image:linear-gradient(90deg,rgba(0,0,0,.07),rgba(0,0,0,0) 9%)}
.ins-page p{margin:0;font-family:var(--serif);font-style:italic;font-size:15px;line-height:1.3;color:#3A3029}
.ins-page .ins-h{font-style:normal;font-size:12px;letter-spacing:.18em;text-transform:uppercase;margin-bottom:18%;color:#5A4E45}
.ins-page .ins-line{height:44px;margin:0 0 9%;border-bottom:1px solid #9A8E82;display:flex;align-items:flex-end;justify-content:center}
.ins-page .ins-line span{font-family:"Mill Card",var(--sans);font-style:normal;font-size:24px;line-height:1;color:#23323F;padding-bottom:5px;white-space:nowrap;transform:rotate(-1.5deg);transform-origin:left bottom}
.ins-date i{display:inline-block;width:1.6em;border-bottom:1px solid #9A8E82;vertical-align:baseline}
.gv-body{max-width:34rem;margin:0 auto;padding:60px 26px 30px}
.gv-row{margin:0 0 40px}
.gv-row a{color:var(--ink)}
.gv-body .buy{margin:6px 0 48px}
.gv-card{padding:60px 26px 76px;border-top:1px solid var(--rule)}

/* ---------- the card page ---------- */
.cd-top{max-width:34rem;margin:0 auto;padding:7vh 26px 72px;text-align:center}
.card-big{width:min(100%,460px);margin:0 auto 38px;animation:card-in 900ms cubic-bezier(.2,.7,.2,1) both}
@keyframes card-in{from{opacity:0;transform:translateY(14px) rotate(-3deg)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.card-big{animation:none}}
.cd-from{font-family:var(--serif);font-size:28px;line-height:1.2;margin:0 0 14px;text-wrap:balance}
.cd-what{font-family:var(--serif);font-size:19px;line-height:1.55;color:var(--ink-2);margin:0 auto 28px;max-width:26em}
.cd-leave{padding:60px 26px 76px;border-top:1px solid var(--rule)}

@media (min-width:900px){
.sp-nav{padding-left:40px;padding-right:40px}
.sp-hero{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:56px;align-items:center;text-align:left;padding:40px 40px 96px}
.sp-title{font-size:124px;margin:14px 0 28px}
.sp-hook{font-size:25px;margin:0;max-width:19em}
.card-hero{display:none}
.sp-cta{max-width:none;margin:38px 0 0;display:grid;grid-template-columns:300px auto;justify-content:start;align-items:center;column-gap:28px}
.sp-cta .sp-second{margin:0;grid-column:2;grid-row:1}
.sp-cta .sp-note{grid-column:1/-1;grid-row:2;margin-top:16px}
.sp-room .sp-acts{margin:0;max-width:300px}
.sp-art{position:relative;margin:0;width:340px;justify-self:end}
.card-over{display:block;position:absolute;width:330px;left:-150px;bottom:34px;transform:rotate(-3deg)}
.sp-excerpt{padding:84px 26px 90px}
.sp-day{font-size:44px}
.sp-ritual{padding:80px 26px 96px}
.sp-ritual h2{font-size:30px}
.sp-room{padding:92px 40px 96px}
.sp-room-in{grid-template-columns:250px 1fr;gap:64px;text-align:left;justify-items:start;align-items:center}
.sp-room .book{width:250px}
.sp-room h2{font-size:38px}
.sp-room p{font-size:21px}
.sp-room .sp-acts{margin:0;max-width:300px}
.leave-card{grid-template-columns:300px 1fr;gap:52px;text-align:left;justify-items:start;align-items:center;max-width:760px}
.card-sm{width:300px}
.lc-sign,.leave-card .sp-btn{margin-left:0}
.read .leave-card{grid-template-columns:1fr;text-align:center;justify-items:center}
.read .lc-sign,.read .leave-card .sp-btn{margin-left:auto}
.read .card-sm{width:280px}
.gv-top{grid-template-columns:360px 1fr;gap:72px;align-items:start;padding:48px 40px 88px}
.gv-book{position:sticky;top:32px}
.gv-book .book{width:360px}
.gv-pitch h1{font-size:50px;margin-top:14px}
.gv-pitch>p{font-size:21px;max-width:27em}
.gv-pitch>p.sp-eyebrow{font-size:12.5px}
.gv-ins{padding:84px 40px 88px}
.gv-ins-in{grid-template-columns:1fr 310px;gap:72px;align-items:center}
.gv-ins h2,.gv-row h2{font-size:30px}
.gv-body{padding-top:84px}
.cd-from{font-size:34px}
}
.end-ask p.sp-eyebrow{font-family:var(--sans);font-size:12.5px;line-height:1.4;color:var(--ink-3);margin:0 0 14px}
.cd-leave .card-sm{display:none}
.cd-leave .leave-card{grid-template-columns:1fr;text-align:center;justify-items:center}
.cd-leave .lc-sign,.cd-leave .leave-card .sp-btn{margin-left:auto;margin-right:auto}

/* The home, gift and card pages are always paper, whatever the device is set to. Night mode is for the reading pages. */
body.shop-page{--paper:#F4EEE3;--paper-2:#ECE5D8;--ink:#2A211B;--ink-2:#5A4E45;--ink-3:#7A6D61;--rule:rgba(42,33,27,.14);--ox:#6F2B27;--btn:#2A211B;--btn-ink:#F4EEE3;--shade:42,33,27;--read-paper:#FAF6EE;color-scheme:light;background:#F4EEE3;color:#2A211B}
body.shop-page .buy{background:#FAF6EE}
body.shop-page .foot{background:#F4EEE3}
html:has(body.shop-page){background:#F4EEE3;color-scheme:light}
@media (min-width:900px){.sp-hook{max-width:22em}.sp-hook span{text-wrap:normal}}

/* the photograph */
.gv-photo{margin:0 auto;max-width:1000px;padding:0 0 60px}
.gv-photo img,.sp-room-photo img{display:block;width:100%;height:auto}
.sp-room{padding-top:0}
.sp-room-photo{display:block;margin:0 -26px 44px}
.sp-room-in{grid-template-columns:1fr!important;text-align:center!important;justify-items:center!important;max-width:34rem}
.sp-room .sp-acts{margin:0 auto!important}
@media (min-width:900px){
.gv-photo{padding:0 40px 88px}
.gv-photo img{border-radius:3px}
.sp-room{padding-top:92px}
.sp-room-photo{max-width:760px;margin:0 auto 52px}
.sp-room-photo img{border-radius:3px;box-shadow:0 30px 70px -30px rgba(0,0,0,.9)}
}

/* paper grain, and more air in the hero */
body.shop-page{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .30  0 0 0 0 .22  0 0 0 0 .14  0 0 0 .5 -.11'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012' numOctaves='2' stitchTiles='stitch' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 .5  0 0 0 0 .38  0 0 0 0 .22  0 0 0 .22 -.07'/%3E%3C/filter%3E%3Crect width='600' height='600' filter='url(%23f)'/%3E%3C/svg%3E");background-size:300px 300px,600px 600px}
body.shop-page .foot{background:transparent}
.gv-ins{background-color:rgba(214,200,176,.32)}
@media (min-width:900px){
.sp-nav{max-width:1180px;padding-left:clamp(40px,6vw,72px);padding-right:clamp(40px,6vw,72px);padding-top:22px}
.sp-hero{max-width:1180px;grid-template-columns:minmax(0,1fr) 340px;gap:clamp(96px,11vw,150px);padding:56px clamp(40px,6vw,72px) 120px}
.sp-title{font-size:clamp(96px,9.4vw,124px)}
.sp-hook{font-size:clamp(20px,1.75vw,23px);max-width:none}
.sp-hook span{text-wrap:normal}
.card-over{width:310px;left:-128px;bottom:40px}
.sp-excerpt{border-top:0}
}

/* the card is a door: it goes to Day 1. No tap flash, no drag ghost, a small lift on a computer. */
.card-link{display:contents;-webkit-tap-highlight-color:transparent;outline:none}
.card-img{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;-webkit-tap-highlight-color:transparent;outline:0;border:0}
.card-link:focus-visible .card-img{outline:2px solid var(--ox);outline-offset:6px}
.card-big{animation-fill-mode:backwards}
@media (hover:hover) and (pointer:fine){
.card-link .card-img{transition:transform 320ms cubic-bezier(.2,.7,.2,1);cursor:pointer}
.card-link:hover .card-hero,.card-link:hover .card-big{transform:translateY(-5px) rotate(.8deg)}
.card-link:hover .card-over{transform:rotate(-1.2deg) translateY(-6px)}
}
@media (prefers-reduced-motion:reduce){.card-link .card-img{transition:none}}

/* spacing pass: one gutter, one rhythm */
:root{--gut:28px}
.sp-nav{padding-left:var(--gut);padding-right:var(--gut)}
.sp-hero{padding:26px var(--gut) 88px}
.sp-title{margin:14px 0 24px}
.card-hero{margin:34px auto 36px}
.sp-second{margin-top:24px}
.sp-art{margin-top:64px}
.sp-excerpt{padding:72px var(--gut) 80px}
.sp-day{margin-bottom:36px}
.sp-more{margin-top:40px}
.sp-ritual{padding:72px var(--gut) 88px}
.cal{margin-top:40px}
.sp-room{padding:0 var(--gut) 80px}
.sp-room-photo{margin:0 calc(var(--gut) * -1) 52px}
.sp-room .sp-spec{margin:22px 0 24px}
.sp-room .sp-note{margin-top:20px}
body.shop-page .foot{padding:44px var(--gut) calc(52px + env(safe-area-inset-bottom,0px));line-height:2.3}
.gv-top{padding:28px var(--gut) 72px;gap:38px}
.gv-pitch h1{margin:14px 0 20px}
.buy{margin-top:32px;padding:26px 24px 24px}
.gv-photo{padding-bottom:72px}
.gv-ins{padding:72px var(--gut) 80px}
.gv-ins-in{gap:48px}
.ins-fields{margin:24px 0 16px;gap:16px}
.gv-body{padding:72px var(--gut) 36px}
.gv-row{margin-bottom:48px}
.gv-body .buy{margin:8px 0 56px}
.gv-card,.cd-leave{padding:72px var(--gut) 88px}
.leave-card{gap:30px}
.lc-sign{margin:26px auto 14px}
.leave-card .lc-note{margin-top:14px}
.cd-top{padding:6vh var(--gut) 84px}
.card-big{margin-bottom:44px}
.cd-what{margin-bottom:32px}
.day-of{margin-bottom:26px}
.invite{margin-top:52px;padding-top:32px}
.end-paths{margin-top:72px}
.end-letters{margin-top:40px;line-height:1.6}
.bench-end{margin-top:80px;padding-top:64px}
@media (min-width:900px){
:root{--gut:clamp(40px,6vw,72px)}
.sp-hero{padding:64px var(--gut) 128px}
.sp-art{margin-top:0}
.sp-excerpt{padding:96px 26px 104px}
.sp-ritual{padding:96px 26px 112px}
.sp-room{padding:104px var(--gut) 112px}
.sp-room-photo{margin:0 auto 60px}
.gv-top{padding:56px var(--gut) 104px;gap:80px;max-width:1080px}
.gv-photo{padding:0 var(--gut) 104px;max-width:1080px}
.gv-ins{padding:104px var(--gut)}
.gv-ins-in{gap:88px}
.gv-body{padding:104px 26px 48px}
.gv-card,.cd-leave{padding:104px var(--gut) 120px}
.leave-card{gap:64px}
.cd-top{padding:9vh var(--gut) 112px}
body.shop-page .foot{padding:56px var(--gut) 64px}
}
.sp-note,.buy-note,.lc-note,.ins-note{text-wrap:balance}

/* The card's shadow is painted into the picture itself, so no browser can clip it into a box. */
.card-img{filter:none!important}
.card-hero{width:min(97%,372px);margin:12px auto 14px}
.card-sm{width:min(88%,304px);margin:-14px 0}
.card-big{width:min(calc(100% + 36px),518px);margin:0 auto 22px;position:relative;left:50%;translate:-50% 0}
@media (min-width:900px){
.card-over{width:348px;left:-147px;bottom:21px}
.card-sm{width:338px;margin:-18px}
.read .card-sm{width:316px}
}

/* notes acted on: one way forward at each step */
.m-br{display:inline}
.sp-hook span{text-wrap:normal}
.sp-more{margin:44px auto 0;max-width:320px;text-align:center}
.invite{margin:34px auto 0;padding:0;border:0;text-align:center}
.invite .btn-plain{font-family:var(--serif);font-size:18px;min-height:48px;padding:0 10px;color:var(--ink-2)}
.buy{padding:24px}
.buy .sp-btn{font-size:16.5px;padding:0 14px}
.gv-ins-in{display:grid;gap:36px;max-width:900px;margin:0 auto}
.gv-ins-ask h2{font-size:30px;margin:0 0 18px}
.gv-ins-ask .ins-fields{margin:0;max-width:360px}
.gv-ins-buy{max-width:360px;width:100%;justify-self:center;text-align:center}
.ins-hand{font-family:var(--serif);font-style:italic;font-size:19px;line-height:1.45;color:var(--ink-2);margin:0 0 20px}
.gv-ins-buy .ins-note{font-family:var(--sans);font-size:13px;line-height:1.5;color:var(--ink-3);margin:14px 0 0}
.cd-top .sp-btn.has-sub{min-height:64px}
@media (min-width:900px){
.m-br{display:none}
.gv-ins-in{grid-template-columns:1fr 310px;grid-template-areas:"ask page" "buy page";column-gap:88px;row-gap:36px;align-items:center}
.gv-ins-ask{grid-area:ask;align-self:end}
.ins-page{grid-area:page}
.gv-ins-buy{grid-area:buy;justify-self:start;text-align:left;align-self:start}
.gv-ins-ask h2{font-size:36px}
}
.sp-more a.sp-btn{color:var(--btn-ink);text-decoration:none;font-family:var(--sans);font-size:17px}
.lc-msg{margin-bottom:0}
.lc-sign textarea{width:100%;box-sizing:border-box;padding:12px 14px;border:1px solid var(--ink-3);border-radius:3px;background:transparent;color:var(--ink);font-family:var(--serif);font-size:18px;line-height:1.45;resize:vertical;min-height:104px;display:block}
.lc-sign textarea:focus{outline:2px solid var(--ox);outline-offset:1px;border-color:transparent}
.lc-msg+.lc-sign{margin-top:16px}
.foot .foot-quiet{font-size:13px;line-height:2;margin-top:6px}
.foot .foot-quiet a{margin:0 7px;opacity:.85}
.foot .small-print{margin-top:8px;font-size:12px;opacity:.6}
.foot a{white-space:nowrap;display:inline-block}

/* one reader's line, under the way in */
.sp-quote{margin:40px auto 0;max-width:21em;padding:0;text-align:center}
.sp-quote blockquote{margin:0;font-family:var(--serif);font-style:italic;font-size:18.5px;line-height:1.5;color:var(--ink);text-wrap:balance}
.sp-quote figcaption{margin-top:10px;font-family:var(--sans);font-size:12.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-3)}
.sp-btn-line{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--ink);margin-top:18px}
.buy-two .buy-note{margin-top:10px!important}
@media (min-width:900px){
.sp-quote{margin:44px 0 0;text-align:left;max-width:25em;padding-left:20px;border-left:2px solid var(--rule)}
.sp-quote blockquote{font-size:19px;text-wrap:pretty}
}
.buy-two .buy-what{margin-bottom:12px!important}
.buy-two .sp-btn{font-size:15.5px;padding:0 10px}

/* the buy box: one price, then each way to get it as a whole tappable row */
.buy{margin-top:34px;padding:0;border:0;background:#FBF7EF!important;border-radius:6px;max-width:440px;box-shadow:0 1px 2px rgba(42,33,27,.10),0 14px 34px -18px rgba(42,33,27,.38);overflow:hidden}
.buy-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:22px 24px 18px}
.buy .buy-what{font-family:var(--sans);font-size:12.5px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-3);margin:0!important}
.buy .buy-price{font-family:var(--serif);font-size:34px;line-height:1;font-variant-numeric:lining-nums;color:var(--ink);margin:0!important}
.ways{display:grid;gap:10px;padding:0 14px}
.way{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 16px 16px 18px;border-radius:5px;text-decoration:none;color:var(--ink);background:transparent;box-shadow:inset 0 0 0 1.5px rgba(42,33,27,.55);transition:transform 180ms ease,box-shadow 180ms ease,background-color 180ms ease,color 180ms ease;-webkit-tap-highlight-color:transparent}
.way-text{display:block;min-width:0}
.way-t{display:block;font-family:var(--serif);font-size:21px;line-height:1.2;letter-spacing:-.005em}
.way-s{display:block;margin-top:4px;font-family:var(--sans);font-size:13.5px;line-height:1.4;color:var(--ink-3)}
.way-go{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;border:1px solid currentColor;opacity:.85;transition:transform 220ms cubic-bezier(.2,.7,.2,1)}
.way-go svg{width:18px;height:18px}
.way-main{background:#2A211B;color:#F4EEE3;box-shadow:0 8px 18px -10px rgba(42,33,27,.7)}
.way-main .way-s{color:#CDBFA8}
.way:active{transform:translateY(1px)}
@media (hover:hover){
.way:hover{transform:translateY(-2px)}
.way:hover .way-go{transform:translateX(3px)}
.way:not(.way-main):hover{background:rgba(42,33,27,.05);box-shadow:inset 0 0 0 1.5px #2A211B}
.way-main:hover{box-shadow:0 14px 24px -12px rgba(42,33,27,.75)}
}
.buy .buy-try{margin:0!important;padding:16px 24px 20px;font-family:var(--serif);font-size:17px;color:var(--ink-2)}
.gv-body .buy{margin:8px 0 56px}
