:root {
  --color-porcelain: #f4f1e9;
  --color-warm-porcelain: #fffdf8;
  --color-sage: #a9b7a1;
  --color-deep-green: #173c35;
  --color-ultramarine: #2447b8;
  --color-burnt-coral: #c85a48;
  --color-espresso: #2b211d;
  --color-travertine: #d8cdbd;
  --color-steel: #8d9690;
  --color-focus: #163a9a;

  --color-text: var(--color-espresso);
  --color-text-inverse: var(--color-warm-porcelain);
  --color-page: var(--color-porcelain);
  --color-surface: var(--color-warm-porcelain);
  --color-border: rgb(43 33 29 / 18%);
  --color-border-strong: rgb(43 33 29 / 38%);

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

  --text-utility: 0.75rem;
  --text-nav: 0.875rem;
  --text-body: 1rem;
  --text-lead: 1.125rem;
  --text-intro: 1.5rem;
  --text-display: clamp(2.375rem, 5.4vw, 5.125rem);
  --text-footer: clamp(4rem, 10vw, 6.5rem);

  --leading-tight: 0.94;
  --leading-footer: 0.86;
  --leading-heading: 1.08;
  --leading-intro: 1.3;
  --leading-lead: 1.45;
  --leading-body: 1.55;

  --tracking-utility: 0.14em;
  --tracking-nav: 0.08em;
  --tracking-button: 0.1em;

  --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: 6rem;
  --space-10: 8rem;
  --space-11: 12rem;

  --section-space: 8rem;
  --container-max: 90rem;
  --gutter: 3.5rem;

  --radius-none: 0;
  --radius-control: 0.125rem;
  --radius-object: 0.75rem;
  --radius-round: 50%;

  --border-width: 1px;
  --border: var(--border-width) solid var(--color-border);
  --border-strong: var(--border-width) solid var(--color-border-strong);

  --shadow-floating: 0 12px 36px rgb(43 33 29 / 10%);

  --transition-fast: 180ms ease-out;
  --transition-image: 280ms ease;
  --transition-page: 450ms ease;
  --focus-ring: 0 0 0 3px var(--color-focus);
}

@media (max-width: 899px) {
  :root {
    --section-space: 5.5rem;
    --gutter: 2rem;
  }
}

@media (max-width: 599px) {
  :root {
    --section-space: 4rem;
    --gutter: 1.25rem;
  }
}

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

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

