/* Mader Foods — wholesale seafood
   Colors locked: maize #FFCB05, navy #00274C, white, warm paper.
   No Michigan trademarks. */

:root {
  --navy: #00274C;
  --navy-ink: #001a33;
  --navy-soft: #0a3a66;
  --maize: #FFCB05;
  --maize-deep: #e0b004;
  --paper: #F6F1E4;
  --paper-2: #EDE6D4;
  --cream: #FFFBF2;
  --ink: #0c1c2c;
  --muted: #3d5166;
  --line: rgba(0, 39, 76, 0.14);
  --white: #ffffff;
  --sans: "Source Sans 3", "Segoe UI", Calibri, system-ui, sans-serif;
  --cond: "Oswald", "Arial Narrow", "Franklin Gothic Medium", sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --wrap: 1120px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  min-height: 100vh;
  font-size: 18px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-soft); }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--maize);
  color: var(--navy);
  padding: 8px 14px;
  z-index: 1000;
}
.skip:focus { left: 8px; top: 8px; }

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

/* ----- Header ----- */
.masthead {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 203, 5, 0.25);
}
.masthead .maize-rule {
  height: 4px;
  background: var(--maize);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand img {
  height: 58px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  object-position: left center;
}
.nav-toggle {
  display: none;
  background: transparent;
  color: var(--maize);
  border: 1.5px solid var(--maize);
  font-family: var(--cond);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 14px;
  padding: 8px 14px;
  cursor: pointer;
}
.nav-toggle:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--maize);
  outline-offset: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px 22px;
}
.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-family: var(--cond);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 15px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a.is-current {
  color: var(--maize);
  border-bottom-color: var(--maize);
}
.site-nav a.nav-cta {
  background: var(--maize);
  color: var(--navy);
  padding: 9px 14px;
  border-bottom: none;
  margin-left: 6px;
}
.site-nav a.nav-cta:hover,
.site-nav a.nav-cta.is-current {
  background: var(--white);
  color: var(--navy);
  border-bottom: none;
}

.cutoff-bar {
  background: var(--navy-ink);
  color: var(--paper);
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 7px 0;
  border-top: 1px solid rgba(255, 203, 5, 0.15);
}
.cutoff-bar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.cutoff-bar strong { color: var(--maize); font-weight: 600; }

/* ----- Buttons ----- */
button.btn { cursor: pointer; font: inherit; }
.btn {
  display: inline-block;
  font-family: var(--cond);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 15px;
  padding: 13px 20px;
  border: 2px solid var(--maize);
  background: var(--maize);
  color: var(--navy);
  line-height: 1;
}
.btn:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--maize);
}
.btn-ghost:hover { background: var(--maize); color: var(--navy); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-soft); color: var(--white); border-color: var(--navy-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ----- Hero ----- */
.hero {
  background:
    linear-gradient(180deg, rgba(0, 39, 76, 0.92), rgba(0, 26, 51, 0.94)),
    var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
}
.hero::after {
  content: "MADER";
  position: absolute;
  right: -4%;
  bottom: -18%;
  font-family: var(--cond);
  font-weight: 700;
  font-size: clamp(140px, 28vw, 320px);
  color: rgba(255, 203, 5, 0.05);
  letter-spacing: 0.02em;
  line-height: 0.8;
  pointer-events: none;
}
.eyebrow {
  font-family: var(--cond);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--maize);
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 16px;
}
h1, h2, h3, .h1 {
  font-family: var(--cond);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0 0 16px;
  text-wrap: balance;
}
h1 { font-size: clamp(42px, 7vw, 78px); }
h2 { font-size: clamp(30px, 4.4vw, 46px); color: var(--navy); }
h3 { font-size: 22px; color: var(--navy); }
.hero h1 { color: var(--white); max-width: 16ch; }
.lede {
  font-size: 21px;
  max-width: 40rem;
  color: var(--paper);
  margin: 0;
}
.hero .lede { color: rgba(246, 241, 228, 0.92); }

