:root {
  --cream: #fbf5e9;
  --paper: #fffaf0;
  --ink: #2f2622;
  --ink-soft: #6b5e55;
  --tomato: #b8322c;
  --tomato-deep: #8f241f;
  --basil: #3e6b48;
  --dough: #f3d59a;
  --dough-deep: #d9a860;
  --line: #e4d6bf;
  --serif: "Fraunces", "Georgia", "Times New Roman", serif;
  --sans: "Nunito", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  background-color: var(--cream);
  /* subtle gnocchi "pillow" pattern */
  background-image:
    radial-gradient(ellipse 9px 6px at 20px 20px, rgba(217, 168, 96, 0.13) 98%, transparent 100%),
    radial-gradient(ellipse 9px 6px at 60px 60px, rgba(217, 168, 96, 0.13) 98%, transparent 100%);
  background-size: 80px 80px;
}

/* ---- tricolore ribbons ---------------------------------------------- */
.tricolore {
  display: flex;
  height: 10px;
  flex: none;
}
.tricolore span { flex: 1; }
.tricolore span:nth-child(1) { background: var(--basil); }
.tricolore span:nth-child(2) { background: var(--paper); }
.tricolore span:nth-child(3) { background: var(--tomato); }
.tricolore.bottom { margin-top: auto; }

/* ---- layout --------------------------------------------------------- */
.page {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4.5rem) 1rem 2rem;
}

/* ---- hero ----------------------------------------------------------- */
.hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 0.75rem;
  color: var(--basil);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.eyebrow .line {
  display: inline-block;
  width: clamp(28px, 8vw, 64px);
  height: 2px;
  background: currentColor;
  opacity: 0.5;
}

.title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.95;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.title-nonna {
  font-style: italic;
  font-size: clamp(2.2rem, 7vw, 4rem);
  color: var(--tomato);
  letter-spacing: 0.01em;
}
.title-gnocchi {
  font-weight: 600;
  font-size: clamp(3.6rem, 12.5vw, 7.5rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.truck {
  margin: 0.5rem 0 0;
  width: min(100%, 520px);
  animation: float 5s ease-in-out infinite;
}
.truck svg { width: 100%; height: auto; display: block; }

.steam path {
  opacity: 0;
  animation: steam 3s ease-out infinite;
}
.steam .s2 { animation-delay: 0.8s; }
.steam .s3 { animation-delay: 1.6s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes steam {
  0% { opacity: 0; transform: translateY(6px); }
  30% { opacity: 0.9; }
  100% { opacity: 0; transform: translateY(-16px); }
}

/* ---- "coming soon" stamp ------------------------------------------- */
.stamp {
  margin: 0.5rem 0 1.75rem;
  padding: 0.75rem 1.75rem 0.9rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  color: var(--tomato-deep);
  border: 3px solid currentColor;
  border-radius: 14px;
  box-shadow: inset 0 0 0 3px var(--cream), inset 0 0 0 5px currentColor;
  transform: rotate(-2.5deg);
  background: rgba(255, 250, 240, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  line-height: 1.1;
  /* worn rubber-stamp texture */
  -webkit-mask-image: radial-gradient(circle at 30% 40%, #000 94%, transparent 100%),
                      radial-gradient(circle at 70% 60%, #000 94%, transparent 100%);
}
.stamp-top,
.stamp-bottom {
  font-size: 0.7rem;
  font-weight: 700;
}
.stamp-main {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  letter-spacing: 0.08em;
}

.lede {
  max-width: 34rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

/* ---- details -------------------------------------------------------- */
.details {
  margin-top: clamp(2.5rem, 7vw, 4.5rem);
  padding-top: clamp(2rem, 5vw, 3rem);
  border-top: 2px dashed var(--line);
  display: grid;
  gap: 2rem 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  text-align: center;
}
.detail-icon {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line);
  margin-bottom: 0.6rem;
}
.detail-icon svg { width: 40px; height: 40px; }
.detail h2 {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--tomato);
}
.detail p {
  margin: 0 auto;
  max-width: 20rem;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* ---- footer --------------------------------------------------------- */
.footer {
  margin-top: clamp(2.5rem, 7vw, 4rem);
  text-align: center;
  color: var(--ink-soft);
}
.footer-note {
  margin: 0 0 0.25rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--basil);
}
.footer-note span { margin: 0 0.4rem; }
.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

@media (prefers-reduced-motion: reduce) {
  .truck, .steam path { animation: none; }
  .steam path { opacity: 0.6; }
}

@media (max-width: 480px) {
  .eyebrow { font-size: 0.72rem; letter-spacing: 0.16em; }
  .eyebrow .line { display: none; }
}
