/* ============================================================
   Copper Cup — Portland espresso bar
   Warm craft: cream / latte / copper / espresso.
   Single landing page.
   ============================================================ */
:root {
  --bg: #faf5ec;
  --cream: #f4ebdb;
  --cream-2: #ecdfc8;
  --latte: #e8d5b8;
  --copper: #b87333;
  --copper-deep: #96591f;
  --copper-soft: #f3e2c9;
  --ink: #2e1d12;
  --muted: #7d6552;
  --line: #e2d3b8;
  --line-soft: #eee1cb;

  --card: #fffdf8;
  --shadow: 0 24px 60px -26px rgba(46, 29, 18, 0.35);
  --shadow-sm: 0 14px 34px -18px rgba(46, 29, 18, 0.28);

  --r-lg: 26px;
  --r-md: 20px;

  --font-display: "Bitter", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body); background: var(--bg);
  color: var(--ink); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 0.55em; font-weight: 700; }
h1 em, h2 em { font-style: italic; font-weight: 600; color: var(--copper-deep); }
p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(var(--maxw), 100% - 3rem); margin-inline: auto; }
.section { padding: 5.5rem 0; }
.section-cream { background: var(--cream); }
::selection { background: var(--copper); color: #fff; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--copper-deep); color: #fff; padding: 0.6rem 1rem; border-radius: 0 0 12px 0; }
.skip-link:focus { left: 0; }

/* ---------- Topbar / header ---------- */
.topbar { background: var(--ink); color: #d9c3a6; font-size: 0.85rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar .roast { display: inline-flex; align-items: center; gap: 0.45rem; background: var(--copper); color: #fff; border-radius: 999px; padding: 0.25rem 0.85rem; font-weight: 700; }
.topbar-dot { opacity: 0.4; margin: 0 0.6rem; }
.site-header { position: sticky; top: 0; z-index: 80; background: rgba(250, 245, 236, 0.9); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line-soft); }
.site-header.scrolled { box-shadow: 0 12px 30px -20px rgba(46, 29, 18, 0.4); }
.nav-inner { display: flex; align-items: center; gap: 1.4rem; height: 76px; }
.brand { text-decoration: none; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; }
.brand-name small { display: block; margin-top: 2px; font-family: var(--font-body); font-weight: 600; font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; gap: 0.2rem; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 0.95rem; padding: 0.55rem 1rem; border-radius: 999px; color: var(--muted); }
.nav-links a:hover { color: var(--copper-deep); background: var(--copper-soft); }
.nav-actions { display: flex; align-items: center; gap: 0.7rem; }
.nav-phone { text-decoration: none; font-weight: 600; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; font-weight: 600; font-size: 1rem; padding: 0.95rem 1.8rem; border-radius: 999px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform 0.22s, box-shadow 0.22s, background 0.22s; font-family: var(--font-body); }
.btn-copper { background: var(--copper-deep); color: #fff; box-shadow: 0 16px 32px -14px rgba(150, 89, 31, 0.65); }
.btn-copper:hover { background: var(--copper); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-ghost { border-color: var(--line); background: transparent; color: var(--ink); }
.btn-ghost:hover { border-color: var(--copper-deep); color: var(--copper-deep); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.88rem; }
.btn-lg { padding: 1.1rem 2.2rem; font-size: 1.05rem; }

/* ---------- Headings ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper-deep); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--copper); border-radius: 2px; }
.section-head { max-width: 700px; margin-bottom: 2.6rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section-head.split { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; }
.section-head.split p { max-width: 36ch; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: clip; background: radial-gradient(800px 460px at 90% 0%, var(--copper-soft) 0%, transparent 60%), radial-gradient(600px 420px at 0% 30%, var(--cream) 0%, transparent 60%), var(--bg); padding: 4rem 0 4.5rem; border-bottom: 6px solid var(--ink); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); margin: 0.15em 0 0.35em; }
.hero-sub { font-size: 1.12rem; color: var(--muted); max-width: 50ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 1.8rem 0 1.4rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 1.4rem; }
.hero-chips span { font-size: 0.82rem; font-weight: 600; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.9rem; }
.hero-proof { display: flex; align-items: center; gap: 1rem; }
.hero-proof p { margin: 0; font-size: 0.93rem; color: var(--muted); }
.hero-proof strong { color: var(--ink); }
.stars { color: #d99a3d; letter-spacing: 0.1em; }
.avatars { display: flex; }
.avatars span { width: 38px; height: 38px; border-radius: 50%; border: 3px solid #fff; margin-left: -10px; display: grid; place-items: center; color: #fff; font-size: 0.7rem; font-weight: 700; box-shadow: var(--shadow-sm); }
.avatars span:first-child { margin-left: 0; }
.hero-visual { position: relative; }
.hero-photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); border: 10px solid #fff; aspect-ratio: 4 / 4.4; background: linear-gradient(150deg, var(--latte), var(--copper-soft)); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.float-card { position: absolute; background: rgba(255, 253, 248, 0.95); border-radius: 16px; padding: 0.8rem 1rem; box-shadow: var(--shadow); display: flex; gap: 0.7rem; align-items: center; animation: floaty 5.5s ease-in-out infinite; border-left: 5px solid var(--copper); }
.float-card strong { display: block; font-size: 0.9rem; line-height: 1.25; }
.float-card small { color: var(--muted); font-size: 0.79rem; }
.float-1 { left: -22px; top: 10%; }
.float-2 { right: -12px; bottom: 18%; animation-delay: -2.7s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Menu ---------- */
.menu-tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.6rem; }
.tab-btn { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 0.65rem 1.4rem; font-family: var(--font-body); font-weight: 600; font-size: 0.92rem; cursor: pointer; color: var(--muted); transition: all 0.2s; }
.tab-btn:hover { border-color: var(--copper-deep); color: var(--copper-deep); }
.tab-btn.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.menu-sheet { background: var(--card); border: 1px solid var(--line-soft); border-top: 6px solid var(--ink); border-radius: var(--r-md); padding: 0.6rem 1.8rem 1.2rem; box-shadow: var(--shadow-sm); }
.menu-item { display: flex; align-items: baseline; gap: 0.9rem; padding: 1.05rem 0; border-bottom: 1px dashed var(--line); }
.menu-item:last-child { border-bottom: 0; }
.menu-item.hidden { display: none; }
.menu-item .nm { font-weight: 600; font-size: 1.02rem; }
.menu-item .nm small { display: block; font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.menu-item .dots { flex: 1; border-bottom: 2px dotted #cbb892; min-width: 20px; transform: translateY(-4px); }
.menu-item .pr { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu-note { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 1.1rem; }

/* ---------- Beans ---------- */
.beans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.bean { background: #5b3a20; color: #f3e7d3; border-radius: var(--r-md); padding: 1.8rem; border-top: 6px solid var(--copper); transition: transform 0.25s; }
.bean:hover { transform: translateY(-6px); }
.bean .origin { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #e0aa5e; }
.bean h3 { color: #fff; font-size: 1.6rem; margin: 0.3rem 0; }
.bean p { color: #dec199; font-size: 0.92rem; }
.bean .notes { display: flex; gap: 0.45rem; flex-wrap: wrap; margin: 0.8rem 0 1.1rem; }
.bean .notes span { font-size: 0.76rem; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px; padding: 0.25rem 0.7rem; }
.bean-foot { display: flex; align-items: center; justify-content: space-between; }
.bean-foot b { font-family: var(--font-display); font-size: 1.6rem; color: #fff; }

/* ---------- Story ---------- */
.split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 3.2rem; align-items: center; }
.story-photo { border-radius: var(--r-lg); overflow: hidden; border: 10px solid #fff; box-shadow: var(--shadow); background: linear-gradient(150deg, var(--latte), var(--copper-soft)); aspect-ratio: 4 / 4.2; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.mini-stats { display: flex; gap: 2rem; margin-top: 1.4rem; flex-wrap: wrap; }
.mini-stats b { font-family: var(--font-display); font-size: 2rem; display: block; line-height: 1; }
.mini-stats b .suffix { font-family: var(--font-body); font-size: 0.5em; font-weight: 500; color: var(--muted); margin-left: 0.2em; }
.mini-stats span.lbl { color: var(--muted); font-size: 0.87rem; }

/* ---------- Reviews / visit ---------- */
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.rev { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: 1.7rem; display: flex; flex-direction: column; gap: 1rem; }
.rev blockquote { font-family: var(--font-display); font-size: 1.3rem; font-style: italic; margin: 0; flex: 1; }
.rev-who { display: flex; align-items: center; gap: 0.8rem; }
.rev-who span.av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 0.85rem; flex: none; }
.rev-who strong { display: block; font-size: 0.95rem; }
.rev-who small { color: var(--muted); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.visit-card { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: 1.9rem; }
.visit-card h3 { font-size: 1.6rem; }
.hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours td { padding: 0.55rem 0; border-bottom: 1px dashed var(--line); }
.hours tr:last-child td { border-bottom: 0; }
.hours td:last-child { text-align: right; font-weight: 600; }
.map-fake { border-radius: var(--r-md); overflow: hidden; background: linear-gradient(135deg, #e3cfae, #f2e4cb 55%, #d9e4d2); border: 1px solid var(--line-soft); min-height: 300px; position: relative; display: grid; place-items: center; }
.map-pin { position: relative; background: #fff; border-radius: 16px; padding: 1rem 1.2rem; box-shadow: var(--shadow); border-top: 5px solid var(--copper); max-width: 310px; }

/* ---------- FAQ / CTA / footer ---------- */
.faq-list { display: grid; gap: 0.8rem; max-width: 800px; }
.faq { background: var(--card); border: 1px solid var(--line-soft); border-radius: 16px; overflow: hidden; }
.faq.open { border-color: var(--copper); }
.faq-q { width: 100%; background: none; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; text-align: left; color: var(--ink); }
.faq-q .plus { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--copper-soft); color: var(--copper-deep); display: grid; place-items: center; font-size: 1.2rem; font-family: var(--font-body); transition: all 0.25s; }
.faq.open .plus { transform: rotate(45deg); background: var(--copper-deep); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--muted); }
.cta-banner { background: linear-gradient(120deg, var(--ink) 25%, #4a2c17 70%, var(--copper-deep)); border-radius: var(--r-lg); padding: 3rem; color: #fff; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 2rem; align-items: center; }
.cta-banner h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.cta-banner p { color: #e3c9a8; }
.cta-actions { display: flex; flex-direction: column; gap: 0.8rem; }
.cta-note { font-size: 0.88rem; color: #e3c9a8; text-align: center; }
.footer { background: var(--ink); color: #b99b7d; padding: 3.5rem 0 1.6rem; border-top: 6px solid var(--copper); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.7fr 0.7fr 0.9fr; gap: 2rem; margin-bottom: 2.2rem; }
.footer .brand-name { color: #fff; }
.footer h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 0.9rem; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; font-size: 0.94rem; }
.footer a { color: #b99b7d; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 1.3rem; display: flex; flex-wrap: wrap; gap: 0.8rem 1.6rem; justify-content: space-between; font-size: 0.85rem; }
.case-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; padding: 0.4rem 0.9rem; font-size: 0.8rem; }
.case-badge a { color: #fff; }

/* ---------- Toast / reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }

@media (max-width: 1020px) {
  .hero-grid, .split, .visit-grid, .cta-banner { grid-template-columns: 1fr; }
  .beans-grid, .rev-grid { grid-template-columns: 1fr 1fr; }
  .float-1 { left: 8px; }
  .float-2 { right: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 3.8rem 0; }
  .nav-links { position: fixed; inset: 76px 12px auto 12px; flex-direction: column; background: #fff; border: 1px solid var(--line-soft); border-radius: 20px; padding: 0.7rem; box-shadow: var(--shadow); transform: translateY(-16px); opacity: 0; pointer-events: none; transition: all 0.25s; z-index: 90; }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 0.85rem 1rem; }
  .burger { display: inline-flex; }
  .nav-phone { display: none; }
  .beans-grid, .rev-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .sub-note { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
