/* ==========================================================================
   Bennett Solutions Group — Stylesheet
   Brand: Navy #1a2d47 · Teal #1e7b6e · Green #4a8c5c
   ========================================================================== */

:root {
  --navy: #1a2d47;
  --navy-deep: #101d30;
  --teal: #1e7b6e;
  --teal-light: #6fb3a8;
  --green: #4a8c5c;
  --off-white: #f8f7f3;
  --white: #ffffff;
  --ink: #1c2530;
  --ink-soft: #4c5a6b;
  --line: #e4e2da;

  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1160px;
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(16, 29, 48, 0.06);
  --shadow-md: 0 10px 30px rgba(16, 29, 48, 0.08);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); font-weight: 600; margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button { font-family: inherit; }

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

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

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover {
  background: #17655a;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-secondary {
  background: var(--off-white);
  color: var(--navy);
  border-color: var(--line);
}
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-block { display: block; text-align: center; }
.btn-nav { padding: 11px 24px; font-size: 0.88rem; }
.btn-disabled {
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(16,29,48,0.02);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  display: inline-block;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
}
.brand-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--navy);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.main-nav ul {
  display: flex;
  gap: 32px;
}
.main-nav ul a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.15s ease;
}
.main-nav ul a:hover,
.main-nav ul a.active {
  color: var(--navy);
}
.main-nav ul a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--teal);
  transition: right 0.2s ease;
}
.main-nav ul a:hover::after,
.main-nav ul a.active::after { right: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 24px;
  padding: 28px 24px 32px;
  background: var(--white);
  border-top: 1px solid var(--line);
}
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav ul a {
  display: block;
  padding: 12px 4px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}
.mobile-nav.is-open { display: flex; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 14px;
}
.section-intro {
  max-width: 620px;
  font-size: 1.08rem;
  color: var(--ink-soft);
  margin-top: 16px;
}
.section { padding: 108px 0; }
.section h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
  padding-top: 110px;
}
.hero-inner {
  max-width: 780px;
  text-align: center;
  margin: 0 auto;
  padding-bottom: 64px;
}
.hero .eyebrow { display: block; text-align: center; }
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-framework-strip {
  background: var(--navy);
  padding: 20px 0;
}
.framework-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--off-white);
  font-family: var(--font-head);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}
.strip-arrow { color: var(--teal-light); font-size: 1rem; }

/* ---------- Insight ---------- */
.insight { background: var(--white); }
.insight h2 { max-width: 720px; margin-bottom: 40px; }
.insight-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}
.insight-copy p { font-size: 1.05rem; color: var(--ink-soft); }
.insight-pullquote {
  background: var(--off-white);
  border-left: 3px solid var(--teal);
  padding: 32px 34px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.insight-pullquote p {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.factor-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 48px;
}
.factor-chips li {
  padding: 9px 18px;
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 500;
}

/* ---------- Approach / Framework ---------- */
.approach { background: var(--off-white); }
.framework-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 20px;
  margin-top: 52px;
}
.framework-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.framework-num {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.framework-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.framework-card p { color: var(--ink-soft); font-size: 0.98rem; }
.framework-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.4rem;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 52px;
}
.service-card {
  padding: 32px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: transparent;
}
.service-card h3 {
  font-size: 1.12rem;
  margin-bottom: 12px;
  color: var(--navy);
}
.service-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.services-cta {
  margin-top: 52px;
  text-align: center;
  font-size: 1.05rem;
  color: var(--ink-soft);
}
.services-cta .btn { margin-top: 20px; }

/* ---------- About (Why + Founder) ---------- */
.about { background: var(--off-white); }
.why-block { max-width: 760px; margin-bottom: 96px; }
.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.principles-grid li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 18px;
  border-left: 2px solid var(--green);
}
.principles-grid strong {
  font-family: var(--font-head);
  color: var(--navy);
  font-size: 1.02rem;
}
.principles-grid span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.founder-block {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: start;
  background: var(--white);
  border-radius: 16px;
  padding: 48px;
  box-shadow: var(--shadow-md);
}
.founder-photo img {
  border-radius: 12px;
  width: 100%;
  height: auto;
  box-shadow: var(--shadow-sm);
}
.founder-copy .eyebrow { margin-bottom: 10px; }
.founder-copy h2 { margin-bottom: 22px; }
.founder-copy p { color: var(--ink-soft); font-size: 1.02rem; }
.founder-signoff {
  margin-top: 26px;
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 500;
}
.founder-signoff span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 500;
  margin-top: 6px;
}

