:root {
  --ocean-navy: #173A53;
  --pearl-white: #FAFBF8;
  --sea-glass: #6FB6B5;
  --champagne-sand: #D8C5A3;
  --sunset-coral: #E88C76;
  --deep-slate: #465866;
  --navy-tint-08: #E7ECEF;
  --sand-tint-40: #F1E9DA;
  --coral-ink: #B85A45;

  --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Source Sans 3', system-ui, sans-serif;

  --text-display: clamp(2.5rem, 5vw, 4rem);
  --text-h1: clamp(2rem, 3.5vw, 3rem);
  --text-h2: clamp(1.625rem, 2.5vw, 2.125rem);
  --text-h3: clamp(1.25rem, 1.75vw, 1.5rem);
  --text-h4: 1.1875rem;
  --text-body-large: 1.1875rem;
  --text-body: 1rem;
  --text-body-small: 0.875rem;
  --text-eyebrow: 0.75rem;
  --text-nav: 0.8125rem;

  --leading-display: 1.02;
  --leading-h1: 1.08;
  --leading-h2: 1.15;
  --leading-h3: 1.25;
  --leading-h4: 1.3;
  --leading-body-large: 1.65;
  --leading-body: 1.7;
  --leading-body-small: 1.6;
  --leading-eyebrow: 1.2;
  --leading-nav: 1.2;

  --tracking-display: -0.02em;
  --tracking-h1: -0.01em;
  --tracking-h4: 0.01em;
  --tracking-eyebrow: 0.16em;
  --tracking-nav: 0.08em;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --space-11: 160px;

  --container-max: 1280px;
  --container-pad-mobile: 24px;
  --container-pad-tablet: 48px;
  --container-pad-desktop: 72px;
  --text-measure: 720px;

  --border-hairline-navy: 1px solid rgba(23, 58, 83, 0.12);
  --border-hairline-sand: 1px solid #D8C5A3;
  --border-focus: 2px solid #6FB6B5;
  --shadow-header: 0 1px 2px rgba(23, 58, 83, 0.06);
  --shadow-dropdown: 0 1px 2px rgba(23, 58, 83, 0.06);

  --radius-0: 0px;
  --radius-1: 2px;
  --radius-2: 4px;
  --radius-3: 8px;

  --transition-fast: 180ms ease-out;
  --transition-dropdown: 120ms ease-out;
  --transition-reveal: 200ms ease-out;
}

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

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--ocean-navy);
  background-color: var(--pearl-white);
  min-height: 100vh;
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

a {
  color: var(--sea-glass);
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

a:hover {
  color: var(--coral-ink);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: var(--border-focus);
  outline-offset: 2px;
}

ul,
ol {
  list-style-position: inside;
}

blockquote {
  margin: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

th,
td {
  text-align: left;
  vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--ocean-navy);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: var(--text-h1);
  line-height: var(--leading-h1);
  letter-spacing: var(--tracking-h1);
  margin-block-end: var(--space-5);
}

h2 {
  font-size: var(--text-h2);
  line-height: var(--leading-h2);
  margin-block-end: var(--space-5);
}

h3 {
  font-size: var(--text-h3);
  line-height: var(--leading-h3);
  margin-block-end: var(--space-4);
}

h4 {
  font-size: var(--text-h4);
  line-height: var(--leading-h4);
  letter-spacing: var(--tracking-h4);
  margin-block-end: var(--space-3);
}

h5,
h6 {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  margin-block-end: var(--space-3);
}

p {
  margin-block-end: var(--space-5);
  line-height: var(--leading-body);
}

p:last-child {
  margin-block-end: 0;
}

ul,
ol {
  margin-block-end: var(--space-5);
  padding-inline-start: var(--space-5);
}

ul:last-child,
ol:last-child {
  margin-block-end: 0;
}

li {
  line-height: var(--leading-body);
}

blockquote {
  margin-block-end: var(--space-5);
  padding-inline-start: var(--space-5);
  border-inline-start: 2px solid var(--champagne-sand);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.5rem, 2.5vw, 2.125rem);
  line-height: 1.35;
  color: var(--ocean-navy);
  max-width: 24ch;
}

blockquote:last-child {
  margin-block-end: 0;
}

figure {
  margin-block-end: var(--space-5);
}

figure:last-child {
  margin-block-end: 0;
}

figcaption {
  font-size: var(--text-body-small);
  line-height: var(--leading-body-small);
  color: var(--deep-slate);
  margin-block-start: var(--space-2);
}

address {
  font-style: normal;
}

hr {
  border: none;
  border-top: var(--border-hairline-sand);
  margin-block: var(--space-7);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad-mobile);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 1000;
  padding: var(--space-3) var(--space-4);
  background: var(--ocean-navy);
  color: var(--pearl-white);
  border-radius: var(--radius-1);
  font-size: var(--text-body-small);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-4);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-eyebrow);
  line-height: var(--leading-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--champagne-sand);
  margin-block-end: var(--space-3);
}

.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--champagne-sand);
  margin-block-end: var(--space-2);
}

.lead {
  font-size: var(--text-body-large);
  line-height: var(--leading-body-large);
  color: var(--deep-slate);
  margin-block-end: var(--space-6);
}

