/* Hallmark v2.0.0 · redesign: full · theme: brand (YANA tokens.css: recycled paper, ink, wood, leather; Bodoni Moda + Poppins) · deal: manual (no Node) · genre: editorial · job: visit (the menu, then hours and address) · shape: long document, the menu as the centre · hero: Poster (stand-in roasting photo behind the logo, video slot kept) · signature: the yana word and the Quebrada map · imagery: user photo (child) + 3 Wikimedia stand-ins, credited · sweep: manual, sloplint not run (no Node) */
/* Critique: the old page leaned on drawn line-art in empty frames and tracked-capital labels; now real pictures or none, sentence-case labels, rows instead of icon tiles. */
/* Hallmark · answered F7 · pills on .menubar, .pick, .stepper, .orderbar · each is a control (link-button, choose, quantity, send order) */
/* Hallmark · waive 77 · "Our space" has no venue photos yet (owners have none to give) · it is set as a quote beside its heading until the mosaic photos arrive */
/* tokens.css — YANA Coffee & Healthy Food (Hallmark contract)
   Re-skinning the site = editing this file only. No hex values anywhere else. */
:root {
  color-scheme: light;

  /* ---- Brand raw palette (sampled from the venue and the printed menu) ---- */
  --yana-paper:      oklch(91.2% 0.022 83);  /* #E9E1D2 recycled menu paper */
  --yana-paper-dark: oklch(86.4% 0.030 83);  /* #DCD1BD paper in shadow */
  --yana-paper-lite: oklch(95.4% 0.013 82);  /* #F4EFE6 raised cards */
  --yana-ink:        oklch(22.8% 0.005 68);  /* #1E1C1A logo and menu ink */
  --yana-ink-soft:   oklch(32.6% 0.014 63);  /* #3A332D */
  --yana-wood:       oklch(58.1% 0.105 59);  /* #A86A34 varnished tables (decor only) */
  --yana-wood-deep:  oklch(49.5% 0.095 56);  /* #8A5226 wood, darkened for text and buttons */
  --yana-wood-light: oklch(79.9% 0.075 78);  /* #D8B886 pine lattice ceiling */
  --yana-leather:    oklch(48.8% 0.061 40);  /* #7E5445 copper and leather bench */
  --yana-wall:       oklch(65.4% 0.053 75);  /* #A48C6C sand walls */
  --yana-taupe:      oklch(60.2% 0.030 78);  /* #8B7F6D chair upholstery (decor only) */
  --yana-sage:       oklch(73.3% 0.034 111); /* #A9AB93 menu watermark leaves */
  --yana-cusco-blue: oklch(45.9% 0.161 263); /* #2350B0 colonial door blue, minimal accent */
  --yana-whatsapp:   #25D366;                /* platform mark, the only off-palette color */

  /* ---- Hallmark semantic tokens ---- */
  --color-paper:   var(--yana-paper);
  --color-paper-2: var(--yana-paper-dark);
  --color-paper-3: var(--yana-paper-lite);
  --color-ink:     var(--yana-ink);
  --color-ink-2:   var(--yana-ink-soft);
  --color-muted:   oklch(49.8% 0.023 72);    /* #6B6155 secondary text: 4.66:1 on paper */
  --color-rule:    oklch(80% 0.035 82);      /* #C9BCA5 dividers and double rules */
  --color-ink-rule: oklch(34% 0.014 60);

  --color-accent:      var(--yana-wood);
  --color-accent-2:    var(--yana-wood-light);
  --color-accent-ink:  var(--color-ink);
  --color-accent-text: var(--yana-wood-deep);
  --color-focus:       var(--yana-wood-deep);
  --color-highlight:   var(--yana-cusco-blue);
  --color-leaf:        var(--yana-sage);
  --color-plate:       var(--yana-leather);
  --color-plate-text:  var(--color-paper);
  --color-error:   oklch(52% 0.19 27);
  --color-success: oklch(50% 0.12 150);
  --color-whatsapp: var(--yana-whatsapp);
  --color-overlay: var(--yana-ink);

  /* ---- Type ---- */
  --font-display: "Bodoni Moda", "Italiana", Georgia, serif;
  --font-body:    "Poppins", system-ui, sans-serif;
  --font-outlier: var(--font-body);
  --tracking-display: -0.01em;
  --tracking-caps: 0.12em;
  --display-weight: 500;

  --text-xs: 0.75rem; --text-sm: 0.875rem; --text-base: 1rem; --text-md: 1.125rem;
  --text-lg: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --text-xl: clamp(1.6rem, 1.3rem + 1.4vw, 2.25rem);
  --text-2xl: clamp(2.1rem, 1.5rem + 2.8vw, 3.5rem);
  --text-3xl: clamp(3.5rem, 2rem + 8vw, 8rem);

  /* ---- Space ---- */
  --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px;
  --space-lg: 24px; --space-xl: 32px; --space-2xl: 48px; --space-3xl: 72px;
  --space-section: clamp(72px, 10vw, 136px);
  --gutter: clamp(16px, 4vw, 40px);
  --container: 1180px;

  /* ---- Shape ---- */
  --radius-card: 6px; --radius-pill: 999px;
  --rule-hair: 1px; --rule-bar: 2px;
  --rule-double-gap: 3px;
  --shadow-card: 0 18px 32px -24px oklch(22% 0.02 60 / 0.35);
  --shadow-float: 0 4px 14px -4px oklch(22% 0.02 60 / 0.4);
  --shadow-lift: 0 24px 48px -28px oklch(15% 0.02 60 / 0.6);

  /* ---- Motion (unhurried, like the jazz) ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-micro: 160ms; --dur-short: 320ms; --dur-long: 600ms;

  /* ---- Z-index ---- */
  --z-header: 50; --z-float: 60; --z-overlay: 100;

  /* ---- Header ---- */
  --header-h: 72px;
  --header-bg: var(--color-paper); --header-fg: var(--color-ink);
  --header-fg-2: var(--color-muted); --header-rule: var(--color-rule);
  --header-focus: var(--color-focus);
  --header-bg-hero: transparent; --header-fg-hero: var(--color-paper);

  /* ---- Buttons ---- */
  --btn-h: 48px; --btn-h-lg: 52px; --btn-pad-x: var(--space-lg);
  --btn-bg: var(--yana-wood-deep); --btn-fg: var(--color-paper);
  --btn-outline: var(--color-paper);

  /* ---- Icons ---- */
  --icon-stroke: var(--color-ink); --icon-fill: var(--color-accent-2); --icon-leaf: var(--color-leaf);

  /* ---- Texture ---- */
  --paper-texture-opacity: 0.08;
  --watermark-opacity: 0.12;
}

