@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

/* ── VARIABLES ── */
:root {
  --navy:        #0d1b3e;
  --navy-mid:    #1a2f5e;
  --navy-light:  #2b4580;
  --blue-accent: #3a6cc8;
  --blue-pale:   #e8eef8;
  --white:       #ffffff;
  --off-white:   #f7f8fc;
  --gray-light:  #eaedf5;
  --gray-mid:    #9aa3be;
  --gold:        #c4a96a;
  --gold-light:  #e8d5a3;
  --text-dark:   #0d1b3e;
  --text-body:   #3d4a6b;
  --text-muted:  #6b7a9e;

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

  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 12px;

  --shadow-sm: 0 2px 12px rgba(13,27,62,0.06);
  --shadow-md: 0 8px 32px rgba(13,27,62,0.10);
  --shadow-lg: 0 20px 60px rgba(13,27,62,0.14);

  --nav-h: 72px;
  --max-w: 1160px;
  --section-py: 100px;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text-dark);
}

h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.2rem; }

p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-body);
}

/* ── LAYOUT ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 5%;
}

.section { padding: var(--section-py) 5%; }
.section--dark { background: var(--navy); }
.section--off { background: var(--off-white); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px;
  font-family: var(--font-body);
  font-size: 0.88rem; font-weight: 500; letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
  border: 1.5px solid var(--navy);
}
.btn--primary:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--white);
}
.btn--white:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn--outline:hover {
  border-color: rgba(255,255,255,0.8);
  color: var(--white);
}

.btn--outline-dark {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn--outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

/* ── SECTION LABEL ── */
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px;
}
.section-label::before {
  content: ''; width: 24px; height: 1px; background: var(--gold);
}

.section-label--light { color: rgba(196,169,106,0.9); }
.section-label--light::before { background: rgba(196,169,106,0.9); }

/* ── DIVIDER ── */
.divider {
  width: 48px; height: 2px;
  background: var(--gold);
  margin: 20px 0 32px;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--navy);
  padding: calc(var(--nav-h) + 80px) 5% 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: rgba(255,255,255,0.08);
}
.page-hero__inner { max-width: var(--max-w); margin: 0 auto; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.65); max-width: 560px; font-size: 1.05rem; }

/* ── PAGE TRANSITION ── */
body {
  animation: fadeIn 0.4s ease;
}

body.page-exit {
  opacity: 0;
  transition: opacity 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── RESPONSIVE BASE ── */
@media (max-width: 768px) {
  :root {
    --section-py: 64px;
  }
  h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  h2 { font-size: clamp(1.7rem, 6vw, 2.2rem); }
}
