/* Soy Mexican: taquería y cantina.
   Mexican folk graphic: papel picado, lotería cards, talavera tile,
   fuchsia, marigold, turquoise and deep green on warm cream. */

:root {
  --cream: #fdf3e1;
  --paper: #fff9ee;
  --ink: #2b1a12;
  --ink-soft: #5b4035;
  --rosa: #d1157a;
  --rosa-deep: #a80f61;
  --marigold: #f5a623;
  --marigold-deep: #d9820a;
  --turq: #13a3a3;
  --turq-deep: #0b6e6e;
  --verde: #0f5b3f;
  --verde-deep: #0a3f2c;
  --chile: #c8402a;
  --display: "Abril Fatface", "Didot", Georgia, serif;
  --label: "Bebas Neue", "Oswald", Impact, sans-serif;
  --body: "Alegreya", Georgia, "Times New Roman", serif;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

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

body {
  margin: 0;
  background-color: var(--cream);
  background-image: radial-gradient(rgba(217, 130, 10, 0.13) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.15rem;
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: var(--rosa-deep); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
a:hover { color: var(--verde); }
p { margin: 0 0 1em; }
h1, h2, h3 { text-wrap: balance; }

:focus-visible {
  outline: 3px solid var(--turq-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: fixed;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--label);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: top 0.2s;
}
.skip:focus { top: 16px; color: var(--cream); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap { width: min(var(--max), 100%); margin: 0 auto; padding: 0 20px; }
.narrow { width: min(760px, 100%); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 10vw, 128px) 0; position: relative; }

/* ------------------------------------------------ papel picado */
.picado {
  position: relative;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding-top: 4px;
  height: 78px;
  pointer-events: none;
}
.picado::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 5px;
  height: 2px;
  background: var(--ink);
  opacity: 0.8;
}
.flag {
  flex: 0 0 auto;
  width: 54px;
  height: 70px;
  margin: 0 3px;
  color: var(--rosa);
  transform-origin: 50% 0;
  animation: sway 3.8s ease-in-out infinite alternate;
}
.flag:nth-child(6n + 2) { color: var(--marigold); animation-delay: -0.7s; animation-duration: 4.2s; }
.flag:nth-child(6n + 3) { color: var(--turq); animation-delay: -1.6s; animation-duration: 3.5s; }
.flag:nth-child(6n + 4) { color: var(--verde); animation-delay: -2.2s; animation-duration: 4.5s; }
.flag:nth-child(6n + 5) { color: #8a4fc4; animation-delay: -0.4s; animation-duration: 3.9s; }
.flag:nth-child(6n + 6) { color: #ef6b2f; animation-delay: -1.1s; animation-duration: 4.1s; }
@keyframes sway {
  0% { transform: rotate(-3deg) skewX(-1deg); }
  100% { transform: rotate(3deg) skewX(1deg); }
}
.picado--top { background: var(--cream); }
.picado--inset { position: absolute; top: 0; left: 0; right: 0; }
@media (min-width: 900px) {
  .flag { width: 64px; height: 82px; margin: 0 4px; }
  .picado { height: 90px; }
}

/* ------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px max(16px, calc((100% - var(--max)) / 2 + 20px));
  background: rgba(253, 243, 225, 0.94);
  border-bottom: 3px solid var(--ink);
  box-shadow: 0 3px 0 var(--marigold);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: rgba(253, 243, 225, 0.86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1;
  white-space: nowrap;
}
.logo:hover { color: var(--rosa); }
.logo__mark { width: 36px; height: 36px; flex: none; transition: transform 0.6s; }
.logo:hover .logo__mark { transform: rotate(45deg); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  font-family: var(--label);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 4px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--rosa-deep); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.nav .nav-cta {
  margin-left: 6px;
  padding: 8px 14px;
  background: var(--rosa);
  color: #fff;
  border: 2px solid var(--ink);
}
.nav .nav-cta:hover { background: var(--rosa-deep); color: #fff; text-decoration: none; }
.nav-wide { display: none; }
@media (min-width: 820px) { .nav-wide { display: inline-block; } }
.nav a { white-space: nowrap; }
@media (max-width: 430px) {
  .site-header { gap: 6px; }
  .logo { gap: 7px; font-size: 1.12rem; }
  .logo__mark { width: 28px; height: 28px; }
  .nav a { padding: 8px 7px; font-size: 1.08rem; }
  .nav .nav-cta { margin-left: 2px; padding: 7px 10px; }
}

/* ------------------------------------------------ type */
.ribbon {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 26px 4px;
  font-family: var(--label);
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  line-height: 1.1;
  color: var(--ink);
  background: var(--marigold);
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 50%, 100% 100%, 0 100%, 12px 50%);
}
.ribbon--light { background: var(--cream); }

h2 {
  margin: 0 0 0.5em;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.1rem, 5.4vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: 0.005em;
}
h3 {
  margin: 0 0 0.35em;
  font-family: var(--label);
  font-weight: 400;
  font-size: 1.55rem;
  letter-spacing: 0.06em;
  line-height: 1.1;
}

/* ------------------------------------------------ buttons */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 50px;
  padding: 6px 24px 4px;
  font-family: var(--label);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 3px solid var(--ink);
  border-radius: 999px;
  transition: transform 0.25s, background 0.25s, color 0.25s;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn--rosa { background: var(--rosa); color: #fff; }
.btn--rosa:hover { background: var(--rosa-deep); color: #fff; }
.btn--line { background: var(--paper); color: var(--ink); }
.btn--line:hover { background: var(--marigold); color: var(--ink); }

/* ------------------------------------------------ hero */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 8vw, 100px); overflow: hidden; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.eyebrow {
  margin: 0 0 10px;
  font-family: var(--label);
  font-size: 1.3rem;
  letter-spacing: 0.14em;
  color: var(--verde);
}
.eyebrow span { color: var(--rosa); margin: 0 0.2em; }
.brand {
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0.005em;
}
.brand span { display: block; }
.brand__soy {
  font-size: clamp(3.4rem, 13vw, 7rem);
  color: var(--verde);
  text-shadow: 0.05em 0.05em 0 var(--marigold);
}
.brand__mx {
  font-size: clamp(3.9rem, 17vw, 9.6rem);
  color: var(--rosa);
  text-shadow: 0.045em 0.045em 0 var(--turq), 0.09em 0.09em 0 var(--ink);
}
.hook {
  margin: 0 0 18px;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.3;
  max-width: 30ch;
}
.soon {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin: 0 0 28px;
  padding: 8px 18px 6px;
  font-family: var(--label);
  font-size: 1.35rem;
  letter-spacing: 0.1em;
  line-height: 1.1;
  color: var(--cream);
  background: var(--verde);
  border: 3px solid var(--ink);
  border-radius: 6px;
  transform: rotate(-1.5deg);
}
.soon span { color: var(--marigold); }

.hero__art {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 460px);
  aspect-ratio: 1;
  margin: 0 auto;
}
.sun {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.sun__rays { transform-origin: 0 0; animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loteria--hero {
  position: relative;
  width: 52%;
  transform: rotate(-4deg);
  box-shadow: 0 18px 30px -18px rgba(43, 26, 18, 0.6);
  animation: deal 1.1s cubic-bezier(0.2, 1.4, 0.4, 1) both 0.2s;
}
@keyframes deal {
  from { transform: translateY(40px) rotate(-14deg) scale(0.9); opacity: 0; }
  to { transform: rotate(-4deg); opacity: 1; }
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
}

/* ------------------------------------------------ tiles + zigzag */
.tiles {
  height: 40px;
  background: url("/assets/tile.svg") repeat-x center / 40px 40px;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}
.zigzag {
  height: 18px;
  background:
    linear-gradient(135deg, var(--zz, var(--cream)) 33%, transparent 33%) 0 0 / 22px 22px,
    linear-gradient(225deg, var(--zz, var(--cream)) 33%, transparent 33%) 0 0 / 22px 22px;
}

/* ------------------------------------------------ lotería card */
.loteria {
  margin: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  aspect-ratio: 3 / 4;
  padding: 8px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 10px;
  position: relative;
}
.loteria::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px solid var(--ink);
  background: var(--tint, #fde3b0);
  border-radius: 3px;
}
.loteria > * { position: relative; }
.loteria__num {
  justify-self: start;
  margin: 4px 0 0 8px;
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink);
}
.loteria__art { width: 82%; height: 100%; max-height: 100%; justify-self: center; align-self: center; overflow: visible; }
.loteria__name {
  margin: 0 2px 2px;
  padding: 5px 4px 2px;
  border-top: 2px solid var(--ink);
  background: var(--paper);
  text-align: center;
  font-family: var(--label);
  font-size: 1.35rem;
  letter-spacing: 0.1em;
  line-height: 1.1;
  text-transform: uppercase;
}
.loteria--hero .loteria__num { font-size: 2rem; }
.loteria--hero .loteria__name { font-size: clamp(1.3rem, 3.4vw, 1.9rem); }

/* ------------------------------------------------ lo que creemos */
.creemos__grid { display: grid; gap: 40px; }
.creemos__text h2 { color: var(--verde); }
.creemos__text h2 em { color: var(--rosa); font-style: normal; }
.creemos__text p { max-width: 58ch; }
.creemos__text h2 + p::first-letter {
  float: left;
  margin: 0.06em 0.1em 0 0;
  font-family: var(--display);
  font-size: 3.6em;
  line-height: 0.8;
  color: var(--rosa);
  text-shadow: 0.05em 0.05em 0 var(--marigold);
}
.creed { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; align-content: start; }
.creed__item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 20px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 12px;
}
.creed__item:nth-child(1) { border-left: 12px solid var(--rosa); }
.creed__item:nth-child(2) { border-left: 12px solid var(--marigold); }
.creed__item:nth-child(3) { border-left: 12px solid var(--turq); }
.creed__item:nth-child(4) { border-left: 12px solid var(--verde); }
.creed__item p { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }
.creed__num {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin: 4px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: var(--marigold);
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 7px var(--rosa);
  font-family: var(--display);
  font-size: 1.3rem;
  line-height: 1;
}
@media (min-width: 900px) {
  .creemos__grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }
}

/* ------------------------------------------------ menu */
.menu {
  background-color: var(--rosa);
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08) 2px, transparent 2.5px);
  background-size: 26px 26px;
  color: #fff;
  padding-top: clamp(120px, 14vw, 170px);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}
