/* =============================================================================
   TOFT DAIRY — CSS matching approved Figma comps
   Homepage + Product PDP (Salty Caramel / Tilly Tracks system)
   Refs: design-refs/toft-homepage-figma.jpg, toft-productpage-figma*.jpg
   ============================================================================= */

:root {
  --navy: #003da5;
  --navy-deep: #002b75;
  --navy-text: #003087;
  --sky: #8fd0ea;
  --sky-pale: #c8e8f5;
  --sky-wash: #eaf6fb;
  --title-ghost: #b9dff0;
  --white: #ffffff;
  --ink: #1c2b3a;
  --muted: #5c6e80;
  --line: #d9e8f2;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --wrap: min(1180px, calc(100% - 2.5rem));
  --wrap-wide: min(1280px, calc(100% - 2rem));
  --pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 200;
  background: var(--navy); color: #fff; padding: 0.55rem 1rem; border-radius: var(--pill);
}
.skip-link:focus { top: 1rem; }

.wrap { width: var(--wrap); margin-inline: auto; }
.wrap-wide { width: var(--wrap-wide); margin-inline: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.75rem; padding: 0.6rem 1.55rem;
  border-radius: var(--pill);
  font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: background 0.2s var(--ease), transform 0.15s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-sky { background: var(--sky-pale); color: var(--navy); }
.btn-sm { min-height: 2.25rem; padding: 0.4rem 1.1rem; font-size: 0.72rem; }

/* ---- Header: single Figma bar (logo center, links L/R). No secondary bar. ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #eef4f8;
  overflow: visible;
}
.site-header--compact .header-bar {
  min-height: 4.5rem;
  padding: 0.35rem 0;
}
.site-header--compact .logo img {
  width: clamp(100px, 11vw, 132px);
}
.header-bar {
  width: var(--wrap-wide);
  margin-inline: auto;
  min-height: 4.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0;
  position: relative;
}
.nav-left, .nav-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 1.15rem;
}
.nav-left { justify-content: flex-end; padding-right: 0.35rem; }
.nav-right { justify-content: flex-start; padding-left: 0.35rem; }
.nav-link {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
}
.nav-link:hover { color: var(--navy-deep); }
.logo { display: grid; place-items: center; }
.logo img { width: clamp(112px, 12vw, 150px); }
.header-cta { margin-left: auto; }
.nav-right .header-cta { margin-left: 0.35rem; }
.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  align-items: center;
  justify-content: center;
  background: #fff;
  z-index: 120;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.05rem;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
.site-header.is-open .nav-toggle span { background: transparent; }
.site-header.is-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.site-header.is-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* Kill legacy second nav if any residual markup remains */
.nav-products-bar { display: none !important; }

/* Desktop: keep Figma centered logo layout */
@media (min-width: 981px) {
  .nav-toggle { display: none !important; }
  .nav-mobile-extra { display: none !important; }
}

/* Mobile / tablet: logo + hamburger; expandable single menu */
@media (max-width: 980px) {
  body.nav-open { overflow: hidden; }

  .site-header {
    max-height: 100vh;
    overflow-y: auto;
  }

  .header-bar {
    grid-template-columns: 1fr auto;
    width: calc(100% - 1.5rem);
    max-width: none;
    padding: 0.55rem 0;
    /* leave space so wholesale tab doesn't sit on the hamburger */
    padding-right: 0.25rem;
  }
  .logo { justify-self: start; }
  .nav-toggle {
    display: inline-flex;
    justify-self: end;
    margin-right: 0.15rem;
  }
  .nav-left,
  .nav-right {
    display: none;
  }

  /* Closed: small wholesale tab, clear of hamburger */
  .site-header .btn-wholesale {
    right: 3.9rem !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: min(40vw, 9.5rem);
    height: 40px !important;
    min-height: 40px !important;
    font-size: 10px !important;
    letter-spacing: 0.03em !important;
    padding: 0 0.6rem !important;
    z-index: 90;
  }

  /* Open: stack logo/toggle, then all links, then wholesale full-width */
  .site-header.is-open {
    display: flex;
    flex-direction: column;
    box-shadow: 0 16px 40px rgba(0, 45, 100, 0.12);
  }
  .site-header.is-open .header-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: calc(100% - 1.5rem);
  }
  .site-header.is-open .logo { order: 1; flex: 1 1 auto; }
  .site-header.is-open .nav-toggle { order: 2; flex: 0 0 auto; }
  .site-header.is-open .nav-left,
  .site-header.is-open .nav-right {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    justify-content: flex-start;
    padding: 0;
  }
  .site-header.is-open .nav-left {
    order: 3;
    border-top: 1px solid #eef4f8;
    margin-top: 0.5rem;
    padding-top: 0.25rem;
  }
  .site-header.is-open .nav-right { order: 4; }
  .site-header.is-open .nav-link {
    padding: 0.9rem 0.15rem;
    border-bottom: 1px solid #eef4f8;
    font-size: 0.88rem;
    letter-spacing: 0.08em;
  }
  .site-header.is-open .btn-wholesale {
    order: 5;
    position: static !important;
    display: inline-flex !important;
    width: calc(100% - 1.5rem) !important;
    max-width: none !important;
    height: 50px !important;
    min-height: 50px !important;
    margin: 0.85rem auto 1rem !important;
    font-size: 14px !important;
    border-radius: 0 0 16px 16px !important;
  }
}

/* Ghost section titles (Figma) */
.ghost-title {
  font-size: clamp(2.75rem, 9vw, 5.5rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--title-ghost);
  text-align: center;
}

/* =============================================================================
   PRODUCT PAGE — match toft-productpage-figma
   ============================================================================= */
.pdp {
  padding: 1.5rem 0 2.5rem;
  background: #fff;
}
.pdp-watermark {
  width: var(--wrap-wide);
  margin: 0.25rem auto 0.5rem;
  text-align: left;
  padding-left: 0.25rem;
  font-size: clamp(3rem, 10vw, 5.75rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--title-ghost);
}
.pdp-layout {
  width: var(--wrap-wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 72px minmax(0, 1.15fr) minmax(280px, 0.95fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
}

/* Vertical thumbs — Figma left rail */
.pdp-thumbs {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: 0.5rem;
}
.pdp-thumb {
  width: 64px;
  height: 64px;
  border-radius: 0.85rem;
  border: 2px solid transparent;
  background: var(--sky-wash);
  padding: 0.2rem;
  overflow: hidden;
  transition: border-color 0.15s;
}
.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pdp-thumb.is-active,
.pdp-thumb:hover { border-color: var(--navy); }

/* Hero visual */
.pdp-visual {
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.pdp-visual img {
  width: min(460px, 100%);
  filter: drop-shadow(0 22px 40px rgba(0, 45, 120, 0.14));
}

/* Details column */
.pdp-details {
  display: grid;
  gap: 1rem;
  padding-top: 0.35rem;
  align-content: start;
}
.pdp-details h1 {
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 800;
  color: var(--navy-text);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.pdp-desc {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 36rem;
  line-height: 1.55;
}
.pdp-desc-lead {
  display: block;
  color: var(--navy-text);
  font-weight: 700;
  font-size: 1.02rem;
  margin-bottom: 0.45rem;
  letter-spacing: -0.01em;
}

/* Full product story (below-the-fold V4 / master copy) */
.pdp-story {
  background: linear-gradient(180deg, #f4fafd 0%, #fff 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 3rem 0 3.25rem;
}
.pdp-story__inner {
  width: var(--wrap);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.75fr);
  gap: 2.5rem 3rem;
  align-items: start;
}
.pdp-story__kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5a9fbf;
  margin-bottom: 0.55rem;
}
.pdp-story__copy h2 {
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  font-weight: 800;
  color: var(--navy-text);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.15rem;
  max-width: 36rem;
}
.pdp-story__copy p {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 40rem;
}
.pdp-story__copy p + p { margin-top: 1rem; }
.pdp-story__aside {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  padding: 1.35rem 1.4rem 1.5rem;
  box-shadow: 0 12px 32px rgba(0, 45, 120, 0.06);
  position: sticky;
  top: 5.5rem;
}
.pdp-story__aside h3 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-text);
  margin-bottom: 0.85rem;
}
.pdp-story__claims {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.15rem;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.4;
}
.pdp-story__claims li {
  display: grid;
  grid-template-columns: 0.7rem 1fr;
  gap: 0.45rem;
  align-items: start;
}
.pdp-story__claims li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--navy);
  margin-top: 0.4rem;
}
@media (max-width: 860px) {
  .pdp-story__inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .pdp-story__aside { position: static; }
}
.claims {
  display: grid;
  gap: 0.4rem;
  font-size: 0.92rem;
  color: var(--ink);
}
.claims li {
  display: grid;
  grid-template-columns: 0.7rem 1fr;
  gap: 0.4rem;
  align-items: start;
}
.claims li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--navy);
  margin-top: 0.45rem;
}

