/* ===================== Tokens ===================== */
:root {
  --orange: #f4621f;
  --orange-bright: #ff7a2e;
  --orange-deep: #d94d12;
  --orange-glow: rgba(244, 98, 31, 0.45);
  --ink: #1c1614;
  --ink-soft: #3a322e;
  --muted: #7c726c;
  --cream: #fff7f1;
  --cream-2: #fdeee3;
  --white: #ffffff;
  --line: rgba(28, 22, 20, 0.1);
  --shadow-sm: 0 4px 14px rgba(28, 22, 20, 0.08);
  --shadow-md: 0 14px 34px rgba(28, 22, 20, 0.14);
  --shadow-lg: 0 26px 60px rgba(217, 77, 18, 0.28);
  --radius: 16px;
  --radius-lg: 26px;
  --maxw: 1180px;
  --font-display: "Anton", "Montserrat", sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}

.section { padding: clamp(64px, 9vw, 120px) 0; }

h1, h2, h3 { margin: 0; line-height: 1.05; }

.accent { color: var(--orange); }

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-bright);
  margin-bottom: 14px;
}
.eyebrow.dark { color: var(--orange-deep); }

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn-primary {
  flex-direction: column;
  gap: 2px;
  background: linear-gradient(135deg, var(--orange-bright), var(--orange-deep));
  color: var(--white);
  padding: 18px 40px;
  border-radius: var(--radius);
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.btn-primary small {
  font-weight: 600;
  font-size: 0.78rem;
  opacity: 0.92;
  letter-spacing: 0.02em;
}
.btn-primary:hover { transform: translateY(-3px) scale(1.01); box-shadow: 0 30px 70px rgba(217, 77, 18, 0.4); }

.btn-hero { min-width: 280px; }
.btn-block { width: 100%; max-width: 640px; }

.btn-sm {
  padding: 11px 22px;
  font-size: 0.95rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.btn-sm small { display: none; }

/* secondary platform buttons (hero) */
.btn-platform {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  padding: 11px 20px;
  border-radius: 12px;
  font-size: 0.95rem;
  backdrop-filter: blur(6px);
  position: relative;
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn-platform:hover {
  background: var(--white);
  color: var(--orange-deep);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ===================== Header ===================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255, 247, 241, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 8px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-ninja { height: 42px; width: auto; filter: drop-shadow(0 3px 6px rgba(0,0,0,0.25)); }
.brand-wordmark {
  height: 30px; width: auto;
  background: #fff;
  padding: 4px 8px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.main-nav { display: flex; gap: 30px; margin-left: auto; }
.main-nav a {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--orange-bright); }
.site-header.scrolled .main-nav a { color: var(--ink); text-shadow: none; }
.site-header.scrolled .main-nav a:hover { color: var(--orange-deep); }
.site-header.scrolled .brand-wordmark { box-shadow: none; }

.header-cta { margin-left: 8px; }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("/assets/img/hero-pizza.jpg") center 40% / cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 18s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes heroZoom { to { transform: scale(1.14); } }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 100% at 15% 30%, rgba(217, 77, 18, 0.55), transparent 60%),
    linear-gradient(180deg, rgba(20, 12, 8, 0.55) 0%, rgba(20, 12, 8, 0.35) 40%, rgba(20, 12, 8, 0.85) 100%);
  pointer-events: none;
}
.hero-fade {
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--cream));
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 90px;
  padding-bottom: 60px;
  max-width: 760px;
}
.hero .eyebrow { color: var(--orange-bright); text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.9rem, 8vw, 5.6rem);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 0 6px 26px rgba(0,0,0,0.45);
}
.hero h1 .accent { color: var(--orange-bright); }
.hero-sub {
  font-size: clamp(1.05rem, 2.1vw, 1.32rem);
  font-weight: 500;
  max-width: 560px;
  margin: 22px 0 38px;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.cta-stack { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; position: relative; z-index: 2; }
.platform-buttons { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.platform-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  opacity: 0.88;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.platform-row { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; }

/* ===================== Trust strip ===================== */
.strip {
  background: var(--ink);
  color: var(--white);
  padding: 26px 0;
}
.strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.strip-item { display: flex; align-items: center; gap: 14px; }
.strip-icon { font-size: 1.7rem; line-height: 1; }
.strip-item strong { display: block; font-size: 1rem; }
.strip-item span { display: block; font-size: 0.84rem; color: rgba(255,255,255,0.66); }

/* ===================== Section heads ===================== */
.section-head { max-width: 660px; margin: 0 auto clamp(38px, 5vw, 60px); text-align: center; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.section-head p { color: var(--muted); font-size: 1.05rem; margin-top: 16px; }

/* ===================== Menu / Gallery ===================== */
.menu { background: var(--cream); }
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--white);
  aspect-ratio: 4 / 3.4;
}
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover img { transform: scale(1.07); }
.card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 18px 16px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
  background: linear-gradient(180deg, transparent, rgba(15, 9, 6, 0.82));
}
.menu-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: clamp(40px, 5vw, 56px);
}
.btn-secondary {
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid var(--orange);
  color: var(--orange-deep);
  font-weight: 700;
  background: transparent;
}
.btn-secondary:hover { background: var(--cream-2); transform: translateY(-2px); }
.text-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
  color: var(--orange-deep);
}
.text-link:hover { color: var(--orange-bright); }
.page-hero {
  padding: clamp(120px, 16vw, 160px) 0 clamp(48px, 6vw, 72px);
  background: linear-gradient(160deg, var(--cream-2), var(--cream));
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4rem);
  text-transform: uppercase;
  margin-top: 10px;
}
.page-hero p { color: var(--muted); max-width: 58ch; margin: 16px auto 0; }
.breadcrumb {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 8px;
}
.breadcrumb a { color: var(--orange-deep); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

/* ===================== Kung Fu story ===================== */
.kungfu {
  background:
    radial-gradient(80% 120% at 100% 0%, var(--cream-2), transparent 55%),
    var(--cream);
}
.kungfu-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
}
.kungfu-media {
  display: flex;
  justify-content: center;
  background: linear-gradient(160deg, var(--orange-bright), var(--orange-deep));
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}
.kungfu-ninja {
  width: 100%;
  max-width: 320px;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.3));
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.kungfu-text h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.kungfu-text p { color: var(--ink-soft); margin: 0 0 16px; max-width: 60ch; }

