/* ============================================================
   Custom Properties
   ============================================================ */
:root {
  --color-bg:          #ffffff;
  --color-text:        #111111;
  --color-text-muted:  #6b7280;
  --color-border:      #e5e7eb;
  --color-surface:     #f8fafc;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width:    1120px;
  --container-px: 2rem;
  --section-py:   6rem;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

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

/* ============================================================
   Layout
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

/* ============================================================
   Typography helpers
   ============================================================ */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
  max-width: 54ch;
  line-height: 1.7;
}

.section-header {
  margin-bottom: 3rem;
}

.section-cta {
  margin-top: 3rem;
}

/* ============================================================
   Responsive — global variable overrides only
   ============================================================ */
@media (max-width: 900px) {
  :root {
    --section-py: 4.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py:   4rem;
    --container-px: 1.25rem;
  }
}
