/* ═══════════════════════════════════════════════════
   H.Y.D.R.A.T.E. Sovereignty™  —  shared.css
   All global styles. Every page depends on this file.
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Jost:ital,wght@0,200;0,300;0,400;0,500;0,600;1,300;1,400&display=swap');

/* ── VARIABLES ─────────────────────────────────────── */
:root {
  --navy:       #2c4a6e;
  --navy-light: #4a6d8c;
  --navy-deep:  #0f1e2e;
  --sage:       #7a9e8e;
  --sage-light: #a8c4b8;
  --cream:      #f5efe0;
  --cream-dark: #ede5cf;
  --warm-white: #faf8f5;
  --gold:       #c9a96e;
  --text-dark:  #1a2533;
  --text-mid:   #5a6a7a;
  --text-light: #8a9aaa;
}

/* ── RESET ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  color: var(--text-dark);
  background: var(--warm-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ── NAV ───────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 3rem;
  background: rgba(250,248,245,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(44,74,110,.08);
}
.nav-logo {
  font-family: 'Jost', sans-serif; font-weight: 500;
  font-size: .78rem; letter-spacing: .38em; text-transform: uppercase;
  color: var(--navy); text-decoration: none; flex-shrink: 0;
}
.nav-links { list-style: none; display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-family: 'Jost', sans-serif; font-weight: 300;
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-mid); text-decoration: none; transition: color .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
@media (max-width: 860px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
}

/* ── BUTTONS ───────────────────────────────────────── */
.btn-primary {
  display: inline-block; padding: .9rem 2.4rem;
  background: var(--navy); color: var(--cream);
  font-family: 'Jost', sans-serif; font-weight: 300;
  font-size: .74rem; letter-spacing: .26em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--navy); transition: all .3s;
}
.btn-primary:hover { background: transparent; color: var(--navy); }
.btn-secondary {
  display: inline-block; padding: .9rem 2.4rem;
  background: transparent; color: var(--navy);
  font-family: 'Jost', sans-serif; font-weight: 300;
  font-size: .74rem; letter-spacing: .26em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--navy); transition: all .3s;
}
.btn-secondary:hover { background: var(--navy); color: var(--cream); }

/* ── SECTION LAYOUT ────────────────────────────────── */
section { padding: 6rem 2rem; }
.section-inner { max-width: 760px; margin: 0 auto; }
.section-inner-wide { max-width: 1160px; margin: 0 auto; }
.section-label {
  display: block; font-family: 'Jost', sans-serif; font-weight: 300;
  font-size: .6rem; letter-spacing: .44em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 1rem;
}
.section-title {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--navy); line-height: 1.2; margin-bottom: 1rem;
}
.section-intro {
  font-size: 1.02rem; font-style: italic;
  color: var(--text-mid); line-height: 1.85; max-width: 580px;
}

/* ── PAGE HERO (subpages) ──────────────────────────── */
.page-hero {
  min-height: 38vh; display: flex; align-items: flex-end;
  padding: 8rem 2rem 4rem;
  background: linear-gradient(160deg, var(--navy-deep) 0%, #1a2f45 100%);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 60%, rgba(122,158,142,.1) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero .section-label { color: var(--sage-light); }
.page-hero .section-title { color: var(--cream); }
.page-hero .section-intro { color: rgba(245,239,224,.78); }

/* ── FOOTER ────────────────────────────────────────── */
footer {
  background: var(--navy-deep); color: rgba(245,239,224,.7);
  text-align: center; padding: 4rem 2rem;
  font-family: 'Jost', sans-serif; font-weight: 200;
  font-size: .76rem; letter-spacing: .15em; line-height: 2.2;
}
.footer-logo {
  display: block; font-weight: 400; font-size: .88rem;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--cream); margin-bottom: 1rem;
}
footer a { color: var(--sage-light); text-decoration: none; transition: color .25s; }
footer a:hover { color: var(--cream); }

/* ── ANIMATIONS ────────────────────────────────────── */
@keyframes floatDrop {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; }
}
