/* Smoky Mountain Espresso — one shared stylesheet.
   Palette lives in :root; rebrand = edit this block. */
:root {
  --espresso: #241811;
  --roast: #3e2a1c;
  --roast-deep: #2b1d12;
  --cream: #faf4e9;
  --cream-2: #f1e5d1;
  --caramel: #a05a17;
  --caramel-dark: #8a4a0f;
  --caramel-bright: #c8863b;
  --smoke: #64766c;
  --pine: #2f4038;
  --radius: 14px;
  --shadow: 0 2px 14px rgba(43, 29, 18, 0.1);
  --wrap: 1080px;
}

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 600 700;
  font-display: swap;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--espresso);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.0625rem;
}
h1, h2, h3, .brand-text { font-family: "Fraunces", Georgia, serif; line-height: 1.15; color: var(--roast); }
h1 { font-size: clamp(2rem, 5.2vw, 3.1rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.05rem); font-weight: 600; margin-bottom: 0.75rem; }
h3 { font-size: 1.17rem; font-weight: 600; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--caramel-dark); text-underline-offset: 3px; }
a:hover { color: var(--roast); }
:focus-visible { outline: 3px solid var(--caramel); outline-offset: 2px; }
img { max-width: 100%; height: auto; display: block; }
.ic { width: 1.1em; height: 1.1em; flex: 0 0 auto; vertical-align: -0.16em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.wrap-narrow { max-width: 780px; }
.skip {
  position: absolute; left: -999px; top: 0; background: var(--roast); color: #fff;
  padding: 0.6rem 1rem; z-index: 100; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.72rem 1.25rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  font-family: inherit; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-solid { background: var(--caramel); color: #fff; }
.btn-solid:hover { background: var(--roast); color: #fff; }
.btn-ghost { background: transparent; color: var(--roast); border-color: var(--roast); }
.btn-ghost:hover { background: var(--roast); color: #fff; }

/* ---------- header ---------- */
.site-header {
  background: var(--cream); border-bottom: 1px solid rgba(62, 42, 28, 0.14);
  position: sticky; top: 0; z-index: 50;
}
.header-row { display: flex; align-items: center; gap: 1rem; padding-top: 0.6rem; padding-bottom: 0.6rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.logo-mark { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-top { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--smoke); font-weight: 600; }
.brand-bottom { font-size: 1.3rem; font-weight: 700; color: var(--roast); }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 1.35rem; list-style: none; }
.site-nav a { text-decoration: none; font-weight: 600; color: var(--espresso); padding: 0.35rem 0; }
.site-nav a:hover { color: var(--caramel-dark); }
.site-nav a[aria-current="page"] { color: var(--caramel-dark); box-shadow: 0 2px 0 var(--caramel); }
.nav-toggle { display: none; }
.header-call { white-space: nowrap; }

/* ---------- hero / page head ---------- */
.hero { background: linear-gradient(160deg, var(--cream) 20%, var(--cream-2) 75%, #e7d8bd 100%); padding: 3.5rem 0 1.5rem; }
.hero-inner { max-width: 820px; }
.kicker {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.8rem;
  font-weight: 700; color: var(--caramel-dark); margin-bottom: 0.8rem;
}
.lede { font-size: 1.18rem; color: #4a382a; margin-top: 1rem; max-width: 60ch; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 1.25rem; }
.proof-chips { display: flex; flex-wrap: wrap; gap: 0.55rem; list-style: none; margin-top: 0.5rem; }
.proof-chips li {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: #fff; border: 1px solid rgba(62, 42, 28, 0.16); border-radius: 999px;
  padding: 0.32rem 0.85rem; font-size: 0.9rem; font-weight: 600; color: var(--roast);
}
.proof-chips .ic { color: var(--caramel); }
.hero-photo { margin-top: 2rem; }
.page-head { background: linear-gradient(160deg, var(--cream) 30%, var(--cream-2) 100%); padding: 3rem 0 2rem; }

/* ---------- photo hero (home) ---------- */
.hero-photo-hero { position: relative; overflow: hidden; padding: 6rem 0 5rem; background: var(--roast-deep); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 68%;
  border-radius: 0; box-shadow: none;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20, 12, 6, 0.86) 0%, rgba(20, 12, 6, 0.6) 52%, rgba(20, 12, 6, 0.22) 100%);
}
.hero-photo-hero .hero-inner { position: relative; z-index: 1; }
.hero-photo-hero h1 { color: var(--cream); text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }
.hero-photo-hero .lede { color: #f3e9d8; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4); }
.hero-photo-hero .kicker { color: var(--caramel-bright); }
.hero-photo-hero .btn-ghost { color: var(--cream); border-color: var(--cream); }
.hero-photo-hero .btn-ghost:hover { background: var(--cream); color: var(--roast); }
.hero-photo-hero .proof-chips li {
  background: rgba(20, 12, 6, 0.55); border-color: rgba(250, 244, 233, 0.3);
  color: var(--cream); backdrop-filter: blur(3px);
}
.hero-photo-hero .proof-chips .ic { color: var(--caramel-bright); }
.hero-photo-hero + .ridge { background: var(--cream); }
@media (prefers-reduced-motion: no-preference) {
  .hero-bg img { animation: kenburns 30s ease-in-out infinite alternate; }
  @keyframes kenburns {
    from { transform: scale(1); }
    to { transform: scale(1.09) translateY(-1.75%); }
  }
}

/* ---------- ridge divider (signature) ---------- */
.ridge { line-height: 0; background: var(--cream); }
.ridge svg { width: 100%; height: 56px; display: block; }
.ridge .r1 { fill: var(--smoke); opacity: 0.35; }
.ridge .r2 { fill: var(--pine); opacity: 0.55; }
.hero + .ridge { background: linear-gradient(#e7d8bd, var(--cream)); }
.ridge-dark { background: var(--cream); }
.ridge-dark .r1 { fill: var(--roast); opacity: 0.35; }
.ridge-dark .r2 { fill: var(--roast-deep); opacity: 1; }

/* ---------- sections ---------- */
.section { padding: 3rem 0; }
.section-tint { background: var(--cream-2); }
.section-cta { margin-top: 1.75rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.1rem; margin-top: 1.5rem; }
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: #fff; border-radius: var(--radius); padding: 1.4rem;
  box-shadow: var(--shadow); border-top: 4px solid var(--caramel-bright);
}
.card h3 { margin-bottom: 0.5rem; }
.card h3 a { color: inherit; }
.figure { margin: 1.75rem 0 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.figure img { width: 100%; }
.figure figcaption { font-size: 0.88rem; color: var(--smoke); margin-top: 0.5rem; }
.figure-tall { max-width: 560px; margin-left: auto; margin-right: auto; }
.wrap-narrow .figure { margin-bottom: 1.75rem; }
@media (prefers-reduced-motion: no-preference) {
  .figure img { transition: transform 0.6s ease; }
  .figure:hover img { transform: scale(1.045); }
}
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; }
.split .figure { margin: 0; }
.cup-band {
  position: relative; width: 100%; height: 520px;
  background: url("/images/espresso-bar.jpg") center / cover no-repeat;
}
.cup-band model-viewer {
  width: 100%; height: 100%; display: block;
  background: transparent; --poster-color: transparent;
}
.cup-band-hint {
  position: absolute; left: 50%; bottom: 0.9rem; transform: translateX(-50%);
  margin: 0; padding: 0.4rem 1rem; max-width: calc(100% - 2rem);
  background: rgba(43, 29, 18, 0.72); color: var(--cream, #f6f0e4);
  font-size: 0.88rem; border-radius: 999px; text-align: center; pointer-events: none;
}
@media (max-width: 700px) {
  .cup-band { height: 380px; }
}

/* ---------- menu ---------- */
.menu-section h2 { margin-top: 2.4rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--caramel-bright); }
.menu-section h2:first-child { margin-top: 0; }
.menu-list { list-style: none; display: grid; gap: 0.4rem; }
.menu-list li { padding: 0.8rem 0; border-bottom: 1px dashed rgba(62, 42, 28, 0.18); }
.menu-list li:last-child { border-bottom: none; }
.menu-list h3 { color: var(--espresso); }
.menu-list p { margin: 0.15rem 0 0; color: #4a382a; font-size: 0.98rem; }
.callout {
  background: var(--cream-2); border-left: 5px solid var(--caramel);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 1.3rem 1.5rem; margin-top: 2.5rem;
}

/* ---------- drink-photo marquee ---------- */
.marquee-band { overflow: hidden; padding: 2.25rem 0 2.75rem; background: var(--cream); }
.marquee-track { display: flex; width: max-content; }
.marquee-item { flex: 0 0 auto; margin-right: 1.1rem; }
.marquee-item img {
  height: 280px; width: auto; display: block;
  border-radius: 12px; box-shadow: var(--shadow);
}
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 48s linear infinite; }
  .marquee-band:hover .marquee-track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-band { overflow-x: auto; }
}
@media (max-width: 700px) {
  .marquee-item img { height: 200px; }
}

/* ---------- reviews on the roasted-beans band ---------- */
.reviews-band { position: relative; background: url("/images/beans-band.webp") center / cover no-repeat; }
@media (min-width: 900px) and (hover: hover) { .reviews-band { background-attachment: fixed; } }
.reviews-band::before { content: ""; position: absolute; inset: 0; background: rgba(22, 12, 6, 0.8); }
.reviews-band .wrap { position: relative; }
.reviews-band h2 { color: var(--cream); }
.reviews-band .review-links { color: #ead9c3; }
.reviews-band .review-links a { color: var(--caramel-bright); }
.reviews-band .review-links a:hover { color: #fff; }

/* ---------- reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.1rem; margin-top: 1.5rem; }
.review {
  background: #fff; border-radius: var(--radius); padding: 1.4rem;
  box-shadow: var(--shadow); font-style: italic; color: #3c2c1e;
}
.review footer { font-style: normal; font-weight: 700; font-size: 0.88rem; color: var(--smoke); margin-top: 0.7rem; }
.review-links { margin-top: 1.25rem; }

/* ---------- froyo strip ---------- */
.froyo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.froyo-strip > div { max-width: 560px; }
.froyo-badge { flex: 0 0 auto; margin: 0; }
.froyo-badge img {
  width: 168px; height: 168px; border-radius: 50%; object-fit: cover;
  border: 6px solid #fff; box-shadow: 0 6px 24px rgba(43, 29, 18, 0.25);
  transform: rotate(-4deg);
}
@media (prefers-reduced-motion: no-preference) {
  .froyo-badge img { animation: bob 5.5s ease-in-out infinite; }
  @keyframes bob {
    0%, 100% { transform: translateY(0) rotate(-4deg); }
    50% { transform: translateY(-9px) rotate(-1.5deg); }
  }
}

/* ---------- menu feature (poster) ---------- */
.menu-feature {
  display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 0;
  margin: 2.5rem 0 0.5rem; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; align-items: center;
}
.menu-feature-photo { margin: 0; }
.menu-feature-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.menu-feature-copy { padding: 1.75rem 2rem; }
.menu-feature-copy h2 { border-bottom: none; margin-top: 0.3rem; }
.menu-section .menu-feature-copy h2 { margin-top: 0.3rem; border-bottom: none; padding-bottom: 0; }
@media (max-width: 640px) {
  .menu-feature { grid-template-columns: 1fr; }
  .menu-feature-photo img { max-height: 420px; }
}

/* ---------- FAQ ---------- */
.faq-section { padding-bottom: 3.5rem; }
.faq { background: #fff; border-radius: 10px; box-shadow: var(--shadow); margin-top: 0.8rem; overflow: hidden; }
.faq summary {
  cursor: pointer; font-weight: 700; padding: 1rem 1.2rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--roast);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--caramel); line-height: 1; }
.faq[open] summary::after { content: "\2013"; }
.faq-a { padding: 0 1.2rem 1.1rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.1rem; }
.contact-card { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.contact-card h2 { display: flex; align-items: center; gap: 0.5rem; font-size: 1.25rem; }
.contact-card .ic { color: var(--caramel); }
.tel-big { font-size: 1.45rem; font-weight: 800; text-decoration: none; color: var(--roast); }
.hours-table, .footer-hours { list-style: none; }
.hours-table li, .footer-hours li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.3rem 0; border-bottom: 1px dashed rgba(62, 42, 28, 0.15); }
.hours-table li:last-child { border-bottom: none; }
.hours-note { font-size: 0.9rem; color: var(--smoke); margin-top: 0.7rem; }
address { font-style: normal; }

.map-shell { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-preview {
  background: linear-gradient(150deg, var(--pine), var(--smoke)); color: #fff;
  min-height: 300px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 0.9rem; text-align: center; padding: 2rem;
}
.map-preview .ic { width: 2.2rem; height: 2.2rem; }
.map-preview a { color: #fff; }
.map-note { font-size: 0.85rem; opacity: 0.85; }
.map-shell iframe { width: 100%; height: 420px; border: 0; display: block; }

.contact-form { background: #fff; border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.contact-form label { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 1rem; color: var(--roast); }
.contact-form input, .contact-form textarea {
  display: block; width: 100%; margin-top: 0.35rem; padding: 0.65rem 0.8rem;
  border: 1.5px solid rgba(62, 42, 28, 0.3); border-radius: 8px;
  font: inherit; background: var(--cream); color: var(--espresso);
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--caramel); outline: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-status { margin-top: 0.8rem; font-weight: 600; }

/* ---------- CTA strip ---------- */
.cta-strip { background: var(--cream-2); padding: 2.75rem 0; border-top: 1px solid rgba(62, 42, 28, 0.1); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-inner > div:first-child { max-width: 560px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- crumbs ---------- */
.crumbs { font-size: 0.88rem; padding: 0.8rem 0 0; color: var(--smoke); }
.crumbs a { color: var(--smoke); }
.crumbs span { color: var(--roast); font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { background: var(--roast-deep); color: #ead9c3; padding: 2.5rem 0 1rem; }
.site-footer a { color: #f3c98a; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 2rem; }
.footer-brand { font-family: "Fraunces", Georgia, serif; font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.footer-head { font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; color: #c8a97e; margin-bottom: 0.6rem; }
.footer-links { list-style: none; }
.footer-links li { padding: 0.18rem 0; }
.footer-hours li { border-color: rgba(234, 217, 195, 0.2); font-size: 0.95rem; }
.footer-social { margin-top: 0.8rem; }
.footer-note { font-size: 0.95rem; }
.footer-bottom { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(234, 217, 195, 0.2); font-size: 0.85rem; color: #c8a97e; }
.footer-legal { margin-top: 0.35rem; }

/* ---------- legal pages ---------- */
.legal-body h2 { margin-top: 2.2rem; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body ul { padding-left: 1.3rem; margin-bottom: 1rem; }
.legal-body li { margin-bottom: 0.4rem; }

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

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .site-nav { position: relative; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 0.5rem; background: none;
    border: 2px solid var(--roast); border-radius: 8px; padding: 0.4rem 0.8rem;
    font: inherit; font-weight: 700; color: var(--roast); cursor: pointer;
  }
  .nav-bars { width: 18px; height: 2px; background: var(--roast); position: relative; display: inline-block; }
  .nav-bars::before, .nav-bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--roast); }
  .nav-bars::before { top: -6px; }
  .nav-bars::after { top: 6px; }
  .site-nav ul {
    display: none; position: absolute; right: 0; top: calc(100% + 0.6rem);
    background: #fff; border-radius: 12px; box-shadow: 0 8px 30px rgba(43, 29, 18, 0.25);
    flex-direction: column; gap: 0; min-width: 220px; padding: 0.5rem; z-index: 60;
  }
  .site-nav.open ul { display: flex; }
  .site-nav ul a { display: block; padding: 0.65rem 0.9rem; border-radius: 8px; }
  .site-nav ul a[aria-current="page"] { box-shadow: none; background: var(--cream-2); }
  .header-call span { display: none; }
  .header-call { padding: 0.6rem 0.7rem; }
  .split { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .mobile-bar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 70;
    background: var(--roast-deep); box-shadow: 0 -4px 16px rgba(43, 29, 18, 0.3);
  }
  .mobile-bar a {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.45rem;
    color: #fff; text-decoration: none; font-weight: 700; padding: 0.85rem 0; font-size: 0.95rem;
  }
  .mobile-bar a + a { border-left: 1px solid rgba(234, 217, 195, 0.25); }
  body { padding-bottom: 3.2rem; }
  .hero { padding-top: 2.5rem; }
}

@media (max-width: 420px) {
  .wrap { padding: 0 1rem; }
  .header-row { gap: 0.5rem; }
  .logo-mark { width: 36px; height: 36px; }
  .brand-top { font-size: 0.62rem; }
  .brand-bottom { font-size: 1.05rem; }
  .nav-toggle { padding: 0.35rem 0.55rem; font-size: 0.9rem; gap: 0.35rem; }
  .header-call { padding: 0.5rem 0.6rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .card, .review { transition: transform 0.18s ease; }
  .card:hover { transform: translateY(-3px); }
}

/* ---------- scroll reveal (class added by js; no-js pages stay visible) ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.card.reveal.in-view:hover { transform: translateY(-3px); }
