﻿:root {
  --red: #e71928;
  --red-dark: #9f1018;
  --black: #080a09;
  --charcoal: #181d1a;
  --panel: #222724;
  --panel-soft: #2b302c;
  --paper: #f2eee6;
  --cream: #e8e2d5;
  --white: #ffffff;
  --muted: #c9c3b8;
  --muted-dark: #777269;
  --gold: #d6a43b;
  --green: #2f6b39;
  --line: rgba(255, 255, 255, 0.14);
  --dark-line: rgba(8, 10, 9, 0.14);
  --shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.45;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 34px)); margin: 0 auto; }

.topline {
  background: var(--red);
  color: white;
  text-align: center;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 12px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(8, 10, 9, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav {
  width: min(1220px, calc(100% - 28px));
  height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  color: var(--red);
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 900;
  font-size: 38px;
  line-height: 1;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
.logo-brand {
  display: inline-flex;
  align-items: center;
  width: 154px;
  height: 54px;
}
.logo-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nav-links { display: flex; align-items: center; gap: 26px; font-weight: 900; }
.nav-links a { color: rgba(255,255,255,0.84); }
.nav-links a:hover, .category-strip a:hover { color: var(--red); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: white; }
.category-strip {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 12px max(17px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  background: rgba(24, 29, 26, 0.86);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.category-strip a { color: rgba(255,255,255,0.78); }

.hero {
  background: var(--paper);
  overflow: hidden;
}
.hero-banner img {
  display: block;
  width: 100%;
  aspect-ratio: 1920 / 820;
  object-fit: cover;
  object-position: center;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 18px;
  font-size: clamp(50px, 7.5vw, 96px);
  line-height: 0.95;
  letter-spacing: 0;
  max-width: 720px;
}
.hero-copy p:not(.eyebrow) {
  max-width: 590px;
  color: rgba(255,255,255,0.78);
  font-size: 20px;
  margin-bottom: 26px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 0;
  padding: 0 22px;
  font-weight: 900;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
}
.button.primary { background: var(--red); color: white; box-shadow: 0 12px 28px rgba(231, 25, 40, 0.22); }
.button.secondary { background: var(--paper); color: var(--black); }
.hero-product {
  padding: 16px;
  background: rgba(34, 39, 36, 0.88);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.hero-product img { width: 100%; aspect-ratio: 16 / 6.2; object-fit: cover; object-position: center; border-radius: 4px; }
.hero-product-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  max-height: 520px;
  overflow: hidden;
}
.hero-product-gallery img {
  width: 100%;
  height: 92px;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  padding: 5px;
  background: #ffffff;
  border: 1px solid rgba(8, 10, 9, 0.08);
  border-radius: 4px;
}

.ticker {
  display: flex;
  gap: 18px;
  overflow: hidden;
  background: var(--red-dark);
  color: white;
  padding: 14px 0;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.ticker span { animation: drift 24s linear infinite; }
@keyframes drift { to { transform: translateX(-320px); } }

.why, .white-label, .contact, .mockups { padding: 78px 0; }
.section-title { margin-bottom: 30px; }
.section-title.row { display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.section-title.compact { max-width: 760px; }
h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1; letter-spacing: 0; margin-bottom: 0; }
.text-link { color: var(--gold); font-weight: 900; text-transform: uppercase; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feature-grid article {
  min-height: 170px;
  display: grid;
  align-content: end;
  gap: 9px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.feature-grid strong { font-size: 22px; }
.feature-grid span, .white-label p, .contact p, .spotlight-copy p { color: var(--muted); }
.mockups {
  background:
    linear-gradient(180deg, #111411, var(--black));
  border-bottom: 1px solid var(--line);
}
.mockup-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.mockup-tabs button {
  min-width: 78px;
  min-height: 40px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: rgba(255,255,255,0.78);
  font-weight: 900;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12px;
}
.mockup-tabs button.active {
  background: var(--red);
  color: white;
}
.mockup-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: center;
  margin-bottom: 22px;
  padding: 20px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: 6px;
}
.mockup-feature span,
.mockup-card span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.mockup-feature strong {
  display: block;
  margin-top: 5px;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.04;
}
.mockup-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}
.mockup-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.mockup-card {
  min-width: 0;
  display: grid;
  grid-template-rows: 310px auto;
  gap: 14px;
  padding: 16px;
  background: var(--paper);
  color: var(--black);
  border: 1px solid var(--dark-line);
  border-radius: 6px;
  box-shadow: 0 18px 36px rgba(0,0,0,0.22);
}
.mockup-card[hidden] { display: none; }
.mockup-card img {
  width: 100%;
  height: 310px;
  object-fit: contain;
  padding: 10px;
  background:
    linear-gradient(45deg, #f8f8f8 25%, transparent 25%),
    linear-gradient(-45deg, #f8f8f8 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #f8f8f8 75%),
    linear-gradient(-45deg, transparent 75%, #f8f8f8 75%),
    #ffffff;
  background-size: 28px 28px;
  background-position: 0 0, 0 14px, 14px -14px, -14px 0;
  border-radius: 4px;
}
.mockup-card h3 {
  margin: 4px 0 4px;
  font-size: 21px;
  line-height: 1.1;
}
.mockup-card p {
  margin: 0;
  color: var(--muted-dark);
  font-weight: 900;
}
.mockup-card.review {
  border-top: 5px solid var(--gold);
}
.mockup-card.review p {
  color: var(--red-dark);
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.category-card {
  min-height: 300px;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 22px;
  border-radius: 6px;
  overflow: hidden;
  color: white;
  background-size: cover;
  background-position: center top;
  position: relative;
  border: 1px solid var(--line);
}
.category-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.86), rgba(0,0,0,0.12)); }
.category-card span, .category-card strong { position: relative; }
.category-card span { font-size: 28px; font-weight: 900; }
.category-card strong { font-size: 15px; color: rgba(255,255,255,0.82); }
.category-card.sauces { background-image: url('assets/catalog/sauces.jpg'); }
.category-card.pickles { background-image: url('assets/catalog/pickles.jpg'); }
.category-card.pastes { background-image: url('assets/catalog/pastes.jpg'); }
.category-card.jams { background-image: url('assets/catalog/jams.jpg'); }
.product-category-grid .category-card {
  min-height: 330px;
}

.category-page {
  background: var(--black);
}
.category-hero {
  min-height: 520px;
  display: flex;
  align-items: end;
  padding: 86px 0 64px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.category-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,10,9,0.94), rgba(8,10,9,0.64) 46%, rgba(8,10,9,0.24));
}
.category-hero .container {
  position: relative;
}
.category-hero h1 {
  margin-bottom: 14px;
}
.category-hero p:not(.eyebrow) {
  max-width: 560px;
  margin: 0;
  color: rgba(255,255,255,0.78);
  font-size: 20px;
}
.category-hero-sauces { background-image: url('assets/catalog/sauces.jpg'); }
.category-hero-pastes { background-image: url('assets/catalog/pastes.jpg'); }
.category-hero-pickles { background-image: url('assets/catalog/pickles.jpg'); }
.category-hero-jams { background-image: url('assets/catalog/jams.jpg'); }
.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 13px;
}
.category-detail {
  padding: 76px 0;
  background: var(--paper);
  color: var(--black);
}
.category-placeholder {
  min-height: 260px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 34px;
  background: white;
  border: 1px solid var(--dark-line);
  border-radius: 6px;
}
.category-placeholder h2 {
  margin-bottom: 0;
}
.category-placeholder p {
  max-width: 620px;
  margin: 0;
  color: var(--muted-dark);
  font-size: 18px;
}

.spotlight {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 520px;
  background: var(--panel);
  color: white;
  border-block: 1px solid var(--line);
}
.spotlight-image img { width: 100%; height: 100%; object-fit: cover; }
.spotlight-copy { align-self: center; padding: 58px max(28px, calc((100vw - 1180px) / 2)) 58px 52px; }
.spotlight-copy p { font-size: 18px; margin-bottom: 24px; }
.white-label { background: var(--charcoal); }
.white-label-grid, .contact-grid, .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: start;
}
.white-label-grid.single-column {
  grid-template-columns: minmax(0, 760px);
}
.contact { background: var(--paper); color: var(--black); }
.contact .eyebrow { color: var(--red); }
.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  background: white;
  border: 1px solid var(--dark-line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.inquiry-form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
input, select, textarea { width: 100%; border: 1px solid var(--dark-line); border-radius: 4px; padding: 12px 13px; background: white; color: var(--black); }
textarea { resize: vertical; }
.inquiry-form label:has(textarea),
.inquiry-form .button,
.form-note {
  grid-column: 1 / -1;
}
.form-note { margin: 0; color: var(--muted-dark); font-size: 13px; }
.footer { background: var(--black); color: white; padding: 46px 0; border-top: 1px solid var(--line); }
.footer-grid { grid-template-columns: 1.4fr 0.7fr 0.9fr; }
.footer p { color: rgba(255,255,255,0.72); max-width: 430px; }
.footer a, .footer span, .footer strong { display: block; margin: 8px 0; color: rgba(255,255,255,0.78); }
.footer .brand { color: var(--red); margin-bottom: 16px; }
.footer-logo {
  width: 180px;
  height: 64px;
}
.footer strong { color: white; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 74px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .spotlight, .white-label-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .feature-grid, .category-grid, .mockup-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mockup-feature { grid-template-columns: 1fr; }
  .spotlight-copy { padding: 42px 24px; }
}

@media (max-width: 580px) {
  .topline { font-size: 11px; }
  .brand { font-size: 32px; }
  .logo-brand { width: 132px; height: 48px; }
  .footer-logo { width: 160px; height: 58px; }
  h1 { font-size: 46px; }
  h2 { font-size: 36px; }
  .hero-copy p:not(.eyebrow) { font-size: 18px; }
  .feature-grid, .category-grid, .mockup-grid { grid-template-columns: 1fr; }
  .inquiry-form { grid-template-columns: 1fr; }
  .mockup-card { grid-template-rows: 280px auto; }
  .mockup-card img { height: 280px; }
  .mockup-tabs { width: 100%; margin-top: 18px; }
  .mockup-tabs button { flex: 1; min-width: 0; }
  .button { width: 100%; }
  .section-title.row { display: block; }
  .why, .white-label, .contact, .mockups { padding: 56px 0; }
}


