/* =============================================================
   BASE.CSS
   Reset · Custom Properties · Typography · Global Body
   ============================================================= */


/* ─── RESET ─── */

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

html {
  scroll-behavior: smooth;
}

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

ul,
ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  font-family: inherit;
}


/* ─── CUSTOM PROPERTIES ─── */

:root {

  /* Brand Colors */
  --navy:       #1a2744;
  --navy-deep:  #0f1a2e;
  --navy-mid:   #243358;
  --gold:       #b8922a;
  --gold-light: #d4a84b;
  --gold-pale:  #f5edd8;

  /* Neutrals */
  --cream:      #f8f5f0;
  --white:      #ffffff;
  --gray-50:    #f9f9f7;
  --gray-100:   #f0ede8;
  --gray-200:   #e0dbd4;
  --gray-400:   #9b9488;
  --gray-600:   #5e5850;
  --gray-800:   #2e2a25;

  /* Semantic Text */
  --text-body:  #3a3530;
  --text-muted: #6b6560;

  /* Typography */
  --serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.06), 0 2px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
}


/* ─── GLOBAL BODY ─── */

body {
  font-family: var(--sans);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* ─── TYPOGRAPHY SCALE ─── */

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  color: var(--navy);
}

p {
  line-height: 1.75;
}


/* ─── UTILITY CLASSES ─── */

/* Section eyebrow label */
.section-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: block;
}

/* Section headline */
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

/* Section intro paragraph */
.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.8;
}

/* Gold underline accent on inline text */
.gold-underline {
  display: inline-block;
  position: relative;
}

.gold-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  opacity: 0.5;
}
