/* AAA International Seafood — shared styles */
/* Fonts load from <link> tags in each page head (faster than @import). */

:root {
  --green: #2e4a3c;
  --green-dark: #1f332a;
  --tuna: #c1392b;
  --sand: #b9964a;
  --ink: #12181a;
  --muted: #5c6259;
  --bg: #f6f1e7;
  --bg-alt: #eee6d3;
  --thumb-bg: #f1eadc;
  --border: #dcd2b8;
  --on-ink: #f3efe4;
  --on-ink-dim: #9ca69d;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  scroll-behavior: smooth;
}

h1, h2, h3,
.brand-text,
.section-title,
.category-block h2,
.contact-card h3,
.cta-strip h2 {
  font-family: 'Instrument Serif', Georgia, "Times New Roman", serif;
  font-weight: 400;
}

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

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 8px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 0 0 rgba(18,24,26,0);
  transition: box-shadow 0.25s ease;
}

header.site-header.scrolled {
  box-shadow: 0 4px 18px rgba(18,24,26,0.09);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex-shrink: 1;
}

.brand img {
  height: 56px;
  width: auto;
  flex-shrink: 0;
}

/* The business name wraps onto a second line in very narrow windows
   instead of being cut off with an ellipsis. */
.brand-text {
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 1.08rem;
  line-height: 1.15;
  min-width: 0;
  overflow-wrap: break-word;
}

.brand-text span {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

/* The menu always stays on one row. As the window narrows, the spacing and
   text tighten and the longer labels shorten ("Delivery Information" ->
   "Delivery"); in an extremely narrow window the row scrolls sideways on
   its own rather than wrapping. */
nav.site-nav {
  min-width: 0;
  max-width: 100%;
}

nav.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px 28px;
  /* padding keeps the active underline inside the scroll area; the
     negative margin cancels it out so the header height is unchanged */
  margin: -10px 0;
  padding: 10px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
nav.site-nav ul::-webkit-scrollbar { display: none; }

nav.site-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

nav.site-nav a:hover,
nav.site-nav a.active {
  color: var(--green);
  border-bottom-color: var(--green);
}

@media (max-width: 780px) {
  nav.site-nav ul { gap: 8px 18px; }
  nav.site-nav a { font-size: 0.88rem; }
}
@media (max-width: 640px) {
  header.site-header { padding-left: 16px; padding-right: 16px; }
  nav.site-nav .nav-long { display: none; }
  nav.site-nav ul { gap: 8px 16px; }
}
@media (max-width: 480px) {
  nav.site-nav ul { gap: 8px 12px; }
  nav.site-nav a { font-size: 0.8rem; }
}
@media (max-width: 430px) {
  header.site-header { padding-left: 12px; padding-right: 12px; }
  nav.site-nav ul { gap: 8px 9px; }
  nav.site-nav a { font-size: 0.74rem; padding-left: 1px; padding-right: 1px; }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
}

/* Touch-only phones and small tablets get the hamburger menu. The second
   query covers phones held sideways (wide but short), where the desktop
   nav would otherwise eat a big slice of the screen. */
@media (max-width: 820px) and (hover: none) and (pointer: coarse),
       (max-height: 500px) and (hover: none) and (pointer: coarse) {
  /* Grid keeps the logo/toggle locked to one row (the business name wraps
     under the logo if space is tight) while the nav gets its own full
     row below — a flex row would let the toggle get bumped down too. */
  header.site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand toggle" "nav nav";
    align-items: center;
    row-gap: 0;
    padding: 8px 16px;
  }
  .brand { grid-area: brand; min-width: 0; gap: 8px; }
  /* 44×44 minimum tap target (WCAG / Apple / Google guidance) */
  .nav-toggle {
    grid-area: toggle;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    margin-right: -8px;
    padding: 0;
    font-size: 1.3rem;
    color: var(--ink);
  }
  nav.site-nav {
    grid-area: nav;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  }
  /* Never taller than the screen below the logo row: on a phone held
     sideways the list scrolls inside the menu instead of running off the
     bottom where the last links couldn't be reached. */
  nav.site-nav.open {
    max-height: 400px;
    max-height: min(400px, calc(100vh - 64px));
    max-height: min(400px, calc(100dvh - 64px));
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 1;
  }
  nav.site-nav ul {
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--border);
    margin: 14px 0 0;
    padding: 0;
    overflow: visible;
  }
  nav.site-nav a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
  }
  /* The drop-down menu has room for the full labels. */
  nav.site-nav .nav-long { display: inline; }
  .brand img { height: 34px; }
  .brand-text { font-size: 0.82rem; line-height: 1.1; }
  .brand-text span { font-size: 0.6rem; letter-spacing: 0.4px; }
}

