/* ============================================================
   SeaweedAsia — Design System v3
   Concept: Seaweed & Ocean. B2B export site recolored to the
   official Seaweed Asia brand guideline — Seaweed Green /
   Ocean Turquoise / Seaweed Charcoal — still stamped with the
   manifest/traceability data motifs.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  /* Seaweed Asia brand palette (variable names kept the same
     as before so every rule below still resolves correctly —
     only the hex values changed) */
  --coral-500: #26A65B;   /* Seaweed Green — primary action color */
  --coral-600: #1E8549;   /* darker green — hover/pressed state */
  --coral-mist: #E6F6F1;  /* Sea Mist — light green background */
  --ocean-900: #0E1F1C;   /* Seaweed Charcoal — dark header/hero bg */
  --ocean-700: #2D3A37;   /* Dark Grey — secondary text/borders */
  --sand-100: #F5F7F5;    /* Warm White — body background */
  --sand-200: #E1F6FA;    /* Ocean Mist — alt section background */
  --sand-300: #D9DFDB;    /* Light Grey — card/table borders */
  --kelp-600: #00B3C6;    /* Ocean Turquoise — accent (checkmarks, quality badge) */
  --kelp-300: #7DD9E3;    /* light turquoise — text on dark sections */
  --ink: #0E1F1C;
  --white: #ffffff;

  /* legacy aliases kept so existing markup classes still resolve */
  --teal-950: var(--ocean-900);
  --teal-900: var(--ocean-700);
  --teal-800: var(--ocean-700);
  --teal-700: var(--ocean-700);
  --kelp-500: var(--kelp-600);
  --rope-line: #6B7672;
  --rust-500: var(--coral-500);
  --rust-600: var(--coral-600);

  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'IBM Plex Sans', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --max: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; margin: 0; padding: 0; }

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* -------------------- Manifest tag (signature element) -------------------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral-600);
  background: var(--coral-mist);
  border: 1px solid #B9E6C9;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}
.tag::before { content: "●"; font-size: 0.55rem; color: var(--coral-500); }
section.on-dark .tag { color: var(--coral-500); background: rgba(38,166,91,0.12); border-color: rgba(38,166,91,0.35); }
.tag.kelp { color: var(--kelp-600); background: #E1F6FA; border-color: #A8E6ED; }
.tag.kelp::before { color: var(--kelp-600); }

/* -------------------- Header / nav -------------------- */
header.site-header {
  background: var(--ocean-900);
  color: var(--sand-100);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--ocean-700);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--sand-100);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.brand span { color: var(--coral-500); }
nav.main-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
nav.main-nav a {
  text-decoration: none;
  color: var(--sand-200);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
nav.main-nav a:hover,
nav.main-nav a[aria-current="page"] {
  color: var(--sand-100);
  border-bottom-color: var(--coral-500);
}
.nav-toggle { display: none; }

/* -------------------- Nav dropdown (Product) -------------------- */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--sand-200);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: border-color .15s ease, color .15s ease;
}
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle[aria-current="page"],
.nav-dropdown.open .nav-dropdown-toggle {
  color: var(--sand-100);
  border-bottom-color: var(--coral-500);
}
.nav-dropdown-toggle .caret {
  font-size: 0.65em;
  transition: transform .15s ease;
}
.nav-dropdown.open .nav-dropdown-toggle .caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 10px;
  background: var(--ocean-900);
  border: 1px solid var(--ocean-700);
  border-radius: var(--radius-lg);
  min-width: 170px;
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 12px 28px rgba(14,31,28,0.35);
  z-index: 60;
}
.nav-dropdown-menu a {
  color: var(--sand-200) !important;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 6px;
  border-bottom: none !important;
}
.nav-dropdown-menu a:hover { background: rgba(255,255,255,0.08); color: var(--sand-100) !important; }
.nav-dropdown.open .nav-dropdown-menu { display: flex; }
@media (min-width: 761px) {
  .nav-dropdown:hover .nav-dropdown-menu { display: flex; }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
    background: none;
    border: 1px solid var(--teal-700);
    color: var(--sand-100);
    font-size: 1.3rem;
    padding: 4px 12px;
    cursor: pointer;
  }
  nav.main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 4px;
    padding-top: 14px;
    order: 3;
  }
  nav.main-nav.open { display: flex; }
  .nav-inner { flex-wrap: wrap; }
  .nav-dropdown-menu {
    position: static;
    margin-top: 4px;
    margin-left: 10px;
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0 0 4px;
  }
  .nav-dropdown:hover .nav-dropdown-menu { display: none; }
  .nav-dropdown.open .nav-dropdown-menu { display: flex; }
}

