:root {
  --color-petrol-900: #163a3c;
  --color-espresso-950: #201a18;
  --color-warm-ivory: #f0e8dc;
  --color-burgundy-700: #63333b;
  --color-aged-copper: #a46f4c;
  --color-aged-copper-dark: #8b5b3e;
  --color-soft-sage: #788578;
  --color-ivory-muted: #c9beb0;
  --color-glass-petrol: rgba(22, 58, 60, 0.82);

  --color-text: var(--color-warm-ivory);
  --color-text-muted: var(--color-ivory-muted);
  --color-text-dark: var(--color-espresso-950);
  --color-border-copper: rgba(164, 111, 76, 0.28);
  --color-border-ivory: rgba(201, 190, 176, 0.22);
  --color-border-light: rgba(32, 26, 24, 0.2);
  --color-surface: var(--color-petrol-900);
  --color-surface-dark: var(--color-espresso-950);
  --color-surface-light: var(--color-warm-ivory);
  --color-surface-accent: var(--color-burgundy-700);

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

  --text-label: 0.75rem;
  --text-small: 0.875rem;
  --text-body: 1rem;
  --text-lead: 1.125rem;
  --text-card-title: 1.5rem;
  --text-section-title: clamp(2rem, 3.2vw, 2.25rem);
  --text-display: clamp(2.5rem, 5.2vw, 3.5rem);

  --leading-label: 1.3;
  --leading-small: 1.5;
  --leading-body: 1.65;
  --leading-lead: 1.55;
  --leading-title: 1.2;
  --leading-section: 1.08;
  --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;
  --space-11: 10rem;

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

  --header-height: 4.5rem;
  --header-height-mobile: 4rem;
  --header-offset: 1.25rem;
  --header-offset-mobile: 0.625rem;

  --radius-none: 0;
  --radius-sm: 0.25rem;
  --radius-overlay: 0.625rem;

  --shadow-soft: 0 0.75rem 2rem rgba(0, 0, 0, 0.22);

  --transition-fast: 180ms ease;
  --transition-overlay: 280ms ease-out;
  --transition-image: 500ms ease;
  --focus-ring: 0 0 0 0.125rem var(--color-aged-copper), 0 0 0 0.3125rem var(--color-petrol-900);
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--header-offset) + var(--space-4));
  -webkit-text-size-adjust: 100%;
  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;
}

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

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

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

img,
video {
  height: auto;
}

svg {
  fill: currentColor;
}

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

button,
input,
select,
textarea {
  max-width: 100%;
  color: inherit;
  font: inherit;
}

button,
select {
  text-transform: none;
}

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

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

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

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

a {
  color: inherit;
  text-decoration-color: currentColor;
  text-underline-offset: 0.16em;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

a:hover {
  color: var(--color-aged-copper);
}

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

::selection {
  background: var(--color-aged-copper);
  color: var(--color-espresso-950);
}

::placeholder {
  color: var(--color-ivory-muted);
  opacity: 1;
}

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

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

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

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

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

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

h5,
h6 {
  margin-bottom: var(--space-2);
  font-size: var(--text-lead);
  line-height: 1.3;
}

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

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

blockquote {
  margin-right: 0;
  margin-bottom: var(--space-6);
  margin-left: 0;
  padding: var(--space-5) 0 var(--space-5) var(--space-5);
  border-left: 0.125rem solid var(--color-aged-copper);
  color: inherit;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  line-height: 1.15;
}

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

blockquote cite {
  display: block;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-style: normal;
  line-height: var(--leading-small);
}

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

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

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

dt {
  font-weight: 700;
}

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

hr {
  height: 0.0625rem;
  margin-bottom: var(--space-6);
  border: 0;
  background: var(--color-border-copper);
}

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

strong,
b {
  font-weight: 700;
}

em,
i {
  font-style: italic;
}

mark {
  background: rgba(164, 111, 76, 0.32);
  color: inherit;
}

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

code,
kbd,
samp {
  font-size: 0.9em;
}

pre {
  margin-bottom: var(--space-5);
  padding: var(--space-4);
  overflow: auto;
  border: 0.0625rem solid var(--color-border-ivory);
  background: var(--color-surface-dark);
  color: var(--color-text);
}

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

input,
select,
textarea {
  width: 100%;
  border: 0.0625rem solid var(--color-border-ivory);
  border-radius: var(--radius-sm);
  background: var(--color-surface-dark);
  color: var(--color-text);
  transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

textarea {
  padding: 0.875rem;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--color-aged-copper) 50%), linear-gradient(135deg, var(--color-aged-copper) 50%, transparent 50%);
  background-position: calc(100% - 1.125rem) calc(50% - 0.125rem), calc(100% - 0.875rem) calc(50% - 0.125rem);
  background-repeat: no-repeat;
  background-size: 0.375rem 0.375rem, 0.375rem 0.375rem;
  padding-right: 2.5rem;
}

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

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