/* Phones held sideways: tighter menu rows so all six links fit. */
@media (max-height: 500px) and (hover: none) and (pointer: coarse) {
  nav.site-nav ul { margin-top: 8px; }
  nav.site-nav a { padding: 10px 4px; }
}

/* Tablets big enough for the full menu bar (touch, wider than 820px):
   taller link rows so each one is a comfortable 40px+ tap target. */
@media (min-width: 821px) and (min-height: 501px) and (hover: none) and (pointer: coarse) {
  nav.site-nav a { padding-top: 11px; padding-bottom: 11px; }
}

/* Very short mouse-driven windows: let the header scroll away instead of
   pinning a tall two-row header over a small viewport. */
@media (max-height: 500px) and (hover: hover) {
  header.site-header { position: relative; }
}

/* Hero */
.hero {
  position: relative;
  background: #111;
  color: #fff;
  overflow: hidden;
}

/* Still hero image — script.js scales it up as the hero scrolls out of
   view and back down as you scroll up (skipped for reduced motion). */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* the photo is cropped with the main loin dead centre; keep it there on
     every screen shape */
  object-position: 50% 50%;
  /* full-strength, slightly richer colour; the dark wash below keeps the
     white text readable */
  filter: saturate(1.35) contrast(1.06);
  display: block;
  z-index: 0;
  transform-origin: 50% 50%;
  will-change: transform;
  transition: transform 0.15s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg { transform: none !important; transition: none; }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(12, 16, 18, 0.62) 0%, rgba(12, 16, 18, 0.46) 45%, rgba(12, 16, 18, 0.6) 100%);
}
.hero-overlay h1, .hero-overlay p { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45); }

.hero-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 52px 24px 48px;
}

@media (max-width: 700px) and (hover: none) and (pointer: coarse) {
  .hero-overlay {
    padding: 32px 20px;
  }
}

.hero-overlay .eyebrow {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  color: var(--sand);
  margin: 0 0 14px;
}

.hero-overlay h1 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  margin: 0 0 14px;
  letter-spacing: 0.2px;
  line-height: 1.08;
}

.hero-overlay p {
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 0 22px;
  color: #eee;
}

