/* ===== FONTS ===== */
:root {
  --cream: #F4EFE4;
  --cream-dark: #EDE6D6;
  --espresso: #2A1B0E;
  --espresso-light: #4A3520;
  --amber: #C9883B;
  --amber-light: #E0A850;
  --amber-pale: #F5E8CC;
  --muted: #8A7A6A;
  --text-light: #6A5A4A;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--espresso);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, blockquote {
  font-family: 'Playfair Display', Georgia, serif;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 clamp(24px, 5vw, 64px);
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(244, 239, 228, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(42, 27, 14, 0.08);
}
.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--espresso);
  letter-spacing: -0.02em;
}
.nav-logo strong { color: var(--amber); }
.nav-tagline {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 100px clamp(24px, 5vw, 80px) 80px;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
}
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  font-weight: 600;
}
.hero-headline {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.05;
  color: var(--espresso);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--text-light);
  line-height: 1.6;
  font-weight: 400;
}
.hero-impact-bar {
  margin-top: 8px;
}
.impact-bar-inner {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, var(--amber-pale) 0%, #FDF6E3 100%);
  border: 1.5px solid rgba(201, 136, 59, 0.3);
  border-radius: 100px;
  padding: 14px 24px;
}
.impact-text {
  display: flex;
  flex-direction: column;
}
.impact-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 2px;
}
.impact-value {
  font-size: 0.9rem;
  color: var(--espresso);
  font-weight: 500;
}

/* ===== COFFEE MACHINE ILLUSTRATION ===== */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.coffee-machine-illustration {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 280px;
}
.machine-body {
  background: var(--espresso);
  border-radius: 20px 20px 8px 8px;
  width: 200px;
  height: 280px;
  position: relative;
  box-shadow:
    0 40px 80px rgba(42, 27, 14, 0.25),
    0 8px 24px rgba(42, 27, 14, 0.15),
    inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: visible;
}
.machine-screen {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 90px;
  background: #1A0F08;
  border-radius: 10px;
  border: 1.5px solid rgba(201, 136, 59, 0.3);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.screen-line {
  height: 4px;
  border-radius: 2px;
  background: rgba(201, 136, 59, 0.25);
}
.screen-line-1 { width: 70%; }
.screen-line-2 { width: 50%; }
.screen-impact {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid rgba(201, 136, 59, 0.2);
}
.impact-icon-wrap { flex-shrink: 0; }
.screen-impact span {
  font-size: 0.6rem;
  color: var(--amber);
  font-weight: 600;
  line-height: 1.4;
}
.machine-spout {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.spout-nozzle {
  width: 24px;
  height: 20px;
  background: var(--espresso-light);
  border-radius: 4px 4px 0 0;
}
.coffee-stream {
  width: 4px;
  height: 30px;
  background: linear-gradient(to bottom, #4A2E12, #8B5E2A);
  border-radius: 2px;
  animation: streamFlow 1.2s ease-in-out infinite;
}
@keyframes streamFlow {
  0%, 100% { opacity: 0.8; height: 30px; }
  50% { opacity: 1; height: 35px; }
}
.cup-below {
  position: relative;
  bottom: -5px;
}
.cup-body {
  width: 36px;
  height: 40px;
  background: #fff;
  border-radius: 4px 4px 8px 8px;
  border: 1.5px solid rgba(42,27,14,0.15);
  box-shadow: 0 4px 12px rgba(42,27,14,0.15);
}
.cup-sleeve {
  position: absolute;
  left: -4px;
  right: -4px;
  top: 14px;
  height: 10px;
  background: var(--cream);
  border: 1px solid rgba(42,27,14,0.1);
  border-radius: 2px;
}
.machine-base {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 24px;
  background: var(--espresso-light);
  border-radius: 0 0 8px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
}
.base-detail {
  width: 40px;
  height: 6px;
  background: rgba(201, 136, 59, 0.3);
  border-radius: 3px;
}
.steam-row {
  display: flex;
  gap: 12px;
  margin-top: -10px;
  position: relative;
  z-index: 1;
}
.steam {
  width: 3px;
  background: rgba(201, 136, 59, 0.2);
  border-radius: 2px;
  animation: steamRise 1.8s ease-out infinite;
}
.steam-1 { height: 30px; animation-delay: 0s; }
.steam-2 { height: 40px; animation-delay: 0.4s; }
.steam-3 { height: 28px; animation-delay: 0.8s; }
@keyframes steamRise {
  0% { opacity: 0; transform: translateY(0) scaleX(1); }
  30% { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(-40px) scaleX(1.5); }
}

/* ===== HOW IT WORKS ===== */
.howitworks {
  background: var(--cream-dark);
  padding: 120px clamp(24px, 5vw, 80px);
}
.section-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 16px;
}
.section-heading {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  color: var(--espresso);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 64px;
  max-width: 600px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.step-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
  background: var(--cream);
  border-radius: 20px;
  border: 1.5px solid rgba(42, 27, 14, 0.06);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(42, 27, 14, 0.08);
}
.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(201, 136, 59, 0.12);
  line-height: 1;
  position: absolute;
  top: 28px;
  right: 32px;
}
.step-card h3 {
  font-size: 1.25rem;
  color: var(--espresso);
  font-weight: 600;
  line-height: 1.3;
}
.step-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ===== IMPACT SECTION ===== */
.impact-section {
  background: var(--cream);
  padding: 120px clamp(24px, 5vw, 80px);
}
.impact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.impact-headline-block h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--espresso);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}
.impact-headline-block h2 em {
  color: var(--amber);
  font-style: italic;
}
.impact-body {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 420px;
}
.impact-screen-mock {
  display: flex;
  justify-content: center;
}
.mock-screen {
  width: 280px;
  background: var(--espresso);
  border-radius: 28px;
  padding: 20px;
  box-shadow:
    0 40px 80px rgba(42, 27, 14, 0.3),
    0 8px 24px rgba(42, 27, 14, 0.2);
}
.mock-screen-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mock-dots { display: flex; gap: 6px; }
.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.mock-title {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}
.mock-screen-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  background: #1A0F08;
  border-radius: 16px;
}
.mock-msg {
  font-size: 1rem;
  color: var(--amber);
  font-weight: 600;
  text-align: center;
}
.mock-impact-highlight {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(201, 136, 59, 0.08);
  border: 1px solid rgba(201, 136, 59, 0.2);
  border-radius: 12px;
  padding: 16px;
}
.impact-child-icon {
  flex-shrink: 0;
}
.impact-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mock-line {
  height: 6px;
  background: rgba(201, 136, 59, 0.4);
  border-radius: 3px;
}
.mock-line-long { width: 100%; }
.mock-line-short { width: 65%; }
.mock-stat-row {
  display: flex;
  gap: 8px;
}
.mock-stat {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
}
.stat-num {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.stat-label {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mock-scan-prompt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(201, 136, 59, 0.06);
  border-radius: 10px;
  border: 1px dashed rgba(201, 136, 59, 0.25);
}
.mock-scan-prompt span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
}

