:root {
  --ink: #4A3226;
  --ink-soft: #7C5A44;
  --cream: #FBF2E4;
  --cream-deep: #F3E1C6;
  --terracotta: #C97B4A;
  --terracotta-deep: #AD5F33;
  --line: rgba(74, 50, 38, 0.14);
  --max: 1080px;
}

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

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display { font-family: 'Fraunces', serif; font-weight: 500; letter-spacing: -0.01em; }
a { color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 760px; }

/* ---------- Nav ---------- */

.nav { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--cream); z-index: 10; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; padding: 20px 28px; flex-wrap: wrap; gap: 14px; }
.nav .brand { font-family: 'Fraunces', serif; font-size: 1.3rem; font-weight: 500; text-decoration: none; color: var(--ink); display: flex; align-items: center; gap: 12px; }
.nav .brand-icon { height: 68px; width: auto; display: block; transition: transform 0.2s ease; }
.nav .brand:hover .brand-icon { transform: scale(1.06); }
.nav .links { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.nav .links a { color: var(--ink-soft); text-decoration: none; font-size: 0.92rem; font-weight: 500; position: relative; padding: 6px 2px; transition: color 0.25s ease; }
.nav .links a::after {
  content: "";
  position: absolute;
  left: 2px; right: 2px; bottom: 0;
  height: 2px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav .links a:hover { color: var(--terracotta-deep); }
.nav .links a:hover::after,
.nav .links a.active::after { transform: scaleX(1); }
.nav .links a.active { color: var(--terracotta-deep); }
.nav .links a.btn-nav { background: var(--terracotta); color: #FFFFFF; padding: 10px 18px; border-radius: 3px; transition: background 0.2s ease, transform 0.2s ease; }
.nav .links a.btn-nav::after { display: none; }
.nav .links a.btn-nav:hover { background: var(--terracotta-deep); color: #FFFFFF; transform: translateY(-2px); }

/* ---------- Buttons ---------- */

.btn { display: inline-block; padding: 13px 26px; text-decoration: none; font-weight: 500; font-size: 0.95rem; border-radius: 3px; transition: background 0.2s ease, color 0.2s ease; }
.btn.solid { background: var(--terracotta); color: #FFFFFF; }
.btn.solid:hover { background: var(--terracotta-deep); }
.btn.outline { background: transparent; color: var(--terracotta-deep); border: 1px solid var(--terracotta-deep); }
.btn.outline:hover { background: var(--terracotta-deep); color: #FFFFFF; }

/* ---------- Hero ---------- */

.hero { padding: 92px 0 68px; border-bottom: 1px solid var(--line); }
.hero.hero-tinted { background: var(--cream-deep); }
.hero .mark { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--terracotta-deep); letter-spacing: 0.04em; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); line-height: 1.08; margin: 20px 0 22px; max-width: 20ch; }
.hero p.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 56ch; margin-bottom: 26px; }
.hero .actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .note { margin-top: 22px; font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Sections ---------- */

.section { padding: 60px 0; border-bottom: 1px solid var(--line); }
.kicker { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--terracotta-deep); letter-spacing: 0.04em; margin-bottom: 16px; }
.section h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); margin-bottom: 14px; max-width: 22ch; }
.section > .wrap > p.intro { color: var(--ink-soft); max-width: 60ch; margin-bottom: 8px; }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 28px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); }

