:root {
  --stompers-ink: #191714;
  --stompers-oxblood: #711f24;
  --stompers-deep-oxblood: #3c1115;
  --stompers-vellum: #f0e5c9;
  --stompers-parchment: #fbf5e8;
  --stompers-verdigris: #315c54;
  --stompers-gold: #b38b42;
  --stompers-rule: rgba(91, 68, 40, 0.32);
  --stompers-shadow: 0 18px 55px rgba(25, 23, 20, 0.18);
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--stompers-parchment);
  background-image:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,.72), transparent 30rem),
    repeating-linear-gradient(0deg, rgba(74,51,25,.018) 0, rgba(74,51,25,.018) 1px, transparent 1px, transparent 4px);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.14'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

::selection { color: var(--stompers-parchment); background: var(--stompers-oxblood); }

a { text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--stompers-gold);
  outline-offset: 4px;
}

.wp-site-blocks { overflow: clip; }

.stompers-masthead {
  position: relative;
  z-index: 40;
  border-bottom: 1px solid rgba(179,139,66,.55);
  box-shadow: 0 8px 30px rgba(0,0,0,.15);
}

.stompers-masthead::after,
.stompers-footer::before {
  content: "";
  display: block;
  height: 5px;
  background: repeating-linear-gradient(90deg, var(--stompers-gold) 0 12px, transparent 12px 20px, var(--stompers-oxblood) 20px 32px, transparent 32px 40px);
  opacity: .75;
}

.stompers-brand .wp-block-site-title a { text-decoration: none; }
.stompers-brand .wp-block-site-tagline { margin-block-start: .2rem; }

.stompers-nav a { position: relative; text-decoration: none; }
.stompers-nav a::after {
  content: "";
  position: absolute;
  left: 50%; right: 50%; bottom: -.5rem;
  height: 1px;
  background: var(--stompers-gold);
  transition: left .2s ease, right .2s ease;
}
.stompers-nav a:hover::after,
.stompers-nav a[aria-current="page"]::after { left: 0; right: 0; }

.stompers-proclamation {
  position: relative;
  isolation: isolate;
  min-height: min(820px, 86vh);
  border-bottom: 1px solid var(--stompers-gold);
}

.stompers-proclamation::before {
  content: "";
  position: absolute;
  inset: clamp(1rem,3vw,2.5rem);
  z-index: -1;
  border: 1px solid rgba(179,139,66,.65);
  outline: 1px solid rgba(179,139,66,.25);
  outline-offset: 8px;
  pointer-events: none;
}

.stompers-crest {
  filter: drop-shadow(0 12px 20px rgba(0,0,0,.25));
  animation: stompers-arrive .85s cubic-bezier(.2,.75,.2,1) both;
}

