/* ==========================================================================

   DSL Food — design tokens
   ========================================================================== */
:root {
  --teal-900: #0E4A50;
  --teal-700: #14636B;
  --teal-600: #1B8A94;
  --teal-100: #D9EBEA;
  --teal-50:  #EFF6F5;
  --orange-500: #E8862E;
  --orange-600: #D6721A;
  --cream-50: #FBF7F1;
  --ink-800: #26302E;
  --ink-600: #55625F;
  --line: #E2DACD;

  --display: "Fraunces", Georgia, serif;
  --body: "Work Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink-800);
  background: var(--cream-50);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- Skip link (a11y) ---- */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--teal-900);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
  top: 0;
}

/* ---- Header / nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 241, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 21px;
  color: var(--teal-900);
}
.brand img { height: 36px; width: auto; }

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-800);
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--teal-100);
  color: var(--teal-900);
}
.nav-links a[aria-current="page"] {
  background: var(--teal-900);
  color: #fff;
}

.nav-toggle {
  display: none;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--orange-500);
  color: #fff;
}
.btn-primary:hover { background: var(--orange-600); }
.btn-ghost {
  border-color: var(--teal-900);
  color: var(--teal-900);
  background: transparent;
}
.btn-ghost:hover { background: var(--teal-900); color: #fff; }

/* ---- Hero ---- */
.hero {
  padding: 76px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-600);
  background: #FDEEDD;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.08;
  margin: 0 0 20px;
  color: var(--teal-900);
}
.hero h1 em {
  font-style: italic;
  color: var(--orange-500);
}
.hero p.lede {
  font-size: 18px;
  color: var(--ink-600);
  max-width: 46ch;
  margin: 0 0 30px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---- Route illustration (signature element) ---- */
.route {
  width: 100%;
  height: auto;
}
.route-caption {
  text-align: center;
  font-size: 13px;
  color: var(--ink-600);
  margin-top: 10px;
  letter-spacing: 0.02em;
}

/* ---- Section shell ---- */
section { padding: 64px 0; }
.section-tint { background: var(--teal-50); }
.section-head {
  max-width: 60ch;
  margin: 0 0 40px;
}
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(26px, 3vw, 36px);
  color: var(--teal-900);
  margin: 0 0 12px;
}
.section-head p {
  color: var(--ink-600);
  font-size: 16.5px;
  margin: 0;
}

/* ---- Value props ---- */
.value-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
}
.value-card .icon {
  width: 42px; height: 42px;
  margin-bottom: 16px;
}
.value-card h3 {
  font-family: var(--display);
  font-size: 19px;
  margin: 0 0 8px;
  color: var(--teal-900);
}
.value-card p {
  margin: 0;
  color: var(--ink-600);
  font-size: 15px;
}

/* ---- Product / category cards ---- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  position: relative;
  overflow: hidden;
}
.cat-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 5px; height: 100%;
  background: var(--orange-500);
}
.cat-card .icon {
  width: 40px; height: 40px;
  margin-bottom: 18px;
}
.cat-card h3 {
  font-family: var(--display);
  font-size: 21px;
  color: var(--teal-900);
  margin: 0 0 10px;
}
.cat-card p {
  margin: 0;
  color: var(--ink-600);
  font-size: 15.5px;
}

/* ---- CTA band ---- */
.cta-band {
  background: var(--teal-900);
  color: #fff;
  border-radius: 24px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 30px);
  margin: 0 0 8px;
}
.cta-band p { margin: 0; color: #CFE3E1; }
.cta-band .btn-primary { flex-shrink: 0; }

/* ---- About page ---- */
.about-lead {
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 28px);
  color: var(--teal-900);
  max-width: 42ch;
  margin: 0 0 30px;
  font-weight: 500;
}
.about-body p {
  font-size: 17px;
  color: var(--ink-600);
  max-width: 68ch;
}

/* ---- Contact page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 780px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  text-decoration: none;
  display: block;
  transition: border-color .15s ease, transform .15s ease;
}
.contact-card:hover {
  border-color: var(--teal-600);
  transform: translateY(-2px);
}
.contact-card .icon {
  width: 34px; height: 34px;
  margin-bottom: 16px;
}
.contact-card .label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-600);
  font-weight: 600;
  margin-bottom: 6px;
}
.contact-card .value {
  font-family: var(--display);
  font-size: 20px;
  color: var(--teal-900);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--teal-900);
  color: #DCEAE9;
  padding: 44px 0 28px;
  margin-top: 40px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 19px;
  color: #fff;
}
.footer-brand img { height: 30px; }
.footer-links {
  display: flex;
  gap: 22px;
  list-style: none;
  padding: 0; margin: 0;
  font-size: 14.5px;
}
.footer-links a { text-decoration: none; color: #DCEAE9; }
.footer-links a:hover { color: #fff; }
.footer-note {
  padding-top: 20px;
  font-size: 13px;
  color: #9FC3C0;
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .value-row { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---- Catalog rows (alternating image/text, CrisFoods-style) ---- */
.catalog-hero {
  background: var(--teal-900);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.catalog-hero .eyebrow {
  background: rgba(255,255,255,0.12);
  color: #FDEEDD;
}
.catalog-hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 48px);
  margin: 10px 0 0;
}
.catalog-hero p {
  color: #CFE3E1;
  margin: 12px 0 0;
  font-size: 17px;
}

.catalog-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.catalog-row:last-child { border-bottom: none; }
.catalog-row.reverse .catalog-media { order: 2; }
.catalog-row.reverse .catalog-content { order: 1; }

.catalog-media {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--teal-50);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.catalog-media svg { width: 100%; height: 100%; }

.catalog-content .index {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--orange-600);
  margin-bottom: 10px;
  display: block;
}
.catalog-content h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: 0.01em;
  color: var(--teal-900);
  margin: 0 0 16px;
  text-transform: uppercase;
}
.catalog-content p {
  color: var(--ink-600);
  font-size: 16.5px;
  line-height: 1.7;
  max-width: 46ch;
}
.catalog-content strong { color: var(--teal-700); }

@media (max-width: 780px) {
  .catalog-row, .catalog-row.reverse {
    grid-template-columns: 1fr;
  }
  .catalog-row.reverse .catalog-media,
  .catalog-row.reverse .catalog-content {
    order: initial;
  }
}
