/* ──────────────────────────────────────────────────────────────────────────
   home.css — public company home page (templates/home.html)

   Aruba Prime Foods Corp. / Marali Enterprise Farms: sticky header, green hero with a
   real farm photo, products, who we supply, about, quality, growers, contact,
   footer.

   Everything is scoped under `.lp` so it never collides with the authenticated
   app styles in style.css / farm-theme.css. NOTE: home.css is loaded BEFORE
   those two global sheets, so `.lp` rules must keep enough specificity to win —
   in particular every heading needs an explicit `.lp`-scoped color rule (see
   the heading block below) or the app sheets repaint it dark.

   Theming: every colour that changes in dark mode is a token on `.lp`, and the
   dark values live in ONE block at the bottom (explicit Dark + its auto twin
   under prefers-color-scheme: dark). Components never get their own dark
   rules; DarkModeStylesheetTests keeps the two copies identical.
   Brand palette is kept in sync with static/img/marali-mark.svg.
   ────────────────────────────────────────────────────────────────────────── */

.lp {
  /* Brand greens (in sync with marali-mark.svg) — fixed in both themes */
  --lp-green: #1d5c38;
  --lp-green-dark: #16472b;
  --lp-green-mid: #226e43;
  --lp-green-forest: #0f3b21;
  --lp-mint: #f0fbf5;

  /* Themed tokens (light defaults; dark values at the bottom) */
  --lp-ink: #1f2a33;
  --lp-muted: #5b6b78;
  --lp-surface: #ffffff;
  --lp-surface-2: #f1f6f2;
  --lp-page: #f6f9f7;
  --lp-border: #e4ebe6;
  --lp-border-strong: #c9ddcf;
  --lp-header-bg: rgba(246, 249, 247, 0.88);
  --lp-accent: var(--lp-green);          /* kickers, links, icons on surfaces */
  --lp-icon-bg: #e6f4ec;
  --lp-btn-bg: var(--lp-green);
  --lp-btn-bg-hover: var(--lp-green-dark);
  --lp-btn-ink: #ffffff;
  --lp-shadow: 0 2px 10px rgba(31, 42, 51, 0.05);
  --lp-shadow-lift: 0 10px 26px rgba(31, 42, 51, 0.09);

  /* Scale */
  --lp-max: 1160px;
  --lp-radius: 0.9rem;
  --lp-radius-sm: 0.6rem;

  color: var(--lp-ink);
  background: var(--lp-page);
  font-family: "Inter", "Inter Fallback", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.lp-main {
  flex: 1 0 auto;
}

/* Generic content-link colour. `:where()` adds zero specificity, so button and
   nav link colours still win (a plain `.lp a` once painted the white "Sign In"
   label green-on-green). */
.lp a:where(:not(.lp-btn):not(.lp-nav-link):not(.lp-brand)) {
  color: var(--lp-accent);
}

/* Headings — colour them EXPLICITLY with `.lp`-scoped specificity, because
   style.css / farm-theme.css load later and colour every <h1>-<h3> with the
   app ink. */
.lp .lp-hero h1,
.lp .lp-growers h2 {
  color: #fff;
}

.lp .lp-section-head h2,
.lp .lp-band-title,
.lp .lp-photostrip-text h2,
.lp .lp-contact-copy h2,
.lp .lp-card h3,
.lp .lp-point h3 {
  color: var(--lp-ink);
}

/* Skip link: off-screen until focused. */
.lp-skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.5rem 0.9rem;
  border-radius: var(--lp-radius-sm);
  background: var(--lp-btn-bg);
  color: var(--lp-btn-ink) !important;
  font-weight: 600;
  text-decoration: none;
}
.lp-skip:focus {
  top: 0.75rem;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  padding: 0.7rem 1.25rem;
  min-height: 44px; /* comfortable tap target */
  border-radius: var(--lp-radius-sm);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.04s ease, background-color 0.15s ease,
    border-color 0.15s ease, box-shadow 0.15s ease;
}
.lp-btn:active {
  transform: translateY(1px);
}
.lp-btn-sm {
  padding: 0.5rem 0.95rem;
  min-height: 40px;
  font-size: 0.92rem;
}

