:root {
  --color-petrol-950: #0b2528;
  --color-petrol-900: #12363a;
  --color-petrol-700: #20545a;
  --color-amber-500: #d99a45;
  --color-amber-300: #f0c276;
  --color-sage-500: #879b78;
  --color-sage-200: #d5ddca;
  --color-warm-white: #f5f0e7;
  --color-cream-200: #e8e0d2;
  --color-ink: #172a2a;
  --color-glass-line: rgba(245, 240, 231, 0.24);
  --color-overlay-dark: rgba(7, 24, 26, 0.48);
  --color-divider-dark: rgba(245, 240, 231, 0.18);
  --color-divider-light: rgba(23, 42, 42, 0.16);
  --color-glass-fill: rgba(245, 240, 231, 0.07);

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

  --text-meta: 0.75rem;
  --text-label: 0.875rem;
  --text-body: 1rem;
  --text-lead: 1.125rem;
  --text-card-title: 1.5rem;
  --text-section-title: clamp(2rem, 3vw, 2.5rem);
  --text-display: clamp(3rem, 6vw, 4rem);
  --text-hero: clamp(2.75rem, 5vw, 3rem);

  --leading-meta: 1.4;
  --leading-label: 1.5;
  --leading-body: 1.65;
  --leading-lead: 1.55;
  --leading-card-title: 1.2;
  --leading-section-title: 1.15;
  --leading-display: 0.98;

  --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: 5rem;
  --space-10: 7rem;
  --space-11: 9rem;

  --container-max: 77.5rem;
  --container-padding: 2rem;

  --section-space: clamp(7rem, 10vw, 9rem);
  --section-space-compact: clamp(4rem, 7vw, 7rem);

  --radius-sm: 0.25rem;
  --radius-md: 0.625rem;
  --radius-lg: 1.125rem;
  --radius-xl: 3rem;

  --shadow-floating: 0 1rem 2.5rem rgba(5, 18, 20, 0.24);

  --transition-fast: 160ms ease;
  --focus-outline: 2px solid var(--color-amber-300);
  --focus-offset: 3px;

  --surface-page: var(--color-petrol-950);
  --surface-dark: var(--color-petrol-900);
  --surface-raised: var(--color-petrol-700);
  --surface-light: var(--color-cream-200);
  --surface-sage: var(--color-sage-200);
  --text-on-dark: var(--color-warm-white);
  --text-on-light: var(--color-ink);
}

*,
*::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: clip;
  background: var(--surface-page);
  color: var(--text-on-dark);
  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;
}

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

img,
video {
  height: auto;
}

iframe {
  display: block;
  max-width: 100%;
  border: 0;
}

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

button,
select {
  text-transform: none;
}

button {
  cursor: pointer;
}

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--color-divider-light);
  border-radius: var(--radius-sm);
  background: var(--color-warm-white);
  color: var(--color-ink);
  font-size: var(--text-body);
  line-height: 1.4;
}

input,
select {
  min-height: 3rem;
  padding: 0.6875rem 0.875rem;
}

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

input::placeholder,
textarea::placeholder {
  color: rgba(23, 42, 42, 0.62);
  opacity: 1;
}

input[type="checkbox"],
input[type="radio"] {
  width: 1rem;
  min-height: auto;
  accent-color: var(--color-amber-500);
}

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

fieldset {
  min-width: 0;
  margin: 0 0 var(--space-5);
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: var(--space-2);
  padding: 0;
  font-weight: 600;
}

label {
  display: inline-block;
  margin-bottom: var(--space-2);
  color: currentColor;
  font-size: var(--text-label);
  font-weight: 600;
  line-height: var(--leading-label);
}

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

th,
td {
  padding: var(--space-3) var(--space-2);
  border-bottom: 1px solid currentColor;
  border-color: var(--color-divider-light);
  text-align: left;
  vertical-align: top;
}