.lead:last-child {
  margin-block-end: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-nav);
  line-height: 1;
  letter-spacing: var(--tracking-nav);
  text-transform: uppercase;
  padding: 16px 28px;
  border-radius: var(--radius-2);
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
  min-width: 0;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--sunset-coral);
  color: var(--pearl-white);
  border: 1px solid var(--sunset-coral);
}

.btn--primary:hover {
  background-color: var(--coral-ink);
  border-color: var(--coral-ink);
  color: var(--pearl-white);
}

.btn--secondary {
  background-color: #fff;
  color: var(--ocean-navy);
  border: 1px solid var(--ocean-navy);
}

.btn--secondary:hover {
  background-color: var(--ocean-navy);
  color: var(--pearl-white);
}

.btn--tertiary {
  background-color: transparent;
  color: var(--sea-glass);
  border: none;
  padding-inline: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.btn--tertiary:hover {
  color: var(--coral-ink);
}

.badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  line-height: 1.2;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-1);
  background-color: var(--sand-tint-40);
  color: var(--ocean-navy);
}

.badge--signal {
  background-color: var(--sunset-coral);
  color: var(--pearl-white);
}

.card {
  background-color: var(--pearl-white);
  border-radius: var(--radius-2);
  border: var(--border-hairline-navy);
  overflow: hidden;
}

.card__media {
  border-bottom: 1px solid var(--champagne-sand);
}

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

.card__body {
  padding: var(--space-5);
}

.card__body > :last-child {
  margin-block-end: 0;
}

.card__meta {
  font-size: var(--text-body-small);
  line-height: var(--leading-body-small);
  color: var(--deep-slate);
  padding-block-end: var(--space-3);
  margin-block-end: var(--space-3);
  border-bottom: 1px solid var(--navy-tint-08);
}

.panel {
  background-color: var(--navy-tint-08);
  border-radius: var(--radius-2);
  padding: var(--space-5);
}

.panel--sand {
  background-color: var(--sand-tint-40);
}

.panel--navy {
  background-color: var(--ocean-navy);
  color: var(--pearl-white);
}

.panel--navy h1,
.panel--navy h2,
.panel--navy h3,
.panel--navy h4,
.panel--navy h5,
.panel--navy h6 {
  color: var(--pearl-white);
}

.panel > :last-child {
  margin-block-end: 0;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table {
  width: 100%;
  font-size: var(--text-body-small);
  line-height: var(--leading-body-small);
  border-collapse: collapse;
}

.table thead th {
  background-color: var(--ocean-navy);
  color: var(--pearl-white);
  font-family: var(--font-body);
  font-size: var(--text-body-small);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-right: 1px solid rgba(216, 197, 163, 0.3);
}

.table thead th:last-child {
  border-right: none;
}

.table tbody td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--navy-tint-08);
  color: var(--ocean-navy);
  font-variant-numeric: tabular-nums;
}

.table tbody tr:nth-child(even) {
  background-color: var(--navy-tint-08);
}

.table tbody tr:last-child td {
  border-bottom: none;
}

.table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-block-end: var(--space-4);
}

.form-field:last-child {
  margin-block-end: 0;
}

.form-field label {
  font-size: var(--text-body-small);
  font-weight: 500;
  color: var(--ocean-navy);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--ocean-navy);
  background-color: var(--pearl-white);
  border: 1px solid rgba(23, 58, 83, 0.2);
  border-radius: var(--radius-1);
  padding: var(--space-3);
  min-height: 40px;
  width: 100%;
  transition: border-color var(--transition-fast);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--deep-slate);
  font-size: var(--text-body-small);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--sea-glass);
  outline: var(--border-focus);
  outline-offset: 2px;
}

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

.form-field--error input,
.form-field--error select,
.form-field--error textarea {
  border-color: var(--coral-ink);
}

.form-field--error label {
  color: var(--coral-ink);
}

.form-field__hint {
  font-size: var(--text-body-small);
  color: var(--deep-slate);
}

.form-field__error {
  font-size: var(--text-body-small);
  color: var(--coral-ink);
}

.form-field__success {
  font-size: var(--text-body-small);
  color: var(--sea-glass);
}

.flex {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  min-width: 0;
}

.flex > * {
  min-width: 0;
  flex-shrink: 1;
}

.flex--nowrap {
  flex-wrap: nowrap;
}

.flex--column {
  flex-direction: column;
}

.flex--center {
  align-items: center;
}

.flex--between {
  justify-content: space-between;
}

.flex--end {
  justify-content: flex-end;
}

.flex--start {
  justify-content: flex-start;
}

.flex--gap-sm {
  gap: var(--space-2);
}

.flex--gap-lg {
  gap: var(--space-6);
}

.flex--gap-xl {
  gap: var(--space-7);
}

.grid-auto {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}

.grid-auto > * {
  min-width: 0;
}

.rule-sand {
  border: none;
  border-top: var(--border-hairline-sand);
  margin-block: var(--space-7);
}

.rule-navy {
  border: none;
  border-top: var(--border-hairline-navy);
  margin-block: var(--space-7);
}

.wave-divider {
  display: block;
  width: 100%;
  height: 1px;
  background: transparent;
  margin-block: var(--space-7);
  position: relative;
  overflow: visible;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: auto;
  color: var(--sea-glass);
}

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

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

@media (min-width: 768px) {
  .container {
    padding-inline: var(--container-pad-tablet);
  }

  .flex {
    gap: var(--space-5);
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: var(--container-pad-desktop);
  }

  .flex {
    gap: var(--space-6);
  }
}