/* Dark grounds: hero, purpose banner, footer */
.hero, .plate, .footer { --icon-stroke: var(--color-paper); --color-rule: var(--color-ink-rule); }
/* base.css — reset, typography and primitives. Consumes semantic tokens only. */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--space-xs)); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; } }
body {
  margin: 0; background: var(--color-paper); color: var(--color-ink);
  font-family: var(--font-body); font-size: var(--text-base); line-height: 1.65; font-weight: 400;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: var(--color-accent-text); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: 2px; }
.hero :focus-visible, .plate :focus-visible, .footer :focus-visible { outline-color: var(--color-paper); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--space-md); top: -100px; z-index: var(--z-overlay); background: var(--color-ink); color: var(--color-paper); padding: var(--space-xs) var(--space-md); border-radius: var(--radius-card); }
.skip-link:focus { top: var(--space-md); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-section); position: relative; }

/* Section heading: uppercase Poppins + the menu's double rule */
.h-section {
  font-family: var(--font-outlier); font-weight: 600; text-transform: uppercase;
  letter-spacing: var(--tracking-caps); font-size: var(--text-xl); line-height: 1.2;
  display: inline-block; padding-bottom: calc(var(--space-sm) + var(--rule-double-gap) + 2px);
  background:
    linear-gradient(var(--color-ink), var(--color-ink)) left bottom / 100% 1px no-repeat,
    linear-gradient(var(--color-ink), var(--color-ink)) left calc(100% - 1px - var(--rule-double-gap)) / 100% 1px no-repeat;
}
.plate .h-section, .hero .h-section { background-image: linear-gradient(var(--color-paper), var(--color-paper)), linear-gradient(var(--color-paper), var(--color-paper)); }
.display { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--tracking-display); line-height: 1.15; }
.lead { font-size: var(--text-md); color: var(--color-ink-2); max-width: 62ch; }
.muted { color: var(--color-muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs);
  min-height: var(--btn-h); padding-inline: var(--btn-pad-x); border-radius: var(--radius-pill);
  font-weight: 500; font-size: var(--text-sm); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out);
}
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn--primary:hover { background: var(--color-ink); }
.btn--outline { border-color: var(--btn-outline); color: var(--btn-outline); background: transparent; }
.btn--outline:hover { background: var(--btn-outline); color: var(--color-ink); }
.btn--ink { background: var(--color-ink); color: var(--color-paper); }
.btn[disabled] { background: var(--color-paper-2); color: var(--color-muted); border-color: var(--color-rule); cursor: not-allowed; }

