/* ============================================
   RILEY CONSULTING LLC
   Design System — "Harvest Editorial"
   Warm cream + deep forest + harvest amber
   Fraunces serif display / Inter sans body
   ============================================ */

:root {
  /* Ink */
  --ink: #1D1915;
  --ink-soft: #4A4239;
  --ink-muted: #7A7268;
  --ink-light: #A89F92;

  /* Forest */
  --forest-deep: #0F2E18;
  --forest: #1E4D2B;
  --forest-mid: #2C6B3B;

  /* Amber (harvest / sun / logo) */
  --amber: #C87B1E;
  --amber-bright: #E39A3E;
  --amber-soft: #F2C577;
  --amber-pale: #FBEFD5;

  /* Surfaces */
  --cream: #F5EEDE;
  --cream-light: #FBF7EC;
  --cream-warm: #F0E6CF;
  --cream-mid: #E6DAC0;
  --paper: #FEFCF6;
  --white: #FFFFFF;

  /* Sage / moss */
  --sage: #A8B47A;
  --sage-deep: #738456;

  /* Lines */
  --rule: #D9CEB5;
  --rule-soft: #E8DEC8;

  /* Fonts */
  --serif: 'Fraunces', 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --max: 1200px;
  --max-narrow: 860px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 7rem);
  --nav-h: 72px;
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream-light);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'ss02';
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.75rem); line-height: 1.02; font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; font-weight: 500; }
h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); line-height: 1.2; font-weight: 500; }
h4 { font-size: 1.1rem; line-height: 1.3; font-weight: 600; font-family: var(--sans); letter-spacing: 0; }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.serif { font-family: var(--serif); }
.italic { font-style: italic; }

/* Eyebrow — smaller, amber, highly spaced */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--amber);
}

.lead {
  font-size: 1.22rem;
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 400;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: var(--max-narrow); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: var(--section-y) 0; }

.section-header { max-width: 760px; margin-bottom: 3.5rem; }
.section-header .lead { margin-top: 1rem; }

/* Divider rules — distinctive asymmetric style */
.rule-short { width: 48px; height: 2px; background: var(--amber); border: 0; margin: 0 0 1.5rem; }
.rule-full { height: 1px; background: var(--rule); border: 0; margin: 3rem 0; }

/* Logo images */
.nav-logo-img {
  height: 38px;
  width: auto;
  display: block;
}
.footer-logo-img {
  height: 44px;
  width: auto;
  display: block;
  margin-bottom: 0.75rem;
  filter: brightness(0) invert(1); /* force white if needed */
}
@media (max-width: 860px) {
  .nav-logo-img { height: 30px; }
}

/* Photo utility classes */
.photo-full {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.photo-portrait {
  width: 100%;
  max-width: 320px;
  border-radius: 6px;
  object-fit: cover;
  display: block;
  box-shadow: 0 8px 28px rgba(31,46,24,0.14);
}
.photo-caption {
  font-size: 0.78rem;
  color: var(--ink-muted);
  font-style: italic;
  margin-top: 0.6rem;
  text-align: center;
}
.photo-canola {
  width: 100%;
  border-radius: 6px;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(31,46,24,0.12);
}
.photo-field-full {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 6px;
  display: block;
  margin: 2rem 0;
}

/* ============================================ NAV (updated for logo image) ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(251, 247, 236, 0.88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.nav.scrolled {
  border-bottom-color: var(--rule);
  background: rgba(251, 247, 236, 0.97);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter); height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
  display: flex; align-items: center; gap: 0.7rem;
  text-decoration: none; color: var(--ink);
}
.nav-mark { width: 36px; height: 36px; flex-shrink: 0; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.nav-brand-name {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 500;
  color: var(--ink); letter-spacing: -0.015em;
}
.nav-brand-sub {
  font-size: 0.58rem; font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.2em; text-transform: uppercase;
}
.nav-links {
  display: flex; align-items: center; gap: 0.15rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  font-size: 0.88rem; font-weight: 500;
  color: var(--ink-soft);
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--forest); }
.nav-links a.active {
  color: var(--forest); font-weight: 600;
}
.nav-cta {
  background: var(--forest) !important;
  color: var(--cream-light) !important;
  padding: 0.55rem 1.1rem !important;
  border-radius: 4px;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  transition: background .15s !important;
  margin-left: 0.5rem;
}
.nav-cta:hover { background: var(--forest-deep) !important; }
.nav-cta.active { background: var(--forest-deep) !important; }
@media (max-width: 860px) {
  .nav-links li:not(:last-child):not(:nth-last-child(2)) { display: none; }
  .nav-brand-sub { display: none; }
}

/* ============================================ HERO (home) ============================================ */
.hero-home {
  background: var(--forest-deep);
  color: var(--cream-light);
  position: relative;
  padding: calc(var(--nav-h) + 5rem) 0 5.5rem;
  overflow: hidden;
}
.hero-home::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(226,154,62,0.18), transparent 50%),
    radial-gradient(ellipse at 10% 80%, rgba(46,107,59,0.25), transparent 50%);
  pointer-events: none;
}
.hero-home .container { position: relative; z-index: 1; }
.hero-home .eyebrow { color: var(--amber-soft); }
.hero-home .eyebrow::before { background: var(--amber-soft); }
.hero-home h1 {
  color: var(--cream-light);
  max-width: 960px;
  margin-bottom: 1.5rem;
}
.hero-home h1 em { font-style: italic; color: var(--amber-bright); font-weight: 400; }
.hero-home .lead {
  color: rgba(251, 247, 236, 0.78);
  max-width: 620px;
  font-size: 1.28rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.25rem; }
