:root {
  --color-deep-charcoal: #17191b;
  --color-charcoal-soft: #24282a;
  --color-petrol-blue: #123f49;
  --color-burgundy-velvet: #6b2635;
  --color-brushed-copper: #b8794d;
  --color-brushed-copper-hover: #d09568;
  --color-warm-ivory: #f2e8d8;
  --color-ivory-muted: #cdbfae;
  --color-dark-walnut: #35251f;
  --color-dark-marble: #292a2a;
  --color-success: #47705e;
  --color-error: #9b4050;

  --color-background: var(--color-deep-charcoal);
  --color-surface: var(--color-charcoal-soft);
  --color-surface-glass: rgba(36, 40, 42, 0.78);
  --color-text: var(--color-warm-ivory);
  --color-text-muted: var(--color-ivory-muted);
  --color-border: rgba(242, 232, 216, 0.18);
  --color-border-strong: rgba(242, 232, 216, 0.28);
  --color-rule: var(--color-brushed-copper);

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

  --text-display: clamp(3rem, 6vw, 4.5rem);
  --text-h1: clamp(2.625rem, 5vw, 3.75rem);
  --text-h2: clamp(2.125rem, 3.8vw, 2.75rem);
  --text-h3: clamp(1.6875rem, 2.6vw, 2rem);
  --text-lead: clamp(1.125rem, 1.7vw, 1.25rem);
  --text-body: 1rem;
  --text-small: 0.75rem;
  --text-nav: 0.8125rem;

  --line-display: 0.98;
  --line-h1: 1.02;
  --line-h2: 1.08;
  --line-h3: 1.12;
  --line-lead: 1.45;
  --line-body: 1.6;
  --line-small: 1.35;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --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: 6rem;
  --space-11: 8rem;

  --container-max: 80rem;
  --container-padding: 1.5rem;
  --section-space: var(--space-11);
  --section-space-compact: var(--space-7);

  --radius-sm: 0.125rem;
  --radius-md: 0.25rem;

  --shadow-floating: 0 1rem 3rem rgba(0, 0, 0, 0.28);

  --transition-fast: 180ms ease-out;
  --transition-base: 350ms ease-out;
  --transition-image: 500ms ease-out;
}

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

html {
  min-width: 320px;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 100%;
  line-height: var(--line-body);
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  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: var(--weight-regular);
  line-height: var(--line-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

img,
video {
  height: auto;
}

img {
  font-style: italic;
}

svg {
  fill: currentColor;
}

iframe {
  border: 0;
}

button,
input,
select,
textarea {
  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.55;
}

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

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

a {
  color: inherit;
  text-decoration-color: rgba(184, 121, 77, 0.75);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

a:hover {
  color: var(--color-brushed-copper-hover);
  text-decoration-color: currentColor;
}

a:not([class]) {
  overflow-wrap: anywhere;
}

:focus-visible {
  outline: 2px solid var(--color-brushed-copper);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--color-deep-charcoal);
}

::selection {
  background: var(--color-brushed-copper);
  color: var(--color-deep-charcoal);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-warm-ivory);
  font-family: var(--font-heading);
  font-optical-sizing: auto;
  font-weight: var(--weight-medium);
  text-wrap: balance;
}

h1 {
  margin-bottom: var(--space-6);
  font-size: var(--text-h1);
  line-height: var(--line-h1);
  letter-spacing: -0.025em;
}

h2 {
  margin-bottom: var(--space-5);
  font-size: var(--text-h2);
  line-height: var(--line-h2);
  letter-spacing: -0.02em;
}

h3 {
  margin-bottom: var(--space-4);
  font-size: var(--text-h3);
  font-weight: var(--weight-semibold);
  line-height: var(--line-h3);
  letter-spacing: -0.015em;
}

h4,
h5,
h6 {
  margin-bottom: var(--space-3);
  font-size: 1.25rem;
  line-height: 1.25;
}

p {
  margin-bottom: var(--space-5);
  color: var(--color-text);
}

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

li::marker {
  color: var(--color-brushed-copper);
}

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

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

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

blockquote {
  margin-right: 0;
  margin-bottom: var(--space-6);
  margin-left: 0;
  padding-left: var(--space-5);
  border-left: 4px solid var(--color-brushed-copper);
  color: var(--color-warm-ivory);
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: var(--weight-medium);
  line-height: 1.15;
}

blockquote p {
  color: inherit;
}

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

figcaption {
  margin-top: var(--space-3);
  color: var(--color-ivory-muted);
  font-size: var(--text-small);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.1em;
  line-height: var(--line-small);
  text-transform: uppercase;
}

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

small {
  font-size: 0.875em;
}

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

em,
i {
  font-style: italic;
}

code,
kbd,
samp,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

code,
kbd {
  padding: 0.1em 0.3em;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-charcoal-soft);
  color: var(--color-warm-ivory);
  font-size: 0.9em;
}

