:root {
  --color-obsidian: #08090c;
  --color-smoked-caviar: #0f1115;
  --color-dark-slate-graphite: #16181f;
  --color-brushed-graphite: #1e2129;
  --color-royal-lagoon-emerald: #0a241b;
  --color-deep-british-racing-green: #0d3024;
  --color-brushed-champagne-gold: #cfad63;
  --color-aged-muted-brass: #b89445;
  --color-rich-cognac: #9e5924;
  --color-deep-amber: #9e5924;
  --color-crisp-ivory: #f5f6f8;
  --color-muted-platinum-ash: #9ca3af;

  --font-heading: 'Playfair Display', 'Times New Roman', serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

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

  --text-h1-size: clamp(2rem, 3.5vw + 0.75rem, 3rem);
  --text-h1-line-height: 1.1;
  --text-h1-letter-spacing: -0.015em;
  --text-h1-weight: 700;

  --text-h2-size: clamp(1.5rem, 2.5vw + 0.5rem, 2.25rem);
  --text-h2-line-height: 1.15;
  --text-h2-letter-spacing: -0.01em;
  --text-h2-weight: 600;

  --text-h3-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.75rem);
  --text-h3-line-height: 1.2;
  --text-h3-letter-spacing: 0;
  --text-h3-weight: 600;

  --text-h4-size: clamp(1.1rem, 1vw + 0.5rem, 1.375rem);
  --text-h4-line-height: 1.25;
  --text-h4-letter-spacing: 0.06em;
  --text-h4-weight: 600;
  --text-h4-transform: uppercase;

  --text-body-large-size: 1.125rem;
  --text-body-large-line-height: 1.65;
  --text-body-large-letter-spacing: 0;
  --text-body-large-weight: 400;

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

  --text-body-small-size: 0.875rem;
  --text-body-small-line-height: 1.55;
  --text-body-small-letter-spacing: 0;
  --text-body-small-weight: 400;

  --text-caption-size: 0.75rem;
  --text-caption-line-height: 1.4;
  --text-caption-letter-spacing: 0.04em;
  --text-caption-weight: 500;
  --text-caption-transform: uppercase;

  --text-button-size: 0.9375rem;
  --text-button-line-height: 1;
  --text-button-letter-spacing: 0.06em;
  --text-button-weight: 600;
  --text-button-transform: uppercase;

  --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-width: 1200px;
  --container-padding-mobile: 1.5rem;
  --container-padding-desktop: 3rem;

  --surface-obsidian: #08090c;
  --surface-smoked-caviar: #0f1115;
  --surface-dark-slate-graphite: #16181f;
  --surface-brushed-graphite: #1e2129;

  --border-default: 1px solid #1e2129;
  --border-emphasis: 1px solid rgba(207, 173, 99, 0.4);
  --border-gold: 1px solid #cfad63;
  --border-aged-brass: 1px solid #b89445;

  --shadow-cinematic: 0 24px 64px rgba(0, 0, 0, 0.65);

  --radius-primary: 2px;
  --radius-modal: 4px;
  --radius-media: 0px;

  --focus-outline: 2px solid #cfad63;
  --focus-outline-offset: 2px;

  --transition-color-border: 180ms ease-out;
  --transition-opacity: 240ms ease-out;

  --font-feature-tnum: 'tnum' on, 'lnum' on;
}

*,
*::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 {
  min-height: 100vh;
  background-color: var(--color-obsidian);
  color: var(--color-crisp-ivory);
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  font-weight: var(--text-body-weight);
  line-height: var(--text-body-line-height);
  letter-spacing: var(--text-body-letter-spacing);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  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: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-crisp-ivory);
  font-weight: var(--text-h1-weight);
  line-height: var(--text-h1-line-height);
  letter-spacing: var(--text-h1-letter-spacing);
}

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

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

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

