/* Juno Kessler: a light, warm romance site. Cream and blush paper, plum ink, a dusky rose accent and gilt
   details, so the dark Highcairn covers glow against it (founder, 23 Oct 2026: "steamy sapphic romance series",
   modelled on Ruby Roe and other sapphic romance author sites). */
:root {
  --bg: #fbf6f1;
  --bg-2: #f6e9e2;
  --panel: #f3e2da;
  --line: #e7d4cb;
  --text: #2e2234;
  --muted: #6f5c70;
  --rose: #a5456a;
  --rose-2: #87304f;
  --gilt: #b58a3f;
  --plum: #3a2742;
  --dusk: linear-gradient(160deg, #f7d9c4 0%, #efc6c6 45%, #d9c3e0 100%);
  --head: "Cormorant Garamond", Garamond, Georgia, serif;
  --label: "Cinzel", "Trajan Pro", Georgia, serif;
  --body: "EB Garamond", Garamond, Georgia, serif;
  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 480px at 92% -6%, rgba(239,198,198,.45) 0%, transparent 70%),
    radial-gradient(800px 520px at -8% 30%, rgba(217,195,224,.35) 0%, transparent 70%);
  color: var(--text);
  font: 400 1.1875rem/1.6 var(--body);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose); text-underline-offset: .18em; }
a:hover { color: var(--rose-2); }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--plum); color: var(--bg); padding: 8px 12px; }
.skip:focus { left: 8px; z-index: 10; }

h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.05; margin: 0 0 .4em; color: var(--plum); }
h1 { font-size: clamp(2.6rem, 7.5vw, 4.6rem); letter-spacing: -.005em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-style: italic; font-weight: 500; margin-top: 0; }
h2::after {
  content: "♥"; display: block; font-style: normal; font-size: .9rem; line-height: 1; margin-top: .45em;
  color: var(--gilt); letter-spacing: .4em;
}
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
.kicker {
  font-family: var(--label); font-weight: 500; text-transform: uppercase; letter-spacing: .18em;
  color: var(--rose); font-size: .74rem; margin: 0 0 .6em;
}
.lede { font-size: 1.4rem; font-style: italic; color: var(--rose-2); line-height: 1.35; }
.lede-p:first-of-type { font-size: 1.25rem; }

/* Header */
.top { border-bottom: 1px solid var(--line); background: rgba(251,246,241,.9); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(6px); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--label); font-weight: 700; font-size: 1.3rem; letter-spacing: .14em; text-transform: uppercase; color: var(--plum); }
.brand__label { font-family: var(--head); font-style: italic; font-size: 1.05rem; color: var(--rose); margin-top: 3px; }
.top nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px 22px; flex-wrap: wrap; }
.top nav a {
  font-family: var(--head); font-weight: 600; font-size: 1.15rem;
  color: var(--text); text-decoration: none; padding: 6px 0; display: inline-block;
}
.top nav a:hover, .top nav a[aria-current] { color: var(--rose); }
.top nav a[aria-current] { box-shadow: inset 0 -1px 0 var(--rose); }
.menu { display: none; }
.menu summary {
  list-style: none; cursor: pointer; font-family: var(--label); text-transform: uppercase; letter-spacing: .14em; font-size: .85rem;
  border: 1px solid var(--plum); padding: 9px 14px; border-radius: 999px; color: var(--plum);
}
.menu summary::-webkit-details-marker { display: none; }
@media (max-width: 860px) {
  .navbar { display: none; }
  .menu { display: block; }
  .menu[open] nav { position: absolute; left: 0; right: 0; top: 68px; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: 0 16px 30px rgba(58,39,66,.08); }
  .menu nav ul { flex-direction: column; }
  .menu nav a { padding: 10px 0; font-size: 1.3rem; }
}

main.wrap { padding-top: 36px; padding-bottom: 56px; }   /* main.wrap: .wrap's own padding would win over plain main */
section { margin: 72px 0; }
.pagehead { margin-bottom: 28px; text-align: center; }
.pagehead h1::after { content: "♥"; display: block; font-size: 1rem; color: var(--gilt); margin-top: .4em; }

