/* ============================================================
   DAEFFLER'S QUALITY MEATS — Main Stylesheet
   Follows the Daeffler's Brand Guide v1 (Aug 2026):
     Core      Butcher Black #1A1714
     Surfaces  Parchment #F2EBD9 · Off-White #FAF8F4 · Charcoal Warm #3D3530
     Accents   Aged Amber #8C6A3F (hero, sparingly) · Balsam #2B3830 (secondary)
     Utility   Ash #9E948C — dividers only, never body text
   Type: Cormorant Garamond (display) + Source Sans 3 (body/UI)
   ============================================================ */

/* ---- Fonts (self-hosted variable fonts, SIL Open Font License) ---- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('/assets/fonts/source-sans-3-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:        #1A1714;
  --charcoal:     #3D3530;
  --parchment:    #F2EBD9;
  --offwhite:     #FAF8F4;
  --amber:        #8C6A3F;
  --amber-hover:  #A07A48;
  --amber-ink:    #7D5E37;   /* amber for small text on light grounds (AA contrast) */
  --amber-bright: #C89457;   /* amber for text on dark grounds */
  --balsam:       #2B3830;
  --balsam-lift:  #3A4A3F;
  --ash:          #9E948C;

  --text-muted:   #665B52;                   /* secondary text on light grounds */
  --text-soft:    rgba(250, 248, 244, 0.72); /* secondary text on dark grounds */
  --line:         rgba(158, 148, 140, 0.3);
  --line-dark:    rgba(250, 248, 244, 0.1);

  --header-h:    96px;
  --header-h-sm: 64px;

  --max-w: 1200px;
  --section-pad: clamp(64px, 8vw, 120px);
  --side-pad: clamp(20px, 5vw, 80px);

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Placeholder textures from the brand guide, used until photos arrive */
  --tex-grid:
    repeating-linear-gradient(0deg, rgba(250,248,244,0.05) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(250,248,244,0.05) 0 1px, transparent 1px 28px);
  --tex-kraft:
    repeating-linear-gradient(78deg, rgba(140,106,63,0.10) 0 1px, transparent 1px 5px),
    radial-gradient(circle at 30% 40%, rgba(140,106,63,0.14), transparent 3%),
    radial-gradient(circle at 62% 70%, rgba(140,106,63,0.12), transparent 2.5%),
    radial-gradient(circle at 80% 20%, rgba(140,106,63,0.10), transparent 2%);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--black);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p a, address a, .text-link { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }
p a:hover { color: var(--amber-ink); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--amber-bright); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 2000;
  background: var(--black);
  color: var(--offwhite);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Typography ---- */
h1, h2, h3, h4, .h3, .h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(36px, 5vw, 56px); }
h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 600; }
h3, .h3 { font-size: clamp(22px, 2.5vw, 28px); font-weight: 600; }
h4, .h4 { font-size: 18px; font-weight: 600; }

.display {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 6.5vw, 80px);
  letter-spacing: 0.01em;
  line-height: 1.05;
  text-wrap: balance;
}
.display--sm { font-size: clamp(30px, 4.2vw, 54px); }

.label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ---- Layout ---- */
.section { padding: var(--section-pad) var(--side-pad); }
.section--tight { padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(48px, 6vw, 72px); }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.narrow { max-width: 640px; }

