/* ============================================================
   A SALTY PIECE OF LIME — design system
   Sun-faded lime · sea salt white · warm sand · zero corporate
   ============================================================ */

:root {
  --salt:        #FBF8EE;   /* sea salt white */
  --salt-deep:   #F3EDDA;   /* aged paper */
  --sand:        #EBD9AE;   /* warm sand */
  --sand-deep:   #DEBE7E;
  --lime:        #30A848;   /* logo lime green */
  --lime-faded:  #78C078;   /* logo mid green */
  --lime-pale:   #D8F0C0;   /* logo pale lime */
  --lime-deep:   #006030;   /* logo deep green */
  --ink:         #004830;   /* logo darkest green */
  --ink-soft:    #186030;
  --sea:         #006030;   /* logo deep green */
  --sea-deep:    #004830;
  --chili:       #C2452D;   /* chili accent (spicy recipes only) */
  --sun:         #C9D227;   /* logo yellow-green */

  --font-display: "Shrikhand", "Georgia", serif;
  --font-body: "Karla", "Helvetica Neue", Arial, sans-serif;
  --font-hand: "Caveat", cursive;

  --radius: 18px;
  --shadow-hard: 7px 7px 0 var(--ink);
  --shadow-hard-sm: 4px 4px 0 var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.075rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--salt);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Subtle film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2000;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  margin: 0 0 .5em;
  letter-spacing: .01em;
}

p { margin: 0 0 1.1em; }

a { color: var(--sea); }
a:hover { color: var(--sea-deep); }

::selection { background: var(--lime); color: var(--ink); }

:focus-visible {
  outline: 3px dashed var(--chili);
  outline-offset: 3px;
}

.container {
  width: min(1080px, 92vw);
  margin-inline: auto;
}

.container--narrow { width: min(760px, 92vw); margin-inline: auto; }

/* ---------------- Header / nav ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 238, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-logo { width: 52px; height: 36px; object-fit: contain; flex: none; border-radius: 8px; background: #fff; padding: 2px; box-shadow: var(--shadow-hard-sm); }

.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.1;
  max-width: 12ch;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1rem;
  position: relative;
  padding: .2rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 4px;
  border-radius: 4px;
  background: var(--lime);
  transition: right .25s ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { right: 0; }

.nav-toggle {
  display: none;
  background: var(--lime-pale);
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: var(--shadow-hard-sm);
  padding: .45rem .6rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 800;
  color: var(--ink);
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(1100px 500px at 85% -10%, var(--lime-pale) 0%, transparent 60%),
    radial-gradient(900px 480px at 8% 110%, var(--sand) 0%, transparent 55%),
    var(--salt);
  border-bottom: 2px solid var(--ink);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}

.kicker {
  display: inline-block;
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--salt);
  padding: .45rem 1rem .35rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
  transform: rotate(-2deg);
}

.hero h1 {
  font-size: clamp(2.9rem, 8.5vw, 6rem);
  margin-bottom: .35em;
  text-wrap: balance;
}

.hero h1 .word-lime {
  color: var(--lime-deep);
  text-shadow: 3px 3px 0 var(--lime-pale);
}

.tagline {
  font-family: var(--font-hand);
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  color: var(--sea);
  margin-bottom: 1.4rem;
  transform: rotate(-1deg);
  display: inline-block;
}

.hero-copy { font-size: 1.15rem; max-width: 46ch; color: var(--ink-soft); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }

/* Rotating badge */
.hero-art { display: flex; justify-content: center; position: relative; }

.badge {
  width: clamp(220px, 28vw, 340px);
  height: auto;
  animation: spin 26s linear infinite;
  filter: drop-shadow(6px 6px 0 rgba(44, 54, 29, .9));
}

@keyframes spin { to { transform: rotate(360deg); } }

.float-wedge {
  position: absolute;
  animation: floaty 6s ease-in-out infinite;
  filter: drop-shadow(3px 4px 0 rgba(44,54,29,.25));
}
.float-wedge.w1 { width: 74px; top: 2%; left: 6%; animation-delay: -2s; }
.float-wedge.w2 { width: 54px; bottom: 8%; right: 4%; animation-delay: -4s; transform: rotate(24deg); }

