:root {
  --ink: #071226;
  --navy: #172540;
  --blue: #203154;
  --gold: #9b805a;
  --orange: #f28a20;
  --paper: #ffffff;
  --soft: #f6f4f1;
  --muted: #5c6370;
  --line: #e7e2dc;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #050505;
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.38;
}

a {
  color: var(--blue);
  font-weight: 400;
}

strong,
b {
  font-weight: 400;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 16px clamp(18px, 6vw, 92px);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 156px;
  text-decoration: none;
  animation: logo-in 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes logo-in {
  from {
    opacity: 0;
    transform: translateX(-36px) scale(0.92);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-reveal {
  from {
    opacity: 0;
    transform: scale(1.035);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3.5vw, 54px);
  font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
  font-size: clamp(14px, 1.15vw, 20px);
  font-weight: 300;
  text-transform: uppercase;
}

.site-nav a {
  color: #969696;
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: #050505;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: #111d34;
}

.hero picture {
  display: block;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  animation: hero-reveal 1100ms ease-out both;
}

.section-wrap {
  width: min(1280px, calc(100% - 56px));
  margin: 0 auto;
}

.intro {
  padding: clamp(30px, 4.2vw, 56px) 0 18px;
  animation: rise-in 800ms 120ms ease-out both;
}

.intro p {
  max-width: 1180px;
  line-height: 1.32;
  margin-bottom: 8px;
}

h1,
h2 {
  margin: 0 0 14px;
  color: var(--blue);
  font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
  font-weight: 300;
  line-height: 1.14;
}

h1 {
  max-width: 900px;
  font-size: clamp(26px, 2.65vw, 39px);
}

h2 {
  font-size: clamp(24px, 2.8vw, 38px);
}

p {
  margin: 0 0 9px;
}

.event-band {
  margin: clamp(22px, 4vw, 44px) 0 clamp(38px, 6vw, 72px);
  padding: clamp(28px, 5vw, 58px) 0;
  background: linear-gradient(180deg, #fbfbfa, #ffffff);
  animation: rise-in 850ms 220ms ease-out both;
}

.event-band-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
  align-items: stretch;
}

.event-card {
  min-height: 360px;
  padding: clamp(28px, 3.8vw, 54px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(14, 27, 54, 0.08);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.event-card:hover {
  border-color: rgba(32, 49, 84, 0.22);
  box-shadow: 0 20px 42px rgba(14, 27, 54, 0.12);
  transform: translateY(-3px);
}

.event-card-date,
.event-card-place {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.event-card-date .event-icon,
.event-card-place .event-icon {
  margin-top: clamp(10px, 1vw, 18px);
}

.detail-kicker {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: clamp(30px, 3vw, 42px);
  font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
  font-weight: 300;
  line-height: 1;
}

.event-card p {
  margin-bottom: 10px;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.35;
}

.event-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(72px, 7vw, 94px);
  height: clamp(72px, 7vw, 94px);
  margin-bottom: clamp(22px, 3vw, 34px);
  color: var(--blue);
  background: radial-gradient(circle at 50% 45%, #ffffff, #f0efed);
  border-radius: 50%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.event-icon svg {
  width: 42%;
  height: 42%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail-line {
  display: block;
  width: min(150px, 42%);
  height: 1px;
  margin: 0 auto 24px;
  background: var(--line);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 12px 26px;
  color: var(--white);
  background: var(--blue);
  border: 0;
  border-radius: 4px;
  font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.1;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  background: #0f1b34;
  box-shadow: 0 10px 22px rgba(15, 27, 52, 0.18);
  transform: translateY(-1px) scale(1.015);
}

.button:active {
  transform: translateY(0) scale(0.995);
}

.button.ghost {
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--line);
}

.button.ghost:hover {
  color: var(--white);
  background: var(--blue);
}

.secondary {
  width: min(290px, 100%);
  margin-top: 20px;
}

.venue-panel {
  margin: 0;
  line-height: 0;
  display: grid;
  align-content: center;
  gap: 22px;
  padding: clamp(14px, 1.6vw, 20px);
  overflow: hidden;
  justify-items: stretch;
  text-align: center;
}

.venue-image {
  display: block;
  height: auto;
  max-height: 255px;
  width: 100%;
  object-fit: contain;
  background: #eef1f4;
  border-radius: 5px;
  box-shadow: none;
  transition:
    transform 260ms ease,
    box-shadow 260ms ease;
}

.venue-panel figcaption {
  margin: 0 0 4px;
  color: #050505;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.3;
}

.venue-image:hover {
  box-shadow: none;
  transform: scale(1.018);
}

.note {
  padding: 0 0 clamp(38px, 6vw, 72px);
  animation: rise-in 850ms 320ms ease-out both;
}

.note h2,
.section-heading h2 {
  color: #111;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 300;
  text-transform: none;
}

.contact-note {
  display: block;
  padding-top: clamp(4px, 1.5vw, 22px);
}

.contact-note-copy p {
  max-width: 980px;
  margin: 0;
  color: #050505;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.4;
}

.contact-note-copy a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-note-copy a:hover {
  color: #0f1b34;
}

.registration {
  padding: clamp(34px, 5vw, 62px) 0;
  color: #050505;
  background: var(--white);
  animation: rise-in 850ms 420ms ease-out both;
}

.registration h2 {
  color: var(--blue);
}

.registration p {
  color: #050505;
}

.registration-heading {
  margin-bottom: 12px;
  text-align: center;
}

.registration-heading h2,
.thanks-panel h2 {
  font-size: clamp(28px, 3vw, 46px);
}

.signup-form {
  display: grid;
  gap: 16px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field-row.three {
  grid-template-columns: 1fr 1fr 1fr;
}

label {
  display: grid;
  gap: 6px;
  font-size: 15px;
  font-weight: 400;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #e3e3e3;
  border-radius: 3px;
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(242, 138, 32, 0.45);
  background: #fff;
  border-color: rgba(32, 49, 84, 0.45);
}

.checkbox {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  font-weight: 400;
}

.checkbox input {
  width: 22px;
  min-height: 22px;
  margin-top: 7px;
}

.checkbox a {
  color: var(--blue);
}

.form-status,
.admin-status {
  margin: 0;
  color: #a01818;
  font-size: 15px;
  font-weight: 400;
}

.form-status {
  display: none;
  padding: 14px 16px;
  color: #fff;
  background: #b01818;
  border-left: 0;
}

.form-status.has-error {
  display: block;
  color: #fff;
}

.form-panel {
  padding: clamp(22px, 4vw, 40px);
  background: #f1f1f1;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend,
.fieldset-title {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0 0 8px;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

.choice-group {
  display: grid;
  gap: 8px;
}

.choice {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 8px;
  font-size: 16px;
  line-height: 1.32;
}

.choice input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.form-intro {
  margin: 0 0 22px;
  padding: 14px 18px;
  color: var(--blue);
  background: #fff;
  border-left: 3px solid var(--orange);
  font-size: 17px;
  line-height: 1.35;
}

.form-copy {
  max-width: 1120px;
  line-height: 1.38;
}

.required-note {
  justify-self: end;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

hr {
  width: 100%;
  margin: 14px 0;
  border: 0;
  border-top: 1px solid #d3d3d3;
}

.submit-button {
  justify-self: center;
  min-width: 210px;
  min-height: 74px;
  margin-top: 4px;
  font-size: 22px;
  text-transform: none;
}

.is-invalid input,
.is-invalid select,
.is-invalid textarea {
  border-color: #b01818;
  box-shadow: 0 0 0 2px rgba(176, 24, 24, 0.14);
}

.is-invalid legend,
.is-invalid > span,
.is-invalid label {
  color: #b01818;
}

fieldset.is-invalid {
  padding: 10px 12px;
  border: 1px solid #b01818;
  background: rgba(176, 24, 24, 0.06);
}

.choice.is-invalid {
  padding: 8px 10px;
  border: 1px solid #b01818;
  background: rgba(176, 24, 24, 0.06);
}

.thanks-panel {
  padding: clamp(34px, 6vw, 68px) 0;
  text-align: center;
}

.companion-fields {
  display: grid;
  gap: 16px;
  padding-top: 12px;
}

.thanks-panel p {
  font-size: clamp(18px, 2vw, 26px);
}

.section-heading {
  max-width: 940px;
  margin-bottom: 28px;
}

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

.access-panel {
  display: flex;
  align-items: end;
  gap: 16px;
  flex-wrap: wrap;
  margin: 20px 0 24px;
}

.access-panel label {
  min-width: min(330px, 100%);
}

.search-field {
  margin-left: auto;
}

.table-shell {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
}

table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.35;
}

th,
td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--blue);
  background: var(--soft);
  font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0;
}

.empty-row {
  color: var(--muted);
}

.is-hidden {
  display: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 6vw, 92px);
  color: var(--white);
  background: #071226;
  font-size: 14px;
}

.site-footer span:last-child {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--white);
}

.backend-page {
  background: var(--white);
}

.backend-internal {
  padding: clamp(42px, 6vw, 86px) 0;
}

.backend-internal h1 {
  font-size: clamp(34px, 4vw, 60px);
}

.backend-internal .table-shell {
  margin-top: 28px;
}

.backend-login-page .backend-internal {
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: 100vh;
  padding-top: clamp(42px, 6vw, 72px);
  text-align: center;
}

.backend-page .backend-internal:has(.backend-login) {
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: 100vh;
  padding-top: clamp(42px, 6vw, 72px);
  text-align: center;
}

.backend-login-page .backend-internal h1 {
  margin-bottom: clamp(26px, 3.2vw, 38px);
  font-size: clamp(18px, 1.8vw, 24px);
}

.backend-page .backend-internal:has(.backend-login) h1 {
  margin-bottom: clamp(26px, 3.2vw, 38px);
  font-size: clamp(18px, 1.8vw, 24px);
}

.backend-login {
  display: grid;
  justify-items: center;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.backend-login-copy {
  margin: 0 0 18px;
  font-size: 12px;
  line-height: 1.35;
}

.backend-password-row {
  display: grid;
  grid-template-columns: auto 260px;
  align-items: center;
  gap: 12px;
  width: auto;
  margin-bottom: 18px;
  font-size: 12px;
}

.backend-password-row input {
  width: 260px;
  min-height: 36px;
  background: #eaf1fb;
  border-radius: 0;
  font-size: 12px;
}

.backend-login-button {
  width: auto;
  min-height: 34px;
  padding: 7px 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  text-transform: none;
}

.backend-login .form-status {
  margin-top: 22px;
  width: min(520px, 100%);
  text-align: left;
}

@media (max-width: 940px) {
  body {
    font-size: 15px;
  }

  .site-header,
  .site-nav,
  .site-footer {
    flex-wrap: wrap;
  }

  .site-header {
    min-height: auto;
  }

  .brand {
    width: 128px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
  }

  .field-row,
  .field-row.three {
    grid-template-columns: 1fr;
  }

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

  .venue-panel {
    grid-column: 1 / -1;
    max-width: 680px;
    justify-self: center;
  }

  .event-card {
    min-height: 300px;
  }

  .venue-image {
    max-height: 320px;
  }

  .contact-note {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .section-wrap {
    width: min(100% - 24px, 1280px);
  }

  .site-header {
    padding: 14px;
  }

  .site-nav {
    display: flex;
    justify-content: space-between;
  }

  .intro {
    padding-top: 24px;
  }

  .event-band {
    margin: 26px 0 38px;
    padding: 24px 0;
  }

  .event-band-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .venue-panel {
    grid-column: auto;
    max-width: none;
  }

  .event-card {
    min-height: auto;
    padding: 28px 20px;
  }

  .venue-image {
    max-height: none;
  }

  .required-note {
    justify-self: start;
  }

  .form-panel {
    padding: 18px 14px;
  }

  .choice {
    font-size: 15px;
  }

  .button {
    width: 100%;
  }

  .access-panel {
    align-items: stretch;
  }

  .backend-login-page .backend-internal {
    padding-top: 42px;
  }

  .backend-page .backend-internal:has(.backend-login) {
    padding-top: 42px;
  }

  .backend-login-page .backend-internal h1 {
    margin-bottom: 48px;
  }

  .backend-page .backend-internal:has(.backend-login) h1 {
    margin-bottom: 48px;
  }

  .backend-password-row {
    grid-template-columns: 1fr;
    gap: 10px;
    width: min(100%, 420px);
    text-align: left;
  }

  .backend-password-row input {
    width: 100%;
  }

  .search-field {
    margin-left: 0;
  }
}

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