:root {
  --ink: #111111;
  --paper: #ffffff;
  --muted: #3a3a3a;
  --line: #d8d8d8;
  --gold: #f3bb4a;
  --focus: #111111;
  --error: #7a1b1b;
  --line-dark: #333333;
  --tint: #faf6ea;
  --overlay-strong: rgba(17, 17, 17, 0.9);
  --overlay-soft: rgba(17, 17, 17, 0.6);
  --overlay-mid: rgba(17, 17, 17, 0.8);
  --gap: 20px;
  --header-h: 88px;
  --wrap: 1100px;
  --font-body: "Source Sans 3", "Source Sans Pro", sans-serif;
  --font-display: "Abel", "Arial Narrow", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ink);
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 20;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 12px;
  text-decoration: none;
}

.skip:focus {
  top: 8px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 32px));
  margin-inline: auto;
}

.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
  padding-block: 10px;
}

#site-nav {
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  height: 72px;
  width: auto;
  max-width: 46vw;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  background: var(--gold);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  cursor: pointer;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.nav-links a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn,
button.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 12px 22px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  cursor: pointer;
}

.btn:hover,
button.btn:hover {
  background: var(--paper);
  color: var(--ink);
}

.btn-small {
  padding: 8px 14px;
  font-size: 1.05rem;
}

.banner {
  background: var(--gold);
  color: var(--ink);
  text-align: center;
  font-weight: 700;
  margin: 0;
  padding: 12px 16px;
}

/* chrome.js fills this from site-data. Empty means no gold strip. */
.banner:empty {
  display: none;
}

/* Hero: the shop's own photo under a dark overlay, so white text stays readable. */
.hero-band {
  position: relative;
  isolation: isolate;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}

.hero-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--overlay-strong), var(--overlay-soft));
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: 420px;
  padding-block: 40px;
}

.hero-logo-badge {
  flex: 0 0 auto;
  background: var(--paper);
  border: 4px solid var(--gold);
  border-radius: 28px;
  padding: 16px;
}

.hero-logo {
  display: block;
  height: 220px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.hero-band h1 {
  color: var(--paper);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  margin-bottom: 0.2em;
}

.hero-band .lede {
  color: var(--paper);
  font-size: 1.4rem;
  margin: 0;
}

.btn-light,
button.btn-light {
  background: var(--paper);
}

.btn-light:hover,
button.btn-light:hover {
  background: var(--gold);
}

/* Dark and gold bands give the page its rhythm. */
.band-dark {
  background: var(--ink);
  color: var(--paper);
  border-top: 0 !important;
}

.band-dark h2 {
  color: var(--gold);
}

.band-gold {
  background: var(--gold);
  color: var(--ink);
  border-top: 0 !important;
}

.page-band {
  background: var(--ink);
  color: var(--paper);
  padding: 36px 0;
}

.page-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.page-band h1 {
  color: var(--paper);
  margin: 0;
}

.page-band img {
  width: 182px;
  height: 91px;
  object-fit: contain;
  flex: 0 0 auto;
  background: var(--paper);
  border: 3px solid var(--gold);
  border-radius: 14px;
  padding: 6px;
  box-sizing: content-box;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.15;
  margin: 0 0 0.4em;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  text-transform: uppercase;
  margin-top: 0;
}

h3 {
  font-size: 1.35rem;
  text-transform: uppercase;
}

.lede {
  font-size: 1.25rem;
  max-width: 42rem;
}

.section {
  padding: 36px 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.band-grid {
  background: var(--tint);
}

/* Category cards. Flex with centering, so a short last row sits in the middle. */
.game-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap);
}

.game-card {
  flex: 0 1 100%;
  min-width: 0;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-top: 8px solid var(--gold);
  border-radius: 14px;
  padding: 16px 18px 18px;
}

.game-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.game-card-head h3 {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.game-icon {
  flex: 0 0 auto;
  width: 72px;
  height: 48px;
  object-fit: contain;
}

.count {
  flex: 0 0 auto;
  margin: 0;
  background: var(--gold);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 2px 12px;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}

.game-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.game-card li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.game-card li strong {
  display: block;
  line-height: 1.3;
}

.game-card li .desc {
  display: block;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.35;
}

.tea-price {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0.4em 0 0;
}

.band-gold figure img {
  display: block;
  width: 100%;
  border: 3px solid var(--ink);
  border-radius: 14px;
}

/* Photo strip: centered flex so a short last row sits in the middle. */
.photo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap);
}

.photo-strip figure {
  flex: 0 1 100%;
  min-width: 0;
}

.photo-strip img,
.photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid var(--ink);
  border-radius: 14px;
}

.photo-strip img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 45%;
}

.photo img {
  max-width: 26rem;
  margin-inline: auto;
}

.team-card {
  max-width: 28rem;
  border-radius: 14px;
  background: var(--paper);
}

.team-card p {
  margin: 0;
}

