/* ==========================================================================
   Pacific Blue Seafood — site stylesheet
   Palette: deep navy / brand blue (#1763BF, kept from existing brand)
   Accent: crab-shell red for calls to action
   Type:  Archivo (display) · IBM Plex Sans (body) · IBM Plex Mono (spec data)
   ========================================================================== */

:root {
  /* Colors sampled directly from the Pacific Blue can-label artwork */
  --navy: #202c54;
  --navy-deep: #141a38;
  --teal: #4ba687;         /* raw label teal — decorative fills, badges (pair with navy text) */
  --brand: #226b52;        /* deepened teal — accessible for links, hover states, labels */
  --brand-soft: #e7f3ee;   /* pale teal tint — hover backgrounds, soft fills */
  --sky: #98caeb;          /* raw label sky blue — decorative only, low contrast */
  --shell: #ce112d;        /* label crab red — primary CTA / accent */
  --shell-dark: #a10f24;
  --paper: #f5f8fa;
  --white: #ffffff;
  --ink: #1c2438;
  --mute: #57687a;
  --line: #d8e1e8;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(20, 26, 56, 0.12);
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: "IBM Plex Sans", -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16.5px;
}

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

a { color: var(--brand); }

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

/* ---------- Type roles ---------- */

h1, h2, h3, .display {
  font-family: "Roboto Slab", "IBM Plex Sans", serif;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--navy);
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); text-transform: uppercase; }
h3 { font-size: 1.15rem; }

.eyebrow {
  font-family: "Oswald", "IBM Plex Sans", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shell);
  display: block;
  margin-bottom: 0.9rem;
}
/* On navy backgrounds, red fails contrast — use the label's sky blue instead */
.hero .eyebrow, .page-hero .eyebrow, .private-label .eyebrow {
  color: var(--sky);
}

.mono { font-family: "IBM Plex Mono", monospace; }

.lead { font-size: 1.15rem; color: var(--mute); max-width: 60ch; }

/* ---------- Utility bar ---------- */