.menu .picado::before { background: var(--ink); }
.menu .flag:nth-child(6n + 1) { color: var(--cream); }
.menu__head { max-width: 640px; margin-bottom: 40px; }
.menu__head h2 { color: #fff; text-shadow: 0.05em 0.05em 0 var(--ink); }
.menu__head p { font-size: 1.2rem; }
.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.card {
  display: grid;
  grid-template-columns: 124px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px;
  background: var(--paper);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 14px;
  transition: transform 0.35s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.card .loteria { border-width: 2px; padding: 5px; }
.card .loteria::before { inset: 5px; }
.card .loteria__num { font-size: 1.05rem; margin: 3px 0 0 6px; }
.card .loteria__name { font-size: 0.98rem; padding: 3px 2px 1px; }
.card__text h3 { color: var(--rosa-deep); }
.card__text p { margin: 0; font-size: 1.04rem; line-height: 1.5; color: var(--ink-soft); }
.card:hover { transform: translateY(-4px) rotate(-1deg); }
.card:nth-child(even):hover { transform: translateY(-4px) rotate(1deg); }
@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .card { grid-template-columns: 1fr; align-items: start; padding: 14px 14px 18px; }
  .card .loteria { width: 72%; margin: 0 auto 4px; }
  .card .loteria__num { font-size: 1.4rem; }
  .card .loteria__name { font-size: 1.2rem; }
  .card__text { text-align: center; padding: 0 4px; }
}
@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
  .card { transform: rotate(var(--r, 0deg)); }
  .card:nth-child(4n + 1) { --r: -1.2deg; }
  .card:nth-child(4n + 2) { --r: 0.8deg; }
  .card:nth-child(4n + 3) { --r: -0.6deg; }
  .card:nth-child(4n + 4) { --r: 1.2deg; }
  .card .loteria { width: 86%; }
  .card:hover, .card:nth-child(even):hover { transform: translateY(-8px) rotate(0deg) scale(1.02); }
}

