:root {
  --page-bg: #f4f6f3;
  --page-glow: rgba(235, 247, 247, 0.95);
  --panel: rgba(255, 255, 255, 0.88);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --ink: #173544;
  --ink-soft: #556875;
  --line: rgba(21, 87, 97, 0.14);
  --accent: #16747c;
  --accent-deep: #0f5a60;
  --shadow: 0 18px 42px rgba(24, 56, 66, 0.08), 0 3px 10px rgba(24, 56, 66, 0.04);
  --shadow-soft: 0 12px 20px rgba(24, 56, 66, 0.065), 0 2px 7px rgba(24, 56, 66, 0.035);
  --shadow-control: 0 10px 22px rgba(22, 116, 124, 0.09);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(241, 247, 245, 0.92)),
    radial-gradient(circle at top right, rgba(195, 235, 233, 0.7), transparent 28%),
    var(--page-bg);
}

body.is-modal-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(244, 246, 243, 0.22) 0%, rgba(244, 246, 243, 0.9) 48%, rgba(244, 246, 243, 0.92) 100%),
    url("assets/client-underwater-bg.png") left bottom / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  right: -8vw;
  bottom: -6vw;
  width: 45vw;
  height: 22vw;
  min-width: 320px;
  min-height: 180px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 20%, rgba(195, 235, 233, 0.8), transparent 35%),
    linear-gradient(180deg, rgba(207, 235, 236, 0.34), rgba(235, 245, 245, 0.03));
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}

.client-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.client-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 50px;
}

.brandbar {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brandbar:focus-visible,
.client-home-link:focus-visible {
  outline: 3px solid rgba(22, 116, 124, 0.2);
  outline-offset: 5px;
}

.brandmark {
  position: relative;
  width: 52px;
  height: 36px;
  border: 2px solid var(--accent);
  border-radius: 999px;
}

.brandmark span {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 12px;
  border-bottom: 2px solid var(--accent);
  border-radius: 999px;
}

.brandmark span:first-child {
  top: 9px;
}

.brandmark span:last-child {
  bottom: 7px;
  transform: scaleX(0.72);
}

.brandtext {
  display: grid;
}

.brandtext strong {
  color: var(--accent);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.client-home-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-height: 40px;
  border-bottom: 1px solid rgba(15, 90, 96, 0.28);
  color: var(--accent-deep);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.client-home-link__icon {
  position: relative;
  width: 22px;
  height: 22px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.client-home-link__icon::before,
.client-home-link__icon::after {
  position: absolute;
  top: 50%;
  content: "";
}

.client-home-link__icon::before {
  left: 6px;
  width: 8px;
  height: 8px;
  border-bottom: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.client-home-link__icon::after {
  left: 7px;
  width: 9px;
  height: 1.5px;
  background: currentColor;
  transform: translateY(-50%);
}

.client-home-link:hover {
  border-color: var(--accent-deep);
  transform: translateX(-2px);
}

.hero {
  display: block;
  margin-bottom: 8px;
}

.hero-copy {
  max-width: 700px;
}

.hero-copy h1,
.section-heading h2,
.status-copy h2,
.event-card h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
}

.hero-copy h1 {
  margin: 0 0 10px;
  font-size: clamp(52px, 5.3vw, 68px);
  line-height: 0.94;
  max-width: none;
}

.hero-copy p {
  max-width: 31ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.5;
}

.event-card,
.form-card,
.status-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.client-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) 286px;
  gap: 18px;
  align-items: start;
}

.side-column {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 24px;
  align-self: start;
  max-height: calc(100vh - 48px);
  overflow: auto;
  margin: -3px -8px -28px;
  padding: 3px 8px 28px;
  scrollbar-gutter: stable;
}

.event-card {
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  background: var(--panel-strong);
  box-shadow: var(--shadow-soft);
  width: 100%;
}

.event-card-header {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.event-card h2 {
  margin: 0;
  font-size: 22px;
}

.session-picker-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(22, 116, 124, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 248, 247, 0.92)),
    rgba(255, 255, 255, 0.96);
  color: var(--accent-deep);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.session-picker-button:hover,
.session-picker-button:focus-visible {
  outline: none;
  transform: translateY(-1px);
  border-color: rgba(22, 116, 124, 0.28);
  box-shadow: var(--shadow-control);
}

.session-picker-button:disabled {
  cursor: not-allowed;
  opacity: 0.66;
  transform: none;
  box-shadow: none;
}

.session-picker-button__icon {
  width: 11px;
  height: 11px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  flex: none;
}

.selected-session-card {
  display: grid;
  gap: 14px;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid rgba(21, 87, 97, 0.12);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 249, 248, 0.92)),
    rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.session-options {
  display: grid;
  gap: 12px;
}

