/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* BLACKhouse Bookkeeping LLC
     Base: the warm paper + navy from Charles's original site.
     Accents: red & blue sampled straight from the Veteran Owned seal. */

  /* --- base --- */
  --paper: #F3EEE2;
  --paper-alt: #EAE2CD;
  --ink: #201C16;
  --ink-soft: #4B463C;
  --navy: #16232C;
  --navy-dark: #0E1720;
  --navy-light: #24363F;

  /* --- accents (sampled from veteran-seal.png) --- */
  --red: #C00C18;
  --red-dark: #8E0812;
  --red-light: #EF4C57;
  --blue: #0B3576;
  --blue-dark: #05204A;
  --blue-light: #6E9AD6;

  /* --- brass: identity + trim ---
     #A2801F is too light for small text on paper (3.21:1), so text
     uses --brass-text and graphics/trim use --brass. */
  --brass: #A2801F;
  --brass-light: #C9A34A;
  --brass-text: #6E5410;

  /* Legacy template token names. The sheet references these ~40 times,
     so aliasing them here flips the whole accent system to seal red. */
  --gold: var(--brass);
  --gold-light: var(--brass-light);
  --gold-dark: var(--brass-text);
  --accent: var(--blue);
  --accent-light: var(--blue-light);
  --accent-dark: var(--blue-dark);
  --green: var(--red);

  --cream: #EAE2CD;
  --white: #ffffff;
  --gray-50: #F3EEE2;
  --gray-100: #EAE2CD;
  --gray-200: #DAD0B6;
  --gray-300: #C7BB9B;
  --gray-500: #6B6459;
  --gray-600: #4B463C;
  --gray-700: #201C16;
  --gray-800: #16130F;

  --shadow-sm: 0 2px 4px rgba(22,35,44,0.06);
  --shadow: 0 2px 8px rgba(22,35,44,0.08), 0 1px 3px rgba(22,35,44,0.06);
  --shadow-md: 0 8px 24px rgba(22,35,44,0.1), 0 2px 8px rgba(22,35,44,0.06);
  --shadow-lg: 0 16px 48px rgba(22,35,44,0.12), 0 4px 12px rgba(22,35,44,0.08);
  --shadow-xl: 0 24px 64px rgba(22,35,44,0.16), 0 8px 20px rgba(22,35,44,0.1);
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--gold);
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Section Tag ===== */
.section-tag {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
  position: relative;
  padding-left: 28px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 2px;
  background: var(--gold);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 16px 36px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(162, 128, 31, 0.3);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy-dark);
  box-shadow: 0 8px 32px rgba(162, 128, 31, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-nav {
  padding: 10px 24px;
  background: var(--accent);
  color: var(--white) !important;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(162, 128, 31, 0.25);
}

.btn-nav:hover {
  background: var(--accent-light);
  color: var(--navy-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(162, 128, 31, 0.35);
}

.btn-full {
  width: 100%;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(243, 238, 226, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.4s ease;
  padding: 18px 0;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  padding: 12px 0;
  background: rgba(243, 238, 226, 0.98);
  border-bottom: 1px solid var(--gray-200);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.logo-icon {
  width: 26px;
  height: auto;
  flex-shrink: 0;
}

.site-footer .logo,
.site-footer .logo-icon { color: var(--white); }

@media (max-width: 480px) {
  .logo { font-size: 1.18rem; gap: 8px; }
  .logo-icon { width: 21px; }
}

.logo .brass {
  font-weight: 400;
  color: var(--gold);
}

/* one flex item, so the 11px gap never splits the wordmark */
.logo .wordmark { white-space: nowrap; }

.logo:hover {
  color: var(--navy);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links li a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-600);
  position: relative;
  padding-bottom: 4px;
}

.nav-links li a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links li a:not(.btn):hover::after {
  width: 100%;
}

.nav-links li a:not(.btn):hover {
  color: var(--navy);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== Hero ===== */
.hero {
  padding: 0;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('hero-desk.jpg') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14, 23, 32, 0.93) 0%, rgba(22, 35, 44, 0.82) 50%, rgba(22, 35, 44, 0.68) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
  padding: 160px 0 100px;
}

.hero-tag {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  padding-left: 0;
}

.hero-tag::before {
  display: none;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1.1;
}

.hero-sub {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 540px;
  line-height: 1.75;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.trust-card:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.25);
  transform: translateX(8px);
}

.trust-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  border-radius: 50%;
  color: var(--white);
  flex-shrink: 0;
}

.trust-card div:last-child {
  display: flex;
  flex-direction: column;
}

.trust-card strong {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  font-family: 'Raleway', sans-serif;
  line-height: 1.2;
}

.trust-card span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

/* ===== Trust Bar ===== */
.trust-bar {
  background: var(--navy);
  padding: 20px 0;
  border-bottom: 3px solid var(--gold);
}

.trust-bar-inner {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.trust-badge svg {
  color: var(--gold-light);
}

/* ===== Section Shared ===== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-tag {
  justify-content: center;
}

/* section-tag is a <p>, so .section-header p would otherwise win on specificity */
.section-header p.section-tag,
.about-content p.section-tag,
.contact-info p.section-tag {
  color: var(--gold-dark);
}

.section-header h2 {
  font-size: 2.75rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== Services ===== */
.services {
  padding: 120px 0;
  background: var(--paper);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--gold);
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 0 0 4px 0;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: transparent;
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  color: var(--white);
  border-radius: var(--radius);
  margin-bottom: 24px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-icon {
  transform: scale(1.08);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-link span {
  transition: transform 0.3s ease;
  display: inline-block;
}

.service-link:hover {
  color: var(--gold-dark);
}

.service-link:hover span {
  transform: translateX(4px);
}

.services-cta {
  text-align: center;
  margin-top: 48px;
  padding: 32px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
}

.services-cta p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

.services-cta a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.services-cta a:hover {
  color: var(--gold-light);
}

/* ===== About ===== */
.about {
  padding: 120px 0;
  background: var(--cream);
  position: relative;
}

.about-inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: start;
}

.about-photo {
  position: relative;
}

.about-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-photo:hover .about-img {
  transform: translateY(-4px);
}

.about-photo-accent {
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: 1;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-photo:hover .about-photo-accent {
  top: 16px;
  left: 16px;
}

.about-content h2 {
  font-size: 2.75rem;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.about-lead {
  font-size: 1.15rem;
  margin-bottom: 20px;
  color: var(--gray-700);
  font-weight: 500;
}

.about-content p {
  margin-bottom: 18px;
  color: var(--gray-500);
  line-height: 1.8;
  font-size: 1.02rem;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 2px solid var(--gray-300);
}

.value {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.value:hover {
  box-shadow: var(--shadow);
  border-color: var(--gold);
  transform: translateX(4px);
}

.value-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  flex-shrink: 0;
}

.value strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
  font-family: 'Raleway', sans-serif;
}

.value span {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ===== Contact ===== */
.contact {
  padding: 120px 0;
  background: var(--cream);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  font-size: 2.75rem;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.contact-info > p {
  color: var(--gray-500);
  margin-bottom: 40px;
  line-height: 1.8;
  font-size: 1.05rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--gray-600);
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateX(4px);
}

.contact-icon-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-item:hover .contact-icon-wrap {
  background: var(--accent);
  color: var(--white);
}

.contact-item a,
.contact-item span {
  color: var(--gray-700);
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-item a:hover {
  color: var(--gold-dark);
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact-form-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 100%);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--gray-50);
  color: var(--gray-800);
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(192, 12, 24, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-500);
  font-weight: 400;
}

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

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 14px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-dark);
  padding: 56px 0;
  border-top: 3px solid var(--gold);
}

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

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 6px;
  display: inline-block;
}

.footer-brand .logo span {
  color: var(--gold);
}

.footer-brand p {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copy p {
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.75rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .trust-card {
    flex: 1;
    min-width: 180px;
  }

  .about-inner {
    grid-template-columns: 280px 1fr;
    gap: 48px;
  }

  .section-header h2,
  .about-content h2,
  .contact-info h2 {
    font-size: 2.25rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 3px solid var(--gold);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 130px 0 80px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-sub {
    font-size: 1.05rem;
  }

  .hero-visual {
    flex-direction: column;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-photo {
    max-width: 300px;
    margin: 0 auto;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .section-header h2,
  .about-content h2,
  .contact-info h2 {
    font-size: 2rem;
  }

  .services,
  .about,
  .faq,
  .contact {
    padding: 80px 0;
  }

  .trust-bar-inner {
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.85rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
    text-align: center;
  }

  .contact-form-wrap {
    padding: 28px;
    border-radius: var(--radius-lg);
  }

  .trust-bar-inner {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .about-values .value {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* ===== FAQ ===== */
.faq {
  padding: 100px 0;
  background: var(--gray-50);
}
.faq .faq-list {
  max-width: 820px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--white);
  border: 1px solid rgba(162, 128, 31,0.18);
  border-radius: 12px;
  padding: 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item[open] {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(162, 128, 31,0.08);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-700);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform 0.3s ease;
  line-height: 1;
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item p {
  padding: 0 26px 24px;
  color: var(--gray-600);
  line-height: 1.7;
  font-size: 0.98rem;
}

/* ===== BLACKhouse: veteran seal ===== */
.hero-seal {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.hero-seal img {
  width: 150px;
  height: 150px;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.45));
}

.seal-inline {
  width: 92px;
  height: 92px;
  flex-shrink: 0;
}

@media (max-width: 968px) {
  .hero-seal img { width: 120px; height: 120px; }
}

/* ===== BLACKhouse: values list in About ===== */
.about-values {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.about-values li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.55;
}

.about-values svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--gold);
  margin-top: 3px;
}

.about-values strong {
  color: var(--navy);
  font-weight: 700;
}

/* ===== BLACKhouse: pull quote ===== */
.about-quote {
  margin-top: 32px;
  padding: 22px 26px;
  border-left: 3px solid var(--gold);
  background: var(--gray-50);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--navy);
}

/* =========================================================
   RED / WHITE / BLUE ACCENT SYSTEM
   Red is the primary accent (inherited via the --gold alias).
   Blue is placed deliberately below so the palette reads
   tri-color instead of mono-red. White does the separating.
   ========================================================= */

/* ---- shared tri-color rule, used as a 3px edge on dark bands ---- */
.trust-bar,
.site-footer,
.contact-form-wrap::before,
.nav-links.open {
  --flag-bar: linear-gradient(90deg,
    var(--red) 0 33.34%,
    #ffffff 33.34% 66.67%,
    var(--blue) 66.67% 100%);
}

.trust-bar {
  border-bottom: none;
  background-image: var(--flag-bar);
  background-size: 100% 3px;
  background-position: left bottom;
  background-repeat: no-repeat;
}

.site-footer {
  border-top: none;
  background-image: var(--flag-bar);
  background-size: 100% 3px;
  background-position: left top;
  background-repeat: no-repeat;
}

.contact-form-wrap::before {
  background: var(--flag-bar);
}

/* ---- section eyebrow dash becomes a small flag bar ---- */
.section-tag {
  padding-left: 36px;
}

.section-tag::before {
  width: 28px;
  height: 3px;
  border-radius: 1px;
  background: var(--brass);
}


/* ---- hero trust cards: alternate red / white / blue badges ---- */
.trust-card.flag-red .trust-icon  { background: var(--red);  color: #ffffff; }
.trust-card.flag-white .trust-icon { background: #ffffff;     color: var(--navy); }
.trust-card.flag-blue .trust-icon  { background: var(--blue); color: #ffffff; }

/* ---- trust bar badges: alternate red / blue icons on navy ---- */
.trust-badge:nth-child(odd) svg { color: var(--red-light); }
.trust-badge:nth-child(even) svg { color: var(--blue-light); }

/* ---- service icons: alternate red and blue ---- */
.service-card:nth-child(even) .service-icon {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
}

/* ---- about: blue frame, alternating check marks ---- */
.about-photo-accent {
  border-color: var(--brass);
}

.about-values li:nth-child(even) svg { color: var(--blue); }
.about-values li:nth-child(odd) svg { color: var(--red); }

.about-quote {
  border-left-color: var(--brass);
  background: var(--white);
}

/* ---- FAQ: red closed hairline, blue when open ---- */
.faq-item[open] {
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(11, 53, 118, 0.10);
}

.faq-item[open] summary {
  color: var(--blue);
}

/* ---- contact: blue icon discs, red on hover ---- */
.contact-icon-wrap {
  background: var(--blue);
}

.contact-item:hover .contact-icon-wrap {
  background: var(--red);
}

/* ---- mobile nav panel gets the flag edge too ---- */
@media (max-width: 900px) {
  .nav-links {
    border-bottom: none !important;
    background-image: var(--flag-bar);
    background-size: 100% 3px;
    background-position: left bottom;
    background-repeat: no-repeat;
  }
}

/* ---- hero eyebrow: white text with the full flag bar (white reads on dark) ---- */
.hero-tag {
  color: #ffffff;
  padding-left: 44px;
  position: relative;
}

.hero-tag::before {
  display: block !important;
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 3px;
  border-radius: 1px;
  background: linear-gradient(90deg,
    var(--red) 0 33.34%,
    #ffffff 33.34% 66.67%,
    var(--blue) 66.67% 100%);
}

/* =========================================================
   FOUR-COLOR JOB ASSIGNMENT
   Each color has one role, which is what keeps four colors
   reading as deliberate rather than busy:
     BRASS  identity + trim   (logo, eyebrows, frames, hairlines)
     RED    action only       (primary CTAs, lead service icon)
     BLUE   secondary UI      (nav CTA, icon discs, open states)
     WHITE  surfaces + the middle third of each flag bar
   ========================================================= */

/* ---- RED is reserved for things you click to start a conversation ---- */
.btn-primary {
  background: var(--red);
}

.btn-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 8px 32px rgba(192, 12, 24, 0.35);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
}

/* ---- service icons alternate red / blue ---- */
.service-card:nth-child(odd) .service-icon {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%);
}

.service-card:nth-child(even) .service-icon {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
}

/* =========================================================
   FAQ ON NAVY
   Removing testimonials left four light sections in a row.
   The FAQ takes over as the mid-page dark band, and gives the
   lighter brass and blue somewhere to sit on a dark ground.
   ========================================================= */
.faq {
  background: var(--navy-dark);
}

.faq .section-header h2 {
  color: var(--white);
}

.faq .section-header p {
  color: rgba(255, 255, 255, 0.72);
}

.faq .section-header p.section-tag {
  color: var(--brass-light);
}

.faq .section-tag::before {
  background: var(--brass-light);
}

.faq-item {
  border-color: rgba(201, 163, 74, 0.28);
}

.faq-item[open] {
  border-color: var(--blue-light);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.faq-item[open] summary {
  color: var(--blue);
}

/* ===== Accessibility: skip link ===== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
  color: var(--white);
}

/* Visible focus ring on every interactive element */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up, .reveal { opacity: 1 !important; transform: none !important; }
}

/* ===== Legal pages (privacy) ===== */
.legal-page {
  background: var(--paper);
  padding: 140px 0 100px;
}

.legal-inner {
  max-width: 760px;
}

.legal-page h1 {
  font-size: clamp(2.1rem, 5vw, 2.9rem);
  margin-bottom: 10px;
}

.legal-page h2 {
  font-size: 1.35rem;
  margin: 40px 0 12px;
}

.legal-page p {
  margin-bottom: 16px;
  color: var(--ink-soft);
  line-height: 1.75;
}

.legal-updated {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 32px !important;
}

.legal-list {
  margin: 0 0 18px 22px;
  color: var(--ink-soft);
  line-height: 1.75;
}

.legal-list li { margin-bottom: 8px; }

.legal-page a {
  color: var(--brass-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page a:hover { color: var(--red); }

.legal-page .logo,
.legal-page .footer-links a { text-decoration: none; }

.legal-back {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
  font-weight: 600;
}

/* Netlify Forms honeypot — must stay in the DOM but never visible */
.hp-field { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
