:root {
  --color-ivory: #f6f2ea;
  --color-soft-ivory: #fbf8f2;
  --color-forest: #283c33;
  --color-burgundy: #6b3a3e;
  --color-gold: #b39a62;
  --color-stone: #b7b1a7;
  --color-espresso: #2a2422;

  --color-text: var(--color-espresso);
  --color-text-inverse: var(--color-soft-ivory);
  --color-background: var(--color-ivory);
  --color-surface: var(--color-ivory);
  --color-surface-dark: var(--color-forest);
  --color-border: var(--color-stone);
  --color-border-dark: rgba(246, 242, 234, 0.28);
  --color-focus: var(--color-gold);
  --color-error: var(--color-burgundy);
  --color-success: var(--color-forest);

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

  --text-meta: 0.75rem;
  --text-small: 0.875rem;
  --text-body: 1rem;
  --text-lead: 1.25rem;
  --text-h4: clamp(1.5rem, 2vw, 1.75rem);
  --text-h3: clamp(2rem, 3.3vw, 2.5rem);
  --text-h2: clamp(2.5rem, 5vw, 4rem);
  --text-h1: clamp(2.25rem, 7vw, 4rem);

  --leading-meta: 1.4;
  --leading-small: 1.5;
  --leading-body: 1.65;
  --leading-lead: 1.45;
  --leading-heading: 1.05;
  --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: 5.5rem;
  --space-10: 7.5rem;

  --container-max: 77.5rem;
  --container-padding: clamp(1rem, 4vw, 2.5rem);
  --content-max: 42.5rem;
  --content-narrow-max: 35rem;

  --radius-none: 0;
  --radius-sm: 0.125rem;
  --radius-md: 0.375rem;
  --radius-pill: 0.75rem;

  --shadow-overlay: 0 1rem 2.5rem rgba(20, 18, 16, 0.18);

  --transition-fast: 180ms ease-out;
  --transition-drawer: 260ms 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-background);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-menu-open,
body.menu-open {
  overflow: hidden;
}

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

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

img,
video {
  height: auto;
}

svg {
  flex: none;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:not([class]) {
  text-decoration-color: var(--color-gold);
}

a:not([class]):hover {
  text-decoration-color: currentColor;
}

button,
input,
select,
textarea {
  margin: 0;
  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;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--color-stone);
  border-radius: var(--radius-sm);
  background: transparent;
}

input,
select {
  min-height: 3rem;
  padding: 0.625rem 0.75rem;
}

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

select {
  appearance: auto;
}

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

input::placeholder,
textarea::placeholder {
  color: color-mix(in srgb, var(--color-espresso) 60%, transparent);
  opacity: 1;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  padding: 0;
}

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

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

th,
td {
  padding: var(--space-3);
  border-block-end: 1px solid var(--color-stone);
  text-align: start;
  vertical-align: top;
}

th {
  font-weight: 600;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-block: 0 var(--space-4);
  color: currentColor;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: var(--leading-heading);
  overflow-wrap: break-word;
}

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

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

h3 {
  font-size: var(--text-h3);
}

h4 {
  font-size: var(--text-h4);
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1.125rem;
}

p {
  margin-block: 0 var(--space-4);
  overflow-wrap: break-word;
}

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

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

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

blockquote {
  margin: 0 0 var(--space-5);
  padding-inline-start: var(--space-5);
  border-inline-start: 1px solid var(--color-gold);
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-style: italic;
  line-height: 1.15;
}

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

figcaption {
  margin-block-start: var(--space-2);
  color: color-mix(in srgb, var(--color-espresso) 72%, var(--color-stone));
  font-size: var(--text-small);
  line-height: var(--leading-small);
}

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

dt {
  font-weight: 600;
}

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

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

strong,
b {
  font-weight: 700;
}