.wave {
  height: 28px;
  background: var(--navy);
  line-height: 0;
}
.wave svg { width: 100%; height: 28px; display: block; }

/* ----- Sections ----- */
section { padding: 72px 0; }
.sec-kicker {
  font-family: var(--cond);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 8px;
}
.sec-kicker span {
  color: var(--maize-deep);
  margin-right: 10px;
}
.sec-head { max-width: 40rem; margin-bottom: 36px; }
.sec-head p { color: var(--muted); margin: 10px 0 0; }

.paper { background: var(--paper); }
.cream { background: var(--cream); }
.navy-band {
  background: var(--navy);
  color: var(--white);
}
.navy-band h2 { color: var(--white); }
.navy-band p { color: var(--paper); }

/* product strip */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.ticket {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--maize);
  padding: 16px 16px 14px;
  text-decoration: none;
  color: inherit;
  display: block;
  min-height: 118px;
}
.ticket:hover { border-color: var(--navy); border-left-color: var(--navy); }
.ticket .sku {
  font-family: var(--cond);
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
}
.ticket h3 {
  font-size: 22px;
  margin: 6px 0 8px;
}
.ticket .ask {
  font-size: 13px;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* heritage */
.heritage {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.pull {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.35;
  color: var(--navy);
  margin: 0 0 20px;
}
.photo-frame {
  background: var(--paper-2);
  border: 1px solid var(--navy);
  padding: 14px;
  position: relative;
}
.photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--paper);
}
.photo-frame figcaption {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--navy);
  margin-top: 10px;
  text-align: center;
}

/* how we work */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px 22px;
}
.step .num {
  font-family: var(--cond);
  color: var(--maize-deep);
  letter-spacing: 0.14em;
  font-size: 14px;
}

/* buyers */
.buyers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}
.buyers li {
  border: 1px solid var(--navy);
  color: var(--navy);
  font-family: var(--cond);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 13px;
  padding: 7px 12px;
}

/* CTA band */
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band p { max-width: 38rem; margin: 0; }

/* ----- Page hero (inner) ----- */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { max-width: 18ch; }
.page-hero .lede { color: rgba(246, 241, 228, 0.9); }
.about-hero {
  background:
    linear-gradient(90deg, rgba(0, 39, 76, 0.94) 0%, rgba(0, 39, 76, 0.88) 55%, rgba(0, 39, 76, 0.72) 100%),
    url("assets/seth-dad.jpg") right center / auto 140% no-repeat,
    var(--navy);
}

/* ----- Products board ----- */
.board { display: flex; flex-direction: column; gap: 10px; }
.sku-row {
  scroll-margin-top: 140px;
  display: grid;
  grid-template-columns: 110px 1.3fr 1.1fr 1fr auto;
  gap: 16px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 16px 18px;
}
.sku-row:hover { border-color: var(--navy); }
.sku-row .code {
  font-family: var(--cond);
  letter-spacing: 0.08em;
  color: var(--navy);
  font-size: 13px;
}
.sku-row h3 { margin: 0 0 4px; font-size: 22px; }
.sku-row .latin {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 14px;
}
.sku-row .meta { font-size: 15px; color: var(--muted); }
.price-chip {
  font-family: var(--cond);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--navy);
  border: 1.5px solid var(--maize);
  background: var(--maize);
  padding: 8px 10px;
  white-space: nowrap;
  text-decoration: none;
}
.price-chip:hover { background: var(--navy); color: var(--maize); border-color: var(--navy); }

/* ----- Policies ----- */
.policy {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--maize);
  padding: 28px 28px 22px;
  margin-bottom: 16px;
}
.policy h2 {
  font-size: 26px;
  margin-bottom: 10px;
}
.policy h2 span {
  font-family: var(--cond);
  color: var(--maize-deep);
  margin-right: 8px;
  letter-spacing: 0.08em;
}
.policy p, .policy li { color: var(--ink); }
.policy ul { padding-left: 1.15rem; }
.policy li { margin-bottom: 6px; }

