@charset "UTF-8";

:root {
  --color-emerald-950: #022c22;
  --color-emerald-900: #064e3b;
  --color-emerald-700: #047857;
  --color-copper-600: #ea580c;
  --color-gold-500: #eab308;
  --color-white: #ffffff;
  --color-white-muted: rgba(255, 255, 255, 0.75);
  --color-white-faint: rgba(255, 255, 255, 0.55);

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

  --text-display: clamp(2.5rem, 5vw + 1rem, 3.5rem);
  --text-h1: clamp(2rem, 3.5vw + 0.75rem, 2.5rem);
  --text-h2: clamp(1.75rem, 2.5vw + 0.5rem, 2rem);
  --text-h3: clamp(1.375rem, 1.5vw + 0.5rem, 1.5rem);
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-caption: 0.75rem;

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

  --tracking-heading: -0.02em;
  --tracking-eyebrow: 0.15em;

  --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-gutter: 1.5rem;
  --section-padding-desktop: 6rem;
  --section-padding-tablet: 4rem;
  --section-padding-mobile: 3rem;
  --card-padding: 1.5rem;
  --card-padding-mobile: 1rem;
  --grid-gutter: 1.5rem;

  --surface-background: var(--color-emerald-950);
  --surface-elevated: var(--color-emerald-900);
  --surface-accent: var(--color-emerald-700);

  --border-subtle: 1px solid rgba(255, 255, 255, 0.1);
  --border-accent: 1px solid var(--color-emerald-700);
  --border-copper: 1px solid var(--color-copper-600);

  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-card-hover: 0 8px 32px rgba(0, 0, 0, 0.4);

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

  --focus-ring: 2px solid var(--color-copper-600);
  --focus-glow: 0 0 0 4px rgba(234, 88, 12, 0.25);

  --transition-fast: 0.2s ease;

  --touch-target-min: 44px;
}

*,
*::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;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  font-weight: 400;
  color: var(--color-white);
  background-color: var(--surface-background);
  min-height: 100vh;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: var(--tracking-heading);
  color: var(--color-white);
  line-height: var(--leading-h1);
  margin-block-end: var(--space-4);
}

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

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

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

h4,
h5,
h6 {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  margin-block-end: var(--space-3);
}

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

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

a {
  color: var(--color-white);
  text-decoration: none;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
  text-decoration-color: transparent;
  text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
  color: var(--color-copper-600);
  text-decoration: underline;
  text-decoration-color: var(--color-copper-600);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
  box-shadow: var(--focus-glow);
}

ul,
ol {
  list-style: none !important;
  padding-inline-start: 0;
  margin-block-end: var(--space-4);
}

ul:last-child,
ol:last-child {
  margin-block-end: 0;
}

ul:not([class]) li,
ol:not([class]) li {
  margin-block-end: var(--space-2);
}

ul:not([class]) li:last-child,
ol:not([class]) li:last-child {
  margin-block-end: 0;
}

blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: var(--text-h3);
  line-height: var(--leading-h3);
  color: var(--color-white);
  border-inline-start: 3px solid var(--color-copper-600);
  padding-inline-start: var(--space-4);
  margin-block-end: var(--space-5);
}

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

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

img {
  border-radius: var(--radius-small);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

hr {
  border: none;
  border-block-start: var(--border-subtle);
  margin-block: var(--space-6);
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  min-height: var(--touch-target-min);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-small);
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

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

input,
textarea,
select {
  background-color: var(--surface-background);
  border: var(--border-subtle);
  border-radius: var(--radius-small);
  padding: var(--space-3);
  color: var(--color-white);
  min-height: var(--touch-target-min);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
}

input::placeholder,
textarea::placeholder {
  color: var(--color-white-faint);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--color-copper-600);
  outline: none;
  box-shadow: var(--focus-glow);
}

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

label {
  display: block;
  font-size: var(--text-small);
  line-height: var(--leading-small);
  color: var(--color-white-muted);
  margin-block-end: var(--space-2);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-block-end: var(--space-5);
}

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

th,
td {
  text-align: start;
  padding: var(--space-3);
  border-block-end: var(--border-subtle);
  font-size: var(--text-small);
  line-height: var(--leading-small);
}

th {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: var(--tracking-heading);
}

td {
  color: var(--color-white-muted);
}

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

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

.section-header {
  text-align: center;
  margin-block-end: var(--space-6);
}

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-small);
  line-height: var(--leading-small);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-copper-600);
  margin-block-end: var(--space-3);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background-color: var(--color-copper-600);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 600;
  line-height: var(--leading-body);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-small);
  border: 1px solid var(--color-copper-600);
  min-height: var(--touch-target-min);
  text-decoration: none;
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.btn:hover,
.btn:focus-visible {
  background-color: #c2410c;
  border-color: #c2410c;
  color: var(--color-white);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}