/* ---------- Resources ---------- */
.resources { background: var(--white); }
.resource-featured {
  margin-top: 52px;
  background: var(--navy);
  border-radius: 16px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.resource-featured-text { max-width: 560px; position: relative; }
.resource-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(30,123,110,0.18);
  color: var(--teal-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.resource-featured h3 {
  color: var(--white);
  font-size: 1.9rem;
  margin-bottom: 6px;
}
.resource-subtitle {
  color: var(--teal-light);
  font-weight: 500;
  font-size: 1.02rem;
  margin-bottom: 16px;
}
.resource-featured-text > p:not(.resource-subtitle) {
  color: #cdd6e0;
  margin-bottom: 26px;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 22px;
}
.resource-card {
  padding: 28px 26px;
  border-radius: var(--radius);
  border: 1px dashed var(--line);
  background: var(--off-white);
}
.resource-card h4 { font-size: 1.05rem; margin-bottom: 8px; color: var(--navy); }
.resource-card p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 14px; }
.resource-status {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.7;
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  text-align: center;
}
.final-cta .eyebrow { color: var(--teal-light); }
.final-cta h2 { color: var(--white); max-width: 720px; margin: 0 auto; }
.final-cta .section-intro { color: #c3cddb; margin-left: auto; margin-right: auto; }
.final-cta-actions {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.cta-email {
  color: #cdd6e0;
  font-size: 0.98rem;
  border-bottom: 1px solid rgba(205,214,224,0.35);
  padding-bottom: 2px;
}
.cta-email:hover { color: var(--white); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #a9b6c6;
  padding: 72px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p { margin-top: 16px; font-size: 0.92rem; line-height: 1.8; }
.footer-brand a { color: #cdd6e0; }
.footer-brand a:hover { color: var(--white); }
.footer-heading {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 16px;
}
.footer-social ul, .footer-legal ul { display: flex; flex-direction: column; gap: 10px; }
.footer-social a, .footer-legal a { font-size: 0.92rem; color: #a9b6c6; }
.footer-social a:hover, .footer-legal a:hover { color: var(--white); }
.footer-social a[aria-disabled="true"] { opacity: 0.55; cursor: default; }

.footer-disclaimer {
  padding: 32px 24px 40px;
  max-width: var(--container);
}
.footer-disclaimer p {
  font-size: 0.8rem;
  color: #7c8ba0;
  line-height: 1.7;
}
.footer-copyright {
  margin-top: 14px;
  font-size: 0.8rem;
  color: #6a7a90;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Legal pages ---------- */
.legal-page {
  padding: 72px 0 100px;
  max-width: 760px;
  margin: 0 auto;
}
.legal-page .eyebrow { display: block; }
.legal-page h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 8px;
}
.legal-updated {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 44px;
}
.legal-page h2 {
  font-size: 1.25rem;
  margin-top: 40px;
  margin-bottom: 14px;
}
.legal-page p, .legal-page li {
  color: var(--ink-soft);
  font-size: 1rem;
}
.legal-page ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 1em;
}
.legal-page li { margin-bottom: 6px; }
.legal-back {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 0.92rem;
  color: var(--teal);
  font-weight: 500;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .founder-block { grid-template-columns: 280px 1fr; gap: 40px; padding: 36px; }
  .insight-grid { grid-template-columns: 1fr; gap: 32px; }
  .framework-grid {
    grid-template-columns: 1fr;
  }
  .framework-connector { transform: rotate(90deg); padding: 4px 0; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { height: 68px; }
  .section { padding: 76px 0; }
  .resource-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .founder-block { grid-template-columns: 1fr; padding: 28px; }
  .founder-photo { max-width: 240px; margin: 0 auto; }
  .hero { padding-top: 90px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .resource-featured { padding: 32px 24px; }
  .principles-grid { grid-template-columns: 1fr; }
}
