/* ===========================
   Copper Spur Group — styles
   =========================== */

:root {
  --navy: #20364B;
  --navy-dark: #16262F;
  --copper: #B25F2C;
  --copper-dark: #954C22;
  --cream: #F7F5F2;
  --tan: #E8DDCF;
  --charcoal: #2D2D2D;
  --white: #FFFFFF;
  --border: rgba(45,45,45,0.1);
  --grid-line: rgba(178,95,44,0.12);
  --muted: #5B6472;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1120px;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
}
.skip-link:focus {
  left: 0;
}

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

h1, h2, h3 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 16px;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; margin-bottom: 10px; }

h2.light, h1.light, h3.light { color: var(--white); }
h2.center { text-align: center; }

p { margin: 0 0 16px; }
p.lead { font-size: 1.08rem; color: var(--muted); max-width: 640px; }

a { color: var(--copper); text-decoration: none; }
a:hover { text-decoration: underline; }

.accent { color: var(--copper); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--copper);
  margin: 0 0 14px;
}
.eyebrow a { color: inherit; }
.eyebrow-dash {
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--copper);
  flex: none;
}
.eyebrow-light { color: var(--tan); }
.eyebrow-light .eyebrow-dash { background: var(--tan); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 12px 26px;
  transition: background 0.15s ease, transform 0.1s ease, border-color 0.15s ease;
  border: 1.5px solid transparent;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--copper);
  color: var(--white);
}
.btn-primary:hover { background: var(--copper-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--navy);
}
.btn-outline:hover { border-color: var(--copper); color: var(--copper); }
.btn-outline.btn-on-navy { border-color: rgba(255,255,255,0.3); color: var(--white); }
.btn-outline.btn-on-navy:hover { border-color: var(--copper); color: var(--copper); }

.btn-lg { padding: 15px 34px; font-size: 1.02rem; }

.btn-nav { padding: 10px 18px; font-size: 0.88rem; white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 76px;
}
.header-inner .brand { flex: none; }
.header-inner .btn-nav { flex: none; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.1rem;
}
.brand:hover { text-decoration: none; }

.site-nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--charcoal);
  font-weight: 500;
  font-size: 0.88rem;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--copper); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--copper); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
}

/* ---------- Hero (homepage) ---------- */
.hero {
  position: relative;
  background: var(--white);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
  padding: 88px 0 64px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, var(--white) 82%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 720px; }
.hero .eyebrow { justify-content: flex-start; }

.hero-sub {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 620px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 32px 0 0;
}

/* ---------- Page hero (internal pages) ---------- */
.page-hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow { justify-content: flex-start; }
.page-hero h1 { margin-bottom: 14px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding: 18px 24px 0; }
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--border); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--copper); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-tight { padding: 48px 0; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); }
.section-navy p, .section-navy li { color: var(--tan); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.two-col-reverse { direction: rtl; }
.two-col-reverse > * { direction: ltr; }

.about-col { grid-template-columns: 300px 1fr; align-items: start; gap: 48px; }
.about-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.callout {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  max-width: 680px;
  margin: 40px auto 0;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.check-list li {
  position: relative;
  padding: 8px 0 8px 32px;
  border-bottom: 1px solid var(--border);
  font-size: 1.02rem;
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--copper);
  font-weight: 700;
}
.check-list-muted li::before { color: var(--navy); }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.card-grid-insights { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  color: var(--charcoal);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
}
.card h3 { color: var(--navy); }
.card p:last-child { margin-bottom: 0; }

a.card-link { display: block; transition: border-color 0.15s ease, transform 0.1s ease; }
a.card-link:hover { border-color: var(--copper); transform: translateY(-2px); text-decoration: none; }
a.card-link h3, a.card-link .card-kicker { text-decoration: none; }

.card-static { background: transparent; border-style: dashed; }
.card-static h3 { color: var(--muted); }
.card-static p { color: var(--muted); margin-bottom: 0; }

.card-on-navy {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.14);
}
.card-on-navy p { color: var(--tan); }
.card-on-navy:hover { border-color: var(--copper); }

.card-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--copper);
  margin-bottom: 10px;
}
.card-num {
  font-variant-numeric: tabular-nums;
  color: #A8ADB4;
  font-weight: 600;
}
.card-on-navy .card-num { color: rgba(255,255,255,0.4); }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.testimonial-grid-single { grid-template-columns: 1fr; max-width: 480px; }
.testimonial-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--copper);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.testimonial-card blockquote {
  margin: 0 0 20px;
}
.testimonial-card blockquote p {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--charcoal);
  margin: 0;
}
.testimonial-card figcaption { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.testimonial-business { font-weight: 700; color: var(--navy); margin: 0 0 4px; font-size: 0.95rem; }
.testimonial-meta { color: var(--muted); font-size: 0.82rem; margin: 0 0 4px; }
.testimonial-service {
  color: var(--copper);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

/* ---------- Insight cards ---------- */
.insight-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.insight-card-category {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--copper);
  margin-bottom: 8px;
}
.insight-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.insight-card h3 a { color: var(--navy); }
.insight-card-date { font-size: 0.8rem; color: var(--muted); margin-bottom: 0; }

.empty-state {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 32px;
  color: var(--muted);
}
.empty-state p:last-child { margin-bottom: 0; }

/* ---------- Draft notice ---------- */
.draft-notice {
  border: 1px solid var(--border);
  border-left: 3px solid var(--copper);
  border-radius: var(--radius);
  background: var(--white);
  padding: 20px 24px;
  margin-bottom: 32px;
}
.draft-notice-label {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--copper);
  margin-bottom: 6px;
}
.draft-notice p:last-child { margin-bottom: 0; }

