* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}
body {
  margin: 0;
  background: #fbf8f2;
  color: #29252d;
  font-family: Figtree, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
a:hover {
  color: var(--accent);
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
.button {
  cursor: pointer;
}
h1,
h2,
h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(2.8rem, 5.1vw, 5.4rem);
  margin: 1.1rem 0 1.6rem;
}
h2 {
  font-size: clamp(2rem, 3.3vw, 3.3rem);
}
h3 {
  font-size: 1.7rem;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
p {
  margin: 0 0 1.2em;
}
.wrap {
  width: min(1220px, 90%);
  margin: auto;
}
.skip {
  position: absolute;
  top: -100px;
  background: #fff;
  padding: 1rem;
}
.skip:focus {
  top: 0;
  z-index: 9;
}
:focus-visible {
  outline: 3px solid #ad6c30;
  outline-offset: 4px;
}
.top {
  border-bottom: 1px solid #ded7cd;
}
.nav {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  text-decoration: none;
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.2;
  max-width: 220px;
}
.brand img {
  width: 145px;
}
.brand small {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.7rem;
}
.links {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  font-size: 0.9rem;
}
.links a {
  text-decoration: none;
}
.button {
  background: var(--accent);
  color: white !important;
  padding: 0.9rem 1.35rem;
  display: inline-block;
  border: 1px solid var(--accent);
  border-radius: 100px;
  text-decoration: none;
  font-weight: 500;
  line-height: 1.3;
}
.button.secondary {
  background: transparent;
  color: var(--accent) !important;
}
.kicker {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 600;
}
.hero {
  padding: 5.5rem 0 4rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}
.hero p {
  font-size: 1.16rem;
  max-width: 560px;
  color: #625e62;
}
.art {
  position: relative;
  padding: 2rem 0 2rem 2rem;
}
.art:before {
  content: "";
  position: absolute;
  inset: 0 0 0 3rem;
  border-radius: 48% 48% 3% 3%;
  background: #e9dfd2;
  z-index: -1;
}
.art .scene {
  aspect-ratio: 1.25;
  object-fit: cover;
  border: 10px solid #fff;
  box-shadow: 0 22px 55px #31231d24;
  transform: rotate(-3deg);
}
.art .book {
  width: 34%;
  position: absolute;
  right: -1%;
  bottom: -1%;
  transform: rotate(9deg);
  box-shadow:
    -5px 4px 0 #c5b9aa,
    0 12px 26px #271e3029;
  border-radius: 2px;
}
.intro {
  max-width: 790px;
  margin: auto;
  padding: 4.5rem 0 2rem;
}
.intro h1 {
  font-size: clamp(2.7rem, 4.5vw, 4.6rem);
}
.intro .lead {
  font-size: 1.25rem;
  line-height: 1.75;
  color: #625b62;
}
.meta {
  font-size: 0.85rem;
  color: #6e6266;
  margin: 1.8rem 0;
}
.wide-figure {
  margin: 1rem auto 4rem;
  width: min(1120px, 94%);
}
.wide-figure img {
  width: 100%;
  aspect-ratio: 2;
  object-fit: cover;
  border-radius: 3px;
}
.wide-figure figcaption {
  font-size: 0.76rem;
  color: #6b6261;
  margin: 0.8rem 0;
  max-width: 800px;
}
.reading-grid {
  display: grid;
  grid-template-columns: 200px minmax(0, 720px);
  justify-content: center;
  gap: 4rem;
}
.toc {
  position: sticky;
  top: 2rem;
  align-self: start;
  font-size: 0.85rem;
  line-height: 1.5;
}
.toc a {
  display: block;
  margin: 1rem 0;
  text-decoration: none;
  color: #6b6261;
}
.toc strong {
  font-size: 0.73rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.prose {
  font-size: 1.12rem;
  line-height: 1.85;
}
.prose section {
  margin: 0 0 3.5rem;
}
.prose h2 {
  font-size: 2.2rem;
  margin: 2.8rem 0 1.3rem;
}
.takeaways {
  background: #eee7dc;
  padding: 2rem 2.4rem;
  border-top: 2px solid var(--accent);
  margin-bottom: 3rem;
}
.takeaways h2 {
  font-size: 1.65rem;
  margin: 0 0 1rem;
}
.takeaways ol {
  padding-left: 1.2rem;
  margin: 0;
}
.takeaways li {
  padding: 0.4rem 0 0.4rem 0.4rem;
}
.tips {
  border-left: 2px solid var(--accent);
  padding: 0.4rem 1.4rem;
  font-size: 1rem;
  color: #65545a;
}
.tips li {
  margin: 0.5rem 0;
}
details {
  border-top: 1px solid #ddd2c6;
  padding: 1.1rem 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
details p {
  margin: 1rem 0 0;
}
.cta {
  background: #eee6da;
  margin: 5rem auto;
  padding: 3rem 4rem;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 4rem;
  align-items: center;
}
.cta h2 {
  margin: 0.8rem 0 1.3rem;
}
.cta .book {
  max-height: 290px;
  width: auto;
  box-shadow:
    -5px 4px 0 #c6bcae,
    0 20px 30px #31212724;
  transform: rotate(5deg);
  margin: auto;
}
.cta .actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.7rem 0 1rem;
}
.small {
  font-size: 0.82rem;
  color: #72646a;
}
.offer {
  margin: 1rem 0;
  padding: 1rem 1.3rem;
  background: #fff9ef;
  border: 1px solid #d9c7ae;
}
.offer p {
  margin: 0;
}
.offer strong {
  font-size: 1.1rem;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2.5rem 0 5rem;
}
.card {
  text-decoration: none;
}
.card img {
  aspect-ratio: 1.6;
  object-fit: cover;
  border-radius: 3px;
  transition: filter 0.2s;
}
.card:hover img {
  filter: brightness(1.05);
}
.card h2,
.card h3 {
  font-size: 1.7rem;
  margin: 1rem 0;
}
.card p {
  font-size: 0.95rem;
  color: #6f6469;
}
.empty {
  border-top: 1px solid #ded4c9;
  padding: 3rem 0 4rem;
  max-width: 790px;
}
.empty h2 {
  font-size: 2.2rem;
}
footer {
  border-top: 1px solid #d8cfc4;
  padding: 3rem 0;
  margin-top: 4rem;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
}
footer p {
  max-width: 570px;
  font-size: 0.82rem;
  color: #73676a;
}
.preview {
  background: #6b3546;
  color: white;
  text-align: center;
  padding: 0.7rem;
  font-size: 0.85rem;
}
.admin {
  padding: 3rem 0;
}
.admin h1 {
  font-size: 3rem;
}
.stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}
.stat {
  background: #eee7dc;
  padding: 1.2rem 1.6rem;
  min-width: 160px;
}
.stat strong {
  font-size: 1.7rem;
  display: block;
}
.admin table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.admin th,
.admin td {
  text-align: left;
  border-bottom: 1px solid #ded4ca;
  padding: 0.9rem;
  vertical-align: top;
}
.admin td p {
  margin: 0.3rem 0;
}
.scroll {
  overflow-x: auto;
}
.badge {
  padding: 0.2rem 0.6rem;
  border-radius: 30px;
  background: #e7e4df;
  display: inline-block;
}
.badge.review,
.badge.approved,
.badge.published {
  background: #dce8db;
  color: #245331;
}
.badge.blocked {
  background: #f5d9d1;
  color: #803e29;
}
.controls {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 1rem 0;
  align-items: center;
}
.admin button {
  border: 1px solid #c6b9aa;
  border-radius: 5px;
  background: white;
  padding: 0.5rem 0.8rem;
}
.admin input,
.admin textarea,
.admin select {
  border: 1px solid #c6b9aa;
  padding: 0.6rem;
  background: #fffdf8;
  border-radius: 4px;
  max-width: 100%;
}
.admin textarea {
  width: 100%;
  min-height: 440px;
  font-family: monospace;
  font-size: 0.88rem;
}
.admin pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #eee7dc;
  padding: 1rem;
}
.notice {
  background: #f0e2c9;
  padding: 1rem 1.5rem;
}
.status {
  position: sticky;
  top: 0;
  background: #fff;
  padding: 1rem;
  border: 1px solid #d9c7ae;
  z-index: 2;
}
.hidden {
  display: none !important;
}
@media (max-width: 850px) {
  .hero {
    gap: 2rem;
    padding-top: 3rem;
  }
  .links a:not(.button) {
    display: none;
  }
  .reading-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .toc {
    position: static;
    border-bottom: 1px solid #ddd2c6;
    padding-bottom: 1rem;
  }
  .toc a {
    display: inline-block;
    margin: 0.4rem 0.7rem 0.4rem 0;
  }
  .intro {
    padding-top: 2.5rem;
  }
  .cta {
    padding: 2rem;
    gap: 2rem;
    grid-template-columns: 1fr 150px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .nav {
    min-height: 85px;
    gap: 1rem;
  }
  .brand {
    font-size: 1rem;
  }
  .brand img {
    width: 110px;
  }
  .brand small {
    font-size: 0.65rem;
  }
  .links .button {
    font-size: 0.8rem;
    padding: 0.7rem 1rem;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .hero h1 {
    font-size: 3.1rem;
  }
  .art {
    max-width: 420px;
    margin-bottom: 2rem;
  }
  .intro h1 {
    font-size: 2.65rem;
  }
  .prose {
    font-size: 1.05rem;
  }
  .takeaways {
    padding: 1.4rem;
  }
  .cta {
    grid-template-columns: 1fr;
    padding: 1.6rem;
  }
  .cta figure {
    display: none;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .wide-figure {
    margin-bottom: 2rem;
  }
  footer .wrap {
    display: block;
  }
  .hero {
    padding-bottom: 2rem;
  }
  .admin h1 {
    font-size: 2.4rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