.utility {
  background: var(--navy-deep);
  color: #bcd2e6;
  font-size: 0.82rem;
  font-family: "IBM Plex Mono", monospace;
}
.utility .wrap {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 38px; gap: 16px; flex-wrap: wrap; padding-top: 4px; padding-bottom: 4px;
}
.utility a { color: #ffffff; text-decoration: none; }
.utility a:hover { text-decoration: underline; }
.utility .contacts { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- Header / nav ---------- */

header.site {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 24px;
}

.brand { text-decoration: none; display: flex; align-items: center; gap: 11px; }
.brand .emblem { height: 36px; width: auto; flex-shrink: 0; }
.brand .wordwrap { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.brand .word {
  font-family: "Roboto Slab", serif; font-weight: 800; text-transform: uppercase;
  color: var(--navy); font-size: 1.18rem; letter-spacing: 0.01em; line-height: 1;
}
.brand .word span { color: var(--shell); }
.brand .est {
  font-family: "Oswald", sans-serif; font-weight: 500; font-size: 0.66rem; color: var(--mute);
  letter-spacing: 0.13em; text-transform: uppercase;
}

nav.main { display: flex; align-items: center; gap: 26px; }
nav.main a {
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.95rem;
}
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--brand); }

.menu-group { position: relative; }
.menu-group > button {
  background: none; border: none; font: inherit; font-weight: 500;
  color: var(--ink); cursor: pointer; display: flex; align-items: center; gap: 6px;
  font-size: 0.95rem; padding: 6px 0;
}
.menu-group > button::after { content: "▾"; font-size: 0.7em; color: var(--mute); }
.menu-group .dropdown {
  position: absolute; top: calc(100% + 8px); left: -12px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px; min-width: 250px; display: none;
}
.menu-group:hover .dropdown,
.menu-group:focus-within .dropdown { display: block; }
.menu-group .dropdown a {
  display: block; padding: 10px 14px; border-radius: 6px;
}
.menu-group .dropdown a:hover { background: var(--brand-soft); }

.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  border-radius: 8px; padding: 12px 22px; font-size: 0.95rem;
  transition: background 0.15s ease, transform 0.15s ease;
  border: none; cursor: pointer; font-family: inherit;
}
.btn-primary { background: var(--shell); color: #fff; }
.btn-primary:hover { background: var(--shell-dark); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.55); }
.btn-ghost:hover { border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 12px; cursor: pointer; font-family: "IBM Plex Mono", monospace; font-size: 0.8rem;
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(75, 166, 135, 0.30), transparent 60%),
    linear-gradient(170deg, var(--navy) 0%, var(--navy-deep) 90%);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.hero .waves {
  position: absolute; inset: 0; opacity: 0.22; pointer-events: none;
}
.hero .wrap { position: relative; padding-top: 84px; padding-bottom: 104px; }
.hero .wave-divider {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 42px;
  display: block; line-height: 0;
}
.hero .wave-divider svg { width: 100%; height: 100%; display: block; }
@media (max-width: 700px) { .hero .wave-divider { height: 26px; } }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lead { color: #c8d9ea; margin: 1.4rem 0 2rem; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 2.4rem; }
.chip {
  font-family: "IBM Plex Mono", monospace; font-size: 0.75rem; letter-spacing: 0.06em;
  border: 1px solid rgba(255,255,255,0.35); color: #dce9f5;
  padding: 7px 13px; border-radius: 999px;
}

/* Page hero (interior pages) */
.page-hero { background: var(--navy); color: #fff; }
.page-hero .wrap { padding-top: 56px; padding-bottom: 56px; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #c8d9ea; margin-top: 0.9rem; }

/* Optional lead photo, used on pages that have a strong product shot */
.page-hero .hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; align-items: center; }
.hero-photo-frame {
  border-radius: 12px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  aspect-ratio: 4 / 3;
}
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) {
  .page-hero .hero-grid { grid-template-columns: 1fr; }
  .hero-photo-frame { max-width: 420px; margin: 0 auto; }
}

/* ---------- Sections ---------- */

section.block { padding: 76px 0; }
section.block.alt { background: var(--paper); }
.section-head { margin-bottom: 2.6rem; max-width: 62ch; }
.section-head p { color: var(--mute); margin-top: 0.8rem; }

/* ---------- Product line cards (homepage) ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.flagship {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow);
}
.flagship .kicker {
  font-family: "Oswald", sans-serif; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--brand);
}
.flagship h3 { font-size: 1.9rem; }
.flagship p { color: var(--mute); font-size: 1.03rem; max-width: 62ch; }
.flagship .btn { align-self: flex-start; margin-top: 8px; }

.line-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.line-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.line-card .kicker {
  font-family: "Oswald", sans-serif; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--brand);
}
.line-card p { color: var(--mute); font-size: 0.95rem; flex-grow: 1; }
.line-card a { font-weight: 600; text-decoration: none; }
.line-card a:hover { text-decoration: underline; }

/* ---------- Grade scale (signature element) ---------- */

.grade-scale { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grade-scale .rail {
  display: grid; grid-template-columns: repeat(7, 1fr);
}
.grade-scale .stop {
  padding: 22px 14px 26px; border-left: 1px solid var(--line); position: relative;
}
.grade-scale .stop:first-child { border-left: none; }
.grade-scale .stop::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--navy));
}
.grade-scale .g-name {
  font-family: "Archivo", sans-serif; font-weight: 800; text-transform: uppercase;
  font-size: 0.86rem; color: var(--navy); letter-spacing: 0.02em;
}
.grade-scale .g-count {
  font-family: "IBM Plex Mono", monospace; font-size: 0.78rem; color: var(--shell);
  display: block; margin-top: 4px;
}
.grade-scale .g-note { font-size: 0.78rem; color: var(--mute); display: block; margin-top: 2px; }
.grade-scale .scale-caption {
  font-family: "IBM Plex Mono", monospace; font-size: 0.75rem; color: var(--mute);
  padding: 12px 0 0; letter-spacing: 0.08em;
}

/* ---------- Spec / grade-ticket product cards ---------- */

