/* ============================================================
   Caffè D'Amore — homepage + special sections
   ============================================================ */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 90% -15%, var(--green-tint) 0%, transparent 60%),
    radial-gradient(900px 480px at -5% 105%, var(--butter) 0%, transparent 58%),
    var(--cream);
  padding: clamp(56px, 8vw, 110px) 0 clamp(60px, 8vw, 110px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
}
.hero-copy h1 { margin-bottom: 22px; }
.hero-copy h1 em {
  font-style: italic;
  color: var(--green);
}
.hero-copy .lede {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--muted);
  max-width: 50ch;
  margin-bottom: 30px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-deep);
  box-shadow: var(--shadow-card);
}
.hero-badge svg { width: 15px; height: 15px; color: var(--terracotta); flex: none; }

/* Arched hero image with floating chips */
.hero-visual { position: relative; }
.hero-arch {
  border-radius: var(--radius-arch);
  overflow: hidden;
  border: 8px solid var(--white);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
  background: var(--cream-deep);
}
.hero-arch img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; }
.hero-chip {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 12px 18px;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
}
.hero-chip .chip-sub { display: block; font-weight: 400; color: var(--muted); font-size: 0.78rem; }
.hero-chip.tl { top: 8%; left: -26px; }
.hero-chip.br { bottom: 7%; right: -20px; }
@media (max-width: 880px) {
  .hero-chip.tl { left: -8px; }
  .hero-chip.br { right: -8px; }
}

/* ---------- Ticker strip ---------- */
.ticker {
  background: var(--green);
  color: var(--butter);
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
}
.ticker-track { display: inline-flex; gap: 48px; animation: ticker 36s linear infinite; will-change: transform; }
.ticker span {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 48px;
}
.ticker span::after { content: "✿"; color: var(--terracotta); font-size: 0.9rem; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- Signature drinks ---------- */
.drink-card { text-align: left; overflow: hidden; padding: 0; }
.drink-card .drink-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-deep); }
.drink-card .drink-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.drink-card:hover .drink-img img { transform: scale(1.05); }
.drink-card .drink-body { padding: 24px 26px 28px; }
.drink-card .price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.drink-card .price-row .price { color: var(--green); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Sourcing band ---------- */
.sourcing { position: relative; }
.sourcing-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 880px) { .sourcing-grid { grid-template-columns: 1fr; } }
.sourcing-visual { position: relative; }
.sourcing-visual .arch-frame { aspect-ratio: 3 / 4; max-width: 420px; }
.sourcing-visual .mini-frame {
  position: absolute;
  right: -10px;
  bottom: -30px;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--cream);
  box-shadow: var(--shadow-soft);
}
.sourcing-visual .mini-frame img { width: 100%; height: 100%; object-fit: cover; }
.partner-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.partner-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}
.partner-list .p-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.partner-list .p-icon svg { width: 22px; height: 22px; }
.partner-list strong { display: block; font-size: 1.04rem; }
.partner-list span { color: var(--muted); font-size: 0.95rem; }

/* ---------- Manifesto ---------- */
.manifesto { text-align: center; position: relative; overflow: hidden; }
.manifesto .manifesto-lines {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 26px;
}
.manifesto .manifesto-lines p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.45;
  margin: 0;
  color: var(--white);
}
.manifesto .manifesto-lines p em { color: var(--butter); font-style: italic; }
.manifesto .sign-off {
  margin-top: 38px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--butter);
}
.manifesto .hero-leaf { opacity: 0.12; color: var(--butter); }

/* ---------- Stats counters ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 26px;
  text-align: center;
}
.stat .stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.stat .stat-num sup { font-size: 0.5em; color: var(--terracotta); }
.stat .stat-label {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Press strip ---------- */
.press-strip { text-align: center; }
.press-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 4vw, 48px);
  margin-top: 30px;
}
.press-logos span {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--muted);
  font-style: italic;
}

/* ---------- Visit band ---------- */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 70px);
  align-items: center;
}
@media (max-width: 880px) { .visit-grid { grid-template-columns: 1fr; } }
.hours-table { width: 100%; border-collapse: collapse; margin: 20px 0 26px; }
.hours-table td { padding: 10px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.hours-table td:last-child { text-align: right; font-weight: 700; }
.visit-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 6px solid var(--white);
  aspect-ratio: 4 / 3;
}
.visit-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Order page frame ---------- */
.order-frame-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-soft);
  background: var(--white);
  position: relative;
}
.order-frame-wrap iframe {
  width: 100%;
  height: min(78vh, 900px);
  min-height: 560px;
  border: 0;
  display: block;
  background: var(--white);
}
.order-fallback { padding: 20px; text-align: center; background: var(--butter); font-weight: 700; }
.order-steps { counter-reset: step; }
.order-steps .card { position: relative; padding-top: 56px; }
.order-steps .card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 20px; left: 26px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--terracotta);
}

/* ---------- Press page list ---------- */
.press-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.press-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 10px 26px;
  align-items: baseline;
  padding: 26px 10px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s ease;
}
.press-item:hover { background: var(--green-tint); }
@media (max-width: 680px) { .press-item { grid-template-columns: 1fr; } }
.press-item .press-date {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--terracotta);
  font-variant-numeric: tabular-nums;
}
.press-item h3 { font-size: 1.2rem; margin: 0; }
.press-item h3 a { color: var(--ink); text-decoration: none; }
.press-item h3 a:hover { color: var(--green); text-decoration: underline; }
.press-item .press-outlet { font-style: italic; color: var(--muted); white-space: nowrap; }

/* ---------- Gallery mosaic ---------- */
.mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 720px) { .mosaic { grid-template-columns: repeat(2, 1fr); } }
.mosaic .arch-frame { aspect-ratio: 3 / 4; border-width: 5px; }
.mosaic .arch-frame:nth-child(2) { transform: translateY(26px); }
@media (max-width: 720px) { .mosaic .arch-frame:nth-child(2) { transform: none; } }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