em,
i {
  font-style: italic;
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

:where(input, select, textarea):focus {
  border-color: var(--color-forest);
}

::selection {
  background: var(--color-gold);
  color: var(--color-espresso);
}

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

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

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

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

.section--dark {
  background: var(--color-forest);
  color: var(--color-soft-ivory);
}

.section--burgundy {
  background: var(--color-burgundy);
  color: var(--color-soft-ivory);
}

.surface-dark {
  background: var(--color-forest);
  color: var(--color-soft-ivory);
}

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

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

.eyebrow,
.meta,
.label {
  display: inline-block;
  font-size: var(--text-meta);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: var(--leading-meta);
  text-transform: uppercase;
}

.eyebrow,
.label {
  color: var(--color-burgundy);
}

.surface-dark .eyebrow,
.surface-dark .label,
.surface-burgundy .eyebrow,
.surface-burgundy .label,
.surface-espresso .eyebrow,
.surface-espresso .label {
  color: var(--color-gold);
}

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

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

.rule--gold {
  background: var(--color-gold);
}

.rule--light {
  background: var(--color-border-dark);
}

.stack > * {
  margin-block: 0;
}

.stack > * + * {
  margin-block-start: var(--space-4);
}

.stack--tight > * + * {
  margin-block-start: var(--space-2);
}

.stack--loose > * + * {
  margin-block-start: var(--space-6);
}

.stack--spacious > * + * {
  margin-block-start: var(--space-8);
}

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

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

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

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

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

.button,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.04em;
  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 {
  background: var(--color-forest);
  color: var(--color-soft-ivory);
}

.button:hover {
  background: var(--color-burgundy);
}

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

.button--dark {
  background: var(--color-espresso);
  color: var(--color-soft-ivory);
}

.button--dark:hover {
  background: var(--color-burgundy);
}

.button--light {
  border-color: var(--color-soft-ivory);
  background: var(--color-soft-ivory);
  color: var(--color-forest);
}

.button--light:hover {
  background: var(--color-ivory);
}

.button--outline {
  border-color: currentColor;
  background: transparent;
  color: var(--color-forest);
}

.button--outline:hover {
  border-color: var(--color-burgundy);
  background: var(--color-burgundy);
  color: var(--color-soft-ivory);
}

.surface-dark .button--outline,
.surface-burgundy .button--outline,
.surface-espresso .button--outline {
  color: var(--color-soft-ivory);
}

.text-link {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: currentColor;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--color-gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  transition:
    color var(--transition-fast),
    text-decoration-color var(--transition-fast),
    transform var(--transition-fast);
}

.text-link:hover {
  text-decoration-color: currentColor;
}

.card,
.panel {
  min-width: 0;
  border: 1px solid var(--color-stone);
  border-radius: var(--radius-sm);
  background: var(--color-ivory);
  padding: var(--space-5);
}

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

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

.media-frame img {
  width: 100%;
  object-fit: cover;
  transition: transform var(--transition-fast);
}

.media-frame:hover img {
  transform: scale(1.02);
}

.form-field {
  min-width: 0;
}

.form-field + .form-field {
  margin-block-start: var(--space-4);
}

.form-field input,
.form-field select,
.form-field textarea {
  border-width: 0 0 1px;
  border-radius: 0;
  padding-inline: 0;
  background: transparent;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-forest);
  outline: none;
}

.form-error {
  display: block;
  margin-block-start: var(--space-2);
  color: var(--color-error);
  font-size: var(--text-small);
  line-height: var(--leading-small);
}

.form-success {
  color: var(--color-success);
  font-weight: 600;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  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);
  transform: translateY(-200%);
  padding: var(--space-3) var(--space-4);
  background: var(--color-forest);
  color: var(--color-soft-ivory);
  text-decoration: none;
}

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

@media (max-width: 47.99rem) {
  :root {
    --container-padding: 1rem;
  }

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

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

  h1 {
    font-size: 2.25rem;
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 2.5rem);
  }

  blockquote {
    padding-inline-start: 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;
  }
}