:root {
  --color-poker-green-900: #102923;
  --color-charcoal-950: #151716;
  --color-charcoal-800: #242826;
  --color-stone-700: #6f736b;
  --color-stone-300: #c8c5b8;
  --color-warm-ivory: #f2ebdd;
  --color-antique-brass: #b28a4a;
  --color-antique-brass-light: #d1ae6b;
  --color-antique-brass-dark: #8f6d39;
  --color-burgundy-700: #642f35;
  --color-success-green: #6f9a75;
  --color-focus-cream: #fff3c7;

  --color-page: var(--color-poker-green-900);
  --color-surface: var(--color-charcoal-800);
  --color-surface-strong: var(--color-charcoal-950);
  --color-text: var(--color-warm-ivory);
  --color-text-muted: var(--color-stone-300);
  --color-border: rgb(242 235 221 / 18%);
  --color-border-strong: var(--color-stone-700);
  --color-link: var(--color-warm-ivory);
  --color-link-hover: var(--color-antique-brass-light);

  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", Arial, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lead: 1.125rem;
  --text-intro: 1.5rem;
  --text-section: clamp(2rem, 3vw, 2.5rem);
  --text-page-title: clamp(3rem, 5.2vw, 4.25rem);
  --text-hero-title: clamp(4rem, 7vw, 5.5rem);

  --leading-tight: 1.05;
  --leading-heading: 1.12;
  --leading-body: 1.65;
  --leading-lead: 1.55;

  --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: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  --gutter: 1.25rem;
  --container-max: 77.5rem;
  --container-wide-max: 90rem;
  --section-space: 4rem;

  --radius-none: 0;
  --radius-control: 0.125rem;
  --radius-panel: 0.375rem;

  --shadow-elevated: 0 0.75rem 2rem rgb(0 0 0 / 28%);

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

@media (min-width: 48rem) {
  :root {
    --gutter: 2rem;
    --section-space: 5.5rem;
  }
}

@media (min-width: 80rem) {
  :root {
    --gutter: 3.5rem;
    --section-space: 7.5rem;
  }
}

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

html {
  min-width: 20rem;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-8);
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 20rem;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--color-page);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  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,
details {
  min-width: 0;
}

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

img,
video {
  height: auto;
}

svg {
  fill: currentColor;
}

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

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

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

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

a {
  color: var(--color-link);
  text-decoration-color: var(--color-antique-brass);
  text-decoration-thickness: 0.0625rem;
  text-underline-offset: 0.2em;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

a:hover {
  color: var(--color-link-hover);
  text-decoration-color: currentColor;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 0.125rem solid var(--color-focus-cream);
  outline-offset: 0.125rem;
}

::selection {
  background: var(--color-antique-brass);
  color: var(--color-charcoal-950);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 var(--space-4);
  color: var(--color-warm-ivory);
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: var(--leading-heading);
  text-wrap: balance;
}

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

h2 {
  font-size: var(--text-section);
}

h3 {
  font-size: clamp(1.625rem, 2.4vw, 2rem);
}

h4 {
  font-size: clamp(1.375rem, 2vw, 1.625rem);
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1.125rem;
}

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

ul,
ol {
  margin: 0 0 var(--space-4);
  padding-left: 1.25rem;
}

ul ul,
ul ol,
ol ul,
ol ol {
  margin-top: var(--space-2);
  margin-bottom: 0;
}

blockquote {
  margin: 0 0 var(--space-5);
  padding: var(--space-4) 0 var(--space-4) var(--space-5);
  border-left: 0.125rem solid var(--color-antique-brass);
  color: var(--color-warm-ivory);
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.25;
}

figure,
table,
pre,
hr,
dl {
  margin: 0 0 var(--space-5);
}

figcaption {
  margin-top: var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.5;
}

small {
  font-size: var(--text-sm);
}

strong {
  font-weight: 700;
}

hr {
  width: 100%;
  height: 0.0625rem;
  border: 0;
  background: var(--color-antique-brass);
}

code,
kbd,
pre,
samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

code,
kbd {
  padding: 0.1em 0.3em;
  border: 0.0625rem solid var(--color-border);
  background: var(--color-charcoal-800);
  font-size: 0.9em;
}

pre {
  max-width: 100%;
  overflow: auto;
  padding: var(--space-4);
  border: 0.0625rem solid var(--color-border);
  background: var(--color-charcoal-950);
  color: var(--color-text-muted);
}

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  color: var(--color-text);
}

th,
td {
  padding: var(--space-3);
  border-bottom: 0.0625rem solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--color-warm-ivory);
  font-size: var(--text-sm);
  font-weight: 700;
}

caption {
  margin-bottom: var(--space-2);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  text-align: left;
}

label {
  display: inline-block;
  margin-bottom: var(--space-2);
  color: var(--color-warm-ivory);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.4;
}

