:root {
  --color-ink: #0B0A0A;
  --color-burgundy: #4A1220;
  --color-burgundy-deep: #2E0A14;
  --color-sand: #E8DCC8;
  --color-sand-light: #F4EDE1;
  --color-gold: #C9A227;
  --color-gold-soft: #D8B96A;
  --color-wood: #3B2A1E;
  --color-muted: #6B5E52;
  --color-line: #CBBFAE;
  --color-dark-line: rgba(232, 220, 200, 0.18);
  --color-dark-body: rgba(244, 237, 225, 0.9);

  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --text-display-size: clamp(2.5rem, 5vw + 1rem, 4rem);
  --text-display-leading: 1.05;
  --text-display-tracking: -0.02em;
  --text-display-weight: 600;

  --text-h1-size: clamp(2.25rem, 3.5vw + 0.75rem, 3rem);
  --text-h1-leading: 1.1;
  --text-h1-tracking: -0.01em;
  --text-h1-weight: 600;

  --text-h2-size: clamp(1.875rem, 2.5vw + 0.5rem, 2.25rem);
  --text-h2-leading: 1.15;
  --text-h2-tracking: -0.01em;
  --text-h2-weight: 500;

  --text-h3-size: clamp(1.5rem, 1.5vw + 0.5rem, 1.625rem);
  --text-h3-leading: 1.2;
  --text-h3-tracking: 0;
  --text-h3-weight: 500;

  --text-h4-size: 1.25rem;
  --text-h4-leading: 1.3;
  --text-h4-tracking: 0.01em;
  --text-h4-weight: 600;

  --text-body-large-size: 1.25rem;
  --text-body-large-leading: 1.6;
  --text-body-large-tracking: 0;
  --text-body-large-weight: 400;

  --text-body-size: 1.0625rem;
  --text-body-leading: 1.65;
  --text-body-tracking: 0;
  --text-body-weight: 400;

  --text-body-small-size: 0.9375rem;
  --text-body-small-leading: 1.6;
  --text-body-small-tracking: 0;
  --text-body-small-weight: 400;

  --text-caption-size: 0.8125rem;
  --text-caption-leading: 1.5;
  --text-caption-tracking: 0.04em;
  --text-caption-weight: 500;

  --text-label-size: 0.75rem;
  --text-label-leading: 1.4;
  --text-label-tracking: 0.08em;
  --text-label-weight: 600;

  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  --container-editorial: 75rem;
  --container-gallery: 82.5rem;
  --gutter-mobile: 1.5rem;
  --gutter-tablet: 2.5rem;
  --gutter-desktop: 4rem;

  --section-padding-mobile: 4rem;
  --section-padding-tablet: 6rem;
  --section-padding-desktop: 8rem;

  --radius-none: 0;
  --radius-sm: 2px;
  --radius-md: 4px;

  --shadow-float: 0 8px 24px rgba(11, 10, 10, 0.12);

  --transition-fast: 180ms ease-out;
  --transition-image: 400ms ease-out;
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  font-weight: var(--text-body-weight);
  line-height: var(--text-body-leading);
  letter-spacing: var(--text-body-tracking);
  color: var(--color-ink);
  background-color: var(--color-sand);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  background: none;
  border: none;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: inherit;
  overflow-wrap: break-word;
}

h1 {
  font-size: var(--text-h1-size);
  line-height: var(--text-h1-leading);
  letter-spacing: var(--text-h1-tracking);
  font-weight: var(--text-h1-weight);
  margin-block-end: var(--space-lg);
}

h2 {
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-leading);
  letter-spacing: var(--text-h2-tracking);
  font-weight: var(--text-h2-weight);
  margin-block-end: var(--space-md);
}

h3 {
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-leading);
  letter-spacing: var(--text-h3-tracking);
  font-weight: var(--text-h3-weight);
  margin-block-end: var(--space-sm);
}

h4 {
  font-family: var(--font-body);
  font-size: var(--text-h4-size);
  line-height: var(--text-h4-leading);
  letter-spacing: var(--text-h4-tracking);
  font-weight: var(--text-h4-weight);
  text-transform: uppercase;
  margin-block-end: var(--space-sm);
}

p {
  margin-block-end: var(--space-md);
}

p:last-child {
  margin-block-end: 0;
}

blockquote {
  font-family: var(--font-heading);
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-leading);
  letter-spacing: var(--text-body-large-tracking);
  font-weight: var(--text-body-large-weight);
  margin-block-end: var(--space-lg);
  padding-inline-start: var(--space-lg);
  border-inline-start: 2px solid var(--color-gold);
}

