:root {
  --color-navy-900: #0B1424;
  --color-navy-800: #111E33;
  --color-bottle-green-700: #1F3A2E;
  --color-burgundy-700: #5C1F2B;
  --color-cream-100: #F4EBDD;
  --color-cream-200: #E8DCC8;
  --color-wood-800: #2A1C12;
  --color-gold-400: #C6A15B;
  --color-gold-200: #E7D3A8;
  --color-ink-900: #1A1A1A;
  --color-ink-600: #4A4A4A;
  --color-success-600: #2E6B4F;
  --color-error-600: #A33A3A;

  --font-heading: "Cormorant Garamond", serif;
  --font-body: "Inter", sans-serif;

  --text-display-size: clamp(2.5rem, 5vw + 1rem, 4rem);
  --text-display-line-height: 1.05;
  --text-display-weight: 500;
  --text-display-tracking: -0.02em;

  --text-h1-size: clamp(2rem, 3.5vw + 0.75rem, 3rem);
  --text-h1-line-height: 1.1;
  --text-h1-weight: 500;
  --text-h1-tracking: -0.01em;

  --text-h2-size: clamp(1.75rem, 2.5vw + 0.5rem, 2.25rem);
  --text-h2-line-height: 1.15;
  --text-h2-weight: 500;

  --text-h3-size: clamp(1.5rem, 2vw + 0.375rem, 1.75rem);
  --text-h3-line-height: 1.2;
  --text-h3-weight: 500;

  --text-h4-size: clamp(1.25rem, 1.5vw + 0.25rem, 1.375rem);
  --text-h4-line-height: 1.25;
  --text-h4-weight: 600;

  --text-body-lg-size: 1.125rem;
  --text-body-lg-line-height: 1.6;
  --text-body-lg-weight: 400;

  --text-body-size: 1rem;
  --text-body-line-height: 1.6;
  --text-body-weight: 400;

  --text-small-size: 0.875rem;
  --text-small-line-height: 1.5;
  --text-small-weight: 400;

  --text-caption-size: 0.75rem;
  --text-caption-line-height: 1.4;
  --text-caption-weight: 500;
  --text-caption-tracking: 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;

  --container-max: 75rem;
  --container-narrow: 45rem;
  --container-gutter-mobile: 1.5rem;
  --container-gutter-tablet: 3rem;
  --container-gutter-desktop: 4rem;

  --surface-navy-900: var(--color-navy-900);
  --surface-navy-800: var(--color-navy-800);
  --surface-bottle-green-700: var(--color-bottle-green-700);
  --surface-burgundy-700: var(--color-burgundy-700);
  --surface-cream-100: var(--color-cream-100);
  --surface-cream-200: var(--color-cream-200);
  --surface-wood-800: var(--color-wood-800);
  --surface-gold-200: var(--color-gold-200);

  --border-gold-30: rgba(198, 161, 91, 0.3);
  --border-cream-40: rgba(232, 220, 200, 0.4);
  --border-cream-200: var(--color-cream-200);

  --shadow-dark: 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-light: 0 4px 16px rgba(0, 0, 0, 0.08);

  --radius-none: 0px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --transition-fast: 200ms ease;
  --transition-page: 300ms ease;

  --focus-ring: 2px solid var(--color-gold-400);
  --focus-ring-offset: 2px;
}

*,
*::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;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  font-weight: var(--text-body-weight);
  line-height: var(--text-body-line-height);
  color: var(--color-cream-100);
  background-color: var(--color-navy-900);
  min-height: 100vh;
  min-width: 320px;
  -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;
}

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

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

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: var(--text-h1-weight);
  color: inherit;
  text-wrap: balance;
}

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

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

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

h4 {
  font-size: var(--text-h4-size);
  line-height: var(--text-h4-line-height);
  font-weight: var(--text-h4-weight);
  margin-block-end: var(--space-sm);
}

h5,
h6 {
  font-size: var(--text-h4-size);
  line-height: var(--text-h4-line-height);
  font-weight: var(--text-h4-weight);
  margin-block-end: var(--space-sm);
}

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

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

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

.body-lg {
  font-size: var(--text-body-lg-size);
  line-height: var(--text-body-lg-line-height);
  font-weight: var(--text-body-lg-weight);
  margin-block-end: var(--space-md);
}