.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 28px; }
.service-card { background: var(--cream-deep); border: 1px solid var(--line); border-radius: 4px; padding: 26px; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.service-card p { color: var(--ink-soft); margin-bottom: 14px; }
.service-card a { color: var(--terracotta-deep); font-weight: 500; text-decoration: none; font-size: 0.9rem; }
.service-card a:hover { text-decoration: underline; }

@media (max-width: 680px) {
  .feature-grid, .service-grid { grid-template-columns: 1fr; }
}

.pull { font-family: 'Fraunces', serif; font-style: italic; font-size: 1.4rem; line-height: 1.4; color: var(--ink); max-width: 34ch; margin: 32px 0; padding-left: 22px; border-left: 2px solid var(--terracotta-deep); }

/* ---------- Chips (service areas) ---------- */

.chip-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip { background: var(--cream-deep); border: 1px solid var(--line); padding: 8px 16px; border-radius: 20px; font-size: 0.88rem; color: var(--ink); }

.county-block { padding: 40px 0; border-top: 1px solid var(--line); }
.county-block:first-of-type { border-top: none; padding-top: 0; }
.county-block h2 { font-size: 1.55rem; margin-bottom: 10px; }
.county-block p { color: var(--ink-soft); max-width: 62ch; }

/* ---------- FAQ ---------- */

.faq-item { padding: 26px 0; border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: 1.12rem; margin-bottom: 8px; }
.faq-item p { color: var(--ink-soft); max-width: 64ch; }

/* ---------- Gallery ---------- */

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.gallery-item { aspect-ratio: 4 / 3; background: var(--cream-deep); border: 1px dashed var(--line); border-radius: 4px; display: flex; align-items: center; justify-content: center; color: var(--ink-soft); font-size: 0.85rem; text-align: center; padding: 16px; }
@media (max-width: 680px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Form (Request a Quote) ---------- */

.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.9rem; font-weight: 500; margin-bottom: 8px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font-family: 'IBM Plex Sans', sans-serif; font-size: 0.95rem;
  border: 1px solid var(--line); border-radius: 3px; background: #FFFFFF; color: var(--ink);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */

.cta-band { padding: 68px 0; text-align: center; background: var(--cream-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-band h2 { font-size: clamp(1.7rem, 3.8vw, 2.3rem); margin-bottom: 12px; }
.cta-band p { color: var(--ink-soft); max-width: 46ch; margin: 0 auto 26px; }

/* ---------- Footer ---------- */

.site-footer { padding: 52px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer-grid .brand.small { font-family: 'Fraunces', serif; font-weight: 500; font-size: 1.05rem; margin-bottom: 10px; }
.footer-grid .footer-logo { height: 76px; width: auto; margin-bottom: 14px; display: block; }
.footer-grid p { color: var(--ink-soft); font-size: 0.88rem; max-width: 30ch; }
.footer-grid .col-title { font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem; letter-spacing: 0.04em; color: var(--terracotta-deep); margin-bottom: 12px; }
.footer-grid div a { display: block; color: var(--ink-soft); text-decoration: none; font-size: 0.88rem; margin-bottom: 8px; }
.footer-grid div a:hover { color: var(--terracotta-deep); }
.legal { border-top: 1px solid var(--line); padding-top: 22px; font-size: 0.8rem; color: var(--ink-soft); }

@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Comparison section (Not all coffee carts) ---------- */

.compare-section { background: var(--cream-deep); }
.compare-grid { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.compare-row {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  gap: 20px;
  align-items: start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.compare-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(74, 50, 38, 0.08);
}
.compare-label { font-family: 'Fraunces', serif; font-weight: 500; font-size: 1.05rem; color: var(--ink); padding-top: 2px; }
.compare-bad, .compare-good { font-size: 0.92rem; line-height: 1.55; }
.compare-bad { color: var(--ink-soft); }
.compare-good { color: var(--ink); }
.mark-x {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(173, 95, 51, 0.12); color: var(--terracotta-deep);
  font-size: 0.75rem; font-weight: 700; margin-right: 6px;
}
.mark-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(122, 148, 84, 0.18); color: #5C7A38;
  font-size: 0.75rem; font-weight: 700; margin-right: 6px;
}

@media (max-width: 820px) {
  .compare-row { grid-template-columns: 1fr; }
  .compare-label { padding-top: 0; }
}

/* ---------- Alternating section tint ---------- */

.section.tint { background: var(--cream-deep); }
.service-detail.tint { background: var(--cream-deep); }
.county-block.tint { background: var(--cream-deep); }
.faq-item:nth-child(even) { background: var(--cream-deep); }