@keyframes floaty {
  0%, 100% { translate: 0 0; rotate: -6deg; }
  50%      { translate: 0 -16px; rotate: 8deg; }
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-block;
  font-weight: 800;
  font-size: 1.02rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: .8rem 1.7rem;
  box-shadow: var(--shadow-hard-sm);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); background: var(--lime-faded); color: var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

.btn--salt { background: var(--salt); }
.btn--salt:hover { background: #fff; }
.btn--chili { background: var(--chili); color: var(--salt); }
.btn--chili:hover { background: #d4543a; color: var(--salt); }

/* ---------------- Marquee ---------------- */
.marquee {
  background: var(--sea);
  color: var(--salt);
  border-block: 2px solid var(--ink);
  overflow: hidden;
  white-space: nowrap;
  padding: .85rem 0;
  transform: rotate(-1.2deg) scale(1.02);
  margin-block: 0;
}

.marquee-track {
  display: inline-block;
  animation: marquee 24s linear infinite;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: .06em;
}

.marquee-track span { margin: 0 1.4rem; }
.marquee-track .dot { color: var(--lime); }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- Sections ---------------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }

.section--sand { background: var(--salt-deep); border-block: 2px solid var(--ink); }
.section--limewash { background: linear-gradient(var(--lime-pale), var(--salt) 90%); }

.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: .3em;
}

.section-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 60ch;
  margin-bottom: 2.4rem;
}

.squiggle { position: relative; display: inline-block; }
.squiggle > svg {
  position: absolute;
  left: 0; right: 0;
  bottom: -.35em;
  width: 100%;
  height: .45em;
}

/* ---------------- Cards ---------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  padding: 1.8rem 1.6rem;
  text-decoration: none;
  color: var(--ink);
  transition: transform .18s ease, box-shadow .18s ease;
  position: relative;
}

.card:nth-child(2) { transform: rotate(1.2deg); background: var(--lime-pale); }
.card:nth-child(3) { transform: rotate(-1deg); background: var(--salt-deep); }

.card:hover { transform: translate(-3px, -4px) rotate(0deg); box-shadow: 10px 11px 0 var(--ink); }

.card-icon { width: 58px; height: 58px; margin-bottom: 1rem; }

.card h3 { font-size: 1.55rem; margin-bottom: .4em; }

.card p { color: var(--ink-soft); font-size: 1rem; margin-bottom: 1.2rem; flex: 1; }

.card-link {
  font-weight: 800;
  color: var(--chili);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.card:hover .card-link { gap: .7rem; }
.card-link { transition: gap .18s ease; }

/* ---------------- Manifesto ---------------- */
.tenets { counter-reset: tenet; list-style: none; margin: 2.5rem 0; padding: 0; display: grid; gap: 1.6rem; }

.tenet {
  counter-increment: tenet;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard-sm);
  padding: 1.5rem 1.6rem 1.5rem 5.2rem;
  position: relative;
}

.tenet:nth-child(even) { background: var(--lime-pale); transform: rotate(.6deg); }
.tenet:nth-child(odd) { transform: rotate(-.6deg); }

.tenet::before {
  content: counter(tenet, decimal-leading-zero);
  position: absolute;
  left: 1.2rem; top: 1.1rem;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--chili);
}

.tenet h3 { font-size: 1.4rem; margin-bottom: .3em; }
.tenet p { margin: 0; color: var(--ink-soft); }

.pull {
  font-family: var(--font-hand);
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  color: var(--sea);
  text-align: center;
  margin: 3rem auto;
  max-width: 26ch;
  transform: rotate(-1.5deg);
}

/* ---------------- Recipes ---------------- */
.recipe-index {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-bottom: 3rem;
  list-style: none;
  padding: 0;
}

.recipe-index a {
  text-decoration: none;
  font-weight: 800;
  font-size: .95rem;
  color: var(--ink);
  background: var(--salt);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: .5rem 1.1rem;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}

.recipe-index a:hover { transform: translate(-1px, -2px); box-shadow: 4px 5px 0 var(--ink); background: var(--lime-pale); }