.session-option {
  gap: 0;
  cursor: pointer;
}

.session-option-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.session-option-surface {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(21, 87, 97, 0.12);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 249, 248, 0.92)),
    rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.session-options-modal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.session-options-modal .session-option-surface {
  height: 100%;
  align-content: start;
}

.session-option:hover .session-option-surface {
  transform: translateY(-1px);
}

.session-option-input:checked + .session-option-surface {
  border-color: rgba(22, 116, 124, 0.36);
  box-shadow:
    0 10px 22px rgba(22, 116, 124, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.session-option-input:focus-visible + .session-option-surface {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(22, 116, 124, 0.12),
    0 10px 22px rgba(22, 116, 124, 0.09);
}

.session-option-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.session-option-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(22, 116, 124, 0.09);
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.session-option-check {
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(22, 116, 124, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  position: relative;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.session-option-check::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: white;
  opacity: 0;
  transform: scale(0.5);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.session-option-input:checked + .session-option-surface .session-option-check {
  border-color: var(--accent);
  background: var(--accent);
}

.session-option-input:checked + .session-option-surface .session-option-check::after {
  opacity: 1;
  transform: scale(1);
}

.session-option-dateblock {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.session-option-day {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(232, 245, 245, 0.98), rgba(218, 237, 237, 0.95)),
    rgba(228, 242, 242, 0.94);
  color: var(--accent-deep);
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
}

.session-option-calendar {
  display: grid;
  gap: 4px;
}

.session-option-date {
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.15;
}

.session-option-weekday {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: capitalize;
}

.session-option-timeblock {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(21, 87, 97, 0.08);
}

.session-option-label {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.session-option-time {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
}

.session-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(12, 27, 34, 0.38);
  backdrop-filter: blur(12px);
}

.session-modal {
  width: min(860px, 100%);
  max-height: min(82vh, 760px);
  border: 1px solid rgba(21, 87, 97, 0.14);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 250, 0.94)),
    rgba(255, 255, 255, 0.96);
  box-shadow: 0 36px 90px rgba(14, 34, 41, 0.24);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.session-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 0;
}

.session-modal-header h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 500;
  line-height: 0.98;
}

.modal-close-button {
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(21, 87, 97, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.modal-close-button::before,
.modal-close-button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
}

.modal-close-button::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal-close-button::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modal-close-button:hover,
.modal-close-button:focus-visible {
  outline: none;
  transform: translateY(-1px);
  border-color: rgba(22, 116, 124, 0.22);
  box-shadow: 0 10px 24px rgba(22, 116, 124, 0.12);
}

.session-modal-body {
  padding: 20px 24px 10px;
  overflow: auto;
}

.session-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 0 24px 24px;
}

.modal-secondary-button,
.modal-primary-button {
  min-width: 160px;
  min-height: 52px;
}

.event-card-inputs {
  display: none;
}

.form-card,
.status-card {
  border-radius: var(--radius-xl);
}

.form-card {
  padding: 28px 28px 26px;
  animation: rise 500ms ease;
}

.form-section {
  display: grid;
  gap: 18px;
}

.medical-check {
  display: grid;
  gap: 18px;
}

.medical-check__heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.medical-check__kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.medical-check__heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
}