/* ------------------------------------------------ cantina */
.cantina {
  --zz: var(--cream);
  background: var(--verde);
  color: var(--cream);
  padding-top: 0;
}
.cantina .zigzag--top { margin-bottom: clamp(48px, 8vw, 100px); }
.cantina__grid { display: grid; gap: 36px; }
.cantina h2 { color: var(--marigold); }
.cantina__lead p { font-size: 1.25rem; max-width: 50ch; }
.vibes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.vibes li {
  position: relative;
  padding: 18px 20px 18px 64px;
  border: 2px solid rgba(253, 243, 225, 0.35);
  border-radius: 12px;
  background: rgba(10, 63, 44, 0.55);
}
.vibes li::before {
  content: "✶";
  position: absolute;
  left: 18px; top: 14px;
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--marigold);
  color: var(--ink);
  font-size: 1.1rem;
  border: 2px solid var(--ink);
}
.vibes li:nth-child(2)::before { background: var(--rosa); color: #fff; }
.vibes li:nth-child(3)::before { background: var(--turq); }
.vibes li:nth-child(4)::before { background: var(--cream); }
.vibes h3 { color: var(--cream); }
.vibes p { margin: 0; color: #e9e0cc; font-size: 1.05rem; }
@media (min-width: 900px) {
  .cantina__grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
}

/* ------------------------------------------------ waitlist: el boleto */
.notify {
  --notch: var(--marigold);
  background: var(--marigold);
  padding-top: clamp(120px, 14vw, 160px);
  border-bottom: 3px solid var(--ink);
}
.notify .flag:nth-child(6n + 2) { color: var(--cream); }
.boleto {
  position: relative;
  display: grid;
  max-width: 860px;
  margin: 0 auto;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 0 22px 36px -24px rgba(43, 26, 18, 0.65);
  transform: rotate(-0.6deg);
}
.boleto::before, .boleto::after {
  content: "";
  position: absolute;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--notch);
  border: 3px solid var(--ink);
  top: 51px;
}
.boleto::before { left: -17px; }
.boleto::after { right: -17px; }
.boleto__stub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 66px;
  padding: 0 22px;
  background: var(--rosa);
  color: #fff;
  border-radius: 10px 10px 0 0;
  border-bottom: 3px dashed var(--ink);
}
.boleto__stub-label { font-family: var(--label); font-size: 1.3rem; letter-spacing: 0.2em; }
.boleto__stub-num { font-family: var(--display); font-size: 1.55rem; line-height: 1; text-shadow: 0.05em 0.05em 0 var(--ink); }
.boleto__stub-star { color: var(--marigold); font-size: 1.5rem; }
.boleto__body { padding: 28px 24px 22px; }
.boleto__kicker { margin: 0 0 6px; font-family: var(--label); font-size: 1.2rem; letter-spacing: 0.14em; color: var(--verde); }
.boleto h2 { color: var(--rosa-deep); font-size: clamp(2rem, 5vw, 3.2rem); }
.boleto__copy { max-width: 52ch; color: var(--ink-soft); }
@media (min-width: 720px) {
  .boleto { grid-template-columns: 150px 1fr; }
  .boleto::before, .boleto::after { left: 133px; right: auto; }
  .boleto::before { top: -17px; }
  .boleto::after { top: auto; bottom: -17px; }
  .boleto__stub {
    flex-direction: column;
    justify-content: center;
    height: auto;
    padding: 20px 10px;
    border-radius: 10px 0 0 10px;
    border-bottom: 0;
    border-right: 3px dashed var(--ink);
    text-align: center;
  }
  .boleto__stub-label { writing-mode: vertical-rl; transform: rotate(180deg); }
  .boleto__body { padding: 36px 40px 28px; }
}
.notify .fineprint { text-align: center; margin-top: 26px; }
.fineprint { margin: 14px 0 0; font-size: 1rem; color: var(--ink); }