/* One focus ring for every control. Two layers (white outline + dark-green
   halo) so it stays visible on ANY background. */
.lp-btn:focus-visible,
.lp-nav-link:focus-visible,
.lp-signin:focus-visible,
.lp a:focus-visible,
.lp-brand:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(11, 54, 30, 0.7);
}

/* Primary — solid brand fill on page surfaces */
.lp-btn-primary {
  background: var(--lp-btn-bg);
  color: var(--lp-btn-ink);
  box-shadow: 0 6px 16px rgba(29, 92, 56, 0.2);
}
.lp-btn-primary:hover {
  background: var(--lp-btn-bg-hover);
  color: var(--lp-btn-ink);
}

/* Outline — secondary action on page surfaces */
.lp-btn-outline {
  background: transparent;
  color: var(--lp-accent);
  border-color: var(--lp-border-strong);
}
.lp-btn-outline:hover {
  background: var(--lp-icon-bg);
  color: var(--lp-accent);
}

/* Light — white on the green hero / growers band */
.lp-btn-light {
  background: #fff;
  color: var(--lp-green);
}
.lp-btn-light:hover {
  background: var(--lp-mint);
  color: var(--lp-green-dark);
}

/* Ghost — outline on the green hero. Hover tints with translucent WHITE (not
   the near-white mint, which made the white label vanish). */
.lp-btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.lp-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.9);
}

/* ── Header — sticky glass bar ───────────────────────────────────────────── */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--lp-header-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lp-border);
}
.lp-header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: var(--lp-max);
  width: 100%;
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--lp-ink);
  text-decoration: none;
}
.lp-brand img {
  width: 34px;
  height: 39px;
  flex: 0 0 auto;
}
.lp-brand-text {
  display: grid;
  line-height: 1.15;
}
.lp-brand-name {
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.lp-brand-sub {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--lp-muted);
  white-space: nowrap;
}

.lp-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-left: auto;
}
.lp-nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--lp-ink);
  text-decoration: none;
  padding: 0.35rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.lp-nav-link:hover {
  color: var(--lp-accent);
  border-bottom-color: currentColor;
}

.lp-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.lp .lp-signin {
  display: inline-flex;
  align-items: center;
  min-height: 40px; /* same tap height as the button beside it */
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--lp-muted);
  text-decoration: none;
  white-space: nowrap;
}
.lp .lp-signin:hover {
  color: var(--lp-accent);
  text-decoration: underline;
}

/* In-page anchors land below the sticky header. */
.lp [id] {
  scroll-margin-top: 80px;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.lp-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    158deg,
    var(--lp-green-mid) 0%,
    var(--lp-green) 46%,
    var(--lp-green-forest) 100%
  );
  color: #fff;
}
/* Faint grid + soft glow behind the photo — atmosphere, not noise. */
.lp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(110% 120% at 78% 30%, #000 30%, transparent 78%);
  mask-image: radial-gradient(110% 120% at 78% 30%, #000 30%, transparent 78%);
  pointer-events: none;
}

.lp-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 4rem 1.5rem 4.25rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.lp-eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #cdeeda;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.32rem 0.85rem;
  margin: 0 0 1.2rem;
}

.lp-hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.3rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 1.1rem;
  max-width: 16ch;
}

.lp-hero p.lp-lead {
  font-size: 1.12rem;
  color: #e4f4ea;
  max-width: 34rem;
  margin: 0 0 1.8rem;
}

.lp-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.lp-hero-facts {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  font-size: 0.92rem;
  color: rgba(228, 244, 234, 0.88);
}
.lp-hero-facts i {
  color: #8fdcb0;
  margin-right: 0.45rem;
  font-size: 0.8rem;
}