.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
}
.split-2--center { align-items: center; }
.split-2 .label { display: block; margin-bottom: 16px; }
.split-2 h2, .split-2 .h3 { margin-bottom: 16px; }
.split-2 p { font-size: 16px; color: var(--text-muted); line-height: 1.8; }
.split-2 p + p { margin-top: 16px; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  padding: 15px 34px;
  border: 1.5px solid currentColor;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn-sm { font-size: 11px; padding: 11px 24px; }

.btn-dark { color: var(--black); border-color: var(--black); }
.btn-dark:hover { background: var(--black); color: var(--offwhite); }

.btn-light { color: var(--offwhite); border-color: rgba(250, 248, 244, 0.7); }
.btn-light:hover { background: var(--offwhite); color: var(--black); border-color: var(--offwhite); }

.btn-amber { color: var(--offwhite); background: var(--amber); border-color: var(--amber); }
.btn-amber:hover { background: var(--amber-hover); border-color: var(--amber-hover); }

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  background: var(--offwhite);
  border-bottom: 1px solid transparent;
  transition: height 0.35s var(--ease), background 0.35s var(--ease),
              border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

/* Pages that open on a dark hero: header starts transparent */
.header-transparent #site-header { background: transparent; }
.header-transparent #site-header .logo-link,
.header-transparent #site-header .nav-links > li > a { color: var(--offwhite); }
.header-transparent #site-header .nav-toggle span { background: var(--offwhite); }

#site-header.scrolled {
  height: var(--header-h-sm);
  background: var(--offwhite);
  border-bottom-color: var(--line);
  box-shadow: 0 2px 20px rgba(26, 23, 20, 0.06);
}
.header-transparent #site-header.scrolled .logo-link,
.header-transparent #site-header.scrolled .nav-links > li > a { color: var(--black); }
.header-transparent #site-header.scrolled .nav-toggle span { background: var(--black); }

.page-solid { padding-top: var(--header-h); }

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--side-pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo lockup — rules, wordmark, amber descriptor */
.logo-link {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  color: var(--black);
  text-decoration: none;
  transition: opacity 0.2s, color 0.35s var(--ease);
}
.logo-link:hover { opacity: 0.8; }
.logo-rule { display: block; height: 1px; background: currentColor; opacity: 0.9; }
.logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: 0.08em;
  text-align: center;
  line-height: 1;
  padding: 5px 2px 3px;
  transition: font-size 0.35s var(--ease);
}
.logo-sub {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber-ink);
  text-align: center;
  line-height: 1;
  padding: 3px 2px 5px;
}
.header-transparent #site-header:not(.scrolled) .logo-sub { color: var(--amber-bright); }
#site-header.scrolled .logo-name { font-size: clamp(16px, 1.6vw, 20px); }

/* Nav */
.main-nav { display: flex; align-items: center; }
.nav-links { display: flex; align-items: center; gap: clamp(24px, 3vw, 40px); }
.nav-links a {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-links > li > a:hover::after,
.nav-links > li > a.active::after { transform: scaleX(1); }
.nav-links a:hover { color: var(--amber-ink); }
.header-transparent #site-header:not(.scrolled) .nav-links > li > a:hover { color: var(--amber-bright); }

.nav-phone a {
  border: 1px solid currentColor;
  padding: 8px 14px;
  letter-spacing: 0.08em;
}
.nav-phone a::after { display: none; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  min-width: 210px;
  background: var(--offwhite);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(26, 23, 20, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.dropdown::before { content: ''; position: absolute; inset: -16px 0 auto; height: 16px; } /* hover bridge */
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown li + li { border-top: 1px solid var(--line); }
.dropdown a { display: block; padding: 12px 20px; font-size: 11px; letter-spacing: 0.1em; color: var(--black); }
.dropdown a:hover, .dropdown a.active { background: var(--parchment); color: var(--amber-ink); }

/* Mobile toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px 6px; position: relative; z-index: 10; }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--black);
  transition: transform 0.3s var(--ease), opacity 0.3s, background 0.35s var(--ease);
}
.nav-toggle[aria-expanded="true"] span { background: var(--black) !important; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-overlay { display: none; }

/* ============================================================
   HERO — dark cut-chart texture by default; an inline
   style="background-image:url(...)" swaps in a photo.
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 32px) 0 64px;
  background-color: var(--black);
  background-image:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(200, 148, 87, 0.16), transparent 70%),
    var(--tex-grid);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  isolation: isolate;
}
.hero--balsam {
  background-color: var(--balsam);
  background-image:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(242, 235, 217, 0.08), transparent 70%),
    var(--tex-grid);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(26,23,20,0.45) 0%, rgba(26,23,20,0.2) 45%, rgba(26,23,20,0.55) 100%);
}
@media (hover: hover) and (min-width: 1025px) and (prefers-reduced-motion: no-preference) {
  .hero[style*="background-image"] { background-attachment: fixed; }
}

.hero-content {
  text-align: center;
  color: var(--offwhite);
  padding: 0 var(--side-pad);
  max-width: 900px;
}
.hero-label {
  display: block;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-bright);
  margin-bottom: 24px;
}
.hero-title {
  font-weight: 300;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1.02;
  color: var(--offwhite);
  margin-bottom: 24px;
}
.hero-sub {
  font-weight: 300;
  font-size: clamp(16px, 1.6vw, 19px);
  letter-spacing: 0.02em;
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 auto 40px;
}
.hero-interior .hero-sub { margin-bottom: 0; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-interior { min-height: 56vh; min-height: 56svh; }
.hero-interior .hero-title { font-size: clamp(40px, 6vw, 72px); font-weight: 600; margin-bottom: 16px; }

/* ---- Quick info strip under the home hero ---- */
.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--black);
  border-top: 1px solid var(--line-dark);
  color: var(--offwhite);
}
.info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px var(--side-pad);
  font-size: 15px;
  text-align: center;
}
.info-item + .info-item { border-left: 1px solid var(--line-dark); }
.info-item .label { color: var(--amber-bright); font-size: 11px; }
a.info-item:hover span:last-child { color: var(--amber-bright); }

