:root {
  --ink: #171312;
  --cream: #fff5df;
  --paper: #fffbf3;
  --red: #b7120b;
  --orange: #f5a53a;
  --lime: #d5c184;
  --line: rgba(23, 19, 18, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, system-ui, sans-serif;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

.guide-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 6vw, 80px);
  background: rgba(255, 245, 223, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.guide-brand {
  display: grid;
  text-transform: uppercase;
  line-height: 0.8;
}

.guide-brand span { font-size: 0.68rem; font-weight: 900; letter-spacing: 0.32em; }
.guide-brand strong { font-family: "Bebas Neue", sans-serif; font-size: 2rem; letter-spacing: 0.07em; }
.back-home { font-size: 0.78rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; }

.guide-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  min-height: 76vh;
  padding: clamp(70px, 10vw, 150px) clamp(24px, 8vw, 120px);
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(17, 11, 9, 0.95), rgba(92, 17, 9, 0.5)),
    url("../assets/taco-guide/taco-trio.jpg") center / cover;
}

.guide-hero::after {
  position: absolute;
  right: -10vw;
  bottom: -20vw;
  width: 48vw;
  aspect-ratio: 1;
  content: "";
  border: clamp(28px, 5vw, 72px) solid rgba(245, 165, 58, 0.2);
  border-radius: 50%;
}

.hero-copy { position: relative; z-index: 1; max-width: 760px; }
.eyebrow { margin: 0 0 14px; color: var(--orange); font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }

h1, h2 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h1 { font-size: clamp(6rem, 15vw, 13rem); line-height: 0.72; }
h2 { font-size: clamp(4.7rem, 10vw, 9rem); line-height: 0.78; }
.hero-intro { max-width: 650px; margin: 34px 0; font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.6; }

.hero-stamp {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: clamp(160px, 18vw, 250px);
  aspect-ratio: 1;
  padding: 26px;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  transform: rotate(7deg);
}

.hero-stamp span, .hero-stamp small { font-size: 0.72rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.hero-stamp strong { font-family: "Bebas Neue", sans-serif; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 0.82; text-transform: uppercase; }

.guide-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

.guide-button:hover { transform: translateY(-2px); }
.guide-button-primary { color: #fff; background: var(--red); }
.guide-button-primary:hover { background: #911008; }
.guide-button-dark { color: #fff; background: var(--ink); }

.story-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.5fr);
  gap: clamp(28px, 6vw, 90px);
  padding: clamp(78px, 10vw, 150px) clamp(22px, 7vw, 110px);
  background:
    radial-gradient(circle at 12% 12%, rgba(245, 165, 58, 0.34), transparent 28%),
    var(--cream);
}

.section-heading { align-self: center; }
.section-heading > p:last-child { max-width: 520px; font-size: 1.05rem; line-height: 1.75; }
.story-image { position: relative; align-self: start; overflow: hidden; border-radius: 28px; box-shadow: 0 30px 80px rgba(72, 34, 17, 0.24); }
.story-image img { transition: transform 500ms ease; }
.story-image:hover img { transform: scale(1.015); }
.story-image span { position: absolute; right: 16px; bottom: 16px; padding: 10px 14px; color: #fff; background: rgba(19, 14, 12, 0.76); border-radius: 999px; font-size: 0.72rem; font-weight: 900; text-transform: uppercase; backdrop-filter: blur(10px); }

.taco-cards { grid-column: 1 / -1; display: grid; gap: 14px; }
.taco-cards-three { grid-template-columns: repeat(3, 1fr); }
.taco-cards article { padding: 26px; background: rgba(255, 255, 255, 0.58); border: 1px solid var(--line); border-radius: 20px; }
.taco-cards span { color: var(--red); font-weight: 900; }
.taco-cards h3 { margin: 14px 0 7px; font-size: 1.25rem; }
.taco-cards p { margin: 0; color: #6e5949; line-height: 1.55; }

.dark-section { color: #fff; background: var(--ink); }
.dark-section .story-image { grid-column: 1; grid-row: 1 / span 2; max-width: 660px; }
.dark-section .section-heading { grid-column: 2; }
.light-copy > p:last-child { color: rgba(255, 255, 255, 0.7); }

.flavour-list {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.flavour-list span { padding: 16px 18px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; font-size: 0.82rem; font-weight: 800; }

.continued-section {
  position: relative;
  min-height: 76vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(90px, 12vw, 180px) 24px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(245, 165, 58, 0.4), transparent 32%),
    linear-gradient(135deg, #f5dfad, var(--cream));
}

.continued-section::before, .continued-section::after { position: absolute; color: rgba(183, 18, 11, 0.1); font-family: "Bebas Neue", sans-serif; font-size: clamp(13rem, 30vw, 28rem); content: "?"; }
.continued-section::before { left: 2vw; top: -5vw; transform: rotate(-12deg); }
.continued-section::after { right: 2vw; bottom: -10vw; transform: rotate(15deg); }
.continued-section > * { position: relative; z-index: 1; }
.continued-section h2 { font-size: clamp(7rem, 18vw, 16rem); }
.continued-section h2 span { color: var(--red); }
.continued-section > p:not(.eyebrow) { max-width: 700px; margin: 32px 0; font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.7; }
.continued-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.text-link { padding: 16px; font-size: 0.8rem; font-weight: 900; text-transform: uppercase; }

footer { display: flex; justify-content: space-between; gap: 20px; padding: 26px clamp(20px, 6vw, 80px); color: rgba(255, 255, 255, 0.65); background: var(--ink); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }

@media (max-width: 760px) {
  .guide-hero { grid-template-columns: 1fr; min-height: 82vh; padding: 76px 20px 54px; }
  .guide-hero::after { width: 80vw; right: -35vw; bottom: -24vw; }
  .hero-stamp { display: none; }
  h1 { font-size: clamp(6.1rem, 28vw, 8rem); }
  h2 { font-size: clamp(4.5rem, 21vw, 6.5rem); }
  .hero-intro { margin: 26px 0; font-size: 1rem; }
  .guide-button { width: 100%; }
  .story-section { grid-template-columns: 1fr; padding: 74px 18px; }
  .story-image, .dark-section .story-image, .dark-section .section-heading, .flavour-list { grid-column: 1; grid-row: auto; }
  .taco-cards { grid-column: 1; }
  .taco-cards-three, .flavour-list { grid-template-columns: 1fr; }
  .story-image { border-radius: 20px; }
  .story-image span { right: 10px; bottom: 10px; }
  .continued-section { min-height: 82vh; padding: 90px 18px; }
  .continued-section h2 { font-size: clamp(4.5rem, 19vw, 6rem); }
  .continued-actions { width: 100%; }
  footer { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