/* ===== QUALITY SECTION ===== */
.quality-section {
  background: var(--espresso);
  padding: 120px clamp(24px, 5vw, 80px);
  color: var(--cream);
}
.quality-header {
  text-align: center;
  margin-bottom: 72px;
}
.quality-header h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--cream);
  font-weight: 700;
  margin-bottom: 20px;
}
.quality-header p {
  font-size: 1.05rem;
  color: rgba(244, 239, 228, 0.6);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}
.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.quality-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 36px 28px;
  transition: background 0.3s ease;
}
.quality-card:hover {
  background: rgba(255,255,255,0.07);
}
.quality-icon {
  margin-bottom: 20px;
}
.quality-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--cream);
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
}
.quality-card p {
  font-size: 0.88rem;
  color: rgba(244, 239, 228, 0.5);
  line-height: 1.65;
}

/* ===== MANIFESTO ===== */
.manifesto-section {
  background: linear-gradient(160deg, var(--amber-pale) 0%, #FDF6E3 60%, var(--cream) 100%);
  padding: 120px clamp(24px, 5vw, 80px);
  position: relative;
  overflow: hidden;
}
.manifesto-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,136,59,0.12) 0%, transparent 70%);
}
.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-quote {
  margin-bottom: 40px;
}
.manifesto-quote p {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-style: italic;
  color: var(--espresso);
  line-height: 1.4;
  font-weight: 400;
}
.manifesto-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
}
.manifesto-body p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
}
.manifesto-tag {
  display: inline-block;
  background: var(--espresso);
  color: var(--amber);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-style: italic;
  padding: 16px 36px;
  border-radius: 100px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--espresso);
  padding: 80px clamp(24px, 5vw, 80px) 40px;
  color: var(--cream);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--cream);
  display: block;
  margin-bottom: 16px;
}
.footer-logo strong { color: var(--amber); }
.footer-desc {
  font-size: 0.9rem;
  color: rgba(244, 239, 228, 0.45);
  line-height: 1.65;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-col h5 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-col p {
  font-size: 0.88rem;
  color: rgba(244, 239, 228, 0.5);
  line-height: 1.7;
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(244, 239, 228, 0.25);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .quality-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 100px;
    min-height: auto;
    gap: 40px;
  }
  .hero-visual { display: none; }
  .impact-content { grid-template-columns: 1fr; gap: 48px; }
  .impact-screen-mock { order: -1; }
  .steps-grid { grid-template-columns: 1fr; }
  .quality-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 480px) {
  .nav-tagline { display: none; }
  .step-card { padding: 28px; }
  .mock-screen { width: 240px; }
}