/* -------------------- Sections -------------------- */
section {
  padding: 72px 0;
}
section.on-dark {
  background-color: var(--teal-950);
  background-image:
    linear-gradient(180deg, rgba(14,31,28,0.55), rgba(14,31,28,0.72)),
    url('ocean-depths-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--sand-100);
}
section.on-sand-alt {
  background-color: var(--sand-200);
  background-image:
    linear-gradient(rgba(225,246,250,0.5), rgba(225,246,250,0.5)),
    url('values-bg-texture.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
section.tight { padding: 48px 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 18px;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 16px; max-width: 68ch; }
.lede { font-size: 1.15rem; color: var(--teal-800); }
section.on-dark .lede { color: var(--kelp-300); }

.rule {
  border: none;
  border-top: 1px solid var(--rope-line);
  opacity: 0.25;
  margin: 0;
}

/* -------------------- Buttons / links -------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--coral-500);
  color: #fff;
  box-shadow: 0 8px 24px rgba(38,166,91,0.35);
}
.btn-primary:hover { background: var(--coral-600); box-shadow: 0 10px 28px rgba(30,133,73,0.4); }
.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.link-inline { color: var(--coral-600); font-weight: 600; text-decoration: none; }
.link-inline:hover { text-decoration: underline; }

/* -------------------- Hero -------------------- */
.hero {
  background: radial-gradient(circle at 15% 0%, rgba(38,166,91,0.16), transparent 45%), var(--ocean-900);
  color: var(--sand-100);
  padding: 96px 0 74px;
}
.hero .tag { color: var(--coral-500); background: rgba(38,166,91,0.12); border-color: rgba(38,166,91,0.35); }
.hero h1 { max-width: 17ch; }
.hero p.lede { max-width: 58ch; }
.cert-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.cert-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--sand-100);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-full);
  padding: 6px 14px;
}
.cert-pill.tbd { color: var(--sand-300); font-style: italic; border-style: dashed; }

/* -------------------- Blog post header (back link + tag + title spacing) -------------------- */
.post-back {
  display: block;
  margin-bottom: 22px;
  color: var(--coral-600);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}
.post-back:hover { text-decoration: underline; }
.header-hero-wrapper .post-back { color: #7DD9E3; }
.header-hero-wrapper .hero .tag { margin-bottom: 18px; }
.header-hero-wrapper .hero h1 { margin-top: 6px; }

/* -------------------- Stat / track record row -------------------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.stat {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  font-family: var(--font-mono);
  background: rgba(255,255,255,0.04);
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--coral-500);
}
.stat span { font-size: 0.78rem; color: var(--sand-300); text-transform: uppercase; letter-spacing: 0.04em; }
section:not(.on-dark) .stat { border-color: var(--sand-300); background: var(--white); }
section:not(.on-dark) .stat span { color: var(--ocean-700); }
@media (max-width: 700px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }

/* Compact stat row for the two-column trust-intro block — smaller,
   no card chrome, just number-over-label so it doesn't compete
   visually with the photo beside it. */
.trust-stat-row {
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 26px;
}
.trust-stat-row .stat {
  border: none !important;
  background: transparent !important;
  padding: 0 14px 0 0;
  border-left: 2px solid var(--sand-300) !important;
  padding-left: 14px;
}
.trust-stat-row .stat:first-child { border-left: none !important; padding-left: 0; }
.trust-stat-row .stat b { font-size: 1.4rem; color: var(--kelp-600); }
.trust-stat-row .stat span { font-size: 0.66rem; color: var(--ocean-700); line-height: 1.3; display: block; margin-top: 2px; }
@media (max-width: 700px) {
  .trust-stat-row { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .trust-stat-row .stat:nth-child(3) { border-left: none; padding-left: 0; }
}

/* -------------------- Card grids -------------------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-2, .grid-3, .grid-5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-5 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(14,31,28,0.08); }
section.on-dark .card {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.card h3 { margin-bottom: 8px; }
.card .meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--coral-600);
  background: var(--coral-mist);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  display: inline-block;
}
section.on-dark .card .meta { color: var(--coral-500); background: rgba(38,166,91,0.14); }

/* -------------------- Process steps -------------------- */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--sand-300);
}
.step:last-child { border-bottom: 1px solid var(--sand-300); }
section.on-dark .step { border-color: rgba(255,255,255,0.14); }
section.on-dark .step:last-child { border-color: rgba(255,255,255,0.14); }
.step .num {
  font-family: var(--font-mono);
  color: #fff;
  background: var(--coral-500);
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
}
@media (max-width: 600px) { .step { grid-template-columns: 50px 1fr; } }

