/* Gardenbure Books — official Gardenbure colors
   Green #0F6B21  Orange #F59821  Gray #A4A4A4  Black #000 */
:root {
  --green: #0f6b21;
  --green-deep: #0a3f14;
  --green-ink: #08240c;
  --orange: #f59821;
  --orange-deep: #c47512;
  --gray: #a4a4a4;
  --gray-dark: #6b6b6b;
  --ink: #161616;
  --muted: #5a5a5a;
  --cream: #f7f3ea;
  --cream-2: #efe8d8;
  --paper: #fffdf8;
  --line: rgba(15, 107, 33, 0.18);
  --header: #0b120d;
  --max: 1120px;
  --narrow: 720px;
  --radius: 2px;
  --shadow: 0 18px 40px rgba(11, 18, 13, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 0.18em; }
a:hover { color: var(--orange-deep); }
h1, h2, h3, .serif { font-family: "Cormorant Garamond", "Times New Roman", serif; font-weight: 600; letter-spacing: -0.01em; }
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--header); color: #fff; padding: 0.6rem 1rem; z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* Header */
.site-header {
  background: var(--header);
  color: var(--cream);
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(245, 152, 33, 0.28);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: flex; align-items: center; gap: 0.85rem;
  text-decoration: none; color: inherit;
}
.logo img { width: 132px; height: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong {
  font-family: Montserrat, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}
.logo-text span {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
}
.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--orange); }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--cream);
  width: 42px; height: 42px;
  border-radius: 2px;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: currentColor; position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* Hero */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(245,152,33,0.12), transparent 55%),
    linear-gradient(180deg, #101811 0%, #0b120d 100%);
  color: var(--cream);
  padding: 4.5rem 1.25rem 4.2rem;
  text-align: center;
}
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
  margin: 0 0 1.2rem;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.12;
  margin: 0 auto 1.2rem;
  max-width: 18ch;
  font-weight: 500;
  font-style: italic;
  color: #fff;
}
.hero .lede {
  max-width: 40rem;
  margin: 0 auto 2rem;
  color: #d9d3c4;
  font-size: 1.05rem;
}
.hero-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.35rem;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--orange); color: #1a1206; }
.btn-primary:hover { background: #ffb14a; color: #1a1206; }
.btn-secondary { background: transparent; color: var(--cream); border-color: rgba(247,243,234,0.35); }
.btn-secondary:hover { border-color: var(--orange); color: var(--orange); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-deep); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.65rem; }

/* Layout */
.section { padding: 4.2rem 1.25rem; }
.section-tight { padding: 3rem 1.25rem; }
.wrap { max-width: var(--max); margin: 0 auto; }
.narrow { max-width: var(--narrow); margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 2.4rem; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0.2rem 0 0.6rem; }
.section-head p { margin: 0 auto; max-width: 36rem; color: var(--muted); }

/* Book grid */
.book-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.book-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.15rem 1.15rem 1.4rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.book-card a.cover-link { text-decoration: none; }
.cover-frame {
  background: #ece6d8;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cover-frame img { width: 100%; height: 100%; object-fit: cover; }
.book-card h3 {
  font-size: 1.55rem;
  line-height: 1.2;
  margin: 1.15rem 0 0.25rem;
}
.book-card h3 a { color: inherit; text-decoration: none; }
.book-card h3 a:hover { color: var(--green); }
.book-card .subtitle { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 1.15rem; color: var(--muted); margin: 0 0 0.6rem; }
.pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border: 1px solid currentColor;
  margin-bottom: 0.4rem;
}
.pill-live { color: var(--green); }
.pill-soon { color: var(--orange-deep); }
.book-card .blurb { color: var(--muted); font-size: 0.98rem; flex: 1; margin: 0 0 1rem; }
.book-card .btn { width: 100%; }

