:root {
  --cream: #f4efe6;
  --paper: #fbf8f2;
  --taupe: #ddd4c9;
  --rose: #c89fb6;
  --rose-deep: #8d5f74;
  --ink: #352b28;
  --muted: #716660;
  --gold: #b49555;
  --line: rgba(53, 43, 40, 0.2);
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --body: Montserrat, "Avenir Next", Avenir, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.dialog-open { overflow: hidden; }

img { display: block; max-width: 100%; }

a { color: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

button { font: inherit; }

:focus-visible {
  outline: 3px solid var(--rose-deep);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: 12px 16px;
  text-decoration: none;
}

.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 82px;
  padding: 0 clamp(20px, 4vw, 64px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.wordmark-liv {
  font-family: var(--display);
  font-size: 2rem;
  font-style: italic;
  line-height: 1;
}

.wordmark-lighter {
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: .16em;
}

nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); }

nav a {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav-button {
  padding: 11px 18px;
  color: var(--cream);
  background: var(--ink);
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--rose-deep);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.025em;
}

.hero {
  min-height: calc(100svh - 82px);
  display: grid;
  grid-template-columns: minmax(360px, .8fr) minmax(560px, 1.2fr);
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  position: relative;
  padding: clamp(70px, 9vw, 150px) clamp(28px, 6vw, 98px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 1px;
  top: clamp(34px, 5vw, 72px);
  left: clamp(28px, 6vw, 98px);
  background: var(--gold);
}

h1 {
  max-width: 7ch;
  margin-bottom: 28px;
  font-size: clamp(4rem, 7.7vw, 8.4rem);
}

.hero-lede {
  max-width: 42rem;
  color: var(--muted);
  font-family: var(--display);
  font-size: clamp(1.12rem, 1.65vw, 1.48rem);
  font-style: italic;
  line-height: 1.55;
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.button {
  min-height: 48px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}

.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: var(--paper); }
.button-rose { background: var(--rose-deep); color: white; }
.button-outline { border-color: var(--line); background: transparent; color: var(--ink); }

.text-link,
.text-button {
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-decoration: none;
  text-transform: uppercase;
}

.next-event {
  margin-top: clamp(46px, 7vw, 90px);
  padding-top: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 20px;
  border-top: 1px solid var(--line);
  font-size: .78rem;
}

.next-event .next-label {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.next-event strong { font-family: var(--display); font-size: 1.25rem; font-weight: 400; }
.next-event > span:last-child { align-self: end; color: var(--muted); }

.hero-visual {
  position: relative;
  min-height: 680px;
  margin: 0;
  overflow: hidden;
  background: #b99875;
}

.hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(38, 28, 24, .45));
  pointer-events: none;
}

.hero-visual figcaption {
  position: absolute;
  z-index: 2;
  left: 32px;
  bottom: 28px;
  max-width: 36ch;
  margin: 0;
  color: white;
  font-family: var(--display);
  font-size: 1.04rem;
  font-style: italic;
}

.hero-stamp {
  position: absolute;
  z-index: 2;
  right: 26px;
  top: 24px;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
  color: white;
  font-size: .61rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.5;
  text-align: center;
}

.events-section {
  padding: clamp(86px, 10vw, 150px) clamp(20px, 6vw, 98px);
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 40rem);
  align-items: end;
  gap: 60px;
}

.section-heading h2,
.gather-copy > h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 5.8vw, 6.5rem);
}

.section-heading > p {
  margin-bottom: .65rem;
  color: var(--muted);
  font-size: .96rem;
}

