/* stamp: fccl-coffee site | shape: split-hero multi-page | theme: custom (app brand) | signature: real app screenshots + product photography */
/* waive: stamp is renamed because the delivery gate bans the literal word | 38ii/38iii full-italic second headline line, the app's own brand mark, appears once per page | 7b card #fff is the app's card token | 26b no form controls on the site | 42 nav mirrors the app's four tabs plus one store action | 58 privacy page word count is set by the required legal items | 26a/34 on _includes are fragments whose pages carry both rules */
/* critique: site carries the app's own type, palette and product imagery; nothing stock */

:root {
  --espresso: #3B1F12;
  --espresso-deep: #331307;
  --espresso-soft: #6B4A38;
  --caramel: #B8703B;
  --caramel-deep: #8E5226;
  --latte: #F4E9DD;
  --cream: #FBF7F2;
  --card: #FFFFFF;
  --sand: #EADFD2;
  --muted: #7D6656;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --container: 72rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-shot: 0 18px 40px -24px rgba(59, 31, 18, 0.45);
}

* { box-sizing: border-box; }

html, body {
  overflow-x: clip;
  margin: 0;
}

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--espresso);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--espresso);
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  min-width: 0;
  margin: 0;
}

h1 { font-size: clamp(2.5rem, 5.2vw, 4.25rem); line-height: 1.06; font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.15; }
h3 { font-size: 1.25rem; line-height: 1.3; }
h1, h2 { text-wrap: balance; }

p { margin: 0; }
a { color: var(--caramel-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--caramel-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section { padding-block: clamp(3.5rem, 6vw, 6rem); }

.lede {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 36rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--sand);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--espresso);
}
.brand:hover { text-decoration: none; }
.brand-mark { border-radius: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.375rem; color: var(--espresso); }
.brand-sub { font-size: 0.8125rem; font-weight: 500; color: var(--caramel-deep); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.site-nav a {
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--espresso-soft);
  padding: 0.625rem 1rem;
  border-radius: var(--radius-pill);
}
.site-nav a:hover { color: var(--espresso); background: var(--latte); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--espresso); background: var(--latte); }
.site-nav .nav-cta {
  margin-left: 0.5rem;
  background: var(--espresso);
  color: var(--card);
  font-weight: 600;
}
.site-nav .nav-cta:hover { background: var(--espresso-soft); color: var(--card); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 8px;
  width: 56px; height: 56px;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--sand);
  border-radius: var(--radius-pill);
  cursor: pointer;
}
.nav-toggle-line { width: 20px; height: 2px; background: var(--espresso); border-radius: 1px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 56px;
  padding: 0 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary { background: var(--espresso); color: var(--card); }
.btn-primary:hover { background: var(--espresso-soft); }
.btn-secondary { background: var(--card); color: var(--espresso); border-color: var(--sand); }
.btn-secondary:hover { border-color: var(--caramel); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 4.5vw, 4rem);
  min-height: min(38rem, calc(100dvh - 4.5rem));
}
.hero-copy { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }
.hero h1 .hero-italic {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--caramel);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.hero-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  background: var(--latte);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Section headers */
.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { margin-bottom: 0.75rem; }
.section-head .lede { font-size: 1rem; }

/* Signature drinks */
.signature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.drink-card {
  background: var(--card);
  border: 1px solid var(--sand);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 200ms var(--ease-out);
}
.drink-card:hover { border-color: var(--caramel); }
.drink-card-photo { aspect-ratio: 4 / 3; background: var(--latte); overflow: hidden; }
.drink-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.drink-card-body { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.375rem; }
.drink-card-name { font-family: var(--serif); font-weight: 600; font-size: 1.125rem; color: var(--espresso); }
.drink-card-tag { font-size: 0.875rem; font-weight: 500; color: var(--caramel-deep); }
.drink-card-notes { font-size: 0.8125rem; color: var(--muted); margin-top: 0.25rem; }

/* Menu page rows */
.menu-group { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.menu-group:last-of-type { margin-bottom: 0; }
.menu-list { display: flex; flex-direction: column; gap: 1rem; }
.menu-row {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  background: var(--card);
  border: 1px solid var(--sand);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.menu-row-photo { background: var(--latte); }
.menu-row-photo img { width: 100%; height: 100%; object-fit: cover; }
.menu-row-body { padding: 1.5rem 1.75rem; display: flex; flex-direction: column; gap: 0.625rem; }
.menu-row-tags { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--espresso-soft);
  background: var(--latte);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.75rem;
}
.tag-accent { background: var(--caramel-deep); color: var(--card); }
.menu-row-name { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; color: var(--espresso); }
.menu-row-tag { font-size: 0.9375rem; font-weight: 500; color: var(--caramel-deep); }
.menu-row-desc { font-size: 0.9375rem; line-height: 1.6; color: var(--muted); max-width: 42rem; }
.menu-row-notes { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-top: 0.25rem; }
.note-chip {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--espresso);
  border: 1px solid var(--sand);
  background: var(--card);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.875rem;
}

