:root {
  --color-background: #FBF7F0;
  --color-surface: #FFFFFF;
  --color-surface-alt: #F3EDE3;
  --color-ink: #2E3328;
  --color-ink-muted: #5F6657;
  --color-primary: #C25E3A;
  --color-primary-hover: #A84D2E;
  --color-secondary: #7A8B6F;
  --color-ochre: #D9A441;
  --color-border: #E2D9CC;
  --color-focus: #C25E3A;
  --color-success: #4F7A4A;
  --color-error: #B3402E;

  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --text-display-size: clamp(2rem, 5vw, 3.5rem);
  --text-display-line-height: 1.1;
  --text-display-weight: 400;

  --text-h1-size: clamp(1.75rem, 4vw, 2.5rem);
  --text-h1-line-height: 1.15;
  --text-h1-weight: 500;

  --text-h2-size: clamp(1.5rem, 3vw, 2rem);
  --text-h2-line-height: 1.2;
  --text-h2-weight: 500;

  --text-h3-size: clamp(1.25rem, 2.5vw, 1.5rem);
  --text-h3-line-height: 1.3;
  --text-h3-weight: 500;

  --text-h4-size: 1.25rem;
  --text-h4-line-height: 1.35;
  --text-h4-weight: 600;

  --text-body-large-size: 1.125rem;
  --text-body-large-line-height: 1.6;
  --text-body-large-weight: 400;

  --text-body-size: 1rem;
  --text-body-line-height: 1.6;
  --text-body-weight: 400;

  --text-body-small-size: 0.875rem;
  --text-body-small-line-height: 1.5;
  --text-body-small-weight: 400;

  --text-caption-size: 0.75rem;
  --text-caption-line-height: 1.4;
  --text-caption-weight: 500;

  --text-button-size: 0.9375rem;
  --text-button-line-height: 1.2;
  --text-button-weight: 600;

  --text-price-size: 1.25rem;
  --text-price-line-height: 1.3;
  --text-price-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-max-width: 1280px;
  --container-padding-desktop: 24px;
  --container-padding-mobile: 16px;

  --radius-card: 12px;
  --radius-button: 8px;
  --radius-badge: 999px;
  --radius-image: 8px;
  --radius-editorial-image: 12px;
  --radius-modal: 16px;

  --shadow-elevated: 0 4px 12px rgba(46, 51, 40, 0.08);
  --shadow-hover: 0 2px 8px rgba(46, 51, 40, 0.06);

  --border-width: 1px;
  --border-width-focus: 2px;
  --focus-ring-offset: 2px;

  --transition-fast: 150ms ease-in-out;
  --transition-transform: 200ms ease-in-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-line-height);
  color: var(--color-ink);
  background-color: var(--color-background);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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;
  padding: 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

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

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

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

h3 {
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  font-weight: var(--text-h3-weight);
  margin-block-end: var(--space-md);
}

h4 {
  font-family: var(--font-body);
  font-size: var(--text-h4-size);
  line-height: var(--text-h4-line-height);
  font-weight: var(--text-h4-weight);
  margin-block-end: var(--space-sm);
}

h5,
h6 {
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  font-weight: 600;
  margin-block-end: var(--space-sm);
}

p {
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  margin-block-end: var(--space-md);
  overflow-wrap: break-word;
}

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

blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-line-height);
  color: var(--color-ink-muted);
  margin-block-end: var(--space-lg);
  padding-inline-start: var(--space-lg);
  border-inline-start: 3px solid var(--color-primary);
}

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

figcaption {
  font-size: var(--text-caption-size);
  line-height: var(--text-caption-line-height);
  color: var(--color-ink-muted);
  margin-block-start: var(--space-xs);
}

hr {
  border: none;
  border-block-start: var(--border-width) solid var(--color-border);
  margin-block: var(--space-lg);
}

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

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

th {
  font-weight: 600;
  color: var(--color-ink);
}

address {
  font-style: normal;
}

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

strong {
  font-weight: 600;
}

:focus-visible {
  outline: var(--border-width-focus) solid var(--color-focus);
  outline-offset: var(--focus-ring-offset);
  border-radius: 2px;
}

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

.surface {
  background-color: var(--color-surface);
  border: var(--border-width) solid var(--color-border);
  border-radius: var(--radius-card);
}

.surface-alt {
  background-color: var(--color-surface-alt);
  border-radius: var(--radius-card);
}

.surface-elevated {
  background-color: var(--color-surface);
  border: var(--border-width) solid var(--color-border);
  border-radius: var(--radius-modal);
  box-shadow: var(--shadow-elevated);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-family: var(--font-body);
  font-size: var(--text-button-size);
  font-weight: var(--text-button-weight);
  line-height: var(--text-button-line-height);
  padding: var(--space-sm) var(--space-lg);
  min-height: 44px;
  border-radius: var(--radius-button);
  border: var(--border-width) solid transparent;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  color: #FFFFFF;
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.btn-secondary:hover {
  background-color: var(--color-secondary);
  color: #FFFFFF;
}

.btn-tertiary {
  background-color: transparent;
  color: var(--color-primary);
  padding-inline: var(--space-xs);
  min-height: 44px;
}

.btn-tertiary:hover {
  text-decoration: underline;
  color: var(--color-primary-hover);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: var(--text-caption-size);
  font-weight: var(--text-caption-weight);
  line-height: var(--text-caption-line-height);
  padding: var(--space-2xs) var(--space-sm);
  border-radius: var(--radius-badge);
  color: #FFFFFF;
  white-space: nowrap;
}

.badge-secondary {
  background-color: var(--color-secondary);
}

.badge-ochre {
  background-color: var(--color-ochre);
}

.badge-primary {
  background-color: var(--color-primary);
}

.price {
  font-family: var(--font-body);
  font-size: var(--text-price-size);
  font-weight: var(--text-price-weight);
  line-height: var(--text-price-line-height);
  color: var(--color-primary);
}

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

.text-caption {
  font-size: var(--text-caption-size);
  line-height: var(--text-caption-line-height);
  font-weight: var(--text-caption-weight);
  color: var(--color-ink-muted);
}

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

.text-body-large {
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-line-height);
}

.display {
  font-family: var(--font-heading);
  font-size: var(--text-display-size);
  line-height: var(--text-display-line-height);
  font-weight: var(--text-display-weight);
  color: var(--color-ink);
  margin-block-end: var(--space-lg);
}

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

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

.flex-center {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.flex-between {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.flex-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

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

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

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

.grid-auto {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-auto > * {
  min-width: 0;
}

.visually-hidden {
  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-primary);
  color: #FFFFFF;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-button);
  font-weight: var(--text-button-weight);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-md);
  color: #FFFFFF;
  text-decoration: none;
}

:where(h1, h2, h3, h4, h5, h6, p, ul, ol, blockquote, figure, table, hr):last-child {
  margin-block-end: 0;
}

.content-list {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.content-list li {
  padding-inline-start: var(--space-lg);
  position: relative;
}

.content-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--container-padding-desktop);
  }
}