:root {
  --color-ash-charcoal: #1A1A1A;
  --color-petrol-green: #1F3A3D;
  --color-oxblood: #4A0E0E;
  --color-raw-copper: #B87333;
  --color-soft-stone: #E5E0D8;
  --color-dark-concrete: #2A2A2A;
  --color-grey-limestone: #9A9A9A;

  --color-raw-copper-20: rgba(184, 115, 51, 0.2);
  --color-raw-copper-10: rgba(184, 115, 51, 0.1);

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

  --text-display-size: clamp(2.75rem, 5vw + 1rem, 4.5rem);
  --text-display-line-height: 1.1;
  --text-display-weight: 700;

  --text-h1-size: clamp(2.25rem, 4vw + 0.75rem, 3.5rem);
  --text-h1-line-height: 1.2;
  --text-h1-weight: 700;

  --text-h2-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem);
  --text-h2-line-height: 1.3;
  --text-h2-weight: 600;

  --text-h3-size: clamp(1.375rem, 2vw + 0.375rem, 1.75rem);
  --text-h3-line-height: 1.4;
  --text-h3-weight: 600;

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

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

  --text-caption-size: 0.875rem;
  --text-caption-line-height: 1.4;
  --text-caption-weight: 400;

  --text-overline-size: 0.75rem;
  --text-overline-line-height: 1.2;
  --text-overline-weight: 600;
  --text-overline-letter-spacing: 0.125em;

  --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: 75rem;
  --container-gutter: 1.5rem;

  --surface-primary: var(--color-ash-charcoal);
  --surface-secondary: var(--color-dark-concrete);
  --surface-accent: var(--color-petrol-green);

  --border-subtle: 1px solid var(--color-raw-copper-20);
  --border-image-inner: 1px solid var(--color-raw-copper-10);

  --shadow-ambient: 0 2px 8px rgba(0, 0, 0, 0.35), 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-lift: 0 4px 12px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.3);

  --radius-structural: 0px;
  --radius-card: 4px;
  --radius-control: 8px;
  --radius-circle: 50%;

  --transition-fast: 200ms ease-in-out;
  --focus-ring: 2px solid var(--color-raw-copper);
}

*,
*::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-soft-stone);
  background-color: var(--surface-primary);
  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;
}

a {
  color: var(--color-soft-stone);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-raw-copper);
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-soft-stone);
  margin-block-end: var(--space-4);
}

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

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

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

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

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

h6 {
  font-size: var(--text-caption-size);
  line-height: var(--text-caption-line-height);
  font-weight: 600;
}

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

blockquote {
  margin-block-end: var(--space-4);
  padding-inline-start: var(--space-4);
  border-inline-start: 2px solid var(--color-raw-copper);
  color: var(--color-grey-limestone);
}

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

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

address {
  font-style: normal;
}

hr {
  border: none;
  border-block-start: 1px solid var(--color-raw-copper-20);
  margin-block: var(--space-6);
}

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

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

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

.surface {
  background-color: var(--surface-secondary);
  border: var(--border-subtle);
  border-radius: var(--radius-card);
  padding: var(--space-4);
}

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

.overline {
  font-size: var(--text-overline-size);
  line-height: var(--text-overline-line-height);
  font-weight: var(--text-overline-weight);
  letter-spacing: var(--text-overline-letter-spacing);
  text-transform: uppercase;
  color: var(--color-raw-copper);
  margin-block-end: var(--space-3);
}

.caption {
  font-size: var(--text-caption-size);
  line-height: var(--text-caption-line-height);
  color: var(--color-grey-limestone);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  font-weight: 600;
  line-height: 1.2;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-structural);
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--color-oxblood);
  color: var(--color-soft-stone);
  border: 1px solid var(--color-oxblood);
}

.btn--primary:hover {
  background-color: var(--color-raw-copper);
  color: var(--color-ash-charcoal);
  border-color: var(--color-raw-copper);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-raw-copper);
  border: 1px solid var(--color-raw-copper);
  border-radius: var(--radius-control);
}

.btn--secondary:hover {
  background-color: var(--color-raw-copper);
  color: var(--color-ash-charcoal);
  border-color: var(--color-raw-copper);
}

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

.btn--ghost:hover {
  color: var(--color-raw-copper);
  border-color: var(--color-raw-copper-20);
}

.card {
  background-color: var(--surface-secondary);
  border: var(--border-subtle);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: var(--color-raw-copper);
}

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

input,
textarea,
select {
  background-color: var(--surface-secondary);
  border: 1px solid var(--color-raw-copper-20);
  border-radius: var(--radius-control);
  padding: var(--space-3);
  color: var(--color-soft-stone);
  width: 100%;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input::placeholder,
textarea::placeholder {
  color: var(--color-grey-limestone);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-raw-copper);
  box-shadow: 0 0 0 2px var(--color-raw-copper-20);
}

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

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

@media (max-width: 48rem) {
  .section {
    padding-block: var(--space-6);
  }

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

  .container {
    padding-inline: var(--space-4);
  }
}