:root {
  --cream: #F2E4C9;
  --surface: #FBF6EC;
  --ink: #2B1B14;
  --caramel: #B96A2C;
  --ember: #C4432A;
  --gold: #D9A441;

  --font-display: 'Fraunces', serif;
  --font-body: 'Work Sans', sans-serif;

  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 900;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 20px;
  z-index: 100;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 3px;
}

.rosca-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  color: currentColor;
}

/* Scroll reveal */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(242, 228, 201, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: rgba(43, 27, 20, 0.1);
  box-shadow: 0 8px 24px -18px rgba(43, 27, 20, 0.35);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}
.wordmark .rosca-icon--sm { color: var(--ember); font-size: 1.4rem; }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }

.btn--whatsapp {
  background: var(--ember);
  color: var(--surface);
  box-shadow: 0 6px 0 0 rgba(43,27,20,0.18);
}
.btn--whatsapp:hover { box-shadow: 0 8px 0 0 rgba(43,27,20,0.22); }

.btn--ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--cream); }

.btn--sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
}

.rosca-icon--hero {
  position: absolute;
  right: -140px;
  top: -140px;
  width: 520px;
  height: 520px;
  color: var(--caramel);
  opacity: 0.16;
}

@media (prefers-reduced-motion: no-preference) {
  .rosca-icon--hero {
    animation: glow 6s ease-in-out infinite;
  }
}
@keyframes glow {
  0%, 100% { opacity: 0.12; }
  50% { opacity: 0.22; }
}

.hero-content { position: relative; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--caramel);
  margin: 0 0 14px;
}

.hero h1 {
  font-size: clamp(3.2rem, 9vw, 6.4rem);
  line-height: 0.92;
  color: var(--ink);
}

.hero-lede {
  max-width: 46ch;
  font-size: 1.15rem;
  margin: 26px 0 36px;
  color: rgba(43,27,20,0.82);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Section title */

.section-title {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 32px;
}

/* Menu / product grid */

.menu-section { padding: 20px 0 80px; }

.section-lede {
  margin: -20px 0 32px;
  color: rgba(43,27,20,0.65);
  font-size: 0.98rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-card {
  appearance: none;
  border: none;
  background: var(--surface);
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 1px 0 rgba(43,27,20,0.06);
}
.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 20px 34px -20px rgba(43,27,20,0.4);
}

.product-card__img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(155deg, var(--caramel), var(--ink));
  position: relative;
}
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-card:hover .product-card__img img,
.product-card:focus-visible .product-card__img img {
  transform: scale(1.08);
}

.product-card__img.img-fallback img { display: none; }
.product-card__img.img-fallback::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='30' fill='none' stroke='%23F2E4C9' stroke-width='12' stroke-dasharray='9 6' stroke-linecap='round' opacity='0.55'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 44%;
}

.product-card__body {
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
}
.product-card__name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.72rem;
  opacity: 0.6;
  margin-top: 2px;
}

.product-card__price {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--caramel);
  font-size: 0.92rem;
}
.product-card__price--ask {
  font-style: italic;
  color: var(--gold);
}

.menu-footnote {
  margin: 30px 0 0;
  font-size: 0.9rem;
  color: rgba(43,27,20,0.6);
}

/* Product modal */

.product-modal {
  border: none;
  border-radius: 22px;
  padding: 0;
  max-width: 480px;
  width: calc(100vw - 40px);
  color: var(--ink);
  background: var(--surface);
  overflow: hidden;
}
.product-modal::backdrop {
  background: rgba(43, 27, 20, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-modal[open] {
  animation: modal-in 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(43,27,20,0.55);
  color: var(--surface);
  font-size: 0.9rem;
  cursor: pointer;
}

.modal-img-wrap {
  aspect-ratio: 4 / 3;
  background: linear-gradient(155deg, var(--caramel), var(--ink));
  position: relative;
  overflow: hidden;
}
.modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.modal-img-wrap.img-fallback .modal-img { display: none; }
.modal-img-wrap.img-fallback::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='30' fill='none' stroke='%23F2E4C9' stroke-width='12' stroke-dasharray='9 6' stroke-linecap='round' opacity='0.55'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30%;
}

.modal-body { padding: 26px 26px 28px; }

.modal-group {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--caramel);
  margin: 0 0 8px;
}

.modal-name {
  font-size: 1.6rem;
  margin: 0 0 8px;
}

.modal-desc {
  margin: 0 0 14px;
  color: rgba(43,27,20,0.8);
}

.modal-price {
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 20px;
  color: var(--ember);
}

/* Steps */

.steps-section {
  padding: 20px 0 90px;
  text-align: center;
}
.steps-section .section-title { text-align: left; }
.steps-section .wrap { text-align: left; }

.steps {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.steps li {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-n {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.4rem;
  color: var(--ember);
}

.steps p { margin: 0; max-width: 30ch; }

/* Location */

.location-section { padding: 20px 0 100px; }

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.location-text { margin: 0 0 12px; color: rgba(43,27,20,0.82); }

.map-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(43,27,20,0.14);
}
.map-frame iframe {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: var(--surface);
  padding: 28px 0;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-row p { margin: 0; opacity: 0.8; font-size: 0.9rem; }

/* Responsive */

@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .hero { padding: 64px 0 56px; }
  .rosca-icon--hero { width: 320px; height: 320px; right: -100px; top: -80px; }
  .steps { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .wordmark { font-size: 1rem; }
  .header-row .btn--sm { padding: 8px 14px; font-size: 0.78rem; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-card:hover { transform: none; }
}

@media (max-width: 420px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-card__body { padding: 12px 12px 16px; }
}