.small {
  font-size: var(--text-small-size);
  line-height: var(--text-small-line-height);
  font-weight: var(--text-small-weight);
  margin-block-end: var(--space-sm);
}

.caption {
  font-size: var(--text-caption-size);
  line-height: var(--text-caption-line-height);
  font-weight: var(--text-caption-weight);
  letter-spacing: var(--text-caption-tracking);
  text-transform: uppercase;
  margin-block-end: var(--space-xs);
}

blockquote {
  font-family: var(--font-heading);
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  margin-block-end: var(--space-lg);
  padding-inline-start: var(--space-lg);
  border-inline-start: 1px solid var(--color-gold-400);
  color: var(--color-cream-100);
}

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

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

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

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li {
  margin-block-end: var(--space-xs);
}

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

.content-list li {
  margin-block-end: var(--space-xs);
}

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

table {
  width: 100%;
  border-collapse: collapse;
  margin-block-end: var(--space-lg);
}

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

th,
td {
  text-align: start;
  padding: var(--space-sm) var(--space-md);
  border-block-end: 1px solid var(--border-cream-40);
}

th {
  font-family: var(--font-heading);
  font-weight: var(--text-h4-weight);
  font-size: var(--text-small-size);
  letter-spacing: var(--text-caption-tracking);
  text-transform: uppercase;
  color: var(--color-gold-400);
}

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

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

figcaption {
  font-size: var(--text-small-size);
  line-height: var(--text-small-line-height);
  color: var(--color-ink-600);
  margin-block-start: var(--space-xs);
}

hr {
  border: none;
  border-block-start: 1px solid var(--border-gold-30);
  margin-block: var(--space-xl);
}

address {
  font-style: normal;
}

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

.surface-navy-900 {
  background-color: var(--surface-navy-900);
}

.surface-navy-800 {
  background-color: var(--surface-navy-800);
}

.surface-bottle-green-700 {
  background-color: var(--surface-bottle-green-700);
}

.surface-burgundy-700 {
  background-color: var(--surface-burgundy-700);
}

.surface-cream-100 {
  background-color: var(--surface-cream-100);
  color: var(--color-ink-900);
}

.surface-cream-200 {
  background-color: var(--surface-cream-200);
  color: var(--color-ink-900);
}

.surface-wood-800 {
  background-color: var(--surface-wood-800);
}

.surface-gold-200 {
  background-color: var(--surface-gold-200);
  color: var(--color-ink-900);
}

.text-cream-100 {
  color: var(--color-cream-100);
}

.text-ink-900 {
  color: var(--color-ink-900);
}

.text-ink-600 {
  color: var(--color-ink-600);
}

.text-gold-400 {
  color: var(--color-gold-400);
}

.text-success-600 {
  color: var(--color-success-600);
}

.text-error-600 {
  color: var(--color-error-600);
}

.radius-none {
  border-radius: var(--radius-none);
}

.radius-sm {
  border-radius: var(--radius-sm);
}

.radius-md {
  border-radius: var(--radius-md);
}

.radius-lg {
  border-radius: var(--radius-lg);
}

.shadow-dark {
  box-shadow: var(--shadow-dark);
}

.shadow-light {
  box-shadow: var(--shadow-light);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  font-weight: var(--text-body-weight);
  line-height: 1.2;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  min-height: 48px;
  text-align: center;
}

.btn:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-ring-offset);
}

.btn-primary {
  background-color: var(--color-gold-400);
  color: var(--color-navy-900);
  border-color: var(--color-gold-400);
}

.btn-primary:hover {
  background-color: var(--color-gold-200);
  border-color: var(--color-gold-200);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-cream-100);
  border-color: var(--color-gold-400);
}

.btn-secondary:hover {
  background-color: rgba(198, 161, 91, 0.1);
  border-color: var(--color-gold-200);
  color: var(--color-gold-200);
}

.btn-burgundy {
  background-color: var(--color-burgundy-700);
  color: var(--color-cream-100);
  border-color: var(--color-burgundy-700);
}

.btn-burgundy:hover {
  background-color: #6e2533;
  border-color: #6e2533;
}