pre {
  margin-bottom: var(--space-5);
  padding: var(--space-4);
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-charcoal-soft);
  color: var(--color-warm-ivory);
}

caption {
  margin-bottom: var(--space-3);
  color: var(--color-ivory-muted);
  font-size: var(--text-small);
  text-align: left;
}

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

th {
  color: var(--color-warm-ivory);
  font-weight: var(--weight-semibold);
}

td {
  color: var(--color-text-muted);
}

label {
  display: inline-block;
  margin-bottom: var(--space-2);
  color: var(--color-warm-ivory);
  font-size: var(--text-small);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  line-height: var(--line-small);
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: var(--color-surface-glass);
  color: var(--color-warm-ivory);
  line-height: 1.4;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

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

textarea {
  padding: 0.75rem;
}

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

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(242, 232, 216, 0.46);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-brushed-copper);
  outline: 2px solid var(--color-brushed-copper);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--color-deep-charcoal);
}

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

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

input[type="file"]::file-selector-button {
  margin-right: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-brushed-copper);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-warm-ivory);
  cursor: pointer;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--color-warm-ivory) 50%), linear-gradient(135deg, var(--color-warm-ivory) 50%, transparent 50%);
  background-position: calc(100% - 1rem) 50%, calc(100% - 0.7rem) 50%;
  background-repeat: no-repeat;
  background-size: 0.3rem 0.3rem, 0.3rem 0.3rem;
  padding-right: 2.5rem;
}

option {
  background: var(--color-charcoal-soft);
  color: var(--color-warm-ivory);
}

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

legend {
  padding: 0 var(--space-2);
  color: var(--color-warm-ivory);
  font-size: var(--text-small);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

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

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

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

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

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

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

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

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

.surface--ivory :is(h1, h2, h3, h4, h5, h6, p, label, dt, th) {
  color: inherit;
}

.surface--ivory :is(a, td, dd, figcaption) {
  color: var(--color-deep-charcoal);
}

.panel {
  min-width: 0;
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
}

.panel--glass {
  background: var(--color-surface-glass);
  box-shadow: var(--shadow-floating);
}

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

.eyebrow {
  display: inline-block;
  margin-bottom: var(--space-3);
  color: var(--color-brushed-copper);
  font-size: var(--text-small);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.12em;
  line-height: var(--line-small);
  text-transform: uppercase;
}

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

.lead {
  margin-bottom: var(--space-5);
  color: var(--color-ivory-muted);
  font-size: var(--text-lead);
  font-weight: var(--weight-regular);
  line-height: var(--line-lead);
}

.meta {
  color: var(--color-ivory-muted);
  font-size: var(--text-small);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.1em;
  line-height: var(--line-small);
  text-transform: uppercase;
}

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

.rule--vertical {
  width: 4px;
  height: auto;
  min-height: 3rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.75rem;
  border: 1px solid var(--color-brushed-copper);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-warm-ivory);
  font-family: var(--font-body);
  font-size: var(--text-nav);
  font-weight: var(--weight-bold);
  letter-spacing: 0.08em;
  line-height: 1;
  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 {
  border-color: var(--color-brushed-copper-hover);
  background: var(--color-brushed-copper-hover);
  color: var(--color-deep-charcoal);
}

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

.button--primary {
  background: var(--color-brushed-copper);
  color: var(--color-deep-charcoal);
}

.button--primary:hover {
  background: var(--color-brushed-copper-hover);
  color: var(--color-deep-charcoal);
}

.button--light {
  border-color: var(--color-deep-charcoal);
  color: var(--color-deep-charcoal);
}

.button--light:hover {
  border-color: var(--color-deep-charcoal);
  background: var(--color-deep-charcoal);
  color: var(--color-warm-ivory);
}

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

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

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

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

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

.content-list {
  margin-bottom: var(--space-5);
  padding-left: 1.25rem;
}

.content-list > .image-frame {
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--color-charcoal-soft);
}

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

a.image-frame:hover > img,
a.image-frame:hover > picture > img {
  transform: scale(1.06);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@supports (backdrop-filter: blur(1px)) {
  .surface--glass,
  .panel--glass {
    backdrop-filter: blur(16px);
  }
}

@media (max-width: 899px) {
  :root {
    --container-padding: 1.25rem;
    --section-space: var(--space-10);
    --section-space-compact: var(--space-6);
  }
}

@media (max-width: 599px) {
  :root {
    --container-padding: 1rem;
    --section-space: 4.5rem;
    --section-space-compact: var(--space-6);
  }

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

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

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

  .button {
    width: 100%;
  }

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

  a.image-frame:hover > img,
  a.image-frame:hover > picture > img {
    transform: none;
  }
}