.recipe {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 22px;
  box-shadow: var(--shadow-hard);
  padding: clamp(1.6rem, 4vw, 2.8rem);
  margin-bottom: 3rem;
  scroll-margin-top: 110px;
}

.recipe:nth-of-type(even) { background: var(--salt-deep); }

.recipe-head { display: flex; gap: 1.2rem; align-items: flex-start; margin-bottom: .6rem; }

.recipe-photo { margin: 0 0 1.2rem; border: 2px solid var(--ink); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-hard); transform: rotate(-.6deg); aspect-ratio: 16 / 10; }
.recipe:nth-of-type(even) .recipe-photo { transform: rotate(.6deg); }
.recipe-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

.recipe-num {
  flex: none;
  font-family: var(--font-display);
  font-size: 1.1rem;
  background: var(--chili);
  color: var(--salt);
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 2px solid var(--ink);
  transform: rotate(-8deg);
}

.recipe h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: .15em; }

.recipe-kind {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--lime-deep);
}

.house-rating {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: .45rem 0 0;
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.house-rating .stars {
  position: relative;
  display: inline-block;
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: .06em;
  color: var(--sand-deep);
}

.house-rating .stars::before { content: "★★★★★"; }

.house-rating .stars .fill {
  position: absolute;
  inset: 0;
  width: calc(var(--r, 5) / 5 * 100%);
  overflow: hidden;
  white-space: nowrap;
  color: #E8A020;
}

.house-rating .stars .fill::before { content: "★★★★★"; }

.house-rating .rating-text strong { color: var(--ink); }

.headnote {
  font-family: var(--font-hand);
  font-size: 1.45rem;
  color: var(--sea);
  margin: 1rem 0 1.4rem;
  max-width: 56ch;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 1.6rem;
}

.meta li {
  list-style: none;
  font-size: .92rem;
  font-weight: 700;
  background: var(--lime-pale);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: .3rem .95rem;
}

.recipe-cols { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.2rem; }

.recipe h3 {
  font-size: 1.25rem;
  margin-bottom: .7em;
  text-decoration: underline wavy var(--lime) 2px;
  text-underline-offset: 6px;
}

.ingredients { margin: 0; padding: 0; list-style: none; }
.ingredients li {
  padding: .5rem 0 .5rem 1.8rem;
  border-bottom: 1px dashed var(--sand-deep);
  position: relative;
  font-size: 1rem;
}
.ingredients li::before {
  content: "";
  position: absolute;
  left: .2rem; top: .95rem;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--lime);
  border: 2px solid var(--ink);
}

.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.1rem 3rem;
  font-size: 1.02rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: .1rem;
  width: 2rem; height: 2rem;
  display: grid; place-items: center;
  font-weight: 800; font-size: .95rem;
  background: var(--sun);
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.recipe-tip {
  margin-top: 1.6rem;
  background: var(--ink);
  color: var(--salt);
  border-radius: 14px;
  padding: 1.1rem 1.4rem;
  font-size: .98rem;
}
.recipe-tip strong { color: var(--lime-faded); }

/* ---------------- Salty Takes ---------------- */
.take {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 22px;
  box-shadow: var(--shadow-hard);
  padding: clamp(1.6rem, 4vw, 2.8rem);
  margin-bottom: 3rem;
  scroll-margin-top: 110px;
}

.take:nth-of-type(even) { transform: rotate(.5deg); background: var(--salt-deep); }
.take:nth-of-type(odd) { transform: rotate(-.5deg); }

.take-kicker {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--chili);
  margin-bottom: .6rem;
}

.take h2 { font-size: clamp(1.8rem, 4.4vw, 2.7rem); margin-bottom: .5em; text-wrap: balance; }
.take .standfirst { font-size: 1.12rem; color: var(--ink-soft); font-style: italic; margin-bottom: 1.2rem; }
.take p { max-width: 68ch; }
.take-signoff {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  color: var(--sea);
  margin-top: 1.4rem;
  margin-bottom: 0;
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--ink);
  color: var(--salt);
  border-top: 2px solid var(--ink);
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
}

.footer-brand { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: .4rem; }
.footer-tag { font-family: var(--font-hand); font-size: 1.35rem; color: var(--lime-faded); margin: 0; }