/* Paper texture: fibered recycled paper, drawn with SVG noise */
.paper-tex { position: relative; isolation: isolate; }
.paper-tex::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: var(--paper-texture-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9 0.35' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.25 0 0 0 0 0.2 0 0 0 0 0.15 0 0 0 1.4 -0.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Reveal: slow, soft fade */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
/* Hallmark · waive 59 · /carta/ is the QR menu, a single working screen · menu sections sit close on purpose so a phone scrolls dishes, not gaps */
/* Hallmark · waive 49b · the /carta/ footer link wraps only at 320px · the full sentence is clearer than a cut label on the smallest phones */
/* Hallmark · dropped the drawn-illustration photo slots (story, space mosaic, product tiles) and the method/service icons · 80 names them; slots documented in index.html comments */

/* site.css — YANA components. Semantic tokens only. */

/* ---------- Logo (official file; recolored with CSS) ---------- */
.logo { display: block; height: auto; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--header-bg-hero); color: var(--header-fg-hero);
  transition: background-color var(--dur-long) var(--ease-out), color var(--dur-long) var(--ease-out), box-shadow var(--dur-long) var(--ease-out);
}
.header.is-solid { background: var(--header-bg); color: var(--header-fg); box-shadow: 0 1px 0 var(--header-rule); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: var(--space-lg); }
.header__brand { display: block; width: 116px; flex: none; position: relative; }
.header__brand .logo { width: 100%; transition: opacity var(--dur-long) var(--ease-out); }
.header__brand .logo--dark { position: absolute; inset: 0; opacity: 0; }
.header.is-solid .header__brand .logo--dark { opacity: 1; }
.header.is-solid .header__brand .logo--light { opacity: 0; }
.nav { margin-left: auto; display: none; }
.nav ul { display: flex; gap: clamp(var(--space-md), 1.8vw, 28px); }
.nav a { color: inherit; text-decoration: none; font-size: var(--text-sm); padding-block: var(--space-xs); position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-short) var(--ease-out); }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.lang { display: inline-flex; align-items: center; gap: 2px; font-size: var(--text-xs); font-weight: 600; }
.lang button { min-height: 44px; min-width: 32px; background: none; border: 0; padding: var(--space-xs); cursor: pointer; opacity: 0.6; min-height: 40px; }
.lang button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.lang span { opacity: 0.5; }
.header .lang { margin-left: auto; }
.burger { background: none; border: 0; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; color: inherit; margin-right: calc(-1 * var(--space-sm)); }
.burger svg { width: 26px; height: 26px; }
@media (min-width: 1200px) {
  .nav { display: block; }
  .header .lang { margin-left: 0; }
  .burger { display: none; }
}

/* ---------- Full-height mobile menu ---------- */
.mmenu {
  position: fixed; inset: 0; z-index: var(--z-overlay);
  height: 100vh; height: 100dvh; background: var(--color-paper); color: var(--color-ink);
  display: flex; flex-direction: column;
  padding: calc(env(safe-area-inset-top, 0px) + var(--space-md)) calc(env(safe-area-inset-right, 0px) + var(--gutter)) calc(env(safe-area-inset-bottom, 0px) + var(--space-xl)) calc(env(safe-area-inset-left, 0px) + var(--gutter));
  opacity: 0; visibility: hidden; transition: opacity var(--dur-long) var(--ease-out), visibility 0s linear var(--dur-long);
}
.mmenu.is-open { opacity: 1; visibility: visible; transition: opacity var(--dur-long) var(--ease-out); }
.mmenu__top { display: flex; justify-content: space-between; align-items: center; height: calc(var(--header-h) - var(--space-md)); }
.mmenu__top .logo { width: 116px; }
.mmenu__close { background: none; border: 0; width: 44px; height: 44px; font-size: 26px; cursor: pointer; margin-right: calc(-1 * var(--space-sm)); }
.mmenu nav { flex: 1; display: flex; }
.mmenu nav ul { flex: 1; display: flex; flex-direction: column; justify-content: space-evenly; align-items: center; padding-block: var(--space-lg); }
.mmenu nav a { font-family: var(--font-display); font-size: clamp(1.75rem, 6vh, 2.5rem); color: var(--color-ink); text-decoration: none; }
.mmenu__bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--color-rule); padding-top: var(--space-md); }
.socials { display: flex; gap: var(--space-xs); }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; color: inherit; }
.socials svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; color: var(--color-paper); background: var(--color-ink); overflow: hidden; isolation: isolate; }
.hero__media, .hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__poster {
  background:
    radial-gradient(120% 80% at 50% 110%, oklch(from var(--color-plate) l c h / 0.9), transparent 60%),
    radial-gradient(90% 60% at 80% 0%, oklch(from var(--color-accent) l c h / 0.35), transparent 60%),
    var(--color-ink);
}
.hero__beans { position: absolute; inset: 0; z-index: -2; opacity: 0.09; color: var(--color-accent-2); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, oklch(from var(--color-overlay) l c h / 0.55), oklch(from var(--color-overlay) l c h / 0.1)); }
.hero__content { text-align: center; padding: calc(var(--header-h) + var(--space-xl)) var(--gutter) var(--space-3xl); display: grid; justify-items: center; gap: var(--space-lg); }
.hero__logo { width: min(520px, 78vw); }
.hero__tagline { font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.45; max-width: 34ch; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-sm); margin-top: var(--space-xs); }
.hero__ctas .btn { min-height: var(--btn-h-lg); }
.hero__scroll { position: absolute; bottom: calc(var(--space-lg) + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); color: var(--color-paper); display: grid; justify-items: center; gap: var(--space-xs); font-size: var(--text-xs); text-decoration: none; opacity: 0.85; }
.hero__scroll i { width: 1px; height: 36px; background: currentColor; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.hero__pause { position: absolute; right: var(--gutter); bottom: calc(var(--space-lg) + env(safe-area-inset-bottom, 0px)); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--color-paper); background: transparent; color: var(--color-paper); cursor: pointer; display: grid; place-items: center; }
.hero__pause svg { width: 16px; height: 16px; }

