/* ============================================================
   StandStrong – Base Stylesheet
   Shared across all pages: variables, reset, nav, footer,
   typography, buttons, and utility classes.
   ============================================================ */

/* ─── DESIGN TOKENS ─── */
:root {
  /* Brand colours */
  --navy:        #173C57;
  --gold:        #A8986E;
  --gold-light:  #c9b98f;
  --gold-pale:   #f0ead8;

  /* Backgrounds */
  --cream:       #f8f6f1;
  --fog:         #f0f4f7;
  --white:       #ffffff;

  /* Borders & neutrals */
  --mist:        #ddd8cc;
  --ink:         #1a1a2e;

  /* Shadows */
  --shadow:      0 8px 40px rgba(23, 60, 87, 0.10);
  --shadow-md:   0 16px 56px rgba(23, 60, 87, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--navy);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

/* ─── NAVIGATION ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5%;
  background: rgba(248, 246, 241, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--mist);
  transition: box-shadow 0.3s;
}

nav.scrolled {
  box-shadow: 0 4px 24px rgba(23, 60, 87, 0.08);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1;
}

.logo-text .stand  { color: #173C57; }
.logo-text .strong { color: #A8986E; }

/* Nav links */
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-cta {
  background: var(--navy) !important;
  color: #fff !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 50px !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--gold) !important;
  color: #fff !important;
}

/* Mobile nav toggle (shown at ≤960px) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── SECTION SHARED ─── */
section {
  padding: 6rem 5%;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.25;
  font-weight: 700;
  max-width: 520px;
  margin-bottom: 1.2rem;
}

.section-desc {
  color: #5a5a6e;
  line-height: 1.75;
  max-width: 560px;
  font-size: 1rem;
}

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--navy);
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-primary:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  padding: 0.9rem 2rem;
  border-radius: 50px;
  border: 1.5px solid var(--mist);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-gold {
  background: var(--gold);
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-ghost-light {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: border-color 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-ghost-light:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

/* ─── PILL TAGS ─── */
.pill {
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  border: 1.5px solid var(--gold-light);
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 500;
  display: inline-block;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

.animate-fade-up {
  animation: fadeUp 0.7s ease both;
}

/* ─── FOOTER ─── */
footer {
  background: #0f2a3d;
  color: #888;
  padding: 2.5rem 5%;
  text-align: center;
  font-size: 0.82rem;
  line-height: 2;
}

footer a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: #fff;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  display: block;
}

.footer-logo .stand  { color: #fff; }
.footer-logo .strong { color: var(--gold-light); }

/* ─── BREADCRUMB ─── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.breadcrumb a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep     { opacity: 0.5; }

/* ─── UTILITY ─── */
.text-gold   { color: var(--gold); }
.text-navy   { color: var(--navy); }
.text-muted  { color: #888; }
.bg-navy     { background: var(--navy); }
.bg-cream    { background: var(--cream); }
.bg-fog      { background: var(--fog); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(248, 246, 241, 0.98);
    flex-direction: column;
    padding: 1.5rem 5%;
    gap: 1.2rem;
    border-bottom: 1px solid var(--mist);
    box-shadow: 0 8px 24px rgba(23,60,87,0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 600px) {
  section {
    padding: 4rem 5%;
  }
}