/* Portrait photo — the farm's photos are all portrait, so it sits in a
   portrait frame instead of being cropped into a wide band. 460px max keeps
   it below its 1200px native width even at 2x DPR. */
.lp-hero-photo {
  margin: 0;
  justify-self: end;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 5;
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 30px 60px rgba(4, 22, 12, 0.45), 0 8px 20px rgba(4, 22, 12, 0.3);
  background: var(--lp-green-dark);
}
.lp-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

/* ── Section scaffolding ─────────────────────────────────────────────────── */
.lp-section {
  max-width: var(--lp-max);
  width: 100%;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
/* Full-bleed tinted variant: the band spans the page, the content stays at
   --lp-max (padding absorbs the difference). */
.lp-section-alt {
  max-width: none;
  background: var(--lp-surface);
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
  padding-left: max(1.5rem, calc((100% - var(--lp-max)) / 2 + 1.5rem));
  padding-right: max(1.5rem, calc((100% - var(--lp-max)) / 2 + 1.5rem));
}

.lp-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lp-accent);
  margin-bottom: 0.6rem;
}
.lp .lp-kicker-light {
  color: #a7e6c3;
}

.lp-section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.4rem;
}
.lp-section-head h2,
.lp-photostrip-text h2,
.lp-contact-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 0.55rem;
}
.lp-section-head p {
  color: var(--lp-muted);
  font-size: 1.03rem;
  margin: 0;
}

/* ── Cards (products) and points (quality) ───────────────────────────────── */
.lp-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}
.lp-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.lp-card,
.lp-point {
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  padding: 1.45rem;
  box-shadow: var(--lp-shadow);
}
.lp-section-alt .lp-point {
  background: var(--lp-page);
  box-shadow: none;
}
.lp-card {
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.lp-card:hover {
  transform: translateY(-3px);
  border-color: var(--lp-border-strong);
  box-shadow: var(--lp-shadow-lift);
}

.lp-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 0.7rem;
  background: var(--lp-icon-bg);
  color: var(--lp-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.95rem;
}
.lp-card h3,
.lp-point h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}
.lp-card p,
.lp-point p {
  color: var(--lp-muted);
  font-size: 0.95rem;
  margin: 0;
}

.lp-tags {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.lp-tags li {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--lp-accent);
  background: var(--lp-icon-bg);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
}

.lp-note {
  margin: 1.6rem auto 0;
  text-align: center;
  color: var(--lp-muted);
  font-size: 0.95rem;
}
.lp-note i {
  color: var(--lp-accent);
  margin-right: 0.35rem;
}

/* ── "Who we supply" band ────────────────────────────────────────────────── */
.lp-band {
  background: var(--lp-surface-2);
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
}
.lp-band-inner {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 1.6rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.lp .lp-band-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
  white-space: nowrap;
}
.lp-customers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  font-weight: 600;
  font-size: 0.97rem;
}
.lp-customers i {
  color: var(--lp-accent);
  margin-right: 0.5rem;
  width: 1.1rem;
  text-align: center;
}

/* ── About — portrait photo + text ───────────────────────────────────────────
   The house photo is portrait (900×1200). Capping the column at 360px keeps it
   BELOW its native width, so it stays crisp on Retina (360 × 2 = 720 < 900). */
.lp-photostrip {
  max-width: var(--lp-max);
  width: 100%;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 3rem;
  align-items: center;
}
.lp-photostrip-frame {
  margin: 0;
  border-radius: var(--lp-radius);
  overflow: hidden;
  border: 1px solid var(--lp-border);
  box-shadow: 0 8px 24px rgba(31, 42, 51, 0.1);
  aspect-ratio: 3 / 4;
  background: var(--lp-green-dark);
}
.lp-photostrip-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lp-photostrip-text p {
  color: var(--lp-muted);
  font-size: 1.02rem;
  margin: 0 0 0.8rem;
  max-width: 38rem;
}
.lp-photostrip-text p:last-child {
  margin-bottom: 0;
}

