/* ============================================
   AJ's 5 Star Services — Design Tokens
   ============================================ */
:root {
  /* Color */
  --navy: #1B2A3D;
  --navy-deep: #14202E;
  --charcoal: #22262B;
  --off-white: #F7F6F3;
  --paper: #FBFAF8;
  --gold: #B08D57;
  --gold-light: #C9A876;
  --ink: #1A1A1A;
  --ink-soft: #4A4A4A;
  --line: rgba(27, 42, 61, 0.12);

  /* Type */
  --font-display: 'Source Serif 4', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;

  /* Layout */
  --max-width: 1180px;
  --section-pad: clamp(64px, 9vw, 120px);
  --radius: 2px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}

h1 { font-size: clamp(38px, 5.4vw, 64px); letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 3.4vw, 38px); }
h3 { font-size: 20px; }

p { margin: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 18px;
}

.lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 640px;
  line-height: 1.7;
}

/* ============================================
   Blueprint grid texture — signature motif
   ============================================ */
.blueprint {
  position: relative;
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(rgba(247, 246, 243, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 246, 243, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
}

.blueprint::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 0%, rgba(176, 141, 87, 0.14), transparent 55%);
  pointer-events: none;
}

/* ============================================
   Header / Nav
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 248, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
}

.brand-mark {
  height: 46px;
  width: auto;
  display: block;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

nav.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
}

nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.2s ease;
}

nav.main-nav a:hover::after,
nav.main-nav a.active::after {
  width: 100%;
}

nav.main-nav a.active {
  color: var(--gold);
}

.nav-cta {
  background: var(--navy);
  color: var(--off-white) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600 !important;
}

.nav-cta::after { display: none; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.2s;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-primary:hover { background: var(--gold-light); }

.btn-outline {
  border-color: rgba(247, 246, 243, 0.4);
  color: var(--off-white);
  background: transparent;
}
.btn-outline:hover { border-color: var(--off-white); background: rgba(247,246,243,0.06); }

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

.btn-group { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 36px; }

/* ============================================
   Hero
   ============================================ */
.hero {
  color: var(--off-white);
  padding: 150px 0 110px;
}

.hero h1 { color: var(--off-white); margin-bottom: 22px; }
.hero .lede { color: rgba(247, 246, 243, 0.82); font-size: 18px; }

/* ============================================
   Sections
   ============================================ */
section { padding: var(--section-pad) 0; }

.section-alt { background: var(--off-white); }

.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; max-width: 700px; margin-left: auto; margin-right: auto; }

.divider {
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 24px;
}

/* Two column */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.card-block {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 40px;
  border-radius: var(--radius);
}

.card-block h3 {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 14px;
}

.card-block p {
  font-size: 17px;
  color: var(--navy);
  line-height: 1.7;
}

/* Why We Exist */
.statement {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.statement p {
  font-size: 19px;
  color: var(--ink-soft);
  margin-bottom: 22px;
  line-height: 1.75;
}

/* Core Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.value-item {
  background: var(--paper);
  padding: 40px 34px;
}

.value-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  color: var(--gold);
}

.value-item h3 {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: none;
  letter-spacing: 0;
}

.value-item p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* What We Do */
.list-col h3 {
  font-family: var(--font-body);
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 22px;
}

.list-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-col li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 12px;
}

.list-col li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gold);
  flex-shrink: 0;
}

/* How We Work */
.flow-wrap {
  margin-top: 20px;
  overflow-x: auto;
}

/* Commitment */
.commitment {
  color: var(--off-white);
}

.commitment .section-head h2 { color: var(--off-white); }

.principle-list {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.principle-list li {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 26px);
  color: rgba(247, 246, 243, 0.92);
  text-align: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(247, 246, 243, 0.12);
}

.principle-list li:last-child { border-bottom: none; }

/* CTA */
.cta {
  color: var(--off-white);
  text-align: center;
}

.cta h2 { color: var(--off-white); margin-bottom: 18px; }

.cta-contacts {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.cta-contacts a {
  font-size: 16px;
  font-weight: 500;
  color: var(--off-white);
  border-bottom: 1px solid rgba(247,246,243,0.3);
  padding-bottom: 3px;
}

/* ============================================
   Government Contracting page — data sheet
   ============================================ */
.gc-hero {
  padding: 130px 0 70px;
  color: var(--off-white);
}

.gc-hero .lede { color: rgba(247,246,243,0.82); }

.data-sheet {
  border: 1px solid var(--line);
  background: var(--paper);
}

.data-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  border-bottom: 1px solid var(--line);
}

.data-row:last-child { border-bottom: none; }

.data-label {
  padding: 22px 28px;
  background: var(--off-white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  border-right: 1px solid var(--line);
}

.data-value {
  padding: 22px 28px;
  font-size: 16px;
  color: var(--ink);
}

.data-value .placeholder {
  color: var(--ink-soft);
  font-style: italic;
}

.data-group-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 56px 0 18px;
}

.data-group-title:first-of-type { margin-top: 0; }

.pending-note {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--ink-soft);
  font-style: italic;
}

.badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  border: 1px solid var(--gold);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
}

/* ============================================
   Contact page
   ============================================ */
.contact-hero {
  padding: 130px 0 70px;
  color: var(--off-white);
}

.contact-hero .lede { color: rgba(247,246,243,0.82); }

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
}

.contact-info-item {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.contact-info-item:first-child { padding-top: 0; }
.contact-info-item:last-child { border-bottom: none; }

.contact-info-item .eyebrow { margin-bottom: 8px; }

.contact-info-item a,
.contact-info-item span {
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--navy);
}

form.inquiry-form {
  display: grid;
  gap: 20px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}

input, select, textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  border-radius: var(--radius);
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}

textarea { resize: vertical; min-height: 120px; }

/* ============================================
   Footer
   ============================================ */
footer {
  background: var(--navy-deep);
  color: rgba(247, 246, 243, 0.6);
  padding: 44px 0;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

footer .foot-links { display: flex; gap: 28px; }
footer .foot-links a { font-size: 14px; color: rgba(247,246,243,0.6); }
footer .foot-links a:hover { color: var(--gold); }
footer .foot-copy { font-size: 13px; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 860px) {
  nav.main-nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 32px 32px;
    gap: 22px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: 0.18s ease;
  }
  nav.main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .menu-toggle { display: block; }

  .two-col, .contact-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .data-row { grid-template-columns: 1fr; }
  .data-label { border-right: none; border-bottom: 1px solid var(--line); }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 80px; }
  .cta-contacts { gap: 24px; flex-direction: column; }
}

@media (max-width: 600px) {
  .card-block { padding: 28px; }
  .value-item { padding: 30px 24px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