/* Accordion */
.acc {
  border-top: 1px solid var(--line);
}
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.95rem 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-text);
  text-align: left;
}
.acc-btn .plus {
  width: 1.35rem; height: 1.35rem;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid; place-items: center;
  font-size: 1rem; line-height: 1;
  transition: transform 0.2s;
}
.acc-item.is-open .acc-btn .plus { transform: rotate(45deg); }
.acc-panel {
  display: none;
  padding: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.acc-item.is-open .acc-panel { display: block; }
.acc-panel p + p { margin-top: 0.65rem; }

/* Sizes */
.sizes-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-text);
  margin-bottom: 0.55rem;
}
.sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.size-opt {
  display: grid;
  justify-items: center;
  gap: 0.3rem;
  min-width: 4.25rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.65rem;
  border: 1.5px solid transparent;
  color: var(--navy-text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.size-opt.is-active {
  border-color: var(--navy);
  background: var(--sky-wash);
}
.size-opt .icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.4rem;
  border: 1.5px solid var(--navy);
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  background: #fff;
}

/* Find near you card */
.find-card {
  margin-top: 0.25rem;
  background: linear-gradient(135deg, #0a4bb5 0%, #1a6fd4 55%, #2a88e0 100%);
  color: #fff;
  border-radius: 1rem;
  padding: 1.1rem 1.15rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem 1rem;
  align-items: center;
  box-shadow: 0 12px 28px rgba(10, 75, 181, 0.22);
}
.find-card h3 {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  grid-column: 1 / -1;
}
.find-card p {
  font-size: 0.82rem;
  opacity: 0.92;
  grid-column: 1;
  max-width: 16rem;
}
.find-card .map-mini {
  grid-column: 2;
  grid-row: 2 / 4;
  width: 88px;
  height: 72px;
  opacity: 0.9;
}
.find-card .btn {
  grid-column: 1;
  justify-self: start;
  background: #fff;
  color: var(--navy);
}

@media (max-width: 900px) {
  .pdp-layout {
    grid-template-columns: 1fr;
  }
  .pdp-thumbs {
    flex-direction: row;
    overflow-x: auto;
    order: 2;
  }
  .pdp-visual { order: 1; min-height: 280px; }
  .pdp-details { order: 3; }
  .pdp-watermark { text-align: center; }
}

/* More ice cream */
.more-ice {
  padding: 2.5rem 0 3rem;
  text-align: center;
  background: #fff;
}
.more-ice .ghost-title { margin-bottom: 2rem; }
.more-grid {
  width: var(--wrap);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: end;
}
.more-card {
  display: grid;
  gap: 0.85rem;
  justify-items: center;
  transition: transform 0.2s var(--ease);
}
.more-card:hover { transform: translateY(-4px); }
.more-card img {
  width: min(210px, 85%);
  filter: drop-shadow(0 14px 24px rgba(0, 45, 120, 0.12));
}
.more-card h3 {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-text);
}
@media (max-width: 720px) {
  .more-grid { grid-template-columns: 1fr; }
}

/* Recipes band */
.recipes-band {
  width: var(--wrap-wide);
  margin: 0 auto 3rem;
  border-radius: 1.5rem;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0.05)),
    linear-gradient(120deg, #9fd4ec, #5eb0d8);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 300px;
  color: #fff;
}
.recipes-band .copy {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: grid;
  align-content: center;
  gap: 1rem;
}
.recipes-band h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.recipes-band p {
  font-size: 0.95rem;
  opacity: 0.95;
  max-width: 28rem;
}
.recipes-band .visual {
  background: rgba(255,255,255,0.12);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.recipes-band .visual img {
  max-height: 240px;
  width: auto;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,0.12));
}
@media (max-width: 800px) {
  .recipes-band { grid-template-columns: 1fr; }
}

/* Shop other products */
.other-products {
  padding: 2rem 0 3rem;
  text-align: center;
}
.other-products .ghost-title { margin-bottom: 2rem; }
.other-row {
  width: var(--wrap);
  margin: 0 auto 1.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
  justify-items: center;
}
.other-row img {
  max-height: 260px;
  width: auto;
  filter: drop-shadow(0 16px 28px rgba(0, 45, 120, 0.12));
}
.other-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Deliver CTA */
.deliver {
  width: var(--wrap-wide);
  margin: 0 auto 3rem;
  background: var(--sky-wash);
  border-radius: 1.25rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}
.deliver h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy-text);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.deliver-art {
  justify-self: end;
  width: min(280px, 100%);
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #fff, var(--sky-pale));
  border-radius: 1rem;
  display: grid;
  place-items: center;
  color: var(--navy);
  font-weight: 800;
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
  border: 1px solid var(--line);
}
@media (max-width: 800px) {
  .deliver { grid-template-columns: 1fr; }
  .deliver-art { justify-self: center; }
}

/* Footer */
.site-footer {
  border-top: 1px solid #eef4f8;
  padding: 2.5rem 0 1.5rem;
  background: #fff;
}
.footer-grid {
  width: var(--wrap);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr auto;
  gap: 1.25rem;
  align-items: start;
}
.footer-brand img { width: 108px; }
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-text);
  margin-bottom: 0.45rem;
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  padding: 0.12rem 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-col a:hover { color: var(--navy); }
.socials { display: flex; gap: 0.55rem; align-items: center; }
.socials a,
.social-link {
  width: 2.35rem; height: 2.35rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid; place-items: center;
  font-size: 0.72rem; font-weight: 800;
  text-decoration: none !important;
  transition: background 0.15s, transform 0.15s;
}
.socials a:hover,
.social-link:hover {
  background: #07456d;
  transform: translateY(-1px);
}
.social-link svg { display: block; }

