:root {
  --navy: #093a60;
  --navy-deep: #062f4f;
  --navy-ink: #082f4b;
  --paper: #eee5d3;
  --paper-light: #f7f0df;
  --paper-dark: #ded0b8;
  --ink: #272117;
  --muted: #655a48;
  --brass: #9d7433;
  --line: #aa9a7d;
  --white: #fffaf0;
  --shadow: 0 8px 22px rgba(44, 31, 15, 0.16);
  --max: 1260px;
  --radius: 7px;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--navy-deep);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 22% 18%, rgba(100, 77, 40, 0.08) 0 1px, transparent 1.4px),
    radial-gradient(circle at 73% 62%, rgba(100, 77, 40, 0.06) 0 1px, transparent 1.4px),
    linear-gradient(rgba(255, 255, 255, 0.08), rgba(56, 38, 17, 0.05)),
    var(--paper);
  background-size: 9px 9px, 13px 13px, auto, auto;
  font-size: 16px;
  line-height: 1.45;
}

body.nav-open {
  overflow: hidden;
}

section[id],
#event-search {
  scroll-margin-top: 185px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  transform: translateY(-140%);
  padding: 0.65rem 0.85rem;
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--paper-light);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 68px;
  color: var(--paper-light);
  background:
    linear-gradient(rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.06)),
    var(--navy);
  border-top: 4px solid #3e3325;
  border-bottom: 1px solid #cab58c;
  box-shadow: 0 3px 12px rgba(12, 21, 24, 0.2);
}

.header-inner {
  position: relative;
  width: min(var(--max), calc(100% - 2rem));
  min-height: 68px;
  margin: auto;
}

.site-nav {
  display: grid;
  grid-template-columns: 1fr 270px 1fr;
  align-items: center;
  min-height: 68px;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 2vw, 1.7rem);
}

.nav-right {
  justify-content: flex-end;
}

.nav-group a {
  position: relative;
  padding: 1.5rem 0 1.35rem;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-group a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1rem;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  background: var(--paper-light);
  transition: transform 160ms ease;
}

.nav-group a:hover::after,
.nav-group a:focus-visible::after,
.nav-group a.active::after {
  transform: scaleX(1);
}

.search-link {
  width: 24px;
  overflow: hidden;
  color: transparent;
}

.search-link::before {
  content: "";
  position: absolute;
  top: 1.42rem;
  left: 2px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--paper-light);
  border-radius: 50%;
}

.search-link::after {
  content: "";
  position: absolute;
  top: 2.16rem;
  left: 14px;
  width: 8px;
  height: 2px;
  transform: rotate(45deg) !important;
  background: var(--paper-light);
}

.brand-sign {
  position: relative;
  top: 6px;
  z-index: 4;
  width: 246px;
  justify-self: center;
  align-self: start;
  filter: drop-shadow(0 7px 6px rgba(28, 19, 11, 0.35));
}

.brand-sign img {
  display: block;
  width: 100%;
  border: 2px solid #715f42;
}

.mobile-brand,
.nav-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(340px, 42%) 1fr;
  min-height: 350px;
  margin: 0;
  border-bottom: 1px solid #8f7b5d;
}

.hero-copy-panel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 5.4rem) clamp(2rem, 6vw, 5.4rem) clamp(2.5rem, 5vw, 4.3rem);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent),
    radial-gradient(circle at 18% 22%, rgba(115, 86, 45, 0.08) 0 1px, transparent 1.6px),
    var(--paper-light);
  background-size: auto, 8px 8px, auto;
  box-shadow: 18px 0 32px rgba(235, 224, 203, 0.94);
}

.hero-copy-panel::after {
  content: "";
  position: absolute;
  top: 0;
  right: -70px;
  bottom: 0;
  width: 110px;
  background: linear-gradient(90deg, var(--paper-light), rgba(247, 240, 223, 0));
  pointer-events: none;
}

.hero-photo {
  min-height: 350px;
  position: relative;
  overflow: hidden;
  background: #79684c;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 240, 223, 0.32), transparent 16%);
  pointer-events: none;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
}

.kicker {
  margin: 0 0 0.55rem;
  color: var(--brass);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 620px;
  margin: 0;
  color: var(--navy-ink);
  font-size: clamp(2.7rem, 4vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--navy-ink);
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--navy-ink);
  font-size: 1.17rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero-copy-panel > p:not(.kicker) {
  max-width: 510px;
  margin: 0.8rem 0 1.25rem;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
}

