:root {
  --cream: #f7efe1;
  --paper: #fffaf1;
  --espresso: #2e1d16;
  --mocha: #5a372a;
  --cookie: #c99a62;
  --cola: #a93126;
  --soda-blue: #a9dbe2;
  --soda-green: #b9d9bf;
  --ink-soft: #6d5a4e;
  --line: rgba(46, 29, 22, 0.16);
  --shadow: 0 24px 70px rgba(46, 29, 22, 0.16);
  color: var(--espresso);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.86), rgba(247, 239, 225, 0.96)),
    var(--paper);
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 18px;
  left: 50%;
  display: grid;
  width: min(calc(100% - 32px), 1160px);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 250, 241, 0.64);
  border-radius: 999px;
  padding: 10px 12px 10px 16px;
  background: rgba(255, 250, 241, 0.78);
  box-shadow: 0 16px 44px rgba(46, 29, 22, 0.12);
  backdrop-filter: blur(18px);
}

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

.brand {
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 250, 241, 0.5);
  background:
    radial-gradient(circle at 72% 24%, rgba(255, 250, 241, 0.18), transparent 18px),
    var(--espresso);
  box-shadow:
    inset 0 0 0 2px rgba(255, 250, 241, 0.1),
    0 10px 24px rgba(46, 29, 22, 0.16);
}

.mark-letter {
  color: var(--paper);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.42rem;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-1px);
}

.mark-dot {
  position: absolute;
  display: block;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(46, 29, 22, 0.2);
}

.dot-coffee {
  right: 9px;
  bottom: 10px;
  width: 6px;
  height: 6px;
  background: #fff2d7;
}

.dot-soda {
  right: 13px;
  top: 9px;
  width: 5px;
  height: 5px;
  background: var(--soda-blue);
}

.dot-cookie {
  left: 10px;
  bottom: 9px;
  width: 4px;
  height: 4px;
  background: var(--cookie);
}

.brand-wordmark {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brand-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.16rem;
  font-weight: 700;
}

.brand-sub {
  color: var(--mocha);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links {
  gap: 26px;
  color: rgba(46, 29, 22, 0.78);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-action {
  justify-self: end;
  border-radius: 999px;
  padding: 11px 18px;
  background: var(--cola);
  color: #fffaf6;
  font-size: 0.9rem;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 130px max(22px, calc((100vw - 1160px) / 2)) 86px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(247, 239, 225, 0.96) 0%, rgba(247, 239, 225, 0.82) 35%, rgba(247, 239, 225, 0.12) 70%),
    linear-gradient(0deg, rgba(46, 29, 22, 0.18), rgba(46, 29, 22, 0.02));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  min-width: 0;
}

.eyebrow,
.menu-kicker {
  margin: 0 0 16px;
  color: var(--cola);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(4rem, 12vw, 9.7rem);
  line-height: 0.84;
}

.tagline {
  margin-bottom: 22px;
  color: var(--mocha);
  font-size: clamp(1.4rem, 3vw, 2.45rem);
  font-weight: 800;
}

.hero-copy {
  max-width: 470px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 800;
}

.button.primary {
  background: var(--espresso);
  color: var(--paper);
}

.button.secondary {
  border: 1px solid rgba(46, 29, 22, 0.22);
  background: rgba(255, 250, 241, 0.58);
}

.ticker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: var(--espresso);
  color: var(--paper);
}

.ticker span {
  min-height: 72px;
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(255, 250, 241, 0.18);
  padding: 18px;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.menu-section,
.shop-band,
.story-section {
  width: min(calc(100% - 44px), 1160px);
  margin-inline: auto;
}

.menu-section {
  padding: 92px 0;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(260px, 0.7fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.section-intro h2,
.shop-copy h2,
.story-copy h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 0.95;
}

.section-intro p:last-child,
.shop-copy p,
.story-copy p {
  color: var(--ink-soft);
  line-height: 1.75;
}

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

.menu-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.menu-card h3 {
  margin-bottom: 12px;
  font-size: 1.55rem;
}

.menu-card p:not(.menu-kicker) {
  color: rgba(46, 29, 22, 0.72);
  line-height: 1.65;
}

.menu-card span {
  margin-top: 22px;
  font-weight: 800;
}

.coffee {
  background: linear-gradient(145deg, #fff6e7 0%, #d9b98e 100%);
}

.soda {
  background:
    linear-gradient(145deg, rgba(169, 219, 226, 0.86), rgba(185, 217, 191, 0.88)),
    #f7efe1;
}

.cookie {
  background: linear-gradient(145deg, #f5ddbd 0%, #b8814a 100%);
}

.shop-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.88fr) minmax(300px, 0.72fr);
  gap: 44px;
  align-items: center;
  border-block: 1px solid var(--line);
  padding: 74px 0;
}

.order-panel {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(46, 29, 22, 0.18);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 250, 241, 0.86);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--mocha);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

select,
button {
  min-height: 52px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
  color: var(--espresso);
  font: inherit;
}

select {
  background: #fffdf8;
}

button {
  margin-top: 4px;
  border-color: var(--espresso);
  background: var(--espresso);
  color: var(--paper);
  cursor: pointer;
  font-weight: 800;
}

.story-section {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 52px;
  align-items: center;
  padding: 92px 0 106px;
}

.story-stat {
  border-left: 8px solid var(--cola);
  padding-left: 24px;
}

.story-stat span {
  display: block;
  color: var(--espresso);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  line-height: 0.9;
}

.story-stat p {
  max-width: 260px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-weight: 700;
  line-height: 1.6;
}

.site-footer {
  display: flex;
  min-height: 110px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px max(22px, calc((100vw - 1160px) / 2));
  background: var(--espresso);
  color: var(--paper);
  font-weight: 800;
}

.site-footer span:nth-child(2) {
  color: rgba(255, 250, 241, 0.68);
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding-top: 118px;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(247, 239, 225, 0.97), rgba(247, 239, 225, 0.72) 66%, rgba(247, 239, 225, 0.18)),
      linear-gradient(0deg, rgba(46, 29, 22, 0.2), rgba(46, 29, 22, 0));
  }

  .ticker,
  .menu-grid,
  .section-intro,
  .shop-band,
  .story-section {
    grid-template-columns: 1fr;
  }

  .ticker span {
    min-height: 54px;
  }

  .menu-section {
    padding: 68px 0;
  }

  .menu-card {
    min-height: 250px;
  }

  .shop-band,
  .story-section {
    gap: 28px;
    padding: 60px 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header {
    top: 10px;
    left: 10px;
    right: 10px;
    width: auto;
    transform: none;
    padding-left: 10px;
  }

  .brand span:last-child {
    max-width: none;
  }

  .nav-action {
    display: none;
  }

  .hero {
    min-height: 820px;
    padding-inline: 18px;
    max-width: 100vw;
    overflow: hidden;
  }

  h1 {
    font-size: clamp(3.2rem, 15vw, 3.65rem);
    line-height: 0.9;
  }

  .hero-content {
    padding-top: 18px;
    max-width: calc(100vw - 36px);
  }

  .hero-copy {
    max-width: calc(100vw - 36px);
    font-size: 0.98rem;
  }

  .hero-actions,
  .button {
    max-width: calc(100vw - 36px);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .menu-section,
  .shop-band,
  .story-section {
    width: calc(100% - 32px);
  }
}