/* Form feedback (contact / ship / newsletter) */
.form-status {
  margin: 0.75rem 0 0;
  padding: 0.7rem 0.9rem;
  border-radius: 0.65rem;
  font-size: 0.9rem;
  line-height: 1.4;
  flex: 1 1 100%;
}
.form-status--ok { background: #e7f7ee; color: #0d5c2e; }
.form-status--error { background: #fdecea; color: #8a1f11; }
.form-status--pending { background: #eaf6fb; color: #07456d; }
.form-fineprint {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}
.hint-inline { font-weight: 500; color: var(--muted); font-size: 0.85em; }
.contact-form .row-2,
.ship-form .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 560px) {
  .contact-form .row-2,
  .ship-form .row-2 { grid-template-columns: 1fr; }
}
.footer-note {
  width: var(--wrap);
  margin: 1.35rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid #eef4f8;
  font-size: 0.8rem;
  color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem;
  justify-content: space-between;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Review note: docked so it never creates nav↔hero gap */
.review-note {
  background: #0b2a45;
  color: #e8f4fc;
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.45;
  font-family: Poppins, system-ui, sans-serif;
}
.review-note--dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  padding: 0.45rem 0.75rem;
  font-size: 0.75rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
body { padding-bottom: 2.25rem; } /* room for docked note */
.review-note a { color: #c4edff; text-decoration: underline; }
.review-note strong { color: #fff; }
.review-note code { color: #c4edff; font-size: 0.82em; }

/* Kill residual gap between sticky header and first Figma plate */
.home-main { margin: 0; padding: 0; }
.fig-section--flush { margin-top: 0; }
.site-header + .home-main,
.site-header + main { margin-top: 0; }

/* =============================================================================
   HOME HERO — live 125 Years video (replaces Christmas Figma still)
   Source: toftdairy.com/wp-content/uploads/2025/07/tofts_-_125_years_-_draft_2-720p.mp4
   ============================================================================= */
.home-hero-video {
  position: relative;
  min-height: clamp(380px, 52vw, 720px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #1a120c;
  color: #fff;
}
.home-hero-video__media {
  position: absolute;
  inset: 0;
}
.home-hero-video__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.home-hero-video__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(0,0,0,0.15), rgba(0,0,0,0.45) 70%),
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, transparent 35%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}
.home-hero-video__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 1.25rem;
  display: grid;
  justify-items: center;
  gap: 0.35rem;
}
.home-hero-video__years {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 0;
  line-height: 0.9;
  text-shadow: 0 8px 40px rgba(0,0,0,0.35);
}
.home-hero-video__years .num {
  font-family: Poppins, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(5rem, 16vw, 9.5rem);
  letter-spacing: -0.04em;
  color: #fff;
}
.home-hero-video__years .label {
  font-family: Poppins, system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.1rem, 2.8vw, 1.65rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #fff;
  margin-top: 0.15rem;
}
.home-hero-video__sub {
  margin: 0.35rem 0 1.25rem;
  font-family: Poppins, Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 4px 20px rgba(0,0,0,0.35);
}
.home-hero-video__play {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255,255,255,0.14);
  border: 2px solid rgba(255,255,255,0.85);
  color: #fff;
  border-radius: 999px;
  padding: 0.65rem 1.25rem 0.65rem 0.75rem;
  font-family: Poppins, system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
}
.home-hero-video__play:hover {
  background: rgba(255,255,255,0.28);
  transform: translateY(-1px);
}
.home-hero-video__play .play-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: #fff;
  color: #00559b;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  padding-left: 2px;
}
.home-hero-video__play .play-text { padding-right: 0.25rem; }

/* Full video lightbox */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.video-lightbox[hidden] { display: none !important; }
.video-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 30, 50, 0.88);
  cursor: pointer;
}
.video-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  background: #000;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.video-lightbox__player {
  width: 100%;
  display: block;
  max-height: min(80vh, 540px);
  background: #000;
}
.video-lightbox__close {
  position: absolute;
  top: 0.5rem;
  right: 0.65rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
}
.video-lightbox__close:hover { background: #00559b; }
body.hero-video-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .home-hero-video__bg { display: none; }
  .home-hero-video__media {
    background: #1a120c url("assets/figma-official/hero-2172-500-cropped.png") center/cover no-repeat;
  }
}

.home {
  --navy: #00559b;
  --navy-deep: #07456d;
  --sky-soft: #c4edff;
}
.home .nav-link,
.home .btn-navy { font-family: Poppins, system-ui, sans-serif; }
.home .btn-navy { background: #00559b; }
.home .btn-navy:hover { background: #07456d; }
.home .nav-link { color: #00559b; }

.home-main { background: #fff; }
.fig-section {
  position: relative;
  line-height: 0;
  margin: 0;
  padding: 0;
  /* Transparent Figma plates must composite on white, never black */
  background: #fff;
}
.fig-section > a { display: block; line-height: 0; }
.fig-section > img,
.fig-section > a > img {
  width: 100%;
  height: auto;
  display: block;
}

/* Clickable button overlays aligned to Figma pill CTAs (bottom band of section) */
.hotspots {
  position: absolute;
  left: 0; right: 0;
  bottom: 4.5%;
  height: 7%;
  display: block;
  pointer-events: none;
}
.hotspot {
  position: absolute;
  top: 0;
  bottom: 0;
  pointer-events: auto;
  border-radius: 999px;
  /* Visually invisible hit targets; keep accessible names via aria-label */
  color: transparent;
  font-size: 0;
}
.hotspot:focus-visible {
  outline: 3px solid #00559b;
  outline-offset: 2px;
  color: #00559b;
  font-size: 0.7rem;
  font-family: Poppins, system-ui, sans-serif;
  font-weight: 700;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.75);
}

/* Override navy token used elsewhere to Figma brand blue */
:root {
  --navy: #00559b;
  --navy-deep: #07456d;
  --navy-text: #00559b;
  --title-ghost: #c4edff;
  --font: "Poppins", system-ui, -apple-system, sans-serif;
}

/* PLP simple */
.plp-hero { padding: 2.5rem 0 1rem; text-align: center; }
.plp-hero h1 {
  font-size: clamp(2.5rem, 8vw, 4.75rem);
  color: var(--title-ghost);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}
.plp-grid {
  width: var(--wrap);
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}
.product-card {
  text-align: center;
  display: grid;
  gap: 0.65rem;
  justify-items: center;
}
.product-card img {
  width: min(200px, 80%);
  filter: drop-shadow(0 12px 20px rgba(0,45,120,0.12));
}
.product-card h3 {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--navy-text);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.page-shell { padding: 2.5rem 0 3.5rem; }
.page-shell h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--navy-text);
  font-weight: 800;
  margin-bottom: 1rem;
}
.prose { max-width: 40rem; color: var(--muted); }
.prose p + p { margin-top: 0.85rem; }

/* ---- Chocolate / coded PDP: callout hero (Salty Caramel pattern) ---- */
.pdp--figma { padding-top: 0.5rem; }
.pdp-layout--callout {
  grid-template-columns: 72px minmax(0, 1.2fr) minmax(280px, 0.95fr);
}
.pdp-visual-wrap { min-height: 420px; }
.thumb-label {
  display: grid; place-items: center;
  width: 100%; height: 100%;
  font-size: 0.55rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--navy); text-align: center;
  padding: 0.2rem; line-height: 1.15;
  background: linear-gradient(145deg, #eaf6fb, #fff);
}
.pdp-callout-hero { width: 100%; }
.callout-stage {
  position: relative;
  min-height: 480px;
  background:
    radial-gradient(circle at 40% 55%, rgba(0, 85, 155, 0.06), transparent 55%),
    #f7fbfd;
  border-radius: 1.25rem;
  border: 1px solid var(--line);
  padding: 1.5rem 1rem 2rem;
  overflow: hidden;
}
.callout-product {
  position: absolute;
  left: 8%;
  bottom: 12%;
  width: min(280px, 42%);
  filter: drop-shadow(0 18px 32px rgba(0, 45, 120, 0.18));
  z-index: 2;
}
.callout-photo-slot {
  position: absolute;
  right: 6%;
  top: 12%;
  width: min(340px, 48%);
  aspect-ratio: 1;
  border-radius: 1rem;
  background: #111;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px dashed rgba(0, 85, 155, 0.35);
  z-index: 1;
}
.callout-photo-slot img {
  width: 88%;
  height: auto;
  object-fit: contain;
}
.slot-badge {
  position: absolute;
  left: 0.5rem; right: 0.5rem; bottom: 0.5rem;
  background: rgba(11, 42, 69, 0.88);
  color: #c4edff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.35rem 0.4rem;
  border-radius: 0.4rem;
}
.callout {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 0.25rem;
  max-width: 11rem;
}
.callout-label {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
  line-height: 1.25;
  background: rgba(255,255,255,0.92);
  padding: 0.35rem 0.5rem;
  border-radius: 0.35rem;
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(0,45,120,0.08);
}
.callout-line {
  display: block;
  height: 1px;
  background: var(--navy);
  opacity: 0.55;
  width: 2.5rem;
}
.callout--1 { top: 14%; left: 42%; }
.callout--1 .callout-line { width: 3.5rem; }
.callout--2 { top: 38%; right: 4%; text-align: right; justify-items: end; }
.callout--3 { bottom: 18%; left: 48%; }
.callout-note {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
  max-width: 36rem;
}
.callout-note strong { color: var(--navy); }
.pdp-details .meta { font-size: 0.8rem; margin-top: 0.5rem; }

@media (max-width: 900px) {
  .callout-stage { min-height: 520px; }
  .callout-product { width: 40%; left: 4%; bottom: 8%; }
  .callout-photo-slot { width: 46%; right: 4%; top: 8%; }
  .callout--1 { top: 8%; left: 4%; }
  .callout--2 { top: 28%; right: 4%; }
  .callout--3 { bottom: 6%; left: 36%; }
}

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

/* ===== Figma Wholesale Login (2172:589) — hanging tab from top-right =====
   198×54, bottom corners ONLY 20px, #00559b, Poppins Bold 16 white */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  overflow: visible;
}
.site-header .btn-wholesale,
a.btn-wholesale {
  position: absolute;
  top: 0;
  right: max(0.75rem, calc((100vw - min(1280px, calc(100% - 2rem))) / 2));
  z-index: 55;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 198px;
  min-width: 198px;
  height: 54px;
  min-height: 54px;
  padding: 0 1rem;
  margin: 0;
  border: 0;
  border-radius: 0 0 20px 20px !important;
  background: #00559b !important;
  color: #fff !important;
  font-family: Poppins, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  box-shadow: none;
  text-decoration: none !important;
  white-space: nowrap;
  transform: none !important;
}
.site-header .btn-wholesale:hover,
a.btn-wholesale:hover {
  background: #07456d !important;
  transform: none !important;
  color: #fff !important;
}
/* Keep pill CTAs for other navy buttons — only wholesale is the tab */
.header-cta.btn-navy:not(.btn-wholesale),
.btn.btn-navy.btn-sm.header-cta:not(.btn-wholesale) {
  border-radius: 0 0 20px 20px !important;
  background: #00559b !important;
  height: 54px;
  font-family: Poppins, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  text-transform: uppercase;
}
/* mobile wholesale handled in main header @media above */

