: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: "Source Sans 3", Arial, 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 650ms ease-out both;
}

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

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

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

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3.5vw, 54px);
  font-family: "Oswald", Arial, 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;
}

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

.intro {
  padding: clamp(30px, 4.2vw, 56px) 0 18px;
}

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

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

h1 {
  max-width: 1060px;
  font-size: clamp(28px, 3.3vw, 48px);
}

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

p {
  margin: 0 0 9px;
}

.event-details {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 18px 0 clamp(40px, 6vw, 68px);
}

.event-info {
  display: grid;
  grid-template-columns: minmax(150px, 0.75fr) minmax(230px, 1fr);
  gap: clamp(20px, 4vw, 54px);
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-kicker {
  display: block;
  margin-bottom: 10px;
  color: #111;
  font-size: clamp(21px, 2.1vw, 28px);
  font-family: "Oswald", Arial, sans-serif;
  font-weight: 300;
  line-height: 1;
}

.detail-group strong {
  color: var(--blue);
  font-weight: 400;
}

.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: "Oswald", Arial, 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 {
  margin-top: 12px;
}

.venue-panel {
  line-height: 0;
  display: flex;
  justify-content: center;
}

.venue-image {
  display: block;
  min-height: 230px;
  height: 230px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  box-shadow: 0 18px 40px rgba(14, 27, 54, 0.14);
}

.note {
  padding: 0 0 clamp(38px, 6vw, 72px);
}

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

.registration {
  padding: clamp(34px, 5vw, 62px) 0;
  color: #050505;
  background: var(--white);
}

.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;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(242, 138, 32, 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,
.guest-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 {
  display: block;
  width: 100%;
  margin: 0 0 8px;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
  white-space: 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-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);
}

.participants {
  padding: clamp(38px, 6vw, 70px) 0;
}

.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: "Oswald", Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0;
}

.guest-table th {
  color: var(--white);
  background: var(--blue);
  border-bottom: 2px solid #009ee2;
  letter-spacing: 0;
}

.guest-table td {
  height: 82px;
}

.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;
}

@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-details {
    grid-template-columns: 1fr;
  }

  .venue-image {
    min-height: 220px;
    height: 220px;
  }
}

@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-details {
    gap: 22px;
  }

  .event-info {
    grid-template-columns: 1fr;
    padding: 18px 0;
  }

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

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

  .choice {
    font-size: 15px;
  }

  .button {
    width: 100%;
  }

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

  .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;
  }
}