/* ---------- Essence ---------- */
.essence { text-align: center; }
.essence__word { font-family: var(--font-display); font-style: italic; font-size: var(--text-3xl); line-height: 1; letter-spacing: var(--tracking-display); }
.essence__caption { font-size: var(--text-xs); color: var(--color-muted); margin-top: var(--space-sm); }
.essence__text { max-width: 46ch; margin: var(--space-2xl) auto 0; font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.55; }
.essence__text + p { max-width: 58ch; margin: var(--space-lg) auto 0; color: var(--color-ink-2); }

/* ---------- Watermark leaves ---------- */
.leaf { position: absolute; width: clamp(120px, 18vw, 220px); color: var(--icon-leaf); opacity: var(--watermark-opacity); pointer-events: none; }
.leaf--tl { top: var(--space-xl); left: -20px; transform: rotate(-20deg); }
.leaf--br { bottom: var(--space-xl); right: -20px; transform: rotate(160deg); }

/* ---------- Split layouts ---------- */
.split { display: grid; gap: var(--space-2xl); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--space-3xl); } .split--rev > :first-child { order: 2; } }
.split__text > * + * { margin-top: var(--space-lg); }

/* ---------- Photo slots (decorative until real photos are added) ---------- */
.photo { position: relative; border-radius: var(--radius-card); overflow: hidden; background: var(--color-paper-2); aspect-ratio: 4 / 5; box-shadow: var(--shadow-card); display: grid; place-items: center; color: var(--color-accent); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo > svg { width: 42%; height: auto; opacity: 0.7; }
.photo--wide { aspect-ratio: 16 / 10; }
.photo--sq { aspect-ratio: 1; }
.photo::after { content: ""; position: absolute; inset: 10px; border: 1px solid var(--color-rule); border-radius: 3px; pointer-events: none; }

/* ---------- Purpose plate + pillars ---------- */
.plate { background: var(--color-plate); color: var(--color-plate-text); }
.purpose { padding-block: var(--space-3xl); text-align: center; }
.purpose p { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.35; max-width: 30ch; margin-inline: auto; }
.pillars { display: grid; gap: var(--space-xl); margin-top: var(--space-3xl); }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { border-top: 1px solid var(--color-rule); padding-top: var(--space-lg); }
.pillar svg { width: 40px; height: 40px; color: var(--icon-stroke); margin-bottom: var(--space-md); }
.pillar h3 { font-size: var(--text-sm); font-weight: 600; margin-bottom: var(--space-xs); }
.pillar p { color: var(--color-ink-2); }

/* ---------- Origin ---------- */
.map { position: relative; max-width: 560px; margin-inline: auto; }
.map img { width: 100%; mix-blend-mode: multiply; opacity: 0.85; }
.map__pin { position: absolute; left: 48.3%; top: 50.3%; width: 16px; height: 16px; margin: calc(-1 * var(--space-xs)) 0 0 calc(-1 * var(--space-xs)); border-radius: 50%; background: var(--color-accent-text); }
.map__pin::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid var(--color-accent-text); animation: pulse 2.8s var(--ease-out) 3; }
.map__label { position: absolute; left: calc(48.3% + 14px); top: calc(50.3% - 12px); font-size: var(--text-xs); font-weight: 600; background: var(--color-paper); padding: 2px var(--space-xs); border-radius: 3px; color: var(--color-accent-text); }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--color-rule); border: 1px solid var(--color-rule); margin-top: var(--space-3xl); border-radius: var(--radius-card); overflow: hidden; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--color-paper); padding: var(--space-lg) var(--space-md); text-align: center; font-family: var(--font-display); font-size: var(--text-md); line-height: 1.3; }
.beans { display: grid; gap: var(--space-xl); margin-top: var(--space-3xl); }
@media (min-width: 760px) { .beans { grid-template-columns: 1fr 1fr; } }
.bean { background: var(--color-paper-3); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: var(--space-xl); position: relative; }
.bean::before { content: ""; position: absolute; inset: var(--space-xs); border: 1px solid var(--color-rule); border-radius: 3px; pointer-events: none; }
.bean__tag { font-size: var(--text-xs); color: var(--color-muted); }
.bean h3 { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: var(--display-weight); margin: var(--space-xs) 0 var(--space-lg); }
.bean dl { margin: 0; display: grid; grid-template-columns: auto 1fr; }
.bean dt, .bean dd { padding-block: var(--space-sm); border-top: 1px solid var(--color-rule); margin: 0; }
.bean dt { font-size: var(--text-xs); color: var(--color-muted); padding-right: var(--space-lg); padding-top: var(--space-sm); }
.bean dd { text-align: right; }

