/* =============================================================================
   Elinor Vending — design system
   Warm, premium, coffee-inspired. Approved palette only.
   ========================================================================== */
:root {
  /* Brand palette */
  --linen: #F5F1EA;
  --khaki: #D7C9B8;
  --camel: #B2967D;
  --cocoa: #7D5A44;
  --espresso: #4A342A;

  /* Derived neutrals (all within the warm family) */
  --linen-deep: #ECE3D5;
  --cocoa-dark: #5E4332;
  --camel-soft: #C9B6A1;
  --paper: #FFFDF8;
  --ink: var(--espresso);
  --muted: #6E5848;
  --line: #E2D7C7;
  --gold: #B8860B;

  /* Typography */
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-h1: clamp(2.25rem, 1.4rem + 3.6vw, 3.5rem);   /* 36 -> 56 */
  --fs-h2: clamp(1.875rem, 1.4rem + 2vw, 2.5rem);    /* 30 -> 40 */
  --fs-h3: clamp(1.375rem, 1.15rem + 1vw, 1.75rem);  /* 22 -> 28 */
  --fs-body: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);/* 16 -> 18 */

  /* Spacing & shape */
  --space-section: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  --container: 1140px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 14px rgba(74, 52, 36, 0.08);
  --shadow-md: 0 12px 34px rgba(74, 52, 36, 0.14);
  --ring: 0 0 0 3px rgba(125, 90, 68, 0.35);
}

/* ---- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--linen);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--cocoa); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--espresso); }
ul { padding: 0; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--espresso); line-height: 1.18; font-weight: 700; }
h1 { font-size: var(--fs-h1); letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

/* ---- Accessibility -------------------------------------------------------- */
:focus-visible { outline: 3px solid var(--cocoa); outline-offset: 2px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 200;
  background: var(--espresso); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }
.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;
}

/* ---- Layout --------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1rem, 0.5rem + 2vw, 2rem); }
section { padding-block: var(--space-section); }
.section-alt { background: var(--khaki); }
.section-deep { background: var(--espresso); color: var(--linen); }
.section-deep h2, .section-deep h3 { color: var(--paper); }
.lead { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem); color: var(--muted); max-width: 60ch; }
.section-head { max-width: 62ch; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-family: var(--font-body); font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.8rem;
  color: var(--cocoa); margin-bottom: 0.75rem;
}

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1.0625rem;
  padding: 0.95rem 1.6rem; border-radius: 12px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; line-height: 1.1;
  transition: background-color .2s ease, color .2s ease, transform .05s ease, box-shadow .2s ease;
  min-height: 52px; /* comfortable touch target (Fitts's Law) */
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cocoa); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--espresso); color: #fff; }
.btn-secondary { background: transparent; color: var(--espresso); border-color: var(--camel); }
.btn-secondary:hover { background: var(--camel-soft); color: var(--espresso); }
.btn-ghost { background: var(--paper); color: var(--espresso); border-color: var(--line); }
.btn-ghost:hover { background: var(--linen-deep); }
.btn-block { width: 100%; }
.btn-lg { font-size: 1.15rem; padding: 1.05rem 1.9rem; }
.section-deep .btn-secondary { color: var(--linen); border-color: var(--camel); }
.section-deep .btn-secondary:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ---- Header / navigation -------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(245, 241, 234, 0.92);
  backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--espresso); text-decoration: none; }
.brand:hover { color: var(--espresso); }
.brand .cup-mark { width: 30px; height: 30px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 0.35rem; list-style: none; margin: 0; }
.nav-links a {
  display: inline-block; padding: 0.55rem 0.85rem; border-radius: 8px;
  font-weight: 500; color: var(--espresso); text-decoration: none;
}
.nav-links a:hover { background: var(--linen-deep); }
.nav-links a[aria-current="page"] { color: var(--cocoa); font-weight: 600; }
.nav-spacer { flex: 1; }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; }