th {
  font-size: var(--text-label);
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration-color: rgba(217, 154, 69, 0.72);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

a:hover {
  color: var(--color-amber-300);
  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: var(--focus-outline);
  outline-offset: var(--focus-offset);
}

::selection {
  background: var(--color-amber-500);
  color: var(--color-petrol-950);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 var(--space-4);
  color: currentColor;
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

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

h2 {
  font-size: var(--text-section-title);
  line-height: var(--leading-section-title);
}

h3 {
  font-size: var(--text-card-title);
  line-height: var(--leading-card-title);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.2;
}

h5,
h6 {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 700;
  line-height: var(--leading-label);
  letter-spacing: 0.04em;
}

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

ul,
ol {
  margin: 0 0 var(--space-5);
  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: 2px solid var(--color-amber-500);
  color: currentColor;
  font-family: var(--font-heading);
  font-size: var(--text-lead);
  line-height: var(--leading-lead);
}

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

figcaption {
  margin-top: var(--space-3);
  color: rgba(245, 240, 231, 0.74);
  font-size: var(--text-meta);
  line-height: var(--leading-meta);
}

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

address {
  margin: 0 0 var(--space-4);
  font-style: normal;
}

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

strong,
b {
  font-weight: 700;
}

main,
header,
footer,
section,
article,
aside,
nav,
form {
  min-width: 0;
}

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

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

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

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

.surface-dark {
  background: var(--surface-dark);
  color: var(--text-on-dark);
}

.surface-light {
  background: var(--surface-light);
  color: var(--text-on-light);
}

.surface-sage {
  background: var(--surface-sage);
  color: var(--text-on-light);
}

.glass-panel {
  border: 1px solid var(--color-glass-line);
  border-radius: var(--radius-md);
  background: var(--color-glass-fill);
  color: var(--text-on-dark);
}

.panel {
  border: 1px solid var(--color-divider-light);
  border-radius: var(--radius-md);
  background: var(--color-cream-200);
  color: var(--text-on-light);
}

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

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

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

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

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

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

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

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

.flow > :where(h1, h2, h3, h4, h5, h6, p, ul, ol, blockquote, figure, address, form, table, hr) {
  margin-block: 0;
}

.flow > :where(* + h1, * + h2, * + h3, * + h4, * + h5, * + h6) {
  margin-top: var(--space-6);
}

.flow > :where(* + p, * + ul, * + ol, * + blockquote, * + figure, * + address, * + form, * + table, * + hr) {
  margin-top: var(--space-4);
}

.flow > :where(h1, h2, h3, h4, h5, h6) + :where(p, ul, ol, blockquote) {
  margin-top: var(--space-3);
}

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

.content-list {
  display: grid;
  margin: 0 0 var(--space-5);
  padding: 0;
  list-style: none;
  gap: var(--space-3);
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-3);
  color: var(--color-amber-300);
  font-size: var(--text-meta);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: var(--leading-meta);
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.5rem;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
  content: "";
}

.eyebrow--sage {
  color: var(--color-sage-500);
}

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

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

.button {
  display: inline-flex;
  min-height: 3rem;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.125rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--color-amber-500);
  color: var(--color-petrol-950);
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 600;
  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), transform var(--transition-fast);
}

.button:hover {
  background: var(--color-amber-300);
  color: var(--color-petrol-950);
  text-decoration: none;
}

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

.button--secondary {
  border-color: var(--color-glass-line);
  background: rgba(245, 240, 231, 0.05);
  color: var(--color-warm-white);
}

.button--secondary:hover {
  border-color: var(--color-amber-300);
  background: rgba(240, 194, 118, 0.12);
  color: var(--color-warm-white);
}

.button--dark {
  background: var(--color-petrol-900);
  color: var(--color-warm-white);
}

.button--dark:hover {
  background: var(--color-petrol-700);
  color: var(--color-warm-white);
}

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

.card {
  min-width: 0;
}

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

.glass-panel > :last-child,
.panel > :last-child,
.surface-dark > :last-child,
.surface-light > :last-child,
.surface-sage > :last-child {
  margin-bottom: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: var(--space-3);
  left: var(--space-3);
  padding: var(--space-3) var(--space-4);
  transform: translateY(-200%);
  border-radius: var(--radius-sm);
  background: var(--color-amber-500);
  color: var(--color-petrol-950);
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

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

@media (max-width: 959px) {
  :root {
    --container-padding: 1.5rem;
    --section-space: clamp(5rem, 10vw, 6rem);
    --section-space-compact: clamp(4rem, 8vw, 5rem);
  }

  h1 {
    font-size: clamp(2.75rem, 7vw, 3.5rem);
    line-height: 1;
  }
}

@media (max-width: 639px) {
  :root {
    --container-padding: 1.25rem;
    --section-space: clamp(4rem, 14vw, 5rem);
    --section-space-compact: 4rem;
  }

  h1 {
    font-size: clamp(2.5rem, 12vw, 3.25rem);
  }

  h2 {
    font-size: clamp(1.875rem, 8vw, 2.25rem);
  }

  .button {
    width: 100%;
  }

  .cluster .button {
    flex: 1 1 100%;
  }
}

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

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