.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; justify-items: end; }
.footer-nav a { color: var(--salt); text-decoration: none; font-weight: 700; }
.footer-nav a:hover { color: var(--lime-faded); text-decoration: underline wavy var(--lime) 2px; text-underline-offset: 4px; }

.footer-fine {
  border-top: 1px solid rgba(251, 248, 238, .25);
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  font-size: .9rem;
  color: rgba(251, 248, 238, .75);
}

/* ---------------- Reveal on scroll ---------------- */
.reveal { opacity: 0; translate: 0 26px; transition: opacity .7s ease, translate .7s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; translate: none; transition: none; }
  .badge, .marquee-track, .float-wedge { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .badge { width: 200px; }
  .cards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .card:nth-child(2), .card:nth-child(3) { transform: rotate(0deg); }
  .recipe-cols { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { justify-items: start; }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--salt);
    border-bottom: 2px solid var(--ink);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 4vw 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: .8rem .2rem; border-bottom: 1px dashed var(--sand-deep); }
  .nav-links a::after { display: none; }
  .nav { position: relative; }
}

/* ---------- Share row ---------- */
.share-row {
  margin-top: 1.75rem;
  padding: 1rem 1.25rem;
  background: var(--lime-pale);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard-sm);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}
.share-label {
  font-weight: 800;
  color: var(--ink);
  font-size: 1.02rem;
}
.share-btns { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.share-btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--salt);
  background: var(--lime-deep);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, background 0.12s ease;
}
.share-btn:hover { background: var(--sea-deep); transform: translateY(-2px); }
.share-btn:active { transform: translateY(0); }
.share-btn[data-share-native][hidden] { display: none; }

/* ---------- Reader reviews ---------- */
.reviews {
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: var(--salt-deep);
  border: 2px dashed var(--sand-deep);
  border-radius: var(--radius);
}
.reviews > h3 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}
.reviews-empty { color: var(--ink-soft); font-style: italic; margin: 0.25rem 0 0.75rem; }
.reviews-list { display: grid; gap: 0.75rem; margin: 0.75rem 0 1.25rem; }
.review-card {
  background: var(--salt);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  box-shadow: 3px 3px 0 var(--ink);
}
.review-card .review-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.6rem;
  margin-bottom: 0.25rem;
}
.review-card .review-name { font-weight: 800; color: var(--ink); }
.review-card .review-date { color: var(--ink-soft); font-size: 0.82rem; }
.review-card .review-text { margin: 0.25rem 0 0; color: var(--ink); }
.review-card .stars { font-size: 0.95rem; }
.review-form h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
}
.review-stars {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.15rem;
  margin-bottom: 0.6rem;
}
.review-stars input { position: absolute; opacity: 0; pointer-events: none; }
.review-stars label {
  font-size: 1.7rem;
  color: var(--sand-deep);
  cursor: pointer;
  line-height: 1;
}
.review-stars label:hover,
.review-stars label:hover ~ label,
.review-stars input:checked ~ label { color: #E8A020; }
.review-form input[type="text"],
.review-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--salt);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 0.6rem 0.8rem;
  margin-bottom: 0.6rem;
}
.review-form textarea { resize: vertical; min-height: 4.5rem; }
.review-form input:focus, .review-form textarea:focus {
  outline: 3px solid var(--lime-faded);
  outline-offset: 1px;
}
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0; }
.review-msg { margin: 0.5rem 0 0; font-weight: 700; color: var(--ink); }
.review-msg.error { color: var(--chili); }

/* ============================================================
   NEWSLETTER — The Salty Dispatch
   ============================================================ */
