/* =========================================================================
   ZubesGrub - Landing page (home) styles + motion
   Loads AFTER app.css. Landing-only: richer hero, Nigerian adire patterns,
   kinetic marquee, spinning brand stamp, steam, scroll choreography.
   All motion is reduced-motion safe (see bottom). Color/shape locks hold:
   orange = only interactive accent; green = Nigerian, red = American.
   ========================================================================= */

/* ---- Adire / Ankara inspired geometric tiles (cultural pattern) ---- */
:root {
  --adire-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84' viewBox='0 0 84 84'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.10' stroke-width='2'%3E%3Ccircle cx='42' cy='42' r='15'/%3E%3Ccircle cx='42' cy='42' r='6'/%3E%3Cpath d='M42 0v84M0 42h84'/%3E%3Ccircle cx='0' cy='0' r='9'/%3E%3Ccircle cx='84' cy='0' r='9'/%3E%3Ccircle cx='0' cy='84' r='9'/%3E%3Ccircle cx='84' cy='84' r='9'/%3E%3C/g%3E%3C/svg%3E");
  --adire-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84' viewBox='0 0 84 84'%3E%3Cg fill='none' stroke='%231a1512' stroke-opacity='0.08' stroke-width='2'%3E%3Ccircle cx='42' cy='42' r='15'/%3E%3Ccircle cx='42' cy='42' r='6'/%3E%3Cpath d='M42 0v84M0 42h84'/%3E%3Ccircle cx='0' cy='0' r='9'/%3E%3Ccircle cx='84' cy='0' r='9'/%3E%3Ccircle cx='0' cy='84' r='9'/%3E%3Ccircle cx='84' cy='84' r='9'/%3E%3C/g%3E%3C/svg%3E");
}

/* ============================ HERO ============================ */
.hero2 {
  position: relative;
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(255, 90, 31, 0.22), transparent 55%),
    linear-gradient(180deg, #0c5828, #073d1c);
  color: #f4ffe9;
  overflow: hidden;
  isolation: isolate;
}
.hero2::before {
  /* adire textile wash */
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--adire-light);
  background-size: 84px 84px;
  opacity: 0.9;
  z-index: -1;
  mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
}
.hero2-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 40px;
  align-items: center;
  padding-block: clamp(36px, 5vw, 70px) clamp(56px, 7vw, 96px);
  min-height: calc(92vh - var(--nav-h));
}
.hero2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffd9a8;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 7px 14px;
  border-radius: 999px;
}
.hero2-title {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.92;
  font-size: clamp(3.1rem, 8.2vw, 7rem);
  margin-top: 22px;
  text-wrap: balance;
}
.hero2-title .accent {
  color: var(--orange);
}
/* kinetic rotating word */
.kw {
  display: inline-block;
  height: 1.05em;
  line-height: 1.05;
  overflow: hidden;
  vertical-align: bottom;
  color: var(--orange);
}
.kw-track {
  display: flex;
  flex-direction: column;
  animation: kw 9s cubic-bezier(0.7, 0, 0.2, 1) infinite;
}
.kw-track span {
  height: 1.05em;
  line-height: 1.05;
  padding-bottom: 0.06em;
}
@keyframes kw {
  0%,
  16% {
    transform: translateY(0);
  }
  20%,
  40% {
    transform: translateY(-1.05em);
  }
  44%,
  64% {
    transform: translateY(-2.1em);
  }
  68%,
  88% {
    transform: translateY(-3.15em);
  }
  92%,
  100% {
    transform: translateY(-4.2em);
  }
}
.hero2-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  color: #d8f0dd;
  max-width: 46ch;
  margin-top: 22px;
}
.hero2-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.hero2-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  font-weight: 600;
  color: #eafff0;
  font-size: 0.95rem;
}
.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5dff9b;
  box-shadow: 0 0 0 0 rgba(93, 255, 155, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(93, 255, 155, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(93, 255, 155, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(93, 255, 155, 0);
  }
}

/* arrow that slides on hover */
.btn .arr {
  transition: transform 0.2s ease;
}
.btn:hover .arr {
  transform: translateX(4px);
}

/* ---- Hero art: floating food cutouts + spin badge + steam ---- */
.hero2-art {
  position: relative;
  min-height: 440px;
}
.cutout {
  position: absolute;
  border-radius: 26px;
  overflow: hidden;
  border: 7px solid #fff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  background: #0b3d1c;
}
.cutout img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cutout-a {
  width: 64%;
  aspect-ratio: 3/4;
  left: 6%;
  top: 4%;
  animation: floaty 7s ease-in-out infinite;
}
.cutout-b {
  width: 50%;
  aspect-ratio: 1/1;
  right: 2%;
  bottom: 2%;
  animation: floaty 6s ease-in-out infinite reverse;
}
.cutout .flag {
  position: absolute;
  left: 12px;
  top: 12px;
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(-1.5deg);
  }
  50% {
    transform: translateY(-16px) rotate(1.5deg);
  }
}
.spin-badge {
  position: absolute;
  right: 40%;
  top: -6%;
  width: 116px;
  height: 116px;
  z-index: 3;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.3));
}
.spin-badge svg {
  width: 100%;
  height: 100%;
  animation: spin 16s linear infinite;
}
.spin-badge text {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  fill: #fff;
}
.spin-badge .stamp-bg {
  fill: var(--ink);
}
.spin-badge .stamp-pepper {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.steam {
  position: absolute;
  z-index: 2;
  left: 26%;
  top: 2%;
  width: 70px;
  height: 90px;
  pointer-events: none;
}
.steam span {
  position: absolute;
  bottom: 0;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  filter: blur(4px);
  animation: steam 3.2s ease-in infinite;
}
.steam span:nth-child(1) {
  left: 8px;
  animation-delay: 0s;
}
.steam span:nth-child(2) {
  left: 30px;
  animation-delay: 0.9s;
}
.steam span:nth-child(3) {
  left: 52px;
  animation-delay: 1.7s;
}
@keyframes steam {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  20% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-70px) scale(2.4);
    opacity: 0;
  }
}

