:root {
  color-scheme: light;
  --ink: #30291f;
  --paper: #f5eddd;
  --dark: #262820;
  --accent: #85482d;
  --line: #bdab91;
  --display: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1.125rem/1.65 var(--display); }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
html { scroll-padding-top: 1.5rem; }
button, input, select { font: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(72rem, calc(100% - 3rem)); margin-inline: auto; }
.topbar { background: var(--dark); color: var(--paper); }
.topbar .wrap { min-height: 3.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; padding-block: .75rem; }
.topbar a, .jump, .eyebrow, .motion-toggle, .forthcoming, .chapter-number, form label, .form-status { font: 600 .79rem/1.45 system-ui, sans-serif; }
.topbar a { text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.cycle-header { padding: clamp(2.4rem, 5vw, 4.4rem) 0 clamp(1.7rem, 4vw, 3.1rem); text-align: center; }
.cycle-header h1 { margin-top: 0; }
.cycle-description { width: min(46rem, 100%); margin: 1.1rem auto 0; color: #564638; font-size: clamp(1.05rem, 2.1vw, 1.35rem); line-height: 1.5; }
.eyebrow { color: var(--accent); letter-spacing: .10em; text-transform: uppercase; }
h1 { font-size: clamp(3.1rem, 8vw, 6.7rem); line-height: .98; font-weight: normal; letter-spacing: -.055em; margin-block: .28em .17em; }
h2 { font-size: clamp(1.9rem, 4.3vw, 3.25rem); line-height: 1.1; letter-spacing: -.038em; font-weight: normal; }
.byline, .forthcoming { color: #685747; }
.worlds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.3rem); }
.world { display: block; background: var(--dark); color: #fff2da; text-decoration: none; }
.world--sea { background: #243b40; }
.world:hover h2 { text-decoration: underline; text-decoration-thickness: 1px; }
.world-caption { padding: 1rem clamp(1rem, 3vw, 1.8rem) 1.3rem; }
.world-caption h2 { display: flex; justify-content: space-between; gap: .6rem; align-items: baseline; }
.world-caption h2 span { font: 1.4rem system-ui, sans-serif; }
.world-caption p { margin-bottom: .45rem; color: #eee0c9; }
.scene { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: #6b604c; }
.scene-inner { position: absolute; inset-inline: 0; top: 50%; aspect-ratio: 3 / 2; transform: translateY(-50%); }
.scene img, .scene canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.scene canvas { pointer-events: none; }
.motion-row { display: flex; justify-content: flex-end; margin-top: .6rem; }
.motion-toggle { border: 0; background: transparent; color: var(--accent); cursor: pointer; min-height: 2.75rem; text-decoration: underline; text-underline-offset: .23em; padding-inline: .3rem; }
.cycle-story { display: grid; grid-template-columns: minmax(10rem, 1fr) minmax(0, 2.1fr); gap: 1.2rem 3rem; padding-block: clamp(2rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.prose p + p { margin-top: .9em; }
.book-header { display: grid; grid-template-columns: .9fr 1.2fr; align-items: center; gap: 1.5rem clamp(1rem, 4vw, 3.5rem); padding-top: clamp(1.4rem, 4vw, 3.5rem); }
.book-header h1 { font-size: clamp(2.9rem, 6vw, 5.9rem); }
.book-sea { --accent: #285867; --line: #b6aca0; }
.book-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1.15rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .65rem 1rem; color: #fff6e6; background: var(--accent); border: 1px solid var(--accent); text-decoration: none; cursor: pointer; font: 650 .88rem/1.3 system-ui, sans-serif; }
.button:hover { filter: brightness(.86); }
.button.secondary { background: transparent; color: var(--accent); }
.forthcoming { margin-top: 1rem; }
.jump { display: flex; flex-wrap: wrap; gap: .55rem 1.4rem; border-block: 1px solid var(--line); padding-block: 1rem; }
.reading { width: min(42rem, 100%); margin-inline: auto; }
.reading section { padding-block: clamp(1.8rem, 4vw, 3.2rem); }
.reading section + section { border-top: 1px solid var(--line); }
.reading h2 { margin-bottom: .65em; }
.chapter-number { color: var(--accent); margin-bottom: .45rem; }
.contents { padding-inline-start: 2.15rem; columns: 2; column-gap: 2.8rem; }
.contents li { padding-left: .15rem; break-inside: avoid; margin-bottom: .3rem; }
.intro-text { color: #564235; }
.preorder { background: #ebe0cb; padding: clamp(1.2rem, 4vw, 2.5rem); margin-bottom: 3.6rem; }
.preorder p { margin-top: .5rem; }
.preorder form { display: grid; grid-template-columns: 1fr 1fr auto; gap: .8rem; align-items: end; margin-top: 1.15rem; }
.preorder label { display: grid; gap: .35rem; }
.preorder input, .preorder select { width: 100%; min-height: 2.75rem; color: var(--ink); background: var(--paper); border: 1px solid #8e7b64; border-radius: 0; padding: .45rem .6rem; }
.form-status { color: #395133; }
.bottom { border-top: 1px solid var(--line); padding-block: 1.2rem 2rem; }
.bottom .wrap { display: flex; flex-wrap: wrap; gap: .7rem 1.4rem; justify-content: space-between; }
@media (max-width: 45rem) {
  .wrap { width: calc(100% - 2rem); }
  .worlds, .cycle-story, .book-header, .preorder form { grid-template-columns: 1fr; }
  .cycle-header { text-align: left; }
  .contents { columns: 1; }
}
