:root {
  --cream: #f7efe2;
  --cream-2: #efe3cf;
  --espresso: #1c140d;
  --espresso-2: #2a1d12;
  --mocha: #3a2417;
  --latte: #c9a986;
  --caramel: #d9a06b;
  --accent: #6f4e37;
  --accent-soft: #8a6a4f;
  --text: #2a2018;
  --text-soft: #5c4a3a;
  --line: rgba(58, 36, 23, 0.16);
  --shadow: 0 10px 30px rgba(28, 20, 13, 0.12);
  --shadow-lg: 0 24px 60px rgba(28, 20, 13, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --font-serif: "Georgia", "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--espresso);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

.section__head { max-width: 640px; margin-bottom: 44px; }
.section__head p { color: var(--text-soft); font-size: 1.05rem; margin-bottom: 0; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 239, 226, 0.86);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 38px; height: 38px; flex: 0 0 auto; }
.brand__name { font-family: var(--font-serif); font-size: 1.25rem; color: var(--espresso); font-weight: 700; line-height: 1; }
.brand__sub { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-soft); font-weight: 600; }
.site-nav { display: flex; gap: 26px; align-items: center; }
.site-nav a { color: var(--text); font-weight: 600; font-size: 0.95rem; }
.site-nav a:hover { color: var(--accent); text-decoration: none; }
.header-cta { background: var(--espresso); color: var(--cream) !important; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 0.92rem; transition: background 0.18s ease; }
.header-cta:hover { background: var(--mocha); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--espresso); margin: 4px 0; }

/* ===== Hero ===== */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(217, 160, 107, 0.28), transparent 60%),
    linear-gradient(180deg, var(--espresso) 0%, var(--mocha) 100%);
  color: var(--cream); overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill='%23d9a06b' fill-opacity='0.05'%3E%3Ccircle cx='20' cy='20' r='1'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6; pointer-events: none;
}
.hero__inner { position: relative; display: grid; gap: 40px; grid-template-columns: 1.1fr 0.9fr; align-items: center; padding: 96px 0; }
.hero h1 { color: var(--cream); margin-bottom: 18px; }
.hero h1 em { color: var(--caramel); font-style: italic; }
.hero p { color: rgba(247, 239, 226, 0.86); font-size: 1.12rem; max-width: 30em; }
.hero__eyebrow { color: var(--caramel); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin: 0 0 18px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem; transition: transform 0.15s ease, background 0.18s ease, color 0.18s ease; border: 1px solid transparent; cursor: pointer; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--caramel); color: var(--espresso); }
.btn--primary:hover { background: #e8b27e; }
.btn--ghost { background: transparent; color: var(--cream); border-color: rgba(247, 239, 226, 0.4); }
.btn--ghost:hover { border-color: var(--cream); }
.btn--dark { background: var(--espresso); color: var(--cream); }
.btn--dark:hover { background: var(--mocha); }

.hero__cup { position: relative; display: flex; justify-content: center; align-items: center; }
.hero__cup svg { width: min(420px, 90%); height: auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,0.45)); }

/* ===== Locations ===== */
.locations-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.location-card { background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); transition: transform 0.18s ease, box-shadow 0.18s ease; }
.location-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.location-card__badge { align-self: flex-start; background: var(--cream-2); color: var(--accent); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.location-card h3 { margin: 0; color: var(--espresso); }
.location-card__addr { color: var(--text-soft); font-size: 0.98rem; margin: 0; }
.location-card__hours { display: grid; gap: 4px; margin-top: 2px; }
.location-card__hours li { display: flex; justify-content: space-between; gap: 12px; font-size: 0.92rem; }
.location-card__hours li span:first-child { color: var(--text); font-weight: 600; }
.location-card__hours li span:last-child { color: var(--text-soft); }
.location-card__phone { color: var(--text-soft); font-size: 0.92rem; }
.location-card__map { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-weight: 700; font-size: 0.92rem; padding-top: 6px; }
.location-card__map:hover { color: var(--mocha); text-decoration: underline; }

/* ===== Menu ===== */
.menu-bg { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.menu-grid { display: grid; gap: 36px; grid-template-columns: repeat(3, 1fr); }
.menu-category h3 { border-bottom: 2px solid var(--caramel); padding-bottom: 10px; margin-bottom: 18px; color: var(--espresso); display: flex; align-items: center; gap: 10px; }
.menu-category h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; }
.menu-item { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.menu-item:last-child { border-bottom: none; }
.menu-item__name { font-weight: 700; color: var(--text); }
.menu-item__desc { color: var(--text-soft); font-size: 0.88rem; margin-top: 2px; }
.menu-item__price { font-weight: 700; color: var(--accent); white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu-note { margin-top: 30px; background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px; font-size: 0.92rem; color: var(--text-soft); max-width: 720px; }
.menu-note strong { color: var(--text); }

/* ===== Story ===== */
.story { background: var(--espresso); color: var(--cream); }
.story h2 { color: var(--cream); }
.story p { color: rgba(247, 239, 226, 0.8); }
.values-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); margin-top: 36px; }
.value-card { border: 1px solid rgba(247, 239, 226, 0.16); border-radius: var(--radius); padding: 26px 22px; background: rgba(247, 239, 226, 0.04); }
.value-card h3 { color: var(--caramel); margin-bottom: 8px; }
.value-card p { color: rgba(247, 239, 226, 0.7); font-size: 0.96rem; margin: 0; }
.value-card__icon { font-size: 1.6rem; margin-bottom: 10px; }

/* ===== CTA strip ===== */
.cta-strip { background: linear-gradient(135deg, var(--caramel) 0%, #c98c52 100%); color: var(--espresso); text-align: center; }
.cta-strip h2 { color: var(--espresso); margin-bottom: 10px; }
.cta-strip p { color: var(--espresso-2); max-width: 40em; margin: 0 auto 24px; }

/* ===== Footer ===== */
.site-footer { background: var(--espresso-2); color: rgba(247, 239, 226, 0.72); padding: 56px 0 32px; }
.site-footer a { color: var(--cream); }
.site-footer__grid { display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr 1fr; margin-bottom: 36px; }
.site-footer h4 { color: var(--cream); font-family: var(--font-sans); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer__brand .brand__name { color: var(--cream); }
.site-footer__brand p { font-size: 0.92rem; color: rgba(247, 239, 226, 0.6); margin-top: 10px; max-width: 30em; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer ul a { font-size: 0.92rem; color: rgba(247, 239, 226, 0.72); }
.site-footer ul a:hover { color: var(--caramel); }
.site-footer__bottom { border-top: 1px solid rgba(247, 239, 226, 0.14); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.84rem; color: rgba(247, 239, 226, 0.5); }

/* ===== Skip link ===== */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--espresso); color: var(--cream); padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; padding: 72px 0; }
  .hero__cup { order: -1; }
  .hero__cup svg { width: min(320px, 80%); }
  .locations-grid { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; gap: 28px; }
  .values-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .site-nav { display: none; }
  .nav-toggle { display: inline-block; }
  .site-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.is-open a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav.is-open .header-cta { margin: 10px 0; border-bottom: none !important; }
  .location-card { padding: 22px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .location-card:hover, .btn:hover { transform: none; }
}