h4 {
  font-family: var(--font-body);
  font-size: var(--text-h4-size);
  line-height: var(--text-h4-line-height);
  letter-spacing: var(--text-h4-letter-spacing);
  font-weight: var(--text-h4-weight);
  text-transform: var(--text-h4-transform);
  margin-block-end: var(--space-md);
}

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

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

blockquote {
  margin-block-end: var(--space-lg);
  padding-inline-start: var(--space-lg);
  border-inline-start: 2px solid var(--color-brushed-champagne-gold);
  font-family: var(--font-heading);
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  color: var(--color-crisp-ivory);
}

blockquote p {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  margin-block-end: var(--space-sm);
}

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

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

figcaption {
  font-size: var(--text-caption-size);
  line-height: var(--text-caption-line-height);
  letter-spacing: var(--text-caption-letter-spacing);
  text-transform: var(--text-caption-transform);
  color: var(--color-muted-platinum-ash);
  margin-block-start: var(--space-xs);
}

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

dt {
  font-weight: 600;
  color: var(--color-crisp-ivory);
  margin-block-end: var(--space-2xs);
}

dd {
  margin-block-end: var(--space-md);
  color: var(--color-muted-platinum-ash);
}

hr {
  border: none;
  border-block-start: var(--border-default);
  margin-block: var(--space-2xl);
}

code,
kbd,
samp,
pre {
  font-family: 'SF Mono', 'Cascadia Code', 'Roboto Mono', monospace;
  font-size: 0.875em;
}

pre {
  background-color: var(--color-dark-slate-graphite);
  border: var(--border-default);
  border-radius: var(--radius-primary);
  padding: var(--space-md);
  overflow-x: auto;
  margin-block-end: var(--space-lg);
}

abbr[title] {
  text-decoration: underline dotted;
  text-underline-offset: 3px;
}

mark {
  background-color: var(--color-rich-cognac);
  color: var(--color-crisp-ivory);
  padding-inline: 0.2em;
}

small {
  font-size: var(--text-body-small-size);
  line-height: var(--text-body-small-line-height);
}

sub,
sup {
  font-size: 0.75em;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

address {
  font-style: normal;
  color: var(--color-muted-platinum-ash);
  margin-block-end: var(--space-md);
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: var(--container-padding-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-md);
  z-index: 10000;
  background-color: var(--color-brushed-champagne-gold);
  color: var(--color-obsidian);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-primary);
  font-size: var(--text-body-small-size);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: top var(--transition-color-border);
}

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

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

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

.btn--primary {
  background-color: var(--color-brushed-champagne-gold);
  color: var(--color-obsidian);
  border: 1px solid var(--color-brushed-champagne-gold);
}

.btn--primary:hover {
  background-color: var(--color-aged-muted-brass);
  border-color: var(--color-aged-muted-brass);
  color: var(--color-obsidian);
}

.btn--primary:active {
  background-color: var(--color-aged-muted-brass);
  border-color: var(--color-aged-muted-brass);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-crisp-ivory);
  border: 1px solid var(--color-aged-muted-brass);
}

.btn--secondary:hover {
  background-color: rgba(184, 148, 69, 0.1);
  border-color: var(--color-brushed-champagne-gold);
  color: var(--color-crisp-ivory);
}

.btn--secondary:active {
  background-color: rgba(184, 148, 69, 0.15);
  border-color: var(--color-brushed-champagne-gold);
}

.btn--tertiary {
  background-color: transparent;
  color: var(--color-crisp-ivory);
  border: none;
  padding-inline: 0;
  text-decoration: none;
  position: relative;
}

.btn--tertiary::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: transparent;
  transition: background-color var(--transition-color-border);
}

.btn--tertiary:hover {
  color: var(--color-brushed-champagne-gold);
}

.btn--tertiary:hover::after {
  background-color: var(--color-brushed-champagne-gold);
}

.btn--tertiary:active {
  color: var(--color-aged-muted-brass);
}

.btn--tertiary:active::after {
  background-color: var(--color-aged-muted-brass);
}

.btn--block {
  display: flex;
  width: 100%;
}

