@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Manrope:wght@400;500;600;700;800&family=DM+Mono:wght@400;500&display=swap');

:root {
  --sky: #F4FBFF;
  --peach: #FFF3E8;
  --panel: #FFFFFF;
  --panel-line: rgba(22, 40, 58, 0.12);
  --navy: #16283A;
  --gold: #D8A73D;
  --gold-bright: #E9BE5E;
  --mint: #7FD3BE;
  --mist: #52697F;
  --cream: #FAF6EC;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--sky);
  color: var(--navy);
  font-family: 'Manrope', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #B8863A;
}

.display {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.01em;
  color: var(--navy);
}

/* ---------- Confetti overlay ---------- */

#confetti-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
}

/* ---------- Side nav dots (desktop) ---------- */

.side-nav {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.side-nav a {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(22, 40, 58, 0.28);
  display: block;
  transition: background 0.25s, transform 0.25s;
}
.side-nav a.active {
  background: var(--gold);
  transform: scale(1.35);
}
@media (max-width: 860px) { .side-nav { display: none; } }

/* ---------- Section skeleton ---------- */

section {
  position: relative;
  padding: 110px 0;
}
section.bg-sky { background: var(--sky); }
section.bg-peach { background: var(--peach); }

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}
.section-heading .display { font-size: clamp(2rem, 4.5vw, 2.8rem); margin-top: 10px; }
.section-heading p { color: var(--mist); margin-top: 14px; font-size: 1.05rem; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- HERO (deliberately dark/photo — needs a scrim regardless of theme) ---------- */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 40px 24px;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(216,178,92,0.20), transparent 55%),
    radial-gradient(ellipse at 15% 110%, rgba(127,211,190,0.14), transparent 45%),
    linear-gradient(180deg, #0E2038 0%, #16324F 55%, #123049 100%);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero.has-photo { background-image: var(--hero-photo), none; background-size: cover; background-position: center; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,20,36,0.55) 0%, rgba(10,20,36,0.35) 40%, rgba(10,20,36,0.72) 100%);
  z-index: 1;
}

.hero-inner { position: relative; z-index: 2; max-width: 800px; }

.hero .eyebrow { display: block; margin-bottom: 22px; color: var(--gold-bright); }

.hero-title {
  font-size: clamp(3.2rem, 11vw, 6.8rem);
  color: var(--cream);
}
.hero-title em {
  font-style: italic;
  color: var(--gold-bright);
}

.hero-tagline {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: #D7E4F0;
  margin-top: 18px;
  font-weight: 500;
}

.countdown {
  margin-top: 54px;
  display: flex;
  gap: clamp(10px, 3vw, 28px);
  justify-content: center;
  flex-wrap: wrap;
}
.countdown .unit { text-align: center; min-width: 78px; }
.countdown .num {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  color: var(--cream);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.countdown .label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #B7C6D6;
  margin-top: 6px;
  display: block;
}
.countdown .colon { font-family: 'Fraunces', serif; font-size: clamp(1.8rem, 5vw, 2.6rem); color: rgba(255,255,255,0.25); align-self: center; }

.hero-bg-note {
  position: absolute;
  z-index: 3;
  bottom: 18px;
  right: 20px;
  font-family: 'DM Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.55);
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 6px 10px;
  border-radius: 20px;
}

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #B7C6D6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-cue .line {
  width: 1px; height: 34px;
  background: linear-gradient(var(--gold-bright), transparent);
  animation: scrollpulse 2s ease-in-out infinite;
}
@keyframes scrollpulse { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

/* ---------- MILESTONES ---------- */

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(var(--panel-line), var(--gold), var(--panel-line));
  transform: translateX(-50%);
}

.m-item {
  position: relative;
  width: 50%;
  padding: 0 48px 64px;
}
.m-item:nth-child(odd) { left: 0; }
.m-item:nth-child(even) { left: 50%; }