.hero-stats {
  display: flex;
  gap: 22px;
  margin-top: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stats > div {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  border: 1.5px solid rgba(243, 239, 228, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;
}

.hero-stats .stat-num {
  display: block;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 1.85rem;
  font-variant-numeric: tabular-nums;
}

.hero-overlay .stat-num,
.stats-dark .stat-num { color: var(--on-ink); }

.hero-stats .stat-label {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 4px;
  max-width: 92px;
}

.hero-overlay .stat-label,
.stats-dark .stat-label { color: var(--on-ink-dim); }

@media (max-width: 700px) and (hover: none) and (pointer: coarse) {
  .hero-stats { gap: 14px; }
  .hero-stats > div { width: 92px; height: 92px; }
  .hero-stats .stat-num { font-size: 1.4rem; }
  .hero-stats .stat-label { font-size: 0.64rem; max-width: 80px; }
}

.btn {
  display: inline-block;
  background: var(--tuna);
  color: #fff;
  padding: 13px 28px;
  border-radius: 2px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  border: none;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.btn:hover {
  filter: brightness(0.92);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(179,64,44,0.25);
}

.btn:active { transform: translateY(0); box-shadow: none; }

.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  box-shadow: none;
}

.btn-outline:hover { background: #fff; color: var(--ink); filter: none; box-shadow: 0 10px 20px rgba(0,0,0,0.18); }

@media (prefers-reduced-motion: reduce) {
  .btn { transition: filter 0.2s ease; }
  .btn:hover { transform: none; }
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 22px;
}

/* Trust strip */
.trust-strip {
  background: var(--green-dark);
  color: #eef2ea;
  padding: 26px 0;
}

.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* When a page only has two trust items, keep them centered instead of
   leaving an empty third column on wide screens. */
.trust-strip .container:has(.trust-item:nth-child(2):last-child) {
  grid-template-columns: repeat(2, 1fr);
  max-width: 640px;
  margin: 0 auto;
}

@media (max-width: 700px) and (hover: none) and (pointer: coarse) {
  .trust-strip { padding: 16px 0; }
  .trust-strip .container,
  .trust-strip .container:has(.trust-item:nth-child(2):last-child) {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* A page with a single trust item (Wholesale) centres it. */
.trust-strip .container:has(.trust-item:only-child) {
  grid-template-columns: minmax(0, max-content);
  justify-content: center;
}

/* Layout safety for any narrow window (not touch-gated): the items can't
   sit side by side this narrow, so stack them rather than run off the edge.
   The :has() variant is listed so it doesn't outrank this rule. */
@media (max-width: 560px) {
  .trust-strip .container,
  .trust-strip .container:has(.trust-item:nth-child(2):last-child) {
    grid-template-columns: 1fr;
  }
}

.trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.trust-item .mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  color: var(--sand);
  font-size: 1rem;
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-size: 0.92rem;
}

.trust-item p {
  margin: 3px 0 0;
  font-size: 0.82rem;
  color: #cddccb;
  line-height: 1.4;
}

@media (max-width: 700px) and (hover: none) and (pointer: coarse) {
  .trust-item .mark {
    width: 26px;
    height: 26px;
    font-size: 0.75rem;
    border-width: 1px;
  }
  .trust-item strong { font-size: 0.82rem; }
  .trust-item p {
    margin-top: 1px;
    font-size: 0.72rem;
    line-height: 1.25;
  }
}

/* 404 page */
.not-found { padding: 56px 0; }
.not-found-eyebrow {
  text-align: center;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 3.4rem;
  color: var(--tuna);
  margin: 0 0 4px;
}

/* Sections */
section { padding: 44px 0; }
section.alt { background: var(--bg-alt); }

section.stats-dark { background: var(--ink); }
section.stats-dark .section-title { color: var(--on-ink); }
section.stats-dark .section-sub { color: var(--on-ink-dim); }

@media (max-width: 700px) and (hover: none) and (pointer: coarse) {
  section { padding: 28px 0; }
}

.section-title {
  text-align: center;
  margin-top: 0;
  margin-bottom: 8px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 36px;
}

@media (max-width: 700px) and (hover: none) and (pointer: coarse) {
  .section-sub { margin-bottom: 22px; }
}

/* Phones: tighter category headers and stacked columns. */
@media (max-width: 700px) and (hover: none) and (pointer: coarse) {
  .category-header { padding-bottom: 10px; margin-bottom: 16px; }
  .not-found { padding: 36px 0; }
}
@media (max-width: 640px) {
  .contact-wrap { gap: 20px; }
}

/* About page "Our Story" / "What We Do": two equal columns, centered. */
.about-story .contact-wrap {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
@media (max-width: 780px) and (hover: none) and (pointer: coarse) {
  .about-story .contact-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .about-story .contact-wrap { grid-template-columns: 1fr; }
}

/* Homepage "About Us" teaser: a compact band rather than a full section. */
section.about-teaser { padding: 34px 0; }
.about-teaser .section-title { margin-top: 0; }
.about-teaser .section-sub { margin-bottom: 18px; }
.about-teaser p:last-child { margin: 0; }
@media (max-width: 700px) and (hover: none) and (pointer: coarse) {
  section.about-teaser { padding: 24px 0; }
  .about-teaser .section-sub { margin-bottom: 14px; }
}

/* Inner pages (About, Products, Wholesale, Delivery, Contact): the page
   title sits close to the menu, with a short gap before what follows. */
header.site-header + section:not(.not-found) { padding-top: 14px; }
header.site-header + section:not(.not-found) h1.section-title { margin-top: 0; }
header.site-header + section:not(.not-found) .section-sub { margin-bottom: 22px; }
@media (max-width: 700px) and (hover: none) and (pointer: coarse) {
  header.site-header + section:not(.not-found) { padding-top: 12px; }
  header.site-header + section:not(.not-found) .section-sub { margin-bottom: 16px; }
}

/* Title bands (About, Products, Wholesale): just the title and one line,
   with even space above and below. */
header.site-header + section.page-intro { padding: 12px 0 24px; }
.page-intro .section-title { margin-bottom: 6px; }
header.site-header + section.page-intro .section-sub { margin-bottom: 0; }
.page-intro .pallet-note { margin-top: 14px; }
@media (max-width: 700px) and (hover: none) and (pointer: coarse) {
  header.site-header + section.page-intro { padding: 10px 0 18px; }
  .page-intro .pallet-note { margin-top: 12px; }
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 22px;
}

/* Homepage featured grid: three across on wide screens so its six items
   make two even rows instead of four plus two. */
@media (min-width: 900px) {
  .product-grid--featured { grid-template-columns: repeat(3, 1fr); }
}
/* Phones and narrow windows: two across (three even rows) like the
   Products page, instead of one long single column. */
@media (max-width: 719px) {
  .product-grid--featured { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .product-grid--featured .product-card .label { font-size: 0.85rem; padding: 10px 12px; }
}

.product-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.product-card:hover {
  box-shadow: 0 16px 30px rgba(18,24,26,0.16);
  transform: translateY(-4px);
  border-color: var(--tuna);
}

.product-card .thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--thumb-bg);
  position: relative;
}

.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .thumb img {
  transform: scale(1.06);
}

.product-card .thumb.placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px;
  color: var(--muted);
  text-align: center;
}

.product-card .thumb.placeholder svg {
  width: 34px;
  height: 34px;
  opacity: 0.5;
}

.product-card .thumb.placeholder span {
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.product-card .label {
  padding: 12px 14px;
  font-weight: 600;
  font-size: 0.92rem;
}

.category-block { margin-bottom: 60px; }
.category-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
  margin-bottom: 22px;
}
.category-block h2 {
  font-size: 1.55rem;
  font-style: italic;
  margin: 0;
}
.category-header .category-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

/* Delivery map: real county lines, coastline and main freeways, with
   the delivery areas pinned. */
.service-map {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 10px;
}

.service-map svg {
  width: 100%;
  height: auto;
  display: block;
}

.map-sea { fill: #dce6e5; }
.map-land { fill: #f6f1e7; }
.map-land-other { fill: #ebe5d5; }
.map-counties path { fill: none; stroke: #d1c6a7; stroke-width: 1; stroke-dasharray: 4 3; }
.map-coast { fill: none; stroke: #b3c6c5; stroke-width: 1.3; }
.map-roads path {
  fill: none;
  stroke: #d9b36a;
  stroke-width: 2.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.map-county {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1.6px;
  fill: #aea383;
  text-anchor: middle;
}
.map-sea-label {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 18px;
  letter-spacing: 1px;
  fill: #8aa3a2;
  text-anchor: middle;
}
.map-town { fill: #8f8b7c; }
.map-town-label {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 11px;
  fill: #6c695e;
  paint-order: stroke;
  stroke: #f6f1e7;
  stroke-width: 3px;
}
.map-shield rect { stroke-width: 1.2; }
.map-shield.i rect { fill: #2f5597; stroke: #fff; }
.map-shield.us rect { fill: #fff; stroke: #333; }
.map-shield.ca rect { fill: #2e6b3f; stroke: #fff; }
.map-shield text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 10px;
  text-anchor: middle;
  dominant-baseline: central;
  fill: #fff;
}
.map-shield.us text { fill: #222; }

.map-pin circle { fill: var(--green); stroke: #f6f1e7; stroke-width: 2.5; }
.map-pin.hq circle { fill: var(--tuna); }
.map-pin text {
  font-size: 15px;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  fill: var(--ink);
  paint-order: stroke;
  stroke: #f6f1e7;
  stroke-width: 4px;
}
.map-pin.hq text.hq-label { fill: var(--tuna); font-size: 14px; }

/* Narrow windows: the map shrinks to fit, and numbered markers plus a
   legend replace the text labels (which would be too small to read). */
.map-num,
.map-legend { display: none; }

.map-num circle { fill: var(--green); stroke: #f6f1e7; stroke-width: 4; }
.map-num .hq circle { fill: var(--tuna); }
.map-num text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 27px;
  fill: #fff;
  text-anchor: middle;
  dominant-baseline: central;
}
.map-num .hq text { font-size: 21px; }

.map-legend {
  list-style: none;
  max-width: 900px;
  margin: 16px auto 0;
  padding: 0;
  gap: 10px 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.map-legend li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  line-height: 1.3;
}
.map-legend-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
}
.map-legend .hq .map-legend-num { background: var(--tuna); font-size: 0.62rem; }

@media (max-width: 640px) {
  .service-map { padding: 4px; }
  .map-pin text,
  .map-detail { display: none; }
  .map-num { display: inline; }
  .map-legend { display: grid; }
}

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}

.contact-wrap > * { min-width: 0; }
/* About page text columns: no trailing paragraph margin, so stacked
   columns sit one even gap apart on phones. */
.contact-wrap > div > p:last-child { margin-bottom: 0; }

@media (max-width: 780px) and (hover: none) and (pointer: coarse) {
  .contact-wrap { grid-template-columns: 1fr; }
}

/* Layout safety for any narrow window: two columns would squeeze the form
   and text past the edge, so stack them. */
@media (max-width: 640px) {
  .contact-wrap { grid-template-columns: 1fr; }
}

.contact-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 18px 22px 8px;
}

.contact-card h3 {
  margin: 0 0 6px;
  font-style: italic;
  color: var(--tuna);
}

.contact-line {
  margin: 0 0 10px;
  font-size: 0.95rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.contact-line strong { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); margin-bottom: 1px; }

.form-embed {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 28px;
}

.form-embed iframe {
  width: 100%;
  min-height: 720px;
  border: none;
}

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 2px;
  padding: 12px 13px;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--tuna);
  outline: none;
}
.field textarea { resize: vertical; font-family: inherit; }
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235c6259' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px; }
/* Two fields per row when there's room; one per row when the form column
   gets narrow, in any window. */
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  align-items: end; /* if a label ever wraps, the boxes still line up */
  column-gap: 20px;
  row-gap: 0; /* each .field already carries 20px below it, so stacked fields stay evenly spaced */
}
@media (max-width: 480px) and (hover: none) and (pointer: coarse) {
  .form-row { grid-template-columns: 1fr; }
}
.field select:invalid { color: var(--muted); }
.field select option { color: var(--ink); }
.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: -6px;
}
.form-note.success { color: var(--green); font-weight: 600; }
.form-note.error { color: var(--tuna); font-weight: 600; }

/* Footer: one compact band with the essentials and a link to the
   Contact page for everything else. */
footer.site-footer {
  background: var(--ink);
  color: var(--on-ink-dim);
  padding: 22px 0 14px;
  margin-top: 0;
}

footer.site-footer .footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
}

footer.site-footer .footer-info { min-width: 0; }

footer.site-footer .footer-name {
  margin: 0 0 4px;
  font-weight: 700;
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  color: var(--on-ink);
}

footer.site-footer .footer-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  row-gap: 2px;
  font-size: 0.86rem;
  line-height: 1.5;
}
footer.site-footer .footer-facts li { white-space: nowrap; }
footer.site-footer .footer-facts li + li::before {
  content: "\00B7";
  margin: 0 10px;
  color: rgba(243,239,228,0.35);
}

footer.site-footer a { color: var(--on-ink-dim); }
footer.site-footer a:hover { color: var(--on-ink); }

footer.site-footer .footer-cta {
  color: var(--on-ink);
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(243,239,228,0.35);
}
footer.site-footer .footer-cta:hover { border-bottom-color: var(--on-ink); }

footer.site-footer .fine-print {
  margin: 14px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(243,239,228,0.14);
  font-size: 0.76rem;
  color: var(--on-ink-dim);
  text-align: center;
}

/* Touch screens: a finger-sized tap area around the Contact Us link. */
@media (hover: none) and (pointer: coarse) {
  footer.site-footer .footer-cta { display: inline-block; padding: 13px 0 11px; }
}

/* Narrow screens: one fact per line (no separator dots). */
@media (max-width: 640px) {
  footer.site-footer .footer-facts { flex-direction: column; row-gap: 0; }
  footer.site-footer .footer-facts li { white-space: normal; overflow-wrap: anywhere; }
  footer.site-footer .footer-facts li + li::before { content: none; }
}

/* Wholesale by the pallet (homepage band + products note) */
.pallet-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pallet-icon {
  display: block;
  width: 64px;
  height: 48px;
  color: var(--green);
  margin-bottom: 8px;
}

.pallet-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--tuna);
  margin-bottom: 4px;
}

.pallet-wrap h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  text-wrap: balance;
}

.pallet-wrap p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  max-width: 520px;
  text-wrap: balance;
}

.pallet-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

/* Outline button for light backgrounds */
.btn-line {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
  padding: 11px 26px;
}
.btn-line:hover { background: var(--green); color: #fff; filter: none; box-shadow: 0 10px 20px rgba(46,74,60,0.22); }

.pallet-note {
  max-width: 640px;
  margin: -14px auto 0;
  padding: 12px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}
.pallet-note strong { color: var(--ink); }
.pallet-note a {
  color: var(--tuna);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

@media (max-width: 700px) and (hover: none) and (pointer: coarse) {
  .pallet-note { margin-top: -6px; font-size: 0.85rem; padding: 10px 14px; }
  .pallet-ctas { width: 100%; }
  .pallet-ctas .btn { flex: 1 1 auto; text-align: center; }
}

/* Wholesale page: one centered pitch for larger orders, built from the
   pallet band's pieces (icon, eyebrow, heading, button). */
section.volume-section { padding: 34px 0 40px; }
.volume-section .btn { text-wrap: balance; }
.pallet-wrap p.volume-copy {
  max-width: 640px;
  font-size: 1.02rem;
  line-height: 1.65;
  text-wrap: pretty;
}
.pallet-wrap p.volume-note {
  max-width: 560px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
}
.volume-note strong { color: var(--ink); }
.volume-note a {
  color: var(--tuna);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
@media (max-width: 700px) and (hover: none) and (pointer: coarse) {
  section.volume-section { padding: 26px 0 30px; }
  .pallet-wrap p.volume-copy { font-size: 0.96rem; }
}

/* Products page: four across (two on narrow screens) so each category's
   first four products make one tidy row before its "Show all" button. */
.category-block .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 719px) {
  .category-block .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .category-block .product-card .label { font-size: 0.85rem; padding: 10px 12px; }
}

.category-block.is-collapsed .product-grid > .product-card:nth-child(n+5) {
  display: none;
}

.show-all-wrap {
  text-align: center;
  margin-top: 20px;
}

/* Products catalog: tighter spacing between categories, and no extra
   gap stacked under the last one before the red contact bar. */
section.catalog { padding-top: 30px; padding-bottom: 44px; }
.catalog .category-block { margin-bottom: 44px; }
.catalog .category-block:last-child { margin-bottom: 0; }
@media (max-width: 700px) and (hover: none) and (pointer: coarse) {
  section.catalog { padding-top: 24px; padding-bottom: 32px; }
  .catalog .category-block { margin-bottom: 32px; }
}

/* Products: note under the catalog that the list isn't everything. */
.more-products {
  max-width: 640px;
  margin: 0 auto; /* spacing comes from the category above it */
  padding: 16px 20px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 2px;
  text-align: center;
}
.more-products p { margin: 0; color: var(--muted); line-height: 1.55; text-wrap: balance; }
.more-products strong { color: var(--ink); }
.more-products a { color: var(--tuna); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 700px) and (hover: none) and (pointer: coarse) {
  .more-products { padding: 14px 16px; font-size: 0.95rem; }
}

/* Links like /products#fresh-products land below the sticky header. */
.category-block { scroll-margin-top: 140px; }

/* Contact CTA bar */
.cta-strip {
  background: var(--tuna);
  color: #fff;
  /* side spacing comes from .container, so the text lines up with the
     page content above instead of being indented twice */
  padding: 16px 0;
}

/* The text takes the free space and wraps onto a second line before the
   button has to drop below it. */
.cta-strip .container > div { flex: 1 1 260px; min-width: 0; }

.cta-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  text-align: left;
}

.cta-strip h2 {
  margin: 0;
  font-size: 1.15rem;
}

.cta-strip p {
  margin: 2px 0 0;
  color: #fbe3dd;
  font-size: 0.86rem;
}

.cta-strip .btn-outline {
  border-color: #fff;
  color: #fff;
  flex-shrink: 0;
}

.cta-strip .btn-outline:hover { background: #fff; color: var(--tuna); }

@media (max-width: 600px) and (hover: none) and (pointer: coarse) {
  .cta-strip {
    padding: 8px 0;
  }
  .cta-strip .container {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }
  .cta-strip .container > div { flex-basis: auto; }
  .cta-strip h2 { font-size: 0.82rem; line-height: 1.15; }
  .cta-strip p { display: none; }
  .cta-strip .btn-outline { padding: 11px 16px; font-size: 0.8rem; }
}


/* Scroll-reveal for section entrances */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Keyboard focus */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Products page: links to the product detail pages */
.product-guides { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 8px 18px; margin: 0 auto 22px; font-size: 0.95rem; }
.product-guides span { color: var(--muted); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; }
.product-guides a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Product detail pages (e.g. /bluefin-tuna) */
.crumbs { text-align: center; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.crumbs a { color: var(--green); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
section.prod-page { padding-top: 34px; }
.prod-wrap { max-width: 1000px; }
.prod-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 36px; align-items: center; margin-bottom: 48px; }
.prod-photo img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border: 1px solid var(--border); border-radius: 2px; }
.prod-copy h2 { margin: 0 0 10px; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.prod-copy p { margin: 0 0 18px; color: var(--muted); line-height: 1.65; }
.prod-facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.prod-facts li { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.prod-facts strong { font-size: 0.72rem; letter-spacing: 0.6px; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.prod-sub h2 { font-size: 1.55rem; font-style: italic; margin: 0; }
.prod-lead { color: var(--muted); margin: -8px 0 20px; }
.prod-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.prod-grid > .product-card { flex: 0 0 calc((100% - 44px) / 3); min-width: 0; }
.prod-grid .label span { display: block; margin-top: 3px; font-weight: 400; font-size: 0.82rem; color: var(--muted); }
.prod-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border); }
.prod-how h3 { margin: 0 0 6px; font-size: 1.3rem; color: var(--green); }
.prod-how p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 0.95rem; }
.prod-how a { color: var(--tuna); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.prod-feature.no-photo { grid-template-columns: 1fr; max-width: 680px; margin-left: auto; margin-right: auto; padding: 28px 32px; background: var(--bg-alt); border: 1px solid var(--border); border-left: 4px solid var(--tuna); border-radius: 2px; }
.prod-feature--flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.prod-feature--flip .prod-photo { order: 2; }
.prod-intro { max-width: 680px; margin: 0 auto 36px; text-align: center; color: var(--muted); line-height: 1.65; font-size: 1.05rem; }
.prod-grid--four { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.prod-grid--four .product-card { flex: 0 0 calc((100% - 66px) / 4); min-width: 0; }
.prod-also { margin-top: 32px; text-align: center; color: var(--muted); }
.prod-also p { margin: 0; }
.prod-also a, .prod-related a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prod-related { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 8px 18px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 0.95rem; }
.prod-related span { color: var(--muted); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; }
@media (max-width: 900px) {
  .prod-grid--four .product-card { flex-basis: calc((100% - 44px) / 3); }
}
@media (max-width: 760px) {
  .prod-feature { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
  .prod-feature.no-photo { padding: 22px 20px; }
  .prod-feature--flip .prod-photo { order: 0; }
  .prod-grid--four { gap: 14px; }
  .prod-intro { margin-bottom: 28px; font-size: 1rem; }
  .prod-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
  .prod-grid .product-card { flex: 0 0 calc((100% - 14px) / 2); min-width: 0; }
  .prod-how { grid-template-columns: 1fr; gap: 18px; margin-top: 36px; }
}
@media (max-width: 480px) {
  .prod-facts li { grid-template-columns: 1fr; gap: 2px; }
}
