/* Abby Bellamy — author site styles.
   Colors and type come from the Abby Bellamy brand board. This is a standalone
   look, separate from the North Hollow Press styles; only the book covers
   (../css/books.css) are shared. */

:root {
  --forest: #29483F;
  --blush: #D9A9A2;
  --blush-soft: #F1DDD8;
  --blush-deep: #C4867D;
  --cream: #F7F1E8;
  --sand: #EDE5DA;
  --camel: #B99C78;
  --ink: #242622;
  --muted: #4E534F;
  --line: #DCCFBF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', system-ui, sans-serif;
  --font-script: 'Allura', cursive;

  --wrap: 1160px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
}
img { max-width: 100%; display: block; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

h1, h2, h3 {
  font-family: var(--font-display); font-weight: 500; line-height: 1.1;
  color: var(--forest); margin: 0 0 0.5em; text-wrap: balance;
}
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  margin: 0 0 14px; color: var(--ink);
}
.script { font-family: var(--font-script); font-weight: 400; line-height: 1; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--forest); color: var(--cream); padding: 8px 16px; z-index: 10;
}
.skip-link:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--cream);
  position: sticky; top: 0; z-index: 5;
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 80px; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; letter-spacing: -0.01em;
  color: var(--forest); text-decoration: none; white-space: nowrap;
}
.brand svg { flex-shrink: 0; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 36px; }
.site-nav a {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--blush); }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--forest); color: var(--forest);
  font-family: var(--font-body); font-weight: 500; letter-spacing: 0.2em; font-size: 0.7rem;
  padding: 10px 14px; cursor: pointer;
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream); border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .site-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav li:last-child a { border-bottom: 0; }
  .brand { font-size: 1.45rem; }
}

/* ---------- Buttons ---------- */
.button {
  display: inline-block; text-decoration: none;
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 16px 28px;
  background: var(--forest); color: var(--cream); border: 1px solid var(--forest);
}
.button:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.button[aria-disabled="true"] {
  background: transparent; color: var(--muted); border-color: var(--line); cursor: default;
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--cream { background: var(--cream); }
@media (max-width: 640px) { .section { padding: 60px 0; } }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.center { text-align: center; margin-top: 48px; }

/* Hero */
.hero { background: var(--cream); }
.hero .wrap {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
  padding-top: 72px; padding-bottom: 72px;
}
.name-lockup { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.name-lockup h1 {
  font-size: clamp(4rem, 10vw, 7rem); line-height: 0.92; letter-spacing: -0.02em; margin: 0;
}
.name-lockup h1 span { display: block; }
.role {
  font-size: clamp(0.85rem, 1.6vw, 1.1rem); letter-spacing: 0.5em; padding-left: 0.5em;
  text-transform: uppercase; font-weight: 500;
}
.flourish { display: flex; align-items: center; gap: 6px; }
.hero .script { font-size: clamp(2.4rem, 5vw, 3.4rem); margin-top: 8px; }
.hero img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
  .hero img { aspect-ratio: 1; max-width: 520px; margin: 0 auto; }
}

/* Page hero (inner pages) */
.page-hero { background: var(--cream); text-align: center; padding: 72px 0 64px; }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 4.5rem); margin-bottom: 16px; }
.page-hero p { max-width: 620px; margin: 0 auto; }
.page-hero .script { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 20px; color: var(--ink); }

/* Blush tagline band */
.band { background: var(--blush-soft); text-align: center; padding: 56px 0; }
.band p { margin: 0; font-size: 0.8rem; letter-spacing: 0.22em; line-height: 2.1; text-transform: uppercase; }