/* Interior content pages — Figma-aligned system */
.page {
  background: #fff;
  min-height: 70vh;
}
.page-hero {
  background: linear-gradient(180deg, #eaf6fb 0%, #fff 100%);
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid #e8f0f6;
}
.page-hero .wrap { max-width: 720px; }
.page-kicker {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #00559b;
  margin-bottom: 0.65rem;
}
.page-hero h1 {
  font-family: Poppins, system-ui, sans-serif;
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 700;
  color: #00559b;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.page-lede {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 1.05rem;
  color: #5c6e80;
  line-height: 1.55;
  max-width: 38rem;
}
.page-body {
  padding: 2.75rem 0 4rem;
}
.page-body .wrap { max-width: 720px; }
.page-body h2 {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #00559b;
  margin: 2.25rem 0 0.85rem;
}
.page-body h2:first-child { margin-top: 0; }
.page-body p, .page-body li {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 1rem;
  color: #3d4f5f;
  line-height: 1.65;
  margin: 0 0 1rem;
}
.page-body ul { margin: 0 0 1.25rem; padding-left: 1.2rem; }
.page-body li { margin-bottom: 0.45rem; }
.page-body a { color: #00559b; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.content-card {
  background: #f4fafd;
  border: 1px solid #d9e8f2;
  border-radius: 1rem;
  padding: 1.35rem 1.5rem;
  margin: 1.5rem 0;
}
.content-card h3 {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #00559b;
  margin: 0 0 0.5rem;
}
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}
.content-grid .content-card { margin: 0; }
.cta-row {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin-top: 2rem;
}
.site-header--full .header-bar { min-height: 5rem; }
/* Ice cream PLP full grid */
.plp-hero { padding: 2.75rem 0 1.25rem; text-align: center; background: linear-gradient(180deg,#eaf6fb,#fff); }
.plp-hero h1 {
  font-family: Poppins, system-ui, sans-serif;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  color: #b9dff0;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.plp-hero p { max-width: 36rem; margin: 1rem auto 0; color: #5c6e80; font-family: Poppins, system-ui, sans-serif; }
.plp-grid {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 3.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.75rem 1.25rem;
}
.product-card {
  text-align: center;
  display: grid;
  gap: 0.65rem;
  justify-items: center;
  padding: 0.5rem;
  transition: transform 0.2s;
}
.product-card:hover { transform: translateY(-4px); }
.product-card img {
  width: min(180px, 90%);
  filter: drop-shadow(0 12px 22px rgba(0,45,120,0.12));
}
.product-card h3 {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #00559b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.3;
}
.placeholder-callout {
  border: 2px dashed #8ecae6;
  background: #f7fbfd;
  border-radius: 0.75rem;
  padding: 0.75rem;
  font-size: 0.7rem;
  color: #00559b;
  font-weight: 700;
  text-align: center;
}

/* =============================================================================
   INTERIOR PAGES — full brand system (Figma tokens, not inventing a new look)
   ============================================================================= */
.page { background: #fff; min-height: 70vh; }

.int-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(196,237,255,0.55), transparent 55%),
    linear-gradient(180deg, #eaf6fb 0%, #ffffff 100%);
  padding: 3.25rem 0 2.75rem;
  border-bottom: 1px solid #e8f0f6;
}
.int-hero .wrap { max-width: 1100px; position: relative; z-index: 1; }
.int-hero .ghost-bg {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -52%);
  font-family: Poppins, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(3.5rem, 14vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: rgba(196, 237, 255, 0.55);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
.int-hero .page-kicker {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #00559b;
  margin-bottom: 0.75rem;
}
.int-hero h1 {
  font-family: Poppins, system-ui, sans-serif;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #00559b;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 1rem;
  max-width: 18ch;
}
.int-hero .page-lede {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 1.05rem;
  color: #5c6e80;
  line-height: 1.55;
  max-width: 36rem;
  margin: 0;
}
.int-hero-actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Stat strip */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: min(1100px, calc(100% - 2rem));
  margin: -1.5rem auto 0;
  position: relative;
  z-index: 2;
}
.stat-pill {
  background: #fff;
  border: 1px solid #d9e8f2;
  border-radius: 1rem;
  padding: 1.15rem 1rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 85, 155, 0.06);
}
.stat-pill strong {
  display: block;
  font-family: Poppins, system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #00559b;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.stat-pill span {
  display: block;
  margin-top: 0.35rem;
  font-family: Poppins, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5c6e80;
}
@media (max-width: 720px) {
  .stat-strip { grid-template-columns: 1fr 1fr; margin-top: 1rem; }
}

/* Wide content sections */
.int-section {
  padding: 3.25rem 0;
}
.int-section--sky {
  background: linear-gradient(180deg, #f4fafd 0%, #fff 100%);
}
.int-section--navy {
  background: linear-gradient(135deg, #00559b 0%, #07456d 100%);
  color: #fff;
}
.int-section--navy h2,
.int-section--navy p { color: #fff; }
.int-section--navy p { opacity: 0.92; }
.int-section .wrap-wide,
.int-section .wrap { max-width: 1100px; }
.int-section h2 {
  font-family: Poppins, system-ui, sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: #00559b;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}
.int-section .section-lede {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 1rem;
  color: #5c6e80;
  line-height: 1.6;
  max-width: 40rem;
  margin: 0 0 1.75rem;
}
.int-section p {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 1rem;
  color: #3d4f5f;
  line-height: 1.65;
  margin: 0 0 1rem;
}
.int-section ul.checks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: grid;
  gap: 0.55rem;
}
.int-section ul.checks li {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 0.98rem;
  color: #3d4f5f;
  padding-left: 1.35rem;
  position: relative;
  line-height: 1.5;
}
.int-section ul.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5rem;
  width: 0.45rem; height: 0.45rem;
  border-radius: 50%;
  background: #00559b;
}

/* Feature cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .card-grid, .card-grid--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .card-grid, .card-grid--2, .card-grid--4 { grid-template-columns: 1fr; }
}
.feat-card {
  background: #fff;
  border: 1px solid #d9e8f2;
  border-radius: 1.15rem;
  padding: 1.5rem 1.35rem;
  display: grid;
  gap: 0.65rem;
  align-content: start;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 85, 155, 0.1);
}
.feat-card .icon-dot {
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.75rem;
  background: #c4edff;
  color: #00559b;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  font-family: Poppins, system-ui, sans-serif;
}
.feat-card h3 {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #00559b;
  margin: 0;
  letter-spacing: -0.01em;
}
.feat-card p {
  font-size: 0.92rem !important;
  color: #5c6e80 !important;
  margin: 0 !important;
  line-height: 1.55 !important;
}
.feat-card a.more {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #00559b;
  text-decoration: none;
  margin-top: 0.35rem;
}
.feat-card a.more:hover { text-decoration: underline; }

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.split--flip { direction: rtl; }
.split--flip > * { direction: ltr; }
@media (max-width: 800px) {
  .split, .split--flip { grid-template-columns: 1fr; direction: ltr; }
}
.split-visual {
  border-radius: 1.25rem;
  overflow: hidden;
  background: #eaf6fb;
  min-height: 260px;
  display: grid;
  place-items: center;
  border: 1px solid #d9e8f2;
}
.split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}
.split-visual .visual-placeholder {
  padding: 2rem;
  text-align: center;
  color: #00559b;
  font-family: Poppins, system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Location / shop cards */
.loc-card {
  background: #fff;
  border: 1px solid #d9e8f2;
  border-radius: 1.15rem;
  overflow: hidden;
  display: grid;
  grid-template-rows: 140px 1fr;
}
.loc-card .loc-map {
  background:
    radial-gradient(circle at 60% 40%, rgba(196,237,255,0.9), transparent 50%),
    linear-gradient(145deg, #00559b, #07456d);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: Poppins, system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
}
.loc-card .loc-body { padding: 1.25rem 1.35rem 1.5rem; }
.loc-card h3 {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #00559b;
  margin: 0 0 0.4rem;
}
.loc-card p {
  font-size: 0.9rem !important;
  color: #5c6e80 !important;
  margin: 0 0 0.75rem !important;
}
.loc-card .meta-line {
  font-size: 0.78rem !important;
  font-weight: 600;
  color: #00559b !important;
  letter-spacing: 0.03em;
}

/* Editorial / recipe cards */
.story-card {
  background: #fff;
  border: 1px solid #d9e8f2;
  border-radius: 1.15rem;
  overflow: hidden;
  display: grid;
  grid-template-rows: 160px 1fr;
  transition: transform 0.2s;
}
.story-card:hover { transform: translateY(-3px); }
.story-card .story-media {
  background: linear-gradient(135deg, #c4edff, #8fd0ea);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.story-card .story-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.story-card .story-media .tag {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00559b;
  background: rgba(255,255,255,0.85);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}
.story-card .story-body { padding: 1.25rem 1.35rem 1.5rem; }
.story-card h3 {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #00559b;
  margin: 0 0 0.45rem;
}
.story-card p {
  font-size: 0.9rem !important;
  color: #5c6e80 !important;
  margin: 0 !important;
  line-height: 1.55 !important;
}

/* Soft CTA band */
.cta-band {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto 3.5rem;
  background: linear-gradient(120deg, #eaf6fb, #c4edff);
  border-radius: 1.35rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 1.25rem;
  align-items: center;
}
.cta-band h2 {
  font-family: Poppins, system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #00559b;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.cta-band p {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 0.95rem;
  color: #3d4f5f;
  margin: 0;
  max-width: 32rem;
  line-height: 1.55;
}
.cta-band .btn { white-space: nowrap; }
@media (max-width: 640px) {
  .cta-band { grid-template-columns: 1fr; }
}

/* Team cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}
.team-card {
  text-align: center;
  background: #fff;
  border: 1px solid #d9e8f2;
  border-radius: 1.15rem;
  padding: 1.5rem 1rem;
}
.team-card .avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  margin: 0 auto 0.85rem;
  background: linear-gradient(145deg, #c4edff, #8fd0ea);
  display: grid; place-items: center;
  font-family: Poppins, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #00559b;
}
.team-card h3 {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #00559b;
  margin: 0 0 0.25rem;
}
.team-card p {
  font-size: 0.8rem !important;
  color: #5c6e80 !important;
  margin: 0 !important;
}

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid #d9e8f2;
  padding: 1.15rem 0;
}
.faq-item h3 {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #00559b;
  margin: 0 0 0.45rem;
}
.faq-item p {
  font-size: 0.95rem !important;
  color: #5c6e80 !important;
  margin: 0 !important;
  line-height: 1.55 !important;
}

/* Contact form shell */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form {
  background: #f4fafd;
  border: 1px solid #d9e8f2;
  border-radius: 1.25rem;
  padding: 1.5rem;
  display: grid;
  gap: 0.85rem;
}
.contact-form label {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #00559b;
  display: grid;
  gap: 0.35rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 0.95rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid #d9e8f2;
  border-radius: 0.65rem;
  background: #fff;
  color: #1c2b3a;
}
.contact-form textarea { min-height: 120px; resize: vertical; }

/* B2B icon row matching homepage */
.b2b-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}
@media (max-width: 720px) { .b2b-row { grid-template-columns: 1fr; } }
.b2b-item {
  background: #fff;
  border: 1px solid #d9e8f2;
  border-radius: 1.15rem;
  padding: 1.75rem 1.25rem;
}
.b2b-item .b2b-icon {
  width: 72px; height: 72px;
  margin: 0 auto 1rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, #eaf6fb, #c4edff);
  display: grid; place-items: center;
  font-size: 1.75rem;
}
.b2b-item h3 {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #00559b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem;
}
.b2b-item p {
  font-size: 0.88rem !important;
  color: #5c6e80 !important;
  margin: 0 0 1rem !important;
}
.b2b-item .btn { font-size: 0.72rem; min-height: 2.25rem; }

/* Expand page-body width when using new system */
.page-body .wrap.wrap-wide { max-width: 1100px; }
.int-prose { max-width: 40rem; }
.int-prose p { margin-bottom: 1rem; }

/* Hide review dock on interiors for cleaner client view? keep for now */
.page-body .content-card { max-width: none; }

/* =============================================================================
   BEAUTIFUL SHOP SYSTEM — immersive PLPs, product cards, journey UX
   ============================================================================= */

/* Category immersion hero */
.shop-hero {
  position: relative;
  min-height: clamp(320px, 42vw, 480px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #07456d;
  color: #fff;
}
.shop-hero__media {
  position: absolute;
  inset: 0;
}
.shop-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.shop-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,69,109,0.88) 0%, rgba(7,69,109,0.55) 45%, rgba(7,69,109,0.25) 100%),
    linear-gradient(0deg, rgba(7,69,109,0.75) 0%, transparent 55%);
}
.shop-hero__content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3.5rem 0 2.75rem;
}
.shop-hero__kicker {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c4edff;
  margin-bottom: 0.65rem;
}
.shop-hero h1 {
  font-family: Poppins, system-ui, sans-serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 0 0 0.85rem;
  max-width: 12ch;
  text-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.shop-hero p {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 34rem;
  margin: 0 0 1.35rem;
  color: rgba(255,255,255,0.92);
}
.shop-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.shop-hero .btn-sky {
  background: #fff;
  color: #00559b;
}
.shop-hero .btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.75);
  border-radius: 999px;
  min-height: 2.75rem;
  padding: 0.55rem 1.35rem;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}
.shop-hero .btn-outline:hover { background: rgba(255,255,255,0.12); }

/* Category rail under hero */
.cat-rail {
  background: #fff;
  border-bottom: 1px solid #e8f0f6;
  position: sticky;
  top: 4.5rem;
  z-index: 40;
  box-shadow: 0 8px 24px rgba(0,85,155,0.04);
}
.cat-rail__inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.85rem 0;
  align-items: center;
  justify-content: space-between;
}
.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.cat-tab {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1.5px solid #d9e8f2;
  background: #fff;
  color: #00559b;
  cursor: pointer;
  transition: all 0.18s ease;
}
.cat-tab:hover { border-color: #00559b; background: #f4fafd; }
.cat-tab.is-active {
  background: #00559b;
  border-color: #00559b;
  color: #fff;
  box-shadow: 0 6px 16px rgba(0,85,155,0.22);
}
.cat-rail__meta {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 0.8rem;
  color: #5c6e80;
  font-weight: 600;
}
.cat-rail__meta strong { color: #00559b; }

/* Shop body */
.shop-body {
  padding: 2.5rem 0 1rem;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(196,237,255,0.35), transparent 70%),
    #fff;
}
.shop-section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 3rem;
}
.shop-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}
.shop-section__head h2 {
  font-family: Poppins, system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: #00559b;
  letter-spacing: -0.02em;
  margin: 0;
}
.shop-section__head p {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 0.92rem;
  color: #5c6e80;
  margin: 0.25rem 0 0;
  max-width: 36rem;
}
.shop-section.is-hidden { display: none; }

