:root {
  --color-pearl: #F7F5F0;
  --color-pearl-raised: #FFFFFF;
  --color-atlantic: #0E2A3A;
  --color-atlantic-mid: #1F4A5C;
  --color-atlantic-soft: #D6E2E6;
  --color-mint: #8FBFB2;
  --color-coral: #D97A5F;
  --color-coral-deep: #C4684F;
  --color-sand-gold: #C6A15B;
  --color-ink: #08161E;
  --color-focus: #C6A15B;

  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --text-display: clamp(2.75rem, 6vw, 5.5rem);
  --text-h1: clamp(2.25rem, 4.5vw, 4rem);
  --text-h2: clamp(1.75rem, 3vw, 2.75rem);
  --text-h3: clamp(1.25rem, 2vw, 1.75rem);
  --text-h4: 1.125rem;
  --text-body-large: 1.125rem;
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-caption: 0.75rem;
  --text-navigation: 0.8125rem;
  --text-button: 0.875rem;

  --leading-display: 1.05;
  --leading-h1: 1.1;
  --leading-h2: 1.15;
  --leading-h3: 1.25;
  --leading-h4: 1.3;
  --leading-body-large: 1.7;
  --leading-body: 1.7;
  --leading-small: 1.6;
  --leading-caption: 1.5;
  --leading-navigation: 1.4;
  --leading-button: 1.2;

  --tracking-display: -0.02em;
  --tracking-h1: -0.015em;
  --tracking-h2: -0.01em;
  --tracking-h3: 0;
  --tracking-h4: 0.01em;
  --tracking-body-large: 0;
  --tracking-body: 0;
  --tracking-small: 0.01em;
  --tracking-caption: 0.08em;
  --tracking-navigation: 0.12em;
  --tracking-button: 0.08em;

  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;
  --space-6xl: 10rem;

  --container-primary: 1200px;
  --container-wide: 1440px;
  --container-narrow: 720px;

  --container-padding-mobile: 24px;
  --container-padding-tablet: 40px;
  --container-padding-desktop: 64px;

  --radius-navigation: 16px;
  --radius-card: 12px;
  --radius-button: 8px;
  --radius-image: 12px;
  --radius-badge: 6px;
  --radius-input: 8px;

  --border-hairline: 1px solid var(--color-atlantic-soft);
  --border-gold: 1px solid var(--color-sand-gold);

  --shadow-navigation: 0 8px 24px rgba(14, 42, 58, 0.06);

  --transition-calm: 180ms ease-out;
  --transition-reveal: 400ms ease-out;

  --font-weight-heading-display: 500;
  --font-weight-heading-h1: 500;
  --font-weight-heading-h2: 500;
  --font-weight-heading-h3: 600;
  --font-weight-heading-h4: 600;
  --font-weight-body: 400;
  --font-weight-body-large: 400;
  --font-weight-small: 400;
  --font-weight-caption: 500;
  --font-weight-navigation: 500;
  --font-weight-button: 600;
}

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

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--font-weight-body);
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-body);
  color: var(--color-atlantic);
  background-color: var(--color-pearl);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-atlantic);
  font-weight: var(--font-weight-heading-h2);
  line-height: var(--leading-h2);
  letter-spacing: var(--tracking-h2);
  margin-block-end: var(--space-md);
}

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

h2 {
  font-size: var(--text-h2);
  font-weight: var(--font-weight-heading-h2);
  line-height: var(--leading-h2);
  letter-spacing: var(--tracking-h2);
  margin-block-end: var(--space-lg);
}

h3 {
  font-size: var(--text-h3);
  font-weight: var(--font-weight-heading-h3);
  line-height: var(--leading-h3);
  letter-spacing: var(--tracking-h3);
  margin-block-end: var(--space-md);
}

h4 {
  font-family: var(--font-body);
  font-size: var(--text-h4);
  font-weight: var(--font-weight-heading-h4);
  line-height: var(--leading-h4);
  letter-spacing: var(--tracking-h4);
  margin-block-end: var(--space-sm);
}

p {
  font-size: var(--text-body);
  font-weight: var(--font-weight-body);
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-body);
  margin-block-end: var(--space-md);
}

blockquote {
  margin-block-end: var(--space-md);
  padding-inline-start: var(--space-lg);
  border-inline-start: 2px solid var(--color-sand-gold);
  color: var(--color-atlantic-mid);
  font-style: italic;
}

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

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

figcaption {
  font-size: var(--text-small);
  font-weight: var(--font-weight-small);
  line-height: var(--leading-small);
  letter-spacing: var(--tracking-small);
  color: var(--color-atlantic-mid);
  margin-block-start: var(--space-xs);
}

hr {
  border: none;
  border-top: var(--border-gold);
  margin-block: var(--space-lg);
}

address {
  font-style: normal;
}

strong {
  font-weight: 600;
}

em {
  font-style: italic;
}

small {
  font-size: var(--text-small);
  line-height: var(--leading-small);
  letter-spacing: var(--tracking-small);
}

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.9em;
}

pre {
  background-color: var(--color-atlantic);
  color: var(--color-pearl);
  padding: var(--space-md);
  border-radius: var(--radius-card);
  overflow-x: auto;
  margin-block-end: var(--space-md);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-block-end: var(--space-md);
  font-variant-numeric: tabular-nums;
}

th,
td {
  padding: var(--space-sm) var(--space-md);
  text-align: start;
  border-bottom: var(--border-hairline);
}

th {
  font-weight: 600;
  color: var(--color-atlantic-mid);
  font-size: var(--text-small);
  letter-spacing: var(--tracking-small);
  text-transform: uppercase;
}