/* ---------- Article body ---------- */
.article-body p { font-size: 1.03rem; color: var(--charcoal); }
.article-body h2 {
  font-size: 1.4rem;
  margin-top: 44px;
  margin-bottom: 14px;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-top: 28px;
  margin-bottom: 6px;
}
.article-body em {
  display: inline-block;
  font-style: italic;
  color: var(--copper);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 10px;
}
.article-body ul, .article-body ol {
  margin: 0 0 16px;
  padding-left: 22px;
}
.article-body li {
  margin-bottom: 7px;
  font-size: 1.03rem;
  color: var(--charcoal);
}
.article-body strong { color: var(--navy); }
.article-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 36px 0;
}

/* ---------- Lead form ---------- */
.lead-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--copper);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  margin: 0 0 6px;
}
.form-input {
  display: block;
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--charcoal);
  background: var(--white);
  margin-bottom: 20px;
}
.form-input:focus {
  outline: 2px solid var(--copper);
  outline-offset: 1px;
  border-color: var(--copper);
}
.form-submit { width: 100%; text-align: center; border: none; cursor: pointer; }
.form-privacy { font-size: 0.8rem; color: var(--muted); margin: 14px 0 0; text-align: center; }

.thank-you-secondary { color: var(--tan); margin-top: 24px; }
.thank-you-secondary a { color: var(--white); font-weight: 600; }

/* ---------- Video embed ---------- */
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 32px;
  background: var(--navy-dark);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.insight-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 0; }

/* ---------- Credentials strip ---------- */
.credentials-strip { text-align: center; }
.credentials-line {
  color: var(--muted);
  font-size: 1rem;
  max-width: 680px;
  margin: 0 auto 20px;
}
.credentials-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.credentials-chips li {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 16px;
}

/* ---------- Compass Framework diagram ---------- */
.compass { margin-top: 40px; }
.compass-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.compass-node {
  position: relative;
  padding: 0 14px 0 0;
}
.compass-condensed .compass-node:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 0;
  width: 14px;
  height: 1px;
  background: var(--border);
}
.compass-node-inner { padding-right: 4px; }

.compass-full .compass-track {
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 28px;
}
.compass-full .compass-node {
  padding: 0;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.compass-full .compass-node-inner { padding-right: 0; }
.compass-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--copper);
  font-weight: 700;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  margin-bottom: 16px;
}
.compass-node h3 { font-size: 1.05rem; margin-bottom: 4px; }
.compass-node h3 a { color: var(--navy); }
.compass-node h3 a:hover { color: var(--copper); }
.compass-question {
  font-size: 0.88rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 0;
}
.compass-full .compass-question { margin-bottom: 10px; }
.compass-desc { font-size: 0.9rem; margin-bottom: 12px; }
.compass-tools {
  list-style: none;
  margin: 0;
  padding: 10px 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.compass-tools li {
  font-size: 0.78rem;
  color: var(--muted);
  padding-left: 12px;
  position: relative;
}
.compass-tools li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--copper);
}

/* ---------- CTA block ---------- */
.cta-block { text-align: center; background: var(--navy); border-radius: var(--radius); padding: 56px 40px; }
.cta-block .hero-sub { color: var(--tan); max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-block .btn { margin-top: 8px; }

/* ---------- Final CTA (page-level) ---------- */
.cta-wrap {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.cta-wrap .hero-sub { color: var(--tan); margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  padding: 56px 0 0;
}
.footer-inner-full {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col .brand { color: var(--white); margin-bottom: 12px; }
.footer-tagline { color: var(--tan); max-width: 32ch; margin-bottom: 8px; }
.footer-location { color: rgba(232,221,207,0.6); font-size: 0.85rem; max-width: 34ch; margin-bottom: 20px; }
.footer-heading {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--tan);
  margin-bottom: 14px;
}
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-list a { color: var(--tan); font-size: 0.92rem; }
.footer-list a:hover { color: var(--copper); }

.footer-legal {
  font-size: 0.76rem;
  color: rgba(232,221,207,0.55);
  padding-top: 20px;
  margin: 0;
  max-width: 72ch;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--tan);
  padding: 20px 24px;
}
.footer-inner a { color: var(--tan); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .two-col, .card-grid, .footer-inner-full, .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .compass-track, .compass-full .compass-track { grid-template-columns: 1fr; gap: 28px; }
  .compass-node { padding-right: 0; }
  .compass-condensed .compass-node:not(:last-child)::after { display: none; }
  .two-col-reverse { direction: ltr; }
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 48px; }
  .cta-block { padding: 40px 24px; }
}

@media (max-width: 720px) {
  .site-nav ul {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .site-nav ul.open { display: flex; }
  .site-nav li { border-bottom: 1px solid var(--border); }
  .site-nav a { display: block; padding: 16px 24px; }
  .nav-toggle { display: flex; }
  .btn-nav { display: none !important; }
}