/* Bio */
.bio { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.bio img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bio p { font-size: 1.02rem; }
@media (max-width: 820px) { .bio { grid-template-columns: 1fr; gap: 36px; } }

/* Book cards, in Abby's type */
.book-card h3 { font-size: 1.3rem; }
.book-card .label { font-size: 0.68rem; color: var(--muted); margin-bottom: 4px; }

/* Book detail rows (series page) */
.book-row {
  display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start;
  padding: 64px 0; border-top: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.book-row:first-of-type { border-top: 0; padding-top: 0; }
.book-row h2 { margin-bottom: 6px; }
.book-row .pairing { font-family: var(--font-script); font-size: 2rem; line-height: 1.2; margin: 0 0 16px; }
.book-row .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
@media (max-width: 720px) {
  .book-row { grid-template-columns: 1fr; gap: 28px; }
  .book-row .cover { max-width: 240px; }
}
.placeholder-note {
  font-size: 0.8rem; color: var(--muted); letter-spacing: 0.04em;
  border: 1px dashed var(--camel); padding: 10px 14px; display: inline-block;
}

/* Photo strip */
.strip { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.strip img { width: 100%; height: 360px; object-fit: cover; }
@media (max-width: 720px) {
  .strip { grid-template-columns: 1fr 1fr; }
  .strip img { height: 240px; }
  .strip img:first-child { grid-column: 1 / -1; }
}

/* Vibe + quote panels */
.closing { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vibe { background: var(--forest); color: var(--cream); padding: 48px; }
.vibe .label { color: var(--cream); }
.vibe ul { list-style: none; margin: 0; padding: 0; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.22em; line-height: 2.2; }
.vibe .rule { height: 1px; background: #7E958D; margin: 28px 0 20px; }
.vibe p { font-size: 0.9rem; margin: 0; color: #CFD8D3; }
.quote {
  background: var(--blush); display: flex; flex-direction: column; align-items: center;
  justify-content: space-between; text-align: center; padding-top: 56px; overflow: hidden;
}
.quote .script { font-size: clamp(2.8rem, 5vw, 3.4rem); color: var(--ink); }
.quote svg { width: 100%; height: auto; display: block; margin-top: 32px; }
@media (max-width: 720px) {
  .closing { grid-template-columns: 1fr; }
  .vibe { padding: 36px 28px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: var(--cream); padding: 64px 0 32px; text-align: center; }
.site-footer .wrap { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.footer-name { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; }
.footer-tag { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: #CFD8D3; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; }
.site-footer a {
  color: var(--cream); text-decoration: none;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
}
.site-footer a:hover { color: var(--blush); }
.footer-legal {
  width: 100%; border-top: 1px solid #466258; padding-top: 24px; margin-top: 16px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
  font-size: 0.75rem; color: #CFD8D3;
}
.footer-legal p { margin: 0; }
.publisher { display: inline-flex; align-items: center; gap: 10px; }
.site-footer .publisher { letter-spacing: 0.08em; text-transform: none; font-size: 0.75rem; color: #CFD8D3; }
.publisher img { width: 28px; height: auto; }
@media (max-width: 640px) { .footer-legal { flex-direction: column; } }

/* Book covers and book grids, shared by the press site and author sites.
   Covers are placeholders drawn in CSS; each site styles the text around them.
   To use a real cover later, swap the <div class="cover ..."> for
   <img class="cover-img" src="..." alt="..."> */

.book-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
}
@media (max-width: 960px) { .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .book-grid { gap: 20px; } }

.book-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 14px; }
.book-card h3 { margin: 0; }
.book-card:hover .cover,
.book-card:hover .cover-img { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(27, 49, 39, 0.22); }

.cover-img { width: 100%; height: auto; box-shadow: 0 8px 20px rgba(27, 49, 39, 0.16); transition: transform 0.2s ease, box-shadow 0.2s ease; }

.cover {
  position: relative;
  aspect-ratio: 2 / 3;
  container-type: inline-size;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 11% 8% 0;
  box-shadow: 0 8px 20px rgba(27, 49, 39, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: var(--c-ink);
  background: linear-gradient(180deg, var(--c-sky-top) 0%, var(--c-sky-bottom) 70%);
}
.cover .c-series {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 4.6cqw; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 500;
}
.cover .c-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 15cqw; line-height: 0.98; font-weight: 500;
  margin-top: 12cqw;
}
.cover .c-author {
  position: absolute; bottom: 8cqw; left: 0; right: 0; z-index: 1;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 5.4cqw; letter-spacing: 0.34em; text-transform: uppercase; font-weight: 500;
  color: #F7F1E8;
}
.cover svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; }
.cover .far { fill: var(--c-far); }
.cover .near { fill: var(--c-near); }

/* Seasons: summer, Christmas, winter into spring, fall */
.cover--summer   { --c-sky-top: #F4D9C2; --c-sky-bottom: #D9A9A2; --c-ink: #29483F; --c-far: #B99C78; --c-near: #29483F; }
.cover--solstice { --c-sky-top: #152A21; --c-sky-bottom: #29483F; --c-ink: #F7F1E8; --c-far: #3F5F52; --c-near: #0F1E17; }
.cover--winter   { --c-sky-top: #EEF1EF; --c-sky-bottom: #C9D6D8; --c-ink: #29483F; --c-far: #9FB3B5; --c-near: #29483F; }
.cover--fall     { --c-sky-top: #E9C79A; --c-sky-bottom: #B9774E; --c-ink: #242622; --c-far: #8A5436; --c-near: #3A2E22; }
.cover svg.c-star { top: 42cqw; right: 14cqw; left: auto; bottom: auto; width: 8cqw; fill: #F7F1E8; }

/* ---------- About page ---------- */
.bio--flip { grid-template-columns: 1.2fr 1fr; }
@media (max-width: 820px) {
  .bio--flip { grid-template-columns: 1fr; }
  .bio--flip img { order: -1; }
}
.press-kit {
  display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: center;
  background: var(--cream); border: 1px solid var(--line); padding: 48px;
}
.press-kit img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.press-kit h2 { font-size: 1.8rem; }
@media (max-width: 720px) {
  .press-kit { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; }
  .press-kit img { max-width: 220px; }
}

/* ---------- Home: book shelf (covers above the fold) ---------- */
.shelf { background: var(--cream); padding: 40px 0 56px; }
.shelf-head { text-align: center; margin-bottom: 32px; }
.shelf-head .label { margin-bottom: 8px; }
.shelf-head h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 4px; }
.shelf-head .script { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--ink); margin: 0; }
.shelf-grid { max-width: 880px; margin: 0 auto; gap: 28px; }
.shelf-cta { text-align: center; margin-top: 36px; }
@media (max-width: 960px) {
  .shelf-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 640px) {
  .shelf { padding: 20px 0 44px; }
  .shelf-head { margin-bottom: 18px; }
  .shelf-head .label { font-size: 0.62rem; letter-spacing: 0.18em; }
  /* 2 x 2, sized so all four covers fit on a phone screen without scrolling */
  .shelf-grid { grid-template-columns: repeat(2, minmax(0, 108px)); justify-content: center; gap: 12px 18px; }
  .shelf-grid .book-meta { display: none; }
  .shelf-cta { margin-top: 26px; }
}

/* Silver Creek panel */
.town { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.town-art svg { width: 100%; height: auto; aspect-ratio: 4 / 3; display: block; }
@media (max-width: 820px) { .town { grid-template-columns: 1fr; gap: 36px; } }
.bio--flip .town-art { order: 1; }

/* Home "Hello, reader" */
.hello { max-width: 720px; text-align: center; }
.hello .flourish { justify-content: center; margin-bottom: 20px; }

/* About photo: portrait-shaped, cropped to keep her face partial */
.bio .bio-photo { aspect-ratio: 4 / 5; object-position: 50% 30%; max-width: 440px; }
.press-kit { grid-template-columns: 1fr; text-align: center; max-width: 820px; margin: 0 auto; }

/* Real covers: keep the shelf compact so all four show without scrolling */
.shelf-grid { max-width: 760px; }
.book-row .cover-img { max-width: 260px; }

/* Book taglines and blurbs */
.book-row .tagline {
  font-family: var(--font-display); font-style: italic; font-size: 1.3rem; line-height: 1.4;
  color: var(--ink); margin: 0 0 20px; max-width: 34em;
}
.book-row .blurb { max-width: 38em; }
.book-row .blurb p:last-child { font-weight: 500; color: var(--forest); }
.free-note { font-size: 0.85rem; color: var(--muted); margin: 12px 0 0; }

/* Home: "Start here" free novella */
.start-here { background: var(--sand); }
.start { display: grid; grid-template-columns: 200px 1fr; gap: 56px; align-items: center; max-width: 900px; }
.start .tagline { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: 1.4; color: var(--ink); }
.start .actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 24px; }
.start .actions a:not(.button) { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; }
@media (max-width: 640px) {
  .start { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .start .cover-img { max-width: 170px; margin: 0 auto; }
  .start .actions { justify-content: center; }
}