/* -------------------- Process timeline (horizontal, modern) -------------------- */
.process-timeline { margin-top: 52px; }
.process-timeline-track {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
  position: relative;
}
.process-timeline-track::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 27px;
  right: 27px;
  height: 1px;
  background: linear-gradient(90deg, var(--sand-300), var(--kelp-300) 50%, var(--sand-300));
  z-index: 0;
}
.process-step {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 8px;
}
.process-step-node {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-full);
  background: linear-gradient(155deg, var(--coral-500), var(--coral-600));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 0 6px var(--sand-100), 0 8px 18px -8px rgba(30,133,73,0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.process-step:hover .process-step-node {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 0 6px var(--sand-100), 0 14px 24px -10px rgba(30,133,73,0.6);
}
.process-step-num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.process-step h3 {
  font-size: 1.05rem;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.process-step p {
  font-size: 0.85rem;
  color: var(--ocean-700);
  opacity: 0.85;
  margin: 0;
  line-height: 1.55;
  max-width: 200px;
}
.process-cta-row {
  text-align: center;
  margin-top: 44px;
}
@media (max-width: 860px) {
  .process-timeline-track {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .process-timeline-track::before {
    top: 0;
    bottom: 0;
    left: 26px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, var(--sand-300), var(--kelp-300) 50%, var(--sand-300));
  }
  .process-step {
    display: grid;
    grid-template-columns: 50px 1fr;
    column-gap: 20px;
    row-gap: 4px;
    align-items: start;
    text-align: left;
    padding: 0 0 32px;
  }
  .process-step:last-child { padding-bottom: 0; }
  .process-step-node { grid-row: 1 / 3; margin-bottom: 0; }
  .process-step h3 { grid-column: 2; }
  .process-step p { grid-column: 2; max-width: none; }
  .process-step:hover .process-step-node { transform: none; }
}

/* -------------------- QC checklist -------------------- */
ul.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
ul.checklist li {
  padding-left: 30px;
  position: relative;
}
ul.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: #fff;
  font-weight: 700;
  background: var(--kelp-600);
  width: 21px; height: 21px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem;
  border-radius: var(--radius-full);
}

/* -------------------- Gallery -------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-grid figure { margin: 0; }
.gallery-grid .gallery-photo { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.gallery-grid img { width: 100%; height: 320px; object-fit: cover; display: block; transition: transform .2s ease; }
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figcaption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ocean-700);
  padding: 8px 2px 0;
}
.gallery-grid .empty-slot {
  height: 260px;
  border: 1px dashed var(--sand-300);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ocean-700);
  padding: 20px;
  background: var(--sand-200);
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }

/* -------------------- Product detail blocks -------------------- */
.product-block {
  padding: 56px 0;
  border-top: 1px solid var(--sand-300);
}
.product-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; }
.product-head h2 { margin-bottom: 4px; }
.moq-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: var(--coral-mist);
  border: 1px solid #B9E6C9;
  border-radius: var(--radius-full);
  color: var(--coral-600);
  padding: 6px 14px;
  white-space: nowrap;
}
.spec-badges { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 20px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin: 10px 0 24px; }
.spec-table td { padding: 9px 0; border-bottom: 1px solid var(--sand-300); }
.spec-table td:first-child { color: var(--ocean-700); font-family: var(--font-mono); font-size: 0.8rem; width: 40%; }
.product-photo-slot {
  border: 1px dashed var(--sand-300);
  border-radius: var(--radius-lg);
  background: var(--sand-200);
  min-height: 220px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--ocean-700);
  padding: 16px; text-align: center;
}

/* ============================================================
   PRODUCT DETAIL INFOGRAPHICS
   Shared components used across cottonii / spinosum / gracilaria /
   sea-lettuce / sargassum detail pages: photo duo, spec gauges,
   application icon grid, species mini-timeline, method comparison.
   All animation hooks into the existing .reveal / IntersectionObserver
   system in main.js — no new JS required.
   ============================================================ */

