:root {
  --color-ivory: #F7F3EA;
  --color-forest: #1F3A2E;
  --color-forest-deep: #162A21;
  --color-terracotta: #C25B3A;
  --color-terracotta-soft: #F0D9CE;
  --color-steel: #6E7A7D;
  --color-steel-light: #D7DCDD;
  --color-beige: #EFE6D8;
  --color-charcoal: #2B2B28;
  --color-charcoal-muted: #5A5A55;
  --color-ivory-on-dark: #F2EDE3;
  --color-border-soft: #D8D0C2;
  --color-terracotta-hover: #A84A2E;
  --color-forest-hover: #162A21;
  --color-border-dark: rgba(242, 237, 227, 0.18);
  --color-shadow: rgba(43, 43, 40, 0.08);
  --color-focus: #C25B3A;

  --font-heading: "Fraunces", serif;
  --font-body: "Inter", sans-serif;

  --text-display-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
  --text-h1-size: clamp(2rem, 1.4rem + 2.4vw, 2.75rem);
  --text-h2-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.125rem);
  --text-h3-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.625rem);
  --text-h4-size: 1.25rem;
  --text-body-large-size: 1.125rem;
  --text-body-size: 1rem;
  --text-body-small-size: 0.875rem;
  --text-navigation-size: 0.875rem;
  --text-eyebrow-size: 0.75rem;
  --text-button-size: 0.9375rem;

  --text-display-line-height: 1.05;
  --text-h1-line-height: 1.1;
  --text-h2-line-height: 1.15;
  --text-h3-line-height: 1.2;
  --text-h4-line-height: 1.3;
  --text-body-large-line-height: 1.6;
  --text-body-line-height: 1.65;
  --text-body-small-line-height: 1.55;
  --text-navigation-line-height: 1.2;
  --text-eyebrow-line-height: 1.2;
  --text-button-line-height: 1.2;

  --text-display-weight: 500;
  --text-h1-weight: 500;
  --text-h2-weight: 500;
  --text-h3-weight: 500;
  --text-h4-weight: 600;
  --text-body-large-weight: 400;
  --text-body-weight: 400;
  --text-body-small-weight: 400;
  --text-navigation-weight: 500;
  --text-eyebrow-weight: 600;
  --text-button-weight: 600;

  --text-display-letter-spacing: -0.02em;
  --text-h1-letter-spacing: -0.01em;
  --text-h2-letter-spacing: 0;
  --text-h3-letter-spacing: 0;
  --text-h4-letter-spacing: 0.01em;
  --text-body-large-letter-spacing: 0;
  --text-body-letter-spacing: 0;
  --text-body-small-letter-spacing: 0;
  --text-navigation-letter-spacing: 0.08em;
  --text-eyebrow-letter-spacing: 0.14em;
  --text-button-letter-spacing: 0.02em;

  --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: 1200px;
  --container-padding-mobile: 1.5rem;
  --container-padding-desktop: 2.5rem;
  --container-padding: var(--container-padding-mobile);

  --header-height-desktop: 72px;
  --header-height-mobile: 64px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 999px;

  --shadow-card: 0 8px 24px var(--color-shadow);

  --transition-fast: 150ms ease-out;
  --transition-menu: 200ms ease-out;
}

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

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

* {
  margin: 0;
}

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

body {
  min-height: 100vh;
  background-color: var(--color-ivory);
  color: var(--color-charcoal);
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  font-weight: var(--text-body-weight);
  line-height: var(--text-body-line-height);
  letter-spacing: var(--text-body-letter-spacing);
  -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: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-charcoal);
  line-height: var(--text-h1-line-height);
  font-weight: var(--text-h1-weight);
  letter-spacing: var(--text-h1-letter-spacing);
  overflow-wrap: break-word;
  text-wrap: balance;
}

h1 {
  font-size: var(--text-h1-size);
  line-height: var(--text-h1-line-height);
  font-weight: var(--text-h1-weight);
  letter-spacing: var(--text-h1-letter-spacing);
  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);
  letter-spacing: var(--text-h2-letter-spacing);
  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);
  letter-spacing: var(--text-h3-letter-spacing);
  margin-block-end: var(--space-sm);
}

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);
  letter-spacing: var(--text-h4-letter-spacing);
  margin-block-end: var(--space-xs);
}

p {
  margin-block-end: var(--space-md);
  overflow-wrap: break-word;
}

blockquote {
  margin-block-end: var(--space-lg);
  padding-inline-start: var(--space-lg);
  border-inline-start: 3px solid var(--color-terracotta);
  font-family: var(--font-heading);
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  font-weight: var(--text-h3-weight);
  color: var(--color-charcoal);
}

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

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

address {
  font-style: normal;
}

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

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

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

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

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.875em;
}

pre {
  padding: var(--space-md);
  background-color: var(--color-beige);
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin-block-end: var(--space-lg);
}

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

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

.surface-forest {
  background-color: var(--color-forest);
  color: var(--color-ivory-on-dark);
}

.surface-forest h1,
.surface-forest h2,
.surface-forest h3,
.surface-forest h4,
.surface-forest h5,
.surface-forest h6 {
  color: var(--color-ivory-on-dark);
}