.waitlist-form {
  display: grid;
  gap: 14px;
  max-width: 600px;
  margin: 18px 0 0;
}
@media (min-width: 560px) { .waitlist-form { grid-template-columns: 1fr auto; align-items: end; } }
.waitlist-form input[type="email"] {
  width: 100%;
  min-height: 52px;
  padding: 8px 4px 4px;
  font: inherit;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 3px dashed var(--ink);
  border-radius: 0;
}
.waitlist-form input[type="email"]::placeholder { color: #8a7466; }
.waitlist-form input[type="email"]:focus { outline: none; border-bottom-style: solid; border-bottom-color: var(--rosa); background: rgba(245, 166, 35, 0.14); }
.waitlist-form button {
  min-height: 54px;
  padding: 6px 24px 4px;
  font-family: var(--label);
  font-size: clamp(1.15rem, 4.6vw, 1.45rem);
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: #fff;
  background: var(--verde);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: inset 0 0 0 3px var(--verde), inset 0 0 0 5px rgba(253, 243, 225, 0.6);
  cursor: pointer;
  transform: rotate(-2deg);
  transition: transform 0.25s, background 0.25s, box-shadow 0.25s;
}
.waitlist-form button:hover { background: var(--rosa); box-shadow: inset 0 0 0 3px var(--rosa), inset 0 0 0 5px rgba(253, 243, 225, 0.6); transform: rotate(2deg) scale(1.04); }
.waitlist-form button:disabled { opacity: 0.65; cursor: progress; transform: none; }
.waitlist-status {
  grid-column: 1 / -1;
  min-height: 1.5em;
  margin: 0;
  font-weight: 700;
}
.waitlist-status.is-success { color: var(--verde); }
.waitlist-status.is-error { color: var(--rosa-deep); }

/* ------------------------------------------------ blog cards */
.blog-strip__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; }
.blog-strip__head h2 { margin: 0; }
.post-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 760px) { .post-cards { grid-template-columns: repeat(3, 1fr); } .post-cards--two { grid-template-columns: repeat(2, 1fr); } }
.post-card a {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 0 22px 22px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  border: 3px solid var(--ink);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.post-card a:hover { transform: translateY(-5px) rotate(-0.8deg); color: var(--ink); }
.post-card__band {
  display: block;
  height: 26px;
  margin: 0 -22px 8px;
  border-bottom: 3px solid var(--ink);
  background:
    linear-gradient(135deg, var(--paper) 33%, transparent 33%) 0 100% / 18px 18px repeat-x,
    var(--band, var(--marigold));
}
.post-card--rosa { --band: var(--rosa); }
.post-card--turq { --band: var(--turq); }
.post-card--marigold { --band: var(--marigold); }
.post-card__tag {
  align-self: flex-start;
  padding: 3px 12px 1px;
  font-family: var(--label);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  border: 2px solid var(--ink);
  border-radius: 999px;
}
.post-card__title { font-family: var(--display); font-size: 1.6rem; line-height: 1.12; }
.post-card__text { flex: 1; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.5; }
.post-card__meta { font-family: var(--label); font-size: 1.05rem; letter-spacing: 0.1em; color: var(--verde); }

/* ------------------------------------------------ blog index + post */
.page-hero { padding: clamp(40px, 7vw, 90px) 0 clamp(40px, 6vw, 70px); }
.page-hero h1, .lost h1 {
  margin: 0 0 0.3em;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.8rem, 9vw, 6rem);
  line-height: 0.98;
  color: var(--rosa);
  text-shadow: 0.045em 0.045em 0 var(--turq), 0.09em 0.09em 0 var(--ink);
}
.page-hero__lede { font-size: 1.3rem; max-width: 46ch; font-style: italic; }
.post-cards--index .post-card__title { font-size: 1.85rem; }