/* -- Photo duo: real farm photo (matches homepage) + accent shot -- */
.photo-duo { position: relative; margin-bottom: 8px; }
.photo-duo .photo-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 40px -18px rgba(14,31,28,0.35);
}
.photo-duo .photo-main img {
  width: 100%; height: 320px; object-fit: cover; display: block;
  transition: transform .5s cubic-bezier(0.16,1,0.3,1);
}
.photo-duo:hover .photo-main img { transform: scale(1.045); }
.photo-duo .photo-accent {
  position: absolute;
  width: 44%;
  bottom: -26px;
  right: -18px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 4px solid var(--sand-100);
  box-shadow: 0 14px 30px -10px rgba(14,31,28,0.4);
  transition: transform .35s cubic-bezier(0.16,1,0.3,1);
}
.photo-duo .photo-accent img { width: 100%; height: 118px; object-fit: cover; display: block; }
.photo-duo:hover .photo-accent { transform: translateY(-6px) rotate(-1.5deg); }
@media (max-width: 760px) {
  .photo-duo { margin-bottom: 34px; }
  .photo-duo .photo-accent { width: 54%; bottom: -20px; right: -8px; }
  .photo-duo .photo-accent img { height: 96px; }
}

/* -- Spec gauges: animated radial progress rings -- */
.spec-gauges { display: flex; gap: 30px; flex-wrap: wrap; margin: 4px 0 28px; }
.gauge { display: flex; align-items: center; gap: 14px; }
.gauge svg { width: 88px; height: 88px; transform: rotate(-90deg); flex-shrink: 0; }
.gauge circle { fill: none; stroke-width: 9; }
.gauge .gauge-track { stroke: var(--sand-300); }
.gauge .gauge-fill {
  stroke: var(--kelp-600);
  stroke-linecap: round;
  stroke-dasharray: var(--circ);
  stroke-dashoffset: var(--circ);
  transition: stroke-dashoffset 1.4s cubic-bezier(0.16,1,0.3,1);
}
.reveal.active .gauge-fill { stroke-dashoffset: var(--offset); }
.gauge-label b {
  display: block; font-family: var(--font-display); font-size: 1.4rem;
  color: var(--ocean-900); line-height: 1.1;
}
.gauge-label span {
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--ocean-700);
  text-transform: uppercase; letter-spacing: 0.04em;
}

/* -- Applications: icon card grid (replaces plain checklist) -- */
.app-icon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 6px; }
.app-icon-card {
  background: var(--white); border: 1px solid var(--sand-300); border-radius: var(--radius-md);
  padding: 20px 16px; text-align: center;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.app-icon-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(14,31,28,0.08); border-color: var(--kelp-300); }
.app-icon-card .app-icon {
  width: 44px; height: 44px; margin: 0 auto 12px; border-radius: var(--radius-full);
  background: var(--coral-mist); display: flex; align-items: center; justify-content: center;
  transition: background .22s ease;
}
.app-icon-card:hover .app-icon { background: var(--coral-500); }
.app-icon-card .app-icon svg { width: 21px; height: 21px; stroke: var(--coral-600); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .22s ease; }
.app-icon-card:hover .app-icon svg { stroke: #fff; }
.app-icon-card h4 { font-size: 0.86rem; margin: 0 0 4px; }
.app-icon-card p { font-size: 0.78rem; color: var(--ocean-700); margin: 0; line-height: 1.42; }
@media (max-width: 860px) { .app-icon-grid { grid-template-columns: repeat(2, 1fr); } }

/* -- Staggered children reveal (used inside an already-.reveal wrapper) -- */
.stagger > * { transition: opacity .55s ease, transform .55s ease; }
.stagger > *:nth-child(1) { transition-delay: .04s; }
.stagger > *:nth-child(2) { transition-delay: .12s; }
.stagger > *:nth-child(3) { transition-delay: .20s; }
.stagger > *:nth-child(4) { transition-delay: .28s; }
.stagger > *:nth-child(5) { transition-delay: .36s; }
.reveal .stagger > * { opacity: 0; transform: translateY(16px); }
.reveal.active .stagger > * { opacity: 1; transform: translateY(0); }

/* -- Species mini-timeline: smaller variant of the homepage process-timeline -- */
.species-timeline .process-timeline-track::before { top: 23px; left: 23px; right: 23px; }
.species-timeline .process-step-node { width: 46px; height: 46px; margin-bottom: 16px; }
.species-timeline .process-step h3 { font-size: 0.95rem; }
.species-timeline .process-step p { font-size: 0.8rem; max-width: 175px; }
@media (max-width: 860px) {
  .species-timeline .process-timeline-track::before { top: 0; bottom: 0; left: 22px; }
}

/* -- Method comparison cards (used where no numeric moisture spec exists) -- */
.method-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 6px 0 28px; }
.method-card { border-radius: var(--radius-md); padding: 22px; border: 1px solid var(--sand-300); transition: border-color .2s ease, background .2s ease; }
.method-card.is-active { border-color: var(--kelp-600); background: var(--sand-200); }
.method-card .method-icon {
  width: 38px; height: 38px; border-radius: var(--radius-full); background: var(--white);
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
  transition: background .2s ease;
}
.method-card.is-active .method-icon { background: var(--kelp-600); }
.method-card .method-icon svg { width: 18px; height: 18px; stroke: var(--ocean-700); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.method-card.is-active .method-icon svg { stroke: #fff; }
.method-card h4 { font-size: 0.92rem; margin: 0 0 6px; }
.method-card p { font-size: 0.8rem; color: var(--ocean-700); margin: 0; line-height: 1.5; }
@media (max-width: 600px) { .method-compare { grid-template-columns: 1fr; } }

/* -------------------- Map -------------------- */
.map-embed {
  width: 100%;
  height: 380px;
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-lg);
}
.map-note {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ocean-700);
  margin-top: 10px;
  border-left: 2px solid var(--coral-500);
  padding-left: 10px;
}