.text-link {
  color: var(--color-crisp-ivory);
  text-decoration: none;
  position: relative;
  transition: color var(--transition-color-border);
}

.text-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: transparent;
  transition: background-color var(--transition-color-border);
}

.text-link:hover {
  color: var(--color-brushed-champagne-gold);
}

.text-link:hover::after {
  background-color: var(--color-brushed-champagne-gold);
}

.text-link:active {
  color: var(--color-aged-muted-brass);
}

.text-link:active::after {
  background-color: var(--color-aged-muted-brass);
}

.card {
  background-color: var(--color-smoked-caviar);
  border: var(--border-default);
  border-radius: var(--radius-primary);
  padding: var(--space-lg);
}

.card--featured {
  border-block-start: 1px solid var(--color-brushed-champagne-gold);
}

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

.panel {
  background-color: var(--color-smoked-caviar);
  border: var(--border-default);
  border-radius: var(--radius-primary);
  padding: var(--space-lg);
}

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

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

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

.label {
  display: block;
  font-size: var(--text-body-small-size);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted-platinum-ash);
  margin-block-end: var(--space-xs);
}

.input,
.select,
.textarea {
  width: 100%;
  background-color: var(--color-dark-slate-graphite);
  border: var(--border-default);
  border-radius: var(--radius-primary);
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  color: var(--color-crisp-ivory);
  transition: border-color var(--transition-color-border), background-color var(--transition-color-border);
}

.input::placeholder,
.textarea::placeholder {
  color: var(--color-muted-platinum-ash);
}

.input:hover,
.select:hover,
.textarea:hover {
  border-color: var(--color-brushed-graphite);
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: var(--focus-outline);
  outline-offset: var(--focus-outline-offset);
  border-color: var(--color-brushed-champagne-gold);
}

.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='%239ca3af' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-md) center;
  padding-inline-end: var(--space-2xl);
}

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

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

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

.table th {
  font-family: var(--font-body);
  font-size: var(--text-body-small-size);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-brushed-champagne-gold);
  text-align: left;
  padding: var(--space-sm) var(--space-md);
  border-block-end: 1px solid var(--color-brushed-graphite);
  background-color: var(--color-dark-slate-graphite);
}

.table td {
  padding: var(--space-sm) var(--space-md);
  border-block-end: 1px solid var(--color-brushed-graphite);
  color: var(--color-crisp-ivory);
}

.table tbody tr:nth-child(even) {
  background-color: var(--color-smoked-caviar);
}

.table tbody tr:nth-child(odd) {
  background-color: var(--color-obsidian);
}

.table tbody tr:hover {
  background-color: var(--color-dark-slate-graphite);
}

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

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

.content-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background-color: var(--color-brushed-champagne-gold);
  border-radius: 0;
}

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

.content-list--ordered {
  list-style: decimal;
  padding-inline-start: var(--space-2xl);
}

.content-list--ordered li {
  padding-inline-start: 0;
}

.content-list--ordered li::before {
  display: none;
}

.tnum {
  font-feature-settings: var(--font-feature-tnum);
  font-variant-numeric: tabular-nums;
}

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

.surface-smoked-caviar {
  background-color: var(--color-smoked-caviar);
}

.surface-dark-slate-graphite {
  background-color: var(--color-dark-slate-graphite);
}

.surface-brushed-graphite {
  background-color: var(--color-brushed-graphite);
}

.text-ivory {
  color: var(--color-crisp-ivory);
}

.text-platinum-ash {
  color: var(--color-muted-platinum-ash);
}

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

.text-brass {
  color: var(--color-aged-muted-brass);
}

.text-cognac {
  color: var(--color-rich-cognac);
}

.border-default {
  border: var(--border-default);
}

.border-emphasis {
  border: var(--border-emphasis);
}

.border-gold {
  border: var(--border-gold);
}

.border-aged-brass {
  border: var(--border-aged-brass);
}

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

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

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

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

.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: 768px) {
  .container {
    padding-inline: var(--container-padding-desktop);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}