/* Book page */
.book-hero {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 3rem;
  align-items: start;
  padding: 3.5rem 1.25rem 3rem;
  max-width: var(--max);
  margin: 0 auto;
}
.book-cover-col .cover-frame { box-shadow: var(--shadow); }
.book-meta h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.12; margin: 0.3rem 0 0.4rem; }
.book-meta .subtitle { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 1.45rem; margin: 0 0 1rem; color: var(--muted); }
.hook {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.3;
  margin: 0 0 1.2rem;
  color: var(--green-deep);
}
.prose p { margin: 0 0 1rem; }
.prose h2 { font-size: 2rem; margin: 2.2rem 0 0.8rem; }
.meta-list {
  list-style: none; padding: 0; margin: 1.2rem 0 1.4rem;
  font-size: 0.95rem; color: var(--muted);
}
.meta-list li { margin: 0.2rem 0; }
.meta-list strong { color: var(--ink); font-weight: 600; }
.note { font-size: 0.92rem; color: var(--muted); margin-top: 0.8rem; }

/* About / contact */
.page-hero { padding: 3.4rem 1.25rem 0; text-align: center; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 0.2rem 0 0.6rem; }
.page-hero p { margin: 0 auto; max-width: 36rem; color: var(--muted); }
.prose-block { background: var(--paper); border: 1px solid var(--line); padding: 2rem 2rem 2.2rem; }

/* Form */
form { display: grid; gap: 1rem; }
label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.35rem; }
input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  border-radius: var(--radius);
}
input:focus, textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
textarea { min-height: 160px; resize: vertical; }
.check { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.95rem; text-transform: none; letter-spacing: 0; font-weight: 400; }
.check input { margin-top: 0.3rem; }
.form-note { font-size: 0.88rem; color: var(--muted); margin: 0; }
.mail-direct { margin-top: 1.4rem; }

/* Footer */
.site-footer {
  background: var(--header);
  color: #cfc8b8;
  padding: 2.4rem 1.25rem;
  margin-top: 2rem;
  font-size: 0.92rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.copyright { color: var(--gray); font-size: 0.82rem; }

/* 404 */
.notfound { text-align: center; padding: 6rem 1.25rem; }
.notfound h1 { font-size: 3.2rem; margin-bottom: 0.6rem; }

@media (max-width: 860px) {
  .book-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .book-hero { grid-template-columns: 1fr; gap: 1.6rem; }
  .book-cover-col { max-width: 320px; margin: 0 auto; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--header);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.6rem 1.25rem 1.2rem;
    gap: 0.9rem;
    border-bottom: 1px solid rgba(245,152,33,0.28);
  }
  .nav.is-open { display: flex; }
  .logo img { width: 110px; }
  .hero { padding: 3.2rem 1.15rem 3rem; }
}
@media (min-width: 861px) and (max-width: 980px) {
  .book-grid { grid-template-columns: 1fr 1fr; }
  .book-grid .book-card:last-child { grid-column: 1 / -1; max-width: 48%; justify-self: center; }
}

/* Featured hero (home) */
.hero-feature { text-align: left; }
.hero-feature-inner { max-width: 62rem; margin: 0 auto; display: grid; grid-template-columns: 17rem 1fr; gap: 3rem; align-items: center; }
.hero-cover img { width: 100%; height: auto; display: block; border-radius: 6px; box-shadow: 0 18px 50px rgba(0,0,0,0.55); }
.hero-feature h1 { max-width: 14ch; margin-left: 0; margin-right: 0; }
.hero-feature .hero-sub { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 1.5rem; color: var(--orange); margin: -0.4rem 0 1rem; }
.hero-feature .lede { margin-left: 0; margin-right: 0; }
.hero-feature .hero-actions { justify-content: flex-start; }
@media (max-width: 760px) {
  .hero-feature { text-align: center; }
  .hero-feature-inner { grid-template-columns: 1fr; gap: 1.6rem; justify-items: center; }
  .hero-cover { width: 11rem; }
  .hero-feature .hero-actions { justify-content: center; }
  .hero-feature h1 { margin-left: auto; margin-right: auto; }
}

.logo-wordmark {
  font-family: Montserrat, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
}