.hero-marquee {
  margin-top: 3.5rem; padding-top: 2rem;
  border-top: 1px solid rgba(251,247,236,0.12);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem;
}
.marquee-item .mq-num {
  font-family: var(--serif); font-size: 2.2rem;
  color: var(--amber-bright); font-weight: 400;
  line-height: 1; margin-bottom: 0.4rem;
  font-style: italic;
}
.marquee-item .mq-label {
  font-size: 0.78rem; color: rgba(251,247,236,0.6);
  letter-spacing: 0.05em; line-height: 1.4;
}

/* ============================================ HERO (internal pages) ============================================ */
.hero-page {
  background: var(--cream-light);
  padding: calc(var(--nav-h) + 4rem) 0 3rem;
  border-bottom: 1px solid var(--rule-soft);
  position: relative;
}
.hero-page h1 {
  max-width: 900px;
  margin-bottom: 0;
}
.hero-page h1 em { font-style: italic; color: var(--amber); font-weight: 400; }
.hero-page .lead { margin-top: 1.5rem; max-width: 680px; }

/* ============================================ BUTTONS ============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 1.7rem;
  font-family: var(--sans);
  font-size: 0.95rem; font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 3px;
  cursor: pointer; border: none;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(31, 46, 24, 0.18); }
.btn-amber { background: var(--amber); color: var(--cream-light); }
.btn-amber:hover { background: var(--amber-bright); }
.btn-forest { background: var(--forest); color: var(--cream-light); }
.btn-forest:hover { background: var(--forest-deep); }
.btn-cream { background: var(--cream-light); color: var(--forest); }
.btn-cream:hover { background: var(--white); }
.btn-outline-light { background: transparent; color: var(--cream-light); border: 1.5px solid rgba(251,247,236,0.5); padding: calc(0.9rem - 1.5px) calc(1.7rem - 1.5px); }
.btn-outline-light:hover { border-color: var(--cream-light); background: rgba(251,247,236,0.08); }
.btn-outline { background: transparent; color: var(--forest); border: 1.5px solid var(--forest); padding: calc(0.9rem - 1.5px) calc(1.7rem - 1.5px); }
.btn-outline:hover { background: var(--forest); color: var(--cream-light); }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(4px); }

/* Text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 600; font-size: 0.92rem;
  color: var(--forest);
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
.link-arrow .arrow { transition: transform .15s; }
.link-arrow:hover { color: var(--amber); border-bottom-color: var(--amber); }
.link-arrow:hover .arrow { transform: translateX(3px); }

/* ============================================ CARDS ============================================ */
.card {
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-radius: 6px;
  padding: 1.85rem;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(31, 46, 24, 0.08);
  border-color: var(--rule);
}
.card h3 { margin-bottom: 0.7rem; }
.card p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; line-height: 1.6; }
.card-num {
  font-family: var(--serif); font-style: italic;
  font-size: 2rem; color: var(--amber);
  font-weight: 400; line-height: 1;
  display: block; margin-bottom: 0.9rem;
}
.card-accent { border-top: 3px solid var(--amber); }