/* -------------------- Interactive sourcing map -------------------- */
.sourcing-map-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 28px;
}
@media (max-width: 900px) {
  .sourcing-map-grid { grid-template-columns: 1fr; }
}
.sa-map-stage {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, rgba(0,179,198,0.07), rgba(38,166,91,0.05));
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.sa-map-stage svg { width: 100%; height: auto; display: block; }
.sa-map-stage .sa-island { fill: var(--kelp-300); opacity: 0.55; stroke: var(--ocean-700); stroke-width: 1; stroke-opacity: 0.3; }
.sa-map-stage .sa-island-label {
  font-family: var(--font-mono);
  font-size: 12px;
  fill: var(--ocean-700);
  opacity: 0.55;
}
.region-pin {
  position: absolute;
  width: 26px;
  height: 26px;
  margin-left: -13px;
  margin-top: -13px;
  border-radius: 50%;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.region-pin::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral-500);
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(14,31,28,0.35);
  transition: transform .15s ease, background .15s ease;
  z-index: 2;
}
.region-pin::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--coral-500);
  opacity: 0.6;
  animation: sa-pulse 2.4s ease-out infinite;
}
.region-pin:hover::before,
.region-pin:focus-visible::before,
.region-pin.active::before {
  transform: scale(1.35);
  background: var(--kelp-600);
}
.region-pin:focus-visible { outline: 2px solid var(--kelp-600); outline-offset: 4px; }
@keyframes sa-pulse {
  0% { transform: scale(0.7); opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}
.sa-map-panel {
  background: var(--white);
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-lg);
  padding: 26px;
  min-height: 280px;
}
.sa-map-panel .sa-panel-empty {
  color: var(--ocean-700);
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  justify-content: center;
}
.sa-map-panel h3 { margin-bottom: 4px; font-size: 1.2rem; }
.sa-map-panel dl { margin: 16px 0 0; display: grid; gap: 12px; }
.sa-map-panel dl > div { border-top: 1px solid var(--sand-300); padding-top: 10px; }
.sa-map-panel dl > div:first-child { border-top: none; padding-top: 0; }
.sa-map-panel dt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ocean-700);
}
.sa-map-panel dd { margin: 3px 0 0; font-size: 0.92rem; }
.sa-map-panel .sa-panel-link { display: inline-block; margin-top: 16px; }

/* -------------------- Forms -------------------- */
form.contact-form { display: grid; gap: 16px; max-width: 560px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ocean-700);
  margin-bottom: 6px;
}
input, textarea, select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--coral-500);
  outline-offset: 1px;
}
textarea { min-height: 110px; resize: vertical; }
fieldset { border: 1px solid var(--sand-300); border-radius: var(--radius-md); padding: 18px; margin: 0; }
fieldset legend { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--coral-600); padding: 0 8px; }

/* -------------------- FAQ -------------------- */
.faq-item { border-bottom: 1px solid var(--sand-300); padding: 18px 0; }
.faq-item h3 { font-size: 1.02rem; margin-bottom: 8px; font-family: var(--font-body); font-weight: 600; }
.faq-item p { margin: 0; color: var(--ocean-700); }

/* -------------------- Contact detail rows -------------------- */
.contact-detail { display: grid; grid-template-columns: 130px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--sand-300); }
.contact-detail dt { font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; color: var(--teal-700); }
.contact-detail dd { margin: 0; }
.tbd { color: var(--teal-700); font-style: italic; }

/* -------------------- Testimonials placeholder -------------------- */
.testimonial-placeholder {
  border: 1px dashed rgba(255,255,255,0.3);
  border-radius: var(--radius-lg);
  padding: 34px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--sand-300);
}

