/* ===========================
   BASE – Reset, Variables, Typography
   =========================== */

:root {
  --blue-deep:    #1B3A6B;
  --blue-mid:     #2A5298;
  --blue-light:   #E8F0F8;
  --gold:         #C8A951;
  --gold-light:   #F0DFA0;
  --white:        #FFFFFF;
  --bg:           #FAFAF8;
  --text:         #2C2C2C;
  --text-muted:   #666666;
  --border:       #DDE3EC;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius:       6px;
  --radius-lg:    12px;
  --shadow-sm:    0 2px 8px rgba(27,58,107,.08);
  --shadow-md:    0 6px 24px rgba(27,58,107,.12);
  --shadow-lg:    0 16px 48px rgba(27,58,107,.16);

  --transition:   .25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

/* ── Typography ── */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--blue-deep);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.1rem; }

p  { font-size: 1rem; line-height: 1.75; }

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── Utilities ── */

.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: 5rem;
}

.section--dark {
  background: var(--blue-deep);
  color: var(--white);
}

.section--tinted {
  background: var(--blue-light);
}

.section__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section__header .ornament {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.section--dark .lead {
  color: rgba(255,255,255,.75);
}

.text-gold { color: var(--gold); }

/* ── Greek Meander Border ── */

.meander-top,
.meander-bottom {
  width: 100%;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='16'%3E%3Cpath d='M0 8 h8 v-8 h8 v16 h8 v-8 h16' stroke='%23C8A951' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
  opacity: .6;
}

/* ── Responsive ── */

@media (max-width: 768px) {
  .section { padding-block: 3.5rem; }
}