/* ----- About ----- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 48px;
  align-items: start;
}
.prose p { margin: 0 0 16px; }
.prose p:last-child { margin-bottom: 0; }
.watermark-panel {
  position: relative;
}
.watermark-panel::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: url("assets/seth-dad.jpg") center / cover no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

/* ----- Contact form ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 48px;
}
form.trade {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
}
.form-note {
  background: var(--paper);
  border-left: 4px solid var(--maize);
  padding: 12px 14px;
  font-size: 15px;
  margin: 0 0 22px;
}
label {
  display: block;
  font-family: var(--cond);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--navy);
  margin: 0 0 6px;
}
.field { margin-bottom: 16px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  font: inherit;
  padding: 11px 12px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
}
textarea { min-height: 110px; resize: vertical; }
.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin: 4px 0 8px;
}
.checks label {
  font-family: var(--sans);
  letter-spacing: 0;
  text-transform: none;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}
.aside-card {
  background: var(--navy);
  color: var(--white);
  padding: 28px;
}
.aside-card h2 { color: var(--white); font-size: 28px; }
.aside-card a { color: var(--maize); }
.aside-card dt {
  font-family: var(--cond);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--maize);
  margin-top: 16px;
}
.aside-card dd { margin: 4px 0 0; }

/* ----- Footer ----- */
.site-foot {
  background: var(--navy);
  color: var(--paper);
  padding: 48px 0 28px;
  border-top: 4px solid var(--maize);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.site-foot .brand img { height: 52px; }
.site-foot a { color: var(--maize); text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.site-foot h3 {
  color: var(--maize);
  font-size: 14px;
  letter-spacing: 0.16em;
  margin-bottom: 12px;
}
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 6px; }
.legal {
  border-top: 1px solid rgba(255, 203, 5, 0.2);
  padding-top: 18px;
  font-size: 13px;
  color: rgba(246, 241, 228, 0.7);
}

/* ----- Mobile ----- */
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--navy-ink);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    gap: 0;
    border-bottom: 3px solid var(--maize);
  }
  body.nav-open .site-nav { display: flex; }
  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 203, 5, 0.15);
  }
  .site-nav a.nav-cta {
    margin: 12px 0 0;
    text-align: center;
  }
  .heritage,
  .about-grid,
  .contact-grid,
  .steps,
  .cta-band .wrap,
  .foot-grid,
  .field-row,
  .checks {
    grid-template-columns: 1fr;
  }
  .sku-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .price-chip { justify-self: start; }
  h1 { font-size: clamp(36px, 11vw, 56px); }
  section { padding: 52px 0; }
  .hero { padding: 48px 0 64px; }
  .brand img { height: 48px; }
}

@media (max-width: 520px) {
  .wrap { width: calc(100% - 28px); }
  .cutoff-bar { font-size: 12px; }
  form.trade, .aside-card, .policy { padding: 20px; }
}

@media print {
  .masthead, .cutoff-bar, .site-foot, .nav-toggle, .btn-row, .cta-band { }
  .masthead { position: static; }
  body { background: white; color: black; }
  a { color: black; }
}


/* ----- Life: motion, ticker, dock sound (append; do not rewrite) ----- */

.hero,
.page-hero,
.navy-band {
  position: relative;
  overflow: hidden;
}
.hero::before,
.page-hero::before,
.navy-band::before {
  content: "";
  position: absolute;
  inset: -20% -30%;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    118deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.045) 47%,
    rgba(255, 203, 5, 0.07) 52%,
    rgba(255, 255, 255, 0.03) 57%,
    transparent 66%,
    transparent 100%
  );
  background-size: 220% 220%;
  animation: sheenDrift 22s ease-in-out infinite;
}
.navy-band::before {
  animation-duration: 36s;
  opacity: 0.7;
}
.hero > *,
.page-hero > *,
.navy-band > * {
  position: relative;
  z-index: 1;
}