.stompers-kicker {
  font-family: var(--wp--preset--font-family--ledger-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  line-height: 1.4;
  text-transform: uppercase;
}

.stompers-title {
  text-wrap: balance;
  text-shadow: 0 2px 0 rgba(255,255,255,.08);
}

.stompers-intro {
  max-width: 48rem;
  font-family: var(--wp--preset--font-family--court-display);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.48;
  text-wrap: pretty;
}

.stompers-flourish {
  width: min(600px, 86vw);
  height: auto;
  margin-inline: auto;
}

.stompers-wax-button .wp-block-button__link {
  position: relative;
  box-shadow: var(--wp--preset--shadow--wax-seal);
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.stompers-wax-button .wp-block-button__link:hover {
  background: var(--stompers-deep-oxblood);
  box-shadow: 0 12px 24px rgba(60,17,21,.34);
  transform: translateY(-2px);
}

.stompers-section-title { text-wrap: balance; }
.stompers-section-title::after {
  content: "";
  display: block;
  width: 5.5rem;
  height: 2px;
  margin-top: .75rem;
  background: linear-gradient(90deg, var(--stompers-gold), transparent);
}
.has-text-align-center.stompers-section-title::after { margin-inline: auto; background: var(--stompers-gold); }

.stompers-card {
  position: relative;
  height: 100%;
  border: 1px solid var(--stompers-rule);
  background: rgba(251,245,232,.76);
  box-shadow: 0 12px 35px rgba(25,23,20,.09);
  transition: transform .22s ease, box-shadow .22s ease;
}
.stompers-card::before {
  content: "";
  position: absolute;
  inset: .45rem;
  border: 1px solid rgba(179,139,66,.32);
  pointer-events: none;
}
.stompers-card:hover { transform: translateY(-4px); box-shadow: var(--stompers-shadow); }
.stompers-card > * { position: relative; z-index: 1; }

.stompers-portrait img {
  filter: sepia(.16) saturate(.88) contrast(1.04);
  transition: filter .25s ease, transform .45s ease;
}
.stompers-portrait { overflow: hidden; }
.stompers-portrait:hover img { filter: none; transform: scale(1.025); }

.stompers-portrait-placeholder {
  aspect-ratio: 3 / 4;
  margin-bottom: 1.5rem;
  border: 1px solid var(--stompers-gold);
}
.stompers-portrait-placeholder img { filter: drop-shadow(0 12px 24px rgba(0,0,0,.3)); }

.stompers-dropcap:first-letter {
  float: left;
  margin: .09em .12em 0 0;
  color: var(--stompers-oxblood);
  font-family: var(--wp--preset--font-family--court-display);
  font-size: 4.4em;
  font-weight: 700;
  line-height: .72;
}

.stompers-dark-court {
  position: relative;
  background-color: var(--stompers-ink);
  background-image:
    radial-gradient(circle at 80% 20%, rgba(49,92,84,.45), transparent 28rem),
    radial-gradient(circle at 15% 90%, rgba(113,31,36,.35), transparent 25rem);
}

.stompers-number {
  color: transparent;
  -webkit-text-stroke: 1px var(--stompers-gold);
  font-family: var(--wp--preset--font-family--court-display);
  font-size: clamp(3rem,7vw,6rem);
  line-height: .8;
}

.stompers-event {
  display: grid;
  grid-template-columns: minmax(5.5rem, .7fr) minmax(0, 3fr) auto;
  align-items: center;
  gap: clamp(1rem,3vw,2.5rem);
  padding-block: 1.4rem;
  border-top: 1px solid var(--stompers-rule);
}
.stompers-event:last-child { border-bottom: 1px solid var(--stompers-rule); }

.stompers-rule {
  height: 54px;
  border: 0;
  background: url('../images/flourish.svg') center / min(600px, 92vw) 54px no-repeat;
}

.stompers-folio {
  margin-block: clamp(2rem,5vw,5rem);
  border: 1px solid rgba(99,74,42,.33);
  background: rgba(251,245,232,.91);
  box-shadow: var(--stompers-shadow);
}

.stompers-folio > .wp-block-group__inner-container,
.stompers-folio:not(.wp-block-group) { padding: clamp(1.25rem,5vw,4.5rem); }

.stompers-post-list .wp-block-post {
  padding-block: clamp(1.5rem,4vw,3rem);
  border-top: 1px solid var(--stompers-rule);
}

.stompers-post-list .wp-block-post-title a { text-decoration: none; }

.stompers-footer { margin-block-start: 0; }
.stompers-colophon a { color: inherit; }

.wp-block-post-content :where(p, li) { text-wrap: pretty; }
.wp-block-post-featured-image img { object-fit: cover; }
.wp-block-query-pagination { border-top: 1px solid var(--stompers-rule); padding-top: 1.5rem; }

.wp-block-search__inside-wrapper,
.wp-block-post-comments-form input:not([type="submit"]),
.wp-block-post-comments-form textarea,
.wp-block-contact-form-7-contact-form-selector input,
.wp-block-contact-form-7-contact-form-selector textarea,
input[type="text"], input[type="email"], input[type="password"], textarea, select {
  border: 1px solid #75654f;
  border-radius: 0;
  background: rgba(255,255,255,.52);
  color: var(--stompers-ink);
  padding: .85rem 1rem;
  font: inherit;
}

@keyframes stompers-arrive {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 781px) {
  .stompers-masthead .wp-block-site-tagline { display: none; }
  .stompers-proclamation { min-height: auto; }
  .stompers-proclamation::before { inset: .7rem; outline-offset: 4px; }
  .stompers-event { grid-template-columns: 4.75rem 1fr; }
  .stompers-event > :last-child { grid-column: 2; justify-self: start; }
}

@media (max-width: 520px) {
  body { --wp--style--root--padding-left: 1rem; --wp--style--root--padding-right: 1rem; }
  .stompers-card:hover { transform: none; }
  .stompers-number { font-size: 3rem; }
}

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

@media print {
  body::before, .stompers-masthead, .stompers-footer { display: none; }
  body { background: white; color: black; }
  a { color: inherit; text-decoration: none; }
}