/* Icon card */
.card-icon { padding-top: 2.1rem; }
.card-ico {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: var(--amber-pale);
  border-radius: 50%;
  margin-bottom: 1rem;
}
.card-ico svg { width: 22px; height: 22px; stroke: var(--amber-dark, var(--amber)); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================ PROBLEM GRID ============================================ */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 860px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-card {
  background: transparent; padding: 0;
  border: 0; border-top: 1px solid var(--rule);
  padding-top: 2rem;
}
.problem-stat {
  font-family: var(--serif); font-style: italic;
  font-size: 3.8rem; font-weight: 400;
  color: var(--forest); line-height: 1;
  margin-bottom: 0.8rem;
  letter-spacing: -0.03em;
}
.problem-stat-label { display: block; font-family: var(--sans); font-size: 0.82rem; font-style: normal; color: var(--amber); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; margin-bottom: 0.3rem; }
.problem-card p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; line-height: 1.55; }

/* ============================================ PILLARS (Why/Differentiators) ============================================ */
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2.5rem;
}
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; gap: 2.5rem; } }
.pillar .pillar-num {
  font-family: var(--serif); font-style: italic;
  color: var(--amber); font-size: 1rem;
  font-weight: 500; letter-spacing: 0.02em;
  margin-bottom: 0.75rem; display: block;
}
.pillar h3 { margin-bottom: 0.75rem; }
.pillar p { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.6; margin: 0; }

/* ============================================ TIMELINE ============================================ */
.timeline {
  position: relative;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem 0;
}
.timeline::before {
  content: ''; position: absolute;
  left: 120px; top: 0; bottom: 0;
  width: 1px; background: var(--rule);
}
@media (max-width: 700px) { .timeline::before { left: 12px; } }
.tl-item {
  position: relative; display: grid;
  grid-template-columns: 120px 1fr; gap: 2rem;
  padding: 0 0 2.5rem;
}
@media (max-width: 700px) { .tl-item { grid-template-columns: 1fr; gap: 0.5rem; padding-left: 2.5rem; } }
.tl-item:last-child { padding-bottom: 0; }
.tl-year {
  font-family: var(--serif); font-style: italic;
  font-size: 1.25rem; color: var(--amber);
  font-weight: 500; line-height: 1.2;
  padding-top: 3px;
  text-align: right;
}
@media (max-width: 700px) { .tl-year { text-align: left; font-size: 1.05rem; } }
.tl-dot {
  position: absolute; left: 114px; top: 10px;
  width: 13px; height: 13px;
  background: var(--amber); border: 3px solid var(--cream-light);
  border-radius: 50%;
}
@media (max-width: 700px) { .tl-dot { left: 6px; top: 10px; } }
.tl-content h4 { margin-bottom: 0.3rem; font-size: 1.02rem; color: var(--forest); }
.tl-content p { color: var(--ink-soft); font-size: 0.94rem; margin: 0; line-height: 1.55; }

/* ============================================ DARK SECTION (forest) ============================================ */
.section-forest {
  background: var(--forest-deep);
  color: var(--cream-light);
  position: relative;
  overflow: hidden;
}
.section-forest::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 90% 10%, rgba(226,154,62,0.10), transparent 60%);
  pointer-events: none;
}
.section-forest .container { position: relative; z-index: 1; }
.section-forest h2 { color: var(--cream-light); }
.section-forest h2 em { color: var(--amber-bright); font-style: italic; font-weight: 400; }
.section-forest .eyebrow { color: var(--amber-soft); }
.section-forest .eyebrow::before { background: var(--amber-soft); }
.section-forest .lead { color: rgba(251,247,236,0.75); }

/* ============================================ SECTION BACKGROUNDS ============================================ */
.section-paper { background: var(--paper); }
.section-cream { background: var(--cream-light); }
.section-warm { background: var(--cream); }

