:root {
  --color-petrol: #0F2E2B;
  --color-graphite: #1E1E1E;
  --color-smoked-ivory: #F2E9E1;
  --color-copper: #B87333;
  --color-muted-gold: #C9A96E;
  --color-deep-copper: #8A5A2B;
  --color-soft-shadow: rgba(15, 46, 43, 0.6);
  --color-muted-gold-30: rgba(201, 169, 110, 0.3);
  --color-copper-10: rgba(184, 115, 51, 0.1);
  --color-petrol-overlay: rgba(15, 46, 43, 0.3);

  --font-heading: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;

  --text-display: clamp(2.5rem, 5vw + 1rem, 3.5rem);
  --text-h1: clamp(2rem, 3vw + 0.75rem, 2.5rem);
  --text-h2: clamp(1.75rem, 2vw + 0.5rem, 2rem);
  --text-h3: 1.5rem;
  --text-h4: 1.25rem;
  --text-body-large: 1.125rem;
  --text-body: 1rem;
  --text-caption: 0.875rem;
  --text-micro: 0.75rem;

  --leading-display: 1.1;
  --leading-h1: 1.2;
  --leading-h2: 1.25;
  --leading-h3: 1.3;
  --leading-h4: 1.4;
  --leading-body: 1.6;
  --leading-caption: 1.5;
  --leading-micro: 1.4;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 6rem;

  --container-max: 1200px;
  --container-padding-mobile: 24px;
  --container-padding-desktop: 48px;

  --radius-small: 4px;
  --radius-medium: 8px;
  --radius-large: 16px;

  --shadow-soft: 0 8px 24px var(--color-soft-shadow);
  --shadow-lift: 0 4px 12px var(--color-soft-shadow);

  --transition-fast: 200ms ease-in-out;
  --transition-medium: 300ms ease;
  --transition-menu: 250ms 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;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-smoked-ivory);
  background-color: var(--color-petrol);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  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(--color-copper);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-muted-gold);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-smoked-ivory);
  margin-block-end: var(--space-3);
}

h1 {
  font-size: var(--text-h1);
  line-height: var(--leading-h1);
}

h2 {
  font-size: var(--text-h2);
  line-height: var(--leading-h2);
  font-weight: 600;
}

h3 {
  font-size: var(--text-h3);
  line-height: var(--leading-h3);
  font-weight: 600;
}

h4 {
  font-family: var(--font-body);
  font-size: var(--text-h4);
  line-height: var(--leading-h4);
  font-weight: 600;
}

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

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

blockquote {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  line-height: var(--leading-h3);
  color: var(--color-muted-gold);
  margin-block-end: var(--space-4);
  padding-inline-start: var(--space-4);
  border-inline-start: 2px solid var(--color-copper);
}

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

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

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

figcaption {
  font-size: var(--text-caption);
  line-height: var(--leading-caption);
  color: var(--color-muted-gold);
  margin-block-start: var(--space-2);
}

address {
  font-style: normal;
}

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

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

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

@media (min-width: 768px) {
  .section {
    padding-block: var(--space-6);
  }
}

.section--large {
  padding-block: var(--space-6);
}

@media (min-width: 768px) {
  .section--large {
    padding-block: var(--space-8);
  }
}

.surface-card {
  background-color: var(--color-graphite);
  border: 1px solid var(--color-muted-gold-30);
  border-radius: var(--radius-medium);
  padding: var(--space-4);
}

.surface-light {
  background-color: var(--color-smoked-ivory);
  color: var(--color-graphite);
  border-radius: var(--radius-medium);
  padding: var(--space-4);
}

.surface-light h1,
.surface-light h2,
.surface-light h3,
.surface-light h4 {
  color: var(--color-graphite);
}

.surface-light p {
  color: var(--color-graphite);
}

.surface-light a {
  color: var(--color-copper);
}

.surface-light a:hover {
  color: var(--color-deep-copper);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 24px;
  border-radius: var(--radius-small);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  border: 1px solid transparent;
}

.btn:focus-visible {
  outline: 2px solid var(--color-copper);
  outline-offset: 2px;
}

.btn--primary {
  background-color: var(--color-copper);
  color: var(--color-smoked-ivory);
  border-color: var(--color-copper);
}

.btn--primary:hover {
  background-color: var(--color-deep-copper);
  border-color: var(--color-muted-gold);
  color: var(--color-smoked-ivory);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-copper);
  border-color: var(--color-copper);
}

.btn--secondary:hover {
  background-color: var(--color-copper-10);
  color: var(--color-copper);
  border-color: var(--color-muted-gold);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lift);
  }
}

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

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

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

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

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

.content-list--ordered {
  counter-reset: item;
  padding-inline-start: 0;
}

.content-list--ordered li {
  counter-increment: item;
  padding-inline-start: var(--space-4);
}

.content-list--ordered li::before {
  content: counter(item) ".";
  background: none;
  width: auto;
  height: auto;
  left: 0;
  top: 0;
  color: var(--color-copper);
  font-weight: 600;
}

.divider {
  border: none;
  border-top: 1px solid var(--color-muted-gold-30);
  margin-block: var(--space-4);
}

.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;
  top: -100%;
  left: var(--space-3);
  z-index: 1000;
  background-color: var(--color-copper);
  color: var(--color-smoked-ivory);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-small);
  font-weight: 500;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-3);
  color: var(--color-smoked-ivory);
}

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