.ornament-rule {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: min(390px, 100%);
  margin: 0.75rem 0 0;
  color: var(--brass);
}

.ornament-rule::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--brass);
}

.ornament-rule span {
  font-size: 1.25rem;
}

.fleur {
  font-family: Georgia, "Times New Roman", serif;
  font-variant-emoji: text;
  font-style: normal;
  font-weight: 400;
}

.hero-actions,
.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button,
.panel-form > button,
.footer-signup button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 42px;
  padding: 0.72rem 1.15rem;
  border-radius: 5px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.button-primary,
.panel-form > button {
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--navy-deep);
  box-shadow: 0 3px 7px rgba(7, 38, 61, 0.18);
}

.button-outline {
  color: var(--navy-ink);
  background: rgba(247, 240, 223, 0.45);
  border: 1px solid #8c795d;
}

.button-light {
  color: var(--navy-deep);
  background: var(--paper-light);
  border: 1px solid var(--paper-light);
}

.button-outline-light {
  color: var(--paper-light);
  background: transparent;
  border: 1px solid rgba(247, 240, 223, 0.72);
}

.button.compact {
  min-height: 38px;
  padding: 0.55rem 0.85rem;
}

.live-strip {
  color: var(--navy);
  background: var(--paper-light);
  border-top: 3px double #8d7755;
  border-bottom: 3px double #8d7755;
  font-family: Georgia, "Times New Roman", serif;
  font-variant-emoji: text;
}

.live-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
  min-height: 40px;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.live-strip-label,
.live-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.live-strip-label {
  color: var(--navy-ink);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.live-status-dot {
  width: 7px;
  height: 7px;
  background: var(--brass);
  border: 1px solid #80611f;
  border-radius: 50%;
}

.live-strip-divider {
  color: var(--brass);
  font-size: 0.72rem;
}

.live-strip-icon,
.live-weather-icon svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.live-weather {
  color: var(--navy-ink);
}

.live-weather-condition {
  text-transform: uppercase;
}

.live-weather-feels {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 400;
}

.live-date-short {
  display: none;
}

.paper-section {
  width: min(var(--max), calc(100% - 2rem));
  margin: auto;
  padding: 1.5rem 0 1.7rem;
}

.featured-section {
  padding-top: 1.1rem;
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.48rem;
  border-bottom: 1px solid rgba(91, 70, 43, 0.46);
}

.section-title-row h2 {
  font-size: 1.18rem;
  text-transform: uppercase;
}

.section-title-row h2 span {
  margin-right: 0.45rem;
  color: var(--brass);
}

.section-title-row > a,
.text-button,
.about-card a {
  padding: 0;
  color: var(--navy-ink);
  background: transparent;
  border: 0;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: uppercase;
}

.event-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1rem;
}

.search-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  max-width: 520px;
}

.search-panel input,
.panel-form input,
.panel-form select,
.panel-form textarea,
.footer-signup input {
  width: 100%;
  min-width: 0;
  padding: 0.7rem 0.8rem;
  color: var(--ink);
  background: rgba(255, 251, 241, 0.84);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.search-panel input {
  border-radius: 4px 0 0 4px;
}

.search-panel button {
  padding: 0.6rem 0.9rem;
  color: var(--paper-light);
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 0 4px 4px 0;
  font-weight: 700;
  text-transform: uppercase;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.chip {
  min-height: 31px;
  padding: 0.34rem 0.65rem;
  color: var(--navy-ink);
  background: transparent;
  border: 1px solid #a9987c;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.chip.active,
.chip:hover,
.chip:focus-visible {
  color: var(--paper-light);
  background: var(--navy);
  border-color: var(--navy);
}

.search-status {
  grid-column: 1 / -1;
  margin: -0.25rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-style: italic;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}

.event-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: rgba(247, 240, 223, 0.72);
  border: 1px solid #b2a187;
  border-radius: var(--radius);
  box-shadow: 0 3px 10px rgba(73, 52, 26, 0.09);
}

.event-image {
  position: relative;
  height: 126px;
  overflow: hidden;
  background: var(--paper-dark);
}

.event-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.02);
}