blockquote:last-child {
  margin-block-end: 0;
}

ul,
ol {
  margin-block-end: var(--space-md);
  padding-inline-start: var(--space-lg);
}

ul:last-child,
ol:last-child {
  margin-block-end: 0;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li {
  margin-block-end: var(--space-xs);
}

li:last-child {
  margin-block-end: 0;
}

.content-list li {
  margin-block-end: var(--space-xs);
}

.content-list li:last-child {
  margin-block-end: 0;
}

figure {
  margin-block-end: var(--space-lg);
}

figure:last-child {
  margin-block-end: 0;
}

figcaption {
  font-size: var(--text-caption-size);
  line-height: var(--text-caption-leading);
  letter-spacing: var(--text-caption-tracking);
  font-weight: var(--text-caption-weight);
  text-transform: uppercase;
  color: var(--color-muted);
  margin-block-start: var(--space-sm);
  padding-block-start: var(--space-sm);
  border-block-start: 1px solid var(--color-gold);
}

hr {
  border: none;
  border-block-start: 1px solid var(--color-line);
  margin-block: var(--space-xl);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-block-end: var(--space-lg);
}

table:last-child {
  margin-block-end: 0;
}

th,
td {
  text-align: start;
  padding: var(--space-sm) var(--space-md);
  border-block-end: 1px solid var(--color-line);
}

th {
  font-size: var(--text-label-size);
  line-height: var(--text-label-leading);
  letter-spacing: var(--text-label-tracking);
  font-weight: var(--text-label-weight);
  text-transform: uppercase;
  color: var(--color-muted);
}

label {
  display: block;
  font-size: var(--text-label-size);
  line-height: var(--text-label-leading);
  letter-spacing: var(--text-label-tracking);
  font-weight: var(--text-label-weight);
  text-transform: uppercase;
  color: var(--color-muted);
  margin-block-end: var(--space-xs);
}

input,
textarea,
select {
  width: 100%;
  background-color: var(--color-sand-light);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-body-size);
  line-height: var(--text-body-leading);
  letter-spacing: var(--text-body-tracking);
  font-weight: var(--text-body-weight);
  color: var(--color-ink);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 2px var(--color-gold);
  box-shadow: 0 0 0 2px var(--color-gold);
}

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

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

select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B5E52' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-md) center;
  padding-inline-end: var(--space-2xl);
}

.container {
  width: 100%;
  max-width: var(--container-editorial);
  margin-inline: auto;
  padding-inline: var(--gutter-mobile);
}

.container-wide {
  width: 100%;
  max-width: var(--container-gallery);
  margin-inline: auto;
  padding-inline: var(--gutter-mobile);
}

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

.section-sand {
  background-color: var(--color-sand);
}

.section-sand-light {
  background-color: var(--color-sand-light);
}

.section-burgundy {
  background-color: var(--color-burgundy);
  color: var(--color-sand);
}

.section-burgundy-deep {
  background-color: var(--color-burgundy-deep);
  color: var(--color-sand);
}

.section-wood {
  background-color: var(--color-wood);
  color: var(--color-sand);
}

.section-dark {
  color: var(--color-sand);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
  color: var(--color-sand);
}

.section-dark p,
.section-dark li,
.section-dark blockquote {
  color: var(--color-dark-body);
}

.section-dark figcaption {
  color: var(--color-gold-soft);
}

.section-dark hr {
  border-block-start-color: var(--color-dark-line);
}

.section-dark th,
.section-dark td {
  border-block-end-color: var(--color-dark-line);
}

.section-dark th {
  color: var(--color-gold-soft);
}

.section-dark label {
  color: var(--color-gold-soft);
}

.section-dark input,
.section-dark textarea,
.section-dark select {
  background-color: rgba(244, 237, 225, 0.08);
  border-color: var(--color-dark-line);
  color: var(--color-sand);
}

.section-dark input:focus,
.section-dark textarea:focus,
.section-dark select:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 2px var(--color-gold);
}

.section-dark input::placeholder,
.section-dark textarea::placeholder {
  color: rgba(244, 237, 225, 0.5);
}

.display {
  font-family: var(--font-heading);
  font-size: var(--text-display-size);
  line-height: var(--text-display-leading);
  letter-spacing: var(--text-display-tracking);
  font-weight: var(--text-display-weight);
  margin-block-end: var(--space-lg);
}

.display:last-child {
  margin-block-end: 0;
}

.body-large {
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-leading);
  letter-spacing: var(--text-body-large-tracking);
  font-weight: var(--text-body-large-weight);
  margin-block-end: var(--space-md);
}