/* ===================== Order section ===================== */
.order { background: var(--white); }
.order-primary { display: flex; justify-content: center; margin-bottom: 34px; }
.order-platforms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 520px;
  margin-inline: auto;
}
.platform-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 24px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.platform-card:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
}
.platform-name { font-weight: 800; font-size: 1.1rem; }
.platform-go { font-weight: 600; font-size: 0.88rem; color: var(--orange-deep); }

/* ===================== Footer ===================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.8); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding: clamp(48px, 6vw, 72px) 22px;
}
.footer-logo { height: 34px; width: auto; background: #fff; padding: 5px 9px; border-radius: 8px; margin-bottom: 16px; }
.footer-brand p { max-width: 42ch; font-size: 0.95rem; }
.footer-links h3 {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-bright);
  margin-bottom: 14px;
}
.footer-links a {
  display: block;
  padding: 6px 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.78);
  transition: color 0.18s ease, padding-left 0.18s ease;
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footer-bottom a {
  color: rgba(255,255,255,0.72);
  font-weight: 600;
}
.footer-bottom a:hover { color: var(--white); }

/* ===================== Legal pages ===================== */
.legal { background: var(--white); padding-top: 0; }
.legal-content {
  max-width: 720px;
  color: var(--ink-soft);
}
.legal-content h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  margin: 32px 0 10px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin: 0 0 14px; line-height: 1.7; }
.legal-content a { color: var(--orange-deep); font-weight: 600; }
.legal-content a:hover { color: var(--orange-bright); }
.legal-date { margin-top: 28px; color: var(--muted); font-size: 0.95rem; }

/* ===================== Reveal animation ===================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ===================== Responsive ===================== */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .kungfu-grid { grid-template-columns: 1fr; }
  .kungfu-media { order: -1; padding: 36px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
  .order-platforms { grid-template-columns: 1fr; max-width: 420px; }
  .platform-row { width: 100%; }
  .btn-platform {
    flex: 1;
    min-height: 48px;
    padding: 14px 16px;
    justify-content: center;
  }
  .hero-content { padding-bottom: 72px; }
  .btn-hero { width: 100%; min-width: 0; }
  .cta-stack { align-self: stretch; }
  .header-cta { display: none; }
  .brand-wordmark { height: 26px; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg, .kungfu-ninja { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
