@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Sans+3:wght@400;600;700&display=swap');

:root {
  --color-charcoal: #1A1A1A;
  --color-smoke: #2E2E2E;
  --color-graphite: #4A4A4A;
  --color-deepRed: #8B0000;
  --color-agedRed: #A52A2A;
  --color-offWhite: #F5F5F5;
  --color-mutedWhite: #B0B0B0;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, sans-serif;

  --text-display-size: 3.5rem;
  --text-display-line: 1.1;
  --text-display-weight: 700;
  --text-h1-size: 2.5rem;
  --text-h1-line: 1.2;
  --text-h1-weight: 700;
  --text-h2-size: 2rem;
  --text-h2-line: 1.3;
  --text-h2-weight: 600;
  --text-h3-size: 1.5rem;
  --text-h3-line: 1.4;
  --text-h3-weight: 600;
  --text-body-size: 1rem;
  --text-body-line: 1.6;
  --text-body-weight: 400;
  --text-small-size: 0.875rem;
  --text-small-line: 1.5;
  --text-small-weight: 400;

  --space-4xs: 4px;
  --space-3xs: 8px;
  --space-2xs: 16px;
  --space-xs: 24px;
  --space-sm: 32px;
  --space-md: 48px;
  --space-lg: 64px;
  --space-xl: 96px;

  --container-max: 1200px;
  --container-padding: var(--space-xs);

  --surface-card-bg: var(--color-smoke);
  --surface-card-padding: var(--space-xs);
  --surface-card-radius: var(--radius-md);

  --shadow-card: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-modal: 0 8px 40px rgba(0,0,0,0.6);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --transition-fast: 0.2s ease;
}

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

html {
  -webkit-text-size-adjust: 100%;
  -moz-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);
  color: var(--color-offWhite);
  background-color: var(--color-charcoal);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  border-radius: 0;
  object-fit: cover;
}

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

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

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

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

p {
  font-size: var(--text-body-size);
  line-height: var(--text-body-line);
  font-weight: var(--text-body-weight);
  margin-block-end: var(--space-2xs);
}

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

ul, ol {
  list-style: none !important;
  padding-inline-start: 0;
  margin-block-end: var(--space-2xs);
}

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

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

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

blockquote {
  margin-block-end: var(--space-2xs);
  padding-inline-start: var(--space-xs);
  border-inline-start: 3px solid var(--color-deepRed);
  color: var(--color-mutedWhite);
  font-style: italic;
}

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

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

a:hover {
  color: var(--color-agedRed);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  font-size: inherit;
}

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

input, textarea, select {
  font-family: inherit;
  font-size: var(--text-body-size);
  color: var(--color-offWhite);
  background-color: var(--color-smoke);
  border: 1px solid var(--color-graphite);
  border-radius: var(--radius-sm);
  padding: var(--space-3xs) var(--space-2xs);
  transition: border-color var(--transition-fast);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-deepRed);
}

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xs);
  padding: var(--space-3xs) var(--space-xs);
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-pill);
  background-color: var(--color-deepRed);
  color: var(--color-offWhite);
  transition: background-color var(--transition-fast);
  text-decoration: none;
  min-height: 44px;
  min-width: 44px;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--color-agedRed);
  color: var(--color-offWhite);
}

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

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

.btn-outline:hover {
  background-color: var(--color-deepRed);
  color: var(--color-offWhite);
}

.card {
  background-color: var(--surface-card-bg);
  border: 1px solid var(--color-graphite);
  border-radius: var(--radius-md);
  padding: var(--surface-card-padding);
  box-shadow: var(--shadow-card);
}

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

.flex {
  display: flex;
}

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

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

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

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

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

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

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

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

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

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

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

@media (max-width: 1024px) {
  :root {
    --text-display-size: 2.8rem;
    --text-h1-size: 2rem;
    --text-h2-size: 1.75rem;
    --text-h3-size: 1.35rem;
    --container-padding: var(--space-2xs);
  }
}

@media (max-width: 768px) {
  :root {
    --text-display-size: 2.2rem;
    --text-h1-size: 1.75rem;
    --text-h2-size: 1.5rem;
    --text-h3-size: 1.25rem;
    --container-padding: var(--space-2xs);
    --surface-card-padding: var(--space-2xs);
  }

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

@media (max-width: 480px) {
  :root {
    --text-display-size: 1.8rem;
    --text-h1-size: 1.5rem;
    --text-h2-size: 1.35rem;
    --text-h3-size: 1.15rem;
  }
}