/* ============================ MARQUEE ============================ */
.marquee {
  background: var(--orange);
  color: #1a0d05;
  padding-block: 16px;
  border-block: 3px solid var(--ink);
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  animation: scrollx 26s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-track span {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.6vw, 2.1rem);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 28px;
}
.marquee-track .star {
  color: var(--ink);
}
@keyframes scrollx {
  to {
    transform: translateX(-50%);
  }
}

/* ============================ FUSION SPLIT (elevated) ============================ */
.split2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 44px;
}
.panel2 {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: #fff;
  isolation: isolate;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.panel2:hover {
  transform: translateY(-6px);
}
.panel2 .p2-img {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.panel2 .p2-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.panel2:hover .p2-img img {
  transform: scale(1.06);
}
.panel2::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}
.panel2.ng::after {
  background: linear-gradient(180deg, rgba(7, 61, 28, 0.1), rgba(7, 61, 28, 0.92));
}
.panel2.us::after {
  background: linear-gradient(180deg, rgba(108, 12, 16, 0.1), rgba(108, 12, 16, 0.92));
}
.panel2 .p2-pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--adire-light);
  background-size: 70px 70px;
  opacity: 0.5;
  mask-image: linear-gradient(180deg, transparent 40%, #000);
}
.panel2 h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}
.panel2 .p2-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 20px;
}
.panel2 .p2-list li {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

/* ============================ ROOTS (Nigerian feature) ============================ */
.roots {
  position: relative;
  background: #073d1c;
  color: #eafff0;
  overflow: hidden;
}
.roots::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--adire-light);
  background-size: 90px 90px;
  opacity: 0.7;
}
.roots-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.roots-media {
  position: relative;
}
.roots-media .r-img {
  border-radius: 24px;
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5/4;
}
.roots-media .r-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.roots-media .r-stamp {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: var(--orange);
  color: #1a0d05;
  border-radius: 16px;
  padding: 14px 18px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  transform: rotate(-5deg);
  box-shadow: var(--shadow-md);
}
.roots .chilis {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.roots .chilis span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ============================ PLATES (dynamic) ============================ */
.plates2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.plate2 {
  display: block;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s ease;
}
.plate2:hover {
  transform: translateY(-8px) rotate(-0.6deg);
  box-shadow: var(--shadow-lg);
}
.plate2 .p-img {
  aspect-ratio: 1/1;
  position: relative;
  overflow: hidden;
}
.plate2 .p-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.plate2:hover .p-img img {
  transform: scale(1.08);
}
.plate2 .p-tag {
  position: absolute;
  top: 12px;
  left: 12px;
}
.plate2 .p-body {
  padding: 16px 18px 20px;
}
.plate2 h3 {
  font-size: 1.12rem;
  margin-top: 6px;
}
.plate2 .p-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}
.plate2 .p-add {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 700;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.plate2:hover .p-add {
  background: var(--orange);
  transform: rotate(90deg);
}

/* ============================ STEPS ============================ */
.steps2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step2 {
  position: relative;
  padding: 28px 24px;
  border-radius: 20px;
  background: var(--cream);
  border: 1px solid var(--line-2);
  overflow: hidden;
}
.step2 .s-n {
  font-family: var(--display);
  font-weight: 800;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--orange);
  opacity: 0.9;
}
.step2 h3 {
  margin-top: 8px;
  font-size: 1.3rem;
}
.step2 p {
  margin-top: 8px;
  color: var(--ink-2);
}