/* Buttons */
.btn {
  display: inline-block; font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  background: var(--rose); color: #fff; text-decoration: none; padding: 13px 24px; border-radius: 999px;
  border: 1px solid var(--rose); font-size: .8rem; line-height: 1.1;
}
.btn:hover { background: var(--rose-2); border-color: var(--rose-2); color: #fff; }
.btn--ghost { background: transparent; color: var(--plum); border-color: var(--plum); }
.btn--ghost:hover { background: var(--plum); border-color: var(--plum); color: var(--bg); }
.btn--small { padding: 7px 14px; font-size: .7rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Hero: the covers on a sunset panel, the same peach-to-lilac as the windows in the cover art */
.hero {
  display: grid; grid-template-columns: minmax(260px, 400px) 1fr; gap: 56px; align-items: center; margin-top: 4px;
  background: var(--dusk); border-radius: 28px; padding: 48px;
}
.hero h1 { font-size: clamp(2.8rem, 8vw, 5rem); }
.hero .lede { color: var(--plum); }
.hero__cover .cover, .book__cover .cover { box-shadow: 0 26px 50px rgba(58,39,66,.35); border-radius: 4px; }
.fan { position: relative; padding: 0 22% 6% 0; }
.fan__front { position: relative; z-index: 3; }
.fan__back { position: absolute; top: 4%; width: 78%; z-index: 1; }
.fan__back--1 { right: 0; transform: rotate(7deg); z-index: 2; }
.fan__back--2 { right: -6%; top: 9%; transform: rotate(13deg); }
.fan__back .cover { box-shadow: 0 18px 36px rgba(58,39,66,.3); border-radius: 4px; }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding: 28px 20px 32px; border-radius: 20px; text-align: center; }
  .hero__cover { max-width: 270px; margin: 0 auto; width: 100%; }
  .hero .actions { justify-content: center; }
  .hero .tropes { justify-content: center; }
}

/* Trope tags */
.tropes { list-style: none; padding: 0; margin: 10px 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.tropes li {
  font-family: var(--label); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--rose-2); background: #fff; border: 1px solid #ecc9d3; padding: 6px 11px; border-radius: 999px;
}
.card .tropes { margin: 10px 0 0; gap: 6px; }
.card .tropes li { font-size: .58rem; padding: 5px 9px; }

/* Covers and cards */
.cover { border-radius: 4px; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; background: var(--panel); }
.cover--blank {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center;
  padding: 16px; border: 1px solid rgba(255,255,255,.6);
  background: var(--dusk);
  font-family: var(--head); font-weight: 600; font-style: italic; font-size: 1.6rem; line-height: 1.1; color: var(--plum);
  box-shadow: inset 0 0 0 8px rgba(255,255,255,.35);
}
.cover--blank::after {
  content: "Cover reveal soon"; font-family: var(--label); font-style: normal; font-weight: 500; font-size: .62rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--rose-2);
}
.cover__star { color: var(--gilt); font-size: 1.6rem; font-style: normal; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 40px 28px; }
@media (max-width: 460px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; } }
.card .kicker { margin-top: 16px; font-size: .66rem; }
.card__link { text-decoration: none; color: inherit; display: block; }
.card__link:hover .card__title { color: var(--rose); }
.card__link:hover .cover { transform: translateY(-4px) rotate(-1deg); }
.card .cover { transition: transform .25s ease; box-shadow: 0 14px 30px rgba(58,39,66,.22); }
.card__title { font-size: 1.55rem; margin: 0 0 .2em; }
.card__sub { color: var(--muted); font-style: italic; margin: 0 0 .4em; }
.card__tag { color: var(--muted); font-size: 1.02rem; font-style: italic; margin: 0; line-height: 1.4; }
.soon { font-family: var(--label); text-transform: uppercase; letter-spacing: .16em; color: var(--rose); font-size: .7rem; margin-top: .8em; }

/* Latest release */
.feature__in { display: grid; grid-template-columns: 190px 1fr; gap: 36px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: 0 18px 40px rgba(58,39,66,.06); }
.feature__in h3 { font-size: 2.3rem; }
.feature__in h3 a { color: var(--plum); text-decoration: none; }
.feature__in .cover { box-shadow: 0 14px 30px rgba(58,39,66,.25); }
@media (max-width: 560px) { .feature__in { grid-template-columns: 1fr; text-align: center; } .feature__cover { max-width: 190px; margin: 0 auto; } .feature__in .buy { justify-content: center; } }

/* Store buttons */
.buy { list-style: none; padding: 0; margin: 22px 0; display: flex; flex-wrap: wrap; gap: 10px; }