/* ---------- Methods ---------- */
.bar { margin-top: var(--space-3xl); }
.methods { display: grid; gap: var(--space-lg); margin-top: var(--space-xl); }
@media (min-width: 640px) { .methods { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .methods { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--color-paper-3); border-radius: var(--radius-card); padding: var(--space-xl) var(--space-lg); box-shadow: var(--shadow-card); }
.card svg { width: 56px; height: 56px; color: var(--icon-stroke); margin-bottom: var(--space-lg); }
.card h3, .card h4 { font-size: var(--text-md); font-weight: 600; margin-bottom: var(--space-xs); }
.card p { color: var(--color-muted); font-size: var(--text-sm); }
.h-sub { font-size: var(--text-sm); font-weight: 600; margin-top: var(--space-3xl); }
.cup { margin-top: var(--space-3xl); border: 1px solid var(--color-rule); border-radius: var(--radius-card); padding: var(--space-xl); display: grid; gap: var(--space-lg); }
.cup__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs); }
.cup__row > span { font-size: var(--text-xs); color: var(--color-muted); min-width: 80px; }
.chip { border: 1px solid var(--color-rule); background: transparent; border-radius: var(--radius-pill); min-height: 40px; padding: 0 var(--space-md); cursor: pointer; font-size: var(--text-sm); transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--color-ink); color: var(--color-paper); border-color: var(--color-ink); }
.cup__out { font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.45; }

/* ---------- Bakery ---------- */
.bakery { background: var(--color-paper-2); }
.bakery .lead, .bakery .card p { color: var(--color-ink-2); }
.micro { font-size: var(--text-xs); color: var(--color-ink-2); }
.products { display: grid; gap: var(--space-lg); margin-top: var(--space-3xl); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .products { grid-template-columns: repeat(4, 1fr); } }
.product .photo { aspect-ratio: 1; margin-bottom: var(--space-md); background: var(--color-paper-3); }
.product h3 { font-size: var(--text-base); font-weight: 600; }
.product p { font-size: var(--text-sm); color: var(--color-ink-2); }

/* ---------- Menu ---------- */
.menu__intro .muted { margin-top: var(--space-md); font-size: var(--text-sm); }
.menu__bar { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 5; background: var(--color-paper); margin-top: var(--space-xl); border-block: 1px solid var(--color-rule); }
.menu__search { position: relative; display: flex; align-items: center; padding-top: var(--space-sm); }
.menu__search svg { position: absolute; left: calc(var(--gutter) + 14px); width: 18px; height: 18px; color: var(--color-muted); pointer-events: none; }
.menu__search input { width: 100%; max-width: 520px; min-height: 44px; padding: 0 44px; border: 1px solid var(--color-muted); border-radius: var(--radius-pill); background: var(--color-paper-3); font-size: 16px; -webkit-appearance: none; appearance: none; }
.menu__search input::-webkit-search-cancel-button { display: none; }
.menu__search input:focus { outline: 2px solid var(--color-focus); outline-offset: 0; }
.menu__clear { position: absolute; left: calc(var(--gutter) + min(520px, 100% - 2 * var(--gutter)) - 44px); width: 44px; height: 44px; border: 0; background: none; cursor: pointer; color: var(--color-muted); }
.menu__chips { padding-block: var(--space-sm); }
.menu__chips ul { list-style: none; margin: 0; display: flex; gap: var(--space-xs); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); -webkit-mask: linear-gradient(90deg, transparent, var(--color-ink) var(--gutter), var(--color-ink) calc(100% - var(--gutter)), transparent); mask: linear-gradient(90deg, transparent, var(--color-ink) var(--gutter), var(--color-ink) calc(100% - var(--gutter)), transparent); }
.menu__chips ul::-webkit-scrollbar { display: none; }
.menu__chips li { scroll-snap-align: center; flex: none; }
.menu__chips .chip { white-space: nowrap; background: var(--color-paper); display: inline-flex; align-items: center; gap: var(--space-xs); }
.menu__chips .chip[aria-selected="true"] { background: var(--color-ink); color: var(--color-paper); border-color: var(--color-ink); }
.chip__n { font-size: 11px; font-variant-numeric: tabular-nums; opacity: 0.6; }
.menu__panel, .menu__results { min-height: 40vh; }
.menu__panel.is-in { animation: menuIn var(--dur-long) var(--ease-out); }
@keyframes menuIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.menu__count { padding-top: var(--space-xl); color: var(--color-muted); font-size: var(--text-sm); }
.menu__cat { padding-top: var(--space-2xl); content-visibility: auto; contain-intrinsic-size: auto 600px; }
.menu__cat h3 { font-size: var(--text-md); font-weight: 600; padding-bottom: var(--space-xs); margin-bottom: var(--space-sm);
  background: linear-gradient(var(--color-ink), var(--color-ink)) left bottom / 100% 1px no-repeat, linear-gradient(var(--color-ink), var(--color-ink)) left calc(100% - 4px) / 100% 1px no-repeat; }
