/* ============================================================================
   LC's 30th Birthday Weekend — styles
   Cute, quirky, summery Hudson Valley vibe.
   ============================================================================ */

:root {
  --peach: #ffd9b3;
  --coral: #ff7a59;
  --coral-deep: #e85d3d;
  --butter: #fff3c4;
  --sage: #a8c69f;
  --sage-deep: #6f9f6a;
  --plum: #5a4456;
  --cream: #fffaf2;
  --ink: #3a2e33;
  --ink-soft: #6b5b62;
  --line: #efe2d2;
  --shadow: 0 10px 30px rgba(90, 68, 86, 0.12);
  --shadow-sm: 0 4px 14px rgba(90, 68, 86, 0.1);
  --radius: 22px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--ink);
  background-color: var(--cream);
  background-image: radial-gradient(var(--peach) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

#app {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(20px, 5vw, 48px) clamp(16px, 4vw, 28px) 80px;
}

/* ---------- Hero / home header ---------- */
.hero {
  text-align: center;
  padding: 18px 0 28px;
}

.hero .kicker {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: var(--coral-deep);
  background: var(--butter);
  padding: 6px 14px;
  border-radius: 999px;
  border: 2px dashed var(--coral);
  transform: rotate(-2deg);
}

.hero h1 {
  font-family: "Fraunces", serif;
  font-weight: 800;
  font-size: clamp(2.3rem, 7vw, 3.6rem);
  line-height: 1.05;
  margin: 18px 0 10px;
  color: var(--plum);
}

.hero h1 .turn {
  color: var(--coral-deep);
  font-style: italic;
}

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

.hero .sprinkles {
  font-size: 1.6rem;
  margin-top: 14px;
  letter-spacing: 0.3em;
}

/* ---------- Day sections ---------- */
.day {
  margin-top: 38px;
}

.day-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.day-head .day-emoji {
  font-size: 1.8rem;
}

.day-head h2 {
  font-family: "Fraunces", serif;
  font-size: 1.9rem;
  color: var(--plum);
}

.day-head .day-sub {
  color: var(--ink-soft);
  font-style: italic;
  font-size: 0.95rem;
}

/* ---------- Meal block ---------- */
.meal {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.meal-type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--sage-deep);
  margin-bottom: 12px;
}

.items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

/* A meal item that links to a recipe */
a.item,
.item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
  border: 2px solid transparent;
}

a.item {
  background: var(--cream);
  border-color: var(--line);
  transition: transform 0.12s ease, border-color 0.12s ease,
    background 0.12s ease;
  cursor: pointer;
}

a.item:hover {
  transform: translateY(-2px) rotate(-0.4deg);
  border-color: var(--coral);
  background: #fff;
}

.item .item-emoji {
  font-size: 1.35rem;
  flex: none;
}

.item .arrow {
  margin-left: auto;
  color: var(--coral);
  font-weight: 900;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.12s ease;
}

a.item:hover .arrow {
  opacity: 1;
  transform: translateX(0);
}

.item.plain {
  color: var(--ink-soft);
  font-weight: 600;
}

.item.plain .dot {
  color: var(--sage);
  font-size: 1.3rem;
  line-height: 1;
  flex: none;
}

.item .note {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.item .recipe-tag {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--coral-deep);
  background: var(--butter);
  padding: 3px 9px;
  border-radius: 999px;
  flex: none;
}

a.item:hover .recipe-tag {
  display: none;
}

/* ---------- Footer ---------- */
.foot {
  text-align: center;
  margin-top: 50px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.foot .heart {
  color: var(--coral);
}

/* ============================================================================
   Recipe page
   ============================================================================ */

.back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-weight: 800;
  color: var(--coral-deep);
  background: #fff;
  border: 2px solid var(--line);
  padding: 9px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s ease;
}

.back:hover {
  transform: translateX(-3px);
}

.recipe-hero {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
  border: 2px solid var(--line);
}

.recipe-hero .banner {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  background: linear-gradient(135deg, var(--peach), var(--butter));
}

.recipe-hero img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.recipe-hero .body {
  background: #fff;
  padding: 22px 24px;
}

.recipe-hero h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  color: var(--plum);
  line-height: 1.1;
}

.recipe-hero .source {
  color: var(--ink-soft);
  font-style: italic;
  margin-top: 4px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.meta .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cream);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 700;
  font-size: 0.9rem;
}

.callout {
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 0.96rem;
}

.callout.note {
  background: var(--cream);
  border: 2px solid var(--line);
  color: var(--ink-soft);
  font-style: italic;
}

.callout.flag {
  background: #fff4ef;
  border: 2px dashed var(--coral);
  color: var(--coral-deep);
  font-weight: 700;
}

.callout.do-ahead {
  background: #f1f6ee;
  border: 2px solid var(--sage);
  color: var(--sage-deep);
}

.callout strong {
  display: block;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.74rem;
}

.section-title {
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  color: var(--coral-deep);
  margin: 28px 0 12px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.card {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}

.ing-group-head {
  font-weight: 800;
  color: var(--sage-deep);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  margin: 14px 0 8px;
}
.ing-group-head:first-child {
  margin-top: 0;
}

ul.ingredients {
  list-style: none;
}

ul.ingredients li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
}
ul.ingredients li:last-child {
  border-bottom: none;
}

ul.ingredients li::before {
  content: "▢";
  color: var(--coral);
  font-size: 1rem;
  line-height: 1.5;
  flex: none;
}

ol.steps {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

ol.steps li {
  counter-increment: step;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

ol.steps li::before {
  content: counter(step);
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-family: "Fraunces", serif;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

ol.steps li p {
  padding-top: 4px;
}

.placeholder-box {
  text-align: center;
  padding: 40px 24px;
}
.placeholder-box .big {
  font-size: 3rem;
}

@media (max-width: 560px) {
  .day-head {
    flex-wrap: wrap;
    gap: 6px;
  }
  .recipe-hero img {
    height: 190px;
  }
}