/* Book page */
.book { display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: 56px; align-items: start; }
.book__cover { position: sticky; top: 96px; }
.book h1 { font-size: clamp(2.5rem, 6vw, 3.9rem); }
.book .card__sub { font-size: 1.3rem; color: var(--rose-2); }
.blurb { font-size: 1.15rem; max-width: 62ch; }
.blurb p:first-child i, .blurb p:first-child b { font-family: var(--head); font-size: 1.55rem; font-style: italic; font-weight: 600; color: var(--plum); line-height: 1.3; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 26px 0 0; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; color: var(--muted); font-size: 1rem; }
.facts dt { font-family: var(--label); font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--rose); padding-top: .35em; }
.facts dd { margin: 0; }
.pn { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--head); font-style: italic; font-size: 1.3rem; }
.pn a { text-decoration: none; }
@media (max-width: 760px) {
  .book { grid-template-columns: 1fr; gap: 28px; }
  .book__cover { max-width: 250px; position: static; margin: 0 auto; }
  .book__text { text-align: left; }
}

/* Reading order */
.ro { list-style: none; margin: 0; padding: 0; }
.ro li { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1.25rem; flex-wrap: wrap; font-family: var(--head); font-weight: 600; }
.ro__n { font-family: var(--label); font-weight: 700; font-size: .85rem; color: var(--rose); min-width: 2.6em; letter-spacing: .06em; }
.ro__k { font-family: var(--label); text-transform: uppercase; letter-spacing: .14em; font-size: .64rem; color: var(--muted); font-weight: 500; }