/* Elevated product card */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.35rem;
}
.prod-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  background: #fff;
  border: 1px solid #e4eef5;
  border-radius: 1.35rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s ease, border-color 0.2s;
  box-shadow: 0 4px 16px rgba(0,85,155,0.04);
}
.prod-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,85,155,0.14);
  border-color: #b7d8ec;
}
.prod-card__visual {
  position: relative;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 50% 70%, rgba(196,237,255,0.65), transparent 55%),
    linear-gradient(160deg, #f7fbfd 0%, #eaf6fb 100%);
  display: grid;
  place-items: center;
  padding: 1.1rem;
}
.prod-card__visual img {
  width: min(78%, 190px);
  height: auto;
  max-height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(0,45,120,0.16));
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.prod-card:hover .prod-card__visual img {
  transform: scale(1.06) translateY(-4px);
}
.prod-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-family: Poppins, system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #00559b;
  color: #fff;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  z-index: 2;
}
.prod-card__badge--hot {
  background: linear-gradient(135deg, #e85d4c, #c9443a);
}
.prod-card__badge--tilly {
  background: linear-gradient(135deg, #07456d, #00559b);
}
.prod-card__body {
  padding: 1rem 1.05rem 1.15rem;
  display: grid;
  gap: 0.35rem;
  align-content: start;
}
.prod-card__line {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8fb8d4;
}
.prod-card h3 {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #00559b;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0;
  text-transform: none;
}
.prod-card__cta {
  margin-top: 0.45rem;
  font-family: Poppins, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #00559b;
  opacity: 0.75;
  transition: opacity 0.15s;
}
.prod-card:hover .prod-card__cta { opacity: 1; }

/* Featured strip — large horizontal product feature */
.feature-strip {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 2.75rem;
  border-radius: 1.5rem;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 320px;
  background: linear-gradient(120deg, #00559b, #07456d);
  color: #fff;
  box-shadow: 0 20px 50px rgba(0,85,155,0.18);
}
.feature-strip__copy {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: grid;
  align-content: center;
  gap: 0.85rem;
}
.feature-strip__copy .eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4edff;
}
.feature-strip__copy h2 {
  font-family: Poppins, system-ui, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.1;
  color: #fff;
}
.feature-strip__copy p {
  margin: 0;
  color: rgba(255,255,255,0.9);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 28rem;
}
.feature-strip__visual {
  position: relative;
  background:
    radial-gradient(circle at 50% 60%, rgba(196,237,255,0.25), transparent 60%);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.feature-strip__visual img {
  max-height: 280px;
  width: auto;
  max-width: 90%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.25));
}
@media (max-width: 800px) {
  .feature-strip { grid-template-columns: 1fr; }
  .feature-strip__visual { min-height: 220px; }
}

/* Journey / cross-sell tiles */
.journey-grid {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
@media (max-width: 800px) { .journey-grid { grid-template-columns: 1fr; } }
.journey-tile {
  position: relative;
  border-radius: 1.35rem;
  overflow: hidden;
  min-height: 220px;
  display: grid;
  align-content: end;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0,85,155,0.12);
  transition: transform 0.25s ease;
}
.journey-tile:hover { transform: translateY(-4px); }
.journey-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.journey-tile__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,69,109,0.92) 0%, rgba(7,69,109,0.2) 65%);
}
.journey-tile__copy {
  position: relative;
  z-index: 1;
  padding: 1.35rem 1.4rem;
}
.journey-tile__copy h3 {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  color: #fff;
}
.journey-tile__copy p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.4;
}
.journey-tile__copy span {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c4edff;
}

