:root {
  --color-parchment: #f2e9d8;
  --color-cream: #faf5ea;
  --color-ink: #29251f;
  --color-cognac: #a9673f;
  --color-cognac-hover: #8e5535;
  --color-forest: #30483d;
  --color-burgundy: #824c4b;
  --color-oak: #b88758;
  --color-leather: #4a3026;
  --color-line: #d3c3aa;
  --color-muted: #655c50;
  --color-focus: #b86f32;

  --color-page: var(--color-parchment);
  --color-surface: var(--color-cream);
  --color-text: var(--color-ink);
  --color-text-muted: var(--color-muted);
  --color-border: var(--color-line);
  --color-link: var(--color-forest);
  --color-dark-text: var(--color-cream);

  --font-body: "IBM Plex Sans", Arial, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;

  --text-body: 1rem;
  --text-small: 0.8125rem;
  --text-nav: 0.875rem;
  --text-lead: clamp(1.125rem, 1.5vw, 1.25rem);
  --text-h1: clamp(2.625rem, 6vw, 4.75rem);
  --text-h2: clamp(2.125rem, 4vw, 3.375rem);
  --text-h3: clamp(1.625rem, 2.5vw, 2.25rem);
  --text-quote: clamp(1.875rem, 4vw, 3.25rem);

  --leading-body: 1.55;
  --leading-tight: 0.98;
  --leading-heading: 1.02;
  --leading-subheading: 1.08;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3.5rem;
  --space-9: 4.5rem;
  --space-10: 6rem;
  --space-11: 8rem;

  --section-space: var(--space-8);
  --hero-space: 5rem;

  --container-max: 77.5rem;
  --reading-max: 42.5rem;
  --editorial-max: 57.5rem;
  --container-padding: 1.25rem;

  --radius-none: 0;
  --radius-default: 0.125rem;
  --radius-soft: 0.5rem;

  --border-width: 1px;
  --frame-width: 2px;
  --border: var(--border-width) solid var(--color-border);
  --border-dark: var(--border-width) solid rgb(250 245 234 / 24%);
  --shadow-floating: 0 10px 28px rgb(41 37 31 / 10%);

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

@media (min-width: 40rem) {
  :root {
    --container-padding: 1.75rem;
    --section-space: var(--space-9);
    --hero-space: 6rem;
  }
}

@media (min-width: 75rem) {
  :root {
    --container-padding: 2.5rem;
    --section-space: var(--space-10);
    --hero-space: 7.5rem;
  }
}

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

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

body {
  min-width: 0;
  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-body);
  font-weight: 400;
  line-height: var(--leading-body);
  text-rendering: optimizeLegibility;
}

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

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

img,
video {
  height: auto;
}

img {
  font-style: italic;
}

svg {
  fill: currentColor;
}

iframe {
  width: 100%;
  border: 0;
}

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

button,
select {
  text-transform: none;
}

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

button {
  border: 0;
  background: transparent;
}

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

input,
select,
textarea {
  width: 100%;
  border: var(--border);
  border-radius: var(--radius-default);
  background: var(--color-cream);
  color: var(--color-ink);
  line-height: 1.4;
}

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

textarea {
  padding: 0.75rem;
}

input::placeholder,
textarea::placeholder {
  color: var(--color-muted);
  opacity: 1;
}

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

input[type="file"] {
  padding: 0.5rem;
}

select {
  appearance: auto;
}

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

legend {
  padding: 0;
}

