:root {
  --ink: #2b1812;
  --ink-soft: #5c4036;
  --cream: #f6efe6;
  --paper: #fbf7f2;
  --pink: #e7c2bc;
  --rose: #8d4450;
  --espresso: #3a241c;
  --espresso-hot: #523328;
  --line: rgba(43, 24, 18, 0.14);
  --serif: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: Outfit, "Segoe UI", sans-serif;
  --header: 4.6rem;
  --shadow: 0 18px 40px rgba(43, 24, 18, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(880px 460px at 110% -8%, rgba(231, 194, 188, 0.7), transparent 60%),
    radial-gradient(640px 380px at -12% 18%, rgba(231, 194, 188, 0.35), transparent 58%);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color-scheme: light;
}

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

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

h1, h2, h3, .logo, legend {
  font-family: var(--serif);
  font-weight: 560;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h1 {
  margin-bottom: 0.7rem;
  font-size: clamp(2.7rem, 7vw, 6.1rem);
  max-width: 11ch;
}

h2 {
  margin-bottom: 0.6rem;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  max-width: 16ch;
}

h3 {
  margin-bottom: 0.35rem;
  font-size: 1.45rem;
}

p {
  margin-bottom: 0;
}

a {
  color: var(--rose);
}

a:hover {
  color: var(--espresso);
}

button,
input {
  font: inherit;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-inline-size: 0;
}

legend {
  padding: 0;
  margin-bottom: 0.8rem;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  scroll-margin-top: calc(var(--header) + 1rem);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-weight: 500;
}

th {
  font-weight: 600;
  padding-right: 1rem;
}

td {
  text-align: right;
  white-space: nowrap;
}

address {
  font-style: normal;
}

::selection {
  background: var(--pink);
  color: var(--ink);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

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

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  background: var(--espresso);
  color: var(--cream);
  text-decoration: none;
  padding: 0.7rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(246, 239, 230, 0.96);
  border-bottom: 1px solid rgba(43, 24, 18, 0.08);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--header);
  gap: 1rem;
}

.logo {
  position: relative;
  z-index: 2;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.logo em {
  font-style: italic;
  text-transform: none;
  color: var(--rose);
  font-weight: 560;
}

.nav-toggle {
  position: absolute;
  right: 0;
  width: 44px;
  height: 44px;
  margin: 0;
  opacity: 0;
}

.nav-burger {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  min-height: 44px;
  min-width: 44px;
  padding: 0 0.95rem;
  border: 1.5px solid rgba(43, 24, 18, 0.28);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
}

.burger-close {
  display: none;
}

.nav-toggle:checked + .nav-burger .burger-open {
  display: none;
}

.nav-toggle:checked + .nav-burger .burger-close {
  display: inline;
}

.nav-toggle:focus-visible + .nav-burger {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
}

.site-nav {
  position: fixed;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100dvh;
  overflow: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 6.2rem 1.4rem 2rem;
  background: var(--cream);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.nav-toggle:checked ~ .site-nav {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
}

.site-nav ul a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-family: var(--serif);
  font-size: 2rem;
}

.site-nav ul a:hover {
  color: var(--rose);
}

body.nav-open {
  overflow: hidden;
}

.btn,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1.5px solid var(--espresso);
  text-decoration: none;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.btn {
  background: var(--espresso);
  color: var(--cream);
}

.btn:hover {
  background: var(--espresso-hot);
  color: var(--cream);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(43, 24, 18, 0.35);
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-light {
  background: var(--cream);
  color: var(--espresso);
  border-color: var(--cream);
}

.btn-light:hover {
  background: white;
  color: var(--espresso);
}

.hero {
  padding: 1.5rem 0 3.5rem;
}

.hero-kicker,
.section-index,
.eyebrow {
  font-family: var(--serif);
  font-style: italic;
  color: var(--rose);
  letter-spacing: 0;
}

.hero-kicker {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.hero-grid {
  display: grid;
  gap: 1.25rem;
}

.lede {
  max-width: 36rem;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  align-items: center;
  margin-top: 1.4rem;
}

.text-link {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 0.22em;
}

.hero-figure {
  position: relative;
  margin: 0;
}

.hero-figure {
  align-self: start;
}

.hero-figure img {
  width: 100%;
  height: auto;
}

.hero-coffee img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-bun {
  background: var(--pink);
  padding: 0.55rem;
}

.hero-bun img {
  aspect-ratio: 1 / 1.12;
  object-fit: cover;
}

.hero-figure figcaption {
  margin-top: 0.55rem;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 6.5rem;
  height: 6.5rem;
  margin-top: 1.4rem;
  border-radius: 50%;
  background: var(--pink);
  color: var(--ink);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.1;
  text-align: center;
  transform: rotate(-8deg);
}

.steam {
  position: absolute;
  left: 42%;
  top: 52%;
  width: 70px;
  height: 120px;
  pointer-events: none;
}

.steam span {
  position: absolute;
  bottom: 0;
  width: 10px;
  height: 46px;
  border-radius: 999px;
  background: rgba(255, 250, 246, 0.7);
  filter: blur(5px);
  opacity: 0;
  animation: steam 4.8s ease-in infinite;
}

.steam span:nth-child(1) { left: 10px; animation-delay: 0s; }
.steam span:nth-child(2) { left: 30px; height: 58px; animation-delay: 1.2s; }
.steam span:nth-child(3) { left: 48px; animation-delay: 2.3s; }

@keyframes steam {
  0% { transform: translateY(8px) scaleX(1); opacity: 0; }
  18% { opacity: 0.55; }
  100% { transform: translateY(-78px) scaleX(1.5); opacity: 0; }
}

.section {
  padding: 3.2rem 0;
}

.section-head {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.8rem;
}

.section-index {
  margin: 0;
  font-size: 1.7rem;
}

.section-head p:last-child,
.intro {
  max-width: 38rem;
  color: var(--ink-soft);
}

.fav-stack {
  display: grid;
  gap: 2.4rem;
}

.fav-card,
.fav-feature {
  display: grid;
  gap: 1rem;
}

.fav-media {
  margin: 0;
}

.fav-media img {
  width: 100%;
  object-fit: cover;
}

.fav-feature .fav-media img {
  aspect-ratio: 1100 / 1400;
}

.fav-card .fav-media img {
  aspect-ratio: 5 / 4;
}

.fav-copy p {
  color: var(--ink-soft);
  max-width: 36rem;
}

.fav-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  align-items: center;
  margin-top: 1rem;
}

.price {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  white-space: nowrap;
}

.menu-board {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 10px 10px 0 var(--pink);
  padding: clamp(1rem, 3vw, 2.2rem);
}

.cat-legend {
  margin: 0 0 0.7rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.cat-controls,
.choices,
.option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.55rem 0.95rem;
  border: 1.5px solid rgba(43, 24, 18, 0.22);
  background: transparent;
  color: var(--ink);
  text-align: center;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.choice input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.choice:focus-within {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
}

.choice:has(input:checked) {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--cream);
}

.cat-controls .choice {
  flex: 1 1 9rem;
}

.panels {
  margin-top: 1.4rem;
}

.panels [data-panel] {
  display: none;
}

.menu-board:has(input[value="coffee"]:checked) [data-panel="coffee"],
.menu-board:has(input[value="iced"]:checked) [data-panel="iced"],
.menu-board:has(input[value="bakery"]:checked) [data-panel="bakery"],
.menu-board:has(input[value="bites"]:checked) [data-panel="bites"] {
  display: block;
}

section[id],
.menu-list li[id] {
  scroll-margin-top: calc(var(--header) + 0.8rem);
}

.serve {
  flex-basis: 100%;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.panel-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

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

.menu-list li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.menu-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.item-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.item-top h3 {
  margin: 0;
  min-width: 0;
  font-size: 1.35rem;
}

.menu-list p {
  margin-top: 0.3rem;
  max-width: 42rem;
  color: var(--ink-soft);
}

.price-note,
.preview-note,
.form-error,
.finder-fallback {
  margin-top: 1rem;
  color: var(--ink-soft);
}

.form-error:empty {
  margin: 0;
}

.form-error:not(:empty) {
  color: var(--rose);
  font-weight: 600;
}

.finder-panel {
  background: var(--paper);
  padding: clamp(1.1rem, 3vw, 2rem);
  border-top: 8px solid var(--pink);
}

.finder-progress {
  margin-bottom: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--rose);
  font-weight: 600;
}

.finder-steps .choice {
  flex: 1 1 9.5rem;
  min-height: 4.5rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 560;
}

.finder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.finder-result {
  display: grid;
  gap: 1rem;
  margin-top: 0.4rem;
}

.finder-result img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.reason {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ink);
}

.story-grid,
.visit-grid,
.gallery {
  display: grid;
  gap: 1.2rem;
}

.story-quote blockquote {
  margin: 0.4rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 550;
  font-size: clamp(1.9rem, 4vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.story-copy p + p {
  margin-top: 1rem;
}

.story-points {
  display: grid;
  gap: 0.45rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}

.story-points li {
  padding-left: 0.9rem;
  border-left: 3px solid var(--pink);
  font-weight: 600;
}

.story-figure {
  margin: 0.4rem 0 0;
}

.story-figure img {
  width: 100%;
  aspect-ratio: 1000 / 1300;
  object-fit: cover;
  max-height: 640px;
}

.story-figure figcaption,
.gallery figcaption {
  margin-top: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.gallery figure {
  margin: 0;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.gallery figure:nth-child(2) img,
.gallery figure:nth-child(4) img {
  aspect-ratio: 7 / 5;
}

.visit-card {
  background: var(--espresso);
  color: var(--cream);
  padding: clamp(1.2rem, 3vw, 2rem);
}

.visit-card h3 {
  margin-top: 1.2rem;
  color: var(--pink);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 600;
}

.visit-card h3:first-child {
  margin-top: 0;
}

.visit-card a {
  color: var(--cream);
  overflow-wrap: anywhere;
}

.visit-card a:hover {
  color: var(--pink);
}

.visit-card :focus-visible {
  outline-color: var(--cream);
}

.walk-in {
  margin-top: 1rem;
  color: var(--ink-soft);
}

.site-footer {
  padding: 2rem 0 2.6rem;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  gap: 0.9rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer-nav a:hover {
  color: var(--rose);
}

.disclosure {
  margin: 0;
  max-width: 28rem;
  color: var(--ink-soft);
}

dialog {
  width: min(52rem, calc(100vw - 1.25rem));
  max-height: min(90vh, 48rem);
  overflow: auto;
  border: none;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(43, 24, 18, 0.58);
}

.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.dialog-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.dialog-close {
  flex: 0 0 auto;
}

.dialog-layout {
  display: grid;
  gap: 1rem;
}

.dialog-layout img {
  width: 100%;
  max-height: 24rem;
  object-fit: cover;
}

.dialog-copy > p {
  color: var(--ink-soft);
}

.option-block {
  margin-top: 1rem;
}

.option-block legend {
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.option-row .choice {
  flex: 1 1 7.2rem;
}

.price-live {
  margin-top: 1rem;
}

.price-live strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.price-math {
  margin-top: 0.25rem;
  color: var(--ink-soft);
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
}

.reveal-ready [data-reveal].is-inview {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

@supports not selector(:has(input:checked)) {
  .panels [data-panel] {
    display: block !important;
    margin-top: 1.5rem;
  }
}

@media (min-width: 700px) {
  .wrap {
    width: min(1120px, calc(100% - 4rem));
  }

  .finder-result,
  .dialog-layout {
    grid-template-columns: minmax(180px, 240px) 1fr;
    align-items: start;
  }

  .visit-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.5rem;
    align-items: start;
  }
}

@media (min-width: 801px) {
  .nav-toggle,
  .nav-burger {
    display: none;
  }

  .header-inner .site-nav,
  .nav-toggle:checked ~ .site-nav {
    position: static;
    inset: auto;
    width: auto;
    height: auto;
    overflow: visible;
    flex-direction: row;
    align-items: center;
    gap: 1.3rem;
    margin-left: auto;
    padding: 0;
    background: transparent;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav ul {
    display: flex;
    align-items: center;
    gap: 1.05rem;
  }

  .site-nav ul a {
    min-height: 44px;
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 500;
  }

  body.nav-open {
    overflow: auto;
  }
}

@media (min-width: 900px) {
  .hero {
    padding-top: 2.2rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.86fr);
    grid-template-areas:
      "copy photo"
      "bun photo";
    column-gap: 2rem;
    align-items: start;
  }

  .hero-copy { grid-area: copy; align-self: end; padding-bottom: 1.5rem; }
  .hero-coffee { grid-area: photo; align-self: start; }
  .hero-bun {
    grid-area: bun;
    width: min(100%, 300px);
    justify-self: end;
    margin-top: -1.5rem;
    transform: rotate(-2.5deg);
  }

  .section-head {
    grid-template-columns: auto 1fr;
    gap: 1.2rem;
    align-items: end;
  }

  .fav-feature {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: end;
  }

  .fav-feature .fav-media {
    box-shadow: -16px 16px 0 var(--pink);
  }

  .fav-pair {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 2rem;
    align-items: start;
  }

  .fav-card {
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
    align-items: center;
  }

  .fav-card.offset {
    margin-top: 3.4rem;
  }

  .fav-card.flip .fav-media {
    order: 2;
  }

  .menu-layout {
    display: grid;
    grid-template-columns: 13.5rem 1fr;
    gap: 2rem;
    align-items: start;
  }

  .cat-controls {
    position: sticky;
    top: calc(var(--header) + 1rem);
    flex-direction: column;
  }

  .cat-controls .choice {
    justify-content: flex-start;
    width: 100%;
  }

  .panels {
    margin-top: 0;
  }

  .story-grid {
    grid-template-columns: 0.92fr 1.08fr;
    grid-template-areas:
      "quote copy"
      "photo copy";
    gap: 1.5rem 2.5rem;
    align-items: start;
  }

  .story-quote { grid-area: quote; }
  .story-copy { grid-area: copy; align-self: center; }
  .story-figure { grid-area: photo; margin: 0; }

  .gallery {
    grid-template-columns: 1.15fr 0.9fr 1fr;
    grid-template-rows: auto auto;
    gap: 0.85rem 0.85rem;
  }

  .gallery figure:nth-child(1) {
    grid-row: span 2;
  }

  .gallery figure:nth-child(1) img {
    aspect-ratio: 4 / 5.3;
    height: 100%;
  }

  .gallery figure:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .gallery figure:nth-child(4) img {
    aspect-ratio: 16 / 8;
  }

  .footer-grid {
    grid-template-columns: auto 1fr;
    align-items: end;
  }

  .disclosure {
    grid-column: 1 / -1;
  }
}

@media (min-width: 700px) and (max-width: 899px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .gallery figure:nth-child(1) {
    grid-row: span 2;
  }

  .gallery figure:nth-child(1) img {
    height: 100%;
    aspect-ratio: auto;
  }

  .gallery figure:nth-child(4) {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .steam {
    display: none;
  }

  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero-bun {
    transform: none;
  }
}
