/* === Fonts === */
@font-face {
  font-family: 'Inter';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/Inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/Inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/Inter-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/PlayfairDisplay-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/PlayfairDisplay-700.woff2') format('woff2');
}

/* === Tokens === */
:root {
  --bg-primary:    #ffffff;
  --bg-elevated:   #fdf6ee;
  --bg-overlay:    rgba(255, 250, 243, 0.92);
  --accent:        #e67620;
  --accent-hover:  #d66a18;
  --accent-soft:   rgba(230, 118, 32, 0.08);
  --text-primary:  #2c1810;
  --text-muted:    #6b5544;
  --text-dim:      #9c8773;
  --border:        rgba(230, 118, 32, 0.15);

  --font-serif:    'Playfair Display', Georgia, serif;
  --font-sans:     'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container:     1280px;
  --header-h:      88px;
  --header-h-sm:   64px;

  --ease:          cubic-bezier(0.16, 1, 0.3, 1);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
img, picture, video, svg { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

/* === Base === */
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: var(--font-serif); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem); }
h2 { font-size: clamp(2rem, 3vw + 1rem, 3rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.25rem, 1vw + 1rem, 1.75rem); margin-bottom: 0.75rem; }
p { color: var(--text-muted); max-width: 65ch; }

.label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

/* === Layout === */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .container { padding: 0 48px; }
}

.section { padding: 96px 0; }
.section--hero { padding: 0; min-height: 100vh; }
@media (min-width: 1024px) {
  .section { padding: 128px 0; }
}

.grid {
  display: grid;
  gap: 32px;
}
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* === Accessibility === */
.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;
}
.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  background: var(--accent);
  color: #fff;
  padding: 12px 24px;
  z-index: 9999;
  transition: top 200ms;
}
.skip-link:focus { top: 16px; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
