/* ServingAgent — shared stylesheet (navy / gold / cream) */

:root {
  --navy: #0D1B2A;
  --navy-light: #1B2D45;
  --gold: #C9A84C;
  --gold-light: #E8C96D;
  --cream: #F5F0E8;
  --white: #FDFCFA;
  --slate: #4A5568;
  --light-slate: #8A9BB0;
  --red: #B02020;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }

body.mil {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--white);
  color: var(--navy);
  line-height: 1.6;
}

body.mil a { color: var(--gold); text-decoration: none; }
body.mil a:hover { color: var(--gold-light); }

body.mil a.btn-primary,
body.mil a.btn-primary:hover {
  color: var(--navy);
}
body.mil a.btn-outline {
  color: #fff;
}
body.mil a.btn-outline:hover {
  color: var(--navy);
}
body.mil a.nav-cta,
body.mil a.nav-cta:hover {
  color: var(--navy);
}

/* TOPNAV */
.topnav {
  background: rgba(13, 27, 42, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 0.75rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}
.topnav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.brand span { color: var(--gold); font-style: italic; }
.brand-tag {
  font-size: 0.65em;
  font-weight: 500;
  color: var(--light-slate) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-left: 0.25rem;
  font-family: 'DM Sans', sans-serif;
  font-style: normal;
}
.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 0.4rem 1rem;
  border-radius: 2px;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
}
.nav-cta:hover { background: var(--gold-light); }

/* HERO */
.mil-hero {
  background: var(--navy);
  color: #fff;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mil-hero::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
}
.mil-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.mil-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.15;
}
.mil-hero h1 em {
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
  display: inline-block;
  transform: skewX(-6deg);
}
.mil-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin: 0 auto 1.5rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* CONTAINER */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* BREADCRUMB */
.crumb {
  font-size: 0.85rem;
  color: var(--slate);
  margin-bottom: 1.5rem;
}
.crumb a { color: var(--gold); }

/* SECTION TITLES */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.section-sub {
  color: var(--slate);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* TIMELINE */
.timeline {
  list-style: none;
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
  margin: 2rem 0;
}
.timeline li {
  margin-bottom: 2rem;
  position: relative;
}
.timeline li::before {
  content: '';
  position: absolute;
  left: -1.75rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  border: 2px solid var(--white);
}
.timeline h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.when {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  background: rgba(201,168,76,0.15);
  padding: 0.15rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.5rem;
}

/* GRID */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.move-card {
  background: var(--cream);
  border: 1px solid #E8E4DC;
  border-radius: 4px;
  padding: 1.5rem;
}
.move-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

/* RIBBON */
.ribbon {
  background: var(--gold);
  color: var(--navy);
  text-align: center;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
}

/* FORMS */
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 500px;
}
.form-stack input,
.form-stack select,
.form-stack textarea {
  padding: 0.7rem 0.9rem;
  border: 1px solid #DDD8CF;
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  color: var(--navy);
}
.form-stack input:focus,
.form-stack select:focus,
.form-stack textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201,168,76,0.25);
}
.hp { display: none; }

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.25s;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: var(--navy);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ALERT */
.alert {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  padding: 1rem 1.25rem;
  border-radius: 0 4px 4px 0;
  font-size: 0.95rem;
}

/* CTA BAND */
.cta-band {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 3rem 1.5rem;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
}
.cta-band h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 2;
}
.cta-band h2 em {
  color: var(--gold);
  font-style: italic;
  display: inline-block;
  transform: skewX(-6deg);
}
.cta-band p {
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 2;
}

/* FOOTER */
.site-footer {
  background: #080F18;
  color: rgba(255,255,255,0.45);
  padding: 3rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(201,168,76,0.15);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.footer-inner strong { color: var(--gold); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-inner ul { list-style: none; margin-top: 0.5rem; }
.footer-inner li { margin-bottom: 0.35rem; }
.footer-inner a { color: rgba(255,255,255,0.45); font-size: 0.875rem; }
.footer-inner a:hover { color: var(--white); }
.copy {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* TILE GRID */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}
.tile {
  display: block;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.12);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  padding: 1.75rem 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}
.tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.tile:hover {
  border-color: rgba(201,168,76,0.3);
  background: rgba(201,168,76,0.06);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(13,27,42,0.12);
}
.tile:hover::before {
  opacity: 1;
}
.tile h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.tile p {
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}
.tile .arrow {
  display: inline-block;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.2s, color 0.2s;
}
.tile:hover .arrow {
  color: var(--gold-light);
  transform: translateX(4px);
}

/* MOVE CARD — number + label + ref extras */
.num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin: 0.5rem 0 0.25rem;
}
.move-card .label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  background: rgba(201,168,76,0.15);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-top: 0.75rem;
}
.pamphlet-ref {
  font-size: 0.78rem;
  color: var(--slate);
  margin-top: 0.5rem;
}
.pamphlet-ref a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pamphlet-ref a:hover {
  color: var(--gold-light);
}

/* On dark backgrounds, tiles need light text */
.navy-bg .tile h3 { color: var(--white); }
.navy-bg .tile p { color: rgba(255,255,255,0.55); }
.navy-bg .tile { background: rgba(255,255,255,0.04); border-color: rgba(201,168,76,0.12); }
.navy-bg .tile:hover { background: rgba(201,168,76,0.07); border-color: rgba(201,168,76,0.3); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .topnav-inner { flex-direction: column; text-align: center; }
  .nav-links { justify-content: center; }
  .mil-hero { padding: 2.5rem 1rem 2rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .tile-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
}
