@font-face {
  font-family: Onest;
  src: url(assets/onest.woff2) format("woff2");
  font-style: normal;
  font-weight: 400 750;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f5fafb;
  --white: #fff;
  --ink: #102a32;
  --muted: #405b63;
  --line: #c8dce0;
  --teal: #006278;
  --teal-dark: #004d60;
  --pale: #e4f5f7;
  --aqua: #02bad2;
  --aqua-light: #91edf5;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --radius: 14px;
  --body: Onest, Arial, sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scrollbar-color: #7fa8b0 var(--paper);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.55 var(--body);
  caret-color: var(--teal);
}
::selection {
  background: var(--aqua);
  color: var(--ink);
}
[hidden] {
  display: none !important;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
}
:focus-visible {
  outline: 3px solid #00778b;
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  z-index: 5;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-160%);
  background: var(--white);
}
.skip-link:focus {
  transform: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.shell {
  width: min(1200px, calc(100% - 80px));
  margin-inline: auto;
}
.site-header {
  background: var(--paper);
}
.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header-inner {
  min-height: 82px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.brand img {
  height: auto;
  flex: none;
}
.brand strong,
.brand small {
  display: block;
}
.brand strong {
  font: 750 1.08rem/1.12 var(--body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.brand small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.075em;
}
.mode-switch {
  display: flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 30px;
}
.mode-switch button {
  border: 0;
  border-radius: 24px;
  padding: 8px 14px;
  min-height: 40px;
  background: transparent;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 650;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s;
}
.mode-switch button:hover {
  background: var(--pale);
  color: var(--teal-dark);
}
.mode-switch button[aria-pressed="true"] {
  background: var(--teal);
  color: var(--white);
}
.mode-switch button .icon {
  width: 0.95em;
  height: 0.95em;
  margin-left: 2px;
}
.hero {
  background: var(--teal);
  color: var(--white);
}
.hero-layout {
  display: grid;
  grid-template-areas: "copy photo";
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  padding-inline-start: max(40px, (100% - 1200px) / 2);
}
.hero-copy {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(42px, 6vw, 86px) 22px clamp(48px, 6vw, 88px) 0;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
.hero h1 {
  display: grid;
  gap: 0.12em;
  font: 750 clamp(3.6rem, 7.5vw, 6rem)/1.05 var(--body);
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.hero h1 em {
  font-style: normal;
  color: var(--aqua-light);
}
.hero p {
  color: #e1f6fa;
  margin: 24px 0 26px;
  max-width: 32ch;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
}
.hero :focus-visible {
  outline-color: var(--aqua-light);
}
.hero-media {
  grid-area: photo;
  position: relative;
  align-self: stretch;
  min-height: clamp(380px, 39vw, 550px);
  overflow: hidden;
  background: #004456;
}
.hero-media::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: clamp(22px, 4.5vw, 72px);
  background: var(--teal);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  content: "";
  pointer-events: none;
}
.hero-media img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 49px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.3;
  transition:
    background 0.18s,
    color 0.18s,
    transform 0.18s var(--ease);
}
.button:hover:not(:disabled) {
  transform: translateY(-2px);
}
.button:active:not(:disabled) {
  transform: translateY(0);
}
.icon {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  flex: none;
  vertical-align: -0.22em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.button-aqua {
  color: var(--ink);
  background: var(--aqua);
}
.button-aqua:hover {
  background: #7fe4ef;
}
.button-teal {
  color: var(--white);
  background: var(--teal);
}
.button-teal:hover:not(:disabled) {
  background: var(--teal-dark);
}
.button-teal:disabled {
  opacity: 0.58;
}
.button-outline {
  color: var(--teal-dark);
  border-color: var(--line);
  background: var(--white);
}
.button-outline:hover {
  background: var(--pale);
}
.journey {
  scroll-margin-top: 16px;
  padding-bottom: 65px;
}
.journey-top {
  min-height: 88px;
  padding-block: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}
.journey-top .demo-note {
  order: -1;
}
.demo-note {
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 9px;
}
.demo-note > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  flex: none;
}
.steps {
  display: flex;
  gap: clamp(8px, 2.5vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps button {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
}
.steps button:not(:disabled):hover {
  color: var(--teal);
}
.steps button span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0.73rem;
  font-variant-numeric: tabular-nums;
}
.steps button[aria-current="step"] {
  color: var(--teal-dark);
}
.steps button[aria-current="step"] span {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.steps button.is-complete span {
  background: var(--pale);
  border-color: var(--pale);
  color: var(--teal-dark);
}
.step-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(30px, 6vw, 88px);
  padding-top: 42px;
}
.step-intro h2,
.admin h1 {
  font: 750 clamp(2.2rem, 4.7vw, 4.25rem)/1 var(--body);
  letter-spacing: -0.03em;
}
.step-intro p,
.admin-intro p {
  max-width: 34ch;
  margin-top: 16px;
  color: var(--muted);
}
.step-intro a,
.step-intro button {
  margin-top: 20px;
}
.workflow {
  min-width: 0;
}
fieldset {
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0 0 20px;
}
legend,
.select-label,
.input-label {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.select-label {
  display: block;
}
.choices {
  display: grid;
  gap: 8px;
}
.choices-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.choices-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.choice {
  position: relative;
  display: block;
  cursor: pointer;
}
.choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.choice > span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 53px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-size: 0.89rem;
  font-weight: 650;
  line-height: 1.3;
  transition:
    background 0.18s,
    border-color 0.18s;
}
.choice small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 500;
}
.choice input:hover + span,
.choice input:checked + span {
  border-color: var(--teal);
}
.choice input:checked + span {
  background: var(--pale);
  color: var(--teal-dark);
  box-shadow: inset 0 0 0 1px var(--teal);
}
.choice input:focus-visible + span {
  outline: 3px solid #00778b;
  outline-offset: 3px;
}
.text-input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}
#level-field {
  --level-gap: 6px;
}
.level-picker {
  position: relative;
}
.level-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
}
.level-trigger:hover,
.level-trigger[aria-expanded="true"] {
  border-color: var(--teal);
}
.level-chevron {
  color: var(--teal-dark);
  transition: transform 220ms var(--ease);
}
.level-trigger[aria-expanded="true"] .level-chevron {
  transform: rotate(180deg);
}
.level-options {
  position: absolute;
  z-index: 2;
  top: calc(100% + var(--level-gap));
  left: 0;
  width: 100%;
  max-height: var(--level-menu-height, 0px);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgb(16 42 50 / 12%);
  opacity: 1;
  transform: translateY(0);
  transition: transform 220ms var(--ease), opacity 160ms ease-out;
}
.level-options[data-placement="above"] {
  top: auto;
  bottom: calc(100% + var(--level-gap));
}
.level-options[inert] {
  max-height: 0;
  opacity: 0;
  transform: translateY(-4px);
  visibility: hidden;
  transition: transform 220ms var(--ease), opacity 160ms ease-out,
    max-height 0s linear 220ms, visibility 0s linear 220ms;
}
.level-options[data-placement="above"][inert] {
  transform: translateY(4px);
}
.level-list {
  margin: 0;
  padding: 4px;
  list-style: none;
}
.level-list li {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px;
  border-radius: 5px;
  cursor: pointer;
}
.level-list li:hover,
.level-list .is-active {
  background: var(--pale);
}
.level-list [aria-selected="true"] {
  color: var(--teal-dark);
  font-weight: 750;
}
.workflow-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}
.text-button {
  color: var(--teal-dark);
  border: 0;
  padding: 4px 0;
  min-height: 40px;
  background: none;
  font-size: 0.86rem;
  font-weight: 700;
}
.text-button:hover {
  text-decoration: underline;
}
.group-list,
.request-list,
.stock-list {
  padding: 0;
  margin: 0;
  list-style: none;
}
.group-row,
.request-row,
.stock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.group-row:first-child,
.request-row:first-child,
.stock-row:first-child {
  border-top: 1px solid var(--line);
}
.group-row h3,
.request-row h3 {
  font-size: 1.06rem;
}
.row-meta,
.fine-print {
  color: var(--muted);
  font-size: 0.82rem;
}
.group-row .button,
.request-row .button {
  flex-shrink: 0;
  font-size: 0.83rem;
  min-height: 44px;
  padding: 8px 12px;
}
.spots {
  color: var(--teal-dark);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.summary,
.success,
.empty {
  padding: 22px;
  background: var(--pale);
  border-radius: var(--radius);
}
.summary {
  margin-bottom: 18px;
}
.summary strong,
.success strong {
  display: block;
  font-size: 1.08rem;
}
.summary p,
.success p,
.empty p {
  margin-top: 4px;
  color: var(--muted);
}
.success .button {
  margin-top: 16px;
}
.input-label {
  display: block;
}
.request-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}
.request-fields .input-label {
  margin: 0;
}
.request-fields .wide-field {
  grid-column: 1 / -1;
}
/* Full-width line under the request: the row wraps so the button stays put when this opens.
   -6px offsets the row's 14px gap, keeping the original 8px under the status. */