.date-badge {
  position: absolute;
  top: 0;
  left: 0.65rem;
  min-width: 58px;
  padding: 0.42rem 0.38rem 0.48rem;
  color: var(--paper-light);
  background: var(--navy);
  border: 1px solid #ccb989;
  border-top: 0;
  border-radius: 0 0 4px 4px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(19, 24, 20, 0.25);
}

.date-badge span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.date-badge strong {
  display: block;
  margin-top: 0.08rem;
  font-size: 1.06rem;
  line-height: 1;
}

.event-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0.72rem 0.8rem 0.8rem;
}

.event-card h3 {
  margin-bottom: 0.23rem;
}

.event-location {
  color: var(--muted);
  font-size: 0.8rem;
}

.event-card p {
  margin: 0.55rem 0 0.75rem;
  color: #4d4437;
  font-size: 0.86rem;
  line-height: 1.28;
}

.event-card button {
  align-self: flex-start;
  margin-top: auto;
  padding: 0;
  color: var(--navy-ink);
  background: transparent;
  border: 0;
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: uppercase;
}

.stories-section {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: 1rem;
  padding-top: 0.2rem;
  border-top: 1px solid rgba(91, 70, 43, 0.38);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.story-card {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  color: inherit;
  text-align: left;
  background: rgba(247, 240, 223, 0.64);
  border: 1px solid #b2a187;
  border-radius: 5px;
  font: inherit;
  cursor: pointer;
}

.story-card img {
  display: block;
  width: 100%;
  height: 105px;
  object-fit: cover;
}

.story-card-body {
  display: block;
  padding: 0.8rem;
}

.story-card h3 {
  font-size: 0.93rem;
}

.story-card p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.73rem;
}

.about-card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 238px;
  overflow: hidden;
  padding: 1.15rem;
  background:
    linear-gradient(90deg, rgba(247, 240, 223, 0.96), rgba(247, 240, 223, 0.76)),
    url("assets/vintage/story-quarter.jpg") center / cover no-repeat;
  border: 1px solid #b2a187;
  border-radius: var(--radius);
}

.about-card > div {
  max-width: 72%;
}

.about-card p:not(.kicker) {
  margin: 0.65rem 0 0.8rem;
  color: #4e4435;
  font-size: 0.88rem;
}

.ink-section {
  padding: 2.25rem 1rem;
  color: var(--paper-light);
  background:
    linear-gradient(rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.07)),
    var(--navy);
  border-top: 3px double #c6ad79;
  border-bottom: 3px double #c6ad79;
}

.ink-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 2rem;
  width: min(var(--max), 100%);
  margin: auto;
}

.ink-section h2,
.section-title-row.light h2 {
  color: var(--paper-light);
}

.section-intro {
  max-width: 540px;
  color: rgba(247, 240, 223, 0.78);
}

.tonight-list {
  display: grid;
  gap: 0.45rem;
}

.list-item {
  display: grid;
  gap: 0.15rem;
  width: 100%;
  padding: 0.7rem 0;
  color: var(--paper-light);
  text-align: left;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(247, 240, 223, 0.26);
}

.list-item strong {
  font-size: 1rem;
}

.list-item span {
  color: rgba(247, 240, 223, 0.72);
  font-size: 0.82rem;
}

.section-title-row.light {
  border-bottom-color: rgba(247, 240, 223, 0.3);
}

.day-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.day-card {
  padding: 0.75rem;
  background: rgba(247, 240, 223, 0.08);
  border: 1px solid rgba(247, 240, 223, 0.24);
  border-radius: 5px;
}

.day-card h3 {
  margin-bottom: 0.45rem;
  color: var(--paper-light);
  font-size: 1rem;
  text-transform: uppercase;
}

.mini-event {
  display: block;
  width: 100%;
  padding: 0.55rem 0;
  color: var(--paper-light);
  text-align: left;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(247, 240, 223, 0.19);
}

.mini-event strong,
.mini-event span {
  display: block;
}

.mini-event strong {
  font-size: 0.87rem;
}