/* ── Growers band ────────────────────────────────────────────────────────── */
.lp-growers {
  background: linear-gradient(135deg, var(--lp-green) 0%, var(--lp-green-forest) 100%);
  color: #fff;
}
.lp-growers-inner {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 3.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}
.lp-growers h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 0.5rem;
}
.lp-growers p {
  color: #e4f4ea;
  font-size: 1.04rem;
  margin: 0;
  max-width: 40rem;
}
.lp-growers .lp-btn {
  flex: 0 0 auto;
}

/* ── Contact ─────────────────────────────────────────────────────────────── */
.lp-contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.lp-contact-copy p {
  color: var(--lp-muted);
  font-size: 1.04rem;
  margin: 0 0 1.5rem;
  max-width: 32rem;
}
.lp-contact-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.lp-contact-card {
  font-style: normal;
  margin: 0;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  box-shadow: var(--lp-shadow);
  padding: 0.5rem 1.4rem;
}
.lp-contact-row {
  display: flex;
  gap: 0.9rem;
  padding: 1rem 0;
  color: var(--lp-ink);
  font-size: 0.97rem;
}
.lp-contact-row + .lp-contact-row {
  border-top: 1px solid var(--lp-border);
}
.lp-contact-row > i {
  color: var(--lp-accent);
  width: 18px;
  text-align: center;
  margin-top: 0.2rem;
}
.lp-contact-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-muted);
  margin-bottom: 0.15rem;
}
.lp-contact-link {
  display: block;
  width: fit-content;
  margin-top: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.lp-footer {
  margin-top: auto;
  border-top: 1px solid var(--lp-border);
  background: var(--lp-surface);
}
.lp-footer-inner {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 2.25rem 1.5rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}
.lp-brand-sm .lp-brand-name {
  font-size: 1rem;
}
.lp-brand-sm img {
  width: 26px;
  height: 30px;
}
.lp-footer-brand p {
  color: var(--lp-muted);
  font-size: 0.92rem;
  margin: 0.6rem 0 0;
}
.lp-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
}
.lp .lp-footer-links a {
  color: var(--lp-muted);
  font-size: 0.94rem;
  text-decoration: none;
}
.lp .lp-footer-links a:hover {
  color: var(--lp-accent);
  text-decoration: underline;
}
.lp-footer-bar {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 1.1rem 1.5rem 1.6rem;
  border-top: 1px solid var(--lp-border);
  color: var(--lp-muted);
  font-size: 0.88rem;
}