/* Immersive content hero (story pages) */
.story-hero {
  position: relative;
  min-height: clamp(280px, 38vw, 420px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #07456d;
  color: #fff;
}
.story-hero img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-hero .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(7,69,109,0.9) 0%, rgba(7,69,109,0.45) 70%);
}
.story-hero .wrap {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3.5rem 0 2.75rem;
}
.story-hero .page-kicker { color: #c4edff; }
.story-hero h1 {
  font-family: Poppins, system-ui, sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.85rem;
  max-width: 16ch;
  color: #fff;
}
.story-hero .page-lede {
  color: rgba(255,255,255,0.9);
  max-width: 34rem;
  font-size: 1.05rem;
}

/* Image mosaic for story pages */
.mosaic {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.85rem;
  min-height: 380px;
}
.mosaic img,
.mosaic .tile {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.15rem;
  min-height: 160px;
}
.mosaic img:first-child,
.mosaic .tile:first-child {
  grid-row: 1 / -1;
  min-height: 100%;
}
.mosaic .tile {
  background: linear-gradient(145deg, #c4edff, #8fd0ea);
  display: grid;
  place-items: center;
  padding: 1rem;
  text-align: center;
  font-family: Poppins, system-ui, sans-serif;
  font-weight: 700;
  color: #00559b;
  font-size: 0.85rem;
}
@media (max-width: 720px) {
  .mosaic { grid-template-columns: 1fr; grid-template-rows: auto; }
  .mosaic img:first-child { grid-row: auto; min-height: 220px; }
}

/* Products hub landing */
.hub-hero {
  text-align: center;
  padding: 3.5rem 1.25rem 2rem;
  background: linear-gradient(180deg, #eaf6fb, #fff);
}
.hub-hero h1 {
  font-family: Poppins, system-ui, sans-serif;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800;
  color: #b9dff0;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 0.75rem;
}
.hub-hero p {
  max-width: 36rem;
  margin: 0 auto;
  color: #5c6e80;
  font-size: 1.05rem;
}
.hub-cards {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 800px) { .hub-cards { grid-template-columns: 1fr; } }
.hub-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  min-height: 360px;
  display: grid;
  align-content: end;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 16px 40px rgba(0,85,155,0.14);
  transition: transform 0.25s ease;
}
.hub-card:hover { transform: translateY(-6px) scale(1.01); }
.hub-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hub-card .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,69,109,0.92) 0%, rgba(7,69,109,0.15) 60%);
}
.hub-card .copy {
  position: relative;
  z-index: 1;
  padding: 1.75rem 1.5rem;
}
.hub-card h2 {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 0.4rem;
  color: #fff;
}
.hub-card p {
  margin: 0 0 0.85rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.92rem;
  line-height: 1.45;
}
.hub-card .pill {
  display: inline-flex;
  background: #fff;
  color: #00559b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
}

/* Soft fade for filtered-out cards */
.prod-card.is-filtered-out {
  display: none;
}

