:root {
  --color-ink: #121011;
  --color-black-plum: #1b141c;
  --color-deep-plum: #33202f;
  --color-smoked-burgundy: #642f3a;
  --color-warm-cream: #f1e6d2;
  --color-cream-muted: #cdbfae;
  --color-aged-brass: #b18a52;
  --color-brass-light: #d0ae72;
  --color-wine-shadow: #24151b;

  --color-text: var(--color-warm-cream);
  --color-text-muted: var(--color-cream-muted);
  --color-surface: var(--color-ink);
  --color-surface-raised: var(--color-black-plum);
  --color-surface-emphasis: var(--color-deep-plum);
  --color-border: rgb(177 138 82 / 65%);
  --color-border-muted: rgb(205 191 174 / 25%);
  --color-focus: var(--color-brass-light);

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

  --text-micro: 0.75rem;
  --text-meta: 0.875rem;
  --text-body: 1rem;
  --text-lead: 1.25rem;
  --text-subheading: clamp(1.5rem, 2.5vw, 1.75rem);
  --text-section: clamp(2.25rem, 4vw, 2.625rem);
  --text-hero: clamp(3rem, 7vw, 4rem);
  --text-display: clamp(3rem, 10vw, 7.75rem);

  --leading-micro: 1.3;
  --leading-meta: 1.5;
  --leading-body: 1.65;
  --leading-lead: 1.35;
  --leading-heading: 1.05;
  --leading-display: 0.88;

  --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: 11rem;

  --container-max: 80rem;
  --container-padding: 2rem;
  --container-padding-mobile: 1.25rem;

  --radius-none: 0;
  --radius-subtle: 0.125rem;

  --border-width: 1px;
  --shadow-soft: 0 24px 70px rgb(0 0 0 / 34%);
  --shadow-deep: 0 30px 90px rgb(0 0 0 / 48%);

  --transition-fast: 180ms ease-out;
  --transition-slow: 550ms ease-out;
  --image-overlay: linear-gradient(
    90deg,
    rgb(18 16 17 / 88%) 0%,
    rgb(18 16 17 / 38%) 55%,
    rgb(18 16 17 / 12%) 100%
  );
}

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

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

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--color-surface);
  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,
blockquote,
dl,
fieldset {
  min-width: 0;
}

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

img,
video {
  height: auto;
}

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

img {
  font-style: italic;
}

svg {
  fill: currentColor;
}

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

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

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
}

button {
  border: 0;
  cursor: pointer;
}

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

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

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

input,
textarea,
select {
  padding: 0.75rem 0.875rem;
}

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

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

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

select {
  background-color: var(--color-black-plum);
}

option {
  background: var(--color-black-plum);
  color: var(--color-text);
}

fieldset {
  margin: 0 0 var(--space-5);
  padding: var(--space-5);
  border: 1px solid var(--color-border-muted);
}

legend {
  padding: 0 var(--space-2);
}

:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

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

a {
  color: inherit;
  text-decoration-color: var(--color-aged-brass);
  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-brass-light);
  text-decoration-color: var(--color-brass-light);
}

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

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

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

h3 {
  font-size: var(--text-subheading);
  line-height: 1.15;
}

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

h5,
h6 {
  font-family: var(--font-body);
  font-size: var(--text-meta);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: var(--leading-meta);
  text-transform: uppercase;
}

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

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

li::marker {
  color: var(--color-aged-brass);
}

blockquote {
  margin: 0 0 var(--space-6);
  padding: var(--space-4) 0 var(--space-4) var(--space-5);
  border-left: 1px solid var(--color-aged-brass);
  color: var(--color-warm-cream);
  font-family: var(--font-heading);
  font-size: var(--text-lead);
  line-height: var(--leading-lead);
}

blockquote p:last-child {
  margin-bottom: 0;
}

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

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

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

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

dt {
  color: var(--color-warm-cream);
  font-weight: 600;
}

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

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