/* ── Entrance (disabled for reduced motion) ──────────────────────────────── */
@keyframes lp-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.lp-hero-copy > * {
  animation: lp-rise 0.55s ease both;
}
.lp-hero-copy > *:nth-child(2) { animation-delay: 0.07s; }
.lp-hero-copy > *:nth-child(3) { animation-delay: 0.14s; }
.lp-hero-copy > *:nth-child(4) { animation-delay: 0.21s; }
.lp-hero-copy > *:nth-child(5) { animation-delay: 0.28s; }
.lp-hero-photo {
  animation: lp-rise 0.6s 0.2s ease both;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

/* Nav links crowd the header below desktop; Message us + Staff sign in stay. */
@media (max-width: 1023px) {
  .lp-nav {
    display: none;
  }
  .lp-header-actions {
    margin-left: auto;
  }
  .lp-products {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet: hero, about and contact stack. */
@media (max-width: 899px) {
  .lp-hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .lp-hero h1,
  .lp-hero p.lp-lead {
    max-width: none;
  }
  /* Stacked, a 4:5 portrait would fill a whole phone screen: show a wider
     crop of the same photo instead. */
  .lp-hero-photo {
    justify-self: stretch;
    max-width: none;
    aspect-ratio: 16 / 10;
  }
  .lp-points {
    grid-template-columns: 1fr;
  }
  .lp-band-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }
  .lp-photostrip {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .lp-photostrip-frame {
    max-width: 340px;
  }
  .lp-growers-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .lp-contact {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Phone: single column everywhere. */
@media (max-width: 599px) {
  .lp-header-inner {
    padding: 0.6rem 1rem;
    gap: 0.75rem;
  }
  /* Sign in stays: the installed app opens "/", so a signed-out phone lands
     here. To fit, Message us goes icon-only (the full button is right below
     in the hero). */
  .lp-brand-sub,
  .lp-header-actions .lp-btn-label {
    display: none;
  }
  .lp-header-actions .lp-btn-sm {
    width: 40px;
    padding: 0;
  }
  /* Narrower than ~330px the name ends in "…" rather than pushing the page sideways. */
  .lp-header .lp-brand,
  .lp-header .lp-brand-text {
    min-width: 0;
  }
  .lp-header .lp-brand-name {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .lp-brand-name {
    font-size: 1rem;
  }
  .lp-brand img {
    width: 30px;
    height: 34px;
  }
  .lp-hero-inner {
    padding: 2.5rem 1rem 3rem;
  }
  .lp-eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.08em;
  }
  .lp-hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.2rem);
  }
  .lp-hero p.lp-lead {
    font-size: 1rem;
  }
  .lp-hero-cta,
  .lp-contact-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .lp-section,
  .lp-photostrip {
    padding: 3rem 1rem;
  }
  .lp-section-alt {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .lp-products {
    grid-template-columns: 1fr;
  }
  .lp-band-inner,
  .lp-growers-inner,
  .lp-footer-inner,
  .lp-footer-bar {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ── Dark mode: tokens only ──────────────────────────────────────────────────
   Explicit Dark, then the identical auto copy for System on a dark OS. A
   browser that reports no colour preference stays light, matching base.html. */
html[data-theme="dark"] .lp {
  --lp-ink: #e4e9ee;
  --lp-muted: #9fb0ad;
  --lp-surface: #161d22;
  --lp-surface-2: #1b242a;
  --lp-page: #0f1419;
  --lp-border: #26303a;
  --lp-border-strong: #3a4d42;
  --lp-header-bg: rgba(15, 20, 25, 0.85);
  --lp-accent: #6fd396;
  --lp-icon-bg: rgba(34, 110, 67, 0.22);
  --lp-btn-bg: #6bbf94;
  --lp-btn-bg-hover: #5eb087;
  --lp-btn-ink: #0f1a14;
  --lp-shadow: none;
  --lp-shadow-lift: 0 10px 26px rgba(0, 0, 0, 0.35);
}
@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] .lp {
    --lp-ink: #e4e9ee;
    --lp-muted: #9fb0ad;
    --lp-surface: #161d22;
    --lp-surface-2: #1b242a;
    --lp-page: #0f1419;
    --lp-border: #26303a;
    --lp-border-strong: #3a4d42;
    --lp-header-bg: rgba(15, 20, 25, 0.85);
    --lp-accent: #6fd396;
    --lp-icon-bg: rgba(34, 110, 67, 0.22);
    --lp-btn-bg: #6bbf94;
    --lp-btn-bg-hover: #5eb087;
    --lp-btn-ink: #0f1a14;
    --lp-shadow: none;
    --lp-shadow-lift: 0 10px 26px rgba(0, 0, 0, 0.35);
  }
}

/* ── Reduced motion ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .lp .lp-btn,
  .lp .lp-card,
  .lp .lp-nav-link {
    transition: none;
  }
  .lp .lp-card:hover,
  .lp .lp-btn:active {
    transform: none;
  }
  .lp .lp-hero-copy > *,
  .lp .lp-hero-photo {
    animation: none;
  }
}