.request-row {
  flex-wrap: wrap;
}
.request-details {
  flex-basis: 100%;
  margin-top: -6px;
  overflow-wrap: anywhere;
}
.request-details summary {
  color: var(--teal-dark);
  cursor: pointer;
  font-weight: 700;
}
.request-details dl {
  margin: 8px 0 0;
}
.request-details dt {
  font-weight: 700;
}
.request-details dd {
  margin: 0 0 6px;
}
.input-label + .input-label {
  margin-top: 12px;
}
.input-label input {
  margin-top: 6px;
}
.fine-print {
  margin-top: 12px;
}
.error {
  color: #9a1638;
  font-size: 0.87rem;
  margin-top: 8px;
}
.admin {
  padding-block: 45px 65px;
  min-height: 64vh;
}
.admin-intro {
  border-bottom: 1px solid var(--line);
  padding-bottom: 25px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
}
.admin .demo-note {
  margin-top: 14px;
}
.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 65px);
  margin-top: 30px;
}
.admin h2 {
  font: 750 clamp(1.5rem, 2.8vw, 2.2rem)/1.12 var(--body);
  letter-spacing: -0.028em;
  margin-bottom: 14px;
}
.admin h2 .count {
  font: 650 0.8rem/1 var(--body);
  background: var(--pale);
  color: var(--teal-dark);
  padding: 6px 9px;
  border-radius: 20px;
  vertical-align: middle;
  margin-left: 5px;
}
.request-row[data-current="true"] {
  background: var(--pale);
  padding-inline: 12px;
  border-radius: 8px;
}
.request-row .row-meta {
  overflow-wrap: anywhere;
}
.status {
  display: inline-block;
  margin-top: 6px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 700;
}
.status.confirmed {
  color: #1e6240;
}
.request-row .capacity-note {
  display: block;
  margin-top: 2px;
}
.stock-row {
  font-size: 0.88rem;
}
.stock-row .spots {
  white-space: nowrap;
}
.stock-row.flash {
  animation: spot-confirmed 0.75s var(--ease);
}
.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer-inner {
  min-height: 67px;
  font-size: 0.8rem;
}
.enter {
  animation: enter 0.33s var(--ease) both;
}
@keyframes enter {
  from {
    opacity: 0.65;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes spot-confirmed {
  0%,
  35% {
    background: var(--aqua);
  }
  100% {
    background: transparent;
  }
}
@media (max-width: 900px) {
  .shell {
    width: calc(100% - 56px);
  }
  .hero-layout {
    padding-inline-start: 28px;
  }
  .hero h1 {
    font-size: clamp(3.25rem, 8vw, 5.6rem);
  }
  .step-layout {
    grid-template-columns: minmax(0, 0.67fr) minmax(0, 1.33fr);
  }
}
@media (max-width: 680px) {
  .shell {
    width: calc(100% - 36px);
  }
  .header-inner {
    min-height: 69px;
    gap: 8px;
  }
  .brand {
    gap: 7px;
  }
  .brand img {
    width: 38px;
  }
  .brand strong {
    font-size: 0.85rem;
    letter-spacing: 0.075em;
  }
  .brand small {
    font-size: 0.69rem;
    margin-top: 4px;
    letter-spacing: 0.03em;
  }
  .mode-switch {
    padding: 3px;
  }
  .mode-switch button {
    padding-inline: 9px;
    min-height: 38px;
    font-size: 0.75rem;
  }
  .hero-layout {
    grid-template-areas: "photo" "copy";
    grid-template-columns: minmax(0, 1fr);
    padding-inline-start: 0;
  }
  .hero-copy {
    padding: 20px 18px 30px;
  }
  .hero h1 {
    font-size: clamp(3.35rem, 13vw, 5.4rem);
  }
  .hero p {
    margin: 14px 0 18px;
  }
  .hero-media {
    min-height: clamp(248px, 75vw, 375px);
  }
  .hero-media img {
    object-position: 50% 48%;
  }
  .hero-media::after {
    inset: auto 0 -2px;
    width: auto;
    height: clamp(36px, 9vw, 58px);
    clip-path: polygon(0 82%, 100% 0, 100% 100%, 0 100%);
    animation: photo-seam 0.62s var(--ease) both;
  }
  .request-fields {
    grid-template-columns: 1fr;
  }
  .journey {
    padding-bottom: 42px;
  }
  .journey-top {
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    padding-block: 8px 0;
    border-bottom: 0;
  }
  .journey-top .demo-note {
    order: 0;
  }
  .steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 0;
    border-bottom: 1px solid var(--line);
  }
  .steps button {
    justify-content: center;
    width: 100%;
    border-bottom: 2px solid transparent;
  }
  .steps button[aria-current="step"] {
    border-bottom-color: var(--teal);
  }
  .step-layout {
    grid-template-columns: 1fr;
    gap: 23px;
    padding-top: 20px;
  }
  .step-intro h2 br {
    display: none;
  }
  .step-intro p {
    margin-top: 10px;
  }
  .journey .workflow-actions .button {
    flex-grow: 1;
  }
  .admin {
    padding-block: 28px 40px;
  }
  .admin-grid {
    grid-template-columns: 1fr;
  }
  .admin-intro {
    display: block;
  }
  .admin-intro .button {
    margin-top: 15px;
  }
}
@keyframes photo-seam {
  from {
    clip-path: polygon(0 96%, 100% 29%, 100% 100%, 0 100%);
  }
  to {
    clip-path: polygon(0 82%, 100% 0, 100% 100%, 0 100%);
  }
}
@media (max-width: 365px) {
  .brand {
    gap: 5px;
  }
  .brand img {
    width: 28px;
  }
  .brand strong {
    font-size: 0.78rem;
    letter-spacing: 0.045em;
  }
  .brand small {
    max-width: 102px;
  }
  .mode-switch button {
    padding-inline: 7px;
  }
  .mode-switch button .icon {
    display: none;
  }
  .choices-three {
    grid-template-columns: 1fr;
  }
  .footer-inner .text-button {
    white-space: nowrap;
  }
  .choice > span {
    padding-inline: 10px;
    font-size: 0.83rem;
  }
  .choice small {
    font-size: 0.7rem;
  }
  .steps button {
    gap: 5px;
    font-size: 0.79rem;
  }
  .request-row {
    align-items: flex-start;
    flex-direction: column;
  }
  /* In the column layout flex-basis means height, so let the content size it.
     It also sits right under the button here, so it needs more room than the desktop -6px. */
  .request-details {
    flex-basis: auto;
    margin-top: 2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
