:root {
  --color-warm-ivory: #f7f1e7;
  --color-soft-white: #fffdf8;
  --color-deep-eucalyptus: #164c3b;
  --color-ocean-blue: #176b83;
  --color-muted-coral: #d86f62;
  --color-golden-mustard: #d5a63b;
  --color-pale-sand: #e9dcc9;
  --color-light-grey: #d9ded8;
  --color-charcoal: #202522;
  --color-muted-charcoal: #59635e;
  --color-danger: #a83d35;
  --color-success: #245d47;

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

  --text-meta: 0.75rem;
  --text-utility: 0.875rem;
  --text-body: 1rem;
  --text-lead: 1.125rem;
  --text-h4: clamp(1.25rem, 2vw, 1.375rem);
  --text-h3: clamp(1.625rem, 3vw, 1.875rem);
  --text-h2: clamp(2rem, 4.2vw, 2.75rem);
  --text-h1: clamp(2.5rem, 6vw, 4rem);

  --line-meta: 1.4;
  --line-utility: 1.5;
  --line-body: 1.65;
  --line-lead: 1.55;
  --line-heading-small: 1.3;
  --line-heading-section: 1.15;
  --line-heading-page: 1.05;
  --line-heading-display: 0.98;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 650;
  --weight-bold: 700;

  --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;

  --container-max: 75rem;
  --container-reading: 45rem;
  --container-padding: 1rem;

  --radius-control: 0.25rem;
  --radius-card: 0.625rem;
  --radius-feature: 1.125rem;
  --radius-pill: 999px;

  --border-subtle: 1px solid var(--color-light-grey);
  --shadow-elevated: 0 10px 30px rgb(32 37 34 / 8%);

  --focus-ring: 2px solid var(--color-deep-eucalyptus);
  --focus-offset: 3px;

  --transition-fast: 180ms ease-out;
  --transition-medium: 220ms ease-out;
}

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

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

body {
  min-width: 20rem;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--color-warm-ivory);
  color: var(--color-charcoal);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--weight-regular);
  line-height: var(--line-body);
  text-rendering: optimizeLegibility;
}

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

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

img,
video {
  height: auto;
}

iframe {
  border: 0;
}

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

button,
select {
  text-transform: none;
}

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

button,
input,
select,
textarea {
  margin: 0;
}

button {
  border: 0;
  background: none;
}

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

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

th,
td {
  text-align: left;
  vertical-align: top;
}

ul,
ol {
  margin-block: 0 1.5rem;
  padding-inline-start: 1.25rem;
}

li::marker {
  color: var(--color-deep-eucalyptus);
}

blockquote {
  margin: 0 0 1.5rem;
  padding-inline-start: var(--space-5);
  border-inline-start: 3px solid var(--color-golden-mustard);
  color: var(--color-deep-eucalyptus);
  font-family: var(--font-heading);
  font-size: var(--text-lead);
  line-height: var(--line-lead);
}

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

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

figcaption {
  margin-block-start: var(--space-2);
  color: var(--color-muted-charcoal);
  font-size: var(--text-utility);
  line-height: var(--line-utility);
}

address {
  margin-block-end: var(--space-5);
  font-style: normal;
}

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

dt {
  font-weight: var(--weight-semibold);
}

dd {
  margin: 0 0 var(--space-3);
}

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

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

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

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

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

h4,
h5,
h6 {
  font-size: var(--text-h4);
  line-height: var(--line-heading-small);
}

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

strong,
b {
  font-weight: var(--weight-bold);
}

em,
i {
  font-style: italic;
}

a {
  color: var(--color-ocean-blue);
  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-deep-eucalyptus);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

::selection {
  background: var(--color-pale-sand);
  color: var(--color-charcoal);
}

::placeholder {
  color: var(--color-muted-charcoal);
  opacity: 1;
}

:disabled,
[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.58;
}

:where(input, select, textarea):disabled {
  background: var(--color-light-grey);
}

:where(input, select, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.625rem 0.75rem;
  border: var(--border-subtle);
  border-radius: var(--radius-control);
  background: var(--color-soft-white);
  color: var(--color-charcoal);
  line-height: var(--line-utility);
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background-color var(--transition-fast);
}

:where(input, select, textarea):hover:not(:disabled) {
  border-color: var(--color-muted-charcoal);
}