input,
select,
textarea {
  min-height: 3rem;
  padding: 0.6875rem 0.75rem;
  border: 0.0625rem solid var(--color-stone-700);
  border-radius: var(--radius-control);
  background: var(--color-charcoal-800);
  color: var(--color-warm-ivory);
  line-height: 1.4;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

textarea {
  min-height: 8rem;
}

input::placeholder,
textarea::placeholder {
  color: var(--color-stone-300);
  opacity: 0.78;
}

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

input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-antique-brass);
  outline: 0.125rem solid var(--color-focus-cream);
  outline-offset: 0.125rem;
}

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

input[type="file"] {
  padding: var(--space-2);
}

input[type="file"]::file-selector-button {
  margin-right: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border: 0;
  border-radius: var(--radius-control);
  background: var(--color-antique-brass);
  color: var(--color-charcoal-950);
  cursor: pointer;
  font-weight: 700;
}

fieldset {
  margin: 0 0 var(--space-5);
  padding: var(--space-4);
  border: 0.0625rem solid var(--color-border);
}

legend {
  padding: 0 var(--space-2);
  color: var(--color-warm-ivory);
  font-weight: 700;
}

summary {
  cursor: pointer;
}

details {
  margin-bottom: var(--space-4);
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--container-max));
  margin-inline: auto;
}

.container--wide {
  width: min(100% - (var(--gutter) * 2), var(--container-wide-max));
  margin-inline: auto;
}

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

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

.surface-dark {
  background: var(--color-charcoal-950);
  color: var(--color-warm-ivory);
}

.surface-elevated {
  background: var(--color-charcoal-800);
  color: var(--color-warm-ivory);
}

.surface-stone {
  background: var(--color-stone-300);
  color: var(--color-charcoal-950);
}

.surface-stone h1,
.surface-stone h2,
.surface-stone h3,
.surface-stone h4,
.surface-stone h5,
.surface-stone h6 {
  color: var(--color-charcoal-950);
}

.surface-stone a {
  color: var(--color-charcoal-950);
  text-decoration-color: var(--color-antique-brass-dark);
}

.surface-stone a:hover {
  color: var(--color-burgundy-700);
}

.eyebrow,
.section-marker,
.utility-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  color: var(--color-antique-brass-light);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.section-marker::after {
  width: 3rem;
  height: 0.0625rem;
  background: var(--color-antique-brass);
  content: "";
}

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

.intro {
  font-size: var(--text-intro);
  line-height: 1.35;
}

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

.text-brass {
  color: var(--color-antique-brass-light);
}

.content-list {
  display: grid;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  padding-left: 1.25rem;
}

.stack {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-4);
}

.cluster {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.cluster > * {
  min-width: 0;
}

.action-group {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

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

.button,
.button-link {
  display: inline-flex;
  min-width: 0;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border: 0.0625rem solid transparent;
  border-radius: var(--radius-control);
  background: var(--color-antique-brass);
  color: var(--color-charcoal-950);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color var(--transition-base), border-color var(--transition-base), color var(--transition-base), transform var(--transition-fast);
}

.button:hover,
.button-link:hover {
  background: var(--color-antique-brass-light);
  color: var(--color-charcoal-950);
}

.button:active,
.button-link:active {
  background: var(--color-antique-brass-dark);
  transform: translateY(0.0625rem);
}

.button:focus-visible,
.button-link:focus-visible {
  outline: 0.125rem solid var(--color-focus-cream);
  outline-offset: 0.125rem;
}

.button--full {
  width: 100%;
}

.button--secondary {
  border-color: transparent;
  background: transparent;
  color: var(--color-warm-ivory);
  text-decoration: underline;
  text-decoration-color: var(--color-antique-brass);
  text-decoration-thickness: 0.0625rem;
  text-underline-offset: 0.25em;
}

.button--secondary:hover {
  background: transparent;
  color: var(--color-antique-brass-light);
}

.button--secondary:active {
  background: transparent;
}

.panel {
  min-width: 0;
  padding: var(--space-5);
  border: 0.0625rem solid var(--color-border);
  border-radius: var(--radius-panel);
  background: var(--color-charcoal-800);
}

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

.panel--elevated {
  box-shadow: var(--shadow-elevated);
}

.rule {
  width: 100%;
  height: 0.0625rem;
  margin-block: var(--space-5);
  background: var(--color-antique-brass);
}

.visually-hidden,
.sr-only {
  position: absolute;
  width: 0.0625rem;
  height: 0.0625rem;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: var(--space-3);
  left: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-control);
  background: var(--color-focus-cream);
  color: var(--color-charcoal-950);
  font-weight: 800;
  transform: translateY(-200%);
  transition: transform var(--transition-fast);
}

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

:is(.stack, .panel, .surface-dark, .surface-elevated, .surface-stone) > :last-child {
  margin-bottom: 0;
}

@media (max-width: 47.4375rem) {
  .action-group {
    align-items: stretch;
  }

  .action-group > .button,
  .action-group > .button-link {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}