.body-large:last-child {
  margin-block-end: 0;
}

.body-small {
  font-size: var(--text-body-small-size);
  line-height: var(--text-body-small-leading);
  letter-spacing: var(--text-body-small-tracking);
  font-weight: var(--text-body-small-weight);
  margin-block-end: var(--space-sm);
}

.body-small:last-child {
  margin-block-end: 0;
}

.caption {
  font-size: var(--text-caption-size);
  line-height: var(--text-caption-leading);
  letter-spacing: var(--text-caption-tracking);
  font-weight: var(--text-caption-weight);
  text-transform: uppercase;
  color: var(--color-muted);
  margin-block-end: var(--space-xs);
}

.caption:last-child {
  margin-block-end: 0;
}

.label {
  font-size: var(--text-label-size);
  line-height: var(--text-label-leading);
  letter-spacing: var(--text-label-tracking);
  font-weight: var(--text-label-weight);
  text-transform: uppercase;
  color: var(--color-muted);
  margin-block-end: var(--space-2xs);
}

.label:last-child {
  margin-block-end: 0;
}

.label-gold {
  color: var(--color-gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-label-size);
  line-height: var(--text-label-leading);
  letter-spacing: var(--text-label-tracking);
  font-weight: var(--text-label-weight);
  text-transform: uppercase;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), opacity var(--transition-fast);
}

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

.btn-primary {
  background-color: var(--color-burgundy);
  color: var(--color-sand);
  border: 1px solid var(--color-burgundy);
}

.btn-primary:hover {
  background-color: var(--color-burgundy-deep);
  border-color: var(--color-burgundy-deep);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-burgundy);
  border: 1px solid var(--color-burgundy);
}

.btn-secondary:hover {
  background-color: var(--color-burgundy);
  color: var(--color-sand);
}

.btn-dark {
  background-color: var(--color-sand);
  color: var(--color-burgundy);
  border: 1px solid var(--color-sand);
}

.btn-dark:hover {
  background-color: var(--color-sand-light);
  border-color: var(--color-sand-light);
}

.btn-dark-outline {
  background-color: transparent;
  color: var(--color-sand);
  border: 1px solid var(--color-sand);
}

.btn-dark-outline:hover {
  background-color: var(--color-sand);
  color: var(--color-burgundy);
}

.link {
  color: var(--color-burgundy);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.link:hover {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: var(--color-gold);
}

.link-dark {
  color: var(--color-sand);
}

.link-dark:hover {
  color: var(--color-gold-soft);
  text-decoration-color: var(--color-gold-soft);
}

.card {
  background-color: var(--color-sand-light);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.card-dark {
  background-color: rgba(244, 237, 225, 0.06);
  border: 1px solid var(--color-dark-line);
}

.card > :last-child {
  margin-block-end: 0;
}

.panel {
  background-color: var(--color-sand-light);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.panel > :last-child {
  margin-block-end: 0;
}

.panel-dark {
  background-color: rgba(244, 237, 225, 0.06);
  border: 1px solid var(--color-dark-line);
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-nowrap {
  flex-wrap: nowrap;
}

.flex-1 {
  flex: 1 1 0%;
  min-width: 0;
}

.flex-auto {
  flex: 0 0 auto;
}

.flex-grow {
  flex-grow: 1;
  min-width: 0;
}

.items-start {
  align-items: flex-start;
}

.items-center {
  align-items: center;
}

.items-end {
  align-items: flex-end;
}

.items-stretch {
  align-items: stretch;
}

.justify-start {
  justify-content: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-end {
  justify-content: flex-end;
}

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

.justify-around {
  justify-content: space-around;
}

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

.gap-xs {
  gap: var(--space-xs);
}

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

.gap-lg {
  gap: var(--space-lg);
}

.gap-xl {
  gap: var(--space-xl);
}

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

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

.flex-col > * {
  min-width: 0;
}

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

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

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: 1000;
  background-color: var(--color-burgundy);
  color: var(--color-sand);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-sm);
  font-size: var(--text-label-size);
  line-height: var(--text-label-leading);
  letter-spacing: var(--text-label-tracking);
  font-weight: var(--text-label-weight);
  text-transform: uppercase;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-md);
}

@media (min-width: 40rem) {
  .container,
  .container-wide {
    padding-inline: var(--gutter-tablet);
  }

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

@media (min-width: 64rem) {
  .container,
  .container-wide {
    padding-inline: var(--gutter-desktop);
  }

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

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

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