/* ============================================================
   YUZU YATAI — design tokens
   ============================================================ */
:root {
  /* palette */
  --rice: #f4efe7; /* warm off-white canvas */
  --rice-2: #ede6d9; /* slightly deeper rice for inset panels */
  --rice-3: #e4dbc9; /* hairline / quiet borders on light */
  --ink: #1e1b18; /* charcoal — text + dark sections */
  --ink-2: #2a2622; /* raised charcoal surface */
  --ink-3: #3a352f; /* hairline on dark */
  --saffron: #a02e2e; /* accent only */
  --saffron-deep: #822323; /* hover */
  --saffron-soft: rgba(160, 46, 46, 0.1);
  --veg: #5c6b3a; /* vegano chip */

  /* type — two heading roles */
  --display: "Bodoni Moda", Georgia, serif; /* hero + feature banners */
  --title: "Playfair Display", Georgia, serif; /* most section titles */
  --body: "Work Sans", system-ui, -apple-system, sans-serif;

  /* signature asymmetric "yatai" radius — TL + BR rounded, TR + BL square.
     scaled per-element via the multiplier below */
  --yatai: 1; /* tweakable strength 0..1.4 */
  --r-lg: calc(40px * var(--yatai)) 6px calc(40px * var(--yatai)) 6px;
  --r-md: calc(26px * var(--yatai)) 5px calc(26px * var(--yatai)) 5px;
  --r-sm: calc(16px * var(--yatai)) 4px calc(16px * var(--yatai)) 4px;
  --r-xs: calc(11px * var(--yatai)) 3px calc(11px * var(--yatai)) 3px;

  /* saffron presence dial (tweakable): scales decorative saffron washes */
  --saffron-presence: 1;

  --shadow-soft:
    0 1px 2px rgba(30, 27, 24, 0.04), 0 18px 40px -24px rgba(30, 27, 24, 0.28);
  --shadow-card:
    0 1px 2px rgba(30, 27, 24, 0.05), 0 26px 50px -30px rgba(30, 27, 24, 0.4);
  --maxw: 1240px;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--rice);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection {
  background: var(--saffron);
  color: var(--rice);
}

h1,
h2,
h3,
h4 {
  font-family: var(--title);
  font-weight: 700;
  line-height: 1.02;
  margin: 0;
  letter-spacing: -0.01em;
}
.font-display {
  font-family: var(--display) !important;
}
p {
  margin: 0;
  text-wrap: pretty;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* eyebrow / kicker */
.eyebrow {
  font-family: var(--body);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.eyebrow .dot {
  color: var(--saffron);
}

/* utility */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
}
.yatai {
  border-radius: var(--r-md);
}
.yatai-lg {
  border-radius: var(--r-lg);
}
.yatai-sm {
  border-radius: var(--r-sm);
}

/* grain / paper texture overlay */
.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxMjAnIGhlaWdodD0nMTIwJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nMC45JyBudW1PY3RhdmVzPScyJyBzdGl0Y2hUaWxlcz0nc3RpdGNoJy8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9JzEwMCUnIGhlaWdodD0nMTAwJScgZmlsdGVyPSd1cmwoI24pJyBvcGFjaXR5PScwLjQnLz48L3N2Zz4=");
}

/* scrollbar */
::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}
::-webkit-scrollbar-thumb {
  background: var(--rice-3);
  border-radius: 20px;
  border: 3px solid var(--rice);
}
.on-ink ::-webkit-scrollbar-thumb {
  background: var(--ink-3);
  border-color: var(--ink);
}

/* entrance */
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.reveal {
  animation: riseIn 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* responsive: collapse fixed two-column layouts */
@media (max-width: 860px) {
  body {
    padding-bottom: 82px;
  } /* clearance for mobile bottom CTA bar */
  .hero-split,
  .historia-grid,
  .delivery-grid,
  .about-grid,
  .stack-2,
  .locale-card,
  .contacto-grid {
    grid-template-columns: 1fr !important;
  }
  .hero-split {
    min-height: auto !important;
  }
  /* footer: 4 columns → 2 on tablet */
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 36px 32px !important;
  }
}
@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  /* footer: single column on phones */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}