.event-toolbar {
  margin: 58px 0 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter {
  padding: 10px 15px;
  display: inline-flex;
  gap: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: .75rem;
  font-weight: 600;
}

.filter span {
  color: var(--rose-deep);
  font-variant-numeric: tabular-nums;
}

.filter.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.filter.is-active span { color: var(--rose); }

.events-list {
  margin-top: 26px;
  border-top: 1px solid var(--ink);
}

.event-card {
  padding: 22px 16px;
  display: grid;
  grid-template-columns: 92px minmax(200px, 1fr) minmax(135px, .4fr) auto;
  align-items: center;
  gap: clamp(22px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  transition: background .25s ease, opacity .25s ease, transform .25s ease;
}

.event-card:hover { background: rgba(200, 159, 182, .13); }
.event-card[hidden] { display: none; }

.date-block {
  min-height: 92px;
  padding-right: 16px;
  display: grid;
  align-content: center;
  justify-items: center;
  border-right: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}

.date-block span,
.date-block small {
  color: var(--rose-deep);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.date-block strong {
  font-family: var(--display);
  font-size: 2.55rem;
  font-weight: 400;
  line-height: 1;
}

.event-kicker {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  margin-right: 7px;
  display: inline-block;
  border-radius: 50%;
  background: var(--rose-deep);
}

.event-main h3 { margin-bottom: 4px; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.event-store { margin: 0; color: var(--muted); font-size: .85rem; }

.event-meta { display: grid; gap: 2px; font-size: .76rem; }
.event-meta span { color: var(--muted); }
.event-meta strong { font-weight: 600; }

.event-open {
  min-width: 124px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: left;
  text-transform: uppercase;
}

.event-open span { float: right; transition: transform .2s ease; }
.event-open:hover span { transform: translate(2px, -2px); }

.event-card-coming { background: rgba(221, 212, 201, .33); }
.event-card-coming .status-dot { background: var(--gold); }

.details-note {
  max-width: 720px;
  margin: 28px 0 0 auto;
  color: var(--muted);
  font-size: .78rem;
}

.details-note span { margin-right: 7px; color: var(--gold); }

.gather-section {
  display: grid;
  grid-template-columns: minmax(360px, .8fr) minmax(500px, 1.2fr);
  align-items: stretch;
  background: var(--rose);
}

.gather-photo {
  position: relative;
  min-height: 820px;
  overflow: hidden;
}

.gather-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }

.photo-note {
  position: absolute;
  left: 24px;
  bottom: 24px;
  margin: 0;
  padding: 8px 12px;
  background: rgba(244, 239, 230, .9);
  color: var(--ink);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.gather-copy { padding: clamp(70px, 9vw, 140px) clamp(28px, 7vw, 110px); }
.gather-copy > h2 { max-width: 11ch; }
.gather-copy > p:not(.eyebrow) { max-width: 54ch; margin: 30px 0 42px; }

.expect-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(53,43,40,.32); }
.expect-list li { padding: 16px 0; display: grid; grid-template-columns: 44px 1fr; border-bottom: 1px solid rgba(53,43,40,.32); font-size: .86rem; }
.expect-list span { color: var(--rose-deep); font-size: .65rem; font-weight: 700; letter-spacing: .12em; }

.book-callout {
  margin-top: 54px;
  padding: 30px;
  min-height: 195px;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
  gap: 26px;
  background: var(--cream);
}

.book-callout img {
  position: static;
  width: 118px;
  max-height: 190px;
  justify-self: center;
  object-fit: contain;
  transform: rotate(-3deg);
  filter: drop-shadow(0 18px 15px rgba(53,43,40,.2));
}

.book-callout h3 { margin-bottom: 6px; font-size: 2.1rem; }
.book-callout p:not(.eyebrow) { margin-bottom: 18px; color: var(--muted); font-size: .82rem; }
.book-callout .eyebrow { margin-bottom: 8px; }
.book-callout .button { min-height: 42px; padding: 11px 16px; }

footer {
  padding: 42px clamp(20px, 6vw, 98px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  background: var(--ink);
  color: var(--cream);
}

.wordmark-footer { color: var(--cream); }
footer p { margin: 0; color: rgba(244,239,230,.67); font-family: var(--display); font-style: italic; text-align: center; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }

.event-dialog {
  width: min(720px, calc(100vw - 32px));
  max-height: min(850px, calc(100svh - 32px));
  margin: auto;
  padding: clamp(34px, 6vw, 66px);
  border: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(35,25,22,.3);
}

.event-dialog::backdrop { background: rgba(44, 34, 31, .7); backdrop-filter: blur(7px); }

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.8rem;
  line-height: 1;
}

.dialog-date { color: var(--gold); font-family: var(--display); font-size: clamp(2.7rem, 7vw, 5rem); line-height: 1; }
.event-dialog .eyebrow { margin: 16px 0 8px; }
.event-dialog h2 { margin-bottom: 6px; font-size: clamp(3rem, 8vw, 5.4rem); }
.dialog-store { color: var(--muted); font-family: var(--display); font-size: 1.25rem; font-style: italic; }

.dialog-grid {
  margin: 30px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.dialog-grid > div { min-height: 105px; padding: 18px 18px 18px 0; display: grid; align-content: start; gap: 7px; border-bottom: 1px solid var(--line); }
.dialog-grid > div:nth-child(odd) { border-right: 1px solid var(--line); }
.dialog-grid > div:nth-child(even) { padding-left: 18px; }
.dialog-grid span { color: var(--muted); font-size: .63rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.dialog-grid strong { font-family: var(--display); font-size: 1.05rem; font-weight: 400; line-height: 1.35; }
#dialog-details { white-space: pre-line; }

.dialog-message { padding: 15px 17px; background: rgba(200,159,182,.17); color: var(--muted); font-size: .79rem; }
.dialog-actions { margin-top: 24px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dialog-indigo-link { margin-top: 25px; display: inline-block; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }

.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 24px;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: .75rem;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: opacity .25s ease, transform .25s ease;
}

.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  nav > a:not(.nav-button) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { order: 2; }
  .hero-visual { min-height: auto; aspect-ratio: 16 / 10; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .event-card { grid-template-columns: 78px 1fr auto; }
  .event-meta { display: none; }
  .gather-section { grid-template-columns: .85fr 1.15fr; }
  .gather-photo { min-height: 780px; }
  footer { grid-template-columns: 1fr; justify-items: center; }
}

@media (max-width: 720px) {
  .site-header { min-height: 70px; padding: 0 18px; }
  .wordmark-liv { font-size: 1.72rem; }
  .wordmark-lighter { font-size: .9rem; }
  .nav-button { padding: 10px 12px; font-size: .63rem; }
  .hero-copy { padding: 78px 22px 58px; }
  .hero-copy::before { left: 22px; top: 42px; }
  h1 { font-size: clamp(3.7rem, 19vw, 5.6rem); }
  .hero-visual { aspect-ratio: 4 / 3; }
  .hero-visual figcaption { left: 20px; right: 92px; bottom: 18px; font-size: .92rem; }
  .hero-stamp { width: 72px; height: 72px; right: 16px; top: 16px; font-size: .52rem; }
  .events-section { padding: 78px 18px; }
  .section-heading h2, .gather-copy > h2 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .event-toolbar { margin-top: 36px; gap: 8px; }
  .filter { padding: 9px 11px; font-size: .67rem; }
  .event-card { padding: 18px 5px; grid-template-columns: 64px minmax(0, 1fr) 34px; gap: 15px; }
  .date-block { min-height: 76px; padding-right: 10px; }
  .date-block strong { font-size: 2rem; }
  .date-block small { font-size: .5rem; }
  .event-main h3 { font-size: 1.75rem; }
  .event-store { font-size: .72rem; }
  .event-open { min-width: 0; width: 34px; padding: 12px 6px; overflow: hidden; white-space: nowrap; font-size: 0; border: 1px solid var(--line); text-align: center; }
  .event-open span { float: none; font-size: .9rem; }
  .details-note { margin-top: 22px; }
  .gather-section { grid-template-columns: 1fr; }
  .gather-photo { min-height: auto; aspect-ratio: 4 / 5; }
  .gather-copy { padding: 78px 22px; }
  .book-callout { padding: 24px 20px; grid-template-columns: 88px minmax(0, 1fr); gap: 18px; }
  .book-callout img { width: 88px; max-height: 150px; }
  .event-dialog { width: 100vw; max-width: none; max-height: 92svh; margin: auto 0 0; padding: 54px 22px 32px; }
  .dialog-grid { grid-template-columns: 1fr; }
  .dialog-grid > div:nth-child(odd) { border-right: 0; }
  .dialog-grid > div:nth-child(even) { padding-left: 0; }
  .dialog-actions { align-items: stretch; }
  .dialog-actions .button { width: 100%; }
  .dialog-actions .text-button { margin: 8px auto 0; }
  footer { padding: 42px 22px; text-align: center; }
}
