:root {
  --navy: #14213d;
  --navy-deep: #0d1730;
  --cream: #f4eedf;
  --cream-2: #e9dfc7;
  --red: #b23a48;
  --red-dark: #8f2b38;
  --red-light: #e8909a;
  --muted: #56607a;
  --line: rgba(20, 33, 61, 0.2);
  --line-light: rgba(244, 238, 223, 0.45);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font: 400 1.125rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-variation-settings: "opsz" 144;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
}

h3 {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 600;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--cream);
  color: var(--navy);
  padding: 12px 18px;
  font-weight: 600;
}

.skip:focus {
  top: 16px;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Masthead (desktop, over hero) ---------- */

.masthead {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  max-width: 1680px;
  margin-inline: auto;
  padding: 40px var(--gutter) 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(32px, 4.5vw, 110px);
  align-items: start;
  color: var(--cream);
}

.masthead__meta {
  margin: 0 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-light);
  font-size: 1.125rem;
}

.masthead__side--right .masthead__meta {
  text-align: right;
}

.masthead__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.nav-link {
  display: inline-block;
  padding: 6px 0 14px;
  background: none;
  border: 0;
  color: inherit;
  font: 600 clamp(0.8rem, 0.95vw, 0.95rem)/1 var(--sans);
  letter-spacing: 0.17em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-position: 0 calc(100% - 6px);
  background-repeat: no-repeat;
  transition: background-size 0.25s ease;
}

.nav-link:hover,
.nav-link[aria-current="page"],
.nav-link.is-current {
  background-size: calc(100% - 0.2em) 1px;
}

.nav-sub-toggle::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-4px) rotate(45deg);
}

.has-sub {
  position: relative;
}

.sub {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 5;
  min-width: 230px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--cream);
  color: var(--navy);
  box-shadow: 0 18px 40px rgba(13, 23, 48, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.has-sub:hover .sub,
.has-sub:focus-within .sub,
.has-sub.is-open .sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.sub a {
  display: block;
  padding: 12px 22px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
}

.sub a:hover,
.sub a[aria-current="page"] {
  background: var(--cream-2);
}

/* ---------- Brand ---------- */

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
}

.brand__mark {
  width: 58px;
  height: 58px;
  margin-bottom: 6px;
}

.brand__name {
  font: 700 2.05rem/0.92 var(--serif);
  font-variation-settings: "opsz" 72;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

/* ---------- Compact bar (scrolled desktop + all mobile) ---------- */

.bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px var(--gutter);
  background: var(--navy);
  color: var(--cream);
  transform: translateY(-100%);
  transition: transform 0.35s ease, background-color 0.3s;
}

.is-scrolled .bar {
  transform: none;
  box-shadow: 0 1px 0 var(--line-light);
}

.bar__brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 700 clamp(1rem, 4.2vw, 1.2rem)/1 var(--serif);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.bar__brand svg {
  width: 34px;
  height: 34px;
}

.bar__nav > ul {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.bar .nav-link {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  padding: 10px 0;
  background-position: 0 calc(100% - 4px);
}

.bar__home {
  display: none;
}

.bar__toggle {
  position: relative;
  z-index: 2;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  background: none;
  border: 0;
  color: inherit;
  font: 600 0.85rem/1 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}

.bar__toggle-icon {
  position: relative;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: background-color 0.2s;
}

.bar__toggle-icon::before,
.bar__toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s;
}

.bar__toggle-icon::before {
  top: -7px;
}

.bar__toggle-icon::after {
  top: 7px;
}

.bar.is-open .bar__toggle-icon {
  background: transparent;
}

.bar.is-open .bar__toggle-icon::before {
  transform: translateY(7px) rotate(45deg);
}