.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--paper); }
.lang-switch button {
  font: inherit; font-size: 0.85rem; font-weight: 600; border: 0; background: transparent;
  color: var(--muted); padding: 0.4rem 0.7rem; cursor: pointer; min-height: 38px;
}
.lang-switch button[aria-pressed="true"] { background: var(--cocoa); color: #fff; }

.btn-call { white-space: nowrap; }
.btn-call .phone-icon { width: 18px; height: 18px; }

/* Mobile menu toggle */
.nav-toggle { display: none; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

/* The slide-down menu is hidden by default and only used on small screens
   (its positioning/visibility is defined in the responsive section below). */
.mobile-menu { display: none; }

/* ---- Hero ----------------------------------------------------------------- */
.hero { background: linear-gradient(180deg, var(--linen) 0%, var(--linen-deep) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: 1.1rem; }
.hero .lead { margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.75rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; list-style: none; margin: 0; }
.hero-badges li { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--cocoa-dark); }
.hero-badges svg { width: 20px; height: 20px; flex: none; color: var(--cocoa); }
.hero-visual {
  background: var(--camel); border-radius: var(--radius); box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 1.5rem;
  background-image: linear-gradient(135deg, var(--camel) 0%, var(--cocoa) 100%);
}
.hero-visual svg { width: min(70%, 260px); height: auto; }

/* ---- Cards ---------------------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm); height: 100%;
}
.card .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--linen-deep); display: grid; place-items: center; margin-bottom: 1rem; color: var(--cocoa); }
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.card p { color: var(--muted); }

/* ---- Feature / check lists ------------------------------------------------ */
.check-list { list-style: none; margin: 0; display: grid; gap: 0.75rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.7rem; }
.check-list svg { width: 22px; height: 22px; flex: none; color: var(--cocoa); margin-top: 2px; }
.section-deep .check-list svg { color: var(--camel-soft); }
.pill-list { list-style: none; margin: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pill-list li { background: var(--linen); border: 1px solid var(--line); color: var(--espresso); padding: 0.5rem 1rem; border-radius: 999px; font-weight: 500; }
.section-alt .pill-list li { background: var(--paper); }

/* ---- About ---------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
.stat-row { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 1.75rem; }
.stat { }
.stat b { display: block; font-family: var(--font-head); font-size: 2.2rem; color: var(--cocoa); line-height: 1; }
.stat span { color: var(--muted); font-size: 0.95rem; }

/* ---- Service detail blocks ------------------------------------------------ */
.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,1rem+3vw,3.5rem); align-items: start; padding-block: 2.5rem; border-top: 1px solid var(--line); }
.service-block:first-of-type { border-top: 0; }
.service-block .num { font-family: var(--font-head); font-size: 1.1rem; color: var(--camel); font-weight: 700; }

/* ---- CTA band ------------------------------------------------------------- */
.cta-band { background: linear-gradient(135deg, var(--cocoa) 0%, var(--espresso) 100%); color: var(--linen); border-radius: var(--radius); padding: clamp(2rem, 1.5rem + 3vw, 3.5rem); text-align: center; box-shadow: var(--shadow-md); }
.cta-band h2 { color: var(--paper); margin-bottom: 0.75rem; }
.cta-band p { color: var(--linen); opacity: 0.92; max-width: 52ch; margin-inline: auto; margin-bottom: 1.75rem; }
.cta-band .btn-primary { background: var(--linen); color: var(--espresso); }
.cta-band .btn-primary:hover { background: #fff; color: var(--espresso); }

/* ---- Contact -------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem,1rem+4vw,3.5rem); align-items: start; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.phone-cta { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-head); font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2rem); color: var(--cocoa); text-decoration: none; font-weight: 700; }
.phone-cta:hover { color: var(--espresso); }

.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; font-weight: 600; margin-bottom: 0.4rem; color: var(--espresso); }
.form-field .req { color: var(--cocoa); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--linen);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.8rem 0.95rem;
  min-height: 52px;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--cocoa); box-shadow: var(--ring); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.9rem; color: var(--muted); margin-top: 0.75rem; }
.form-status { margin-top: 1rem; padding: 0.85rem 1rem; border-radius: var(--radius-sm); font-weight: 500; display: none; }
.form-status.is-success { display: block; background: #E7F0E4; color: #2F5A2A; border: 1px solid #B9D4B0; }
.form-status.is-error { display: block; background: #F6E2DE; color: #8A2D1C; border: 1px solid #E2B6AC; }

.map-placeholder { margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--khaki); aspect-ratio: 16 / 7; display: grid; place-items: center; color: var(--cocoa-dark); text-align: center; padding: 1rem; }
.map-placeholder svg { width: 40px; height: 40px; margin-bottom: 0.5rem; }

/* ---- Footer --------------------------------------------------------------- */
.site-footer { background: var(--espresso); color: var(--linen); padding-block: 3rem 2rem; }
.site-footer a { color: var(--khaki); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.site-footer .brand { color: var(--paper); }
.site-footer h4 { color: var(--paper); font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.9rem; }
.footer-links { list-style: none; margin: 0; display: grid; gap: 0.5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; font-size: 0.9rem; color: var(--khaki); }

/* ---- Sticky mobile call bar ---------------------------------------------- */
.mobile-call-bar { display: none; }

/* ---- Legal / prose -------------------------------------------------------- */
.prose { max-width: 75ch; }
.prose h2 { margin-top: 2.25rem; margin-bottom: 0.75rem; }
.prose h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul { margin: 0.5rem 0 1rem 1.25rem; }

/* =============================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1023px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero-grid, .split, .contact-grid, .service-block { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .nav-links, .nav-actions .btn-call { display: none; }
  .nav-toggle { display: inline-flex; }

  /* Slide-down mobile menu */
  .mobile-menu {
    display: none; position: fixed; inset: 72px 0 0 0; z-index: 99;
    background: var(--linen); padding: 1.5rem; overflow-y: auto;
  }
  .mobile-menu.open { display: block; }
  .mobile-menu ul { list-style: none; display: grid; gap: 0.25rem; margin-bottom: 1.5rem; }
  .mobile-menu a { display: block; padding: 0.9rem 1rem; border-radius: 10px; font-size: 1.2rem; font-weight: 600; color: var(--espresso); text-decoration: none; }
  .mobile-menu a:hover, .mobile-menu a[aria-current="page"] { background: var(--linen-deep); }

  /* Sticky bottom call button (primary conversion goal on mobile) */
  .mobile-call-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(245,241,234,0.95); backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
  }
  .mobile-call-bar .btn { width: 100%; }
  body { padding-bottom: 84px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* =============================================================================
   Motion & micro-interactions — "from bean to cup to fortune"
   Every animation echoes the product: rising steam, drifting coffee beans,
   a gently floating cup, content that settles into place, and a fortune that
   prints out like a receipt. GPU-only (transform/opacity), palette-only,
   and fully disabled under prefers-reduced-motion.
   ========================================================================== */

/* ---- Scroll reveal -------------------------------------------------------- */
.reveal-init {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal-init.is-visible { opacity: 1; transform: none; }
/* Stagger cards/steps within a grid as they reveal together */
.card-grid > [data-reveal]:nth-child(2) { --reveal-delay: 80ms; }
.card-grid > [data-reveal]:nth-child(3) { --reveal-delay: 160ms; }
.card-grid > [data-reveal]:nth-child(4) { --reveal-delay: 240ms; }

/* ---- Shared keyframes ----------------------------------------------------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes cupFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes glowPulse { 0%, 100% { opacity: .45; } 50% { opacity: .9; } }
/* A wisp of steam: fades in, rises, drifts away */
@keyframes steamRise {
  0%   { opacity: 0; transform: translateY(6px) scaleY(.85); }
  30%  { opacity: .85; }
  70%  { opacity: .35; }
  100% { opacity: 0; transform: translateY(-16px) scaleY(1.12); }
}
/* Coffee beans / aroma drifting upward */
@keyframes beanDrift {
  0%   { opacity: 0; transform: translateY(24px) rotate(0deg); }
  15%  { opacity: .55; }
  85%  { opacity: .45; }
  100% { opacity: 0; transform: translateY(-130px) rotate(170deg); }
}
/* A light sweep across the fortune card */
@keyframes shineSweep { 0%, 55% { left: -65%; } 82%, 100% { left: 135%; } }

/* ---- Hero entrance -------------------------------------------------------- */
.hero h1,
.hero .lead,
.hero-actions,
.hero-badges,
.hero-visual { animation: fadeUp .85s cubic-bezier(.2, .7, .2, 1) both; }
.hero .lead { animation-delay: .08s; }
.hero-visual { animation-delay: .14s; }
.hero-actions { animation-delay: .2s; }
.hero-badges { animation-delay: .3s; }

/* ---- Hero visual: floating cup, steam, drifting beans, soft glow --------- */
.hero-visual { position: relative; overflow: hidden; }
.hero-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 44%, rgba(245, 241, 234, .30), rgba(245, 241, 234, 0) 62%);
  animation: glowPulse 6s ease-in-out infinite;
}
.hero-cup { position: relative; z-index: 2; animation: cupFloat 6s ease-in-out infinite; }
.hero-cup .steam { opacity: 0; transform-origin: bottom center; animation: steamRise 3.6s ease-in-out infinite; }
.hero-cup .steam.s2 { animation-delay: 1.2s; }
.hero-cup .steam.s3 { animation-delay: 2.4s; }
.bean { position: absolute; z-index: 1; width: 20px; height: auto; opacity: 0; animation: beanDrift linear infinite; }
.bean-1 { left: 14%; top: 80%; width: 17px; animation-duration: 9s;  animation-delay: 0s; }
.bean-2 { left: 72%; top: 84%; width: 25px; animation-duration: 11s; animation-delay: 2.2s; }
.bean-3 { left: 32%; top: 90%; width: 14px; animation-duration: 8s;  animation-delay: 4s; }
.bean-4 { left: 58%; top: 92%; width: 20px; animation-duration: 12s; animation-delay: 1.2s; }
.bean-5 { left: 84%; top: 72%; width: 16px; animation-duration: 10s; animation-delay: 3.4s; }

/* ---- Header elevation on scroll ------------------------------------------ */
.site-header { transition: box-shadow .3s ease, background-color .3s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 22px rgba(74, 52, 36, .10); }

/* ---- Nav: animated underline --------------------------------------------- */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .34rem; height: 2px;
  background: var(--cocoa); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

/* ---- Buttons: hover lift + glow ------------------------------------------ */
.btn { transition: background-color .2s ease, color .2s ease, transform .16s ease, box-shadow .2s ease; }
.btn-primary:hover { box-shadow: var(--shadow-md); }
.btn-primary:hover:not(:active) { transform: translateY(-2px); }
.btn-secondary:hover:not(:active),
.btn-ghost:hover:not(:active) { transform: translateY(-1px); }

/* ---- Cards: lift, with the icon tile "warming up" ------------------------ */
.card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--camel-soft); }
.card .icon { transition: transform .25s ease, background-color .25s ease, color .25s ease; }
.card:hover .icon { transform: translateY(-2px) rotate(-5deg); background: var(--camel); color: var(--paper); }