.intro {
  max-width: 52rem;
  font-size: 1.2rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.split-gap {
  margin-top: 28px;
}

figure {
  margin: 0;
}

figcaption {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 8px;
}

.event-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px var(--gap);
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.event-list li {
  flex: 0 1 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 12px;
}

/* The date chip. */
.event-list li > span:first-child {
  background: var(--gold);
  border-radius: 8px;
  padding: 8px 6px;
  text-align: center;
  font-weight: 700;
  line-height: 1.2;
}

.event-list li > span:first-child > span {
  display: block;
}

.event-list strong,
.event-list .time {
  display: block;
}

.event-list .time {
  color: var(--muted);
}

#Events h3 {
  margin-top: 1.2em;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 6px;
}

.card {
  border: 2px solid var(--ink);
  padding: 16px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

form {
  display: grid;
  gap: 14px;
  max-width: 40rem;
}

label {
  display: grid;
  gap: 4px;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 10px 12px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.4em;
  font-weight: 700;
}

.form-status.is-error {
  color: var(--error);
}

.prose {
  max-width: 44rem;
}

.prose h2 {
  margin-top: 1.4em;
}

.prose ul {
  padding-left: 1.2rem;
}

#site-footer {
  --ft-pad: clamp(24px, 4vw, 72px);
  background: var(--ink);
  color: var(--paper);
  margin: 24px 0 0;
  width: 100%;
  border-top: 4px solid var(--gold);
}

#site-footer a {
  color: var(--gold);
}

#site-footer :focus-visible {
  outline-color: var(--gold);
}

.ft-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1.1fr) repeat(2, minmax(0, 1.4fr)) minmax(0, 0.8fr);
  gap: 40px clamp(24px, 4vw, 64px);
  padding: 48px var(--ft-pad) 36px;
}

.ft-h {
  margin: 0 0 16px;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
}

.ft-logo {
  display: inline-block;
  background: var(--tint);
  border-radius: 18px;
  padding: 8px;
  line-height: 0;
}

.ft-logo img {
  width: clamp(140px, 14vw, 200px);
  height: auto;
}

.ft-tag {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ft-list,
.ft-social {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ft-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 12px;
}

.ft-ico {
  flex: none;
  display: inline-flex;
  color: var(--gold);
  margin-top: 3px;
}

.ft-dir {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin: 18px 0 0;
}

#site-footer .btn {
  color: var(--ink);
}

#site-footer .btn:hover {
  background: var(--paper);
}

.ft-hours {
  width: 100%;
  border-collapse: collapse;
}

.ft-hours th,
.ft-hours td {
  padding: 9px 0;
  border-bottom: 1px solid var(--line-dark);
  font-weight: 400;
  text-align: left;
}

.ft-hours td {
  text-align: right;
  white-space: nowrap;
}

.ft-hours .is-today th,
.ft-hours .is-today td {
  color: var(--gold);
  font-weight: 700;
}

.ft-today {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ft-social {
  display: flex;
  gap: 14px;
}

.ft-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 2px solid var(--line-dark);
  border-radius: 50%;
  color: var(--paper);
}

.ft-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.ft-social .ft-ico {
  color: inherit;
  margin: 0;
}

.ft-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px 24px;
  align-items: center;
  border-top: 1px solid var(--line-dark);
  margin: 0 var(--ft-pad);
  padding: 20px 0 28px;
}

.ft-bar p {
  margin: 0;
}

.ft-credit {
  text-align: right;
  padding-right: 64px;
}

.legal-links {
  text-align: center;
}

@media (max-width: 1099px) {
  .ft-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .ft-grid {
    grid-template-columns: 1fr;
    padding-top: 36px;
  }

  .ft-bar {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .ft-credit {
    text-align: center;
    padding-right: 0;
  }
}

.page-404 {
  padding: 48px 0 72px;
}

@media (min-width: 700px) {
  .game-card,
  .event-list li {
    flex-basis: calc((100% - var(--gap)) / 2);
  }

  .photo-strip figure {
    flex-basis: calc((100% - 2 * var(--gap)) / 3);
  }

  .photo-strip img {
    aspect-ratio: 3 / 4;
  }
}

@media (min-width: 1100px) {
  .game-card,
  .event-list li {
    flex-basis: calc((100% - 2 * var(--gap)) / 3);
  }
}

@media (max-width: 767px) {
  .nav-toggle {
    display: inline-flex;
  }

  #site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
    z-index: 5;
    padding: 8px 16px 16px;
  }

  #site-header {
    position: relative;
  }

  #site-nav.is-open {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .split {

    grid-template-columns: 1fr;
  }

  .event-list li {
    grid-template-columns: 5.5rem minmax(0, 1fr);
  }

  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    min-height: 0;
    padding-block: 28px;
  }

  .hero-logo {
    height: 110px;
  }

  .hero-logo-badge {
    padding: 10px;
    border-radius: 20px;
  }

  .hero-band::after {
    background: var(--overlay-mid);
  }

  .hero-band .lede {
    font-size: 1.2rem;
  }

  .page-band img {
    width: 120px;
    height: 60px;
  }

  .brand img {
    height: 56px;
  }
}