.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.ticket {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.ticket .ticket-head {
  background: var(--navy); color: #fff; padding: 16px 20px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
}
.ticket .ticket-head h3 {
  color: #fff; text-transform: uppercase; font-size: 1rem; letter-spacing: 0.03em;
}
.ticket .format {
  font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; white-space: nowrap;
  background: rgba(255,255,255,0.14); padding: 4px 9px; border-radius: 4px;
}
.ticket .ticket-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.ticket .spec-row {
  display: flex; justify-content: space-between; gap: 12px;
  font-family: "IBM Plex Mono", monospace; font-size: 0.82rem;
  border-bottom: 1px dashed var(--line); padding-bottom: 10px;
}
.ticket .spec-row .k { color: var(--mute); }
.ticket .spec-row .v { color: var(--shell); font-weight: 600; text-align: right; }
.ticket .species { font-style: italic; color: var(--mute); font-size: 0.85rem; }
.ticket p.desc { color: var(--ink); font-size: 0.94rem; }

.photo-slot {
  aspect-ratio: 4 / 3; background: var(--brand-soft); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand); font-family: "IBM Plex Mono", monospace; font-size: 0.72rem;
  letter-spacing: 0.1em; text-align: center; padding: 12px;
}
.photo-slot img { width: 100%; height: 100%; object-fit: cover; }