/* ============================================================
   PLACEHOLDER MEDIA (swap for photos later)
   ============================================================ */
.media { position: relative; background-size: cover; background-position: center; }
.media--balsam   { background-color: var(--balsam);   background-image: var(--tex-grid); }
.media--charcoal { background-color: var(--charcoal); background-image: var(--tex-grid); }
.media--kraft    { background-color: var(--parchment); background-image: var(--tex-kraft); }
.media-mark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(44px, 6vw, 84px);
  letter-spacing: 0.04em;
  line-height: 1;
  color: rgba(250, 248, 244, 0.22);
}
.media--kraft .media-mark { color: rgba(140, 106, 63, 0.4); }

/* ============================================================
   SECTIONS
   ============================================================ */
.bg-offwhite  { background: var(--offwhite); }
.bg-parchment { background: var(--parchment); }
.bg-charcoal  { background: var(--charcoal); color: var(--offwhite); }
.bg-balsam    { background: var(--balsam); color: var(--offwhite); }

.section-header { margin-bottom: clamp(40px, 5vw, 64px); }
.section-header .label { color: var(--amber-ink); display: block; margin-bottom: 16px; }
.section-header h2 { max-width: 680px; }
.section-header p { font-size: 17px; color: var(--text-muted); max-width: 580px; margin-top: 16px; }
.bg-charcoal .section-header .label, .bg-balsam .section-header .label { color: var(--amber-bright); }
.bg-charcoal .section-header p, .bg-balsam .section-header p { color: var(--text-soft); }

.rule { display: block; width: 48px; height: 1px; background: var(--amber); margin: 24px 0; }
.rule--center { margin-left: auto; margin-right: auto; }

/* Intro / statement */
.intro-section {
  padding: var(--section-pad) var(--side-pad);
  background: var(--parchment);
  text-align: center;
}
.intro-section > .label { display: block; margin-bottom: 20px; }
.intro-section .display { max-width: 900px; margin: 0 auto 28px; }
.intro-section p:not(.display) {
  font-size: 18px;
  max-width: 620px;
  margin: 0 auto 36px;
  color: var(--charcoal);
  line-height: 1.8;
}
.intro-section p:last-child { margin-bottom: 0; }

/* Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.pillar { background: var(--offwhite); padding: clamp(36px, 4vw, 56px) clamp(24px, 3vw, 40px); }
.pillar-number {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber-ink);
  margin-bottom: 20px;
}
.pillar h3 { margin-bottom: 14px; }
.pillar p { font-size: 15px; line-height: 1.75; color: var(--text-muted); }

.pillars-grid--dark { background: var(--line-dark); border-color: var(--line-dark); }
.pillars-grid--dark .pillar { background: rgba(250, 248, 244, 0.04); }
.pillars-grid--dark .pillar-number { color: var(--amber-bright); }
.pillars-grid--dark .pillar p { color: var(--text-soft); }

/* Product split cards */
.product-split { display: grid; grid-template-columns: 1fr 1fr; }
.product-card {
  position: relative;
  min-height: clamp(380px, 42vw, 540px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(26,23,20,0.75) 0%, rgba(26,23,20,0.15) 65%, transparent 100%);
  transition: opacity 0.4s var(--ease);
}
.product-card-body {
  padding: clamp(32px, 4vw, 48px) clamp(24px, 4vw, 48px) clamp(40px, 5vw, 56px);
  color: var(--offwhite);
  transition: transform 0.3s var(--ease);
}
@media (hover: hover) {
  .product-card-body { transform: translateY(10px); }
  .product-card:hover .product-card-body { transform: none; }
}
.product-card-body .label { color: var(--amber-bright); display: block; margin-bottom: 12px; }
.product-card-body h2 { color: var(--offwhite); margin-bottom: 16px; }
.product-card-body p { font-size: 15px; color: var(--text-soft); margin-bottom: 24px; max-width: 420px; }
.product-card:hover .btn-light { background: var(--offwhite); color: var(--black); }

/* CTA banner — Balsam, per brand guide signage/secondary accent */
.cta-banner {
  padding: clamp(56px, 7vw, 96px) max(var(--side-pad), calc((100% - var(--max-w)) / 2));
  background: var(--balsam);
  background-image: var(--tex-grid);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-banner-text .label { color: var(--amber-bright); display: block; margin-bottom: 12px; }
.cta-banner-text h2 { color: var(--offwhite); max-width: 560px; }
.cta-banner-text p { color: var(--text-soft); max-width: 460px; font-size: 16px; }
.cta-banner-text .rule { background: var(--amber-bright); margin: 20px 0; }
.cta-banner-actions { flex-shrink: 0; }
.cta-banner-actions--stack { display: flex; flex-direction: column; gap: 12px; align-items: stretch; text-align: center; }

/* Story */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.story-grid--reverse .story-image { order: 2; }
.story-image { aspect-ratio: 4 / 5; }
.story-body .label { color: var(--amber-ink); display: block; margin-bottom: 16px; }
.story-body h2 { margin-bottom: 8px; }
.story-body p { font-size: 17px; line-height: 1.8; color: var(--charcoal); margin-bottom: 20px; }
.story-body .btn { margin-top: 12px; }

/* Stats */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.value-item { text-align: center; }
.value-number {
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 300;
  color: var(--amber-ink);
  line-height: 1;
  margin-bottom: 12px;
}
.value-item h3 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.value-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* Category grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.category-item {
  display: block;
  background: var(--offwhite);
  padding: 40px 32px;
  border-bottom: 3px solid transparent;
  transition: border-color 0.25s, background 0.25s;
}
a.category-item:hover { background: var(--parchment); border-bottom-color: var(--amber); }
.category-item .label { color: var(--amber-ink); display: block; margin-bottom: 14px; }
.category-item h3 { margin-bottom: 12px; font-size: 24px; }
.category-item p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }
.item-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 18px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-ink);
  transition: gap 0.2s;
}
.item-link::after { content: '→'; }
a.category-item:hover .item-link { gap: 12px; }

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  counter-reset: step;
}
.process-step { background: var(--parchment); padding: 40px 32px; counter-increment: step; }
.process-step::before {
  content: '0' counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 300;
  color: var(--amber-ink);
  line-height: 1;
  margin-bottom: 20px;
}
.process-step h3 { font-size: 20px; margin-bottom: 10px; }
.process-step p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* Commercial product lines */
.line-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.line-item { background: var(--offwhite); padding: 32px 36px; }
.line-item h3 { font-size: 20px; color: var(--amber-ink); margin-bottom: 10px; }
.line-item p { font-size: 15px; color: var(--text-muted); line-height: 1.9; }

/* Lead times */
.text-soft { color: var(--text-soft) !important; }
.lead-list { display: flex; flex-direction: column; gap: 14px; }
.lead-list li { background: rgba(250, 248, 244, 0.05); border: 1px solid var(--line-dark); padding: 22px 26px; }
.lead-list h3 { font-size: 20px; color: var(--offwhite); margin-bottom: 4px; }
.lead-list p { font-size: 14px; color: var(--text-soft); }

