:root {
  color-scheme: light;
  background: #f8f4ea;
  color: #253a30;
  font: 16px/1.55 system-ui, sans-serif;
  --green: #183d2f;
  --dark: #103125;
  --gold: #bc9b61;
  --ink: #273d31;
  --wine: #812c3d;
  --line: #e3d9c6;
  --paper: #fffcf5;
  --serif: Georgia, 'Times New Roman', serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
button, input, select { font: inherit; }
button, a { touch-action: manipulation; }
a { color: var(--wine); font-weight: 700; text-underline-offset: .22em; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #9b672a; outline-offset: 4px; }
p, h1, h2, h3 { margin: 0; }
.hero {
  position: relative;
  isolation: isolate;
  color: #fff7e6;
  background: radial-gradient(ellipse at 50% 115%, #2b5140 0%, transparent 65%),
    repeating-linear-gradient(133deg, #d9c29409 0 1px, transparent 1px 10px), var(--dark);
  text-align: center;
  padding: 25px clamp(15px, 4vw, 55px);
}
.hero-inner {
  border: 1px solid #d6af777d;
  padding: clamp(24px, 4vw, 47px) 10px clamp(33px, 4.6vw, 56px);
  position: relative;
}
.hero-inner::before, .hero-inner::after {
  content: '✦'; color: #d5af76; background: #15362a; position: absolute; top: 50%;
  transform: translateY(-50%); padding: .25rem .4rem; font-size: 1.1rem;
}
.hero-inner::before { left: -13px; }
.hero-inner::after { right: -13px; }
.hero-layout {
  --emblem-size: clamp(7rem, 18vw, 13.75rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
}
.emblem { position: relative; width: var(--emblem-size); aspect-ratio: 1; overflow: hidden; border-radius: 50%; }
.emblem img { position: absolute; display: block; }
/* Both source images have white margins. Frame the artwork inside the same circular box. */
.emblem-mitchell img { width: 102.7%; height: 103.6%; left: -1.45%; top: -1.74%; }
.emblem-fireplace img { width: 224.9%; height: 120%; left: -62.45%; top: -10%; }
.ornament { display: block; font: 2.2rem/1 var(--serif); color: #e5c792; margin-bottom: .53rem; }
.eyebrow { font-weight: 750; font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; }
.hero .eyebrow { color: #eedbb6; }
h1 {
  font: normal clamp(3.1rem, 8vw, 7rem)/.93 var(--serif);
  letter-spacing: -.068em; margin: .26em 0 .24em;
}
h1 em { color: #f1d8a7; font-weight: normal; }
.hero-note { font: italic clamp(1.02rem, 2vw, 1.29rem)/1.4 var(--serif); }
main { width: min(100% - 2rem, 1072px); margin: 0 auto; padding-bottom: 2.5rem; }
.gate { margin: 2rem auto; text-align: center; }
.venue { margin-top: .9rem; }
.venue a { font-weight: 750; }
.events { margin-top: 1.65rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.event { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--wine); padding: clamp(18px, 3.2vw, 36px); display: flex; flex-direction: column; box-shadow: 0 8px 18px #3d2c1510; }
.event:nth-child(2) { border-top-color: var(--green); }
.event-top { display: flex; align-items: center; gap: 1.05rem; }
.date { display: grid; justify-items: center; flex: 0 0 65px; padding: .4rem .35rem .55rem; border: 1px solid #decba7; color: var(--wine); }
.event:nth-child(2) .date { color: var(--green); }
.date span { font-weight: 800; letter-spacing: .13em; font-size: .68rem; }
.date strong { font: normal 2.25rem/.95 var(--serif); }
.weekday { font-size: .66rem; color: #635c51; margin-bottom: .24rem; }
h2 { font: normal clamp(1.7rem, 3.3vw, 2.5rem)/1.04 var(--serif); letter-spacing: -.045em; }
.description { margin-top: 1.12rem; }
.description-subtitle { display: block; }
.game-note { display: flex; align-items: center; gap: .5rem; margin-top: .4rem; }
.game-note img { width: 2.8rem; height: 1.9rem; object-fit: cover; mix-blend-mode: multiply; flex: none; }
.menu { padding: 1rem 0; margin: .95rem 0 0; border-top: 1px solid var(--line); }
.menu h3 { font-size: .78rem; font-weight: 800; letter-spacing: .05em; }
.dishes { display: flex; flex-wrap: wrap; gap: .42rem; list-style: none; padding: 0; margin: .55rem 0 0; }
.dishes li { font-size: .8rem; background: #f4ecdc; padding: .23rem .62rem; border-radius: 100px; }
.dishes .taken { background: #eae5da; color: #59534a; }
.event-bottom { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; margin-top: auto; padding-top: .6rem; }
.count { color: #405a49; font-size: .9rem; font-weight: 700; }
.primary { min-height: 44px; border: 1px solid transparent; background: var(--green); color: white; border-radius: 4px; text-decoration: none; display: inline-flex; justify-content: center; align-items: center; padding: .62rem .95rem; font-weight: 750; font-size: .9rem; }
.primary:hover { background: #24513e; }
.primary:disabled { opacity: .65; cursor: progress; }
.primary:not([href]):is(a) { pointer-events: none; opacity: .5; }
.saved { margin-top: .8rem; font-size: .85rem; }
.endnote { text-align: center; font: italic 1.13rem var(--serif); margin-top: 1.8rem; }
.endnote span { color: var(--wine); }
dialog { width: min(100% - 1.5rem, 535px); max-height: calc(100% - 1.5rem); background: var(--paper); color: var(--ink); padding: clamp(16px, 5vw, 31px); border: 1px solid var(--gold); border-radius: 8px; }
dialog::backdrop { background: #102a23b8; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.close { display: grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: transparent; font-size: 1.55rem; line-height: 1; }
.dialog-date { margin-bottom: 1rem; }
fieldset { padding: 0; margin: 0 0 1rem; border: 0; }
legend, .field { margin-bottom: .38rem; font-weight: 750; padding: 0; }
.field { display: block; margin-top: .8rem; }
.field small { font-weight: 400; }
.option { display: flex; align-items: center; gap: .62rem; min-height: 38px; cursor: pointer; }
.option.taken { color: #62584c; cursor: default; }
input[type='checkbox'], input[type='radio'] { margin: 0; width: 1.06rem; height: 1.06rem; accent-color: var(--green); }
.members { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); }
.contribution-hint { font-size: .85rem; margin-bottom: .35rem; }
select, input[type='number'] { background: #fffdf7; border: 1px solid #93836c; border-radius: 4px; padding: .58rem; color: var(--ink); min-height: 44px; }
select { display: block; width: 100%; margin-bottom: .85rem; }
.feedback { color: var(--green); font-weight: 700; font-size: .87rem; margin-top: .4rem; }
.feedback:empty { display: none; }
.feedback.problem { color: var(--wine); }
.response-actions { display: flex; gap: .6rem; }
.response-actions .primary { min-width: 0; text-align: center; }
#save-status:not(:empty) { margin-bottom: .55rem; }
.host { margin-top: 1.75rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.quiet { border: 1px solid var(--line); min-height: 44px; padding: .5rem .7rem; border-radius: 4px; background: var(--paper); color: var(--green); font-weight: 700; }
.host-card { padding: .8rem 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.host-card p { margin-top: .28rem; font-size: .9rem; }
.host-card .quiet { margin-top: .45rem; }
.host h3 { margin-top: .95rem; }
@media (min-width: 1040px) {
  main { width: min(100% - 2rem, 1160px); }
  .events { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .event { padding-inline: clamp(18px, 2.15vw, 28px); }
  .event h2 { font-size: clamp(1.7rem, 2.65vw, 2.25rem); }
}
@media (max-width: 720px) {
  .hero-layout { --emblem-size: clamp(3rem, 16vw, 6rem); }
  .hero-copy { width: min(135%, 24rem); }
  .hero h1 { font-size: clamp(1.85rem, 9.5vw, 4.25rem); }
  .hero .eyebrow { font-size: clamp(.56rem, 1.85vw, .72rem); }
  .events { grid-template-columns: 1fr; }
}
@media (max-width: 370px) {
  .event-bottom .primary { width: 100%; }
  .hero .eyebrow { letter-spacing: .08em; }
}