caption {
  font-size: var(--text-caption);
  font-weight: var(--font-weight-caption);
  line-height: var(--leading-caption);
  letter-spacing: var(--tracking-caption);
  text-transform: uppercase;
  color: var(--color-atlantic-mid);
  margin-block-end: var(--space-sm);
  text-align: start;
}

fieldset {
  border: var(--border-hairline);
  border-radius: var(--radius-card);
  padding: var(--space-lg);
  margin-block-end: var(--space-md);
}

legend {
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: var(--tracking-small);
  text-transform: uppercase;
  color: var(--color-atlantic-mid);
  padding-inline: var(--space-xs);
}

label {
  display: block;
  font-size: var(--text-small);
  font-weight: 500;
  line-height: var(--leading-small);
  letter-spacing: var(--tracking-small);
  color: var(--color-atlantic);
  margin-block-end: var(--space-xs);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="date"],
input[type="time"],
select,
textarea {
  width: 100%;
  background-color: var(--color-pearl-raised);
  border: var(--border-hairline);
  border-radius: var(--radius-input);
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-body);
  font-weight: var(--font-weight-body);
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-body);
  color: var(--color-atlantic);
  transition: border-color var(--transition-calm);
  min-height: 44px;
}

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

input::placeholder,
textarea::placeholder {
  color: var(--color-atlantic-mid);
  opacity: 0.7;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
  border-color: var(--color-atlantic-mid);
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230E2A3A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-md) center;
  padding-inline-end: var(--space-xl);
}

input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-atlantic);
  margin-inline-end: var(--space-xs);
  vertical-align: middle;
}

input[type="checkbox"]:focus,
input[type="radio"]:focus {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

input[type="submit"],
input[type="reset"],
input[type="button"] {
  cursor: pointer;
}

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

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

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

.surface-raised {
  background-color: var(--color-pearl-raised);
  border: var(--border-hairline);
  border-radius: var(--radius-card);
}

.surface-pearl {
  background-color: var(--color-pearl);
  border: var(--border-hairline);
  border-radius: var(--radius-card);
}

.card {
  background-color: var(--color-pearl-raised);
  border: var(--border-hairline);
  border-radius: var(--radius-card);
  padding: var(--space-lg);
}

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

.panel {
  background-color: var(--color-pearl-raised);
  border: var(--border-hairline);
  border-radius: var(--radius-card);
  padding: var(--space-xl);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-family: var(--font-body);
  font-size: var(--text-button);
  font-weight: var(--font-weight-button);
  line-height: var(--leading-button);
  letter-spacing: var(--tracking-button);
  text-transform: uppercase;
  border-radius: var(--radius-button);
  padding: var(--space-sm) var(--space-lg);
  min-height: 44px;
  transition:
    background-color var(--transition-calm),
    border-color var(--transition-calm),
    color var(--transition-calm);
  white-space: nowrap;
  text-align: center;
}

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

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

.btn-secondary {
  background-color: transparent;
  color: var(--color-atlantic);
  border: 1px solid var(--color-atlantic);
}

.btn-secondary:hover {
  background-color: var(--color-pearl-raised);
  border-color: var(--color-atlantic-mid);
}

.btn-ghost {
  background-color: transparent;
  color: var(--color-atlantic);
  border: 1px solid transparent;
}

.btn-ghost:hover {
  background-color: var(--color-pearl-raised);
  border-color: var(--color-atlantic-soft);
}

.text-link {
  color: var(--color-atlantic);
  text-decoration: underline;
  text-decoration-color: var(--color-sand-gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition:
    text-decoration-thickness var(--transition-calm),
    color var(--transition-calm);
}

.text-link:hover {
  text-decoration-thickness: 2px;
  color: var(--color-atlantic-mid);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: var(--font-weight-caption);
  line-height: var(--leading-caption);
  letter-spacing: var(--tracking-caption);
  text-transform: uppercase;
  border-radius: var(--radius-badge);
  padding: var(--space-2xs) var(--space-sm);
  min-height: 24px;
  white-space: nowrap;
}

.badge-mint {
  background-color: rgba(143, 191, 178, 0.12);
  color: var(--color-atlantic-mid);
}

.badge-coral {
  background-color: rgba(217, 122, 95, 0.12);
  color: var(--color-coral);
}

.badge-outline {
  background-color: transparent;
  border: 1px solid var(--color-atlantic-soft);
  color: var(--color-atlantic-mid);
}

.divider-gold {
  border: none;
  border-top: var(--border-gold);
  margin-block: var(--space-lg);
}

.divider-soft {
  border: none;
  border-top: var(--border-hairline);
  margin-block: var(--space-lg);
}

.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-md);
  z-index: 10000;
  background-color: var(--color-pearl-raised);
  color: var(--color-atlantic);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-button);
  border: var(--border-hairline);
  font-weight: 600;
  transition: top var(--transition-calm);
}

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

.list-content {
  margin-block-end: var(--space-md);
  padding-inline-start: var(--space-lg);
}

.list-content li {
  margin-block-end: var(--space-xs);
  padding-inline-start: var(--space-sm);
  position: relative;
}

.list-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-sand-gold);
}

.list-content li:last-child {
  margin-block-end: 0;
}

.list-content ul,
.list-content ol {
  margin-block-start: var(--space-xs);
  margin-block-end: 0;
}

.flow > * + * {
  margin-block-start: var(--space-md);
}

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

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

@media (min-width: 640px) {
  .container,
  .container-wide,
  }

@media (min-width: 1024px) {
  .container,
  .container-wide,
  }

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