*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Georgia, 'Times New Roman', serif;
  background: #f7f0e6;
  color: #3a2a22;
  line-height: 1.65;
  min-height: 100vh;
  padding-bottom: 100px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

:root {
  --cream: #f7f0e6;
  --sheet: #fffaf3;
  --ink: #3a2a22;
  --muted: #7a6558;
  --clay: #c45c26;
  --deep: #8b3a1a;
  --tile: #e8d9c4;
  --sans: 'Segoe UI', system-ui, sans-serif;
}

/* ——— SEPARATE TILES bottom-center (gaps between — not capsule, not horizon bar) ——— */
.tiles {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  gap: 10px;
}
.tiles a {
  width: 72px;
  height: 72px;
  background: var(--sheet);
  border: 2px solid var(--tile);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  box-shadow: 3px 3px 0 rgba(58,42,34,0.08);
  transition: all 0.15s;
}
.tiles a .n {
  font-size: 0.9rem;
  color: var(--clay);
  margin-bottom: 2px;
  font-weight: 800;
}
.tiles a:hover {
  border-color: var(--clay);
  color: var(--ink);
}
.tiles a.on {
  background: var(--clay);
  border-color: var(--clay);
  color: #fff;
  box-shadow: 3px 3px 0 rgba(139,58,26,0.3);
}
.tiles a.on .n { color: #fff; }

.brand {
  position: fixed;
  top: 20px;
  left: 24px;
  z-index: 90;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.brand strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--deep);
  letter-spacing: 0.02em;
  text-transform: none;
  margin-bottom: 2px;
}

/* ——— MESA: circular image + side text ——— */
.mesa {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 88px 40px 48px;
  max-width: 1000px;
  margin: 0 auto;
}
.mesa .plate {
  width: min(100%, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid var(--sheet);
  box-shadow: 0 12px 40px rgba(58,42,34,0.12);
  justify-self: end;
}
.mesa .plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mesa .copy {
  max-width: 36ch;
}
.mesa .k {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 12px;
}
.mesa h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--ink);
}
.mesa p {
  font-family: var(--sans);
  color: var(--muted);
  font-size: 1.02rem;
}

/* ——— SALSA: color swatch rows ——— */
.salsa {
  max-width: 640px;
  margin: 0 auto;
  padding: 88px 28px 64px;
}
.salsa .k {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 8px;
}
.salsa h1 {
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 32px;
}
.swatch {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid var(--tile);
}
.swatch:last-child { border-bottom: 1px solid var(--tile); }
.swatch .dot {
  width: 48px;
  height: 48px;
  border-radius: 4px;
}
.swatch h2 {
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 4px;
}
.swatch p {
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--muted);
}
.dot-mole { background: #5c2a0e; }
.dot-sesame { background: #d4c4a0; }
.dot-chile { background: #b33a1a; }
.dot-cacao { background: #3d2314; }

/* ——— NOTA: folded card ——— */
.nota-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 88px 20px 48px;
}
.card {
  width: 100%;
  max-width: 420px;
  background: var(--sheet);
  border: 1px solid var(--tile);
  box-shadow: 8px 10px 0 rgba(58,42,34,0.06);
  position: relative;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 36px 36px 0;
  border-color: transparent var(--tile) transparent transparent;
}
.card .inner {
  padding: 36px 28px 28px;
}
.card h1 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 12px;
}
.card .addr {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 22px;
}
.card .addr a {
  color: var(--clay);
  font-weight: 600;
}
.card label {
  display: block;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.card input,
.card textarea {
  width: 100%;
  padding: 8px 0;
  border: none;
  border-bottom: 1px solid var(--tile);
  background: transparent;
  font-family: var(--sans);
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--ink);
}
.card input:focus,
.card textarea:focus {
  outline: none;
  border-bottom-color: var(--clay);
}
.card textarea {
  min-height: 80px;
  border: 1px solid var(--tile);
  padding: 10px;
  resize: vertical;
}
.card button {
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  background: var(--deep);
  color: var(--cream);
  border: none;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.card button:hover { background: var(--clay); }

.ft {
  text-align: center;
  padding: 12px 24px;
  font-family: var(--sans);
  font-size: 0.72rem;
  color: var(--muted);
}
.ft strong { color: var(--ink); }

@media (max-width: 800px) {
  .mesa {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 80px 24px 40px;
  }
  .mesa .plate {
    justify-self: center;
    width: min(100%, 280px);
  }
  .mesa .copy { max-width: 100%; }
}
@media (max-width: 500px) {
  .tiles { gap: 6px; bottom: 16px; }
  .tiles a { width: 64px; height: 64px; font-size: 0.6rem; }
}
