:root {
  --paper: #f6fbfb;
  --ink: #16323a;
  --ink-soft: #3a5a62;
  --teal: #176874;
  --teal-deep: #0f515b;
  --aqua: #7ecad4;
  --seafoam: #d8f1ef;
  --sand: #f4ead7;
  --coral: #d56b5c;
  --white: #ffffff;
  --line: rgba(22, 50, 58, 0.12);
  --shadow: 0 18px 40px rgba(22, 50, 58, 0.08);
  --radius: 22px;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 500px at 10% -10%, #fff8e8 0%, transparent 55%),
    radial-gradient(900px 420px at 110% 8%, #cfeeee 0%, transparent 50%),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); }
a:hover { color: var(--coral); }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 251, 251, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0;
}
.brand { text-decoration: none; color: inherit; }
.brand-name { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.01em; }
.brand-imprint { display: block; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--ink-soft); }
.nav a:hover { color: var(--teal-deep); }
.hero { padding: 3.2rem 0 2.2rem; }
.eyebrow {
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal); font-weight: 600; margin: 0 0 0.7rem;
}
h1 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.12; margin: 0 0 1rem; letter-spacing: -0.02em;
}
.bio { max-width: 42rem; font-size: 1.14rem; color: var(--ink-soft); margin: 0; }
.section { padding: 1.5rem 0 0.5rem; }
.section h2 {
  font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 600; margin: 0 0 0.35rem;
}
.section-lead { color: var(--ink-soft); margin: 0 0 1.4rem; max-width: 40rem; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
  padding-bottom: 1.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex; flex-direction: column;
  height: 100%;
  text-decoration: none; color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px rgba(22,50,58,0.12); color: inherit; }
.cover-wrap {
  background: linear-gradient(180deg, var(--seafoam), var(--sand));
  aspect-ratio: 3 / 4;
  display: grid; place-items: center;
  padding: 1rem 1rem 0.4rem;
}
.cover-wrap img {
  width: auto; height: 100%; max-width: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(22,50,58,0.18);
}
.card-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.kicker { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.card h3 { font-family: var(--serif); font-size: 1.28rem; line-height: 1.25; margin: 0; font-weight: 600; }
.subtitle { margin: 0; color: var(--ink-soft); font-style: italic; }
.excerpt { margin: 0.2rem 0 0; color: var(--ink-soft); font-size: 0.98rem; flex: 1; }
.isbn { margin: 0.15rem 0 0; font-size: 0.82rem; color: var(--ink-soft); }
.badge {
  display: inline-flex; align-items: center;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0.28rem 0.55rem; border-radius: 999px;
  width: max-content;
}
.badge-live { background: var(--seafoam); color: var(--teal-deep); }
.badge-soon { background: var(--sand); color: #6a5430; }
.badge-oop { background: #ece7e2; color: #5c5248; }
.btns { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.7rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; font-weight: 650; font-size: 0.92rem;
  padding: 0.55rem 0.85rem; border-radius: 999px;
  border: 1.5px solid var(--teal);
  min-height: 2.5rem;
}
.btn-us { background: var(--teal); color: #fff; }
.btn-us:hover { background: var(--teal-deep); color: #fff; }
.btn-au { background: transparent; color: var(--teal-deep); }
.btn-au:hover { background: var(--seafoam); color: var(--teal-deep); }
.book-page { padding: 2rem 0 4rem; }
.book-layout {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 2.2rem; align-items: start;
}
.book-cover {
  background: linear-gradient(180deg, var(--seafoam), var(--sand));
  border-radius: 24px; padding: 1.4rem; box-shadow: var(--shadow);
}
.book-cover img { margin: 0 auto; border-radius: 6px; box-shadow: 0 16px 32px rgba(22,50,58,0.2); }
.book-copy h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.book-copy p { max-width: 40rem; }
.crumb { font-size: 0.92rem; margin: 0 0 1rem; }
.crumb a { text-decoration: none; }
.site-footer {
  margin-top: 2rem; padding: 2.4rem 0 2.8rem;
  border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 0.95rem;
}
.site-footer p { margin: 0.25rem 0; }
.skip {
  position: absolute; left: -999px; top: 0; background: var(--teal); color: #fff; padding: 0.5rem 1rem;
}
.skip:focus { left: 0.5rem; top: 0.5rem; z-index: 40; }
@media (max-width: 800px) {
  .book-layout { grid-template-columns: 1fr; }
  .book-cover { max-width: 360px; }
  .nav { display: none; }
}
@media (max-width: 560px) {
  .hero { padding-top: 2.2rem; }
  .btns .btn { flex: 1 1 100%; }
}
.card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; flex: 1; }
.card-link:hover { color: inherit; }
.card-actions { padding: 0 1.1rem 1.15rem; }
a.card:hover { transform: none; }
.card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px rgba(22,50,58,0.12); }
.btn { font-weight: 600; }
