:root {
  --paper: #F3EDE2;
  --paper-2: #E7DBC8;
  --ink: #2A1D17;
  --brick: #A23E25;
  --muted: #6B5A4E;
  --rule: #CDBFA9;

  --max: 1120px;
  --radius: 0;

  --s1: 4px;
  --s2: 8px;
  --s3: 16px;
  --s4: 24px;
  --s5: 40px;
  --s6: 64px;
  --s7: 96px;

  --t-small: 0.875rem;
  --t-body: 1.0625rem;
  --t-sub: 1.3125rem;
  --t-h2: 1.875rem;
  --t-h1: clamp(2.375rem, 4.6vw, 3.25rem);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.65;
}

section[id] {
  scroll-margin-top: var(--s4);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
}

h1 {
  margin: 0 0 var(--s4);
  font-size: var(--t-h1);
  line-height: 1.04;
  letter-spacing: -0.01em;
  max-width: 18ch;
}

h2 {
  margin: 0;
  font-size: var(--t-h2);
  line-height: 1.1;
  letter-spacing: -0.005em;
}

h3 {
  margin: 0 0 var(--s3);
  font-size: var(--t-sub);
  line-height: 1.25;
}

p {
  margin: 0 0 var(--s3);
}

p:last-child {
  margin-bottom: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

a {
  color: var(--brick);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

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

:focus-visible {
  outline: 2px solid var(--brick);
  outline-offset: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--s4);
}

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

.skip-link {
  position: absolute;
  top: -80px;
  left: var(--s4);
  z-index: 10;
  padding: var(--s2) var(--s3);
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  text-decoration: none;
}

.skip-link:focus {
  top: var(--s3);
}

.site-header {
  border-bottom: 1px solid var(--ink);
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s3);
  padding-block: var(--s4);
}

.brand-name {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--t-sub);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.brand-meta {
  margin: var(--s1) 0 0;
  color: var(--muted);
  font-size: var(--t-small);
  line-height: 1.4;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  display: inline-block;
  padding-bottom: var(--s1);
  border-bottom: 1px solid transparent;
  color: var(--ink);
  font-size: var(--t-small);
  font-weight: 500;
  text-decoration: none;
  transition: color 140ms ease, border-color 140ms ease;
}

.nav a:hover {
  color: var(--brick);
  border-bottom-color: var(--brick);
}

.hero {
  padding-block: var(--s5) var(--s6);
  border-bottom: 1px solid var(--rule);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s5);
}

.hero-copy p {
  max-width: 52ch;
}

.hero-copy .lead {
  font-size: var(--t-sub);
  line-height: 1.45;
  max-width: 44ch;
}

.hero-link {
  margin-top: var(--s5);
  font-weight: 500;
}

.hero-link a {
  color: var(--brick);
}

.hero-figure {
  margin: 0;
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  border: 1px solid var(--rule);
  background: var(--paper-2);
}

figcaption {
  margin-top: var(--s2);
  color: var(--muted);
  font-size: var(--t-small);
  line-height: 1.5;
}

.section {
  padding-block: var(--s5);
  border-bottom: 1px solid var(--rule);
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s2);
  margin-bottom: var(--s4);
}

.section-note {
  margin: 0;
  color: var(--muted);
  font-size: var(--t-small);
  line-height: 1.5;
  max-width: 42ch;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.menu-group {
  margin-bottom: var(--s5);
}

.menu-group h3 {
  padding-bottom: var(--s2);
  border-bottom: 1px solid var(--brick);
}

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

.price-list li {
  display: flex;
  align-items: baseline;
  gap: var(--s2);
  padding-block: var(--s2);
}

.item-name {
  flex: 0 1 auto;
  line-height: 1.35;
}

.item-sub {
  display: block;
  margin-top: var(--s1);
  color: var(--muted);
  font-size: var(--t-small);
  line-height: 1.35;
}

.dots {
  flex: 1 1 auto;
  min-width: var(--s3);
  border-bottom: 1px dotted var(--brick);
  transform: translateY(-0.35em);
}

.price {
  flex: 0 0 auto;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
}

.menu-note {
  margin: var(--s2) 0 0;
  color: var(--muted);
  font-size: var(--t-small);
  line-height: 1.5;
}

.bean-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s2) var(--s3);
  margin-top: var(--s5);
  padding-top: var(--s4);
  border-top: 1px solid var(--rule);
}

.bean-row h3 {
  margin: 0;
}

.bean-row .dots {
  flex: 1 1 40px;
}

.bean-row .menu-note {
  flex-basis: 100%;
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s5);
  align-items: center;
}