.medical-check__link {
  display: inline-flex;
  flex: none;
  gap: 10px;
  align-items: center;
  min-height: 38px;
  border-bottom: 1px solid rgba(15, 90, 96, 0.32);
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.medical-check__link span {
  position: relative;
  width: 18px;
  height: 18px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.medical-check__link span::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  content: "";
  transform: translate(-65%, -50%) rotate(45deg);
}

.medical-check__link:hover,
.medical-check__link:focus-visible {
  border-color: var(--accent-deep);
  outline: none;
}

.medical-check__lead {
  max-width: 700px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

.medical-readiness {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.medical-readiness legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  padding: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.medical-readiness__option {
  position: relative;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 11px;
  align-content: start;
  min-height: 128px;
  border: 1px solid rgba(21, 87, 97, 0.16);
  border-radius: var(--radius-sm);
  padding: 16px;
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.medical-readiness__option:hover {
  border-color: rgba(22, 116, 124, 0.38);
  transform: translateY(-1px);
}

.medical-readiness__option:has(input:checked) {
  border-color: rgba(22, 116, 124, 0.5);
  background: rgba(232, 245, 242, 0.82);
  box-shadow: 0 10px 24px rgba(22, 116, 124, 0.08);
}

.medical-readiness__option:last-child:has(input:checked) {
  border-color: rgba(176, 104, 66, 0.48);
  background: rgba(255, 246, 238, 0.9);
}

.medical-readiness__option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.medical-readiness__control {
  position: relative;
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(21, 87, 97, 0.38);
  border-radius: 50%;
  background: #fff;
}

.medical-readiness__control::after {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
  opacity: 0;
  transform: scale(0.5);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.medical-readiness__option input:checked + .medical-readiness__control::after {
  opacity: 1;
  transform: scale(1);
}

.medical-readiness__option input:focus-visible + .medical-readiness__control {
  outline: 3px solid rgba(22, 116, 124, 0.18);
  outline-offset: 3px;
}

.medical-readiness__option strong,
.medical-readiness__option small {
  display: block;
}

.medical-readiness__option strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.medical-readiness__option small {
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.medical-readiness-status {
  margin: 0;
  border-left: 3px solid var(--accent);
  padding: 10px 0 10px 16px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

.medical-readiness-status.is-blocked {
  border-left-color: #b06842;
  color: #7b4a31;
}

.section-heading {
  display: grid;
  gap: 8px;
}

.section-heading h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1;
}

.section-heading p,
.status-copy p,
.privacy-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.divider {
  height: 1px;
  margin: 22px 0;
  background:
    linear-gradient(90deg, rgba(21, 87, 97, 0), rgba(21, 87, 97, 0.18), rgba(21, 87, 97, 0));
}

label {
  display: grid;
  gap: 9px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.date-field {
  position: relative;
}

.date-input-group {
  position: relative;
  display: grid;
}

.date-input-group input[type="text"] {
  padding-right: 58px;
}

.date-picker-button {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(21, 87, 97, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--accent-deep);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.date-picker-button::before,
.date-picker-button::after {
  content: "";
  position: absolute;
}

.date-picker-button::before {
  width: 18px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.date-picker-button::after {
  top: 13px;
  width: 16px;
  height: 2px;
  background: currentColor;
  box-shadow:
    -5px -4px 0 -1px currentColor,
    5px -4px 0 -1px currentColor;
}

.date-picker-button:hover,
.date-picker-button:focus-visible {
  outline: none;
  border-color: rgba(22, 116, 124, 0.28);
  background: rgba(244, 250, 249, 0.96);
  box-shadow: var(--shadow-control);
}

.native-date-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.field-hint {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.guardian-hint {
  display: none;
}

.guardian-hint.is-visible {
  display: block;
  color: var(--accent-deep);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(21, 87, 97, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  padding: 15px 16px;
  font: inherit;
  line-height: 1.35;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

input::placeholder,
textarea::placeholder {
  color: #9aa8b1;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(22, 116, 124, 0.56);
  box-shadow: 0 0 0 4px rgba(22, 116, 124, 0.1);
  transform: translateY(-1px);
}

textarea {
  min-height: 112px;
  resize: vertical;
}

.field-grid {
  display: grid;
  gap: 16px;
}

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

.consent-row {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 12px;
  margin: 26px 0 22px;
}

.consent-row input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  padding: 0;
}

.actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.submit-button,
.secondary-button {
  border: 0;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.submit-button {
  min-width: 248px;
  min-height: 58px;
  padding: 0 26px;
  background: linear-gradient(135deg, var(--accent), #1d8a93);
  color: white;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 18px 32px rgba(22, 116, 124, 0.22);
}

.submit-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
}

.submit-button:disabled {
  background: #b9c5c5;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.78;
  transform: none;
}

.status-card {
  padding: 30px 26px;
  display: grid;
  gap: 22px;
  align-self: start;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 250, 0.92)),
    rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.status-card::after {
  content: "";
  align-self: end;
  display: block;
  width: 100%;
  height: 60px;
  border-bottom: 2px solid rgba(22, 116, 124, 0.35);
  border-radius: 0 0 140px 140px;
  opacity: 0.9;
}

.status-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), rgba(207, 234, 233, 0.82)),
    linear-gradient(180deg, rgba(201, 231, 231, 0.68), rgba(255, 255, 255, 0.8));
  position: relative;
}

.status-icon::before,
.status-icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 999px;
}

.status-icon::before {
  left: 18px;
  top: 36px;
  width: 14px;
  height: 3px;
  transform: rotate(45deg);
}

.status-icon::after {
  left: 27px;
  top: 31px;
  width: 28px;
  height: 3px;
  transform: rotate(-45deg);
}

.status-copy {
  display: grid;
  gap: 12px;
}

.status-copy h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.02;
}

.secondary-button {
  min-height: 50px;
  padding: 0 20px;
  background: rgba(22, 116, 124, 0.08);
  color: var(--accent-deep);
  font-size: 15px;
  font-weight: 700;
}

.hidden {
  display: none;
}

.form-card.is-hidden {
  display: none;
}

.status-card.is-success .status-copy h2 {
  font-size: 44px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

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

@media (prefers-reduced-motion: reduce) {
  .form-card,
  .submit-button,
  .secondary-button,
  input,
  textarea {
    animation: none;
    transition: none;
  }
}

@media (max-width: 1120px) {
  .client-layout {
    display: flex;
    flex-direction: column;
  }

  .hero-copy p {
    max-width: 32ch;
  }

  .side-column {
    display: contents;
    position: static;
    max-height: none;
    overflow: visible;
    margin: 0;
    padding: 0;
    scrollbar-gutter: auto;
  }

  .event-card {
    order: -1;
  }

  .form-card {
    order: 0;
  }

  .status-card {
    order: 1;
  }

  .status-card::after {
    height: 48px;
  }

  .session-options-modal {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body::before {
    background:
      linear-gradient(180deg, rgba(244, 246, 243, 0.55), rgba(244, 246, 243, 0.9) 28%, rgba(244, 246, 243, 0.96) 55%),
      url("assets/client-underwater-bg.png") center top / cover no-repeat;
  }

  .client-shell {
    width: min(100% - 24px, 1240px);
    padding-top: 20px;
  }

  .client-header {
    margin-bottom: 18px;
  }

  .brandbar {
    gap: 10px;
  }

  .brandtext strong {
    font-size: 18px;
  }

  .client-home-link {
    font-size: 13px;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 17vw, 58px);
    max-width: none;
  }

  .hero-copy p {
    font-size: 16px;
    max-width: 22ch;
  }

  .event-card,
  .form-card,
  .status-card {
    border-radius: 24px;
  }

  .event-card,
  .form-card,
  .status-card {
    padding: 22px 18px;
  }

  .selected-session-card {
    padding: 14px;
  }

  .session-modal-backdrop {
    padding: 12px;
  }

  .session-modal {
    width: 100%;
    max-height: calc(100vh - 24px);
    border-radius: 24px;
  }

  .session-modal-header {
    padding: 18px 18px 0;
  }

  .session-modal-header h2 {
    font-size: 30px;
  }

  .session-modal-body {
    padding: 16px 18px 8px;
  }

  .session-modal-actions {
    flex-direction: column-reverse;
    padding: 0 18px 18px;
  }

  .section-heading h2,
  .status-copy h2 {
    font-size: 34px;
  }

  .event-time-grid,
  .field-grid-2,
  .actions-row {
    grid-template-columns: 1fr;
    display: grid;
  }

  .medical-check__heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  .medical-check__heading h2 {
    font-size: 34px;
  }

  .medical-readiness {
    grid-template-columns: 1fr;
  }

  .medical-readiness__option {
    min-height: 0;
  }

  .session-option-timeblock {
    align-items: start;
    flex-direction: column;
  }

  .modal-secondary-button,
  .modal-primary-button {
    width: 100%;
  }

  .submit-button,
  .secondary-button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .client-header {
    gap: 14px;
  }

  .brandmark {
    width: 44px;
    height: 32px;
  }

  .brandtext strong {
    font-size: 15px;
  }

  .client-home-link {
    min-width: 40px;
    justify-content: center;
    border-bottom: 0;
  }

  .client-home-link > span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .client-home-link__icon {
    width: 28px;
    height: 28px;
  }

  .client-home-link__icon::before {
    left: 8px;
  }

  .client-home-link__icon::after {
    left: 9px;
  }
}