.menu__note { color: var(--color-ink-2); font-size: var(--text-sm); margin-bottom: var(--space-sm); font-style: italic; }
.menu__list { list-style: none; padding: 0; display: grid; column-gap: var(--space-3xl); }
@media (min-width: 900px) { .menu__list { grid-template-columns: 1fr 1fr; } }
.item { padding-block: var(--space-md); border-bottom: 1px solid var(--color-rule); }
.item__head { display: flex; gap: var(--space-xs); align-items: baseline; }
.item__name { font-weight: 600; }
.item__dots { flex: 1; min-width: 16px; border-bottom: 1px dotted var(--color-rule); transform: translateY(-4px); }
.item__price { color: var(--color-accent-text); font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; margin-left: auto; }
.item__desc { color: var(--color-muted); font-size: var(--text-sm); margin-top: 2px; max-width: 52ch; }
.menu__pdf { margin-top: var(--space-2xl); }

/* ---------- Services ---------- */
.services { display: grid; gap: var(--space-lg); margin-top: var(--space-2xl); }
@media (min-width: 760px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Space ---------- */
.mosaic { display: grid; gap: var(--space-md); grid-template-columns: repeat(2, 1fr); margin-top: var(--space-2xl); }
.mosaic .photo { aspect-ratio: 1; }
@media (min-width: 900px) { .mosaic { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(180px, 1fr)); } .mosaic .photo:first-child { grid-row: span 2; aspect-ratio: auto; } .mosaic .photo { aspect-ratio: auto; } }
.jazz { display: inline-flex; align-items: center; gap: var(--space-xs); font-family: var(--font-display); font-style: italic; color: var(--color-accent-text); margin-top: var(--space-lg); }

/* ---------- Visit + contact ---------- */
.visit { padding-bottom: calc(var(--space-section) + var(--space-3xl)); }
.info { display: grid; gap: var(--space-lg); margin-top: var(--space-xl); }
.info__row { display: grid; grid-template-columns: 28px 1fr; gap: var(--space-md); align-items: start; }
.info__row svg { width: 22px; height: 22px; color: var(--color-accent-text); margin-top: var(--space-2xs); }
.info__label { font-size: var(--text-xs); color: var(--color-muted); }
.mapframe { margin-top: var(--space-xl); border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 4 / 3; background: var(--color-paper-2); }
.mapframe iframe { width: 100%; height: 100%; border: 0; }
.form { background: var(--color-paper-3); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: clamp(20px, 4vw, 40px); display: grid; gap: var(--space-md); }
.field { display: grid; gap: var(--space-xs); }
.field label { font-size: var(--text-sm); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: var(--space-sm) var(--space-md); border: 1px solid var(--color-muted); border-radius: var(--radius-card); background: var(--color-paper-3); font-size: 16px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--color-focus); outline-offset: 0; border-color: var(--color-focus); }
.field [aria-invalid="true"] { border-color: var(--color-error); }
.field__err { color: var(--color-error); font-size: var(--text-sm); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: var(--space-sm); font-size: var(--text-sm); align-items: start; }
.check input { width: 20px; height: 20px; accent-color: var(--color-accent-text); margin-top: var(--space-2xs); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: var(--text-sm); }
.form__status.is-ok { color: var(--color-success); }
.form__status.is-err { color: var(--color-error); }

/* ---------- Footer ---------- */
.footer { padding-block: var(--space-3xl) calc(var(--space-2xl) + env(safe-area-inset-bottom, 0px)); text-align: center; }
.footer .logo { width: 180px; margin-inline: auto; }
.footer__line { margin-top: var(--space-lg); font-family: var(--font-display); font-size: var(--text-md); }
.footer .socials { justify-content: center; margin-top: var(--space-lg); }
.footer small { display: block; margin-top: var(--space-lg); opacity: 0.85; }
.footer a { color: inherit; }

/* ---------- Floating WhatsApp ---------- */
.wa {
  position: fixed; z-index: var(--z-float);
  right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 56px; height: 56px; border-radius: 50%; background: var(--color-whatsapp); color: var(--color-paper-3);
  display: grid; place-items: center; box-shadow: var(--shadow-card), var(--shadow-float);
  transition: transform var(--dur-short) var(--ease-out), opacity var(--dur-short) var(--ease-out);
}
.wa svg { width: 30px; height: 30px; }
.wa:hover { transform: translateY(-2px); }
body.menu-open .wa { opacity: 0; pointer-events: none; }

/* ---------- Language hint ---------- */
.hint { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: var(--z-float); background: var(--color-ink); color: var(--color-paper); border-radius: var(--radius-card); padding: var(--space-sm) var(--space-xs) var(--space-sm) var(--space-md); display: flex; gap: var(--space-xs); align-items: center; font-size: var(--text-sm); max-width: calc(100% - 104px); box-shadow: var(--shadow-card); }
.hint button { background: none; border: 0; color: inherit; cursor: pointer; min-height: 44px; padding: 0 var(--space-xs); }
.hint button:first-of-type { text-decoration: underline; text-underline-offset: 3px; }