.btn:active {
  transform: translateY(1px);
}

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

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background-color: var(--surface-accent);
  border-color: var(--color-emerald-700);
  color: var(--color-white);
  text-decoration: none;
}

.btn-ghost {
  background-color: transparent;
  border-color: transparent;
  color: var(--color-white-muted);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background-color: transparent;
  border-color: transparent;
  color: var(--color-copper-600);
  text-decoration: underline;
  text-decoration-color: var(--color-copper-600);
  box-shadow: none;
}

.card {
  background-color: var(--surface-elevated);
  border: var(--border-subtle);
  border-radius: var(--radius-medium);
  padding: var(--card-padding);
  box-shadow: var(--shadow-soft);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
}

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

.panel {
  background-color: var(--surface-elevated);
  border: var(--border-accent);
  border-radius: var(--radius-medium);
  padding: var(--card-padding);
}

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

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--leading-caption);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-white);
  background-color: var(--surface-accent);
  border: 1px solid var(--color-emerald-700);
  border-radius: var(--radius-pill);
  padding: var(--space-1) var(--space-3);
  min-height: 1.5rem;
}

.badge-copper {
  background-color: var(--color-copper-600);
  border-color: var(--color-copper-600);
}

.badge-gold {
  background-color: var(--color-gold-500);
  border-color: var(--color-gold-500);
  color: var(--color-emerald-950);
}

.divider {
  border: none;
  border-block-start: var(--border-subtle);
  margin-block: var(--space-5);
}

.divider-copper {
  border-block-start-color: var(--color-copper-600);
}

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

.text-faint {
  color: var(--color-white-faint);
}

.text-copper {
  color: var(--color-copper-600);
}

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

.text-center {
  text-align: center;
}

.text-start {
  text-align: start;
}

.text-end {
  text-align: end;
}

.flex {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

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

.flex-column {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.flex-center {
  align-items: center;
  justify-content: center;
}

.flex-between {
  align-items: center;
  justify-content: space-between;
}

.flex-start {
  align-items: flex-start;
  justify-content: flex-start;
}

.flex-end {
  align-items: flex-end;
  justify-content: flex-end;
}

.flex-1 {
  flex: 1 1 0%;
  min-width: 0;
}

.flex-auto {
  flex: 0 0 auto;
}

.flex-grow {
  flex: 1 1 auto;
  min-width: 0;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.gap-1 {
  gap: var(--space-1);
}

.gap-2 {
  gap: var(--space-2);
}

.gap-3 {
  gap: var(--space-3);
}

.gap-4 {
  gap: var(--space-4);
}

.gap-5 {
  gap: var(--space-5);
}

.gap-6 {
  gap: var(--space-6);
}

.gap-7 {
  gap: var(--space-7);
}

.gap-8 {
  gap: var(--space-8);
}

.mt-1 { margin-block-start: var(--space-1); }
.mt-2 { margin-block-start: var(--space-2); }
.mt-3 { margin-block-start: var(--space-3); }
.mt-4 { margin-block-start: var(--space-4); }
.mt-5 { margin-block-start: var(--space-5); }
.mt-6 { margin-block-start: var(--space-6); }
.mt-7 { margin-block-start: var(--space-7); }
.mt-8 { margin-block-start: var(--space-8); }

.mb-1 { margin-block-end: var(--space-1); }
.mb-2 { margin-block-end: var(--space-2); }
.mb-3 { margin-block-end: var(--space-3); }
.mb-4 { margin-block-end: var(--space-4); }
.mb-5 { margin-block-end: var(--space-5); }
.mb-6 { margin-block-end: var(--space-6); }
.mb-7 { margin-block-end: var(--space-7); }
.mb-8 { margin-block-end: var(--space-8); }

.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;
  inset-block-start: -100%;
  inset-inline-start: var(--space-4);
  z-index: 1000;
  background-color: var(--color-copper-600);
  color: var(--color-white);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-small);
  transition: inset-block-start var(--transition-fast);
}

.skip-link:focus {
  inset-block-start: var(--space-4);
}

@media (max-width: 1024px) {
  .section {
    padding-block: var(--section-padding-tablet);
  }
}

@media (max-width: 768px) {
  .section {
    padding-block: var(--section-padding-mobile);
  }

  .card {
    padding: var(--card-padding-mobile);
  }

  .panel {
    padding: var(--card-padding-mobile);
  }

  .flex {
    gap: var(--space-3);
  }
}

@media (max-width: 480px) {
  :root {
    --container-gutter: 1rem;
  }

  .btn {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
html, body {
  overflow-x: clip;
  max-width: 100%;
}

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