:root {
  color-scheme: light;
  --paper: #f4f0eb;
  --surface: #fffcf8;
  --ink: #2d211d;
  --muted: #65534c;
  --red: #8b1b22;
  --red-dark: #67141a;
  --red-tint: #f5e4e0;
  --border: #e3d8cf;
  --radius: 1rem;
  --display: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.55 system-ui, sans-serif;
}

main { flex: 1; }
main:focus { outline: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--display); line-height: 1.12; }
h1 { font-size: clamp(2.65rem, 6vw, 4.6rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); letter-spacing: -.025em; }

a { color: var(--red); }
a:hover { color: var(--red-dark); }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #a64226; outline-offset: 4px; }

.shell { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  z-index: 2;
  top: .75rem;
  left: .75rem;
  padding: .6rem 1rem;
  background: var(--surface);
}

.site-header {
  background: linear-gradient(105deg, #94222b, #74151c);
  color: #fff7ef;
  border-bottom: 3px solid #bb7664;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 5.25rem;
}

.brand { display: block; flex-shrink: 0; }
.brand img { width: clamp(11rem, 25vw, 15rem); height: auto; filter: invert(1); }
.site-header :focus-visible { outline-color: #fff3d7; }

.main-nav, .footer-links, .contact-details ul, .category-nav ul, .category-grid, .product-grid {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav { display: flex; flex-wrap: wrap; gap: .25rem; }
.main-nav a {
  display: block;
  padding: .65rem .85rem;
  border-radius: .5rem;
  color: inherit;
  font-weight: 650;
  text-decoration: none;
}
.main-nav a:hover, .main-nav .nav-section { background: #fff3df22; }

.home-hero {
  margin-block: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2rem);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.hero-copy { padding: clamp(1.5rem, 3.6vw, 3rem); }
.eyebrow {
  color: var(--red);
  font-size: .875rem;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.hero-copy h1 { margin-block: .6rem .65rem; }
.hero-copy > p:not(.eyebrow), .page-heading > p:not(.eyebrow) {
  max-width: 52ch;
  color: var(--muted);
  font-size: clamp(1.0625rem, 2.2vw, 1.2rem);
}
.hero-photo { width: 100%; height: auto; }

.actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.hero-copy .actions { margin-top: 1.55rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .65rem .95rem;
  border: 1px solid var(--red);
  border-radius: .55rem;
  background: var(--red);
  color: #fff;
  font: inherit;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.button-outline { background: transparent; color: var(--red); }
.button-outline:hover { background: var(--red-tint); color: var(--red-dark); }
.text-link, .contact-details a { font-weight: 650; text-underline-offset: .2em; }

.order-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .85rem 1.5rem;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  padding: clamp(1rem, 3vw, 1.65rem);
  border: 1px solid #e4c9c3;
  border-inline-start: .3rem solid var(--red);
  border-radius: var(--radius);
  background: var(--red-tint);
}
.order-notice h2 { margin-bottom: .25rem; color: var(--red-dark); }
.order-notice p { max-width: 58ch; }

.visit-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1rem; align-items: start; }
.panel {
  padding: clamp(1.1rem, 3.4vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  scroll-margin-top: 1rem;
}
.panel h2 { margin-bottom: .9rem; }
.hours-status {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .15rem .65rem;
  padding: .6rem .8rem;
  border-radius: .45rem;
  background: var(--red-tint);
  color: var(--red-dark);
}
.hours-status[data-open="true"] { background: #e6eee3; color: #285234; }
.hours-status span { font-size: .9375rem; }

.hours-table { width: 100%; margin-top: .75rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours-table :is(th, td) { padding: .5rem .3rem; text-align: left; }
.hours-table tr + tr { border-top: 1px solid var(--border); }
.hours-table th { width: 34%; font-weight: 650; }
.hours-table td { white-space: nowrap; }
.hours-table tr[aria-current="date"] { background: #f4ece4; }
.hours-table tr[aria-current="date"] th { color: var(--red-dark); }

.contact-panel address { font-style: normal; color: var(--muted); margin-bottom: .65rem; }
.contact-panel address strong { color: var(--ink); }
.contact-details { border-top: 1px solid var(--border); margin-top: 1.15rem; padding-top: 1.05rem; }
.contact-details h3 { margin-bottom: .25rem; font-size: 1.05rem; }
.contact-details li + li { margin-top: .25rem; }
.contact-details a { overflow-wrap: anywhere; }
.review-link { display: inline-block; margin-top: 1rem; }

.home-categories { margin-block: clamp(2.5rem, 6vw, 4.25rem); }
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin-bottom: 1.1rem;
}

.catalog { padding-block: clamp(1.75rem, 5.5vw, 4rem) clamp(2.75rem, 6vw, 5rem); }
.page-heading { margin-bottom: clamp(1.5rem, 4vw, 2.25rem); }
.page-heading h1 { margin-bottom: .65rem; }
.page-heading nav, .page-heading .eyebrow { margin-bottom: .6rem; }

.category-nav { margin-bottom: 1.5rem; }
.category-nav ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.category-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .45rem .8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2rem;
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 650;
  text-decoration: none;
}
.category-nav a:hover { border-color: var(--red); }
.category-nav a[aria-current="page"] { background: var(--red); border-color: var(--red); color: #fff; }

.category-grid, .product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.category-card, .product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 3px 12px #38251b08;
}
.category-card {
  color: var(--ink);
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.category-card:hover, .category-card:focus-visible { border-color: #a74a48; color: var(--red); box-shadow: 0 5px 16px #38251b16; }
.category-media, .product-media {
  display: grid;
  place-items: center;
  aspect-ratio: 1.36;
  padding: clamp(.4rem, 2vw, 1.1rem);
  overflow: hidden;
  background: #fff;
}
:is(.category-media, .product-media) img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.category-name, .product-card h2 {
  flex: 1;
  display: grid;
  place-items: center;
  padding: .7rem .45rem;
  border-top: 1px solid var(--border);
  font: 650 clamp(1rem, 2.2vw, 1.15rem)/1.35 system-ui, sans-serif;
  text-align: center;
  overflow-wrap: anywhere;
}

.prose {
  width: min(100% - 2.5rem, 45rem);
  padding-block: clamp(2rem, 6vw, 4.5rem);
}
.prose > h2 { margin-block: 1.75rem .5rem; }
.prose a { overflow-wrap: anywhere; }
.game { margin-top: 1.75rem; }
.game-result { margin-top: .75rem; }

.site-footer { border-top: 1px solid #dacdc3; background: #eae1d9; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 2rem;
  padding-block: 1.4rem;
}
.footer-inner p { color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.footer-links a { text-underline-offset: .2em; }

@media (max-width: 900px) {
  .category-grid, .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .visit-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .shell, .prose { width: calc(100% - 1.5rem); }
  .header-inner { flex-direction: column; align-items: center; justify-content: center; gap: .2rem; padding-block: .65rem .4rem; }
  .main-nav { justify-content: center; }
  .main-nav a { padding: .55rem .6rem; font-size: .9375rem; }
  .category-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .hours-table { font-size: .875rem; }
  .hours-table :is(th, td) { padding-inline: .2rem; }
}

@media (max-width: 350px) {
  .main-nav a { padding-inline: .35rem; }
  h1, h2 { overflow-wrap: anywhere; }
  .panel h2 { font-size: 1.4rem; }
  .visit-grid { grid-template-columns: minmax(0, 1fr); }
  .hours-table { table-layout: fixed; }
  .hours-table :is(th, td) { white-space: normal; }
  .hours-table th { overflow-wrap: anywhere; }
  .hours-table time { white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