/* ============================================ CTA BAND ============================================ */
.cta-band {
  background: var(--forest-deep);
  color: var(--cream-light);
  padding: calc(var(--section-y) + 0.5rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 75% 30%, rgba(226,154,62,0.15), transparent 50%),
    radial-gradient(ellipse at 25% 70%, rgba(46,107,59,0.2), transparent 50%);
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 {
  color: var(--cream-light);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 1.25rem;
}
.cta-band h2 em { font-style: italic; color: var(--amber-bright); font-weight: 400; }
.cta-band .lead {
  color: rgba(251,247,236,0.78);
  max-width: 620px; margin: 0 auto 2.5rem;
}
.cta-band .cta-note {
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: rgba(251,247,236,0.5);
  font-style: italic;
}

/* ============================================ STATS STRIP ============================================ */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
@media (max-width: 760px) { .stats-strip { grid-template-columns: repeat(2, 1fr); } }
.stats-strip > div {
  padding: 2.5rem 1.5rem;
  border-right: 1px solid var(--rule);
  text-align: center;
}
.stats-strip > div:last-child { border-right: none; }
@media (max-width: 760px) {
  .stats-strip > div:nth-child(2) { border-right: none; }
  .stats-strip > div:nth-child(1), .stats-strip > div:nth-child(2) { border-bottom: 1px solid var(--rule); }
}
.stats-strip .s-num {
  font-family: var(--serif); font-style: italic;
  font-size: 3rem; color: var(--forest); font-weight: 400;
  line-height: 1; display: block; margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}
.stats-strip .s-label {
  font-size: 0.78rem; color: var(--ink-muted);
  letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500;
}

/* ============================================ CASE STUDY ============================================ */
.case-study {
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1.75rem;
}
.cs-header {
  padding: 1.75rem 2rem;
  background: var(--forest-deep);
  color: var(--cream-light);
  border-bottom: 3px solid var(--amber);
}
.cs-crop {
  font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--amber-soft);
  font-weight: 600; margin-bottom: 0.5rem;
}
.cs-header h3 { color: var(--cream-light); font-size: 1.45rem; margin: 0; }
.cs-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 0;
}
@media (max-width: 780px) { .cs-body { grid-template-columns: 1fr; } }
.cs-col {
  padding: 1.75rem 2rem;
  border-right: 1px solid var(--rule-soft);
}
.cs-col:last-child { border-right: none; }
@media (max-width: 780px) {
  .cs-col { border-right: none; border-bottom: 1px solid var(--rule-soft); }
  .cs-col:last-child { border-bottom: none; }
}
.cs-label {
  font-size: 0.68rem; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 600;
  color: var(--amber); margin-bottom: 0.75rem;
}
.cs-col p { color: var(--ink-soft); font-size: 0.93rem; margin: 0; line-height: 1.6; }

/* ============================================ SERVICE / WHO WE SERVE GRID ============================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 760px) { .service-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-radius: 6px;
  padding: 2rem;
  display: flex; gap: 1.25rem;
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(31,46,24,.08); }
.service-ico {
  flex-shrink: 0;
  width: 46px; height: 46px;
  background: var(--forest-deep);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.service-ico svg {
  width: 22px; height: 22px;
  stroke: var(--amber-bright); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.service-body h3 {
  font-size: 1.2rem; margin-bottom: 0.5rem;
  font-weight: 500;
}
.service-body p {
  color: var(--ink-soft);
  font-size: 0.94rem; line-height: 1.55; margin: 0;
}

/* ============================================ ENGAGEMENT CARDS ============================================ */
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) { .engagement-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .engagement-grid { grid-template-columns: 1fr; } }
.eng-card {
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-radius: 6px;
  padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column;
}
.eng-card:hover { border-color: var(--amber); }
.eng-duration {
  font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 600;
  color: var(--amber); margin-bottom: 0.75rem;
}
.eng-card h3 {
  font-size: 1.3rem; margin-bottom: 1rem;
  color: var(--forest);
}
.eng-card ul {
  list-style: none; padding: 0; margin: 0 0 0;
}
.eng-card li {
  font-size: 0.87rem; color: var(--ink-soft);
  padding: 0.3rem 0 0.3rem 1rem;
  position: relative;
  line-height: 1.45;
}
.eng-card li::before {
  content: '—'; position: absolute;
  left: 0; color: var(--amber);
}