/* ============================ CATERING ============================ */
.cater2 {
  position: relative;
  min-height: 480px;
  display: grid;
  isolation: isolate;
}
.cater2 .c-bg,
.cater2 .c-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.cater2::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 40, 18, 0.94), rgba(7, 40, 18, 0.45));
}
.cater2 .c-inner {
  display: flex;
  align-items: center;
  min-height: 480px;
}

/* ============================ TESTIMONIALS ============================ */
.quotes2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.q2 {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease;
}
.q2:hover {
  transform: translateY(-5px);
}
.q2 .stars {
  color: var(--orange);
  letter-spacing: 3px;
}
.q2 blockquote {
  font-size: 1.06rem;
  line-height: 1.5;
  margin: 12px 0 16px;
}
.q2 figcaption {
  font-weight: 700;
  font-size: 0.92rem;
}

/* ============================ FINAL CTA ============================ */
.final2 {
  position: relative;
  background: linear-gradient(160deg, #0c5828, #052b14);
  color: #f4ffe9;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.final2::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--adire-light);
  background-size: 90px 90px;
  opacity: 0.8;
}
.final2 .spin-badge {
  position: static;
  margin: 0 auto 24px;
}

/* ============================ THE SPREAD (cinematic framed image) ============================ */
.spread {
  background: var(--ink);
  color: #f4ffe9;
  overflow: hidden;
}
.spread-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: center;
}
.spread-copy h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 0.98;
}
.spread-copy .lead {
  color: #cfe6d4;
  margin-top: 16px;
}
.spread-stat-row {
  display: flex;
  gap: 30px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.spread-stat .n {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--orange);
  line-height: 1;
}
.spread-stat .l {
  font-size: 0.85rem;
  color: #b6cdbb;
  margin-top: 4px;
}
.spread-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  box-shadow: var(--shadow-lg);
  border: 6px solid rgba(255, 255, 255, 0.06);
}
.spread-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.spread-frame:hover img {
  transform: scale(1.04);
}
.spread-frame .tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
}

/* ============================ FOOD BENTO (gapless, real photos) ============================ */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 6px;
  border-radius: 24px;
  overflow: hidden;
  margin-top: 36px;
}
.bento-cell {
  position: relative;
  overflow: hidden;
  display: block;
  color: #fff;
  background: var(--ink);
}
.bento-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-cell:hover img {
  transform: scale(1.07);
}
.bento-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15, 9, 5, 0.82));
}
.bento-label {
  position: absolute;
  left: 16px;
  bottom: 14px;
  right: 16px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}
.bento-label .bn {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.05;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
.bento-label .bp {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.85rem;
  background: var(--orange);
  color: #1a0d05;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.bento-cell .bflag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}
.cell-lg {
  grid-column: span 2;
  grid-row: span 2;
}
.cell-wide {
  grid-column: span 2;
}

@media (max-width: 900px) {
  .spread-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 170px;
  }
  .cell-lg {
    grid-column: span 2;
    grid-row: span 2;
  }
  .cell-wide {
    grid-column: span 2;
  }
}
@media (max-width: 560px) {
  .bento {
    grid-auto-rows: 150px;
  }
  .cell-lg {
    grid-row: span 2;
  }
}

/* ============================ REVEAL VARIANTS ============================ */
.reveal.r-left {
  transform: translateX(-40px);
}
.reveal.r-right {
  transform: translateX(40px);
}
.reveal.r-scale {
  transform: scale(0.94);
}
.reveal.r-left.in,
.reveal.r-right.in,
.reveal.r-scale.in {
  transform: none;
}
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.stagger.in > * {
  opacity: 1;
  transform: none;
}
.stagger.in > *:nth-child(2) {
  transition-delay: 0.08s;
}
.stagger.in > *:nth-child(3) {
  transition-delay: 0.16s;
}
.stagger.in > *:nth-child(4) {
  transition-delay: 0.24s;
}

/* ============================ RESPONSIVE ============================ */
@media (max-width: 940px) {
  .hero2-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 48px;
  }
  .hero2-art {
    max-width: 480px;
    min-height: 380px;
  }
  .split2,
  .roots-grid,
  .steps2,
  .quotes2 {
    grid-template-columns: 1fr;
  }
  .plates2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .plates2 {
    grid-template-columns: 1fr;
  }
  .roots-media .r-stamp {
    left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kw-track,
  .cutout-a,
  .cutout-b,
  .spin-badge svg,
  .steam span,
  .live-dot,
  .marquee-track {
    animation: none !important;
  }
  .kw {
    height: auto;
  }
  .kw-track {
    transform: none !important;
  }
  .kw-track span:not(:first-child) {
    display: none;
  }
  .marquee-track {
    transform: none;
  }
}
