  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --paper: #faf7f0;
    --paper-warm: #fff9e8;
    --ink: #2a2a2a;
    --ink-light: #5a5a5a;
    --accent: #7a5c3a;
    --accent-soft: #c8a97a;
    --yellow: #fff9c4;
    --green-soft: #e8f4e8;
    --font-hand: 'Caveat', cursive;
    --font-body: 'Lora', Georgia, serif;
  }

  html { scroll-behavior: smooth; }

  body {
    background: #ede9df;
    color: var(--ink);
    font-family: var(--font-body);
    min-height: 100vh;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  }

  /* ── SVG DEFS ── */
  .svg-defs { position: absolute; width: 0; height: 0; pointer-events: none; }

  /* ── NAV ── */
  nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250,247,240,0.95);
    backdrop-filter: blur(6px);
    border-bottom: 1.5px dashed rgba(42,42,42,0.25);
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-logo {
    font-family: var(--font-hand);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
  }

  .nav-links {
    display: flex;
    gap: 2rem;
  }

  .nav-links a {
    font-family: var(--font-hand);
    font-size: 1.1rem;
    color: var(--ink-light);
    text-decoration: none;
    transition: color 0.2s;
  }

  .nav-links a:hover { color: var(--accent); }

  /* ── HERO ── */
  .hero {
    text-align: center;
    padding: 5rem 2rem 4rem;
    max-width: 700px;
    margin: 0 auto;
  }

  .hero-eyebrow {
    font-family: var(--font-hand);
    font-size: 1.1rem;
    color: var(--accent-soft);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
  }

  .hero h1 span { display: block; }

  .hero h1 {
    font-family: var(--font-hand);
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: 1.2rem;
  }

  .hero-sub {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--ink-light);
    line-height: 1.7;
    margin-bottom: 2.5rem;
  }

  /* ── WOBBLY CARD ── */
  .sk-card {
    position: relative;
    display: flex;
    align-items: stretch;
  }

  .sk-card svg.bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .sk-card-inner {
    position: relative;
    z-index: 1;
    padding: 2rem;
    width: 100%;
  }

  /* ── BUTTON ── */
  .sk-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
  }

  .sk-btn svg { position: absolute; inset: 0; width: 100%; height: 100%; }
  .sk-btn-text {
    position: relative;
    z-index: 1;
    font-family: var(--font-hand);
    font-weight: 600;
    pointer-events: none;
  }

  /* ── DIVIDER ── */
  .wave-divider {
    width: 100%;
    line-height: 0;
    overflow: hidden;
    opacity: 0.4;
    margin: 1rem 0;
  }

  /* ── SECTION LAYOUT ── */
  section {
    padding: 4rem 1.5rem;
    max-width: 900px;
    margin: 0 auto;
  }

  section h2 {
    font-family: var(--font-hand);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: var(--ink);
    text-align: center;
  }

  /* ── ABOUT ── */
  .about-card {
    position: relative;
    min-height: 160px;
  }

  .about-card svg.bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .about-inner {
    position: relative;
    z-index: 1;
    padding: 2.5rem;
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--ink-light);
    font-style: italic;
  }

  /* ── POEMS ── */
  .poems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
  }

  .poem-card {
    position: relative;
    min-height: 280px;
  }

  .poem-card svg.bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .poem-inner {
    position: relative;
    z-index: 1;
    padding: 2rem;
  }

  .poem-title {
    font-family: var(--font-hand);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--ink);
  }

  .poem-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 2;
    color: var(--ink-light);
    white-space: pre-line;
  }

  .poem-stanza {
    margin-bottom: 0.5em;
  }

  /* ── BOOK ── */
  .book-section {
    padding: 4rem 1.5rem;
    max-width: 900px;
    margin: 0 auto;
  }

  .book-card {
    position: relative;
    min-height: 300px;
  }

  .book-card svg.bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .book-inner {
    position: relative;
    z-index: 1;
    padding: 2.5rem;
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .book-cover {
    width: 160px;
    flex-shrink: 0;
    position: relative;
  }

  .book-cover img {
    width: 100%;
    border-radius: 2px;
    display: block;
    box-shadow: 4px 6px 20px rgba(0,0,0,0.22);
    filter: url(#sk-db);
  }

  .book-details {
    flex: 1;
    min-width: 220px;
  }

  .book-title {
    font-family: var(--font-hand);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--ink);
  }

  .book-subtitle {
    font-family: var(--font-hand);
    font-size: 1.1rem;
    color: var(--accent-soft);
    margin-bottom: 1.2rem;
  }

  .book-desc {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--ink-light);
    margin-bottom: 1.5rem;
  }

  .book-price {
    font-family: var(--font-hand);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.2rem;
  }

  /* ── FOOTER ── */
  footer {
    text-align: center;
    padding: 3rem 2rem 2rem;
    border-top: 1.5px dashed rgba(42,42,42,0.2);
    font-family: var(--font-hand);
    color: var(--ink-light);
    font-size: 1rem;
  }

  footer a {
    color: var(--accent);
    text-decoration: none;
  }

  footer a:hover { text-decoration: underline; }

  .ft-logo {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--ink);
  }

  .ft-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 600px) {
    .nav-links { display: none; }
    .book-inner { flex-direction: column; align-items: center; }
    .book-cover { width: 130px; }
    .poems-grid { grid-template-columns: 1fr; }
  }

