:root {
  --espresso: #17100d;
  --roast: #3a2119;
  --copper: #c5743a;
  --cream: #fbf6ea;
  --milk: #e8ddca;
  --sage: #60705a;
  --ink: #251914;
  --muted: #806f62;
  --line: rgba(37, 25, 20, 0.14);
  --shadow: 0 22px 80px rgba(23, 16, 13, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  display: flex;
  width: min(1120px, calc(100% - 32px));
  min-height: 62px;
  transform: translateX(-50%);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(23, 16, 13, 0.76);
  padding: 10px 12px 10px 18px;
  color: #fff8ee;
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  transition: background 220ms ease, transform 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(23, 16, 13, 0.92);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--copper);
  color: var(--espresso);
}

.nav {
  gap: 6px;
}

.nav a {
  border-radius: 8px;
  padding: 12px 14px;
  color: rgba(255, 248, 238, 0.82);
  font-size: 14px;
  transition: background 180ms ease, color 180ms ease;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav .nav-cta {
  background: #fff8ee;
  color: var(--espresso);
  font-weight: 700;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--espresso);
  color: #fff8ee;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(23, 16, 13, 0.9), rgba(23, 16, 13, 0.48) 45%, rgba(23, 16, 13, 0.18)),
    linear-gradient(0deg, rgba(23, 16, 13, 0.5), transparent 50%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: slowZoom 16s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(1120px, calc(100% - 32px));
  min-height: 100svh;
  align-content: center;
  margin: 0 auto;
  padding: 118px 0 84px;
}

.eyebrow,
.section-kicker,
.menu-card span,
.visit-card span,
.hero-card span {
  color: var(--copper);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.intro h2,
.section-heading h2,
.story-copy h2,
.roast-copy h2,
.reserve h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 0.95;
}

.hero h1 {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(54px, 9vw, 124px);
}

.hero-copy {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 248, 238, 0.82);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--copper);
  color: var(--espresso);
  box-shadow: 0 14px 30px rgba(197, 116, 58, 0.26);
}

.btn-ghost {
  border-color: rgba(255, 248, 238, 0.32);
  color: #fff8ee;
}

.hero-card {
  position: absolute;
  right: max(24px, calc((100vw - 1120px) / 2));
  bottom: 54px;
  z-index: 3;
  width: min(310px, calc(100% - 32px));
  border: 1px solid rgba(255, 248, 238, 0.2);
  border-radius: 8px;
  background: rgba(255, 248, 238, 0.12);
  padding: 22px;
  backdrop-filter: blur(18px);
}

.hero-card strong {
  display: block;
  margin-top: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.hero-card p {
  margin: 8px 0 0;
  color: rgba(255, 248, 238, 0.75);
  line-height: 1.45;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--roast);
  color: var(--milk);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 24s linear infinite;
}

.marquee span {
  padding: 18px 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  white-space: nowrap;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0;
}

.intro-grid,
.story,
.roast-band,
.visit-grid {
  display: grid;
  gap: 28px;
}

.intro-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  align-items: end;
  margin-top: 18px;
}

.intro h2,
.section-heading h2,
.story-copy h2,
.roast-copy h2,
.reserve h2 {
  font-size: clamp(38px, 5vw, 72px);
}

.intro p,
.story-copy p,
.visit-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.menu-section {
  width: 100%;
  background: var(--milk);
  padding-inline: max(16px, calc((100vw - 1120px) / 2));
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.menu-card,
.visit-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.42);
  overflow: hidden;
}

.menu-card {
  box-shadow: 0 16px 50px rgba(37, 25, 20, 0.08);
}

.menu-card img {
  width: 100%;
  aspect-ratio: 1.15;
  object-fit: cover;
}

.menu-card div {
  padding: 22px;
}

.menu-card h3,
.visit-card strong {
  display: block;
  margin: 8px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
}

.menu-card p {
  min-height: 78px;
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.menu-card strong {
  font-size: 18px;
}

.story {
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
}

.story-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.story-image img {
  width: 100%;
  height: min(620px, 70vh);
  object-fit: cover;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 30px;
}

.stats div {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.stats strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
}

.stats span {
  color: var(--muted);
  font-size: 13px;
}

.roast-band {
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  background: var(--sage);
  color: #fff8ee;
  padding-inline: max(16px, calc((100vw - 1120px) / 2));
}

.roast-copy h2 {
  max-width: 780px;
}

.roast-notes {
  display: grid;
  grid-template-columns: repeat(2, 120px);
  gap: 10px;
}

.roast-notes span {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 248, 238, 0.28);
  border-radius: 50%;
  color: rgba(255, 248, 238, 0.82);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.visit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.visit-card {
  min-height: 230px;
  padding: 26px;
}

.reserve {
  background:
    linear-gradient(rgba(23, 16, 13, 0.74), rgba(23, 16, 13, 0.74)),
    url("assets/hero.jpg") center / cover fixed;
  color: #fff8ee;
  padding: 104px 16px;
}

.reserve-inner {
  width: min(920px, 100%);
  margin: 0 auto;
  text-align: center;
}

.reserve-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  margin-top: 34px;
  border: 1px solid rgba(255, 248, 238, 0.18);
  border-radius: 8px;
  background: rgba(255, 248, 238, 0.12);
  padding: 12px;
  backdrop-filter: blur(18px);
}

.reserve-form label {
  display: grid;
  gap: 6px;
  text-align: left;
}

.reserve-form span {
  color: rgba(255, 248, 238, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.reserve-form input,
.reserve-form select {
  min-height: 48px;
  width: 100%;
  border: 1px solid rgba(255, 248, 238, 0.18);
  border-radius: 8px;
  background: rgba(255, 248, 238, 0.94);
  padding: 0 14px;
  color: var(--ink);
  font: inherit;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  background: var(--espresso);
  padding: 24px max(16px, calc((100vw - 1120px) / 2));
  color: rgba(255, 248, 238, 0.74);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slowZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.1); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 820px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .nav-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;
    background: #fff8ee;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-radius: 8px;
    background: rgba(23, 16, 13, 0.96);
    padding: 8px;
  }

  .nav.is-open {
    display: flex;
  }

  .hero-content {
    padding-top: 112px;
    padding-bottom: 220px;
  }

  .hero-media::after {
    background:
      linear-gradient(0deg, rgba(23, 16, 13, 0.86), rgba(23, 16, 13, 0.42)),
      linear-gradient(90deg, rgba(23, 16, 13, 0.62), transparent);
  }

  .hero h1 {
    font-size: clamp(48px, 16vw, 78px);
  }

  .hero-card {
    right: 16px;
    bottom: 28px;
    left: 16px;
    width: auto;
  }

  .intro-grid,
  .story,
  .roast-band,
  .menu-grid,
  .visit-grid,
  .reserve-form {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .section-heading {
    display: block;
  }

  .menu-card p {
    min-height: auto;
  }

  .story-image img {
    height: 420px;
  }

  .roast-notes {
    grid-template-columns: repeat(4, minmax(68px, 1fr));
  }

  .roast-notes span {
    font-size: 16px;
  }

  .reserve {
    background-attachment: scroll;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .brand span:last-child {
    max-width: 116px;
    line-height: 1.05;
  }

  .hero-actions .btn,
  .reserve-form .btn {
    width: 100%;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .roast-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