/* Bands, teaser, Q&A */
.band { background: #fff; border: 1px solid var(--line); padding: 34px; border-radius: 22px; text-align: center; box-shadow: 0 18px 40px rgba(58,39,66,.06); }
.band h2::after { margin-left: auto; margin-right: auto; }
.band p { max-width: 58ch; margin-left: auto; margin-right: auto; }
.band p:last-child { margin-bottom: 0; }
.teaser { max-width: 66ch; font-size: 1.15rem; }
.teaser p:first-of-type { font-style: italic; color: var(--rose-2); font-size: 1.3rem; }
.samples { list-style: none; padding: 0; }
.samples li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.samples li > a:first-child { font-family: var(--head); font-size: 1.45rem; font-weight: 600; margin-right: auto; text-decoration: none; color: var(--plum); }
.qa dt { font-family: var(--head); font-weight: 600; font-style: italic; font-size: 1.45rem; margin-top: 22px; color: var(--plum); }
.qa dd { margin: 6px 0 0; max-width: 62ch; }

/* Layout (site.json "layout"): Juno's own structure, so it never reads as a recoloured Dani Hart site.
   Header centred, the brand above a menu row; on phones it folds back to brand and menu button. */
.top--centred { position: relative; }
.top--centred .top__in { flex-direction: column; justify-content: center; gap: 8px; padding-top: 22px; padding-bottom: 10px; }
.top--centred .brand { align-items: center; text-align: center; }
.top--centred .brand__name { font-size: 1.75rem; letter-spacing: .22em; }
.top--centred .navbar ul { justify-content: center; }
@media (max-width: 860px) {
  .top--centred .top__in { flex-direction: row; justify-content: space-between; padding-top: 0; padding-bottom: 0; }
  .top--centred .brand { align-items: flex-start; text-align: left; }
  .top--centred .brand__name { font-size: 1.3rem; letter-spacing: .14em; }
}

/* Home: the title over the covers, centred, like a launch poster */
.hero--stage { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 30px; padding: 56px 48px 48px; }
.hero--stage .hero__head { max-width: 780px; }
.hero--stage .hero__head .lede { margin-bottom: 0; }
.hero--stage .hero__cover { width: min(400px, 100%); margin: 0; }
.hero--stage .hero__text { max-width: 640px; }
.hero--stage .actions { justify-content: center; }
.hero--stage .fan { padding: 0 0 4%; }
.hero--stage .fan__front { width: 74%; margin: 0 auto; }
.hero--stage .fan__back { width: 64%; top: 7%; }
.hero--stage .fan__back--1 { left: 0; right: auto; transform: rotate(-9deg); }
.hero--stage .fan__back--2 { right: 0; left: auto; top: 7%; transform: rotate(9deg); }
@media (max-width: 760px) { .hero--stage { padding: 32px 20px; } .hero--stage .hero__cover { max-width: 300px; } }

/* Books: a shelf of rows, the cover beside the words, alternating sides */
.shelf { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.shelf__item {
  display: grid; grid-template-columns: 180px 1fr; gap: 34px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: 0 18px 40px rgba(58,39,66,.06);
}
.shelf__item:nth-child(even) { grid-template-columns: 1fr 180px; }
.shelf__item:nth-child(even) .shelf__cover { order: 2; }
.shelf__cover .cover { box-shadow: 0 14px 30px rgba(58,39,66,.25); transition: transform .25s ease; }
a.shelf__cover:hover .cover { transform: translateY(-4px) rotate(-1deg); }
.shelf__text .card__title { font-size: 2rem; }
.shelf__text .card__title a { color: var(--plum); text-decoration: none; }
.shelf__text .card__title a:hover { color: var(--rose); }
.shelf__text .card__tag { margin-bottom: .4em; }
.shelf__text .tropes { margin: 12px 0 16px; }
.shelf__text p:last-child { margin-bottom: 0; }
@media (max-width: 560px) {
  .shelf__item, .shelf__item:nth-child(even) { grid-template-columns: 104px 1fr; gap: 18px; padding: 16px; align-items: start; }
  .shelf__item:nth-child(even) .shelf__cover { order: 0; }
  .shelf__text .card__title { font-size: 1.4rem; }
  .shelf__text .tropes li { font-size: .56rem; padding: 4px 8px; }
}

/* Book page: the words first, the cover and the facts in a column beside them */
.book--aside { grid-template-columns: 1fr minmax(240px, 310px); }
.book--aside .book__cover { position: static; }
.book--aside .book__side { position: sticky; top: 28px; }
.book--aside .facts { grid-template-columns: 1fr; gap: 0; margin-top: 24px; }
.book--aside .facts dd { margin-bottom: 10px; }
@media (max-width: 760px) {
  .book--aside { grid-template-columns: 1fr; }
  .book--aside .book__side { display: contents; }
  .book--aside .book__cover { order: -1; max-width: 250px; margin: 0 auto; }
  .book--aside .facts { order: 2; }
}

/* About: the bio as a signed note on a card */
.letter {
  max-width: 680px; margin: 0 auto 56px; background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: 44px 48px 36px; box-shadow: 0 18px 40px rgba(58,39,66,.07); position: relative;
}
.letter .lede-p:first-of-type::first-letter { font-family: var(--head); font-size: 3.6rem; float: left; line-height: .8; margin: 6px 10px 0 0; color: var(--rose); }
.letter + section { max-width: 680px; margin: 0 auto; }
@media (max-width: 560px) { .letter { padding: 30px 22px 26px; } }

/* Feedback: the message first, the Keep updated box beside it */
.duo { display: grid; grid-template-columns: 1fr minmax(260px, 340px); gap: 40px; align-items: start; }
.duo__side { margin: 0; text-align: left; position: sticky; top: 28px; }
.duo__side h2::after { margin-left: 0; }
.duo section { margin: 0; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } .duo__side { position: static; } }

/* Reader forms */
.join, .message { max-width: 560px; }
.join label, .message label { display: block; margin: 16px 0 6px; font-family: var(--label); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rose); }
.message label .small { text-transform: none; letter-spacing: 0; font-family: var(--body); font-size: .9rem; }
.join__row { display: flex; flex-wrap: wrap; gap: 10px; }
.join__row input { flex: 1 1 200px; width: auto; }
.join input, .message input, .message textarea {
  width: 100%; padding: 12px 18px; font: inherit; font-size: 1.05rem; color: var(--text); background: var(--bg);
  border: 1px solid #e3c7cf; border-radius: 999px;
}
.message textarea { border-radius: 20px; resize: vertical; min-height: 10rem; }
.join input:focus, .message input:focus, .message textarea:focus { outline: 2px solid var(--rose); outline-offset: 1px; border-color: var(--rose); }
.message .btn { margin-top: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 30px 0 42px; color: var(--muted); font-size: 1rem; text-align: center; background: var(--bg-2); }
.foot p { margin: 4px 0; }
.foot__star { color: var(--gilt); font-size: 1.3rem; }
.social { list-style: none; padding: 0; margin: 8px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.small { font-size: .9rem; color: var(--muted); }