/* ═══ ADDED: individual poem pages ═══ */
.poem-title a { color: inherit; text-decoration: none; border-bottom: 1.5px dashed rgba(122,92,58,0.4); }
.poem-title a:hover { color: var(--accent); }

.poem-more {
  display: inline-block;
  margin-top: 1.4rem;
  font-family: var(--font-hand);
  font-size: 1.15rem;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1.5px dashed var(--accent-soft);
}
.poem-more:hover { color: var(--ink); border-bottom-style: solid; }

.breadcrumb {
  font-family: var(--font-hand);
  font-size: 1.05rem;
  color: var(--ink-light);
  text-align: center;
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.poem-page h1 {
  font-family: var(--font-hand);
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  text-align: center;
  margin-bottom: 0.4rem;
}
.poem-page .poem-meta {
  text-align: center;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-light);
  margin-bottom: 2.5rem;
}
.poem-single { position: relative; min-height: 320px; }
.poem-single svg.bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.poem-single .poem-inner { position: relative; z-index: 1; padding: 3rem 2.5rem; }
.poem-single .poem-text { font-size: 1.05rem; }

.poem-pager {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2.5rem;
  font-family: var(--font-hand);
  font-size: 1.15rem;
}
.poem-pager a { color: var(--accent); text-decoration: none; border-bottom: 1.5px dashed var(--accent-soft); }
.poem-pager a:hover { color: var(--ink); }
.poem-pager span { opacity: 0.35; }

.buy-strip {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1.5px dashed rgba(42,42,42,0.2);
  font-family: var(--font-body);
  color: var(--ink-light);
  line-height: 1.9;
}
.buy-strip a { color: var(--accent); font-weight: 600; }

@media (max-width: 600px) {
  .poem-single .poem-inner { padding: 2rem 1.4rem; }
  .poem-pager { flex-direction: column; align-items: center; text-align: center; }
}

/* margin rule drawn in CSS so it stays a fixed distance from the edge */
.poem-single.has-rule .poem-inner { padding-left: 4.5rem; }
.poem-single.has-rule .poem-inner::before {
  content: "";
  position: absolute;
  left: 3rem;
  top: 1.2rem;
  bottom: 1.2rem;
  width: 1.5px;
  background: #e85d75;
  opacity: 0.25;
}

@media (max-width: 600px) {
  .poem-single.has-rule .poem-inner { padding-left: 3rem; }
  .poem-single.has-rule .poem-inner::before { left: 1.8rem; }
}

/* same margin rule on the homepage cards */
.poem-card.has-rule .poem-inner { padding-left: 3.2rem; }
.poem-card.has-rule .poem-inner::before {
  content: "";
  position: absolute;
  left: 1.6rem;
  top: 1rem;
  bottom: 1rem;
  width: 1.5px;
  background: #e85d75;
  opacity: 0.25;
}
