:root {
  --bg: #fbf7f0;
  --bg-2: #f3ebe0;
  --card: #ffffff;
  --text: #15130f;
  --muted: #5b544b;
  --line: #e7dfd2;
  --shadow: 0 24px 60px rgba(25, 16, 10, 0.12);
  --shadow-sm: 0 12px 32px rgba(25, 16, 10, 0.08);

  --primary: #2f6b3e;
  --primary-ink: #0f2a17;
  --primary-soft: #e8f0e6;

  --accent: #a86b36;
  --accent-soft: #f1e6d6;

  --radius: 18px;
  --radius-lg: 28px;
  --container: 1160px;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --h1: clamp(2.35rem, 5.5vw, 3.75rem);
  --h2: clamp(1.75rem, 3.2vw, 2.35rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  padding-bottom: 76px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 720px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  z-index: 999;
}

.skip-link:focus {
  left: 12px;
  outline: 3px solid rgba(47, 107, 62, 0.25);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  background: rgba(251, 247, 240, 0.82);
  border-bottom: 1px solid rgba(231, 223, 210, 0.7);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header[data-elevate="true"] {
  box-shadow: var(--shadow-sm);
  background: rgba(251, 247, 240, 0.96);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(25, 16, 10, 0.1);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e7c89d 0%, #c8894f 45%, #2f6b3e 100%);
  box-shadow: 0 8px 20px rgba(25, 16, 10, 0.12);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.nav {
  display: none;
  gap: 6px;
}

.nav-link {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px 12px;
  border-radius: 12px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-link:hover {
  background: rgba(231, 223, 210, 0.5);
  color: var(--text);
}

.header-ctas {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  padding: 11px 16px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid rgba(47, 107, 62, 0.28);
  outline-offset: 2px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 28px rgba(47, 107, 62, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 18px 36px rgba(47, 107, 62, 0.28);
}

.btn-secondary {
  background: var(--primary-soft);
  color: var(--primary-ink);
  border-color: rgba(47, 107, 62, 0.15);
}

.btn-secondary:hover {
  background: #dfeadd;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  background: #fff;
}

.btn-lg {
  padding: 14px 20px;
  border-radius: 16px;
}

/* Typography */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
}

h1 {
  margin: 16px 0 10px;
  font-size: var(--h1);
  line-height: 1.06;
}

h2 {
  margin: 0 0 10px;
  font-size: var(--h2);
  line-height: 1.12;
}

h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 48ch;
  margin: 0 0 18px;
}

/* Images */
.img-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-2);
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.img-frame:hover img {
  transform: scale(1.04);
}

/* Hero */
.hero {
  position: relative;
  padding: 28px 0 48px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(168, 107, 54, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(47, 107, 62, 0.1), transparent 50%),
    linear-gradient(180deg, #fdf9f3 0%, var(--bg) 100%);
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  align-items: center;
}

.hero-copy {
  padding: 8px 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(25, 16, 10, 0.05);
}

.pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(47, 107, 62, 0.15);
}

.subhead {
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  color: var(--muted);
  max-width: 44ch;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.stat {
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  text-align: center;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-ink);
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
}

.hero-gallery {
  position: relative;
  min-height: 380px;
}

.hero-main {
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}

.hero-main .img-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 0.9rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(25, 16, 10, 0.12);
}

.hero-float {
  position: absolute;
  width: 42%;
  aspect-ratio: 5 / 4;
  border: 4px solid #fff;
  box-shadow: var(--shadow-sm);
  display: none;
}

.hero-float-a {
  right: -4%;
  top: 8%;
  transform: rotate(4deg);
}

.hero-float-b {
  left: -2%;
  bottom: 4%;
  transform: rotate(-3deg);
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(246, 241, 232, 0.6) 0%, rgba(251, 247, 240, 0.3) 100%);
  border-top: 1px solid rgba(231, 223, 210, 0.6);
  border-bottom: 1px solid rgba(231, 223, 210, 0.6);
}

.section-head {
  max-width: 68ch;
  margin-bottom: 32px;
}

.section-head-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head-center p {
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 52ch;
}

/* Category grid */
.category-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.category-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.category-media {
  aspect-ratio: 4 / 3;
  border-radius: 0;
}

.category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--accent);
  backdrop-filter: blur(6px);
}

.category-badge-green {
  color: var(--primary-ink);
  background: rgba(232, 240, 230, 0.95);
}

.category-body {
  padding: 18px 20px 22px;
}

.category-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.card-image {
  padding: 0;
  overflow: hidden;
}

.card-image .card-img {
  aspect-ratio: 3 / 2;
  border-radius: 0;
}

.card-image h3,
.card-image p {
  padding: 0 18px;
}

.card-image h3 {
  margin-top: 16px;
}

.card-image p {
  padding-bottom: 18px;
  margin: 0;
  color: var(--muted);
}

.card-tight h3 {
  margin-bottom: 6px;
}

.card-tight p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.grid-3 {
  display: grid;
  gap: 18px;
}