/* Newsletter band */
.newsletter {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto 3.5rem;
  background: linear-gradient(120deg, #eaf6fb, #c4edff 60%, #8fd0ea);
  border-radius: 1.5rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
  align-items: center;
}
.newsletter h2 {
  font-family: Poppins, system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: #00559b;
  margin: 0 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.newsletter p { margin: 0; color: #3d4f5f; font-size: 0.95rem; line-height: 1.5; }
.newsletter form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.newsletter input {
  flex: 1 1 160px;
  font-family: Poppins, system-ui, sans-serif;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 999px;
  font-size: 0.95rem;
}
@media (max-width: 700px) { .newsletter { grid-template-columns: 1fr; } }

/* Location cards with photos */
.loc-card--photo {
  grid-template-rows: 180px 1fr;
}
.loc-card--photo .loc-map {
  position: relative;
  overflow: hidden;
  padding: 0;
}
.loc-card--photo .loc-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.loc-card--photo .loc-map span {
  position: absolute;
  bottom: 0.65rem;
  left: 0.65rem;
  background: rgba(0,85,155,0.9);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
}

/* =============================================================================
   V2 FIXES — readable heroes, clean product cards, nav, ship form
   ============================================================================= */

/* Product hub cards: image on soft field, title BELOW (Perry-style, not overlay) */
.hub-cards--clean .hub-card,
.hub-card--clean {
  min-height: 0;
  background: #fff;
  border: 1px solid #e4eef5;
  border-radius: 1.35rem;
  box-shadow: 0 10px 28px rgba(0,85,155,0.08);
  align-content: stretch;
  display: grid;
  grid-template-rows: 220px auto;
  overflow: hidden;
  color: inherit;
}
.hub-card--clean:hover { transform: translateY(-5px); }
.hub-card--clean .hub-visual {
  position: relative;
  background: linear-gradient(160deg, #f4fafd, #eaf6fb);
  display: grid;
  place-items: center;
  padding: 1.25rem;
  overflow: hidden;
}
.hub-card--clean .hub-visual img {
  position: static;
  width: auto;
  height: auto;
  max-height: 180px;
  max-width: 85%;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0,45,120,0.14));
}
.hub-card--clean .shade { display: none; }
.hub-card--clean .copy {
  position: relative;
  padding: 1.25rem 1.35rem 1.5rem;
  background: #fff;
  color: #1c2b3a;
}
.hub-card--clean h2 {
  color: #00559b;
  font-size: 1.25rem;
  margin: 0 0 0.35rem;
}
.hub-card--clean p {
  color: #5c6e80;
  font-size: 0.9rem;
  margin: 0 0 0.9rem;
  line-height: 1.45;
}
.hub-card--clean .pill {
  background: #00559b;
  color: #fff;
}

/* Newsletter / join band — balanced layout */
.newsletter {
  background: #fff;
  border: 1px solid #d9e8f2;
  box-shadow: 0 12px 32px rgba(0,85,155,0.08);
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.5rem 2rem;
}
.newsletter form {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  min-width: min(340px, 100%);
}
.newsletter input {
  border: 1.5px solid #d9e8f2;
  min-height: 2.85rem;
  flex: 1 1 auto;
}
.newsletter .btn {
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 2.85rem;
}
@media (max-width: 700px) {
  .newsletter { grid-template-columns: 1fr; }
  .newsletter form { flex-wrap: wrap; width: 100%; }
  .newsletter .btn { width: 100%; }
}

/* Story/content heroes — readable text, better image crop */
.story-hero {
  min-height: clamp(300px, 36vw, 420px);
  align-items: center;
}
.story-hero img.bg {
  object-fit: cover;
  object-position: center 30%;
}
.story-hero.story-hero--founders img.bg {
  object-position: center 18%;
}
.story-hero.story-hero--scoop img.bg {
  object-position: center 40%;
}
.story-hero .shade {
  background: linear-gradient(105deg, rgba(7,69,109,0.88) 0%, rgba(7,69,109,0.55) 48%, rgba(7,69,109,0.25) 100%);
}
.story-hero h1 {
  max-width: min(16ch, 100%);
  font-size: clamp(2.1rem, 4.8vw, 3.25rem);
  line-height: 1.08;
}
.story-hero .page-lede {
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.55;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.story-hero .wrap {
  width: min(1100px, calc(100% - 2.5rem));
  padding: 3.25rem 0 3rem;
}

/* Second nav bar removed — single header only */

/* Ship request form */
.ship-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) { .ship-layout { grid-template-columns: 1fr; } }
.ship-form {
  background: #fff;
  border: 1px solid #d9e8f2;
  border-radius: 1.35rem;
  padding: 1.75rem;
  display: grid;
  gap: 1rem;
  box-shadow: 0 12px 32px rgba(0,85,155,0.07);
}
.ship-form h2 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  color: #00559b;
  font-family: Poppins, system-ui, sans-serif;
  font-weight: 800;
}
.ship-form .hint {
  font-size: 0.88rem;
  color: #5c6e80;
  margin: 0 0 0.5rem;
  line-height: 1.5;
}
.ship-form label {
  display: grid;
  gap: 0.35rem;
  font-family: Poppins, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #00559b;
}
.ship-form input,
.ship-form select,
.ship-form textarea {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #d9e8f2;
  border-radius: 0.65rem;
  color: #1c2b3a;
  background: #fff;
}
.ship-form textarea { min-height: 100px; resize: vertical; }
.ship-form .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
@media (max-width: 560px) { .ship-form .row-2 { grid-template-columns: 1fr; } }
.pack-options {
  display: grid;
  gap: 0.65rem;
}
.pack-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
  border: 1.5px solid #d9e8f2;
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.pack-option:has(input:checked),
.pack-option.is-selected {
  border-color: #00559b;
  background: #f0f8fc;
}
.pack-option input { accent-color: #00559b; width: 1.1rem; height: 1.1rem; }
.pack-option strong {
  display: block;
  font-size: 0.9rem;
  color: #00559b;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 700;
}
.pack-option span {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #5c6e80;
  margin-top: 0.15rem;
}
.flavor-grid-select {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.5rem;
  max-height: 220px;
  overflow: auto;
  padding: 0.35rem;
  border: 1px solid #e8f0f6;
  border-radius: 0.75rem;
  background: #fafcfe;
}
.flavor-chip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #3d4f5f;
  padding: 0.4rem 0.5rem;
  border-radius: 0.5rem;
  background: #fff;
  border: 1px solid #e8f0f6;
}
.flavor-chip input { accent-color: #00559b; }
.ship-aside .stat-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.65rem;
}
.ship-aside .stat-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  font-size: 0.92rem;
  color: #3d4f5f;
  line-height: 1.45;
}
.ship-aside .stat-list .dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #00559b;
  margin-top: 0.4rem;
}

/* Location cards with real photos */
.loc-card--photo .loc-map {
  background: #eaf6fb;
}
.loc-card--photo .loc-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Business services cards — Pierre-style */
.biz-hero-title {
  max-width: 14ch !important;
}



/* Review dock removed — no client-facing chrome */
.review-note { display: none !important; }
body { padding-bottom: 0 !important; }

/* Founders hero: show faces, not mid-crop */
.story-hero.story-hero--founders {
  min-height: clamp(340px, 42vw, 480px);
}
.story-hero.story-hero--founders img.bg {
  object-fit: cover;
  object-position: center 12%;
}
@media (max-width: 700px) {
  .story-hero.story-hero--founders img.bg {
    object-position: center 8%;
  }
}

/* Placeholder badge for interim hero photography */
.hero-placeholder-badge {
  display: inline-block;
  font-family: Poppins, system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #07456d;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.95);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  margin: 0 0 0.85rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.story-hero .hero-placeholder-badge {
  color: #07456d;
  background: rgba(255,255,255,0.94);
}

