/* =========================
   LiteralDad — Base Styles
   Paste-over replacement
   ========================= */

:root{
  /* Color */
  --navy: #00003d;
  --navy-soft: #2e3b5c;
  --bg: #f7f8fb;          /* subtle navy-tinted off-white */
  --surface: #ffffff;     /* card/sections */
  --text: #00003d;
  --muted: #7E8287;
  --border: rgba(31,42,68,0.14);
  --link: #F24236;
  --cream: #fffdea;

  /* Layout */
  --max: 760px;
  --radius: 14px;

  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;

  /* Shadow */
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body{
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 360px at 50% -140px, rgba(0,0,61,0.18), transparent 70%),
    radial-gradient(1300px 520px at 18% -220px, rgba(242,66,54,0.09), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.28'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: auto, auto, 180px 180px;
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

/* Type */
h1, h2, h3, .logo{
  font-family: "League Spartan", system-ui, sans-serif;
  letter-spacing: 0.02em;
}

h1{ font-size: clamp(2rem, 3.6vw, 2.85rem); line-height: 1.15; margin: 0 0 var(--space-2); }
h2{ font-size: 1.6rem; line-height: 1.25; margin: 0 0 var(--space-2); }
h3{ font-size: 1.25rem; line-height: 1.3; margin: 0 0 var(--space-2); }

p{ margin: 0 0 var(--space-2); }
p:last-child{ margin-bottom: 0; }

a{
  color: var(--link);
  text-decoration: none;
}
a:hover{ text-decoration: underline; }

/* Images: prevent “huge” surprises */
img{
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space-2);
}

/* =========================
   Header / Nav
   ========================= */
.site-header{
  position: relative;
  z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.site-nav{
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  font-family: "League Spartan", system-ui, sans-serif;
  font-weight: 600;
}

.site-header .logo{
  display: flex;
  align-items: center;
  margin-right: auto;
  border-bottom: none;
}

.site-header .logo img{
  height: 80px;
  width: auto;
  max-width: 440px;
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-actions{
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.theme-toggle{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 30px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.7);
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.theme-toggle:hover{
  background: rgba(242,66,54,0.12);
}

.theme-toggle-icon{
  position: absolute;
  width: 16px;
  height: 16px;
  opacity: 0.55;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.theme-toggle-sun{ left: 8px; }
.theme-toggle-moon{ right: 8px; }

.theme-toggle-thumb{
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
  pointer-events: none;
}

.theme-toggle.is-dark .theme-toggle-thumb{
  transform: translateX(28px);
}

.theme-toggle.is-dark .theme-toggle-moon{
  opacity: 0.9;
}

.theme-toggle.is-dark .theme-toggle-sun{
  opacity: 0.35;
}

.theme-toggle:not(.is-dark) .theme-toggle-sun{
  opacity: 0.9;
}

.theme-toggle:not(.is-dark) .theme-toggle-moon{
  opacity: 0.35;
}

.nav-links a{
  color: var(--text);
  padding: 0;
  border-radius: 0;
  border-bottom: none;
  font-family: "League Spartan", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav-links a:hover{
  background: none;
  border-bottom: none;
  color: var(--link);
  text-decoration: none;
}

.nav-toggle{
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.nav-toggle-label{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle-label span{
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle:checked + .nav-toggle-label span:nth-child(1){
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle:checked + .nav-toggle-label span:nth-child(2){
  opacity: 0;
}

.nav-toggle:checked + .nav-toggle-label span:nth-child(3){
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================
   Main layout surfaces
   ========================= */
main{
  padding: var(--space-5) 0;
}

.hero{
  text-align: center;
  padding: var(--space-5) 0 var(--space-4);
}

.hero p{
  margin: 0 auto;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Make sections feel less “floating on white” */
.section-surface{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-4);
}

/* You can optionally wrap sections with .section-surface later.
   For now, we give the “Latest” list a surface automatically. */
section{
  margin-top: var(--space-4);
}


/* =========================
   Global Link Styling
   ========================= */

a {
  color: var(--link);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(24,0,173,0.25);
  transition: color 0.15s ease, border-color 0.15s ease;
}

a:hover {
  color: var(--link);
  border-bottom-color: var(--link);
  text-decoration: none;
}


/* =========================
   Reviews index + Homepage list
   ========================= */
.latest h2{
  position: relative;
  padding-bottom: 0.75rem;
}

.latest h2::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3rem;
  height: 3px;
  background: var(--link);
  border-radius: 2px;
}

.content-search{
  position: relative;
  margin-top: calc(-1 * var(--space-4));
  margin-bottom: var(--space-2);
}

.content-search-input{
  width: 100%;
  padding: 0.68rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.content-search-input:focus{
  outline: 2px solid rgba(31,42,68,0.25);
  border-color: rgba(31,42,68,0.45);
}

.content-search-results{
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 20;
  max-height: 260px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.content-search-item + .content-search-item{
  border-top: 1px solid var(--border);
}

.content-search-link{
  display: block;
  padding: 0.65rem 0.8rem;
  color: inherit;
  text-decoration: none !important;
  border-bottom: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

.content-search-link:hover{
  background: rgba(242,66,54,0.12);
}

/* Review List */
.review-list {
  list-style: none;
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  box-shadow: none;
}
.review-list li {
  padding: 0;
  margin-bottom: 1rem;
  border: none;
}

/* Reviews index cards */
.reviews-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.review-tile{
  display: grid;
  gap: var(--space-2);
  padding: var(--space-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none !important;
  border-bottom: none;
  transition: transform 0.1s ease, box-shadow 0.2s ease;
}

.review-tile:hover{
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.review-tile-meta{
  display: grid;
  gap: 0.25rem;
}

.review-tile-title{
  font-weight: 700;
  font-size: 1rem;
}

.review-tile-author{
  color: var(--muted);
  font-size: 0.9rem;
}

.review-tile-cover{
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
}

/* =========================
   Contact form
   ========================= */
.contact{
  max-width: 680px;
  margin: 0 auto;
}

.contact-form{
  margin-top: var(--space-3);
  display: grid;
  gap: var(--space-2);
}

.contact-form label{
  display: grid;
  gap: 0.5rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea{
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus{
  outline: 2px solid rgba(31,42,68,0.25);
  border-color: rgba(31,42,68,0.45);
}

.contact-form-actions{
  display: flex;
  justify-content: flex-start;
}

.contact-form button{
  padding: 0.75rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(31,42,68,0.2);
  background: #00003d;
  color: #FFFDEA;
  font-weight: 700;
  cursor: pointer;
}

.contact-form button:hover{
  background: var(--link);
  border-color: rgba(242,66,54,0.5);
  color: #FFFDEA;
}

.about-photo{
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  display: block;
  margin: 0;
}

.about-section-grid{
  display: grid;
  grid-template-columns: minmax(250px, 320px) 1fr;
  gap: var(--space-3);
  align-items: stretch;
  margin: var(--space-3) 0;
}

.about-section-left{
  display: flex;
}

.about-section-right p:first-child{
  margin-top: 0;
}

.visually-hidden{
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}


.meta{
  color: var(--muted);
  font-weight: 500;
  margin-left: 0.5rem;
}

.more{
  margin-top: var(--space-2);
}

.more a{
  color: var(--link);
  font-weight: 700;
}

/* =========================
   Review page layout (review.njk)
   ========================= */
.review{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-4);
}

.review-header{
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: var(--space-3);
  align-items: start;
  margin-bottom: var(--space-4);
}

.review-header--wide{
  grid-template-columns: 1fr;
}

/* Hard cap cover size so it never explodes */
.review-cover{
  width: 180px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.review-title{
  margin: 0 0 0.35rem;
}

.review-author{
  margin: 0 0 0.75rem;
  color: var(--muted);
}

/* Star rating (overlay fill) */
.review-rating{
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.9rem;
}

.stars{
  position: relative;
  display: inline-block;
  font-size: 1.15rem;
  line-height: 1;
  letter-spacing: 2px;
}

.stars-bg{
  color: rgba(31,42,68,0.25);
}

.stars-fg{
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  white-space: nowrap;
  width: 0;
  color: var(--link);
}

.rating-number{
  color: var(--muted);
  font-weight: 800;
  font-size: 0.95rem;
}

/* Amazon button */
.review-buy-buttons{
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.amazon-button,
.bookshop-button{
  display: inline-block;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  text-decoration: none !important;
  font-weight: 900;
  background: var(--surface);
  color: var(--cream) !important;
  box-shadow: 0 10px 22px rgba(31,42,68,0.24);
  border: 1px solid var(--border);
  transition: background-color 120ms ease, transform 120ms ease;
}

.amazon-button:hover,
.bookshop-button:hover{
  background: color-mix(in srgb, var(--surface) 86%, var(--navy) 14%);
  color: var(--cream) !important;
  transform: translateY(-1px);
  text-decoration: none !important;
}

.disclosure{
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Roundups list */
.roundup-items{
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
}

.roundup-hero{
  margin: 1rem 0 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.roundup-hero img{
  width: 100%;
  height: auto;
  display: block;
}

.roundup-item{
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.roundup-item-image{
  width: 100%;
  border-radius: 10px;
}

.roundup-item-title{
  margin: 0 0 0.5rem;
}

.roundup-item-note{
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.roundups-list{
  display: grid;
  gap: 1rem;
}

.roundup-card{
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-decoration: none !important;
  color: inherit;
  max-width: 100%;
  width: 100%;
}

.roundup-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.roundup-card-cover{
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.roundup-card-title{
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.roundup-card-subtitle{
  color: var(--muted);
  font-size: 0.95rem;
}

.roundup-card-blurb{
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Shop page */
.shop-support{
  margin-bottom: var(--space-3);
}

.shop-hero{
  margin-top: 0;
}

.shop-hero p{
  margin-bottom: 1rem;
}

.shop-hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.shop-cta{
  display: inline-block;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  text-decoration: none !important;
  font-weight: 900;
  background: var(--surface);
  color: var(--cream) !important;
  box-shadow: 0 10px 22px rgba(31,42,68,0.24);
  border: 1px solid var(--border);
  border-bottom: none;
  transition: background-color 120ms ease, transform 120ms ease;
}

.shop-cta:hover{
  background: color-mix(in srgb, var(--surface) 86%, var(--navy) 14%);
  color: var(--cream) !important;
  transform: translateY(-1px);
  text-decoration: none !important;
}

.shop-grid{
  margin-top: var(--space-3);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-3);
}

.shop-carousel-wrap{
  margin-top: var(--space-3);
}

.shop-carousel-wrap h2{
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.shop-carousel-intro{
  margin: 0 0 0.9rem;
  color: var(--muted);
}

.shop-carousel-all-link{
  margin: -0.25rem 0 0.9rem;
}

.shop-carousel-shell{
  --shop-visible-cards: 3;
  --shop-carousel-gap: 0.9rem;
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 2.8rem;
}

.shop-carousel-viewport{
  overflow: hidden;
  border-radius: 14px;
}

.shop-carousel-track{
  display: flex;
  gap: var(--shop-carousel-gap);
  transition: transform 340ms ease;
  will-change: transform;
}

a.shop-carousel-card{
  display: block;
  min-width: calc((100% - (var(--shop-visible-cards) - 1) * var(--shop-carousel-gap)) / var(--shop-visible-cards));
  border-radius: 14px;
  border: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  box-shadow: none;
  color: inherit;
  text-decoration: none !important;
  overflow: hidden;
  transition: border-color 130ms ease;
}

a.shop-carousel-card:hover{
  border-color: color-mix(in srgb, var(--border) 55%, var(--link) 45%);
  border-bottom-color: color-mix(in srgb, var(--border) 55%, var(--link) 45%);
}

.shop-carousel-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  z-index: 2;
}

.shop-carousel-prev{
  left: 0;
}

.shop-carousel-next{
  right: 0;
}

.shop-carousel-nav:hover{
  background: color-mix(in srgb, var(--surface) 88%, var(--navy) 12%);
}

.shop-carousel-card img{
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f4f5f8;
}

.shop-carousel-card-body{
  padding: 0.75rem 0.8rem 0.85rem;
  display: grid;
  gap: 0.35rem;
}

.shop-carousel-card-body h3{
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.3;
}

.shop-carousel-link{
  font-size: 0.84rem;
  letter-spacing: 0.01em;
  color: var(--link);
  font-weight: 700;
}

.shop-disclosure{
  margin-top: 0.7rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.shop-card{
  margin-top: 0;
}

.shop-card h3{
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.shop-list{
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
}

.shop-list-numbered{
  padding-left: 1.2rem;
}

.shop-footer-note{
  margin-top: var(--space-3);
}

.shop-footer-note p{
  margin: 0;
}

/* Newsletter */
.site-newsletter{
  margin: var(--space-5) 0;
}

.newsletter-signup{
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.newsletter-signup h2{
  margin: 0 0 0.75rem;
  color: var(--text);
}

/* MailerLite (HTML embed, custom styled) */
.ml-form-embedContainer,
.ml-form-embedWrapper,
.ml-form-embedBody,
.ml-form-embedContent{
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

.ml-form-embedContent{
  display: none;
}

.ml-form-embedBody form{
  display: block;
}

.ml-form-horizontalRow{
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: nowrap;
  margin-bottom: 0.75rem;
}

.ml-input-horizontal{
  flex: 1 1 auto;
}

.horizontal-fields{
  width: 100%;
}

.ml-field-group{
  width: 100%;
}

.ml-field-group input{
  width: 100%;
  background: #0b0f1c;
  color: var(--cream);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  height: 44px;
  font-size: 1rem;
  font-family: inherit;
}

.ml-button-horizontal{
  flex: 0 0 auto;
}

.ml-button-horizontal .primary{
  background: var(--link);
  color: var(--cream);
  border: 1px solid var(--link);
  border-radius: 12px;
  padding: 0.5rem 0.9rem;
  height: 44px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
}

.ml-button-horizontal .primary:hover{
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream);
}

body.theme-dark .ml-button-horizontal .primary:hover{
  color: #00003d;
  background: var(--cream);
  border-color: var(--cream);
}

.ml-button-horizontal .loading{
  display: none;
}

.ml-form-successBody{
  margin-top: 0.75rem;
}

.ml-form-successBody h4{
  margin: 0 0 0.35rem;
  color: var(--text);
  font-size: 1.1rem;
}

.ml-form-successBody p{
  margin: 0;
  color: var(--muted);
}


@media (max-width: 640px){
  .roundup-item{
    grid-template-columns: 1fr;
  }
}

/* Review content formatting */
.review-content > * + *{
  margin-top: var(--space-2);
}

.review-content h2{
  margin-top: var(--space-4);
}

.review-content blockquote{
  margin: var(--space-3) 0;
  padding: 0.9rem 1rem;
  background: rgba(31,42,68,0.05);
  border-left: 4px solid var(--navy);
  border-radius: 10px;
  color: var(--text);
}

.review-content ul{
  padding-left: 1.2rem;
}

/* =========================
   Homepage Review Cards
   ========================= */

.review-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.1s ease, box-shadow 0.2s ease;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  text-decoration: none !important;
}

.review-card img {
  width: 70px;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.review-card-content {
  flex: 1;
}

.review-card-title {
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

.review-card-author {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.review-card-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.review-card-rating .stars {
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.review-card-rating .rating-number {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

.review-card-quicktake {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.35;
}


/* =========================
   Footer
   ========================= */
.site-footer{
  border-top: 2px solid var(--navy);
  padding: var(--space-3) 0;
  color: var(--muted);
  font-size: 0.95rem;
  background: rgba(255,255,255,0.7);
  text-align: center;
}

.footer-socials{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: var(--space-2);
}

.footer-socials a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-weight: 600;
  border-bottom: none;
  transition: transform 0.12s ease, background 0.2s ease;
}

.footer-socials a:hover{
  background: rgba(242,66,54,0.12);
  transform: translateY(-1px);
}

.footer-socials img{
  width: 22px;
  height: 22px;
  display: block;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 720px){
  main{ padding: var(--space-4) 0; }
  .hero{ padding: var(--space-4) 0 var(--space-3); }
  .content-search{ margin-top: calc(-1 * var(--space-3)); }

  .review{
    padding: var(--space-3);
  }

  .review-header{
    grid-template-columns: 1fr;
  }

  .review-cover{
    width: 220px;   /* still capped */
    max-width: 65vw;
  }

  .about-section-grid{
    grid-template-columns: 1fr;
  }

  .about-section-left{
    justify-self: center;
  }

  .about-photo{
    height: auto;
  }
}

@media (max-width: 860px){
  .nav-toggle-label{
    display: flex;
    margin-left: auto;
  }

  .nav-actions{
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem;
    width: min(260px, 25vw);
    min-width: 200px;
    background: rgba(255,255,255,0.98);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    z-index: 10;
  }

  .nav-links{
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .nav-links a{
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
  }

  .nav-links a:hover{
    background: rgba(242,66,54,0.12);
  }

  .nav-toggle:checked ~ .nav-actions{
    display: flex;
  }

  .theme-toggle{
    margin-left: 0;
    width: 62px;
    height: 34px;
  }

  .nav-actions .theme-toggle{
    margin-left: 0.75rem;
    margin-bottom: 0.35rem;
  }
}

@media (max-width: 720px){
  .content-search-input{
    min-height: 44px;
  }

  .content-search-link{
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0.7rem 0.8rem;
  }

  .shop-cta{
    width: 100%;
    text-align: center;
  }

  .shop-carousel-shell{
    max-width: 100%;
    padding: 0 2.1rem;
  }

  .shop-carousel-prev{
    left: 0;
  }

  .shop-carousel-next{
    right: 0;
  }
}

@media (max-width: 980px){
  .about-section-grid{
    grid-template-columns: 1fr;
  }

  .about-section-left{
    justify-self: center;
  }

  .about-photo{
    height: auto;
  }
}

/* =========================
   Dark mode
   ========================= */
@media (prefers-color-scheme: dark){
  :root{
    --bg: #0b0f1c;
    --surface: #14192f;
    --text: #e8ecf7;
    --muted: #9aa3b5;
    --border: rgba(255,255,255,0.12);
    --navy: #e5e9ff;
    --navy-soft: #c7cde6;
    --shadow: 0 12px 30px rgba(0,0,0,0.45);
  }

  body{
    background-color: var(--bg);
    background-image:
      radial-gradient(900px 360px at 50% -140px, rgba(255,255,255,0.1), transparent 70%),
      radial-gradient(1300px 520px at 18% -220px, rgba(242,66,54,0.1), transparent 70%),
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.22'/%3E%3C/svg%3E");
    background-repeat: no-repeat, no-repeat, repeat;
    background-size: auto, auto, 180px 180px;
  }

  .site-header{
    background: rgba(11,15,28,0.9);
  }

  .site-footer{
    background: rgba(11,15,28,0.7);
  }

  .nav-actions{
    background: rgba(11,15,28,0.98);
  }

  h1,
  h2,
  h3,
  .nav-links a{
    color: var(--cream);
  }

  .theme-toggle{
    background: rgba(20,25,47,0.8);
    color: var(--cream);
    border-color: rgba(255,255,255,0.18);
  }

  .review-content blockquote{
    background: rgba(255,255,255,0.06);
  }

  .footer-socials img{
    filter: invert(1) brightness(1.2);
  }
}

body.theme-dark{
  --bg: #0b0f1c;
  --surface: #14192f;
  --text: #e8ecf7;
  --muted: #9aa3b5;
  --border: rgba(255,255,255,0.12);
  --navy: #e5e9ff;
  --navy-soft: #c7cde6;
  --shadow: 0 12px 30px rgba(0,0,0,0.45);
}

body.theme-dark{
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 360px at 50% -140px, rgba(255,255,255,0.1), transparent 70%),
    radial-gradient(1300px 520px at 18% -220px, rgba(242,66,54,0.1), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.22'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: auto, auto, 180px 180px;
}

body.theme-dark .site-header{
  background: rgba(11,15,28,0.9);
}

body.theme-dark .site-footer{
  background: rgba(11,15,28,0.7);
}

body.theme-dark .nav-links{
  background: rgba(11,15,28,0.98);
}

body.theme-dark .nav-actions{
  background: rgba(11,15,28,0.98);
}

body.theme-dark .review-content blockquote{
  background: rgba(255,255,255,0.06);
}

body.theme-dark .footer-socials img{
  filter: invert(1) brightness(1.2);
}

body.theme-dark h1,
body.theme-dark h2,
body.theme-dark h3,
body.theme-dark .nav-links a{
  color: var(--cream);
}

body.theme-dark .theme-toggle{
  background: rgba(20,25,47,0.8);
  color: var(--cream);
  border-color: rgba(255,255,255,0.18);
}

body.theme-dark .amazon-button,
body.theme-dark .bookshop-button{
  box-shadow: 0 8px 20px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.06);
}

body.theme-light{
  --bg: #f7f8fb;
  --surface: #ffffff;
  --text: #00003d;
  --muted: #7E8287;
  --border: rgba(31,42,68,0.14);
  --navy: #00003d;
  --navy-soft: #2e3b5c;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

body.theme-light{
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 360px at 50% -140px, rgba(0,0,61,0.18), transparent 70%),
    radial-gradient(1300px 520px at 18% -220px, rgba(242,66,54,0.09), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.28'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: auto, auto, 180px 180px;
}

body.theme-light .site-header{
  background: rgba(255,255,255,0.9);
}

body.theme-light .site-footer{
  background: transparent;
}

body.theme-light .nav-links{
  background: rgba(255,255,255,0.98);
}

body.theme-light .nav-actions{
  background: rgba(255,255,255,0.98);
}

body.theme-light .review-content blockquote{
  background: transparent;
}

body.theme-light .amazon-button,
body.theme-light .bookshop-button,
body.theme-light .shop-cta,
body.theme-light .amazon-button:hover,
body.theme-light .bookshop-button:hover,
body.theme-light .shop-cta:hover{
  color: var(--navy) !important;
}

body.theme-light .footer-socials img{
  filter: none;
}

body.theme-light h1,
body.theme-light h2,
body.theme-light h3,
body.theme-light .nav-links a{
  color: var(--text);
}

body.theme-dark .nav-links a:hover,
body.theme-light .nav-links a:hover{
  color: var(--link);
}