/* -------------------- Footer -------------------- */
footer.site-footer {
  background: var(--ocean-900);
  color: var(--sand-200);
  padding: 56px 0 32px;
}
footer.site-footer .grid-2 { align-items: start; }
footer.site-footer a { color: var(--sand-200); text-decoration: none; }
footer.site-footer a:hover { color: var(--sand-100); text-decoration: underline; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 10px; font-size: 0.9rem; }
.footer-contact-col { display: flex; flex-direction: column; }
.footer-social { display: flex; gap: 10px; margin-top: 26px; }
.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--sand-200) !important;
  text-decoration: none !important;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.footer-social a:hover { background: var(--coral-500); border-color: var(--coral-500); color: #fff !important; }
.footer-social a svg { width: 16px; height: 16px; fill: currentColor; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--ocean-700);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--sand-300);
}

/* -------------------- Chatbot widget -------------------- */
#sa-chat-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  background: var(--coral-500);
  color: #fff;
  border: none;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(38,166,91,0.45);
  transition: transform .15s ease;
}
#sa-chat-toggle:hover { transform: scale(1.06); }

#sa-chat-panel {
  position: fixed;
  bottom: 94px;
  right: 24px;
  z-index: 100;
  width: 320px;
  max-width: calc(100vw - 32px);
  height: 420px;
  background: var(--sand-100);
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(14,31,28,0.25);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
#sa-chat-panel.open { display: flex; }
.sa-chat-head {
  background: var(--ocean-900);
  color: var(--sand-100);
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sa-chat-head button {
  background: none; border: none; color: var(--sand-200); cursor: pointer; font-size: 1rem;
}
.sa-chat-body {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
}
.sa-msg { max-width: 85%; padding: 10px 14px; border-radius: var(--radius-md); line-height: 1.45; }
.sa-msg.bot { background: var(--sand-200); align-self: flex-start; border-bottom-left-radius: 4px; }
.sa-msg.user { background: var(--coral-500); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.sa-chat-input { display: flex; border-top: 1px solid var(--sand-300); }
.sa-chat-input input {
  border: none; flex: 1; padding: 12px 16px; font-size: 0.88rem; border-radius: 0;
}
.sa-chat-input input:focus { outline: none; }
.sa-chat-input button {
  background: var(--coral-500); color: #fff; border: none; padding: 0 18px; cursor: pointer; font-weight: 600;
}

/* ============================================================
   PROCESS PAGE — "Why We Never Machine-Dry" feature section
   Full-bleed photo background with a framed inset close-up and
   text floating over the image (soft scrim keeps it legible
   regardless of what's behind it).
   ============================================================ */

.process-feature {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  gap: 5%;
  padding: 56px 6%;
  overflow: hidden;
  background-color: var(--sand-200);
  background-image:
    linear-gradient(90deg, rgba(245,247,245,0) 0%, rgba(245,247,245,0) 46%, rgba(245,247,245,0.72) 66%, rgba(245,247,245,0.88) 100%),
    url('dry-process.png');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
.process-feature-photo {
  position: relative;
  width: 320px;
  max-width: 42%;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  border: 6px solid #fff;
  border-radius: 6px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.process-feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.process-feature-text {
  position: relative;
  z-index: 2;
  margin-left: auto;
  max-width: 480px;
}
.process-feature-text h2 { color: var(--ocean-900); }
.process-feature-text p { color: var(--ocean-900); }

@media (max-width: 800px) {
  .process-feature {
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
    padding: 40px 24px;
  }
  .process-feature-photo { max-width: 100%; width: 100%; aspect-ratio: 4 / 3; }
  .process-feature-text { margin-left: 0; max-width: 100%; }
}


/* ============================================================
   HOMEPAGE — product/step card photos (species grid, logistics
   cards, quality section)
   ============================================================ */

.product-card-photo {
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  height: 220px;
}
.product-row .card { padding: 18px; }
.product-row .product-card-photo { height: 140px; margin-bottom: 12px; }
.product-row h3 { font-size: 1.05rem; margin-bottom: 6px; }
.product-row p { font-size: 0.85rem; margin-bottom: 10px; }
.product-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.card:hover .product-card-photo img { transform: scale(1.05); }

/* -------------------- Values section per-card watermark icons -------------------- */
.values-decor { position: relative; overflow: hidden; }
.value-card { position: relative; overflow: hidden; }
.value-card h3, .value-card p { position: relative; z-index: 1; }
.value-icon {
  position: absolute;
  top: 50%;
  right: -8px;
  transform: translateY(-50%);
  opacity: 0.14;
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 600px) { .value-icon { width: 56px; height: 56px; } }

/* -------------------- Quality-checked badge on cards -------------------- */
.check-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--kelp-600);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

/* -------------------- Testimonial cards -------------------- */
.testimonial-grid { align-items: stretch; }
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 18px;
  flex: 1;
}
.testimonial-author { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.testimonial-name { font-weight: 700; color: var(--ocean-900); }
.testimonial-role { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ocean-700); }

/* -------------------- Blog "coming soon" cards -------------------- */
.coming-soon-card {
  border-style: dashed;
  background: var(--sand-200);
}
.coming-soon-card h3 { color: var(--ocean-700); }

/* -------------------- Homepage blog preview cards (anchor-wrapped) -------------------- */
.home-blog-card { text-decoration: none; color: inherit; }
.home-blog-card .link-inline { display: inline-block; margin-top: 4px; }


/* ============================================================
   SHARED SCROLL-REVEAL ANIMATION
   One consistent fade+lift-in effect, used site-wide. Add
   class="reveal" to any section/wrap; main.js handles the rest
   via IntersectionObserver — same behaviour on every page.
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}


/* ============================================================
   PROCESS PAGE — step thumbnails
   Adds a small photo per step without touching the base .step
   layout used elsewhere (e.g. homepage's text-only steps preview).
   Scoped via .steps-photo so it only applies where opted in.
   ============================================================ */

.steps-photo .step {
  grid-template-columns: 56px 220px 1fr;
  gap: 24px;
  align-items: center;
}
.steps-photo .step-thumb {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 150px;
}
.steps-photo .step-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1);
}
.steps-photo .step:hover .step-thumb img { transform: scale(1.06); }
@media (max-width: 700px) {
  .steps-photo .step {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .steps-photo .step-thumb { height: 210px; order: 2; }
  .steps-photo .step .num { order: 1; }
  .steps-photo .step > div:last-child { order: 3; }
}


/* ============================================================
   UNIFIED PAGE HERO — wave background (was about.html-only)
   Apply on every page by wrapping <header class="site-header">
   and the page's <section class="hero"> in:
   <div class="header-hero-wrapper"> ... </div>
   ============================================================ */

.header-hero-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;            /* stops child margins from ever
                                   exposing the sand body-background at
                                   the top edge */
  background: var(--ocean-900) url('story-bg.png') no-repeat center 15% / cover;
}