.bar.is-open .bar__toggle-icon::after {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1180px) {
  .masthead {
    display: none;
  }

  .bar {
    transform: none;
    background: transparent;
  }

  .is-scrolled .bar,
  .bar.is-open {
    background: var(--navy);
  }

  .bar__toggle {
    display: inline-flex;
  }

  .bar__nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: none;
    padding: 96px var(--gutter) 48px;
    background: var(--navy);
    overflow-y: auto;
  }

  .bar.is-open .bar__nav {
    display: block;
  }

  .bar__nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .bar__home {
    display: list-item;
  }

  .bar .nav-link {
    display: block;
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-light);
    background-image: none;
    font: 600 1.75rem/1.2 var(--serif);
    letter-spacing: 0;
    text-transform: none;
    text-align: left;
  }

  .bar .nav-link[aria-current="page"] {
    color: var(--red-light);
  }

  .bar .nav-sub-toggle {
    pointer-events: none;
    border-bottom: 0;
    padding-bottom: 4px;
  }

  .bar .nav-sub-toggle::after {
    display: none;
  }

  .bar .sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: none;
    color: inherit;
    box-shadow: none;
    padding: 0 0 12px 20px;
    border-bottom: 1px solid var(--line-light);
  }

  .bar .sub a {
    padding: 10px 0;
    font-size: 1.15rem;
  }

  .bar .sub a:hover,
  .bar .sub a[aria-current="page"] {
    background: none;
    color: var(--red-light);
  }
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 30px;
  border: 2px solid currentColor;
  background: transparent;
  color: inherit;
  font: 600 0.95rem/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn--light {
  color: var(--cream);
}

.btn--light:hover {
  background: var(--cream);
  color: var(--navy);
  border-color: var(--cream);
}

.btn--dark {
  color: var(--navy);
}

.btn--dark:hover {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.btn--red {
  background: var(--red);
  border-color: var(--red);
  color: var(--cream);
}

.btn--red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: text-decoration-color 0.2s, color 0.2s;
}

.link:hover {
  color: var(--red);
}

.section--navy .link:hover,
.statement--navy .link:hover {
  color: var(--red-light);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 200px var(--gutter) 120px;
  overflow: hidden;
  background: var(--navy);
  color: var(--cream);
  text-align: center;
}

.hero__media,
.page-head__media {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(244, 238, 223, 0.035) 0 1px, transparent 1px 22px),
    radial-gradient(ellipse at 50% 45%, #22335e 0%, var(--navy) 45%, var(--navy-deep) 100%);
}

.page-head__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s linear;
}

.hero__video.is-active {
  opacity: 1;
}

.hero__video.is-front {
  z-index: 1;
}

.hero__media::after {
  z-index: 2;
}

.hero__media::after,
.page-head__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 23, 48, 0.55);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1500px;
}