/* Two-photo variant: product/package shot + meat close-up, side by side */
.photo-pair {
  display: flex; gap: 2px; border-bottom: 1px solid var(--line);
  background: var(--line);
}
.photo-half {
  flex: 1; aspect-ratio: 3 / 4; background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.photo-half img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-half .ph-label {
  color: var(--brand); font-family: "IBM Plex Mono", monospace; font-size: 0.66rem;
  letter-spacing: 0.08em; text-align: center; padding: 8px; text-transform: uppercase;
}

.banner-soon {
  background: var(--brand-soft); border: 1px solid #c6dbf2; border-radius: var(--radius);
  padding: 16px 20px; margin-bottom: 2.2rem;
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
}
.banner-soon .tag {
  font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; letter-spacing: 0.14em;
  background: var(--brand); color: #fff; padding: 5px 10px; border-radius: 4px;
  text-transform: uppercase; white-space: nowrap;
}

/* ---------- Private label band ---------- */

.private-label {
  background:
    radial-gradient(900px 400px at 10% 120%, rgba(206, 17, 45, 0.32), transparent 60%),
    var(--navy);
  color: #fff;
}
.private-label .wrap { padding: 76px 24px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.private-label h2 { color: #fff; }
.private-label p { color: #c8d9ea; margin-top: 1rem; max-width: 55ch; }
.private-label .points { list-style: none; margin-top: 1.4rem; display: grid; gap: 10px; }
.private-label .points li {
  padding-left: 26px; position: relative; color: #dce9f5; font-size: 0.97rem;
}
.private-label .points li::before {
  content: "→"; position: absolute; left: 0; color: var(--sky); font-family: "IBM Plex Mono", monospace;
}
.private-label .side { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.label-card {
  background: #fff; border-radius: 12px; padding: 12px 12px 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  transform: rotate(-3deg); max-width: 280px;
}
.label-card img { border-radius: 6px; display: block; }
.label-card .cap {
  font-family: "Oswald", sans-serif; font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--mute); text-align: center; margin-top: 8px;
}

/* ---------- Trust / why us ---------- */

.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.trust {
  border-top: 3px solid var(--brand); background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius); border-left: 1px solid var(--line);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 26px;
}
.trust .mono-stat {
  font-family: "IBM Plex Mono", monospace; color: var(--shell); font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.trust h3 { margin: 8px 0 8px; }
.trust p { color: var(--mute); font-size: 0.95rem; }

/* ---------- CTA band ---------- */

.cta-band { background: var(--paper); border-top: 1px solid var(--line); }
.cta-band .wrap {
  padding: 64px 24px; display: flex; justify-content: space-between; align-items: center;
  gap: 28px; flex-wrap: wrap;
}
.cta-band h2 { max-width: 22ch; }
.cta-band .sub { color: var(--mute); margin-top: 0.6rem; }

/* ---------- Story page ---------- */

.story-cols { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.story-cols .big-year {
  font-family: "Archivo", sans-serif; font-weight: 800; font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--brand-soft); -webkit-text-stroke: 2px var(--brand); line-height: 1;
}
.story-cols p + p { margin-top: 1.1rem; }

.fact-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fact-list .fact {
  display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px;
  border-bottom: 1px solid var(--line); font-size: 0.92rem;
}
.fact-list .fact:last-child { border-bottom: none; }
.fact-list .fact .k { font-family: "IBM Plex Mono", monospace; color: var(--mute); font-size: 0.8rem; }
.fact-list .fact .v { font-weight: 600; text-align: right; color: var(--navy); }

/* ---------- Certifications ---------- */

.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cert-grid.single { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
.cert {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  background: var(--white);
}
.cert .since {
  font-family: "IBM Plex Mono", monospace; color: var(--shell); font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.cert h3 { font-size: 1.35rem; margin: 8px 0 12px; }
.cert p { color: var(--mute); font-size: 0.96rem; }
.cert .badge-slot {
  height: 168px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
}
.cert .badge-slot img { max-height: 90px; width: auto; }
.cert .badge-slot svg { height: 100%; width: auto; }

/* ---------- Contact / quote form ---------- */

.contact-cols { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }

.contact-info .item { margin-bottom: 1.6rem; }
.contact-info .k {
  font-family: "IBM Plex Mono", monospace; font-size: 0.74rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--mute); display: block; margin-bottom: 4px;
}
.contact-info .v { font-size: 1.05rem; font-weight: 600; color: var(--navy); }
.contact-info a { text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }

form.quote { display: grid; gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
form.quote .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
form.quote label {
  display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--navy);
}
form.quote label .req { color: var(--shell); }
form.quote input, form.quote select, form.quote textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; font-size: 0.95rem; background: var(--paper); color: var(--ink);
}
form.quote input:focus, form.quote select:focus, form.quote textarea:focus {
  outline: 2px solid var(--brand); outline-offset: 1px; background: #fff;
}
form.quote textarea { min-height: 130px; resize: vertical; }
form.quote .hint { font-size: 0.8rem; color: var(--mute); }

/* ---------- Footer ---------- */

footer.site {
  background: var(--navy-deep); color: #b7c9da; font-size: 0.9rem;
}
footer.site .wave-top { display: block; line-height: 0; height: 20px; }
footer.site .wave-top svg { width: 100%; height: 100%; display: block; }
footer.site .wrap { padding: 56px 24px 40px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
footer.site h4 {
  font-family: "Oswald", sans-serif; font-size: 0.76rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: #7f9ab3; margin-bottom: 14px; font-weight: 500;
}
footer.site a { color: #dce9f5; text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
footer.site ul { list-style: none; display: grid; gap: 9px; }
footer.site .brandline {
  font-family: "Roboto Slab", serif; font-weight: 800; text-transform: uppercase;
  color: #fff; font-size: 1.1rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px;
}
footer.site .brandline img { height: 28px; width: auto; }
footer.site .legal {
  border-top: 1px solid rgba(255,255,255,0.12); margin-top: 8px;
}
footer.site .legal .wrap {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 18px 24px; font-size: 0.78rem; color: #7f9ab3;
  font-family: "IBM Plex Mono", monospace;
}

/* ---------- Focus visibility ---------- */

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--shell); outline-offset: 2px; border-radius: 4px;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .grid-3, .grid-cards, .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .grade-scale .rail { grid-template-columns: repeat(4, 1fr); }
  .grade-scale .stop:nth-child(n+5) { border-top: 1px solid var(--line); }
  .private-label .wrap, .story-cols, .contact-cols, .cert-grid { grid-template-columns: 1fr; }
  footer.site .wrap { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  nav.main {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 12px 24px 20px; gap: 4px;
    box-shadow: var(--shadow);
  }
  nav.main.open { display: flex; }
  nav.main a, .menu-group > button { padding: 12px 0; width: 100%; text-align: left; }
  .menu-group .dropdown {
    position: static; display: block; border: none; box-shadow: none; padding: 0 0 0 16px; min-width: 0;
  }
  .nav-toggle { display: block; }
  .grid-3, .grid-cards, .grid-2, .trust-grid { grid-template-columns: 1fr; }
  .grade-scale .rail { grid-template-columns: repeat(2, 1fr); }
  .grade-scale .stop:nth-child(n+3) { border-top: 1px solid var(--line); }
  form.quote .row { grid-template-columns: 1fr; }
  footer.site .wrap { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 60px; padding-bottom: 60px; }
}
