/* BostonX. Warm cream paper, the brand's dark brown, and the brick red from the logo. */
:root {
  --paper: #f4ede3;
  --ink: #2a1715;
  --ink-soft: #5e4943;
  --rule: #dccdbd;
  --band: #321917;
  --band-ink: #f4ede3;
  --accent: #9b2c21;
  --accent-dark: #6f1e17;
  --field: #fbf7f1;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: Montserrat, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Header and footer bands */
.top, .foot { background: var(--band); color: var(--band-ink); }
.bar { max-width: 64rem; margin: 0 auto; padding: 1rem 1.25rem; }
.top .bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; }
.brand img { height: 2.1rem; width: auto; }
.mainnav, .subnav { display: flex; flex-wrap: wrap; gap: 0.35rem 1.5rem; font-family: var(--sans); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.mainnav a, .subnav a { color: var(--band-ink); text-decoration: none; padding: 0.3rem 0; border-bottom: 1px solid transparent; }
.mainnav a:hover, .subnav a:hover, .mainnav a[aria-current="page"], .subnav a[aria-current="page"] { border-bottom-color: currentColor; color: var(--band-ink); }
.subnav { max-width: 64rem; margin: 0 auto; padding: 0.6rem 1.25rem 0.9rem; border-top: 1px solid rgba(244, 237, 227, 0.2); letter-spacing: 0.08em; }

.foot { margin-top: 4rem; font-family: var(--sans); font-size: 0.9rem; }
.foot .bar { padding: 2rem 1.25rem 2.5rem; }
.foot p { margin: 0 0 0.6rem; }
.foot .links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; }
.foot a { color: var(--band-ink); }
.foot a:hover { color: #fffaf3; }
.foot .small { font-size: 0.8rem; opacity: 0.8; }

/* Page body */
main > section, main > .video, main > figure { max-width: 64rem; margin-left: auto; margin-right: auto; padding-left: 1.25rem; padding-right: 1.25rem; }
.intro { padding-top: 3rem; padding-bottom: 0.5rem; }
h1, h2, h3 { font-family: var(--sans); color: var(--ink); line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 700; letter-spacing: -0.01em; margin: 0 0 0.5rem; }
h2 { font-size: 1.5rem; font-weight: 700; margin: 2.5rem 0 0.75rem; }
h3 { font-size: 1.1rem; font-weight: 600; margin: 1.75rem 0 0.4rem; }
.prose > * { max-width: 42rem; }
.prose p { margin: 0 0 1rem; }
.lead { font-size: 1.25rem; }
blockquote { margin: 1rem 0 1.25rem; padding: 0 0 0 1.25rem; border-left: 1px solid var(--rule); color: var(--ink-soft); font-style: italic; }

/* Home: event block */
.event { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 2rem; align-items: start; margin-top: 1.5rem; }
.event figure { margin: 0; }
.event p { margin: 0 0 1rem; }
@media (max-width: 720px) { .event { grid-template-columns: 1fr; gap: 1.25rem; } }

figure.wide { margin-top: 2.5rem; margin-bottom: 0; }
figure.wide img { width: 100%; max-height: 28rem; object-fit: cover; }

/* Motto as a plain definition list */
.motto { margin: 0; }
.motto dt { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; margin-top: 1.25rem; }
.motto dd { margin: 0.25rem 0 0; }
.motto strong { display: block; font-weight: 600; }

/* Link lists */
.explore { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.explore li { border-bottom: 1px solid var(--rule); }
.explore a { display: block; padding: 0.9rem 0; font-family: var(--sans); font-weight: 600; font-size: 1.2rem; text-decoration: none; }
.explore a:hover { text-decoration: underline; }
.names { columns: 3 11rem; column-gap: 2rem; padding-left: 1.4rem; margin: 0; }
.names li { break-inside: avoid; padding: 0.15rem 0; }

/* Video frames */
.video { margin-top: 1.5rem; }
.video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; background: var(--band); }
.prose .video { max-width: 42rem; }

/* Gourmet gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 0.75rem; max-width: 64rem; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.prose > .gallery { max-width: 64rem; }

/* Contact form */
.contact { display: grid; gap: 0.35rem; margin-top: 0.5rem; }
.contact label { font-family: var(--sans); font-weight: 600; font-size: 0.9rem; margin-top: 0.75rem; }
.contact input, .contact textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--field);
  border: 1px solid var(--rule); border-radius: 2px; padding: 0.65rem 0.75rem; width: 100%;
}
.contact input:focus, .contact textarea:focus { border-color: var(--accent); outline: none; }
.contact textarea { resize: vertical; min-height: 9rem; }
.contact button {
  justify-self: start; margin-top: 1rem; font-family: var(--sans); font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--band-ink); background: var(--band);
  border: 1px solid var(--band); border-radius: 2px; padding: 0.75rem 1.6rem; cursor: pointer;
}
.contact button:hover { background: var(--accent); border-color: var(--accent); }
.contact button[disabled] { opacity: 0.6; cursor: default; }
.status { min-height: 1.5rem; margin: 0.5rem 0 0; font-family: var(--sans); font-size: 0.95rem; }
.status.ok { color: #2f5d34; }
.status.err { color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.elsewhere { margin-top: 2rem; color: var(--ink-soft); }

@media (max-width: 600px) {
  body { font-size: 1.0625rem; }
  .intro { padding-top: 2rem; }
  .mainnav, .subnav { gap: 0.3rem 1.1rem; }
}