.newsletter {
  background: linear-gradient(135deg, var(--ink) 0%, var(--lime-deep) 70%, var(--sea) 100%);
  color: var(--salt);
  border-top: 4px solid var(--ink);
}
.newsletter .section-title { color: var(--salt); text-shadow: 3px 3px 0 rgba(0,0,0,0.25); }
.newsletter .section-sub { color: var(--salt-deep); }
.newsletter .kicker { background: var(--lime-pale); color: var(--ink); }
.newsletter-form {
  display: flex;
  gap: 0.6rem;
  max-width: 34rem;
  margin: 1.25rem auto 0;
}
.newsletter-form input[type="email"],
.newsletter-form input[type="text"] {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--salt);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
}
.newsletter-form input:focus { outline: 3px solid var(--lime-faded); outline-offset: 1px; }
.newsletter-form .share-btn { flex: 0 0 auto; white-space: nowrap; cursor: pointer; }
.newsletter-msg { margin: 0.75rem auto 0; max-width: 34rem; font-weight: 700; color: var(--salt); }
.newsletter-msg.error { color: #FFB59E; }
@media (max-width: 560px) {
  .newsletter-form { flex-direction: column; }
  .newsletter-form .share-btn { width: 100%; }
}

/* ============================================================
   LEADERBOARD — The Saltiest Scores
   ============================================================ */
.leaderboard { margin: 1.5rem 0 2.5rem; }
.leaderboard-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.leader-card {
  background: var(--salt);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard-sm);
  padding: 1rem 1.1rem;
  display: flex;
  gap: 0.9rem;
  align-items: center;
}
.leader-card:nth-child(odd) { background: var(--lime-pale); }
.leader-rank {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--lime-deep);
  min-width: 2.2rem;
  text-align: center;
}
.leader-card:first-child .leader-rank { color: var(--chili); }
.leader-card a { color: var(--ink); font-weight: 800; text-decoration: none; }
.leader-card a:hover { text-decoration: underline; }
.leader-card .stars { color: #E8A020; letter-spacing: 0.1em; font-size: 0.95rem; }
.leader-card .leader-meta { display: block; font-size: 0.85rem; color: var(--ink-soft); }
.leaderboard-empty {
  background: var(--salt-deep);
  border: 3px dashed var(--ink-soft);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1rem 0 0;
  font-weight: 700;
  color: var(--ink);
}
.leaderboard-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.75rem; }

/* ============================================================
   HOLIDAY KIT CARDS
   ============================================================ */
.kit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.kit-card {
  background: var(--salt);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard-sm);
  padding: 1.25rem 1.35rem;
}
.kit-card:nth-child(2) { transform: rotate(1.2deg); background: var(--lime-pale); }
.kit-card h3 { font-family: var(--font-display); color: var(--ink); margin: 0.5rem 0 0.5rem; font-size: 1.35rem; }
.kit-card h3 a { color: inherit; text-decoration: none; }
.kit-card h3 a:hover { text-decoration: underline; }
.kit-card p { margin: 0 0 0.9rem; color: var(--ink); }
.kit-card .card-link { font-weight: 800; color: var(--chili); }
.kit-card .drop-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--sun);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
}

/* ============================================================
   WATCH — video grid
   ============================================================ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.video-card {
  background: var(--salt);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard-sm);
  overflow: hidden;
}
.video-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  background: var(--ink);
}
.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-body { padding: 1rem 1.15rem 1.2rem; }
.video-body h3 { font-family: var(--font-display); margin: 0 0 0.35rem; font-size: 1.25rem; color: var(--ink); }
.video-body p { margin: 0 0 0.7rem; font-size: 0.98rem; }
.video-body .card-link { font-weight: 800; color: var(--lime-deep); }

/* ============ Recipe finder ============ */
.finder {
  margin: 2.75rem 0;
  padding: 1.5rem 1.5rem 1.25rem;
  border-radius: var(--radius);
  background: var(--salt-deep);
  border: 2px solid var(--sand);
  box-shadow: var(--shadow-hard-sm);
}
.finder-kicker {
  font-family: var(--font-hand);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.85rem;
}
.finder-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  align-items: center;
}
.finder-row:last-child { margin-bottom: 0; }
.finder-btn {
  cursor: pointer;
}
.finder-btn.is-active {
  background: var(--lime-deep);
  border-color: var(--lime-deep);
  color: #fff;
}
.finder-actions { justify-content: space-between; }
.finder-surprise {
  cursor: pointer;
  font-weight: 800;
  background: var(--sun);
  border-color: var(--lime-deep);
  color: var(--ink);
}
.finder-count {
  margin: 0;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--ink-soft);
}
article.recipe[hidden] { display: none !important; }
article.recipe.finder-flash {
  outline: 4px solid var(--sun);
  outline-offset: 8px;
}