.hero__kicker {
  margin: 0 0 0.35em;
  font: 600 clamp(1rem, 1.6vw, 1.5rem)/1 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__title {
  margin: 0;
  font-size: clamp(3.4rem, 9.6vw, 9.5rem);
  font-weight: 700;
  font-variation-settings: "opsz" 96;
  line-height: 0.95;
  letter-spacing: -0.025em;
}

.hero__tagline {
  margin: 0.7em 0 1.9em;
  font: italic 400 clamp(1.2rem, 2vw, 1.75rem)/1.3 var(--serif);
}

@media (prefers-reduced-motion: no-preference) {
  .hero__content > * {
    opacity: 0;
    animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  }

  .hero__content > :nth-child(2) {
    animation-delay: 0.12s;
  }

  .hero__content > :nth-child(3) {
    animation-delay: 0.45s;
  }

  .hero__content > :nth-child(4) {
    animation-delay: 0.6s;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Inner page header ---------- */

.page-head {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 62vh;
  padding: 270px var(--gutter) 96px;
  overflow: hidden;
  background: var(--navy);
  color: var(--cream);
  text-align: center;
}

.page-head__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-inline: auto;
}

.page-head h1 {
  margin-bottom: 0.3em;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.page-head p {
  max-width: 54ch;
  margin: 0 auto;
  font: 400 clamp(1.1rem, 1.6vw, 1.3rem)/1.55 var(--serif);
}

@media (max-width: 1180px) {
  .hero {
    padding-top: 130px;
  }

  .page-head {
    min-height: 0;
    padding-top: 150px;
    padding-bottom: 56px;
  }

}

/* ---------- Sections ---------- */

.section {
  padding-block: clamp(72px, 10vw, 140px);
}

.section--alt {
  background: var(--cream-2);
}

.section--navy {
  background: var(--navy);
  color: var(--cream);
}

.section__intro {
  max-width: 60ch;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section__intro p {
  color: var(--muted);
}

.section--navy .section__intro p {
  color: rgba(244, 238, 223, 0.8);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.split > div > p {
  max-width: 52ch;
}

.split--top {
  align-items: start;
}

@media (max-width: 820px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split--reverse > :first-child {
    order: 2;
  }
}

/* ---------- Mission & vision ---------- */

.statement {
  padding-block: clamp(88px, 12vw, 168px);
}

.statement--navy {
  background: var(--navy);
  color: var(--cream);
}

.statement__grid {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 3.4fr;
  gap: clamp(28px, 5vw, 88px);
  align-items: start;
}

.statement__label {
  margin: 0;
  padding-top: 18px;
  border-top: 2px solid var(--red);
  color: var(--red);
  font: italic 500 1.4rem/1.2 var(--serif);
  letter-spacing: 0;
}

.statement--navy .statement__label {
  border-color: var(--red-light);
  color: var(--red-light);
}

.statement__text {
  margin: 0;
  max-width: 30ch;
  font: 400 clamp(1.75rem, 3.4vw, 3rem)/1.22 var(--serif);
  font-variation-settings: "opsz" 72;
  letter-spacing: -0.012em;
}

@media (max-width: 720px) {
  .statement__grid {
    grid-template-columns: 1fr;
  }

  .statement__label {
    max-width: 180px;
  }
}

/* ---------- Facts / countdown ---------- */

.facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 28px;
  margin: 0 0 32px;
  padding: 20px 0;
  border-block: 1px solid var(--line);
}

.facts dt {
  color: var(--muted);
}

.facts dd {
  margin: 0;
  font-weight: 500;
}

.countdown {
  display: flex;
  gap: 10px;
  margin: 0;
}

.countdown div {
  min-width: 88px;
  padding: 14px 10px 10px;
  border: 1px solid var(--line);
  text-align: center;
}

.countdown span {
  display: block;
  font: 600 2.4rem/1 var(--serif);
  font-variant-numeric: tabular-nums;
}

.countdown small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.countdown-label {
  margin: 0 0 10px;
  color: var(--muted);
}

/* ---------- Take-part paths ---------- */

.paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.path {
  padding: 36px clamp(20px, 3vw, 40px) 8px 0;
}

.path + .path {
  padding-left: clamp(20px, 3vw, 40px);
  border-left: 1px solid var(--line);
}

.path p {
  color: var(--muted);
}

@media (max-width: 820px) {
  .paths {
    grid-template-columns: 1fr;
  }

  .path,
  .path + .path {
    padding: 28px 0;
    border-left: 0;
  }

  .path + .path {
    border-top: 1px solid var(--line);
  }
}

/* ---------- Lists: numbered steps, timeline, schedule ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding-top: 20px;
  border-top: 2px solid var(--navy);
}

.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font: 600 2.6rem/1 var(--serif);
}

.steps h3 {
  font-size: 1.4rem;
}

.steps p {
  color: var(--muted);
  margin: 0;
}

@media (max-width: 820px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.timeline,
.schedule {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li,
.schedule li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.section--navy .timeline li,
.section--navy .schedule li {
  border-color: var(--line-light);
}

.timeline__when,
.schedule__when {
  color: var(--red);
  font: 600 1.5rem/1.2 var(--serif);
}

.section--navy .schedule__when {
  color: var(--red-light);
}

.timeline h3,
.schedule h3 {
  margin-bottom: 0.25em;
  font-size: 1.35rem;
}

.timeline p,
.schedule p {
  margin: 0;
  color: var(--muted);
}

.section--navy .schedule p {
  color: rgba(244, 238, 223, 0.78);
}

@media (max-width: 600px) {
  .timeline li,
  .schedule li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* ---------- Definition list (feature points) ---------- */

.points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  margin: 0;
}

.points div {
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
}

.points dt {
  margin-bottom: 10px;
  font: 600 1.45rem/1.2 var(--serif);
}

.points dd {
  margin: 0;
  color: rgba(244, 238, 223, 0.8);
}

@media (max-width: 820px) {
  .points {
    grid-template-columns: 1fr;
  }
}

/* ---------- Upcoming shows ---------- */

.shows {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.show {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.show__date {
  text-align: center;
  line-height: 1;
}

.show__day {
  display: block;
  font: 600 3.6rem/1 var(--serif);
}

.show__month {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.show h3 {
  margin-bottom: 0.3em;
}

.show p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 760px) {
  .show {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .show__date {
    display: flex;
    align-items: baseline;
    gap: 10px;
    text-align: left;
  }

  .show__day {
    font-size: 2.4rem;
  }
}

.columns-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
}

.columns-3 ul {
  margin: 0;
  padding-left: 1.1em;
}

.columns-3 li + li {
  margin-top: 6px;
}

@media (max-width: 820px) {
  .columns-3 {
    grid-template-columns: 1fr;
  }
}

.empty {
  padding: 40px;
  border: 1px dashed var(--line);
  color: var(--muted);
  text-align: center;
}

/* ---------- Breeds ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.filter {
  padding: 11px 20px;
  border: 1px solid var(--navy);
  background: transparent;
  color: var(--navy);
  font: 500 1rem/1 var(--sans);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.filter:hover {
  background: var(--cream-2);
}

.filter[aria-pressed="true"] {
  background: var(--navy);
  color: var(--cream);
}

.filter-note {
  min-height: 1.6em;
  margin-bottom: 28px;
  color: var(--muted);
}

.breeds {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  list-style: none;
  background: var(--line);
}

.breed {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 22px 20px;
  background: var(--cream);
}

.breed[hidden] {
  display: none;
}

.breed__code {
  color: var(--red);
  font: 600 0.9rem/1 var(--sans);
  letter-spacing: 0.14em;
}

.breed__name {
  font: 600 1.3rem/1.2 var(--serif);
}

.breed__cat {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Membership tiers ---------- */

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.tier {
  display: flex;
  flex-direction: column;
  padding: 40px clamp(20px, 3vw, 40px);
}

.tier + .tier {
  border-left: 1px solid var(--line);
}

.tier--featured {
  background: var(--navy);
  color: var(--cream);
}

.tier__price {
  margin: 0 0 20px;
  font: 600 3rem/1 var(--serif);
}

.tier__price small {
  font: 400 1rem var(--sans);
  opacity: 0.75;
}

.tier ul {
  flex: 1;
  margin: 0 0 28px;
  padding-left: 1.1em;
}

.tier li + li {
  margin-top: 8px;
}

@media (max-width: 900px) {
  .tiers {
    grid-template-columns: 1fr;
  }

  .tier + .tier {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 820px;
  border-bottom: 1px solid var(--line);
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 22px 48px 22px 0;
  font: 600 1.3rem/1.3 var(--serif);
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--red);
  font: 400 2rem/1 var(--sans);
  transition: transform 0.25s;
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq details p {
  max-width: 64ch;
  padding-bottom: 12px;
  color: var(--muted);
}

/* ---------- Forms ---------- */

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

@media (max-width: 900px) {
  .form-layout {
    grid-template-columns: 1fr;
  }
}

.form fieldset {
  margin: 0 0 40px;
  padding: 0;
  border: 0;
}

.form legend {
  width: 100%;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font: 600 1.6rem/1.2 var(--serif);
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}

.field--full {
  grid-column: 1 / -1;
}

@media (max-width: 600px) {
  .fields {
    grid-template-columns: 1fr;
  }
}

.field label,
.field .label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.field .hint {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.req {
  color: var(--red);
}

.form input:not([type="checkbox"]):not([type="radio"]),
.form select,
.form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(20, 33, 61, 0.45);
  border-radius: 0;
  background: #fbf8f1;
  color: var(--navy);
  font: 400 1.05rem/1.4 var(--sans);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form select {
  appearance: none;
  padding-right: 40px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--navy) 50%),
    linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(20, 33, 61, 0.18);
}

.form input:user-invalid,
.form select:user-invalid,
.form textarea:user-invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(178, 58, 72, 0.15);
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.field .choice {
  display: flex;
  margin: 0;
  font-weight: 400;
}

.choice + .choice {
  margin-top: 10px;
}

.choice:hover {
  border-color: var(--navy);
}

.choice:has(input:checked) {
  border-color: var(--navy);
  background: #fbf8f1;
}

.choice input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--red);
}

.choice__text {
  flex: 1;
}

.choice__price {
  font-weight: 600;
  white-space: nowrap;
}

.choice small {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.qty {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}

.qty input {
  max-width: 100px;
}

.cat {
  position: relative;
  padding: 28px !important;
  border: 1px solid var(--line) !important;
  background: #fbf8f1;
}

.cat legend {
  float: left;
  width: auto;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}

.cat .fields {
  clear: both;
}

.cat__remove {
  float: right;
  padding: 6px 0;
  background: none;
  border: 0;
  color: var(--red);
  font: 500 0.95rem var(--sans);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.cat:only-of-type .cat__remove {
  display: none;
}

.add-cat {
  margin: -16px 0 40px;
}

.form-status {
  margin-top: 18px;
  font-weight: 500;
}

.form-status.is-error {
  color: var(--red);
}

.form-success {
  padding: 40px;
  border: 1px solid var(--navy);
  background: #fbf8f1;
}

.form-success h2 {
  font-size: 2rem;
}

/* ---------- Show page: mode switch, rules, tickets ---------- */

.mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.mode {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 28px;
  border: 1px solid var(--navy);
  background: transparent;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.mode:hover {
  background: var(--cream-2);
}

.mode[aria-pressed="true"] {
  background: var(--navy);
  color: var(--cream);
}

.mode__title {
  font: 600 1.6rem/1.15 var(--serif);
}

.mode__text {
  font: 400 1rem/1.45 var(--sans);
  opacity: 0.85;
}

@media (max-width: 600px) {
  .mode-switch {
    grid-template-columns: 1fr;
  }
}

.rules {
  margin-bottom: clamp(48px, 7vw, 80px);
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  background: #fbf8f1;
}

.rules h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.rules__lead {
  max-width: 62ch;
  color: var(--muted);
}

.rules__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 40px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.rules__list li {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 1.02rem;
  line-height: 1.55;
}

.rules__list strong {
  display: block;
  margin-bottom: 4px;
  font: 600 1.15rem/1.3 var(--serif);
}

@media (max-width: 760px) {
  .rules__list {
    grid-template-columns: 1fr;
  }
}

.rules__more {
  border-block: 1px solid var(--line);
}

.rules__more summary {
  padding: 16px 0;
  font-weight: 600;
  cursor: pointer;
}

.rules__more ul {
  margin: 0 0 18px;
  padding-left: 1.2em;
  columns: 2 280px;
  column-gap: 40px;
}

.rules__more li {
  margin-bottom: 6px;
  break-inside: avoid;
}

.rules__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 28px;
}

.ticket {
  display: grid;
  grid-template-columns: 1fr auto 96px;
  gap: 20px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.ticket:last-child {
  border-bottom: 1px solid var(--line);
}

.ticket label {
  font-weight: 500;
}

.ticket small {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 400;
}

.ticket__price {
  font: 600 1.3rem var(--serif);
}

.summary {
  position: sticky;
  top: 96px;
  padding: 32px;
  background: var(--navy);
  color: var(--cream);
}

.summary h2 {
  font-size: 1.75rem;
}

.summary dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 16px;
  margin: 0 0 20px;
}

.summary dd {
  margin: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
  font: 600 1.25rem var(--serif);
}

.summary__total output {
  font-size: 2.2rem;
}

.summary p {
  margin: 18px 0 0;
  color: rgba(244, 238, 223, 0.75);
  font-size: 0.95rem;
}

.aside-block + .aside-block {
  margin-top: 36px;
}

.aside-block h2 {
  font-size: 1.6rem;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.contact-list span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */

.footer {
  padding: clamp(64px, 8vw, 100px) 0 32px;
  background: var(--navy-deep);
  color: var(--cream);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer .brand {
  align-items: flex-start;
  text-align: left;
}

.footer .brand__name {
  font-size: 1.7rem;
}

.footer__tagline {
  margin: 14px 0 0;
  font: italic 400 1.1rem var(--serif);
  opacity: 0.8;
}

.footer h2 {
  margin-bottom: 14px;
  font-size: 1.2rem;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer li + li {
  margin-top: 8px;
}

.footer ul a {
  text-decoration: none;
  opacity: 0.82;
}

.footer ul a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  font-size: 0.92rem;
  opacity: 0.75;
}

.footer__base p {
  margin: 0;
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__about {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

.note {
  margin: 14px 0 0;
  padding: 12px 16px;
  border-left: 3px solid var(--red);
  background: #fbf8f1;
  font-size: 1rem;
}

.photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 480px) {
  .countdown div {
    min-width: 0;
    flex: 1;
  }

  .countdown span {
    font-size: 2rem;
  }
}

/* ---------- Past shows ---------- */

.notice {
  margin: 0 0 clamp(32px, 5vw, 56px);
}

.past-show__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.past-show__meta {
  color: var(--muted);
}

.past-show__title {
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font: 600 1.6rem/1.2 var(--serif);
}

@media (max-width: 760px) {
  .past-show__head {
    grid-template-columns: 1fr;
  }
}

.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.highlight {
  margin: 0;
}

.highlight img,
.highlight video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--navy);
}

.highlight figcaption {
  padding-top: 10px;
  font-size: 1rem;
}

.highlight figcaption strong {
  display: block;
  font: 600 1.15rem/1.3 var(--serif);
}

.highlight figcaption span {
  color: var(--muted);
}

/* ---------- Featured past show ---------- */

.past-show__banner {
  margin: 0 0 clamp(28px, 4vw, 44px);
  box-shadow: 0 24px 60px rgba(13, 23, 48, 0.25);
}

.past-show__banner img {
  display: block;
  width: 100%;
  height: auto;
}

.past-show__intro {
  max-width: 64ch;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.past-show__intro h3 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.highlights {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  align-items: start;
}

.highlight--featured {
  grid-column: 1 / -1;
  margin-bottom: 16px;
}

.highlight--featured video {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}

.highlight--featured figcaption strong {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.highlight--featured figcaption span {
  font-size: 1.1rem;
}

.highlight:not(.highlight--featured) video {
  background: #000;
}

/* ---------- Sponsor & federation band ---------- */

.partners {
  padding-block: clamp(48px, 7vw, 80px);
  border-top: 1px solid var(--line);
  background: #fff;
}

.partners__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(40px, 10vw, 140px);
}

.partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.partner__label {
  margin: 0 0 18px;
  color: var(--muted);
  font: italic 500 1.15rem/1.2 var(--serif);
}

.partner__logo {
  width: auto;
  height: clamp(120px, 14vw, 170px);
}

.partner__name {
  margin: 14px 0 0;
  font-weight: 500;
}

/* ---------- Board of directors ---------- */

.board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-block: 1px solid var(--line);
}

.board li {
  padding: 32px clamp(20px, 3vw, 40px);
}

.board li + li {
  border-left: 1px solid var(--line);
}

.board__role {
  margin: 0 0 8px;
  color: var(--red);
  font: italic 500 1.15rem/1.2 var(--serif);
}

.board h3 {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}

@media (max-width: 720px) {
  .board {
    grid-template-columns: 1fr;
  }

  .board li {
    padding-inline: 0;
  }

  .board li + li {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

.sponsors {
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: clamp(32px, 5vw, 48px);
  border-top: 1px solid var(--line);
  text-align: center;
}

.sponsors__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.sponsor__logo {
  width: auto;
  max-width: 220px;
  height: 64px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.sponsor__logo--round {
  width: 110px;
  height: 110px;
  max-width: none;
  border-radius: 50%;
}

.sponsor__logo--tall {
  height: 104px;
  max-width: 190px;
}

/* ---------- Official logo ---------- */

.brand__logo {
  display: block;
  width: auto;
  height: clamp(110px, 9vw, 140px);
}

.bar__brand img {
  width: auto;
  height: 34px;
}

.footer .brand__logo {
  height: 120px;
}

.logo-feature {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  margin-inline: auto;
}

.page-head__media::after {
  background: linear-gradient(
    180deg,
    rgba(13, 23, 48, 0.85) 0%,
    rgba(13, 23, 48, 0.6) 35%,
    rgba(13, 23, 48, 0.6) 65%,
    rgba(13, 23, 48, 0.8) 100%
  );
}

.single > div {
  max-width: 64ch;
}

/* ---------- EMS lookup ---------- */

.ems {
  display: flex;
  gap: 12px;
  max-width: 620px;
}

.ems__input {
  flex: 1;
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid var(--line-light);
  border-radius: 0;
  background: var(--cream);
  color: var(--navy);
  font: 500 1.2rem/1.2 var(--sans);
  letter-spacing: 0.04em;
}

.ems__input:focus {
  outline: 2px solid var(--red-light);
  outline-offset: 2px;
}

.ems__examples {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  color: rgba(244, 238, 223, 0.75);
  font-size: 0.95rem;
}

.ems__example {
  padding: 6px 12px;
  border: 1px solid var(--line-light);
  background: transparent;
  color: var(--cream);
  font: 500 0.95rem var(--sans);
  cursor: pointer;
}

.ems__example:hover {
  background: rgba(244, 238, 223, 0.12);
}

.ems__result:not(:empty) {
  margin-top: 32px;
}

.ems__card {
  max-width: 720px;
  padding: clamp(24px, 4vw, 40px);
  border-top: 3px solid var(--red);
  background: var(--cream);
  color: var(--navy);
}

.ems__code {
  margin: 0 0 8px;
  color: var(--red);
  font: 600 1rem/1 var(--sans);
  letter-spacing: 0.08em;
}

.ems__breed {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.ems__group {
  margin: 4px 0 16px;
  color: var(--muted);
}

.ems__summary {
  margin: 0 0 20px;
  font: 500 1.35rem/1.35 var(--serif);
}

.ems__table {
  width: 100%;
  border-collapse: collapse;
}

.ems__table td {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  vertical-align: top;
}

.ems__table td:first-child {
  width: 90px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.ems__warn,
.ems__error {
  margin: 16px 0 0;
  padding: 10px 14px;
  border-left: 3px solid var(--red);
  background: #fbf8f1;
  color: var(--navy);
}

.ems__error {
  max-width: 620px;
}

.ems__note {
  margin: 28px 0 0;
  color: rgba(244, 238, 223, 0.7);
  font-size: 0.95rem;
}

@media (max-width: 520px) {
  .ems {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .bar__toggle-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

.photo--natural {
  aspect-ratio: auto;
  height: auto;
}

.photo--portrait {
  aspect-ratio: 4 / 5;
  max-height: 620px;
  object-position: center 30%;
}

.tier__note {
  margin: -12px 0 24px;
  font-size: 0.95rem;
  opacity: 0.8;
}

/* ---------- Payment result pages ---------- */

.page-head--short {
  min-height: 46vh;
}

.result-list {
  margin: 0 0 24px;
  padding-left: 1.2em;
}

.result-list li + li {
  margin-top: 8px;
}
