/* ============================================================
   base.css
   Variables · Local fonts · Reset · Typography · Utilities
   Loaded on every page.
   ============================================================ */

/* ── LOCAL FONTS ─────────────────────────────────────────────
   Font files are generated by: npm run setup
   Source packages: @fontsource/cormorant-garamond
                    @fontsource/dm-sans
   ──────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond/cormorant-garamond-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond/cormorant-garamond-400-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond/cormorant-garamond-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond/cormorant-garamond-600-italic.woff2') format('woff2');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond/cormorant-garamond-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans/dm-sans-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans/dm-sans-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans/dm-sans-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans/dm-sans-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}


/* CSS VARIABLES  */

:root {
  --crimson:       rgb(122, 27, 38);
  --crimson-dark:  rgb(85, 16, 24);
  --crimson-glass: rgba(122, 27, 38, 0.08);
  --amber:         #f29836;
  --amber-dark:    #d47e1f;
  --amber-glass:   rgba(242, 152, 54, 0.12);
  --white:         #ffffff;
  --cream:         #fdf8f4;
  --dark:          #140508;
  --text:          #2a1218;
  --muted:         #7a4e56;
  --border:        rgba(122, 27, 38, 0.12);
}


/* RESET  */

*, *::before, *::after { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}
html { 
  scroll-behavior: smooth; 
}
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}
img { 
  display: block; 
  max-width: 100%; 
}
a { 
  text-decoration: none; 
}
ul { 
  list-style: none; 
}
p { 
  margin-bottom: 1rem; 
}
p:last-child { 
  margin-bottom: 0; 
}


/* BASE TYPOGRAPHY  */

h1, h2, h3 { 
  font-family: 'Cormorant Garamond', serif; 
  line-height: 1.15; 
}
h2 { 
  font-size: clamp(28px, 3vw, 42px); 
  font-weight: 600; 
}
h3 { 
  font-size: 22px; 
  font-weight: 600; 
}


/*  UTILITIES  */

.eyebrow {
  font-size: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--amber);
  flex-shrink: 0;
}

.section { 
  padding: 88px 9%;
 }
.section-sm { 
  padding: 64px 9%; 
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 600;
  color: var(--crimson);
  line-height: 1.12;
  margin-bottom: 20px;
}

/* PROSE (service & news pages) */

.prose { 
  font-size: 16px; 
  color: var(--text); 
  line-height: 1.85; 
}
.prose p { 
  margin-bottom: 1.1rem; 
}
.prose h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--crimson);
  margin: 2rem 0 0.75rem;
}
.prose ul { 
  margin: 0.75rem 0 1rem; 
  padding-left: 0; 
}
.prose ul li {
  padding: 8px 0 8px 20px;
  border-bottom: 1px solid var(--border);
  position: relative;
  color: var(--text);
  font-size: 15px;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  transform: translateY(-50%);
}
.prose ul li:last-child { border-bottom: none; }
.prose ul ul { 
  margin: 0.5rem 0 0; 
  padding-left: 16px; 
}
.prose ul ul li { 
  font-size: 14px; 
  color: var(--muted); 
  border-bottom: none; 
  padding: 4px 0 4px 16px; 
}
.prose ul ul li::before { 
  width: 4px; 
  height: 4px; 
  background: var(--muted); 
}