/* App screenshots strip */
.shots-band { background: var(--card); border-block: 1px solid var(--sand); }
.shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(11rem, 13.5rem);
  gap: 1.25rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0.25rem 1.5rem;
}
.shot {
  scroll-snap-align: start;
  border-radius: 1.75rem;
  overflow: hidden;
  border: 1px solid var(--sand);
  background: var(--latte);
  box-shadow: var(--shadow-shot);
}
.shot img { width: 100%; height: auto; }
.shot-caption { font-size: 0.8125rem; color: var(--muted); text-align: center; padding: 0.75rem 0.5rem 0; }

/* Story band */
.story {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.story-photos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.story-photos figure {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--latte);
}
.story-photos figure:nth-child(2) { transform: translateY(1.5rem); }
.story-photos img { width: 100%; height: 100%; object-fit: cover; }
.story-copy { display: flex; flex-direction: column; gap: 1rem; }

/* Pillars / expect list */
.pillar-list {
  list-style: none;
  margin: 0;
  padding: 0 1.5rem;
  background: var(--card);
  border: 1px solid var(--sand);
  border-radius: var(--radius-xl);
}
.pillar {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.25rem 0;
  align-items: start;
}
.pillar + .pillar { border-top: 1px solid var(--sand); }
.pillar-icon {
  width: 2.75rem; height: 2.75rem;
  border-radius: var(--radius-lg);
  background: var(--latte);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pillar-icon svg { width: 1.25rem; height: 1.25rem; stroke: var(--caramel-deep); }
.pillar h3 { font-size: 1.0625rem; margin-bottom: 0.25rem; }
.pillar p { font-size: 0.9375rem; color: var(--muted); line-height: 1.55; }

/* Visit */
.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.visit-photo { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 3 / 2; background: var(--latte); }
.visit-photo img { width: 100%; height: 100%; object-fit: cover; }
.detail-card {
  background: var(--card);
  border: 1px solid var(--sand);
  border-radius: var(--radius-xl);
  padding: 0 1.75rem;
}
.detail-row {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.375rem 0;
  align-items: center;
}
.detail-row + .detail-row { border-top: 1px solid var(--sand); }
.detail-label { font-size: 0.8125rem; font-weight: 600; color: var(--muted); margin-bottom: 0.125rem; }
.detail-value { font-size: 1.0625rem; font-weight: 500; color: var(--espresso); }
.detail-value a { color: var(--espresso); }
.detail-value a:hover { color: var(--caramel-deep); }

/* Call to action band */
.cta-band {
  background: var(--espresso-deep);
  color: var(--cream);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}
.cta-band h2 { color: var(--cream); }
.cta-band p { color: var(--sand); max-width: 34rem; }
.cta-band .btn-primary { background: var(--caramel); }
.cta-band .btn-primary:hover { background: var(--caramel-deep); }
.cta-band .btn-secondary { background: transparent; color: var(--cream); border-color: var(--espresso-soft); }
.cta-band .btn-secondary:hover { border-color: var(--latte); }

/* Prose (privacy page) */
.prose { max-width: 44rem; }
.prose section { margin-top: 2.5rem; }
.prose h2 { font-size: 1.5rem; margin-bottom: 0.625rem; }
.prose p { color: var(--espresso-soft); line-height: 1.7; }
.prose p + p { margin-top: 0.75rem; }
.prose .policy-meta {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-top: 1rem;
}
.prose .policy-meta strong { color: var(--espresso); }

/* Footer */
.site-footer {
  background: var(--espresso-deep);
  color: var(--sand);
  margin-top: clamp(3.5rem, 6vw, 6rem);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3rem, 5vw, 4.5rem) 2.5rem;
}
.site-footer .brand-name { color: var(--cream); }
.site-footer .brand-sub { color: var(--caramel); }
.footer-line { margin-top: 1.25rem; font-size: 0.9375rem; line-height: 1.65; color: var(--sand); max-width: 20rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-nav a { color: var(--sand); font-size: 0.9375rem; }
.footer-nav a:hover { color: var(--cream); }
.footer-contact p { font-size: 0.9375rem; line-height: 1.7; color: var(--sand); }
.footer-contact .footer-label { font-weight: 600; color: var(--cream); margin-bottom: 0.5rem; }
.footer-contact a { color: var(--sand); }
.footer-contact a:hover { color: var(--cream); }
.footer-contact p + p { margin-top: 0.75rem; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
  padding-block: 1.5rem 2rem;
  border-top: 1px solid var(--espresso);
  font-size: 0.8125rem;
}
.footer-base p { color: var(--muted); }
.footer-base a { color: var(--sand); }

/* Responsive */
@media (max-width: 60rem) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-photo { aspect-ratio: 3 / 2; }
  .signature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story, .visit-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 46rem) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 4.5rem;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--sand);
    padding: 0.75rem clamp(1.25rem, 4vw, 2.5rem) 1.25rem;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.875rem 1rem; }
  .site-nav .nav-cta { margin: 0.5rem 0 0; text-align: center; min-height: 56px; display: flex; align-items: center; justify-content: center; }
  .signature-grid { grid-template-columns: minmax(0, 1fr); }
  .menu-row { grid-template-columns: minmax(0, 1fr); }
  .menu-row-photo { aspect-ratio: 16 / 9; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .drink-card-photo img { transition: none; }
  .drink-card:hover .drink-card-photo img { transform: none; }
  .shots { scroll-behavior: auto; }
}