/* Location card photos must fill */
.loc-card {
  grid-template-rows: 180px 1fr !important;
}
.loc-card .loc-map,
.loc-card--photo .loc-map {
  min-height: 180px;
  height: 180px;
  overflow: hidden;
  position: relative;
}
.loc-card--photo .loc-map img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Business SVG icons */
.b2b-icon--svg {
  background: linear-gradient(145deg, #eaf6fb, #c4edff) !important;
  font-size: 0 !important;
}
.b2b-icon--svg svg { display: block; }

/* More product cards clearly clickable */
.more-card {
  cursor: pointer;
  text-decoration: none;
}
.more-card:focus-visible {
  outline: 3px solid #00559b;
  outline-offset: 4px;
}

/* Homepage Figma plates: mark as temporary composite */
.fig-section {
  position: relative;
}
.fig-section[data-placeholder]::after {
  content: attr(data-placeholder);
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 5;
  font-family: Poppins, system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.92);
  color: #07456d;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  pointer-events: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* PDP thumbs interactive */
.pdp-thumb { cursor: pointer; }
.pdp-thumb .thumb-label {
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #00559b;
  display: grid;
  place-items: center;
  height: 100%;
  padding: 0.25rem;
  text-align: center;
}
.size-opt { cursor: pointer; }
.story-card .story-media {
  min-height: 180px;
  background: #eaf6fb;
}
.story-card .story-media img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}
.story-card .story-media img[style*="contain"] {
  object-fit: contain !important;
  padding: 1rem;
  background: #f7fbfd;
}

/* ===== Mobile-first PDP gallery (fix microscopic thumbs) ===== */
.pdp-layout {
  grid-template-columns: 72px minmax(0, 1.15fr) minmax(280px, 0.95fr);
}
.pdp-thumbs {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.pdp-thumb {
  width: 64px;
  height: 64px;
  min-width: 64px;
  flex: 0 0 auto;
}
.pdp-visual {
  min-height: 360px;
}
.pdp-visual img,
.pdp-visual [data-pdp-main] {
  width: min(460px, 100%);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .pdp {
    padding: 1rem 0 2rem;
  }
  .pdp-watermark {
    font-size: clamp(2.5rem, 14vw, 4rem);
    text-align: center;
    padding: 0 0.5rem;
  }
  .pdp-layout,
  .pdp-layout--callout {
    grid-template-columns: 1fr !important;
    gap: 1rem;
    width: calc(100% - 1.5rem);
  }
  /* Main image first, large */
  .pdp-visual-wrap { order: 1; min-height: 0; }
  .pdp-visual {
    order: 1;
    min-height: 0;
    padding: 0.5rem 0 0;
  }
  .pdp-visual img,
  .pdp-visual [data-pdp-main] {
    width: min(100%, 360px);
    max-height: none;
  }
  /* Horizontal scroll strip of decent-size thumbs */
  .pdp-thumbs {
    order: 2;
    flex-direction: row !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    gap: 0.65rem;
    padding: 0.35rem 0.15rem 0.75rem;
    scroll-snap-type: x mandatory;
  }
  .pdp-thumb {
    width: 88px !important;
    height: 88px !important;
    min-width: 88px !important;
    scroll-snap-align: start;
  }
  .pdp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .pdp-details {
    order: 3;
    padding-top: 0.25rem;
  }
  .more-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem;
  }
  .more-card img {
    width: min(160px, 70%);
  }
}

@media (max-width: 480px) {
  .pdp-thumb {
    width: 76px !important;
    height: 76px !important;
    min-width: 76px !important;
  }
  .more-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* Wholesale login — never crush text on mobile */
@media (max-width: 980px) {
  .site-header .btn-wholesale {
    padding: 0 0.85rem !important;
    font-size: 11px !important;
    letter-spacing: 0.04em !important;
    max-width: min(46vw, 10.5rem);
    height: 42px !important;
    min-height: 42px !important;
    line-height: 1.1;
    white-space: nowrap;
  }
}

/* Hero white type readability */
.story-hero .shade {
  background:
    linear-gradient(105deg, rgba(7,69,109,0.92) 0%, rgba(7,69,109,0.72) 42%, rgba(7,69,109,0.45) 100%) !important;
}
.story-hero--readable .shade {
  background:
    linear-gradient(100deg, rgba(5,40,70,0.94) 0%, rgba(7,69,109,0.82) 50%, rgba(7,69,109,0.55) 100%) !important;
}
.story-hero h1,
.story-hero .page-lede {
  text-shadow: 0 2px 18px rgba(0,0,0,0.45), 0 1px 2px rgba(0,0,0,0.35);
}
.story-hero .page-lede {
  color: rgba(255,255,255,0.96) !important;
  max-width: 34rem;
  font-weight: 500;
}
.shop-hero__shade {
  background:
    linear-gradient(90deg, rgba(7,69,109,0.9) 0%, rgba(7,69,109,0.55) 50%, rgba(7,69,109,0.28) 100%),
    linear-gradient(0deg, rgba(7,69,109,0.7) 0%, transparent 50%) !important;
}

/* Founders portrait beside copy */
.founders-portrait {
  border-radius: 1.25rem;
  overflow: hidden;
  background: #eaf6fb;
  border: 1px solid #d9e8f2;
  min-height: 320px;
  display: grid;
  align-content: end;
}
.founders-portrait img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center 15%;
}
.founders-caption {
  margin: 0;
  padding: 0.75rem 1rem;
  font-family: Poppins, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #00559b;
  background: #fff;
}

/* Recipe cards */
.recipe-card {
  background: #fff;
  border: 1px solid #d9e8f2;
  border-radius: 1.25rem;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  box-shadow: 0 10px 28px rgba(0,85,155,0.07);
}
.recipe-card__media {
  background: linear-gradient(160deg, #f4fafd, #eaf6fb);
  min-height: 200px;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.recipe-card__media img {
  max-height: 180px;
  width: auto;
  max-width: 70%;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(0,45,120,0.14));
}
.recipe-card__body {
  padding: 1.35rem 1.4rem 1.5rem;
}
.recipe-card__tag {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00559b;
  margin: 0 0 0.45rem;
}
.recipe-card h2 {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #00559b;
  margin: 0 0 0.55rem;
  letter-spacing: -0.02em;
}
.recipe-card p {
  font-size: 0.95rem;
  color: #3d4f5f;
  line-height: 1.55;
  margin: 0 0 0.75rem;
}
.recipe-card__meta {
  font-size: 0.8rem !important;
  color: #5c6e80 !important;
  font-weight: 600;
}
.recipe-card .btn { margin-top: 0.35rem; }

/* Hide plate badge styles if any residual */
.fig-section[data-placeholder]::after { display: none !important; }
@media (max-width: 640px) {
  .feature-strip__copy .shop-hero__actions,
  .shop-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .feature-strip__copy .btn,
  .feature-strip__copy .btn-outline {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* Founders photo — no colored box; clean editorial photo */
.founders-photo {
  margin: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  overflow: visible;
  box-shadow: none;
}
.founders-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  min-height: 0;
  object-fit: contain;
  object-position: center top;
  border-radius: 0.75rem;
  box-shadow: 0 18px 40px rgba(15, 40, 70, 0.14);
  background: #f4f1ea; /* warm neutral paper, not brand blue */
}
.founders-photo figcaption {
  margin: 0.75rem 0 0;
  padding: 0;
  font-family: Poppins, system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #5c6e80;
  background: transparent;
  text-align: left;
}
/* kill old blue box class if residual */
.founders-portrait {
  background: transparent !important;
  border: 0 !important;
  min-height: 0 !important;
}

/* Homepage Figma plates — prefer sharp scaling on retina */
.fig-section > img,
.fig-section > a > img {
  width: 100%;
  height: auto;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}
@supports (image-rendering: -webkit-optimize-contrast) {
  /* avoid chrome blur on large downscales when possible */
}
/* Salty Caramel scoop callout (Figma annotated bowl) */
.pdp-visual--callout img[data-pdp-main],
.pdp-visual--callout img {
  width: min(560px, 100%) !important;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: none;
}
@media (max-width: 900px) {
  .pdp-visual--callout img[data-pdp-main] {
    width: min(100%, 420px) !important;
  }
}