.surface-forest p,
.surface-forest li,
.surface-forest blockquote {
  color: var(--color-ivory-on-dark);
}

.surface-forest-deep {
  background-color: var(--color-forest-deep);
  color: var(--color-ivory-on-dark);
}

.surface-forest-deep h1,
.surface-forest-deep h2,
.surface-forest-deep h3,
.surface-forest-deep h4,
.surface-forest-deep h5,
.surface-forest-deep h6 {
  color: var(--color-ivory-on-dark);
}

.surface-forest-deep p,
.surface-forest-deep li,
.surface-forest-deep blockquote {
  color: var(--color-ivory-on-dark);
}

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

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

.text-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);
  letter-spacing: var(--text-display-letter-spacing);
  color: var(--color-charcoal);
  margin-block-end: var(--space-lg);
}

.text-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-eyebrow-size);
  line-height: var(--text-eyebrow-line-height);
  font-weight: var(--text-eyebrow-weight);
  letter-spacing: var(--text-eyebrow-letter-spacing);
  text-transform: uppercase;
  color: var(--color-charcoal-muted);
  margin-block-end: var(--space-xs);
}

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

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

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

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

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

.text-ivory-on-dark {
  color: var(--color-ivory-on-dark);
}

.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);
  line-height: var(--text-button-line-height);
  font-weight: var(--text-button-weight);
  letter-spacing: var(--text-button-letter-spacing);
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  min-height: 44px;
  cursor: pointer;
  text-align: center;
}

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

.btn-primary {
  background-color: var(--color-terracotta);
  color: var(--color-ivory);
  border-color: var(--color-terracotta);
}

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

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

.btn-secondary:hover {
  background-color: var(--color-beige);
  border-color: var(--color-charcoal-muted);
}

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

.btn-secondary-on-dark:hover {
  background-color: var(--color-forest-deep);
  border-color: var(--color-ivory-on-dark);
}

.btn-steel {
  background-color: var(--color-steel);
  color: var(--color-ivory);
  border-color: var(--color-steel);
}

.btn-steel:hover {
  background-color: var(--color-charcoal-muted);
  border-color: var(--color-charcoal-muted);
}

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

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

.card-elevated {
  background-color: var(--color-beige);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
}

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

.card-forest {
  background-color: var(--color-forest-deep);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  color: var(--color-ivory-on-dark);
}

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

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

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

.panel-reservation {
  background-color: var(--color-beige);
  border: 1px solid var(--color-border-soft);
  border-top: 4px solid var(--color-terracotta);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

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

.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-family: var(--font-body);
  font-size: var(--text-body-small-size);
  line-height: var(--text-body-small-line-height);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  background-color: var(--color-terracotta-soft);
  color: var(--color-charcoal);
}

.tag-steel {
  background-color: var(--color-steel-light);
  color: var(--color-charcoal);
}

.tag-pill {
  border-radius: var(--radius-full);
  padding: 0.25rem 0.875rem;
}

.divider {
  border: none;
  border-top: 1px solid var(--color-border-soft);
  margin-block: var(--space-lg);
}

.divider-dark {
  border: none;
  border-top: 1px solid var(--color-border-dark);
  margin-block: var(--space-lg);
}

.divider-steel {
  border: none;
  border-top: 1px solid var(--color-steel);
  margin-block: var(--space-lg);
}

.accent-rule {
  width: 1.5rem;
  height: 4px;
  background-color: var(--color-terracotta);
  border-radius: var(--radius-sm);
  margin-block-end: var(--space-sm);
}

.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-body-small-size);
  line-height: var(--text-body-small-line-height);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--color-charcoal);
  margin-block-end: var(--space-xs);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  font-weight: var(--text-body-weight);
  letter-spacing: var(--text-body-letter-spacing);
  color: var(--color-charcoal);
  background-color: var(--color-ivory);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  min-height: 44px;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-charcoal-muted);
}

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

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-hint {
  font-size: var(--text-body-small-size);
  line-height: var(--text-body-small-line-height);
  color: var(--color-charcoal-muted);
  margin-block-start: var(--space-2xs);
}

.form-group {
  margin-block-end: var(--space-md);
}

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

.form-confirmation {
  background-color: var(--color-terracotta-soft);
  color: var(--color-charcoal);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  margin-block-end: var(--space-lg);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.flex-item-grow {
  flex-grow: 1;
}

.flex-item-shrink-none {
  flex-shrink: 0;
}

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

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

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

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

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

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

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

.stack-2xl {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

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

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

.content-list > li {
  margin: 0;
  padding: 0;
}

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

.content-list-bulleted {
  list-style: disc;
  padding-inline-start: var(--space-lg);
}

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

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

.content-list-numbered {
  list-style: decimal;
  padding-inline-start: var(--space-lg);
}

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

.content-list-numbered > li:last-child {
  margin-block-end: 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-forest);
  color: var(--color-ivory-on-dark);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: top var(--transition-fast);
}

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

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

::selection {
  background-color: var(--color-terracotta-soft);
  color: var(--color-charcoal);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}