:root {
  --bg: #f5f1ea;
  --bg2: #ede8de;
  --bg3: #e4ddd0;
  --espresso: #2a1a0e;
  --espresso2: #3a2818;
  --cream: #faf7f2;
  --clay: #9a8878;
  --amber: #d4943a;
  --line: rgba(42, 26, 14, 0.1);
  --serif: 'Lora', Georgia, serif;
  --hand: 'Caveat', cursive;
  --sans: 'Jost', sans-serif;
  --mono: 'DM Mono', monospace;
  --nav-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow: hidden;
  background: var(--bg);
  color: var(--espresso);
  font-family: var(--sans);
  overscroll-behavior: none;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.top-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--nav-height);
  padding: 0 2rem;
  background: rgba(245, 241, 234, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand-mark {
  font: italic 600 1.5rem/1 var(--serif);
  text-decoration: none;
}

.nav-dots {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-dot {
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
  border: 1px solid var(--espresso);
  border-radius: 999px;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.nav-dot span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-dot.active {
  background: var(--espresso);
  transform: scale(1.08);
}

.visit-link {
  font: 400 0.72rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.panels {
  display: flex;
  flex-direction: row;
  width: 100vw;
  height: calc(100vh - var(--nav-height));
  margin-top: var(--nav-height);
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x pinch-zoom;
}

.panels::-webkit-scrollbar {
  display: none;
}

.panel {
  position: relative;
  flex-shrink: 0;
  width: 100vw;
  height: 100%;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.panel-inner {
  width: 100%;
  height: 100%;
}

.panel-welcome {
  background: var(--cream);
}

.panel-about {
  background: var(--bg2);
}

.panel-menu {
  background: var(--espresso);
  color: var(--cream);
  overflow-y: auto;
  scrollbar-width: none;
}

.panel-menu::-webkit-scrollbar {
  display: none;
}

.panel-specials {
  background: var(--bg);
}

.panel-find {
  background: var(--bg2);
  overflow-y: auto;
  scrollbar-width: none;
}

.panel-find::-webkit-scrollbar {
  display: none;
}

.demo-banner {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  margin: 0;
  padding: 0.55rem 1rem;
  background: var(--espresso);
  color: var(--cream);
  font: 400 11px/1.2 var(--mono);
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.demo-banner a {
  text-decoration: underline;
}

.welcome-inner {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  height: 100%;
  padding: 5rem 1.5rem 3rem;
  text-align: center;
}

.ampersand {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 1;
  margin: 0;
  color: rgba(42, 26, 14, 0.04);
  font: 400 clamp(12rem, 28vw, 18.75rem)/0.75 var(--hand);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.welcome-label,
.section-label,
.detail-label,
.coffee-meta,
.find-meta,
.map-caption,
.footer-strip,
.board-note {
  font-family: var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.welcome-label {
  margin: 0 0 1rem;
  color: var(--clay);
  font: 400 22px/1 var(--hand);
  letter-spacing: 0;
  text-transform: none;
}

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

h1 {
  margin-bottom: 0.5rem;
  color: var(--espresso);
  font: italic 600 clamp(52px, 7vw, 100px)/0.95 var(--serif);
}

.welcome-tag {
  margin-bottom: 1rem;
}

.welcome-tag em {
  color: var(--amber);
  font: 400 28px/1 var(--hand);
}

.welcome-copy {
  max-width: 36ch;
  margin-bottom: 1.5rem;
  color: var(--clay);
  font: 300 16px/1.8 var(--sans);
}

.welcome-actions {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  margin: 0;
}

.welcome-actions a {
  font: 400 11px/1 var(--mono);
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-hint {
  position: absolute;
  right: 2rem;
  bottom: 1.75rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  color: var(--clay);
  font: 400 9px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scroll-line {
  position: relative;
  display: block;
  width: 60px;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}

.scroll-fill {
  position: absolute;
  inset: 0 auto 0 -30%;
  width: 30%;
  background: var(--amber);
  animation: drift 1.8s linear infinite;
}

@keyframes drift {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(320%);
  }
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-copy,
.coffee-copy,
.find-copy {
  padding: 5rem 4rem 4rem;
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-label {
  margin-bottom: 1rem;
  color: var(--clay);
  font-size: 10px;
}

.section-label-amber {
  color: var(--amber);
}

.about-copy h2,
.coffee-copy h2,
.find-copy h2,
.menu-shell h2 {
  margin-bottom: 1.5rem;
  font: italic 600 clamp(36px, 5vw, 72px)/1.05 var(--serif);
}

.about-copy p,
.coffee-copy p,
.find-copy p,
address {
  color: var(--clay);
  font: 300 15px/1.9 var(--sans);
}

.about-copy blockquote {
  margin: 1.25rem 0 0;
  color: var(--amber);
  font: 400 24px/1.1 var(--hand);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg3);
}

.detail-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 50%;
  padding: 2rem;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.detail-card:nth-child(1),
.detail-card:nth-child(2) {
  border-top: 0;
}

.detail-card:nth-child(1),
.detail-card:nth-child(3) {
  border-left: 0;
}

.detail-label {
  margin-bottom: 1rem;
  color: var(--clay);
  font-size: 10px;
}

.detail-card h3 {
  margin-bottom: 0;
  color: var(--espresso);
  font: 400 18px/1.5 var(--serif);
}

.menu-shell {
  min-height: 100%;
  padding: 5rem 4rem 4rem;
}

.menu-shell h2 {
  color: var(--cream);
}

.menu-tabs {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.tab-button {
  padding: 0 0 0.35rem;
  color: var(--clay);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font: 400 11px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.tab-button.active {
  color: var(--amber);
  border-color: var(--amber);
}

.menu-content-wrap {
  position: relative;
  min-height: 24rem;
  overflow: hidden;
}

.menu-content {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.menu-content.is-exiting {
  opacity: 0;
  transform: translateX(-30px);
}

.menu-subtitle {
  color: var(--clay);
  font: 400 0.95rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-section-title {
  margin-bottom: 1rem;
  color: var(--amber);
  font: italic 400 1.55rem/1.2 var(--serif);
}

.menu-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 2.5rem;
  margin-bottom: 1.75rem;
}

.menu-list,
.hours-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-item {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(250, 247, 242, 0.12);
}

.menu-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.25rem;
}

.menu-name {
  color: var(--cream);
  font: 400 16px/1.5 var(--sans);
}

.menu-price {
  color: var(--amber);
  font: 400 13px/1 var(--mono);
}

.menu-description {
  margin: 0;
  color: var(--clay);
  font: 300 13px/1.6 var(--sans);
}

.menu-note {
  margin-top: 1rem;
  color: var(--clay);
  font: 400 10px/1.8 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.specials-layout {
  align-items: center;
}

.specials-board-wrap {
  padding: 5rem 4rem;
}

.chalkboard {
  max-width: 30rem;
  padding: 2rem;
  background: var(--espresso);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(42, 26, 14, 0.12);
}

.board-title {
  margin-bottom: 1.5rem;
  color: var(--amber);
  font: 400 28px/1 var(--hand);
}

.board-card {
  min-height: 12rem;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.board-card.is-exiting {
  opacity: 0;
  transform: translateY(-10px);
}

.board-card h3 {
  margin-bottom: 0.75rem;
  color: var(--cream);
  font: 400 32px/1.05 var(--hand);
}

.board-card p {
  margin-bottom: 0.75rem;
  color: var(--clay);
  font: 300 14px/1.7 var(--sans);
}

.special-price {
  color: var(--amber) !important;
  font: 400 13px/1 var(--mono) !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.board-note,
.coffee-meta,
.find-meta,
.map-caption,
.footer-strip {
  color: var(--clay);
  font-size: 10px;
  line-height: 1.8;
}

.coffee-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.coffee-copy h2 {
  color: var(--espresso);
}

.find-layout {
  min-height: 100%;
  grid-template-rows: 1fr auto;
  align-items: center;
}

.find-copy address {
  margin-bottom: 1rem;
  font-style: normal;
}

.contact-link {
  text-decoration: none;
}

.phone-link {
  color: var(--amber);
  font: 400 13px/1 var(--mono);
}

.email-link {
  color: var(--clay);
  font: 400 13px/1 var(--mono);
}

.hours {
  margin: 2rem 0 1.5rem;
}

.hours h3 {
  margin-bottom: 0.75rem;
  color: var(--espresso);
  font: italic 400 1.3rem/1.2 var(--serif);
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  color: var(--clay);
  border-left: 2px solid transparent;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.hours-list li.is-today {
  background: rgba(42, 26, 14, 0.08);
  border-left-color: var(--amber);
}

.hours-list li.is-today span:first-child {
  color: var(--espresso);
}

.hours-list li.is-closed {
  color: var(--clay);
}

.map-wrap {
  display: grid;
  place-items: center;
  padding: 4rem;
}

.map-illustration {
  position: relative;
  width: min(34rem, 100%);
  aspect-ratio: 1 / 0.8;
  background: rgba(228, 221, 208, 0.7);
  border: 1px solid var(--line);
  border-radius: 28px;
}

.building,
.map-block,
.location-dot {
  position: absolute;
}

.building {
  background: rgba(42, 26, 14, 0.08);
  border-radius: 16px;
}

.building-a {
  inset: 12% 62% 54% 10%;
}

.building-b {
  inset: 18% 8% 48% 72%;
}

.building-c {
  inset: 62% 58% 10% 14%;
}

.building-d {
  inset: 64% 10% 12% 68%;
}

.map-block {
  inset: 28% 24% 28% 24%;
  display: grid;
  place-items: center;
  background: var(--espresso);
  border-radius: 22px;
}

.map-block p {
  margin: 0;
  color: var(--amber);
  font: 400 clamp(2rem, 4vw, 2.6rem)/1 var(--hand);
}

.location-dot {
  top: 26%;
  left: 66%;
  width: 12px;
  height: 12px;
  background: var(--amber);
  border-radius: 999px;
  box-shadow: 0 0 0 8px rgba(212, 148, 58, 0.15);
}

.footer-strip {
  grid-column: 1 / -1;
  padding: 1.25rem 4rem;
}

.footer-strip a {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .split-layout {
    grid-template-columns: 1fr;
  }

  .detail-grid,
  .menu-columns {
    grid-template-columns: 1fr;
  }

  .top-nav {
    padding: 0 1rem;
  }

  .about-copy,
  .coffee-copy,
  .find-copy,
  .specials-board-wrap,
  .menu-shell,
  .map-wrap {
    padding: 5rem 1.5rem 2rem;
  }

  .footer-strip {
    padding-inline: 1.5rem;
  }
}

@media (max-width: 767px) {
  body {
    overflow: auto;
  }

  .top-nav {
    gap: 1rem;
  }

  .nav-dots {
    display: none;
  }

  .panels {
    flex-direction: column;
    height: auto;
    min-height: calc(100vh - var(--nav-height));
    overflow-x: hidden;
    overflow-y: auto;
    scroll-snap-type: none;
    touch-action: pan-y pinch-zoom;
  }

  .panel {
    width: 100%;
    height: auto;
    min-height: auto;
  }

  .panel-inner {
    height: auto;
  }

  .welcome-inner {
    min-height: calc(100vh - var(--nav-height));
    padding-top: 7rem;
    padding-bottom: 5rem;
  }

  .about-copy,
  .coffee-copy,
  .find-copy,
  .specials-board-wrap,
  .menu-shell,
  .map-wrap {
    padding-top: 4rem;
  }

  .scroll-hint {
    display: none;
  }

  .footer-strip {
    padding: 0 1.5rem 1.5rem;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #2a1a0e;
    --bg2: #332317;
    --bg3: #3d2b1d;
    --cream: #faf7f2;
    --line: rgba(250, 247, 242, 0.12);
  }

  body {
    background: var(--bg);
    color: var(--cream);
  }

  .top-nav {
    background: rgba(42, 26, 14, 0.96);
  }

  .brand-mark,
  .visit-link,
  .nav-dot,
  .nav-dot.active,
  .detail-card h3,
  .hours h3,
  .coffee-copy h2,
  .about-copy h2,
  .find-copy h2 {
    color: var(--cream);
  }

  .nav-dot {
    border-color: var(--cream);
  }

  .nav-dot.active {
    background: var(--cream);
  }

  .panel-welcome,
  .panel-specials {
    background: var(--bg);
  }

  .panel-about,
  .panel-find {
    background: var(--bg2);
  }

  .ampersand {
    color: rgba(250, 247, 242, 0.04);
  }

  .detail-grid {
    background: var(--bg3);
  }

  .menu-name,
  .board-card h3 {
    color: var(--cream);
  }

  .map-illustration {
    background: rgba(250, 247, 242, 0.04);
  }

  .building {
    background: rgba(250, 247, 242, 0.08);
  }

  .hours-list li.is-today {
    background: rgba(250, 247, 242, 0.08);
  }

  .hours-list li.is-today span:first-child {
    color: var(--cream);
  }
}