/* ============================================================
   SHOP
   ============================================================ */
.steps-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.steps-item { background: var(--offwhite); padding: 28px var(--side-pad); display: flex; gap: 18px; align-items: flex-start; }
.steps-num { font-family: var(--font-display); font-size: 32px; font-weight: 300; color: var(--amber-ink); line-height: 1; }
.steps-item .h4 { margin-bottom: 4px; }
.steps-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.shop-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.shop-filters[hidden] { display: none; }
.chip {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 16px;
  border: 1px solid var(--line);
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.chip:hover { border-color: var(--amber); color: var(--amber-ink); }
.chip[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: var(--offwhite); }

.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.shop-grid:empty { display: none; }
.shop-item { display: flex; flex-direction: column; }
.shop-item-image { aspect-ratio: 4 / 3; margin-bottom: 20px; }
.shop-item-image img { width: 100%; height: 100%; object-fit: cover; }
.shop-item-label { color: var(--amber-ink); margin-bottom: 6px; }
.shop-item h3 { font-size: 22px; margin-bottom: 8px; }
.shop-item p { font-size: 15px; color: var(--text-muted); line-height: 1.6; flex: 1; }
.shop-item-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.price { font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 1; }
.price small { font-family: var(--font-body); font-size: 13px; font-weight: 400; color: var(--text-muted); margin-left: 4px; }
.badge { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }

.shop-empty {
  border: 1px solid var(--line);
  background: var(--parchment);
  background-image: var(--tex-kraft);
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
  text-align: center;
}
.shop-empty[hidden] { display: none; }
.shop-empty .label { display: block; margin-bottom: 14px; }
.shop-empty h3 { margin-bottom: 14px; }
.shop-empty p { color: var(--charcoal); max-width: 520px; margin: 0 auto; }

.notify-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
.notify-form input[type="email"] { flex: 1; min-width: 0; }
.fine-print { font-size: 13px; color: var(--text-muted); margin-top: 16px; }

/* ============================================================
   FORMS
   ============================================================ */
.form-section { max-width: 760px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.field input, .field select, .field textarea, .notify-form input[type="email"] {
  font-family: var(--font-body);
  font-size: 16px; /* ≥16px stops iOS zoom on focus */
  color: var(--black);
  background: var(--offwhite);
  border: 1px solid rgba(158, 148, 140, 0.55);
  padding: 13px 16px;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus, .notify-form input[type="email"]:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(140, 106, 63, 0.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  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='%23665B52' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-note { font-size: 14px; color: var(--text-muted); border-left: 2px solid var(--amber); padding-left: 16px; }
.form-divider { grid-column: 1 / -1; border: none; border-top: 1px solid var(--line); margin: 8px 0; }
.form-section-title {
  grid-column: 1 / -1;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-ink);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 80px); }
.contact-info > .label { display: block; margin-bottom: 20px; }
.contact-block { margin-bottom: 32px; }
.contact-block .label { color: var(--amber-ink); display: block; margin-bottom: 6px; }
.contact-block p { font-size: 17px; line-height: 1.7; color: var(--charcoal); }
.text-muted { color: var(--text-muted) !important; font-size: 15px !important; }

.hours-grid { display: grid; grid-template-columns: auto 1fr; gap: 4px 24px; font-size: 15px; }
.hours-grid dt { font-weight: 600; color: var(--charcoal); }
.hours-grid dd { color: var(--text-muted); }

.map-embed { aspect-ratio: 16 / 10; background: var(--parchment); border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.35) sepia(0.12); }
.map-link { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin: 12px 0 40px; }
.map-link a { text-decoration: none; color: var(--amber-ink); }

.distance-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.distance-list li:last-child { border-bottom: 0; }
.distance-list span:last-child { color: var(--text-muted); text-align: right; }

.message-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; }
.message-page h1 { margin: 20px 0 0; }
.message-page p { font-size: 18px; color: var(--charcoal); margin-bottom: 36px; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer { background: var(--black); color: var(--offwhite); padding: clamp(56px, 7vw, 96px) var(--side-pad) 36px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: clamp(40px, 5vw, 56px);
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: 28px;
}
.footer-brand .logo-link { color: var(--offwhite); }
.footer-brand .logo-rule { opacity: 0.3; }
.footer-brand .logo-sub { color: var(--amber-bright); }
.footer-brand p { font-size: 14px; line-height: 1.75; color: rgba(250, 248, 244, 0.6); margin-top: 24px; max-width: 280px; }
.footer-heading {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-bright);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: rgba(250, 248, 244, 0.68); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover, .footer-col a.active { color: var(--offwhite); }
.footer-col address { font-style: normal; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.6; }
.footer-hours { margin-top: 18px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: rgba(250, 248, 244, 0.6); }
.hours-row { display: flex; justify-content: space-between; gap: 16px; max-width: 220px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.footer-bottom p { font-size: 12px; color: rgba(250, 248, 244, 0.5); letter-spacing: 0.04em; }
.footer-tagline { font-family: var(--font-display); font-size: 16px !important; font-weight: 300; color: rgba(250, 248, 244, 0.6) !important; }

/* ---- Utility ---- */
.text-amber { color: var(--amber-ink); }
.text-center { text-align: center; }
.text-center .section-header h2,
.text-center .section-header p,
.section-header.text-center h2,
.section-header.text-center p { margin-left: auto; margin-right: auto; }
.bg-charcoal .text-amber, .bg-balsam .text-amber { color: var(--amber-bright); }

/* ============================================================
   RESPONSIVE — Tablet
   ============================================================ */
@media (max-width: 1024px) {
  .nav-phone { display: none; }
  .pillars-grid, .category-grid, .shop-grid { grid-template-columns: 1fr 1fr; }
  .pillars-grid .pillar:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .values-grid, .process-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .story-grid, .contact-grid, .split-2 { grid-template-columns: 1fr; }
  .story-grid--reverse .story-image { order: 0; }
  .story-image { aspect-ratio: 16 / 9; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */
@media (max-width: 768px) {
  :root { --header-h: 72px; --header-h-sm: 60px; }
  body { font-size: 16px; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 85vw);
    background: var(--offwhite);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 88px 32px 32px;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s var(--ease), visibility 0.35s;
    box-shadow: -20px 0 60px rgba(26, 23, 20, 0.15);
    z-index: 9;
  }
  .nav-links.open { transform: none; visibility: visible; }
  .nav-links a,
  .header-transparent #site-header .nav-links > li > a {
    display: block;
    font-size: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    color: var(--black);
  }
  .nav-links > li > a::after { display: none; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: inherit;
    transform: none;
    min-width: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding-left: 16px;
  }
  .dropdown::before { display: none; }
  .dropdown li + li { border-top: 0; }
  .dropdown a { padding: 12px 0; font-size: 13px; color: var(--text-muted); }
  .dropdown a:hover, .dropdown a.active { background: none; }
  .nav-links .active { color: var(--amber-ink) !important; }
  .nav-phone { display: block; margin-top: 24px; }
  .nav-phone a,
  .header-transparent #site-header .nav-phone a { text-align: center; border: 1px solid var(--black); padding: 14px; }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 23, 20, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s;
  }
  .nav-overlay.open { display: block; opacity: 1; }

  .hero-actions { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto; }
  .info-strip { grid-template-columns: 1fr; }
  .info-item { flex-direction: row; justify-content: space-between; text-align: left; padding: 16px var(--side-pad); }
  .info-item + .info-item { border-left: 0; border-top: 1px solid var(--line-dark); }

  .product-split { grid-template-columns: 1fr; }
  .product-card { min-height: 340px; }
  .pillars-grid, .category-grid, .shop-grid, .line-grid, .process-steps { grid-template-columns: 1fr; }
  .pillars-grid .pillar:last-child:nth-child(odd) { grid-column: auto; }
  .values-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .steps-bar { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .notify-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-banner-actions, .cta-banner-actions .btn { width: 100%; text-align: center; }
  .line-item { padding: 28px 24px; }
}

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