:root {
  --color-alabaster: #fdfbf7;
  --color-linen: #f8f6f0;
  --color-charcoal: #1c1917;
  --color-copper: #ea580c;
  --color-copper-dark: #c2410c;
  --color-olive: #4d7c0f;
  --color-stone: #e7e5e4;
  --color-white: #ffffff;
  --color-copper-tint: rgba(234, 88, 12, 0.08);
  --color-shadow: rgba(28, 25, 23, 0.1);

  --font-body: Geologica, "Avenir Next", "Segoe UI", sans-serif;
  --font-heading: "DM Serif Display", Georgia, serif;

  --text-display: clamp(3.25rem, 7vw, 6.5rem);
  --text-h1: clamp(2.75rem, 5vw, 4.75rem);
  --text-h2: clamp(2rem, 3.5vw, 3.25rem);
  --text-h3: clamp(1.35rem, 2vw, 1.8rem);
  --text-intro: clamp(1.125rem, 1.6vw, 1.35rem);
  --text-body: 1rem;
  --text-small: 0.8125rem;
  --text-label: 0.875rem;

  --leading-display: 0.95;
  --leading-heading: 1.02;
  --leading-h2: 1.08;
  --leading-h3: 1.2;
  --leading-body: 1.6;
  --leading-small: 1.35;
  --leading-label: 1;

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

  --container-max: 1180px;
  --container-padding: 24px;
  --section-padding: 4.5rem;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --border-default: 1px solid var(--color-stone);
  --shadow-card: 0 14px 36px var(--color-shadow);
  --shadow-card-hover: 0 18px 42px rgba(28, 25, 23, 0.14);

  --transition-fast: 160ms ease;
  --transition-base: 220ms ease;
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--color-alabaster);
  color: var(--color-charcoal);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: var(--leading-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main,
header,
footer,
section,
article,
aside,
nav,
figure,
form,
fieldset,
blockquote,
dl,
dd {
  margin: 0;
}

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

img,
video {
  height: auto;
}

img {
  font-style: italic;
}

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

button,
select {
  cursor: pointer;
}

button {
  border: 0;
  background: none;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

input,
select,
textarea {
  width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

a:not(.button):not(.button-secondary):not(.button-olive) {
  text-decoration-color: var(--color-copper);
}

a:not(.button):not(.button-secondary):not(.button-olive):hover {
  color: var(--color-copper);
}

strong,
b {
  font-weight: 700;
}

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

hr {
  height: 1px;
  margin: var(--space-6) 0;
  border: 0;
  background: var(--color-stone);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  color: var(--color-charcoal);
  font-family: var(--font-heading);
  font-weight: 400;
  text-wrap: balance;
}

h1 {
  margin-block-end: var(--space-5);
  font-size: var(--text-h1);
  line-height: var(--leading-heading);
}

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

h3 {
  margin-block-end: var(--space-3);
  font-size: var(--text-h3);
  font-weight: 600;
  line-height: var(--leading-h3);
}

h4,
h5,
h6 {
  margin-block-end: var(--space-3);
  font-size: 1.125rem;
  line-height: 1.3;
}

p {
  margin-top: 0;
  margin-block-end: var(--space-4);
  font-size: var(--text-body);
  line-height: var(--leading-body);
}

ul,
ol {
  margin-top: 0;
  margin-block-end: var(--space-4);
  padding-inline-start: 1.25rem;
}

li::marker {
  color: var(--color-copper);
}

blockquote {
  margin-block-end: var(--space-5);
  padding: var(--space-5);
  border-inline-start: 2px solid var(--color-copper);
  background: var(--color-linen);
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.35;
}

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

figcaption {
  margin-top: var(--space-2);
  color: var(--color-charcoal);
  font-size: var(--text-small);
  line-height: var(--leading-small);
}

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

th,
td {
  padding: var(--space-3);
  border-bottom: var(--border-default);
  text-align: start;
  vertical-align: top;
}

th {
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

label {
  display: inline-block;
  margin-block-end: var(--space-2);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: var(--leading-small);
  text-transform: uppercase;
}

input,
select,
textarea {
  min-height: 48px;
  padding: 0.75rem 0.875rem;
  border: var(--border-default);
  border-radius: var(--radius-md);
  background: var(--color-white);
  line-height: 1.4;
  transition: border-color var(--transition-fast), outline-color var(--transition-fast), background-color var(--transition-fast);
}

textarea {
  padding-block: 0.875rem;
}

input::placeholder,
textarea::placeholder {
  color: rgba(28, 25, 23, 0.58);
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--color-copper);
}

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

input[type="checkbox"],
input[type="radio"] {
  width: 1.125rem;
  min-height: 1.125rem;
  padding: 0;
  accent-color: var(--color-copper);
}

fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-block-end: var(--space-3);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

::selection {
  background: var(--color-copper);
  color: var(--color-white);
}

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

.container {
  width: min(var(--container-max), calc(100% - 48px));
  margin-inline: auto;
}

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

.section-linen {
  background: var(--color-linen);
}

.section-alabaster {
  background: var(--color-alabaster);
}

.section-dark {
  background: var(--color-charcoal);
  color: var(--color-white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
  color: var(--color-white);
}

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

.card {
  min-width: 0;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  border: var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.card > :last-child,
.panel > :last-child,
.content-group > :last-child {
  margin-block-end: 0;
}

.panel {
  min-width: 0;
  padding: var(--space-5);
  border: var(--border-default);
  border-radius: var(--radius-md);
  background: var(--color-white);
}

.eyebrow {
  display: inline-block;
  margin-block-end: var(--space-3);
  color: var(--color-olive);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: var(--leading-small);
  text-transform: uppercase;
}

.eyebrow-copper {
  color: var(--color-copper);
}

.display {
  margin-block-end: var(--space-5);
  font-family: var(--font-heading);
  font-size: var(--text-display);
  font-weight: 400;
  line-height: var(--leading-display);
  text-wrap: balance;
}

.intro {
  margin-block-end: var(--space-5);
  font-size: var(--text-intro);
  line-height: 1.5;
}

.meta {
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: var(--leading-small);
}

.content-list {
  padding-inline-start: 1.25rem;
}

.content-list > .button,
.button-secondary,
.button-olive {
  display: inline-flex;
  min-width: 44px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  max-width: 100%;
  padding: 0.875rem 1.125rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: var(--leading-label);
  text-align: center;
  text-decoration: none;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.button {
  background: var(--color-copper);
  color: var(--color-white);
}

.button:hover {
  background: var(--color-copper-dark);
  color: var(--color-white);
  box-shadow: 0 2px 0 var(--color-charcoal);
}

.button-secondary {
  border-color: var(--color-stone);
  background: var(--color-white);
  color: var(--color-charcoal);
}

.button-secondary:hover {
  border-color: var(--color-copper);
  background: var(--color-copper-tint);
  color: var(--color-copper);
}

.button-olive {
  background: var(--color-olive);
  color: var(--color-white);
}

.button-olive:hover {
  background: #3f650c;
  color: var(--color-white);
  box-shadow: 0 2px 0 var(--color-charcoal);
}

.button:focus-visible,
.button-secondary:focus-visible,
.button-olive:focus-visible {
  outline: 2px solid var(--color-copper);
  outline-offset: 3px;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  min-width: 0;
}

.button-group > * {
  min-width: 0;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  min-height: 1.75rem;
  padding: 0.375rem 0.625rem;
  border-radius: var(--radius-pill);
  background: var(--color-copper-tint);
  color: var(--color-charcoal);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.status-olive {
  background: rgba(77, 124, 15, 0.12);
  color: var(--color-olive);
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-linen);
}

.media-frame img,
.media-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.divider {
  height: 1px;
  border: 0;
  background: var(--color-stone);
}

.rule-copper {
  width: 48px;
  height: 2px;
  margin: 0 0 var(--space-4);
  border: 0;
  background: var(--color-copper);
}

.progress {
  width: 100%;
  height: 2px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--color-stone);
}

.progress > span {
  display: block;
  width: var(--progress-value, 0%);
  height: 100%;
  border-radius: inherit;
  background: var(--color-copper);
}

.progress-complete > span {
  background: var(--color-olive);
}

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

@media (max-width: 900px) {
  :root {
    --container-padding: 20px;
    --section-padding: 3.5rem;
  }

  .container {
    width: min(var(--container-max), calc(100% - 40px));
  }

  .card {
    padding: 1.75rem;
  }
}

@media (max-width: 720px) {
  :root {
    --container-padding: 16px;
    --section-padding: 2.5rem;
  }

  .container {
    width: min(var(--container-max), calc(100% - 32px));
  }

  .button-group {
    align-items: stretch;
    flex-direction: column;
  }

  .button-group > .button,
  .button-group > .button-secondary,
  .button-group > .button-olive {
    width: 100%;
  }

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

  blockquote {
    padding: var(--space-4);
  }

  th,
  td {
    padding: var(--space-2);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms;
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }

  .card:hover {
    transform: none;
  }
}

ul { list-style: none !important; }

.nav-toggle { flex-direction: column; }
html, body {
  overflow-x: clip;
  max-width: 100%;
}

img, video, svg {
  max-width: 100%;
  height: auto;
}