body {
  min-width: 20rem;
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  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;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main,
header,
footer,
section,
article,
aside,
nav,
figure,
form,
fieldset,
table,
details {
  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;
  border: 0;
  border-radius: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}

button,
select {
  text-transform: none;
}

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

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

input,
select,
textarea {
  width: 100%;
  background: var(--color-surface);
}

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

fieldset {
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  padding: 0;
}

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

th,
td {
  padding: 0;
  text-align: start;
  vertical-align: top;
}

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

li::marker {
  color: var(--color-burnt-coral);
}

p {
  margin-block: 0 1.5rem;
}

blockquote {
  margin: 0 0 2rem;
  padding-inline-start: var(--space-5);
  border-inline-start: 2px solid var(--color-burnt-coral);
  font-family: var(--font-heading);
  font-size: var(--text-intro);
  line-height: var(--leading-intro);
}

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

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

figcaption {
  margin-block-start: var(--space-3);
  color: rgb(43 33 29 / 72%);
  font-size: var(--text-utility);
  letter-spacing: var(--tracking-utility);
  line-height: 1.45;
  text-transform: uppercase;
}

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

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

h2 {
  font-size: clamp(2rem, 3.4vw, 3.75rem);
  line-height: 0.98;
}

h3 {
  font-size: clamp(1.5rem, 2.2vw, 2.25rem);
  line-height: 1.04;
}

h4 {
  font-size: clamp(1.25rem, 1.6vw, 1.625rem);
}

h5,
h6 {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 700;
  line-height: 1.35;
}

a {
  color: currentcolor;
  overflow-wrap: break-word;
  text-decoration-color: currentcolor;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

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

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

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

:where([hidden]) {
  display: none !important;
}

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

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

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

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

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

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

:where(.surface--deep) {
  background: var(--color-deep-green);
  color: var(--color-text-inverse);
}

.surface--deep :is(h1, h2, h3, h4, h5, h6) {
  color: var(--color-text-inverse);
}

.surface--deep a:hover {
  color: var(--color-sage);
  text-decoration-color: var(--color-sage);
}

:where(.eyebrow) {
  margin: 0 0 var(--space-3);
  font-size: var(--text-utility);
  font-weight: 700;
  letter-spacing: var(--tracking-utility);
  line-height: 1.35;
  text-transform: uppercase;
}

:where(.lead) {
  margin-block: 0 var(--space-5);
  font-size: var(--text-lead);
  line-height: var(--leading-lead);
}

:where(.section-intro) {
  margin-block: 0 var(--space-5);
  font-family: var(--font-heading);
  font-size: var(--text-intro);
  line-height: var(--leading-intro);
}

:where(.display) {
  margin-block: 0 var(--space-5);
  font-family: var(--font-heading);
  font-size: var(--text-display);
  font-weight: 500;
  line-height: var(--leading-tight);
}

:where(.footer-statement) {
  margin-block: 0 var(--space-6);
  font-family: var(--font-heading);
  font-size: var(--text-footer);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: var(--leading-footer);
}

:where(.meta) {
  margin: 0;
  color: rgb(43 33 29 / 72%);
  font-size: var(--text-utility);
  font-weight: 700;
  letter-spacing: var(--tracking-utility);
  line-height: 1.45;
  text-transform: uppercase;
}

.surface--deep .meta {
  color: rgb(255 253 248 / 76%);
}

:where(.rule) {
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--color-border);
}

:where(.rule--strong) {
  background: var(--color-espresso);
}

:where(.button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  font-family: var(--font-body);
  font-size: var(--text-utility);
  font-weight: 800;
  letter-spacing: var(--tracking-button);
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
}

.button:hover {
  color: var(--color-warm-porcelain);
  text-decoration: none;
  transform: translateY(-1px);
}

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

:where(.button--coral) {
  background: var(--color-burnt-coral);
  color: var(--color-warm-porcelain);
}

.button--coral:hover {
  background: #ab4738;
}

:where(.button--blue) {
  background: var(--color-ultramarine);
  color: var(--color-warm-porcelain);
}

.button--blue:hover {
  background: #193797;
}

:where(.button--outline) {
  border-color: currentcolor;
  background: transparent;
  color: var(--color-espresso);
}

.button--outline:hover {
  border-color: var(--color-espresso);
  background: var(--color-espresso);
  color: var(--color-warm-porcelain);
}

.surface--deep .button--outline {
  color: var(--color-warm-porcelain);
}

.surface--deep .button--outline:hover {
  border-color: var(--color-warm-porcelain);
  background: var(--color-warm-porcelain);
  color: var(--color-deep-green);
}

:where(.button-group) {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  min-width: 0;
}

.button-group > * {
  min-width: 0;
}

:where(.panel) {
  padding: clamp(1.5rem, 3vw, 3rem);
  border: var(--border);
  border-radius: var(--radius-object);
  background: var(--color-surface);
}

:where(.panel--sage) {
  background: var(--color-sage);
}

:where(.panel--travertine) {
  background: var(--color-travertine);
}

:where(.panel--deep) {
  border-color: rgb(255 253 248 / 24%);
  background: var(--color-deep-green);
  color: var(--color-text-inverse);
}

.panel--deep :is(h1, h2, h3, h4, h5, h6) {
  color: var(--color-text-inverse);
}

:where(.stack) {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

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

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

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

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

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

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

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

:where(.content) > :last-child,
:where(.panel) > :last-child,
:where(.stack) > :last-child,
:where(.compact-content) > :last-child {
  margin-block-end: 0;
}

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

.content-list > :where(.field) {
  display: grid;
  gap: var(--space-2);
  min-width: 0;
  margin-block-end: var(--space-5);
}

.field > label {
  color: var(--color-espresso);
  font-size: var(--text-utility);
  font-weight: 800;
  letter-spacing: var(--tracking-utility);
  line-height: 1.35;
  text-transform: uppercase;
}

:where(.field) :is(input, select, textarea) {
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border: var(--border);
  border-radius: var(--radius-control);
  background: var(--color-warm-porcelain);
  color: var(--color-espresso);
  line-height: 1.45;
}

.field textarea {
  min-height: 8rem;
}

.field :is(input, select, textarea)::placeholder {
  color: rgb(43 33 29 / 56%);
  opacity: 1;
}

:where(.field) :is(input, select, textarea):focus {
  border-color: var(--color-focus);
  outline: 0;
  box-shadow: var(--focus-ring);
}

:where(.field) :is(input, select, textarea):invalid:not(:placeholder-shown) {
  border-color: var(--color-burnt-coral);
}

:where(.caption) {
  display: inline-block;
  max-width: 100%;
  padding: var(--space-2) var(--space-3);
  background: var(--color-warm-porcelain);
  color: var(--color-espresso);
  font-size: var(--text-utility);
  font-weight: 700;
  letter-spacing: var(--tracking-utility);
  line-height: 1.45;
  text-transform: uppercase;
}

:where(.image-frame) {
  overflow: hidden;
  background: var(--color-travertine);
}

.image-frame > img,
.image-frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-image), filter var(--transition-image);
}

@media (hover: hover) and (pointer: fine) {
  a.image-frame:hover > img,
  a.image-frame:hover > picture > img {
    filter: brightness(1.04);
    transform: scale(1.03);
  }
}

@media (max-width: 599px) {
  :where(.button) {
    width: 100%;
  }

  :where(.button-group) {
    align-items: stretch;
  }

  :where(.button-group) > .button {
    flex: 1 1 100%;
  }
}

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

  .image-frame > img,
  .image-frame > picture > img {
    transform: none !important;
  }
}