.mini-event span {
  margin-top: 0.16rem;
  color: rgba(247, 240, 223, 0.66);
  font-size: 0.72rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.category-grid a {
  position: relative;
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  padding: 0.8rem;
  color: var(--paper-light);
  background:
    linear-gradient(180deg, transparent, rgba(4, 31, 49, 0.88)),
    url("assets/vintage/event-pride.jpg") center / cover no-repeat;
  border: 1px solid #8e7d61;
  border-radius: 5px;
}

.category-grid a:nth-child(2) {
  background-image:
    linear-gradient(180deg, transparent, rgba(4, 31, 49, 0.88)),
    url("assets/vintage/event-festival.jpg");
}

.category-grid a:nth-child(3) {
  background-image:
    linear-gradient(180deg, transparent, rgba(4, 31, 49, 0.88)),
    url("assets/vintage/event-second-line.jpg");
}

.category-grid a:nth-child(4) {
  background-image:
    linear-gradient(180deg, transparent, rgba(4, 31, 49, 0.88)),
    url("assets/vintage/event-sunset.jpg");
}

.category-grid span {
  font-size: 1.3rem;
  font-weight: 700;
}

.category-grid strong {
  color: rgba(247, 240, 223, 0.78);
  font-size: 0.76rem;
}

.board-section {
  border-top: 1px solid rgba(91, 70, 43, 0.38);
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.board-card {
  position: relative;
  min-height: 140px;
  padding: 0.8rem;
  background: rgba(247, 240, 223, 0.62);
  border: 1px solid #ae9d81;
  border-radius: 3px;
}

.board-card::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 7px;
  height: 7px;
  transform: translateX(-50%);
  background: var(--brass);
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(50, 32, 13, 0.35);
}

.board-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0.4rem 0 0.55rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.board-card h3 {
  font-size: 1rem;
}

.board-card p {
  margin: 0.45rem 0 0;
  color: #4e4437;
  font-size: 0.82rem;
}

.action-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem max(1rem, calc((100% - var(--max)) / 2));
  color: var(--paper-light);
  background: #72542a;
  border-top: 1px solid #4f391d;
}

.action-band h2 {
  color: var(--paper-light);
}

.action-band .kicker {
  color: #e0c486;
}

.site-footer {
  color: rgba(247, 240, 223, 0.86);
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.025) 0 1px, transparent 1.5px),
    var(--navy);
  background-size: 8px 8px, auto;
  border-top: 4px solid #3d3022;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.35fr 0.72fr 0.72fr 1.55fr;
  gap: 2rem;
  width: min(var(--max), calc(100% - 2rem));
  margin: auto;
  padding: 2rem 0;
}

.footer-brand {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 1rem;
  align-items: start;
}

.footer-brand img {
  width: 116px;
  border: 1px solid #b99d68;
}

.footer-brand p,
.footer-signup p {
  margin: 0;
  font-size: 0.82rem;
}

.footer-column,
.footer-signup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28rem;
}

.footer-column h2,
.footer-signup h2 {
  margin-bottom: 0.4rem;
  color: var(--paper-light);
  font-size: 0.88rem;
  text-transform: uppercase;
}

.footer-column a,
.footer-column button {
  padding: 0;
  color: rgba(247, 240, 223, 0.85);
  background: transparent;
  border: 0;
  font-size: 0.8rem;
}

.footer-signup > div {
  display: grid;
  grid-template-columns: 1fr auto;
  width: 100%;
  margin-top: 0.5rem;
}

.footer-signup input {
  border-radius: 3px 0 0 3px;
}

.footer-signup button {
  min-height: 38px;
  padding: 0.55rem 0.7rem;
  color: var(--paper-light);
  background: transparent;
  border: 1px solid #c4ad7c;
  border-radius: 0 3px 3px 0;
}

.footer-signup fieldset {
  display: flex;
  gap: 0.7rem;
  margin: 0.55rem 0 0;
  padding: 0;
  border: 0;
}

.footer-signup fieldset label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: rgba(247, 240, 223, 0.72);
  font-size: 0.7rem;
}

.footer-signup fieldset input {
  width: 14px;
  height: 14px;
  padding: 0;
}

.footer-bottom {
  padding: 0.7rem 1rem;
  text-align: center;
  color: rgba(247, 240, 223, 0.72);
  border-top: 1px solid rgba(247, 240, 223, 0.18);
  font-size: 0.74rem;
}

.footer-bottom a[x-apple-data-detectors] {
  color: inherit !important;
  text-decoration: none !important;
  border-bottom: 0 !important;
}