/* Homepage-only hero background — aerial farm photo instead of the
   generic wave texture. Applied via class="header-hero-wrapper home-hero"
   on index.html only; every other page keeps story-bg.png. */
.header-hero-wrapper.home-hero {
  background-color: var(--ocean-900);
  background-image:
    linear-gradient(180deg, rgba(14,31,28,0.72), rgba(14,31,28,0.55) 40%, rgba(14,31,28,0.8)),
    url('hero-farm-aerial.jpg');
  background-repeat: no-repeat;
  background-position: center 38%;
  background-size: cover;
  /* Fill the full screen height, whatever that is, instead of a fixed
     pixel guess — this is what actually stops the next section from
     ever peeking in at the bottom on load, on any monitor. */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.header-hero-wrapper.home-hero .hero.hero-compact {
  flex: 1;
}
@media (max-width: 760px) {
  .header-hero-wrapper.home-hero { min-height: 0; }
}

.header-hero-wrapper > *:first-child,
.header-hero-wrapper .site-header {
  margin-top: 0 !important;
}

.header-hero-wrapper .site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, backdrop-filter .3s ease,
              border-color .3s ease, box-shadow .3s ease;
  width: 100%;
}

.header-hero-wrapper .site-header.scrolled {
  background: rgba(14, 31, 28, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 179, 198, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.header-hero-wrapper .hero {
  background: transparent !important;
  border-top: none !important;
  padding-top: 10px !important;
  padding-bottom: 60px;
  margin-top: 0;
}

.header-hero-wrapper .hero .lede {
  color: #D9DFDB !important;
  opacity: 0.95;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.header-hero-wrapper .hero .tag {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #D9DFDB !important;
  backdrop-filter: blur(8px);
}

@media (max-width: 760px) {
  .header-hero-wrapper .main-nav.open {
    background: rgba(14, 31, 28, 0.92);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: 14px 20px;
  }
}


/* ============================================================
   UNIFIED FOOTER — wave background
   Apply on About / Products / Process / Gallery / Blog / Contact
   ONLY — NOT on Home (index.html keeps its own deep-ocean
   .on-dark closing-CTA background feeding into a plain footer).
   Wrap the last CTA section + <footer> in:
   <div class="footer-wave-wrapper"> ... </div>
   ============================================================ */

.footer-wave-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background:
    linear-gradient(rgba(14, 31, 28, 0.45), rgba(14, 31, 28, 0.65)),
    url('story-bg.png') no-repeat center bottom / cover;
}

.footer-wave-wrapper .site-footer,
.footer-wave-wrapper .cta-bottom-bg,
.footer-wave-wrapper section.on-dark {
  background: transparent !important;
  background-image: none !important;
}

.footer-wave-wrapper .site-footer dt { color: #6B7672 !important; }
.footer-wave-wrapper .site-footer dd,
.footer-wave-wrapper .site-footer .tbd { color: #ffffff !important; opacity: 1 !important; }


/* ============================================================
   HOMEPAGE HERO — compact variant so the full hero (nav through
   stat row) fits inside a single viewport without scrolling.
   Applied via class="hero hero-compact" on index.html only.
   ============================================================ */

.header-hero-wrapper .hero.hero-compact {
  padding-top: 6px !important;
  padding-bottom: 48px;
}
.hero-compact h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  max-width: 22ch;
  margin-bottom: 12px;
}
.hero-compact .lede {
  font-size: 1.02rem;
  margin-bottom: 18px;
  max-width: 62ch;
}
.hero-compact .cta-row { margin-top: 2px; }
.hero-compact .cert-row { margin-top: 16px; margin-bottom: 4px; }
.hero-compact .stat-row { margin-top: 16px; }
.hero-compact .stat { padding: 14px 14px; }
.hero-compact .stat b { font-size: 1.6rem; }
.hero-compact .stat span { font-size: 0.7rem; }
.hero-compact .hero-subtext {
  font-size: 0.98rem;
  max-width: 60ch;
  color: var(--sand-200);
  margin-top: -6px;
  margin-bottom: 22px;
}
/* Fill the taller (100vh) hero without bunching everything at the top:
   copy block stays put, stat row drifts down to sit near the bottom. */
.hero-compact-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.hero-compact-wrap .stat-row { margin-top: auto; padding-top: 40px; }
@media (max-width: 900px) {
  .hero-compact .stat-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero-compact-wrap { height: auto; }
  .hero-compact-wrap .stat-row { margin-top: 24px; padding-top: 0; }
}


/* ============================================================
   HOMEPAGE CTA + FOOTER — continuous deep-ocean background
   Home keeps the ocean-depths photo (not the wave), but it must
   run seamlessly through both the closing CTA and the footer
   instead of stopping at a hard seam. Wrap both in:
   <div class="home-footer-wrapper"> ... </div>
   ============================================================ */

.home-footer-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: var(--teal-950);
  background-image:
    linear-gradient(180deg, rgba(14,31,28,0.55), rgba(14,31,28,0.72)),
    url('ocean-depths-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.home-footer-wrapper section.on-dark,
.home-footer-wrapper .site-footer {
  background: transparent !important;
  background-image: none !important;
}


/* ============================================================
   FIX — Homepage closing CTA ("Ready to Bring the Archipelago…")
   Guaranteed minimum height + vertical centering so the
   cover-image never looks cropped/cut-off on short content.
   Applied via class="on-dark cta-final" in index.html.
   ============================================================ */

section.cta-final {
  min-height: 380px;
  display: flex;
  align-items: center;
  background-position: center 40%;
}
@media (max-width: 600px) {
  section.cta-final { min-height: 300px; }
}

/* -------------------- Utility -------------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }

/* -------------------- Mid-page CTA banner -------------------- */
.cta-banner-strip {
  background: var(--coral-500);
  color: #ffffff;
  padding: 52px 0;
  text-align: center;
}
.cta-banner-strip .banner-msg {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  margin: 0 0 22px;
}
.cta-banner-strip .banner-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
  margin-top: 8px;
}
.btn-light { background: #ffffff; color: var(--coral-600); box-shadow: none; }
.btn-light:hover { background: var(--sand-100); }

/* -------------------- Footer (4-column layout) -------------------- */
.footer-grid-4 {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.3fr 1.3fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) { .footer-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid-4 { grid-template-columns: 1fr; } }
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--kelp-300);
  margin: 0 0 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.9rem; }
.site-footer .contact-detail { grid-template-columns: 1fr; gap: 2px; padding: 8px 0; border-color: rgba(255,255,255,0.15); }
.site-footer .contact-detail dt { color: var(--kelp-300); }
.site-footer .contact-detail dd { color: #ffffff; font-size: 0.9rem; }
.footer-divider { border: none; border-top: 1px solid var(--ocean-700); margin: 40px 0 20px; }
.footer-grid-4 + .footer-bottom,
.footer-bottom.center { margin-top: 0; padding-top: 0; border-top: none; }