@keyframes sheenDrift {
  0% { transform: translate3d(-8%, 0, 0) rotate(0.2deg); }
  50% { transform: translate3d(10%, -3%, 0) rotate(-0.4deg); }
  100% { transform: translate3d(-6%, 2%, 0) rotate(0.15deg); }
}

.wave {
  position: relative;
  overflow: hidden;
}
.wave svg {
  width: 124%;
  max-width: none;
  animation: waveShift 16s ease-in-out infinite alternate;
}
@keyframes waveShift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-9%, 0, 0); }
}

.photo-frame {
  transition: box-shadow 0.45s ease, border-color 0.45s ease;
}
.photo-crop {
  display: block;
  overflow: hidden;
  line-height: 0;
}
.photo-frame img {
  transform-origin: 50% 42%;
  animation: kenburns 18s ease-in-out infinite alternate;
}
.photo-frame:hover {
  border-color: var(--maize);
  box-shadow:
    0 0 0 2px var(--maize),
    0 10px 28px rgba(0, 39, 76, 0.22),
    0 0 28px rgba(255, 203, 5, 0.28);
}
.photo-frame:hover img {
  animation: none;
  transform: scale(1.1);
  transition: transform 0.7s ease;
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.about-hero {
  background-size: auto, auto 142%, auto;
  animation: aboutKen 22s ease-in-out infinite alternate;
}
@keyframes aboutKen {
  from {
    background-size: auto, auto 140%, auto;
    background-position: 0 0, 86% 36%, 0 0;
  }
  to {
    background-size: auto, auto 156%, auto;
    background-position: 0 0, 70% 52%, 0 0;
  }
}

.ticket {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.ticket:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 39, 76, 0.14);
  border-color: var(--navy);
  border-left-color: var(--maize);
  animation: maizePulse 1.7s ease-in-out infinite;
}

.sku-row {
  border-left: 4px solid var(--maize);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.sku-row:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 39, 76, 0.14);
  border-color: var(--navy);
  border-left-color: var(--maize);
  animation: maizePulse 1.7s ease-in-out infinite;
}

@keyframes maizePulse {
  0%, 100% { border-left-color: var(--maize); }
  50% { border-left-color: #ffe36a; }
}

.step {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 39, 76, 0.1);
  border-color: var(--navy);
}

.species-ticker {
  background: var(--navy-ink);
  color: var(--maize);
  border-top: 1px solid rgba(255, 203, 5, 0.18);
  border-bottom: 1px solid rgba(255, 203, 5, 0.12);
  overflow: hidden;
  font-family: var(--cond);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  width: max-content;
  animation: ticker 46s linear infinite;
}
.species-ticker:hover .ticker-track {
  animation-play-state: paused;
}
.ticker-copy {
  display: inline-block;
  padding: 9px 0;
  color: var(--maize);
}
@keyframes ticker {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.dock-audio {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  background: var(--navy);
  color: var(--maize);
  border: 1.5px solid var(--maize);
  font-family: var(--cond);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  padding: 10px 14px;
  cursor: pointer;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(0, 26, 51, 0.35);
}
.dock-audio:hover {
  background: var(--maize);
  color: var(--navy);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::before,
  .page-hero::before,
  .navy-band::before,
  .wave svg,
  .photo-frame img,
  .about-hero,
  .ticket,
  .sku-row,
  .step,
  .ticker-track {
    animation: none !important;
    transition: none !important;
  }
  .hero::before,
  .page-hero::before,
  .navy-band::before {
    display: none;
  }
  .wave svg {
    width: 100%;
    transform: none !important;
  }
  .photo-frame img,
  .ticket:hover,
  .sku-row:hover,
  .step:hover {
    transform: none !important;
  }
  .ticker-track {
    transform: none !important;
    animation: none !important;
  }
}

@media print {
  .species-ticker,
  .dock-audio { display: none !important; }
}