a {
  color: var(--color-link);
  text-decoration-line: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

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

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

::selection {
  background: var(--color-oak);
  color: var(--color-ink);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl,
blockquote,
figure,
table,
pre,
hr {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: inherit;
  font-family: var(--font-display);
  font-weight: 500;
  text-wrap: balance;
}

h1 {
  margin-bottom: var(--space-5);
  font-size: var(--text-h1);
  line-height: var(--leading-tight);
}

h2 {
  margin-bottom: var(--space-5);
  font-size: var(--text-h2);
  line-height: var(--leading-heading);
}

h3 {
  margin-bottom: var(--space-4);
  font-size: var(--text-h3);
  line-height: var(--leading-subheading);
}

h4 {
  margin-bottom: var(--space-3);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.15;
}

h5,
h6 {
  margin-bottom: var(--space-2);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

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

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

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

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

dt {
  font-weight: 600;
}

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

blockquote {
  margin-right: 0;
  margin-bottom: var(--space-5);
  margin-left: 0;
  padding: var(--space-4) 0 var(--space-4) var(--space-5);
  border-left: var(--frame-width) solid var(--color-cognac);
  font-family: var(--font-display);
  font-size: var(--text-quote);
  font-weight: 500;
  line-height: 1.05;
}

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

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

hr {
  height: 1px;
  margin-bottom: var(--space-5);
  border: 0;
  background: var(--color-line);
}

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

strong,
b {
  font-weight: 600;
}

mark {
  padding: 0 0.15em;
  background: color-mix(in srgb, var(--color-oak) 42%, transparent);
  color: inherit;
}

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

code,
kbd {
  padding: 0.1em 0.3em;
  border: 1px solid var(--color-line);
  background: var(--color-cream);
  font-size: 0.9em;
}

pre {
  margin-bottom: var(--space-5);
  padding: var(--space-4);
  overflow-x: auto;
  border: var(--border);
  background: var(--color-cream);
}

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

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

th {
  font-weight: 600;
}

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

summary {
  cursor: pointer;
}

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

.reading {
  max-width: var(--reading-max);
}

.editorial {
  max-width: var(--editorial-max);
}

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

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

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

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

.surface--forest,
.surface--leather {
  color: var(--color-dark-text);
}

.surface--forest {
  background: var(--color-forest);
  border-color: rgb(250 245 234 / 24%);
}

.surface--leather {
  background: var(--color-leather);
  border-color: rgb(250 245 234 / 24%);
}

.surface--forest a,
.surface--leather a {
  color: var(--color-cream);
}

.surface--forest a:hover,
.surface--leather a:hover {
  color: var(--color-oak);
}

.card,
.panel {
  border: var(--border);
  border-radius: var(--radius-default);
  background: var(--color-cream);
}

.card {
  padding: var(--space-5);
}

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

.frame {
  box-shadow: inset 0 0 0 var(--frame-width) var(--color-line);
}

.media-frame {
  overflow: hidden;
  border: var(--border);
  border-radius: var(--radius-default);
  background: var(--color-oak);
}

.media-frame--soft {
  border-radius: var(--radius-soft);
}

.media-frame > img,
.media-frame > picture,
.media-frame > video {
  width: 100%;
}

.eyebrow {
  margin-bottom: var(--space-2);
  color: var(--color-forest);
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.surface--forest .eyebrow,
.surface--leather .eyebrow {
  color: var(--color-oak);
}

.lead {
  margin-bottom: var(--space-5);
  font-size: var(--text-lead);
  line-height: 1.45;
}

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

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

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

.button,
.button-link {
  display: inline-flex;
  min-width: 0;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 1.125rem;
  border: 1px solid transparent;
  border-radius: var(--radius-default);
  background: var(--color-cognac);
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--transition-base), border-color var(--transition-base), color var(--transition-base);
}

.button:hover,
.button-link:hover {
  background: var(--color-cognac-hover);
  color: var(--color-cream);
  text-decoration: none;
}

.button--secondary,
.button-link--secondary {
  border-color: var(--color-forest);
  background: transparent;
  color: var(--color-forest);
}

.button--secondary:hover,
.button-link--secondary:hover {
  border-color: var(--color-forest);
  background: var(--color-forest);
  color: var(--color-cream);
}

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

.content-list {
  margin-bottom: var(--space-5);
}

.content-list > .form-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-2);
}

.form-field > label,
.form-label {
  color: var(--color-ink);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
}

.form-help,
.form-error {
  margin: 0;
  font-size: var(--text-small);
  line-height: 1.4;
}

.form-help {
  color: var(--color-muted);
}

.form-error {
  color: var(--color-burgundy);
}

.card > :last-child,
.panel > :last-child,
.stack > :last-child,
.form-field > :last-child,
blockquote > :last-child {
  margin-bottom: 0;
}

@media (min-width: 40rem) {
  .card {
    padding: var(--space-6);
  }

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

@media (max-width: 39.9375rem) {
  .button,
  .button-link {
    min-height: 2.75rem;
  }
}

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

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