.post-head { --zz: var(--cream); padding: clamp(36px, 6vw, 72px) 0 clamp(30px, 5vw, 56px); background: var(--band, var(--marigold)); border-top: 3px solid var(--ink); }
.post-head--rosa { --band: var(--rosa); color: #fff; }
.post-head--turq { --band: var(--turq-deep); color: #fff; }
.post-head--marigold { --band: var(--marigold); }
.crumbs { margin-bottom: 22px; }
.crumbs a {
  font-family: var(--label);
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  color: inherit;
  text-decoration: none;
}
.crumbs a:hover { color: inherit; text-decoration: underline; }
.post-head .ribbon { background: var(--cream); }
.post-title {
  margin: 0 0 0.3em;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 7.4vw, 4.6rem);
  line-height: 1.02;
  text-shadow: 0.05em 0.05em 0 var(--ink);
}
.post-head--marigold .post-title { color: var(--ink); text-shadow: 0.05em 0.05em 0 var(--paper); }
.post-meta { margin: 0; font-family: var(--label); font-size: 1.2rem; letter-spacing: 0.1em; }
.post-head--rosa + .zigzag--post { --band: var(--rosa); }
.post-head--turq + .zigzag--post { --band: var(--turq-deep); }
.zigzag--post {
  background:
    linear-gradient(135deg, var(--band, var(--marigold)) 33%, transparent 33%) 0 0 / 22px 22px,
    linear-gradient(225deg, var(--band, var(--marigold)) 33%, transparent 33%) 0 0 / 22px 22px;
}
.post-lede {
  margin: clamp(30px, 5vw, 50px) 0 1.2em;
  font-size: clamp(1.3rem, 2.4vw, 1.55rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--verde-deep);
}
.prose h2 {
  margin: 1.6em 0 0.5em;
  font-size: clamp(1.7rem, 3.6vw, 2.3rem);
  color: var(--rosa-deep);
}
.prose h2::before {
  content: "";
  display: inline-block;
  width: 0.62em; height: 0.62em;
  margin-right: 0.35em;
  vertical-align: 0.04em;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: radial-gradient(circle, var(--rosa) 0 30%, var(--marigold) 32%);
}
.prose strong { color: var(--ink); }
.prose em { color: var(--verde); }
.prose ul { list-style: none; margin: 0 0 1.2em; padding: 0; }
.prose li { position: relative; padding-left: 32px; margin-bottom: 0.6em; }
.prose li::before {
  content: "✶";
  position: absolute;
  left: 2px; top: 0;
  color: var(--rosa);
  font-size: 1.15em;
}
.prose li:nth-child(3n + 2)::before { color: var(--marigold-deep); }
.prose li:nth-child(3n + 3)::before { color: var(--turq-deep); }
.notify--post { --notch: var(--cream); background: transparent; border: 0; padding-top: 50px; padding-bottom: 40px; }
.notify--compact { padding-top: clamp(48px, 8vw, 90px); border-top: 3px solid var(--ink); }
.post-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-bottom: 40px; }