/* ---- Pills: subtle hover -------------------------------------------------- */
.pill-list li { transition: transform .2s ease, background-color .2s ease, border-color .2s ease; }
.pill-list li:hover { transform: translateY(-2px); border-color: var(--camel); background: var(--paper); }

/* =============================================================================
   Smart Fortune showcase (homepage)
   ========================================================================== */
.fortune-teaser {
  background: linear-gradient(165deg, var(--linen) 0%, var(--linen-deep) 100%);
  overflow: hidden;
}
.fortune-teaser .split { align-items: center; }
.ft-steps { list-style: none; margin: 1.75rem 0 2rem; display: grid; gap: 1rem; padding: 0; }
.ft-steps li { display: flex; align-items: center; gap: .85rem; font-weight: 500; color: var(--cocoa-dark); }
.ft-steps .n {
  flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--cocoa); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
}
.ft-cta { white-space: nowrap; }

.ft-visual { position: relative; display: grid; place-items: center; min-height: 340px; padding: 1.5rem .5rem; }
.ft-steam { position: absolute; top: 4%; width: 120px; height: auto; z-index: 0; }
.ft-steam .steam {
  fill: none; stroke: var(--camel); stroke-width: 4; stroke-linecap: round;
  opacity: 0; transform-origin: bottom center; animation: steamRise 3.8s ease-in-out infinite;
}
.ft-steam .steam.s2 { animation-delay: 1.3s; }
.ft-steam .steam.s3 { animation-delay: 2.6s; }