/* Purpose band with photo */
.purpose--photo { display: grid; gap: var(--space-2xl); align-items: center; justify-items: center; }
.purpose--photo p { text-align: center; }
.purpose__photo { width: min(100%, 400px); margin: 0; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-lift); aspect-ratio: 800 / 1128; background: var(--color-ink-2); }
.purpose__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .purpose--photo { grid-template-columns: minmax(280px, 400px) 1fr; gap: var(--space-3xl); justify-items: start; }
  .purpose--photo p { text-align: left; max-width: 22ch; font-size: var(--text-2xl); }
}

/* ================= Hallmark redesign layer ================= */
/* Labels and headings: sentence case, untracked (Floor 9) */
.h-section {
  font-family: var(--font-display); font-weight: var(--display-weight); text-transform: none; letter-spacing: var(--tracking-display);
  font-size: var(--text-2xl); line-height: 1.1; overflow-wrap: break-word; min-width: 0;
}
.display, .essence__word, .bean h3, .space__quote, .story__lead { overflow-wrap: break-word; min-width: 0; }
.pillar h3, .h-sub, .menu__cat h3, .row h3, .row h4 { text-transform: none; letter-spacing: 0; font-size: var(--text-md); font-weight: 600; }
.bean__tag, .bean dt, .micro, .info__label, .cup__row > span, .map__label, .essence__caption, .nav a, .btn { text-transform: none; letter-spacing: 0; }
.bean__tag, .bean dt, .info__label, .cup__row > span { font-size: var(--text-sm); }
.micro { font-size: var(--text-sm); }
.essence__caption { font-size: var(--text-sm); }
.essence__title { font-family: var(--font-display); font-size: var(--text-lg); font-weight: var(--display-weight); color: var(--color-ink-2); }
.map__label { font-size: var(--text-sm); font-weight: 600; }