.site-dialog {
  width: min(850px, calc(100% - 1.5rem));
  max-height: calc(100svh - 1.5rem);
  padding: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 20%, rgba(90, 65, 35, 0.08) 0 1px, transparent 1.5px),
    var(--paper-light);
  background-size: 8px 8px, auto;
  border: 2px solid #7f6e52;
  border-radius: 6px;
  box-shadow: 0 24px 80px rgba(10, 21, 24, 0.5);
}

.site-dialog::backdrop {
  background: rgba(3, 23, 37, 0.74);
}

.dialog-close {
  position: sticky;
  top: 0.6rem;
  left: calc(100% - 4.9rem);
  z-index: 3;
  margin: 0.6rem;
  padding: 0.45rem 0.65rem;
  color: var(--paper-light);
  background: var(--navy);
  border: 1px solid var(--navy-deep);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.dialog-heading,
.event-detail {
  padding: 0 1.25rem 1.1rem;
}

.dialog-heading {
  border-bottom: 1px solid var(--line);
}

.dialog-heading p:not(.kicker) {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.panel-form {
  display: grid;
  gap: 0.85rem;
  padding: 1.2rem 1.25rem 1.4rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.panel-form label {
  display: grid;
  gap: 0.3rem;
  color: var(--navy-ink);
  font-size: 0.8rem;
  font-weight: 700;
}

.panel-form textarea {
  resize: vertical;
}

.form-message {
  min-height: 1.2em;
  margin: 0;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
}

.event-detail-header {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.event-detail-header h2 {
  margin-top: 0.4rem;
  font-size: clamp(2rem, 5vw, 3.3rem);
}

.event-detail-header p {
  color: var(--muted);
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag {
  padding: 0.25rem 0.48rem;
  color: var(--paper-light);
  background: var(--navy);
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
}

.tag.gold {
  color: var(--ink);
  background: #d6ba7f;
}

.tag.red {
  background: #7c392d;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.detail-box {
  padding: 0.75rem;
  background: rgba(220, 205, 178, 0.45);
  border: 1px solid rgba(153, 133, 99, 0.45);
}

.detail-box strong {
  display: block;
  color: var(--navy-ink);
}

.note-box {
  margin-top: 0.8rem;
  padding: 0.85rem;
  color: var(--paper-light);
  background: var(--navy);
  border: 1px solid var(--navy-deep);
}

.note-box p {
  margin: 0.35rem 0 0;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.detail-actions a,
.detail-actions button {
  padding: 0.58rem 0.75rem;
  color: var(--paper-light);
  background: var(--navy);
  border: 1px solid var(--navy-deep);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(180, 132, 51, 0.52);
  outline-offset: 2px;
}

@media (max-width: 1120px) {
  .site-nav {
    grid-template-columns: 1fr 220px 1fr;
  }

  .brand-sign {
    width: 205px;
  }

  .nav-group {
    gap: 0.75rem;
  }

  .nav-group a {
    font-size: 0.72rem;
  }

  .event-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stories-section {
    grid-template-columns: 1fr;
  }

  .about-card > div {
    max-width: 620px;
  }
}

@media (max-width: 860px) {
  section[id],
  #event-search {
    scroll-margin-top: 82px;
  }

  .site-header,
  .header-inner {
    min-height: 70px;
  }

  .mobile-brand {
    position: absolute;
    top: 7px;
    left: 0;
    z-index: 5;
    display: block;
    width: 116px;
  }

  .mobile-brand img {
    display: block;
    border: 1px solid #b99d68;
  }

  .nav-toggle {
    position: absolute;
    top: 13px;
    right: 0;
    z-index: 6;
    display: block;
    width: 44px;
    height: 44px;
    padding: 0;
    background: rgba(247, 240, 223, 0.08);
    border: 1px solid rgba(247, 240, 223, 0.45);
    border-radius: 4px;
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--paper-light);
  }

  .site-nav {
    position: fixed;
    inset: 70px 0 auto;
    display: none;
    grid-template-columns: 1fr;
    padding: 0.7rem 1rem 1rem;
    background: var(--navy);
    border-bottom: 1px solid #c3a970;
  }

  .site-nav.open {
    display: grid;
  }

  .brand-sign {
    display: none;
  }

  .nav-group {
    display: grid;
    gap: 0;
  }

  .nav-right {
    justify-content: stretch;
  }

  .nav-group a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(247, 240, 223, 0.14);
    font-size: 0.84rem;
    text-align: left;
  }

  .nav-group a::after {
    display: none;
  }

  .nav-group a.active {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.3rem;
  }

  .search-link {
    width: auto;
    color: inherit;
  }

  .search-link::before,
  .search-link::after {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy-panel {
    order: 2;
    padding: 2.2rem 1.25rem 2.5rem;
    box-shadow: none;
  }

  .hero-copy-panel::after {
    display: none;
  }

  .hero-photo {
    min-height: 285px;
  }

  .event-tools {
    grid-template-columns: 1fr;
  }

  .toolbar {
    justify-content: flex-start;
  }

  .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-grid,
  .category-grid,
  .board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ink-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .header-inner,
  .paper-section,
  .footer-inner {
    width: min(100% - 1rem, var(--max));
  }

  .hero-photo {
    min-height: 205px;
  }

  .hero-copy-panel {
    padding: 1.65rem 1rem 1.9rem;
  }

  h1 {
    font-size: clamp(2.4rem, 12vw, 3.25rem);
  }

  .hero-copy-panel > p:not(.kicker) {
    margin: 0.7rem 0 1rem;
    line-height: 1.42;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }

  .hero-actions .button {
    width: 100%;
    padding-inline: 0.55rem;
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .live-strip-inner {
    gap: 0.38rem;
    min-height: 35px;
    padding: 0.38rem 0.45rem;
    font-size: 0.76rem;
  }

  .live-strip-label {
    font-size: 0.68rem;
  }

  .live-strip-divider {
    font-size: 0.56rem;
  }

  .live-date-long,
  .live-calendar-icon,
  .live-weather-condition,
  .live-weather-feels {
    display: none;
  }

  .live-date-short {
    display: inline;
  }

  .live-strip-icon,
  .live-weather-icon svg {
    width: 13px;
    height: 13px;
  }

  .section-title-row {
    align-items: flex-start;
    gap: 0.5rem;
  }

  .section-title-row h2 {
    font-size: 1.05rem;
  }

  .section-title-row > a,
  .text-button {
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .paper-section {
    padding-block: 1.9rem;
  }

  .featured-section {
    padding-top: 1.35rem;
  }

  .event-tools {
    gap: 0.65rem;
    margin-bottom: 1.2rem;
  }

  .search-panel {
    display: none;
  }

  .search-panel input {
    border-radius: 4px 0 0 4px;
  }

  .search-panel button {
    margin-top: 0;
    padding-inline: 0.75rem;
    border-radius: 0 4px 4px 0;
    font-size: 0.72rem;
  }

  .toolbar {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .toolbar::-webkit-scrollbar,
  .story-grid::-webkit-scrollbar {
    display: none;
  }

  .chip {
    flex: 0 0 auto;
  }

  .event-grid,
  .story-grid,
  .category-grid,
  .board-grid,
  .day-grid,
  .footer-inner,
  .form-row,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .event-image {
    height: 160px;
  }

  .event-grid {
    gap: 1.1rem;
  }

  .stories-section {
    padding-top: 1.9rem;
  }

  .story-grid {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    margin-inline: -0.5rem;
    padding: 0.1rem 0.5rem 0.7rem;
    scroll-padding-left: 0.5rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .story-card {
    flex: 0 0 76%;
    scroll-snap-align: start;
  }

  .story-card:first-child {
    flex-basis: 86%;
  }

  .story-card img {
    height: 145px;
  }

  .about-card {
    min-height: 205px;
    margin-top: 0.6rem;
  }

  .about-card > div {
    max-width: 100%;
  }

  .action-band {
    align-items: stretch;
    flex-direction: column;
  }

  .action-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem 0.9rem;
    padding-block: 1.6rem;
  }

  .footer-brand,
  .footer-signup {
    grid-column: 1 / -1;
  }

  .footer-brand {
    grid-template-columns: 84px 1fr;
    gap: 0.8rem;
  }

  .footer-brand img {
    width: 84px;
  }

  .footer-signup > div {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .footer-signup input {
    border-radius: 3px 0 0 3px;
  }

  .footer-signup button {
    margin-top: 0;
    border-radius: 0 3px 3px 0;
  }
}
