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

:root {
  --space-2xs: 0.4rem;
  --space-xs: 0.7rem;
  --space-sm: 1.1rem;
  --space-md: 1.75rem;
  --space-lg: 2.75rem;
  --space-xl: 4.25rem;
  --content-width: 1180px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-full: 999px;
  --shadow-sm: 0 1px 3px rgba(20, 20, 15, 0.1);
  --shadow-md: 0 16px 32px -14px rgba(20, 20, 15, 0.32);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 180ms;
  --rule: color-mix(in srgb, var(--color-primary, #1c1c1a) 14%, transparent);
  /* Fixed brand serif, never overridden by a per-site custom title font upload. Used for
     interface chrome (nav drawer, footer) so those stay consistent across every page. */
  --font-title-default: 'Fraunces', Georgia, 'Times New Roman', serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--color-bg, #f7f4ee);
  color: var(--color-text, #1c1c1a);
  font-family: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-title, 'Fraunces', Georgia, serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

::selection { background: var(--color-primary, #1c1c1a); color: var(--color-bg, #fff); }

:focus-visible {
  outline: 2px solid var(--color-primary, #1c1c1a);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

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

[data-i18n="en"] { display: none; }
html[data-lang="en"] [data-i18n="fr"] { display: none; }
html[data-lang="en"] [data-i18n="en"] { display: revert; }

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

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

@media (min-width: 768px) {
  section { padding: var(--space-xl) var(--space-md); }
}