.split-copy p {
  max-width: 54ch;
}

.split-figure {
  margin: 0;
}

.split-figure img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  border: 1px solid var(--rule);
  background: var(--paper-2);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s5);
}

.hours {
  width: 100%;
  max-width: 400px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.hours th,
.hours td {
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  font-weight: 400;
}

.hours tr:first-child th,
.hours tr:first-child td {
  border-top: 1px solid var(--ink);
}

.hours th {
  width: 40%;
  font-weight: 500;
}

.facts-wrap h3 {
  margin-top: 0;
}

.facts {
  margin: 0;
  padding-left: var(--s4);
}

.facts li {
  margin-bottom: var(--s2);
  line-height: 1.5;
}

.facts li::marker {
  color: var(--brick);
}

.facts li:last-child {
  margin-bottom: 0;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s5);
}

.location-copy address {
  margin-bottom: var(--s3);
  font-family: var(--font-display);
  font-size: var(--t-sub);
  font-style: normal;
  line-height: 1.35;
}

.location-copy p {
  max-width: 48ch;
}

.plan-figure {
  margin: 0;
  max-width: 440px;
}

.plan {
  padding: var(--s4);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.plan p {
  margin: 0;
}

.plan-street {
  padding-bottom: var(--s2);
  border-bottom: 1px dashed var(--muted);
  color: var(--muted);
  font-size: var(--t-small);
  letter-spacing: 0.06em;
}

.plan-gate {
  width: 56px;
  margin: 0 auto;
  padding: var(--s1) 0;
  border-right: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  color: var(--brick);
  font-size: var(--t-small);
  text-align: center;
}

.plan-mid {
  display: grid;
  grid-template-columns: 1fr 76px;
  gap: var(--s2);
  margin-top: var(--s1);
}

.plan-yard {
  display: flex;
  align-items: flex-end;
  min-height: 104px;
  padding: var(--s2);
  border: 1px dashed var(--muted);
  color: var(--muted);
  font-size: var(--t-small);
}

.plan-stairs {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s1);
  border: 1px solid var(--brick);
  color: var(--brick);
  font-size: var(--t-small);
  line-height: 1.3;
  text-align: center;
}

.plan-gang {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  margin-top: var(--s2);
  padding-top: var(--s2);
  border-top: 1px solid var(--muted);
  color: var(--muted);
  font-size: var(--t-small);
}

.plan-cafe {
  padding: var(--s1) var(--s2);
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
}

.plan-caption {
  margin-top: var(--s2);
  color: var(--muted);
  font-size: var(--t-small);
}

#en {
  border-bottom: 0;
}

#en h2 {
  margin-bottom: var(--s4);
}

#en p {
  max-width: 65ch;
}

.site-footer {
  padding-block: var(--s6) var(--s5);
  border-top: 1px solid var(--ink);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.footer-brand {
  margin: 0 0 var(--s2);
  font-family: var(--font-display);
  font-size: var(--t-sub);
  font-weight: 600;
}

.footer-info p {
  margin: 0 0 var(--s1);
  color: var(--muted);
  font-size: var(--t-small);
  line-height: 1.5;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  color: var(--ink);
  font-size: var(--t-small);
  font-weight: 500;
}

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

.footer-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s2) var(--s4);
  margin-top: var(--s5);
  padding-top: var(--s3);
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: var(--t-small);
}

.footer-note p {
  margin: 0;
}

@media (min-width: 760px) {
  .wrap {
    padding-inline: var(--s5);
  }

  .header-inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .section {
    padding-block: var(--s6);
  }

  .section-head {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--s4);
    margin-bottom: var(--s5);
  }

  .section-note {
    text-align: right;
    max-width: 34ch;
  }

  .info-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s6);
  }

  .footer-grid {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--s6);
  }
}

@media (min-width: 880px) {
  .menu-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0 var(--s6);
  }

  .menu-col:first-child .menu-group:last-child {
    margin-bottom: 0;
  }

  .menu-col:last-child .menu-group:last-child {
    margin-bottom: 0;
  }
}

@media (min-width: 900px) {
  .hero {
    padding-block: var(--s6) var(--s7);
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--s6);
    align-items: start;
  }

  .hero-figure {
    margin-top: var(--s5);
  }

  .split {
    grid-template-columns: 0.82fr 1.18fr;
    gap: var(--s6);
  }

  .split-figure {
    grid-column: 1;
    grid-row: 1;
  }

  .split-copy {
    grid-column: 2;
    grid-row: 1;
  }

  .location-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s6);
  }

  .plan-figure {
    justify-self: end;
    width: 100%;
  }
}

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