.m-dot {
  position: absolute;
  top: 4px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(216,167,61,0.18);
}
.m-item:nth-child(odd) .m-dot { right: -6.5px; }
.m-item:nth-child(even) .m-dot { left: -6.5px; }

.m-card { display: flex; align-items: flex-start; gap: 14px; }
.m-item:nth-child(odd) .m-card { flex-direction: row-reverse; text-align: right; }
.m-item:nth-child(even) .m-card { flex-direction: row; text-align: left; }

.m-thumb {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 6px 16px rgba(22,40,58,0.12);
}
.m-thumb img { width: 100%; height: 100%; object-fit: cover; }
.m-thumb .placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, var(--peach), #fff);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--gold);
}

.m-date {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #B8863A;
}
.m-title {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 6px 0 6px;
  color: var(--navy);
}
.m-detail { color: var(--mist); font-size: 0.96rem; }

@media (max-width: 720px) {
  .timeline::before { left: 12px; }
  .m-item, .m-item:nth-child(odd), .m-item:nth-child(even) {
    width: 100%; left: 0; padding: 0 0 48px 42px;
  }
  .m-item:nth-child(odd) .m-dot, .m-item:nth-child(even) .m-dot { left: 6px; right: auto; }
  .m-item:nth-child(odd) .m-card, .m-item:nth-child(even) .m-card { flex-direction: row; text-align: left; }
}

/* ---------- MEMORIES (single-photo carousel) ---------- */

.carousel {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.car-frame {
  position: relative;
  flex: 1;
  height: min(70vh, 620px);
  border-radius: 20px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  box-shadow: 0 24px 50px rgba(22,40,58,0.10);
}

.car-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.6s ease;
  background: var(--panel);
}
.car-slide.active { opacity: 1; }

.car-slide.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mist);
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  text-align: center;
  padding: 30px;
}

.car-arrow {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--panel-line);
  background: var(--panel);
  color: var(--navy);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(22,40,58,0.08);
}
.car-arrow:hover { background: var(--peach); }

.car-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 20px;
}
.car-dots span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--panel-line);
  transition: background 0.2s, transform 0.2s;
}
.car-dots span.active { background: var(--gold); transform: scale(1.3); }

@media (max-width: 640px) {
  .carousel { gap: 10px; }
  .car-arrow { width: 38px; height: 38px; font-size: 1.1rem; }
}

/* ---------- MONTHLY PHOTO SHOOT ---------- */

.month-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  max-width: var(--max);
  margin: 0 auto;
}

@media (max-width: 720px) {
  .month-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 440px) {
  .month-grid { grid-template-columns: repeat(2, 1fr); }
}

.month-cell {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--panel-line);
}
.month-cell.has-photo { cursor: pointer; }
.month-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}
.month-cell.has-photo:hover img { transform: scale(1.06); }

.month-cell .placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, var(--peach), #fff);
  display: flex; align-items: center; justify-content: center;
  color: var(--mist);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
}

.month-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 8px 10px 7px;
  font-family: 'DM Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(0deg, rgba(0,0,0,0.55), transparent);
}
.month-cell:not(.has-photo) .month-label { color: var(--mist); background: none; position: static; padding-top: 8px; text-align: center; }

/* ---------- Lightbox (shared: memories + monthly) ---------- */

.lightbox {
  position: fixed; inset: 0;
  background: rgba(10,14,28,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 86vh; max-width: 92vw; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 26px; right: 34px;
  color: #fff; font-family: 'DM Mono', monospace;
  font-size: 13px; letter-spacing: 2px; cursor: pointer;
  text-transform: uppercase;
}

/* ---------- DETAILS ---------- */

.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  max-width: var(--max);
  margin: 0 auto;
}

.details-card {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 18px 40px rgba(22,40,58,0.06);
}
.details-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--panel-line); }
.details-row:last-child { border-bottom: none; }
.details-row .k {
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: #B8863A; width: 100px; flex-shrink: 0; padding-top: 3px;
}
.details-row .v { font-size: 1.02rem; color: var(--navy); }

