
:root {
  --cream: #fdf6e7;
  --gold: #cdae48;
  --blush: #e0a998;
  --orange: #d98859;
  --red: #c65a47;
  --ink: #111;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
}
h1, h2, h3, .brand { font-family: "Fraunces", Georgia, serif; font-weight: 400; line-height: 1.15; margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: .5rem 1rem; z-index: 10; }

/* Header */
.site-header { text-align: center; padding: 3.2rem 1.5rem 0; }
.brand {
  display: inline-block;
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  margin: 0 0 2rem;
}
.nav { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem 3.2rem; list-style: none; margin: 0; padding: 0; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: 1rem;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--orange); }

/* Layout */
main { position: relative; overflow: hidden; min-height: 720px; }
.wrap { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: 4rem 1.5rem 6rem; }

/* Book */
.cover { margin: 0 0 2rem; width: min(100%, 320px); aspect-ratio: 2 / 3; background: var(--blush); border-radius: 6px; }
.cover img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.sub { margin: 0 0 1.5rem; }

details { border-top: 1px solid var(--ink); }
details:last-of-type { border-bottom: 1px solid var(--ink); }
summary {
  list-style: none; cursor: pointer; padding: 1rem 0;
  font-size: 1.15rem; display: flex; justify-content: space-between; align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--red); }
details[open] summary::after { content: "\2212"; }
.panel { padding: 0 0 1.5rem; }
.panel p { margin: 0 0 1em; }
.panel p:last-child { margin-bottom: 0; }

.btn {
  display: inline-block; margin-top: 2rem;
  background: var(--red); color: #fff; text-decoration: none;
  padding: .8rem 2rem; border: 0; border-radius: 999px;
  font: inherit; cursor: pointer;
}
.btn:hover { background: var(--orange); color: #fff; }

.btn.inline { margin-top: 1rem; }

.wrap:has(.book-layout) { max-width: 1000px; }
.book-layout { display: grid; grid-template-columns: 340px 1fr; gap: 3.5rem; align-items: start; }
.book-layout .cover { width: 100%; margin: 0; }
.book-text h1 { margin-top: 0; }
@media (max-width: 760px) { .book-layout { grid-template-columns: 1fr; gap: 2rem; } .book-layout .cover { max-width: 320px; } }

.form-msg { margin: 0; min-height: 1.5em; }

/* Contact */
form { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-size: .95rem; margin-bottom: .25rem; }
label small { color: #555; }
input, textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid #1a1a1a; border-radius: 4px; padding: .7rem .9rem;
}
input:focus, textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
textarea { min-height: 160px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; }
form .btn { justify-self: start; margin-top: .5rem; }

.portrait { margin: 0 0 2.5rem; }
.portrait img { display: block; width: 100%; height: auto; border-radius: 6px; }

/* Press kit */
.bio p { margin: 0 0 1.5rem; }

/* Hand-drawn flowers + sparkles */
.decor { position: absolute; z-index: 0; pointer-events: none; height: auto; }
.sparkle {
  position: absolute; z-index: 0; pointer-events: none;
  width: 26px; height: 26px;
  clip-path: polygon(50% 0, 56% 44%, 100% 50%, 56% 56%, 50% 100%, 44% 56%, 0 50%, 44% 44%);
}
.s-gold { background: var(--gold); }
.s-blush { background: var(--blush); }
.s-orange { background: var(--orange); }
.s-red { background: var(--red); }

@media (max-width: 1000px) { .decor { opacity: .35; } }
@media (max-width: 640px) {
  .row { grid-template-columns: 1fr; }
  .nav { gap: .5rem 1.6rem; }
  .decor, .sparkle { display: none; }
}