.card {
  background-color: var(--color-cream-100);
  color: var(--color-ink-900);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid var(--border-cream-200);
}

.card-navy {
  background-color: var(--color-navy-800);
  color: var(--color-cream-100);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid rgba(198, 161, 91, 0.2);
}

.card-green {
  background-color: var(--color-bottle-green-700);
  color: var(--color-cream-100);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid rgba(198, 161, 91, 0.2);
}

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

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

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

.form-label {
  font-size: var(--text-small-size);
  font-weight: var(--text-caption-weight);
  letter-spacing: var(--text-caption-tracking);
  text-transform: uppercase;
  color: var(--color-cream-100);
}

.form-input,
.form-textarea,
.form-select {
  background-color: var(--color-navy-800);
  border: 1px solid var(--border-cream-40);
  border-radius: var(--radius-sm);
  padding: var(--space-sm) var(--space-md);
  color: var(--color-cream-100);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  min-height: 48px;
  width: 100%;
  transition: border-color var(--transition-fast);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(244, 235, 221, 0.5);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-gold-400);
}

.form-input:focus-visible,
.form-textarea:focus-visible,
.form-select:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-ring-offset);
}

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

.form-select {
  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' stroke='%23C6A15B' stroke-width='1.5' fill='none' 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-2xl);
}

.form-hint {
  font-size: var(--text-small-size);
  line-height: var(--text-small-line-height);
  color: var(--color-ink-600);
}

.form-error {
  font-size: var(--text-small-size);
  line-height: var(--text-small-line-height);
  color: var(--color-error-600);
}

.form-success {
  font-size: var(--text-small-size);
  line-height: var(--text-small-line-height);
  color: var(--color-success-600);
}

.section {
  padding-block: var(--space-3xl);
}

.section-sm {
  padding-block: var(--space-2xl);
}

.section-lg {
  padding-block: var(--space-4xl);
}

.section > :last-child,
.section-sm > :last-child,
.section-lg > :last-child {
  margin-block-end: 0;
}

.section-heading {
  margin-block-end: var(--space-xl);
}

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

.gold-underline {
  display: inline-block;
  position: relative;
  padding-block-end: var(--space-xs);
}

.gold-underline::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: 0;
  width: 3rem;
  height: 1px;
  background-color: var(--color-gold-400);
}

.gold-divider {
  border: none;
  border-block-start: 1px solid var(--color-gold-400);
  margin-block: var(--space-xl);
}

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

.flex-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.flex-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.flex-start {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.flex-end {
  display: flex;
  align-items: flex-end;
  gap: var(--space-md);
}

.flex > *,
.flex-column > *,
.flex-wrap > *,
.flex-center > *,
.flex-between > *,
.flex-start > *,
.flex-end > * {
  min-width: 0;
}

.flex-grow {
  flex: 1 1 0%;
  min-width: 0;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

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

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

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

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

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

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-lg);
}

.grid-2 > *,
.grid-3 > *,
.grid-4 > * {
  min-width: 0;
}

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

.grid-gap-md {
  gap: var(--space-md);
}

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

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

.grid-gap-2xl {
  gap: var(--space-2xl);
}

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

.skip-link {
  position: absolute;
  inset-block-start: var(--space-sm);
  inset-inline-start: var(--space-sm);
  z-index: 9999;
  background-color: var(--color-gold-400);
  color: var(--color-navy-900);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-sm);
  font-weight: var(--text-caption-weight);
  transform: translateY(-200%);
  transition: transform var(--transition-fast);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-ring-offset);
}

::selection {
  background-color: var(--color-gold-400);
  color: var(--color-navy-900);
}

@media (min-width: 48rem) {
  .container,
  .section {
    padding-block: var(--space-4xl);
  }

  .section-sm {
    padding-block: var(--space-3xl);
  }

  .section-lg {
    padding-block: var(--space-5xl);
  }
}

@media (min-width: 75rem) {
  .container,
  }

@media (max-width: 47.9375rem) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .flex,
  .flex-wrap,
  .flex-center,
  .flex-between,
  .flex-start,
  .flex-end {
    flex-wrap: wrap;
  }

  .flex-between {
    align-items: flex-start;
  }
}

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