input[type="file"]::file-selector-button {
  margin-right: var(--space-3);
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--color-aged-copper);
  color: var(--color-espresso-950);
  padding: var(--space-2) var(--space-3);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(164, 111, 76, 0.56);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-aged-copper);
  outline: none;
  box-shadow: var(--focus-ring);
}

fieldset {
  margin: 0 0 var(--space-5);
  padding: var(--space-5);
  border: 0.0625rem solid var(--color-border-ivory);
}

legend {
  padding: 0 var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--text-lead);
}

button,
.button {
  display: inline-flex;
  min-width: 0;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  border: 0.0625rem solid transparent;
  border-radius: var(--radius-sm);
  padding: 0.875rem 1.375rem;
  background: var(--color-aged-copper);
  color: var(--color-espresso-950);
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.03em;
  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,
.button:hover {
  background: var(--color-aged-copper-dark);
  color: var(--color-espresso-950);
}

button:active,
.button:active {
  transform: translateY(0.0625rem);
}

.button--secondary {
  border-color: rgba(240, 232, 220, 0.55);
  background: transparent;
  color: var(--color-warm-ivory);
}

.button--secondary:hover {
  border-color: var(--color-aged-copper);
  background: rgba(22, 58, 60, 0.7);
  color: var(--color-warm-ivory);
}

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

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

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

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

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  color: var(--color-aged-copper);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: var(--leading-label);
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.75rem;
  height: 0.0625rem;
  background: currentColor;
  content: "";
}

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

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

.surface-light .text-muted {
  color: rgba(32, 26, 24, 0.7);
}

.panel {
  padding: var(--space-6);
  border: 0.0625rem solid var(--color-border-copper);
  border-radius: var(--radius-none);
  background: var(--color-surface-dark);
  box-shadow: var(--shadow-soft);
}

.surface-light .panel {
  border-color: var(--color-border-light);
  background: rgba(240, 232, 220, 0.96);
  color: var(--color-text-dark);
}

.card {
  padding: var(--space-5);
  border: 0.0625rem solid var(--color-border-copper);
  border-radius: var(--radius-sm);
  background: var(--color-surface-light);
  color: var(--color-text-dark);
  box-shadow: var(--shadow-soft);
}

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

.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--end {
  justify-content: flex-end;
}

.cluster--between {
  justify-content: space-between;
}

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

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

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

.tag {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  border: 0.0625rem solid currentColor;
  border-radius: var(--radius-none);
  padding: 0.3125rem 0.5rem;
  background: transparent;
  color: var(--color-aged-copper);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: var(--leading-label);
  text-transform: uppercase;
}

.tag--seasonal {
  border-color: var(--color-soft-sage);
  background: var(--color-soft-sage);
  color: var(--color-espresso-950);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: var(--space-3);
  left: var(--space-3);
  transform: translateY(-200%);
  border-radius: var(--radius-sm);
  background: var(--color-aged-copper);
  color: var(--color-espresso-950);
  padding: var(--space-3) var(--space-4);
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

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

@media (max-width: 56.25rem) {
  :root {
    --container-padding: var(--container-padding-mobile);
    --header-height: var(--header-height-mobile);
    --header-offset: var(--header-offset-mobile);
  }

  .section {
    padding-block: clamp(4.5rem, 11vw, 6rem);
  }
}

@media (max-width: 37.5rem) {
  h1 {
    margin-bottom: var(--space-5);
  }

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

  .cluster {
    align-items: stretch;
  }

  .cluster > .button,
  .cluster > button {
    width: 100%;
  }
}

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

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