:where(input, select, textarea):focus {
  border-color: var(--color-deep-eucalyptus);
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

select {
  background-color: var(--color-soft-white);
}

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

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

label {
  display: inline-block;
  margin-block-end: var(--space-2);
  font-size: var(--text-utility);
  font-weight: var(--weight-semibold);
  line-height: var(--line-utility);
}

fieldset {
  margin: 0 0 var(--space-5);
  padding: var(--space-4);
  border: var(--border-subtle);
  border-radius: var(--radius-card);
}

legend {
  padding-inline: var(--space-2);
  font-weight: var(--weight-semibold);
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.75rem 1.125rem;
  border: 1px solid var(--color-deep-eucalyptus);
  border-radius: var(--radius-control);
  background: var(--color-deep-eucalyptus);
  color: var(--color-soft-white);
  font-family: var(--font-body);
  font-size: var(--text-utility);
  font-weight: var(--weight-semibold);
  line-height: 1.2;
  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:not(:disabled),
.button:hover {
  border-color: #103b2e;
  background: #103b2e;
  color: var(--color-soft-white);
  transform: translateY(-2px);
}

button:active:not(:disabled),
.button:active {
  transform: translateY(0);
}

.button--secondary,
button.button--secondary {
  background: transparent;
  color: var(--color-deep-eucalyptus);
}

.button--secondary:hover,
button.button--secondary:hover {
  background: var(--color-deep-eucalyptus);
  color: var(--color-soft-white);
}

.button--text,
button.button--text {
  min-height: auto;
  padding: 0;
  border-color: transparent;
  background: transparent;
  color: var(--color-ocean-blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.button--text:hover,
button.button--text:hover {
  border-color: transparent;
  background: transparent;
  color: var(--color-deep-eucalyptus);
  transform: none;
}

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

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

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

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

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

.surface--dark {
  background: var(--color-deep-eucalyptus);
  color: var(--color-warm-ivory);
}

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

.surface--dark :is(a:not(.button), .button--text) {
  color: var(--color-warm-ivory);
}

.card {
  min-width: 0;
  padding: var(--space-5);
  border: var(--border-subtle);
  border-radius: var(--radius-card);
  background: var(--color-soft-white);
}

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

.panel {
  min-width: 0;
  padding: var(--space-5);
  border-radius: var(--radius-card);
  background: var(--color-soft-white);
  box-shadow: var(--shadow-elevated);
}

.eyebrow {
  margin: 0 0 var(--space-3);
  color: var(--color-deep-eucalyptus);
  font-size: var(--text-meta);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  line-height: var(--line-meta);
  text-transform: uppercase;
}

.meta {
  color: var(--color-muted-charcoal);
  font-size: var(--text-utility);
  line-height: var(--line-utility);
}

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

.tabular {
  font-variant-numeric: tabular-nums;
}

.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;
}

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

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

.content-list {
  margin: 0 0 var(--space-5);
  padding-inline-start: 1.25rem;
}

.content-list > .status-label {
  display: inline-flex;
  align-items: center;
  min-height: 1.625rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-pill);
  background: var(--color-golden-mustard);
  color: var(--color-charcoal);
  font-size: var(--text-meta);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  line-height: var(--line-meta);
  text-transform: uppercase;
}

.status-label--coral {
  background: var(--color-muted-coral);
}

.rule {
  width: 100%;
  height: 1px;
  border: 0;
  background: var(--color-light-grey);
}

.image-frame {
  overflow: hidden;
  border: 1px solid var(--color-pale-sand);
  border-radius: var(--radius-card);
  background: var(--color-pale-sand);
}

.image-frame--feature {
  border-radius: var(--radius-feature);
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  margin: -1px;
  padding: 0;
  border: 0;
  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-deep-eucalyptus);
  color: var(--color-soft-white);
  font-weight: var(--weight-semibold);
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform var(--transition-fast);
}

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

@media (min-width: 48rem) {
  :root {
    --container-padding: 1.5rem;
  }

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

  .card,
  .panel {
    padding: var(--space-6);
  }
}

@media (min-width: 75rem) {
  .section {
    padding-block: var(--space-10);
  }
}

@media (max-width: 47.99rem) {
  h1 {
    text-wrap: pretty;
  }

  .actions {
    align-items: stretch;
  }

  .actions > .button {
    flex: 1 1 12rem;
  }
}

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

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