/* ═══════════════════════════════════════════════════════════
   PRISMAZIA — base.css
   Reset · CSS custom properties · Typography
═══════════════════════════════════════════════════════════ */

/* ── Design tokens ──────────────────────────────────────── */
:root {
  /* Colours */
  --bg-main:       #F5F1E8;
  --text-main:     #4B463F;
  --text-secondary:#6F6A61;
  --accent:        #5B8DEE;
  --border:        #E4DBCE;
  --dark:          #0D0D0F;
  --white:         #FFFFFF;

  /* Fonts */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  /* Space scale */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-28: 7rem;
  --sp-32: 8rem;

  /* Radii */
  --r-sm:   0.625rem;
  --r-md:   1rem;
  --r-lg:   1.25rem;
  --r-xl:   1.5rem;
  --r-full: 9999px;

  /* Shadows */
  --shadow-card:    0 1px 2px rgba(75,70,63,.04), 0 6px 24px rgba(75,70,63,.07);
  --shadow-hover:   0 2px 16px rgba(75,70,63,.07);
  --shadow-process: 0 4px 20px rgba(75,70,63,.08);
}

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

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

ul, ol { list-style: none; }

/* ── Focus ──────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── Type scale ─────────────────────────────────────────── */
.t-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.t-h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.18;
  color: var(--text-main);
}
.t-h1 em {
  font-weight: 400;
  font-style: italic;
}

.t-h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.625rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-main);
}

.t-h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-main);
}

.t-lead {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.t-body {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.t-small {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--text-secondary);
}