.ft-receipt {
  position: relative; z-index: 1; width: 100%; max-width: 320px;
  background: var(--paper); border-radius: 16px; padding: 1.6rem 1.7rem;
  box-shadow: var(--shadow-md);
  border-top: 3px dashed var(--line); border-bottom: 3px dashed var(--line);
  overflow: hidden; animation: cupFloat 6.5s ease-in-out infinite;
}
.ft-receipt .head {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cocoa); font-weight: 600;
}
.ft-receipt .head .cup-mark { width: 22px; height: 22px; }
.ft-receipt .perf { border-top: 1.5px dashed var(--line); margin: 1rem 0; }
.ft-receipt .label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cocoa); margin-bottom: .55rem; }
.ft-receipt .quote { font-family: var(--font-head); font-size: 1.3rem; line-height: 1.4; color: var(--ink); }
.ft-receipt .foot { margin-top: 1rem; font-size: .82rem; color: var(--muted); }
.ft-shine {
  position: absolute; top: 0; left: -65%; width: 55%; height: 100%; pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, rgba(184, 134, 11, .28) 50%, transparent 100%);
  transform: skewX(-18deg); animation: shineSweep 6s ease-in-out infinite;
}

/* ---- Motion: reduced-motion safety net ----------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero .lead, .hero-actions, .hero-badges, .hero-visual,
  .hero-cup, .hero-glow, .bean, .hero-cup .steam,
  .ft-receipt, .ft-steam .steam, .ft-shine { animation: none !important; }
  .reveal-init { opacity: 1 !important; transform: none !important; }
  .bean, .hero-cup .steam, .ft-steam .steam, .ft-shine { opacity: 0 !important; }
  .hero-glow { opacity: .5 !important; }
}
