.cafe-page {
  --cafe-ink: #202124;
  --cafe-muted: #66696e;
  --cafe-paper: #f3f3f1;
  --cafe-paper-deep: #e4e5e3;
  --cafe-accent: #60646b;
  --cafe-rule: rgba(32, 33, 36, 0.22);

  min-height: 100vh;
  overflow: hidden;
  color: var(--cafe-ink);
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 255, 255, 0.54), transparent 30rem),
    var(--cafe-paper);
}

.cafe-hero {
  color: #f5f5f3;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 45%),
    #232528;
  border-bottom: 6px solid var(--cafe-accent);
}

.cafe-hero__inner {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 8rem) var(--padding-x) clamp(3.5rem, 8vw, 6rem);
  text-align: center;
}

.cafe-hero__overline {
  margin-bottom: 0.9rem;
  color: #c5c7ca;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.cafe-hero__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-style: italic;
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.cafe-hero__rule {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: min(100%, 320px);
  margin: clamp(1.8rem, 4vw, 2.6rem) auto 1.5rem;
}

.cafe-hero__rule::before,
.cafe-hero__rule::after {
  height: 1px;
  flex: 1;
  content: "";
  background: rgba(245, 245, 243, 0.4);
}

.cafe-hero__rule span {
  width: 7px;
  height: 7px;
  border: 1px solid rgba(245, 245, 243, 0.7);
  transform: rotate(45deg);
}

.cafe-hero h1 {
  color: #f5f5f3;
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  font-weight: 550;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cafe-index {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 1.6rem;
  margin-top: 2rem;
}

.cafe-index a {
  color: #c5c7ca;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-underline-offset: 0.3rem;
}

.cafe-index a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.cafe-menu {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) var(--padding-x) clamp(5rem, 10vw, 8rem);
}

.cafe-section {
  scroll-margin-top: 80px;
}

.cafe-section + .cafe-section {
  margin-top: clamp(4.5rem, 9vw, 8rem);
}

.cafe-section__heading {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cafe-section__number {
  color: var(--cafe-accent);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.cafe-section h2 {
  color: var(--cafe-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  text-align: left;
}

.nutrition-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-top: 2px solid var(--cafe-ink);
  border-bottom: 2px solid var(--cafe-ink);
  overscroll-behavior-inline: contain;
  scrollbar-color: var(--cafe-accent) var(--cafe-paper-deep);
  scrollbar-width: thin;
}

.nutrition-table-wrap:focus-visible {
  outline: 3px solid var(--cafe-accent);
  outline-offset: 5px;
}

.nutrition-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
  table-layout: fixed;
  font-variant-numeric: tabular-nums;
}

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

.nutrition-table th,
.nutrition-table td {
  padding: 1rem 0.9rem;
  border-bottom: 1px solid var(--cafe-rule);
}

.nutrition-table th:first-child { width: 21%; }
.nutrition-table th:nth-child(2) { width: 15%; }
.nutrition-table th:nth-child(3),
.nutrition-table th:nth-child(4),
.nutrition-table th:nth-child(6),
.nutrition-table th:nth-child(7),
.nutrition-table th:nth-child(10) { width: 8%; }
.nutrition-table th:nth-child(5),
.nutrition-table th:nth-child(9) { width: 7%; }
.nutrition-table th:nth-child(8) { width: 10%; }

#drinks .nutrition-table th:first-child { width: 18%; }
#drinks .nutrition-table th:nth-child(2) { width: 16%; }
#drinks .nutrition-table th:nth-child(3),
#drinks .nutrition-table th:nth-child(4),
#drinks .nutrition-table th:nth-child(5),
#drinks .nutrition-table th:nth-child(6),
#drinks .nutrition-table th:nth-child(7),
#drinks .nutrition-table th:nth-child(9),
#drinks .nutrition-table th:nth-child(10) { width: 7%; }
#drinks .nutrition-table th:nth-child(8) { width: 9%; }
#drinks .nutrition-table th:nth-child(11) { width: 8%; }

#drinks .nutrition-table tbody td:nth-child(2) {
  padding-right: 0.45rem;
  padding-left: 0.45rem;
}

.nutrition-table thead th {
  padding-right: 0.55rem;
  padding-left: 0.55rem;
  color: var(--cafe-muted);
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.03em;
  line-height: 1.25;
  text-align: right;
  text-transform: uppercase;
  vertical-align: bottom;
}

.nutrition-table thead th:first-child,
.nutrition-table thead th:nth-child(2) {
  text-align: left;
}

.nutrition-table tbody th,
.nutrition-table tbody td {
  font-size: 0.85rem;
  line-height: 1.35;
  text-align: right;
  vertical-align: middle;
  white-space: nowrap;
}

.nutrition-table tbody th {
  color: var(--cafe-ink);
  font-weight: 700;
  text-align: left;
  white-space: normal;
}

.nutrition-table tbody td {
  color: var(--cafe-muted);
}

.nutrition-table tbody td:nth-child(2) {
  text-align: left;
}

.nutrition-size-picker {
  max-width: 100%;
  padding: 0.38rem 1.1rem 0.38rem 0.45rem;
  color: var(--cafe-ink);
  background-color: rgba(255, 255, 255, 0.22);
  border: 1px solid var(--cafe-rule);
  border-radius: 0.45rem;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  color-scheme: light;
  cursor: pointer;
}

.nutrition-size-picker:hover {
  border-color: var(--cafe-accent);
}

.nutrition-size-picker:focus-visible {
  outline: 2px solid var(--cafe-accent);
  outline-offset: 2px;
}

.nutrition-table tbody tr:last-child th,
.nutrition-table tbody tr:last-child td {
  border-bottom: 0;
}

.nutrition-table tbody tr:hover th,
.nutrition-table tbody tr:hover td {
  background-color: rgba(73, 77, 83, 0.065);
}

.cafe-note {
  max-width: 680px;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--cafe-rule);
}

.cafe-note p {
  color: var(--cafe-muted);
  font-size: 0.78rem;
  line-height: 1.65;
}

@media (max-width: 639px) {
  .cafe-hero__inner {
    padding-top: 4rem;
  }

  .cafe-menu {
    padding-right: 0;
  }

  .cafe-section__heading,
  .cafe-note {
    padding-right: var(--padding-x);
  }

  .nutrition-table th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--cafe-paper);
    box-shadow: 10px 0 14px -14px var(--cafe-ink);
  }

  .nutrition-table thead th:first-child {
    z-index: 2;
  }
}

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