/* [comment #10] */

:root {
  --dirt:      #2a1f18;
  --dirt-deep: #1b1310;
  --sand:      #f5e7cf;
  --sand-warm: #ecd6b0;
  --cactus:    #3f8a56;
  --cactus-lo: #2c6b41;
  --pad:       #6fbf4a;
  --pad-dark:  #3f8c35;
  --pad-light: #a6e06e;
  --spine:     #fff3c4;
  --spine-tip: #d8b96a;
  --soil:      #8a5a3b;
  --clay:      #dd8e5f;
  --clay-dark: #b06a42;
  --bloom:     #ff5f7a;
  --bloom-deep:#e8408c;
  --sun:       #ffb23f;
  --sunny:     #ffd24c;
  --steel:     #dde2ec;
  --steel-dark:#8b95a8;
  --mint:      #7fd6a2;
  --ink:       #17110d;
  --ink-soft:  #4a3a2e;

  --gap:  clamp(1.25rem, 4vw, 4rem);
  --hold: 74rem;
  --shadow: 0 0.6rem 0 rgba(0, 0, 0, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* [comment #11] */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font: 400 clamp(1rem, 0.4vw + 0.95rem, 1.125rem)/1.65
        ui-rounded, "Nunito", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.08; margin: 0 0 0.6em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); font-weight: 900; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.85rem); font-weight: 900; }
h3 { font-size: clamp(1.2rem, 1.5vw, 1.5rem); font-weight: 800; }
p  { margin: 0 0 1em; }
em { font-style: normal; color: var(--cactus-lo); }
strong { font-weight: 800; }

a { color: inherit; }

.wrap { max-width: var(--hold); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 99;
  background: var(--ink); color: var(--sand); padding: 0.75rem 1rem;
}
.skip:focus { left: 0; }

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

