:root {
  color-scheme: dark;
  --ink: #141112;
  --surface: #1b1617;
  --paper: #f1e9df;
  --muted: #b8aaa5;
  --ember: #e8b095;
  --line: #403236;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --sans: "DM Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--paper); font: 1rem/1.75 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--ember); outline-offset: 6px; }
::selection { background: #e8b095; color: #141112; }
.skip-link { position: fixed; z-index: 30; top: 12px; left: 20px; padding: 12px 20px; background: var(--paper); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { position: absolute; z-index: 10; inset: 0 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 28px; min-height: 90px; padding: 20px clamp(24px, 4.5vw, 76px); }
.wordmark { margin-right: auto; font-size: .95rem; text-decoration: none; letter-spacing: .025em; color: var(--paper); }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
nav a, .header-cta { font-size: .875rem; text-decoration: none; color: #d0beb6; transition: color .2s; }
nav a:hover, .header-cta:hover { color: #fff6e9; }
.header-cta { border-bottom: 1px solid #99776a; }
.hero { isolation: isolate; position: relative; min-height: 880px; min-height: max(880px, 100svh); display: grid; place-items: center; overflow: hidden; background: #181114; }
.hero-image { position: absolute; z-index: -2; inset: 0; background: url("memory-atmosphere.png") center / cover no-repeat; }
.hero-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, var(--ink), transparent 27%, rgba(15,10,12,.12) 75%, rgba(15,10,12,.6)), radial-gradient(ellipse at center, rgba(15,10,12,.1), transparent 70%); }
.hero-content { width: min(900px, calc(100% - 48px)); padding: 112px 0 78px; text-align: center; }
.book-label { margin: 0 0 23px; font-size: .75rem; text-transform: uppercase; letter-spacing: .38em; color: #d6c1b5; }
h1 { margin: 0; font-family: var(--display); font-weight: 700; line-height: .96; text-transform: uppercase; }
h1 span { display: block; }
.title-the { margin: 0 0 7px; font-size: 2rem; letter-spacing: .3em; padding-left: .3em; font-weight: 600; }
.title-fire { font-size: clamp(8rem, 15vw, 13rem); letter-spacing: .035em; padding-left: .035em; color: var(--ember); }
.title-bury { margin-top: 6px; font-size: clamp(5rem, 9.4vw, 8.15rem); letter-spacing: .045em; padding-left: .045em; }
.byline { margin: 28px 0 0; text-transform: uppercase; letter-spacing: .26em; font-size: 1rem; color: #e1cec0; }
.hero-hook { margin: 36px auto 0; font-size: clamp(1.0625rem, 1.7vw, 1.3rem); line-height: 1.65; color: #e8dcd4; text-wrap: balance; }
.genre { margin: 21px 0 0; font-size: .8125rem; color: #c3afa4; letter-spacing: .06em; }
.hero-actions { margin-top: 29px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 11px 25px; font-size: .875rem; text-decoration: none; border-radius: 3px; transition: background .2s, border-color .2s; }
.button-primary { background: var(--ember); color: #24171a; border: 1px solid var(--ember); font-weight: 600; }
.button-primary:hover { background: #f5c5aa; }
.button-quiet { border: 1px solid #826b62; background: #19141680; color: #e2cec2; }
.button-quiet:hover { background: #37262a; border-color: var(--ember); }
.section-pad { padding: clamp(76px, 8vw, 120px) max(24px, 7vw); }
.kicker { margin: 0 0 20px; color: var(--ember); font-size: .75rem; font-weight: 500; letter-spacing: .17em; text-transform: uppercase; }
h2 { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(2.75rem, 4.8vw, 4.75rem); line-height: 1.08; letter-spacing: .005em; }
.novel { padding-top: clamp(64px, 7vw, 108px); }
.story-layout { max-width: 1120px; margin: auto; display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; }
.story-setting { margin: 29px 0 0; color: var(--muted); font-size: .875rem; }
.novel-copy { color: #c6b9b2; max-width: 640px; font-size: 1.0625rem; line-height: 1.85; }
.novel-copy p { margin: 0 0 23px; }
.novel-copy p:first-child { color: #e6dcd4; }
.novel-copy p:last-child { margin-bottom: 0; }
.memory-turn { max-width: 1080px; margin: clamp(76px, 9vw, 130px) auto 0; padding: 45px 0 0; position: relative; }
.memory-turn::before { position: absolute; top: 0; left: 0; content: ""; width: 64px; height: 2px; background: var(--ember); }
.memory-turn p { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(2.125rem, 4vw, 3.8rem); line-height: 1.28; color: #c9bab2; text-wrap: pretty; }
.memory-turn em { font-style: normal; color: var(--ember); }
.book-context { max-width: 1080px; margin: 64px auto 0; padding-top: 36px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.book-context > p { margin: 0; max-width: 425px; font-size: 1.125rem; color: #d9c9bf; line-height: 1.8; }
.details { margin: 0; }
.details div { display: grid; grid-template-columns: 105px 1fr; gap: 14px; padding: 9px 0; }
.details dt { font-size: .875rem; color: var(--muted); }
.details dd { margin: 0; font-size: .875rem; color: #eaded6; }
.story-layout > *, .author-inner > *, .book-context > * { min-width: 0; }
.details dd { overflow-wrap: anywhere; }
.author { background: #20191c; border-top: 1px solid #35282c; }
.author-inner { max-width: 1120px; margin: auto; display: grid; grid-template-columns: .78fr 1.22fr; align-items: start; gap: 70px; }
.author h2 { font-size: clamp(2.75rem, 4vw, 4rem); }
.author-copy { max-width: 610px; font-size: 1.0625rem; color: #c6b9b2; line-height: 1.85; }
.author-copy p { margin: 0 0 22px; }
.author-copy p:last-child { margin-bottom: 0; }
footer { padding: 78px max(24px, 7vw) 30px; background: #22171a; border-top: 1px solid #3e2b31; }
.contact-main, .footer-base { max-width: 1120px; margin: auto; }
footer h2 { font-size: clamp(2.6rem, 4.4vw, 4.5rem); color: #e9cfbd; }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; margin-top: 27px; }
.contact-email, .contact-phone { display: inline-block; padding: 8px 0; color: var(--ember); overflow-wrap: anywhere; }
.contact-email { font-size: clamp(1.1rem, 2.5vw, 1.8rem); }
.contact-phone { font-size: 1.1rem; }
.contact-email:hover, .contact-phone:hover { color: #f5c5aa; }
.contact-materials { max-width: 510px; margin: 19px 0 0; color: #bfa79c; font-size: 1rem; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 26px; margin-top: 78px; border-top: 1px solid #473036; font-size: .8125rem; color: #baa39a; }
.footer-base a { font-size: .875rem; text-decoration: none; }
.footer-title { text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; }
@media (max-width: 900px) {
  .site-header { gap: 22px; }
  nav { gap: 22px; }
  .story-layout, .author-inner { gap: 40px; }
  .book-context { gap: 35px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 30px; }
  .site-header { min-height: 74px; padding: 18px 22px; gap: 16px; }
  .wordmark { font-size: .875rem; }
  .header-cta { display: none; }
  nav { gap: 16px; }
  .hero { min-height: max(760px, 100svh); }
  .hero-content { padding: 96px 0 60px; width: calc(100% - 40px); }
  .hero-image { background-position: 54% center; }
  .book-label { margin-bottom: 23px; }
  .title-the { font-size: 1.5rem; }
  .title-fire { font-size: min(12rem, calc(28vw + 1rem)); }
  .title-bury { font-size: min(7.5rem, calc(18vw + .5rem)); }
  .byline { font-size: .875rem; margin-top: 23px; letter-spacing: .22em; }
  .hero-hook { margin-top: 32px; font-size: 1.0625rem; }
  .genre { max-width: 265px; margin: 21px auto 0; }
  .hero-actions { gap: 10px; }
  .button { padding: 11px 16px; }
  .story-layout, .book-context, .author-inner { grid-template-columns: 1fr; gap: 30px; }
  .story-setting { margin-top: 22px; }
  .novel-copy { font-size: 1rem; }
  .memory-turn { margin-top: 66px; padding-top: 32px; }
  .memory-turn p { font-size: clamp(2rem, 6.5vw, 2.8rem); }
  .book-context { margin-top: 40px; padding-top: 28px; }
  .book-context > p { font-size: 1rem; }
  .footer-title { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