.map-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--panel-line);
  min-height: 320px;
  height: 100%;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; min-height: 320px; }

.directions-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-weight: 700;
  text-decoration: none;
  color: #B8863A;
  font-size: 0.95rem;
}

@media (max-width: 860px) { .details-grid { grid-template-columns: 1fr; } }

/* ---------- SCHEDULE ---------- */

.schedule-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 20px;
  padding: 12px 36px;
  box-shadow: 0 18px 40px rgba(22,40,58,0.06);
}

.schedule-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--panel-line);
}
.schedule-item:last-child { border-bottom: none; }

.schedule-time {
  flex-shrink: 0;
  width: 108px;
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 700;
  color: #B8863A;
  padding-top: 3px;
}

.schedule-title {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 6px;
}
.schedule-detail { color: var(--mist); font-size: 0.95rem; margin: 0; }

.schedule-note {
  max-width: 780px;
  margin: 0 auto 32px;
  text-align: center;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--navy);
  background: linear-gradient(160deg, var(--peach), #fff);
  border: 1px solid var(--panel-line);
  border-radius: 16px;
  padding: 18px 28px;
}

@media (max-width: 560px) {
  .schedule-card { padding: 6px 22px; }
  .schedule-item { gap: 14px; }
  .schedule-time { width: 76px; font-size: 11.5px; }
}

/* ---------- RSVP ---------- */

.form-card {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--panel-line);
  border-radius: 20px;
  padding: 44px;
  box-shadow: 0 30px 60px rgba(22,40,58,0.10);
}

.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; margin-bottom: 7px; font-size: 0.94rem; color: var(--navy); }
.field .hint { font-size: 0.82rem; color: #8595A5; font-weight: 500; margin-top: 4px; display: block; }

input[type="text"], input[type="tel"], input[type="email"], input[type="number"], textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--panel-line);
  border-radius: 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  background: var(--sky);
  color: var(--navy);
}
input:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216,167,61,0.22); }
textarea { resize: vertical; min-height: 78px; }