.eyebrow {
  font-weight: 900; text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 0.78rem; color: var(--cactus-lo); margin-bottom: 0.9rem;
}
.band-dark .eyebrow { color: var(--sun); }
.band-cactus .eyebrow { color: #fff; }

/* ──────────────────────────────────────────────────────────────────── */

.bar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.55rem var(--gap);
  background: rgba(245, 231, 207, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid rgba(23, 17, 13, 0.1);
}

.mark {
  display: flex; align-items: center; gap: 0.55rem; text-decoration: none;
  min-height: 44px;
}
.mark-art { width: 2.1rem; height: 2.1rem; }
.mark-art.small { width: 1.6rem; height: 1.6rem; }
.cactus {
  fill: none; stroke: var(--cactus); stroke-width: 6;
  stroke-linecap: round; stroke-linejoin: round;
}
.bloom { fill: var(--bloom); }
.mark-word { font-weight: 900; letter-spacing: 0.02em; font-size: 1.05rem; }
.mark-thin { font-weight: 400; color: var(--ink-soft); margin-left: 0.15em; }

.links { display: flex; gap: clamp(0.4rem, 1.2vw, 1.3rem); flex-wrap: wrap; }
.links a {
  text-decoration: none; font-weight: 700; font-size: 0.95rem;
  padding: 0.5rem 0.35rem; border-bottom: 3px solid transparent;
  min-height: 44px; display: flex; align-items: center;
}
.links a:hover { border-bottom-color: var(--bloom); }
@media (max-width: 860px) { .links { display: none; } }

/* ──────────────────────────────────────────────────────────────────── */

.hero {
  padding: clamp(2.5rem, 6vw, 5rem) var(--gap) clamp(2.5rem, 5vw, 4.5rem);
  background:
    radial-gradient(70% 70% at 88% 8%, var(--sun) 0%, transparent 55%),
    radial-gradient(90% 70% at 8% 115%, var(--sand-warm) 0%, transparent 60%),
    var(--sand);
}
.hero-grid {
  display: grid; gap: 2rem; align-items: center;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-words { max-width: 46rem; }
.lede { font-size: clamp(1.05rem, 0.5vw + 1rem, 1.26rem); max-width: 42rem; }
.lede.sub { color: var(--ink-soft); }
.kicker {
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.13em;
  font-size: 0.78rem; color: var(--cactus-lo); margin-bottom: 1.2rem;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; font-weight: 900; text-align: center;
  padding: 0.8rem 1.4rem; border-radius: 999px; min-height: 44px;
  border: 3px solid var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn-loud { background: var(--cactus-lo); color: #fff; box-shadow: var(--shadow); }
.btn-quiet { background: transparent; color: var(--ink); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); box-shadow: none; }

/* ──────────────────────────────────────────────────────────────────── */
/* [comment #30] */

.hero-art { margin: 0; text-align: center; }
.hero-art figcaption {
  margin-top: 0.4rem; font-size: 0.9rem; color: var(--ink-soft); font-style: italic;
}
.nopal { width: min(100%, 26rem); height: auto; overflow: visible; }
.nopal .soil { fill: var(--soil); }
.nopal .pad {
  fill: var(--pad); stroke: var(--pad-dark); stroke-width: 5;
}
.nopal .pad-shine { fill: var(--pad-light); opacity: 0.55; }
.nopal .spine {
  stroke: var(--spine-tip); stroke-width: 4; stroke-linecap: round;
  transform-box: fill-box; transform-origin: center;
}
.nopal .shades path { fill: var(--ink); }
.nopal .shades .shades-bar { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; }
.nopal .shades .glint { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; opacity: 0.7; }
.nopal .smile { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.nopal .petal { fill: var(--bloom-deep); }
.nopal .heart { fill: var(--sunny); }
.nopal .clay { fill: var(--clay); stroke: var(--clay-dark); stroke-width: 4; }
.nopal .dice { fill: var(--pad); stroke: var(--pad-dark); stroke-width: 2.5; }
.nopal .blade { fill: var(--steel); stroke: var(--steel-dark); stroke-width: 3; }
.nopal .handle { fill: var(--soil); stroke: var(--ink); stroke-width: 3; }
.nopal .machete { transform-box: view-box; transform-origin: 310px 222px; }
.nopal .flower { transform-box: fill-box; transform-origin: center bottom; }

@media (prefers-reduced-motion: no-preference) {
  .nopal .machete { animation: swipe 9s ease-in-out infinite; }
  .nopal .spine   { animation: shave 9s ease-in infinite; animation-delay: calc(0.6s + var(--d, 0s)); }
  .nopal .flower  { animation: nod 9s ease-in-out infinite; }
}
@keyframes swipe {
  0%, 6%   { transform: rotate(0deg) translateX(0); }
  14%      { transform: rotate(-38deg) translateX(-30px); }
  22%      { transform: rotate(10deg) translateX(-60px); }
  30%      { transform: rotate(-30deg) translateX(-20px); }
  38%, 100%{ transform: rotate(0deg) translateX(0); }
}
@keyframes shave {
  0%, 4%   { opacity: 1; transform: none; }
  12%      { opacity: 0; transform: translate(-6px, 48px) rotate(120deg); }
  70%      { opacity: 0; transform: translate(-6px, 48px) rotate(120deg); }
  71%      { opacity: 0; transform: scale(0.2); }
  80%, 100%{ opacity: 1; transform: none; }
}
@keyframes nod {
  0%, 40%, 100% { transform: rotate(0deg); }
  46% { transform: rotate(-8deg) scale(1.08); }
  52% { transform: rotate(4deg); }
}

/* ──────────────────────────────────────────────────────────────────── */

.band { padding: clamp(3rem, 7vw, 6rem) var(--gap); }
.band h2 { max-width: 48rem; }
.band-sub { max-width: 46rem; font-size: 1.05rem; color: var(--ink-soft); }

.band-sand { background: var(--sand-warm); }

.band-dark { background: var(--dirt); color: var(--sand); }
.band-dark em { color: var(--sun); }
.band-dark .band-sub { color: var(--sand-warm); }
.band-dark .btn-quiet { border-color: var(--sand); color: var(--sand); }

.band-cactus {
  background: linear-gradient(160deg, var(--cactus) 0%, var(--cactus-lo) 100%);
  color: #fff;
}
.band-cactus .band-sub { color: #fff; }
.band-cactus .btn-loud { background: #fff; color: var(--cactus-lo); border-color: #fff; }

.two-col {
  display: grid; gap: 0 2.5rem; margin-top: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
}

.pull {
  margin: 2rem 0 0; padding: 1.4rem 1.6rem;
  border-left: 8px solid var(--cactus);
  background: rgba(63, 138, 86, 0.1); border-radius: 0 1rem 1rem 0;
  max-width: 40rem;
}
.pull p { font-weight: 900; font-size: clamp(1.2rem, 2vw, 1.7rem); margin: 0; }
.pull footer { margin-top: 0.5rem; font-size: 0.9rem; color: var(--ink-soft); }

/* [comment #22] */
.names { margin-top: clamp(2.5rem, 5vw, 4rem); }
.name-list {
  list-style: none; margin: 1.2rem 0 0; padding: 0;
  display: grid; gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}
.name-list li {
  background: #fff; border: 3px solid var(--ink); border-radius: 1rem;
  padding: 1rem 1.1rem; display: grid; gap: 0.35rem; align-content: start;
}
.name-old {
  font-weight: 900; font-size: 1.15rem; color: var(--ink-soft);
  text-decoration: line-through; text-decoration-color: var(--bloom);
  text-decoration-thickness: 3px;
}
.name-new { font-weight: 900; font-size: 1.25rem; color: var(--cactus-lo); }
.name-why { font-size: 0.95rem; }
.name-now { background: var(--sunny) !important; box-shadow: var(--shadow); }

/* ──────────────────────────────────────────────────────────────────── */
/* [comment #23] */

.people {
  display: grid; gap: 1.6rem; margin-top: 2.2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr));
}
.person {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(245, 231, 207, 0.22);
  border-radius: 1.4rem;
  padding: clamp(1.1rem, 2vw, 1.6rem);
  display: grid; gap: 1.2rem; align-content: start;
}
.portrait {
  border-radius: 1.1rem; border: 3px solid var(--ink);
  padding: 1rem 1rem 0.8rem; text-align: center;
}
.portrait svg { width: 100%; max-width: 15rem; height: auto; display: block; margin: 0 auto; }
.portrait-carlos { background: linear-gradient(180deg, var(--sun), var(--clay)); }
.portrait-paty   { background: linear-gradient(180deg, #bfe3f2, var(--mint)); }
.portrait-cap {
  margin: 0.6rem 0 0; font-size: 0.8rem; color: var(--ink); font-style: italic;
}

.p-pad { fill: var(--pad); stroke: var(--pad-dark); stroke-width: 4; }
.p-shades path { fill: var(--ink); }
.p-shades .p-bar { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; }
.p-shades .p-glint { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; opacity: 0.7; }
.p-smile { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.taco-shell { fill: var(--sunny); stroke: var(--clay-dark); stroke-width: 3; }
.taco-fill { fill: var(--bloom); }
.taco-lettuce { fill: none; stroke: var(--cactus); stroke-width: 4; stroke-linecap: round; }

.p-hill { fill: var(--cactus); }
.p-snow { fill: #fff; }
.p-grid rect { fill: var(--sand); stroke: var(--ink); stroke-width: 1.5; }
.p-grid .p-wrong { fill: var(--bloom); }
.p-lens circle { fill: rgba(255, 255, 255, 0.25); stroke: var(--ink); stroke-width: 5; }
.p-lens path { stroke: var(--ink); stroke-width: 8; stroke-linecap: round; }
.boot { fill: var(--soil); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.boot-lace { stroke: var(--sunny); stroke-width: 2.5; stroke-linecap: round; }
.boot-sole { stroke: var(--ink); stroke-width: 5; stroke-linecap: round; }

@media (prefers-reduced-motion: no-preference) {
  .p-shades { animation: shades-bob 6s ease-in-out infinite; }
  .p-lens { animation: lens-look 7s ease-in-out infinite; }
}
@keyframes shades-bob {
  0%, 80%, 100% { transform: translateY(0); }
  86% { transform: translateY(-6px); }
  92% { transform: translateY(0); }
}
@keyframes lens-look {
  0%, 100% { transform: translate(0, 0); }
  30% { transform: translate(-10px, -6px); }
  60% { transform: translate(0, 0); }
}

.person-words h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin-bottom: 0.2em; }
.person-role { font-weight: 800; color: var(--sun); margin-bottom: 0.8rem; }
.person-list { padding-left: 1.2rem; margin: 0 0 1rem; }
.person-list li { margin-bottom: 0.7rem; }
.person-foot { font-weight: 800; margin: 0; font-style: italic; }

/* [comment #24] */
.org { margin-top: clamp(2.5rem, 5vw, 4rem); text-align: center; }
.org-sub { color: var(--sand-warm); }
.org-chart { display: grid; justify-items: center; margin-top: 1.4rem; }
.org-top, .org-box {
  background: var(--sand); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 1rem;
  padding: 0.9rem 1.2rem; max-width: 20rem; box-shadow: var(--shadow);
}
.org-top { background: var(--sunny); position: relative; }
.org-top::after {
  content: ""; position: absolute; left: 50%; top: 100%;
  width: 3px; height: 1.6rem; background: var(--sand-warm);
}
.org-taco { width: 4rem; height: auto; }
.org-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem 2rem;
  margin-top: 1.6rem; padding-top: 1.4rem;
  border-top: 3px solid var(--sand-warm);
}
.org-box { flex: 1 1 14rem; position: relative; }
@media (min-width: 640px) {
  .org-box::before {
    content: ""; position: absolute; left: 50%; bottom: 100%;
    width: 3px; height: 1.6rem; background: var(--sand-warm);
  }
}
.org-name { font-weight: 900; margin: 0 0 0.2rem; font-size: 1.1rem; }
.org-note { margin: 0; font-size: 0.95rem; }

/* ──────────────────────────────────────────────────────────────────── */

.cards {
  display: grid; gap: 1.6rem 1.3rem; margin-top: 2.4rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
}
.card {
  position: relative; background: #fff; color: var(--ink);
  border: 3px solid var(--ink); border-radius: 1.2rem;
  padding: 1.7rem 1.4rem 1.2rem;
  box-shadow: var(--shadow);
}
.card-num {
  position: absolute; top: -0.9rem; left: 1.2rem;
  background: var(--ink); color: var(--sand);
  font-weight: 900; font-size: 0.8rem; letter-spacing: 0.1em;
  padding: 0.2rem 0.55rem; border-radius: 0.4rem;
}
.card p:last-child { margin-bottom: 0; }
.card-odd { background: var(--sunny); }

/* [comment #26] */
.recipe {
  list-style: none; margin: 2.2rem 0 0; padding: 0;
  display: grid; gap: 1.3rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  counter-reset: none;
}
.recipe li {
  background: var(--sand); border: 3px dashed var(--clay-dark);
  border-radius: 1.2rem; padding: 1.2rem 1.3rem;
}
.recipe .step {
  display: inline-grid; place-items: center;
  width: 2.6rem; height: 2.6rem; border-radius: 0.5rem;
  background: var(--pad); border: 3px solid var(--pad-dark);
  font-weight: 900; font-size: 1.2rem; margin-bottom: 0.7rem;
}
.recipe h3 { margin-bottom: 0.4em; }
.recipe p { margin: 0; }

/* ──────────────────────────────────────────────────────────────────── */
/* [comment #14] */

.shelf {
  display: grid; gap: 1.2rem; margin-top: 1.8rem;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: stretch;
}
@media (max-width: 900px) { .shelf { grid-template-columns: 1fr; } }

.game {
  display: grid; gap: 1.2rem 1.6rem; align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(245, 231, 207, 0.22);
  border-radius: 1.4rem;
  padding: clamp(1rem, 2vw, 1.4rem);
}
@media (max-width: 620px) { .game { grid-template-columns: 1fr; } }
/* [comment #12] */
.game-art {
  display: block; aspect-ratio: 16 / 9; overflow: hidden;
  border: 3px solid var(--ink); border-radius: 0.9rem;
  background: var(--dirt-deep);
}
.game-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.game-words h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin-bottom: 0.3em; }
.game-cta { margin: 1rem 0 0; }

.shelf-room {
  margin: 0; padding: 1.4rem 1.6rem;
  border: 2px dashed rgba(245, 231, 207, 0.4);
  border-radius: 1.4rem; color: var(--sand-warm);
  font-style: italic; display: grid; align-content: center;
}
.shelf-room strong { font-style: normal; color: var(--sand); margin-right: 0.3em; }

/* ──────────────────────────────────────────────────────────────────── */
/* [comment #27] */

.faq { display: grid; gap: 0.8rem; margin-top: 1.8rem; max-width: 52rem; }
.faq details {
  background: #fff; border: 3px solid var(--ink); border-radius: 1rem;
}
.faq summary {
  cursor: pointer; font-weight: 900; padding: 0.7rem 1.2rem;
  min-height: 44px; display: flex; align-items: center;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "+"; display: inline-grid; place-items: center; flex: none;
  width: 1.6rem; height: 1.6rem; margin-right: 0.7rem; border-radius: 50%;
  background: var(--pad); border: 2px solid var(--pad-dark); font-weight: 900;
  line-height: 1;
}
.faq details[open] summary::before { content: "–"; background: var(--bloom); border-color: var(--ink); }
.faq details p { margin: 0; padding: 0 1.2rem 1rem 3.5rem; }

/* ──────────────────────────────────────────────────────────────────── */
/* [comment #28] */

.facts { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 1.2rem; }
.facts span {
  background: #fff; border: 3px solid var(--ink); border-radius: 999px;
  padding: 0.35rem 1rem; font-size: 0.95rem;
}
.facts strong { margin-right: 0.35em; color: var(--cactus-lo); }

.files { list-style: none; margin: 1.6rem 0 0; padding: 0; max-width: 52rem; }
.files li {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 1rem;
  padding: 0.6rem 0; border-top: 2px solid rgba(23, 17, 13, 0.12);
}
.files li:last-child { border-bottom: 2px solid rgba(23, 17, 13, 0.12); }
.files a {
  font-weight: 900; text-decoration: none;
  border-bottom: 3px solid var(--cactus);
  min-height: 44px; display: inline-flex; align-items: center;
}
.files a:hover { border-bottom-color: var(--bloom); }
.file-meta { font-size: 0.92rem; color: var(--ink-soft); }

/* ──────────────────────────────────────────────────────────────────── */

.foot {
  background: var(--dirt-deep); color: var(--sand-warm);
  padding: 2.5rem var(--gap);
}
.foot-wrap { display: grid; gap: 0.6rem; }
.foot-mark {
  display: flex; align-items: center; gap: 0.5rem;
  font-weight: 900; color: var(--sand);
}
.foot p { margin: 0; font-size: 0.95rem; }
.foot .foot-small { font-size: 0.85rem; font-style: italic; }

/* ──────────────────────────────────────────────────────────────────── */
/* [comment #15] */

.band { opacity: 1; }
body.js .band {
  opacity: 0; transform: translateY(1.2rem);
  transition: opacity .6s ease, transform .6s ease;
}
body.js .band.seen { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  body.js .band { opacity: 1; transform: none; }
}