/* Image-bearing tracks (Floor 5) */
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); } .beans { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Hero: Poster posture, a photograph behind the logo until the video arrives */
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.hero__media { z-index: -2; }
.hero::after { background: radial-gradient(ellipse 60% 50% at 50% 50%, oklch(from var(--color-overlay) l c h / 0.35), transparent 75%), linear-gradient(to top, oklch(from var(--color-overlay) l c h / 0.75), oklch(from var(--color-overlay) l c h / 0.4)); }
.hero__scroll { width: 44px; height: 56px; }

/* Story set as a letter: heading beside the text, no empty frame */
.story { display: grid; gap: var(--space-xl); padding-top: var(--space-section); }
.story__body { max-width: 62ch; }
.story__body > * + * { margin-top: var(--space-lg); }
.story__lead { font-size: var(--text-xl); }
@media (min-width: 900px) { .story { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; } }

/* Purpose photo with its caption */
.purpose__photo { aspect-ratio: auto; overflow: visible; box-shadow: none; background: none; border-radius: 0; }
.purpose__photo img { aspect-ratio: 800 / 1128; border-radius: var(--radius-card); box-shadow: var(--shadow-lift); }
.purpose__photo figcaption { margin-top: var(--space-sm); font-family: var(--font-display); font-style: italic; font-size: var(--text-md); color: var(--color-plate-text); text-align: center; }
@media (min-width: 900px) { .purpose__photo figcaption { text-align: left; } }

/* Real photographs: no inner frame */
.photo:has(img)::after { display: none; }
.photo:has(img) { background: var(--color-paper-2); }
.photo--tall { aspect-ratio: 2 / 3; max-height: 640px; width: 100%; }

/* Rows: an index instead of icon tiles */
.rows { list-style: none; margin: var(--space-xl) 0 0; padding: 0; display: grid; column-gap: var(--space-2xl); }
.row { border-top: 1px solid var(--color-rule); padding-block: var(--space-lg); }
.row h3, .row h4 { margin-bottom: var(--space-xs); }
.row p { color: var(--color-muted); font-size: var(--text-sm); max-width: 48ch; }
.bakery .row p { color: var(--color-ink-2); }
@media (min-width: 640px) { .rows { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .rows--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .rows--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.products, .services, .methods { display: none; }

/* Space set as a quote, left-aligned */
.space { max-width: 860px; }
.space__quote { font-size: var(--text-xl); line-height: 1.35; margin-top: var(--space-xl); }

/* Footer credits (data-credits) */
.credits { font-size: var(--text-xs); opacity: 0.8; }
.credits a { color: inherit; }
@media (min-width: 900px) { .purpose--photo p { font-size: var(--text-xl); max-width: 26ch; } }

/* "See the menu": header button on desktop, fixed bar on mobile */
.header__cta { display: none; min-height: 40px; padding-inline: var(--space-lg); }
@media (min-width: 1200px) {
  .header__cta { display: inline-flex; margin-left: var(--space-sm); }
  .header:not(.is-solid) .header__cta { background: var(--color-paper); color: var(--color-ink); }
}
.menubar {
  position: fixed; z-index: var(--z-float);
  left: calc(16px + env(safe-area-inset-left, 0px)); right: calc(16px + 56px + 12px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  min-height: 56px; border-radius: var(--radius-pill); background: var(--btn-bg); color: var(--btn-fg);
  display: flex; align-items: center; justify-content: center; gap: var(--space-xs);
  font-weight: 600; text-decoration: none; box-shadow: var(--shadow-card), var(--shadow-float);
  transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out);
}
.menubar svg { width: 20px; height: 20px; }
.menubar:active { transform: scale(0.98); }
.menubar.is-away, body.menu-open .menubar { opacity: 0; transform: translateY(12px); pointer-events: none; }
@media (min-width: 1024px) { .menubar { display: none; } }
@media (max-width: 1023px) { .footer { padding-bottom: calc(var(--space-3xl) + var(--space-3xl) + env(safe-area-inset-bottom, 0px)); } }
.hint { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }

/* Order: choose items, send one WhatsApp message */
.item__order { margin-top: var(--space-sm); display: flex; }
.pick { min-height: 44px; padding: 0 var(--space-lg); border-radius: var(--radius-pill); border: 1px solid var(--color-accent-text); background: transparent; color: var(--color-accent-text); font-weight: 600; font-size: var(--text-sm); cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.pick:hover { background: var(--color-accent-text); color: var(--color-paper); }
.stepper { display: inline-flex; align-items: center; border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-paper); }
.stepper button { width: 44px; height: 44px; border: 0; background: none; color: inherit; font-size: 1.25rem; cursor: pointer; border-radius: var(--radius-pill); }
.stepper span { min-width: 24px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.stepper :focus-visible, .orderbar :focus-visible { outline-color: var(--color-paper); }
.orderbar {
  position: fixed; z-index: calc(var(--z-float) + 1);
  left: calc(16px + env(safe-area-inset-left, 0px)); right: calc(16px + 56px + 12px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: stretch; gap: var(--space-2xs); padding: var(--space-2xs); border-radius: var(--radius-pill);
  background: var(--color-ink); color: var(--color-paper); box-shadow: var(--shadow-card), var(--shadow-float);
  animation: orderIn var(--dur-short) var(--ease-out);
}
@keyframes orderIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.orderbar__clear { border: 0; background: none; color: inherit; opacity: 0.8; padding: 0 var(--space-md); min-height: 48px; cursor: pointer; font-size: var(--text-sm); border-radius: var(--radius-pill); }
.orderbar__send { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 48px; padding: var(--space-2xs) var(--space-md); border-radius: var(--radius-pill); background: var(--color-whatsapp); color: var(--color-ink); text-decoration: none; font-weight: 600; line-height: 1.2; text-align: center; }
.orderbar__send small { font-weight: 500; font-size: var(--text-xs); }
@media (min-width: 1024px) { .orderbar { left: 50%; right: auto; transform: translateX(-50%); min-width: 420px; animation: none; } }
body.has-order .menubar { opacity: 0; pointer-events: none; }
body.has-order .menu__panel, body.has-order .menu__results, body.has-order .carta-foot { padding-bottom: 88px; }

/* /carta/ on a phone (the QR page): readable body size, comfortable rows */
@media (max-width: 767px) {
  .carta-page .item__desc { font-size: 1rem; }
  .carta-page .item__name { font-size: 1.0625rem; }
  .carta-page .menu__search input { min-height: 48px; }
  .carta-page .chip { min-height: 44px; }
  .carta-page .menu__list { column-gap: 0; }
}
.powered { display: block; margin-top: var(--space-md); font-size: var(--text-xs); }
.powered a { color: inherit; font-weight: 600; }

/* ================= Hallmark sweep fixes ================= */
h1, h2, h3, .h-section, .display, .space__quote, .story__lead { text-wrap: balance; }
::selection { background: var(--color-accent-2); color: var(--color-ink); }
strong, b { font-weight: 600; }
.visit .info__label { color: var(--color-ink-2); }
.chip { min-height: 44px; }
.lang button, .hint button, .header__cta, .btn, .menubar span { white-space: nowrap; }
.essence__text { max-width: 46ch; }
.purpose p, .purpose--photo p { max-width: 28ch; }
@media (min-width: 900px) { .purpose--photo p { max-width: 28ch; } }
.bean h3 { margin-top: var(--space-md); }
.btn:active, .chip:active, .pick:active, .stepper button:active, .orderbar__send:active, .menubar:active { transform: scale(0.98); }
.btn:disabled, .btn[aria-disabled="true"], button:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.space { display: grid; gap: var(--space-xl); max-width: none; }
@media (min-width: 900px) { .space { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; } .space .space__quote { margin-top: 0; } .space .jazz { grid-column: 2; margin-top: 0; } }

/* Pago a la Tierra */
.pago { background: var(--color-paper-2); }
.pago__grid { display: grid; gap: var(--space-xl); }
.pago__lead { font-size: var(--text-xl); line-height: 1.3; margin-top: var(--space-lg); max-width: 18ch; }
.pago__body { max-width: 62ch; }
.pago__body > * + * { margin-top: var(--space-lg); }
.pago__facts { margin-top: var(--space-2xl); }
.pago .row p { color: var(--color-ink-2); }
@media (min-width: 900px) { .pago__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; } }
.nav a { white-space: nowrap; }
.pago__facts.container { padding-inline: var(--gutter); margin-inline: auto; }