/* ============================================ STEPS ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
@media (max-width: 780px) { .steps-grid { grid-template-columns: 1fr; } }
.step-big-num {
  font-family: var(--serif); font-style: italic;
  font-size: 4.5rem; font-weight: 400;
  color: var(--amber); line-height: 1;
  margin-bottom: 1rem; letter-spacing: -0.03em;
}
.step-label {
  font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 600;
  color: var(--ink-muted); margin-bottom: 0.3rem;
}
.step-item h3 { margin-bottom: 0.8rem; }
.step-item p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; }
.step-item .step-meta {
  margin-top: 0.75rem; font-size: 0.82rem;
  color: var(--ink-muted); font-style: italic;
}

/* ============================================ PRODUCT TABLE ============================================ */
.table-wrap {
  overflow-x: auto;
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-radius: 6px;
  margin-top: 2rem;
}
.product-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 720px;
}
.product-table thead {
  background: var(--forest-deep);
}
.product-table th {
  color: var(--amber-soft);
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}
.product-table td {
  padding: 0.85rem 1.25rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule-soft);
}
.product-table tbody tr:hover { background: var(--cream); }
.product-table tbody tr:last-child td { border-bottom: none; }
.product-table .p-product {
  font-weight: 600; color: var(--ink);
}
.product-table .p-company {
  font-family: var(--serif); font-style: italic;
  color: var(--forest); font-weight: 500;
}
.stars {
  color: var(--amber);
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  white-space: nowrap;
}
.stars .dim { color: var(--cream-mid); }

/* ============================================ FOOTER ============================================ */
footer {
  background: var(--forest-deep);
  color: rgba(251,247,236,0.65);
  padding: 4rem 0 2rem;
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand {
  font-family: var(--serif); font-size: 1.35rem;
  font-weight: 500; color: var(--cream-light);
  margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.footer-mark { width: 28px; height: 28px; flex-shrink: 0; }
.footer-tagline {
  color: rgba(251,247,236,0.5);
  font-family: var(--serif); font-style: italic;
  line-height: 1.5; max-width: 300px;
  font-size: 0.95rem;
}
footer h4 {
  color: var(--amber-soft);
  font-family: var(--sans); font-size: 0.7rem;
  font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; margin-bottom: 1.1rem;
}
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 0.55rem; }
footer a { color: rgba(251,247,236,0.65); transition: color .15s; }
footer a:hover { color: var(--cream-light); }
.footer-legal {
  padding-top: 2rem; border-top: 1px solid rgba(251,247,236,0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.78rem; color: rgba(251,247,236,0.38);
}
.footer-legal em { font-style: italic; color: var(--amber-soft); }

/* ============================================ ANIMATION ============================================ */
/* Fade-in is progressive enhancement: visible by default, only hidden when JS confirms it can animate. */
.fade-in { opacity: 1; transform: none; }
.js-loaded .fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s ease, transform .65s ease;
}
.js-loaded .fade-in.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js-loaded .fade-in { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================ TWO-COLUMN ============================================ */
.two-col {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4rem; align-items: start;
}
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }
.two-col-reverse { grid-template-columns: 7fr 5fr; }
.two-col-even { grid-template-columns: 1fr 1fr; }

/* ============================================ CONTACT CARD ============================================ */
.contact-card {
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-left: 4px solid var(--amber);
  border-radius: 6px;
  padding: 2.5rem;
}
.contact-row {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule-soft);
}
.contact-row:last-child { border-bottom: none; }
.contact-row:first-child { padding-top: 0; }
.contact-ico {
  width: 38px; height: 38px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--amber-pale);
  border-radius: 50%;
}
.contact-ico svg { width: 18px; height: 18px; stroke: var(--amber); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-row .c-label {
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 600; margin-bottom: 0.1rem;
}
.contact-row .c-value { font-size: 1rem; color: var(--ink); font-weight: 500; }
.contact-row a.c-value { color: var(--forest); }
.contact-row a.c-value:hover { color: var(--amber); }

/* ============================================ TAGS / CHIPS ============================================ */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.chip {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--amber-pale);
  color: var(--amber-dark, #9A5C15);
  font-size: 0.78rem;
  font-weight: 500;
  border-radius: 50px;
  letter-spacing: 0.01em;
}

/* ============================================ LARGE QUOTE ============================================ */
.large-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.35;
  color: var(--ink);
  max-width: 820px;
  margin: 2rem 0;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.large-quote::before {
  content: '"';
  display: block;
  font-size: 3.5rem;
  line-height: 1; color: var(--amber);
  margin-bottom: 0.2rem;
  font-weight: 400;
}
.quote-attrib {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  margin-top: 1.5rem;
}

/* ============================================ UTIL ============================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 2rem; }