/* ------------------------------------------------ 404 */
.lost { padding: clamp(40px, 8vw, 100px) 0; }
.lost__grid { display: grid; gap: 36px; align-items: center; }
.lost__card { width: min(260px, 70%); margin: 0 auto; transform: rotate(-5deg); }
.lost__card .loteria__name { font-size: 1.1rem; }
.lost__text p { font-size: 1.25rem; max-width: 40ch; }
@media (min-width: 800px) { .lost__grid { grid-template-columns: 0.8fr 1.2fr; } }

/* ------------------------------------------------ footer */
.site-footer { --zz: var(--cream); background: var(--ink); color: var(--cream); }
.zigzag--footer { --zz: var(--cream); }
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px 40px;
  padding-top: 48px;
  padding-bottom: 28px;
}
.footer-brand {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  line-height: 1;
  color: var(--marigold);
  text-shadow: 0.05em 0.05em 0 var(--rosa);
}
.footer-tag { margin: 8px 0 0; font-family: var(--label); font-size: 1.2rem; letter-spacing: 0.14em; color: #e9dcc4; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-nav a {
  font-family: var(--label);
  font-size: 1.35rem;
  letter-spacing: 0.1em;
  color: var(--cream);
  text-decoration: none;
  padding: 6px 0;
}
.footer-nav a:hover { color: var(--marigold); text-decoration: underline; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 18px;
  padding-bottom: 32px;
  border-top: 1px solid rgba(253, 243, 225, 0.25);
  font-size: 1rem;
}
.footer-base p { margin: 0; }
.footer-love { font-style: italic; color: #e9dcc4; }

/* ------------------------------------------------ reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 1.3, 0.4, 1); }
.js .card.reveal, .js .post-card.reveal { transform: translateY(28px) rotate(-2deg); }
main { overflow-x: clip; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (min-width: 1000px) {
  .js .card.reveal.is-in { transform: rotate(var(--r, 0deg)); }
  .js .card.reveal.is-in:hover { transform: translateY(-8px) rotate(0deg) scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .flag, .sun__rays { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
