:root {
  --ink: #0e1914;
  --ink-2: #16251d;
  --cream: #efe9dc;
  --cream-ink: #1d2620;
  --copper: #a85f33;
  --copper-hi: #c9783f;
  --moss: #6c7a5f;
  --serif: "Cormorant Garamond", Georgia, serif;
  --body: "Lora", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--ink); color: var(--cream); font: 400 1rem/1.7 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; position: relative; z-index: 1; }

/* header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 14px clamp(16px, 5vw, 64px); background: linear-gradient(rgba(10,18,14,.85), rgba(10,18,14,0)); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); }
.brand-mark { width: 30px; color: var(--cream); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font: 500 1.3rem var(--serif); letter-spacing: .12em; text-transform: uppercase; }
.brand-sub { font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--copper-hi); }
.nav { display: flex; align-items: center; gap: 28px; font-size: .85rem; }
.nav a { text-decoration: none; }
.nav a:not(.btn):hover { color: var(--copper-hi); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--cream); margin: 5px 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; font: 500 .85rem var(--body); letter-spacing: .02em; text-decoration: none; border: 1px solid var(--copper); border-radius: 2px; transition: background .2s, color .2s, border-color .2s; }
.btn-solid { background: var(--copper); color: #fff; }
.btn-solid:hover { background: var(--copper-hi); border-color: var(--copper-hi); }
.btn-outline { color: var(--cream); background: rgba(10,18,14,.35); }
.btn-outline:hover { background: var(--copper); }
.btn-ghost { color: var(--copper); background: transparent; }
.btn-ghost:hover { background: var(--copper); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: .8rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
:focus-visible { outline: 2px solid var(--copper-hi); outline-offset: 3px; }

/* hero */
.hero { position: relative; min-height: min(92vh, 760px); display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url("assets/img/hero-trail.jpg") center 60% / cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,16,12,.88) 0%, rgba(8,16,12,.55) 45%, rgba(8,16,12,.15) 100%), linear-gradient(0deg, rgba(14,25,20,1) 0%, rgba(14,25,20,0) 25%); }
.hero-inner { position: relative; padding: 120px clamp(16px, 5vw, 64px) 100px; max-width: 720px; }
.eyebrow, .kicker { font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: var(--copper-hi); margin: 0 0 18px; }
.hero h1 { font-size: clamp(3rem, 8vw, 5.4rem); }
.hero .eyebrow { color: #e9a672; text-shadow: 0 1px 8px rgba(0,0,0,.9); }
.hero-tags { letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; margin: 18px 0 0; opacity: .9; }

/* books (cream) */
.books { position: relative; background: var(--cream); color: var(--cream-ink); padding: 90px 0 100px; overflow: hidden; }
.trees { position: absolute; top: 0; height: 100%; width: auto; max-width: none; -webkit-mask-image: linear-gradient(90deg,#000 30%,transparent 72%); mask-image: linear-gradient(90deg,#000 30%,transparent 72%); opacity: .75; pointer-events: none; object-fit: cover; object-position: top left; }
.trees-l { left: -120px; }
.trees-r { right: -120px; object-position: top right; -webkit-mask-image: linear-gradient(270deg,#000 30%,transparent 72%); mask-image: linear-gradient(270deg,#000 30%,transparent 72%); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.rule { width: 36px; border: 0; border-top: 2px solid var(--copper); margin: 18px auto; }
.section-head p { margin: 0; font-size: 1.05rem; }
.book { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; padding: 36px 0; }
.book + .book { border-top: 1px solid rgba(29,38,32,.15); }
.book-flip { grid-template-columns: 1fr minmax(200px, 300px); }
.book-flip .cover { order: 2; }
.cover { width: 100%; height: auto; box-shadow: 0 18px 40px -14px rgba(0,0,0,.55); }
.books .kicker { color: #7a3b1a; font-weight: 600; font-size: .78rem; }
.book h3 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 14px; }
.book .kicker { margin-bottom: 8px; }
.book-body p { margin: 0 0 .85em; font-size: .95rem; }
.text-link { color: var(--copper); }
.series-note { text-align: center; max-width: 620px; margin: 28px auto 0; padding-top: 40px; border-top: 1px solid rgba(29,38,32,.15); }
.series-note h3 { font-size: 2rem; margin-bottom: 10px; }
.series-note p { margin: 0 0 .7em; font-size: .95rem; }
.series-note .coming { margin: 0; color: var(--copper); letter-spacing: .04em; }

/* about (dark) */
.about { position: relative; padding: 110px 0; overflow: hidden; }
.about-bg { position: absolute; inset: 0; background: url("assets/img/mossy-rock.jpg") center / cover; }
.about-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,18,14,.94) 0%, rgba(10,18,14,.86) 55%, rgba(10,18,14,.45) 100%); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.about h2 { font-size: clamp(2.6rem, 6vw, 4rem); }
.aka { font: 400 1.2rem var(--serif); color: rgba(239,233,220,.8); margin: 6px 0 28px; }
.about-copy p { font-size: .95rem; margin: 0 0 1.1em; }
.find a { color: var(--cream); text-decoration-color: var(--copper); text-underline-offset: 4px; }
.find a:hover { color: var(--copper-hi); }
.about-art { display: flex; justify-content: center; align-items: flex-end; }
.about-art img { width: min(100%, 420px); height: auto; filter: drop-shadow(0 14px 24px rgba(0,0,0,.5)); }

/* trail */
.trail { position: relative; text-align: center; padding: 90px 0 110px; background: var(--ink-2); overflow: hidden; }
.trail-bg { position: absolute; inset: 0; background: url("assets/img/mist-forest.jpg") center bottom / cover; opacity: .38; }
.trail-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--ink-2), rgba(22,37,29,.2) 60%, var(--ink)); }
.trail h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 40px; }
.trail-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 40px 64px; margin-bottom: 40px; text-align: left; }
.trail-item { display: flex; gap: 16px; align-items: center; }
.trail-item svg { width: 34px; flex: none; color: var(--copper-hi); }
.trail-item strong { display: block; font: 500 1.2rem var(--serif); }
.trail-item span { font-size: .85rem; opacity: .8; }

/* footer */
.site-footer { background: var(--ink); padding: 40px clamp(16px, 5vw, 64px) 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: .78rem; }
.foot-nav a { text-decoration: none; opacity: .85; }
.foot-nav a:hover { color: var(--copper-hi); opacity: 1; }
.copy { flex-basis: 100%; text-align: right; margin: 0; font-size: .72rem; opacity: .5; }

/* mobile */
@media (max-width: 820px) {
  .trail-grid { display: grid; justify-content: center; gap: 28px; }
  .hero-bg::after { background: linear-gradient(rgba(8,16,12,.72), rgba(8,16,12,.62) 60%, rgba(14,25,20,1) 100%); }
  .hero h1, .hero-tags { text-shadow: 0 2px 12px rgba(0,0,0,.7); }
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 18px; padding: 20px clamp(16px, 5vw, 64px) 28px; background: rgba(10,18,14,.97); display: none; }
  .nav.open { display: flex; }
  .book, .book-flip { grid-template-columns: 1fr; }
  .book-flip .cover { order: 0; }
  .cover { max-width: 280px; margin-inline: auto; }
  .trees { opacity: .35; }
  .about-grid { grid-template-columns: 1fr; }
  .about-art img { width: min(70%, 300px); }
  .copy { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
