:root {
  --ink: #0e0e0e;
  --paper: #f5f1eb;
  --gold: #b8922a;
  --gold-light: #d4aa4a;
  --slate: #2d3a3a;
  --mist: #e8e2d9;
  --accent: #1a3a3a;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--paper); color: var(--ink); overflow-x: hidden; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 4rem;
  background: rgba(245,241,235,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184,146,42,0.2);
}
.nav-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; letter-spacing: 0.08em; color: var(--ink); text-decoration: none; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: var(--slate); transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }
.nav-links a[aria-current="page"] { color: var(--gold); }
.nav-cta { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.6rem 1.5rem; border: 1.5px solid var(--gold); color: var(--gold); text-decoration: none; transition: all 0.25s; }
.nav-cta:hover { background: var(--gold); color: var(--paper); }

/* ── HERO ── */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; padding-top: 80px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 80% 50%, rgba(184,146,42,0.07) 0%, transparent 70%), radial-gradient(ellipse 40% 40% at 20% 80%, rgba(26,58,58,0.05) 0%, transparent 60%); pointer-events: none; }
.hero-left { display: flex; flex-direction: column; justify-content: center; padding: 4rem 3rem 4rem 4rem; position: relative; z-index: 1; }
.hero-eyebrow { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.75rem; }
.hero-eyebrow::before { content: ''; display: block; width: 2rem; height: 1px; background: var(--gold); }
h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(3rem, 5vw, 5rem); font-weight: 300; line-height: 1.1; color: var(--ink); margin-bottom: 1.5rem; }
h1 em { font-style: italic; color: var(--gold); }
.hero-sub { font-size: 1rem; line-height: 1.75; color: #555; max-width: 520px; margin-bottom: 1.25rem; font-weight: 300; }
.hero-note { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.btn-primary { padding: 0.9rem 2.2rem; background: var(--gold); color: var(--paper); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; transition: all 0.25s; font-family: 'DM Sans', sans-serif; border: none; cursor: pointer; display: inline-block; }
.btn-primary:hover { background: var(--ink); }
.btn-ghost { padding: 0.9rem 2.2rem; border: 1.5px solid var(--slate); color: var(--slate); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; transition: all 0.25s; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.hero-right { position: relative; display: flex; align-items: center; justify-content: center; padding: 4rem; }
.hero-card { width: 100%; max-width: 390px; background: var(--accent); color: var(--paper); padding: 2.5rem; position: relative; }
.hero-card::before { content: ''; position: absolute; top: -8px; left: -8px; right: 8px; bottom: 8px; border: 1px solid var(--gold); pointer-events: none; }
.hero-card-label { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; }
.hero-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 300; line-height: 1.3; margin-bottom: 1.5rem; color: var(--paper); }
.credential-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.credential-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.85rem; line-height: 1.5; color: rgba(245,241,235,0.8); }
.credential-list li::before { content: '→'; color: var(--gold); flex-shrink: 0; margin-top: 0.05em; }
.hero-footer { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; gap: 0.4rem; }
.hero-location { font-size: 0.75rem; color: rgba(245,241,235,0.5); letter-spacing: 0.08em; }
.veteran-badge { display: flex; align-items: center; gap: 0.45rem; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 500; }

/* ── MARQUEE ── */
.marquee-wrapper { background: var(--ink); padding: 0.85rem 0; overflow: hidden; }
.marquee-track { display: flex; gap: 3rem; animation: marquee 28s linear infinite; width: max-content; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(245,241,235,0.5); white-space: nowrap; display: flex; align-items: center; gap: 3rem; }
.marquee-item span { color: var(--gold); font-size: 1rem; }

/* ── ABOUT / PROBLEMS ── */
.about { padding: 7rem 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.section-label { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.75rem; }
.section-label::before { content: ''; display: block; width: 1.5rem; height: 1px; background: var(--gold); }
h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem, 3.5vw, 3.5rem); font-weight: 300; line-height: 1.15; color: var(--ink); margin-bottom: 1.5rem; }
h2 em { font-style: italic; color: var(--gold); }
.about-body p { font-size: 0.95rem; line-height: 1.85; color: #555; font-weight: 300; margin-bottom: 1rem; }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.problem-card { background: var(--mist); padding: 1.5rem; border-left: 3px solid var(--gold); min-height: 100%; }
.problem-icon { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: var(--gold); line-height: 1; margin-bottom: 0.75rem; }
.problem-text { font-size: 0.9rem; line-height: 1.7; color: #555; font-weight: 300; }

/* ── SERVICES ── */
.services { background: var(--ink); padding: 7rem 4rem; color: var(--paper); }
.services-header { text-align: center; margin-bottom: 4.5rem; }
.services-header .section-label { justify-content: center; }
.services-header .section-label::before { background: var(--gold); }
.services-header h2 { color: var(--paper); }
.services-intro { max-width: 700px; margin: 1rem auto 0; font-size: 0.95rem; line-height: 1.8; color: rgba(245,241,235,0.62); font-weight: 300; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; background: rgba(255,255,255,0.08); }
.service-card { background: var(--ink); padding: 2.5rem; transition: background 0.3s; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.35s; }
.service-card:hover { background: #151515; }
.service-card:hover::before { transform: scaleX(1); }
.service-num { font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 300; color: rgba(184,146,42,0.2); line-height: 1; margin-bottom: 1rem; }
.service-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 400; color: var(--paper); margin-bottom: 0.75rem; line-height: 1.2; }
.service-card p { font-size: 0.85rem; line-height: 1.8; color: rgba(245,241,235,0.55); font-weight: 300; }
.service-tag { display: inline-block; margin-top: 1.25rem; font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(184,146,42,0.3); padding: 0.3rem 0.75rem; }
.service-link { display: inline-block; margin-top: 1.25rem; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(184,146,42,0.35); padding-bottom: 0.2rem; }
.service-link:hover { color: var(--paper); border-color: var(--gold); }
.services-preview-actions { display: flex; justify-content: center; margin-top: 2rem; }

/* ── WHY ── */
.why { padding: 7rem 4rem; }
.why-header { margin-bottom: 4rem; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--mist); }
.why-item { background: var(--paper); padding: 2.5rem 2.5rem 3rem; }
.why-icon { font-size: 1.5rem; margin-bottom: 1rem; }
.why-item h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 400; color: var(--ink); margin-bottom: 0.6rem; }
.why-item p { font-size: 0.85rem; line-height: 1.8; color: #666; font-weight: 300; }

/* ── CASE STUDY ── */
.case-study { padding: 7rem 4rem; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 4rem; align-items: start; }
.case-study-body p { font-size: 0.95rem; line-height: 1.85; color: #555; font-weight: 300; margin-bottom: 1rem; }
.case-study-card { background: var(--accent); color: var(--paper); padding: 2.5rem; position: relative; }
.case-study-card::before { content: ''; position: absolute; top: -8px; left: -8px; right: 8px; bottom: 8px; border: 1px solid var(--gold); pointer-events: none; }
.case-study-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 300; line-height: 1.3; margin-bottom: 1.5rem; color: var(--paper); }
.crm-example { padding-top: 2rem; }
.services-example { padding-top: 0; }

/* ── PAGE HERO ── */
.page-hero { min-height: 70vh; display: grid; grid-template-columns: 1fr 1fr; padding-top: 80px; align-items: center; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 80% 35%, rgba(184,146,42,0.07) 0%, transparent 70%), radial-gradient(ellipse 35% 40% at 18% 82%, rgba(26,58,58,0.05) 0%, transparent 60%); pointer-events: none; }
.page-hero-copy { padding: 4rem 3rem 4rem 4rem; position: relative; z-index: 1; }
.page-intro { font-size: 0.95rem; line-height: 1.85; color: #555; font-weight: 300; max-width: 560px; margin-bottom: 2rem; }

/* ── SERVICES DETAIL ── */
.services-detail-section { padding: 2rem 4rem 7rem; }
.services-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5px; background: rgba(14,14,14,0.08); }
.service-detail-card { background: var(--paper); padding: 2.75rem; border: 1px solid rgba(14,14,14,0.06); }
.service-detail-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; font-weight: 400; color: var(--ink); margin-bottom: 1rem; line-height: 1.2; }
.service-detail-card p { font-size: 0.92rem; line-height: 1.85; color: #555; font-weight: 300; margin-bottom: 1rem; }
.service-detail-meta { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin: 1.25rem 0 1rem; }
.detail-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.detail-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.88rem; line-height: 1.7; color: #555; font-weight: 300; }
.detail-list li::before { content: '→'; color: var(--gold); flex-shrink: 0; margin-top: 0.05em; }
.service-cta { background: var(--mist); }

/* ── INDUSTRIES ── */
.industries { background: var(--mist); padding: 5rem 4rem; }
.industries-header { text-align: center; margin-bottom: 3rem; }
.industries-intro { max-width: 760px; margin: 1rem auto 0; font-size: 0.95rem; line-height: 1.8; color: #666; font-weight: 300; }
.industry-tags { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.industry-tag { padding: 0.6rem 1.4rem; border: 1.5px solid var(--slate); font-size: 0.8rem; letter-spacing: 0.06em; color: var(--slate); transition: all 0.2s; cursor: default; }
.industry-tag:hover { border-color: var(--gold); color: var(--gold); background: rgba(184,146,42,0.04); }

/* ── FAQ ── */
.faq { padding: 7rem 4rem; }
.faq-header { margin-bottom: 4rem; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--mist); }
.faq-item { background: var(--paper); padding: 2.25rem; }
.faq-item h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 400; color: var(--ink); margin-bottom: 0.75rem; }
.faq-item p { font-size: 0.88rem; line-height: 1.8; color: #666; font-weight: 300; }

/* ── PROCESS ── */
.process { padding: 7rem 4rem; background: var(--ink); color: var(--paper); }
.process-header { margin-bottom: 4rem; }
.process-header h2 { color: var(--paper); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 2rem; left: 2.5rem; right: 2.5rem; height: 1px; background: rgba(184,146,42,0.3); z-index: 0; }
.step { padding: 0 1.5rem 0 0; position: relative; z-index: 1; }
.step-dot { width: 1rem; height: 1rem; background: var(--gold); border-radius: 50%; margin-bottom: 1.5rem; }
.step-num { font-family: 'Cormorant Garamond', serif; font-size: 0.9rem; color: var(--gold); letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.step h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 400; color: var(--paper); margin-bottom: 0.6rem; }
.step p { font-size: 0.82rem; line-height: 1.75; color: rgba(245,241,235,0.5); font-weight: 300; }

/* ── CTA ── */
.cta-section { padding: 7rem 4rem; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 6rem; align-items: center; }
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p { font-size: 0.95rem; line-height: 1.8; color: #666; font-weight: 300; margin-bottom: 1rem; }
.contact-card { background: var(--accent); color: var(--paper); padding: 3rem; }
.contact-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 300; margin-bottom: 0.5rem; }
.contact-card .sub { font-size: 0.8rem; color: rgba(245,241,235,0.5); margin-bottom: 2rem; line-height: 1.5; }
.contact-detail { display: flex; align-items: center; gap: 0.75rem; font-size: 0.85rem; color: rgba(245,241,235,0.75); margin-bottom: 0.85rem; }
.contact-detail .icon { color: var(--gold); font-size: 1rem; }
.contact-card .btn-primary { margin-top: 2rem; width: 100%; text-align: center; }

/* ── FOOTER ── */
footer { background: #080808; color: rgba(245,241,235,0.35); padding: 2rem 4rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; letter-spacing: 0.06em; border-top: 1px solid rgba(184,146,42,0.2); }
footer strong { color: var(--gold); font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-weight: 400; }

/* ── ANIMATIONS ── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 80px; }
  .hero-left { padding: 3rem 1.5rem; }
  .hero-right { padding: 0 1.5rem 3rem; }
  .hero-card { max-width: 100%; }
  .about { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 1.5rem; }
  .problem-grid { grid-template-columns: 1fr; }
  .services { padding: 4rem 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .why { padding: 4rem 1.5rem; }
  .why-grid { grid-template-columns: 1fr; }
  .case-study { grid-template-columns: 1fr; gap: 2rem; padding: 4rem 1.5rem; }
  .page-hero { grid-template-columns: 1fr; min-height: auto; }
  .page-hero-copy { padding: 3rem 1.5rem; }
  .services-detail-section { padding: 0 1.5rem 4rem; }
  .services-detail-grid { grid-template-columns: 1fr; }
  .industries { padding: 3rem 1.5rem; }
  .faq { padding: 4rem 1.5rem; }
  .faq-grid { grid-template-columns: 1fr; }
  .process { padding: 4rem 1.5rem; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process-steps::before { display: none; }
  .cta-section { grid-template-columns: 1fr; gap: 2rem; padding: 4rem 1.5rem; }
  footer { flex-direction: column; gap: 0.75rem; text-align: center; padding: 1.5rem; }
}