/* Solution split */
.solution-split,
.cafe-split {
  display: grid;
  gap: 32px;
  align-items: center;
}

.solution-visual {
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}

.solution-chip {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(21, 19, 15, 0.78);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  text-align: center;
  backdrop-filter: blur(8px);
}

.benefit-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.benefit-list li {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.98rem;
}

.benefit-list strong {
  color: var(--text);
}

/* Products */
.product-grid {
  display: grid;
  gap: 24px;
}

.product-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-media {
  aspect-ratio: 16 / 10;
  border-radius: 0;
}

.product-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
}

.product-tag-alt {
  background: var(--primary-soft);
  color: var(--primary-ink);
}

.product-body {
  padding: 20px 22px 24px;
}

.product-sub {
  margin: 0 0 12px;
  color: var(--muted);
}

.bullets {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.bullets li {
  margin: 8px 0;
}

.bullets strong {
  color: var(--text);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

/* Callout */
.callout {
  margin-top: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.callout-image {
  display: grid;
  background: var(--card);
}

.callout-img {
  aspect-ratio: 16 / 9;
  max-height: 220px;
}

.callout-inner {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.callout h3 {
  margin: 0 0 6px;
}

.callout p {
  margin: 0;
  color: var(--muted);
}

/* Mosaic */
.mosaic {
  display: grid;
  gap: 18px;
}

.mosaic-large {
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow);
}

.mosaic-cards {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

/* Featured testimonial */
.quote-featured {
  margin: 0;
  display: grid;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.quote-featured-media {
  aspect-ratio: 21 / 9;
  border-radius: 0;
  max-height: 320px;
}

.quote-featured-body {
  padding: 28px 24px 32px;
  background: linear-gradient(180deg, #fff 0%, rgba(251, 247, 240, 0.5) 100%);
}

.quote-featured blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--text);
}

.quote-featured blockquote::before {
  content: "\201C";
  display: block;
  font-size: 3rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.35;
  margin-bottom: 4px;
}

.quote-featured figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Lead form */
.lead-grid {
  display: grid;
  gap: 20px;
}

.form {
  padding: 24px;
}

.field {
  margin-bottom: 14px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

textarea {
  resize: vertical;
  min-height: 88px;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(47, 107, 62, 0.4);
  box-shadow: 0 0 0 4px rgba(47, 107, 62, 0.12);
}

.fineprint {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-status {
  margin-top: 12px;
  font-weight: 500;
}

.form-status.success {
  color: var(--primary-ink);
}

.form-status.error {
  color: #7b2b1d;
}

.lead-aside {
  display: grid;
  gap: 16px;
}

.aside-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--card);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.aside-card-image {
  padding: 0;
  min-height: 200px;
  aspect-ratio: 4 / 3;
}

.aside-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(180deg, transparent 30%, rgba(21, 19, 15, 0.82) 100%);
  color: #fff;
}

.aside-overlay h3 {
  color: #fff;
  margin-bottom: 8px;
}

.aside-list {
  margin: 0;
  padding-left: 18px;
  font-size: 0.92rem;
  opacity: 0.95;
}

.aside-list li {
  margin: 6px 0;
}

/* FAQ */
.faq {
  display: grid;
  gap: 10px;
}

.faq-item {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  padding: 16px 18px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--muted);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-body {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Footer */
.footer {
  background: #15130f;
  color: rgba(255, 255, 255, 0.9);
  padding: 48px 0 28px;
}

.footer .brand-name {
  color: #fff;
}

.footer-story {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.65);
  max-width: 40ch;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.footer-links {
  display: grid;
  gap: 20px;
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  padding: 5px 0;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
}

/* Mobile bar */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  background: rgba(251, 247, 240, 0.95);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
  display: flex;
  gap: 10px;
  z-index: 60;
}

.mobile-bar .btn {
  flex: 1;
}

/* Responsive */
@media (min-width: 640px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-float {
    display: block;
  }
}

@media (min-width: 820px) {
  body {
    padding-bottom: 0;
  }

  .nav {
    display: flex;
  }

  .hero {
    padding: 48px 0 72px;
  }

  .hero-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 40px;
  }

  .hero-cta {
    flex-direction: row;
  }

  .hero-gallery {
    min-height: 480px;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .solution-split,
  .cafe-split {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .cafe-split .cafe-visual {
    order: -1;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .callout-image {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .callout-img {
    max-height: none;
    min-height: 100%;
  }

  .callout-inner {
    padding: 28px;
    justify-content: center;
  }

  .mosaic {
    grid-template-columns: 1.2fr 1fr;
    align-items: stretch;
  }

  .mosaic-large {
    aspect-ratio: auto;
    min-height: 100%;
  }

  .quote-featured {
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
  }

  .quote-featured-media {
    max-height: none;
    min-height: 100%;
    aspect-ratio: auto;
  }

  .quote-featured-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 40px;
  }

  .lead-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }

  .mobile-bar {
    display: none;
  }
}

@media (min-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .category-card,
  .product-card,
  .img-frame img {
    transition: none;
  }
}