code,
kbd,
samp {
  padding: 0.1em 0.3em;
  background: var(--color-deep-plum);
  color: var(--color-warm-cream);
}

pre {
  margin: 0 0 var(--space-5);
  padding: var(--space-5);
  overflow: auto;
  background: var(--color-black-plum);
  border: 1px solid var(--color-border-muted);
}

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

strong,
b {
  font-weight: 700;
}

em,
i {
  font-style: italic;
}

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

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

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

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

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

.container--full {
  width: 100%;
  padding-inline: var(--container-padding);
}

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

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

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

.surface-dark {
  background: var(--color-black-plum);
  color: var(--color-warm-cream);
}

.surface-plum {
  background: var(--color-deep-plum);
  color: var(--color-warm-cream);
}

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

.surface-cream h1,
.surface-cream h2,
.surface-cream h3,
.surface-cream h4,
.surface-cream h5,
.surface-cream h6,
.surface-cream label,
.surface-cream dt {
  color: var(--color-ink);
}

.surface-cream p,
.surface-cream dd,
.surface-cream figcaption {
  color: #4b4140;
}

.surface-cream input,
.surface-cream textarea,
.surface-cream select {
  border-color: rgb(18 16 17 / 30%);
  background: rgb(255 255 255 / 16%);
  color: var(--color-ink);
}

.surface-cream input::placeholder,
.surface-cream textarea::placeholder {
  color: rgb(18 16 17 / 60%);
}

.surface-cream select,
.surface-cream option {
  background: var(--color-warm-cream);
  color: var(--color-ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0 0 var(--space-3);
  color: var(--color-brass-light);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: var(--leading-micro);
  text-transform: uppercase;
}

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

.display {
  margin-bottom: var(--space-5);
  font-family: var(--font-heading);
  font-size: var(--text-display);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: var(--leading-display);
  text-wrap: balance;
}

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

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

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

.panel {
  min-width: 0;
  padding: var(--space-6);
  background: var(--color-black-plum);
  border: 1px solid var(--color-border-muted);
  border-radius: var(--radius-subtle);
  box-shadow: var(--shadow-soft);
}

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

.content-group {
  min-width: 0;
}

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

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

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

.button {
  display: inline-flex;
  min-height: 2.75rem;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.625rem 1rem;
  border: 1px solid var(--color-aged-brass);
  border-radius: var(--radius-subtle);
  background: transparent;
  color: var(--color-warm-cream);
  font-family: var(--font-body);
  font-size: var(--text-meta);
  font-weight: 600;
  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:hover {
  border-color: var(--color-brass-light);
  background: rgb(208 174 114 / 10%);
  color: var(--color-brass-light);
  transform: translateX(3px);
}

.button--primary {
  background: var(--color-warm-cream);
  color: var(--color-ink);
}

.button--primary:hover {
  background: var(--color-brass-light);
  border-color: var(--color-brass-light);
  color: var(--color-ink);
}

.button--secondary {
  background: transparent;
  color: var(--color-warm-cream);
}

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

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

.narrative-rule {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-aged-brass);
  font-size: var(--text-micro);
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: var(--leading-micro);
  text-transform: uppercase;
}

.narrative-rule::after {
  height: 1px;
  flex: 1 1 auto;
  background: currentColor;
  content: "";
}

.media-frame {
  overflow: hidden;
  background: var(--color-black-plum);
  border-radius: var(--radius-subtle);
  box-shadow: var(--shadow-soft);
}

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

.list-plain {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-content {
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

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

.list-content > li {
  min-width: 0;
}

@media (max-width: 47.99rem) {
  :root {
    --container-padding: var(--container-padding-mobile);
    --text-hero: clamp(2.75rem, 14vw, 4.5rem);
    --text-display: clamp(2.75rem, 14vw, 4.5rem);
  }

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

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

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

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

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

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

  .button:hover {
    transform: none;
  }
}