/* --------------------------------------------------------------------------
   The landing page, one block per component of seller_web/components/landing.
   Breakpoints are Tailwind's: sm 640px, md 768px, lg 1024px.
   -------------------------------------------------------------------------- */

.landing {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  font-family: var(--font-display);
}

.landing main {
  flex: 1;
}

/* Nav — landing_nav.tsx: the sticky pill ------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0.75rem 0.75rem 0;
}

.site-nav {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid hsl(var(--border) / 0.2);
  border-radius: 1rem;
  background: hsl(var(--background) / 0.9);
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

@supports (backdrop-filter: blur(0)) or (-webkit-backdrop-filter: blur(0)) {
  .site-nav {
    background: hsl(var(--background) / 0.75);
  }
}

.site-nav .brand {
  margin-right: auto;
  flex-shrink: 0;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.lang-label {
  margin-left: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.125rem;
}

/* Hero — landing_hero.tsx: the purple opening band ------------------------- */

.hero {
  background: hsl(var(--brand));
  color: hsl(var(--brand-foreground));
}

.hero-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  align-items: center;
  gap: 2.5rem;
  padding: 3rem 1.5rem 4rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: hsl(var(--brand-foreground) / 0.15);
  font-size: 0.875rem;
  line-height: 1.125rem;
  font-weight: 500;
}

.hero h1 {
  margin-top: 1.25rem;
  max-width: 28rem;
  font-size: 2.375rem;
  line-height: 1.1;
  font-weight: 800;
}

.hero-body {
  margin-top: 1.25rem;
  max-width: 28rem;
  line-height: 1.625;
  color: hsl(var(--brand-foreground) / 0.8);
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-on-brand {
  background: hsl(var(--brand-foreground));
  color: hsl(var(--brand));
}

.btn-on-brand:hover {
  background: hsl(var(--brand-foreground) / 0.9);
}

.btn-outline-on-brand {
  border: 1px solid hsl(var(--brand-foreground) / 0.4);
  color: hsl(var(--brand-foreground));
  box-shadow: var(--shadow-sm);
}

.btn-outline-on-brand:hover {
  background: hsl(var(--brand-foreground) / 0.1);
}

.hero-photo {
  margin: 0 auto;
  width: 100%;
  max-width: 24rem;
}

/* Feature bands — feature_band.tsx ----------------------------------------- */

.band-north {
  background: hsl(var(--band-north));
  color: hsl(var(--band-north-foreground));
  --accent-block: hsl(var(--band-north-foreground));
}

.band-menu {
  background: hsl(var(--band-menu));
  color: hsl(var(--band-menu-foreground));
  --accent-block: hsl(var(--band-menu-foreground));
}

.band-delivery {
  background: hsl(var(--band-delivery));
  color: hsl(var(--band-delivery-foreground));
  --accent-block: hsl(var(--band-delivery-foreground));
}

.band-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  align-items: center;
  gap: 2.5rem;
  padding: 4rem 1.5rem;
}

.band-photo {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 20rem;
}

/* The offset block behind the photograph: top right, or bottom left when the
   photograph sits on the right. */
.band-photo::before {
  content: "";
  position: absolute;
  top: -1.25rem;
  right: -1.25rem;
  width: 7rem;
  height: 7rem;
  border-radius: 1rem;
  background: var(--accent-block);
}

.band-reverse .band-photo::before {
  top: auto;
  right: auto;
  bottom: -1.25rem;
  left: -1.25rem;
}

.band-photo img {
  position: relative;
  width: 100%;
  border-radius: 1rem;
  background: #fff;
  object-fit: cover;
  box-shadow: var(--shadow-xl);
}

.band h2,
.staff h2 {
  max-width: 24rem;
  font-size: 2rem;
  line-height: 1.25;
  font-weight: 800;
}

.band p {
  margin-top: 1.25rem;
  max-width: 28rem;
  line-height: 1.625;
  opacity: 0.8;
}

/* Dish strip — dish_strip.tsx ---------------------------------------------- */

.strip {
  overflow: hidden;
  padding: 2.5rem 0;
  background: hsl(var(--band-strip));
}

/* The row is in the page twice; -50% lands exactly on the start of the second
   copy, so the loop has no seam. */
.strip-track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .strip-track {
    animation: none;
  }
}

.strip ul {
  display: flex;
  flex-shrink: 0;
  gap: 1rem;
  padding-right: 1rem;
}

.strip img {
  width: 10rem;
  height: 14rem;
  border-radius: 0.75rem;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

/* Staff section — staff_section.tsx ---------------------------------------- */

#story,
.staff {
  scroll-margin-top: 6rem;
}

.staff {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

.staff-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.staff-card {
  display: grid;
  gap: 2.5rem;
  padding: 2rem;
  border: 1px solid hsl(var(--muted));
  border-radius: 1.5rem;
  background: hsl(var(--card));
}

.eyebrow {
  font-size: 0.875rem;
  line-height: 1.125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--brand-soft));
}

.staff h2 {
  margin-top: 0.75rem;
  max-width: none;
}

.staff-body {
  margin-top: 1.25rem;
  max-width: 28rem;
  line-height: 1.625;
  color: hsl(var(--muted-foreground));
}

.staff .btn {
  margin-top: 2rem;
}

.staff-note {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.125rem;
  color: hsl(var(--muted-foreground));
}

.tiles {
  display: grid;
  gap: 0.75rem;
}

.tiles li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 1rem;
  background: hsl(var(--background));
  font-size: 1rem;
  line-height: 1.375rem;
  font-weight: 500;
}

.tile-icon {
  display: flex;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: hsl(var(--brand-soft) / 0.1);
  color: hsl(var(--brand-soft));
}

.tile-icon svg {
  width: 18px;
  height: 18px;
}

/* Footer — landing_footer.tsx ---------------------------------------------- */

.site-footer {
  background: hsl(var(--footer));
  color: hsl(var(--footer-foreground));
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.tagline {
  margin-top: 0.75rem;
  max-width: 12rem;
  font-size: 1rem;
  line-height: 1.375rem;
  color: hsl(var(--footer-muted));
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.footer-cols h2 {
  font-size: 1rem;
  line-height: 1.375rem;
  font-weight: 700;
}

.footer-cols ul {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-cols a {
  font-size: 1rem;
  line-height: 1.375rem;
  color: hsl(var(--footer-muted));
}

.footer-cols a:hover {
  color: hsl(var(--footer-foreground));
}

.rights {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--footer-muted) / 0.2);
  font-size: 0.875rem;
  line-height: 1.125rem;
  color: hsl(var(--footer-muted));
}

/* Breakpoints -------------------------------------------------------------- */

@media (min-width: 640px) {
  .site-header {
    padding: 1rem 1.5rem 0;
  }

  .site-nav {
    padding: 0.5rem 1rem;
  }

  .nav-links {
    display: flex;
  }

  .hero h1 {
    font-size: 3.125rem;
    line-height: 1;
  }

  .band-photo {
    max-width: 24rem;
  }

  .band h2,
  .staff h2 {
    font-size: 2.375rem;
    line-height: 2.625rem;
  }

  .strip img {
    width: 12rem;
    height: 16rem;
  }

  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .hero-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    padding-top: 4rem;
    padding-bottom: 6rem;
  }

  .hero-photo {
    max-width: 28rem;
  }

  .band-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.5rem;
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .band-reverse .band-photo {
    order: 2;
  }

  .band-reverse .band-copy {
    order: 1;
  }

  .staff-inner {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .staff-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    padding: 3rem;
  }

  .footer-top {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-cols {
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.875rem;
  }
}