.attend-toggle { display: flex; gap: 10px; }
.attend-toggle input { display: none; }
.attend-toggle label {
  flex: 1; text-align: center; padding: 13px; border-radius: 10px;
  border: 1.5px solid var(--panel-line); cursor: pointer; font-weight: 700; color: var(--navy);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.attend-toggle input:checked + label { background: var(--navy); border-color: var(--navy); color: #fff; }

.food-grid, .count-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.btn {
  display: inline-block; border: none; border-radius: 30px;
  padding: 16px 34px; font-family: 'Manrope', sans-serif; font-weight: 800;
  font-size: 1.02rem; letter-spacing: 0.3px; cursor: pointer;
  background: var(--navy); color: #fff; width: 100%;
}
.btn:hover { background: #0E1D2C; }
.btn.secondary { background: transparent; color: var(--navy); border: 1.5px solid var(--panel-line); width: auto; }

.flash { padding: 13px 18px; border-radius: 10px; margin-bottom: 20px; font-weight: 700; max-width: 640px; margin-left: auto; margin-right: auto; }
.flash.error { background: #fbdada; color: #8a1c25; }
.flash.success { background: #d9f0e6; color: #1c6b4b; }

.closed-banner {
  background: var(--navy); color: var(--cream); padding: 16px 20px; border-radius: 12px;
  margin-bottom: 24px; font-weight: 700; max-width: 640px; margin-left: auto; margin-right: auto; text-align: center;
}

footer.credit {
  text-align: center; padding: 40px 20px 60px;
  font-size: 0.78rem; color: #8595A5; font-family: 'DM Mono', monospace;
}

/* ---------- MESSAGE FROM US ---------- */

.message-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 24px;
  padding: 56px 44px;
  box-shadow: 0 24px 50px rgba(22,40,58,0.08);
  position: relative;
}
.message-quote {
  font-family: 'Fraunces', serif;
  font-size: 3.2rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.message-body {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  font-style: italic;
  color: var(--navy);
  line-height: 1.55;
}
.message-signature {
  margin-top: 26px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #B8863A;
}

/* ---------- GIFTS / REGISTRY / FUND-ME ---------- */

.registry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.registry-grid--single {
  max-width: 340px;
}

.registry-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-left: 4px solid var(--brand, var(--gold));
  border-radius: 16px;
  padding: 26px 24px;
  text-decoration: none;
  color: var(--navy);
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  box-shadow: 0 14px 30px rgba(22,40,58,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.registry-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(22,40,58,0.10); }

.registry-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--brand, var(--gold));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.registry-name { font-weight: 800; font-size: 1.05rem; }
.registry-cta {
  font-family: 'DM Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--mist);
}

.fund-card { background: linear-gradient(160deg, var(--peach), #fff); border: none; }

/* ---------- Zelle modal ---------- */

.modal {
  position: fixed; inset: 0;
  background: rgba(22,40,58,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 24px;
}
.modal.open { display: flex; }
.modal-card {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 40px 36px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 60px rgba(22,40,58,0.25);
}
.modal-piggy { font-size: 3rem; margin-bottom: 10px; }
.modal-card p { color: var(--mist); font-size: 0.95rem; margin: 10px 0 20px; }
.modal-close {
  position: absolute; top: 16px; right: 20px;
  font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--mist); cursor: pointer;
}
.zelle-detail {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-top: 1px solid var(--panel-line);
  text-align: left;
}
.zelle-detail .k {
  font-family: 'DM Mono', monospace; font-size: 10.5px; letter-spacing: 1.5px;
  text-transform: uppercase; color: #B8863A;
}
.zelle-detail .v { font-weight: 700; color: var(--navy); }

/* ---------- Admin ---------- */

.admin-wrap { max-width: 1080px; margin: 0 auto; padding: 48px 24px 100px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.admin-title { font-family: 'Fraunces', serif; font-size: 1.8rem; color: var(--navy); }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; margin-bottom: 40px; }
.stat-card { background: #fff; border: 1px solid var(--panel-line); border-radius: 14px; padding: 18px; text-align: center; box-shadow: 0 10px 24px rgba(22,40,58,0.06); }
.stat-card strong { display: block; font-family: 'Fraunces', serif; font-size: 2rem; color: var(--navy); }
.stat-card span { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--mist); }

.admin-section { margin-top: 40px; }
.admin-section h3 { font-family: 'Fraunces', serif; color: var(--navy); font-size: 1.3rem; margin-bottom: 6px; }
.admin-section .sub { color: var(--mist); font-size: 0.9rem; margin-bottom: 18px; }
.admin-panel { background: #fff; border: 1px solid var(--panel-line); border-radius: 14px; padding: 22px 26px; color: var(--navy); }
.admin-panel ul { columns: 2; margin: 0; padding-left: 18px; }

table.rsvp-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; font-size: 0.85rem; color: var(--navy); }
table.rsvp-table th, table.rsvp-table td { padding: 11px 13px; border-bottom: 1px solid var(--panel-line); text-align: left; vertical-align: top; }
table.rsvp-table th { background: var(--peach); font-family: 'DM Mono', monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: #B8863A; }
table.rsvp-table tr:last-child td { border-bottom: none; }

.pill { display: inline-block; padding: 3px 11px; border-radius: 20px; font-size: 0.72rem; font-weight: 700; }
.pill.yes { background: #d9f0e6; color: #1c6b4b; }
.pill.no { background: #fbdada; color: #8a1c25; }

.login-box { max-width: 360px; margin: 110px auto; padding: 0 20px; }
.small-note { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--mist); }

@media (max-width: 480px) {
  .food-grid, .count-grid { grid-template-columns: 1fr; }
  section { padding: 80px 0; }
}
