/* True North IT Advisors — site styles */

:root {
  --navy: #10263f;
  --navy-deep: #0a1b2e;
  --slate: #3d4e60;
  --slate-light: #6b7a89;
  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  --accent: #b8862f;
  --accent-light: #d9a94e;
  --border: #e2e6ea;
  --radius: 6px;
  --max-width: 1120px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head: 'Source Serif 4', Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 16px;
}

h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 16px; color: var(--slate); }

a { color: var(--navy); }

section { padding: 72px 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.logo-img {
  height: 34px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate);
}
.site-nav a:hover { color: var(--navy); }
.site-nav .nav-cta {
  background: var(--navy);
  color: #fff;
  padding: 9px 18px;
  border-radius: var(--radius);
}
.site-nav .nav-cta:hover { background: var(--navy-deep); }

.nav-toggle-input { display: none; }
.nav-toggle-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle-btn span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  display: block;
}

/* Shared hero/banner text styles */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--slate);
  max-width: 640px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* Landing page hero (index.html) */
.landing-hero {
  position: relative;
  overflow: hidden;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  padding: 72px 0;
}
.landing-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 640px;
  max-width: none;
  opacity: 0.07;
  pointer-events: none;
}
.landing-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.landing-logo {
  width: 280px;
  max-width: 70vw;
  height: auto;
  margin-bottom: 32px;
}
.landing-hero .eyebrow { text-align: center; }
.landing-hero h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
}
.landing-hero .hero-sub { margin-left: auto; margin-right: auto; }
.landing-hero .hero-actions { justify-content: center; }

/* Practice page banner */
.page-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  padding: 76px 0 60px;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(16,38,63,0.09) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(120deg, black, transparent 65%);
  -webkit-mask-image: linear-gradient(120deg, black, transparent 65%);
  pointer-events: none;
}
.page-banner-inner { position: relative; max-width: 760px; }
.page-banner h1 {
  font-size: 2.3rem;
  margin-bottom: 18px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.98rem;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
  border: 1px solid var(--navy);
}
.btn-primary:hover { background: var(--navy-deep); }
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--navy); }
.btn-large { padding: 16px 32px; font-size: 1.05rem; }

/* Stats band */
.stats {
  padding: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 32px 20px;
  text-align: center;
  border-left: 1px solid var(--border);
}
.stat:first-child { border-left: none; }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--slate-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  max-width: 160px;
  margin: 0 auto;
}

/* Intro strip */
.intro {
  background: var(--navy);
  padding: 56px 0;
}
.intro-text {
  color: #dbe3ea;
  font-size: 1.15rem;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--bg);
}
.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(184,134,47,0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 {
  color: var(--navy);
  border-bottom: 2px solid var(--accent);
  display: inline-block;
  padding-bottom: 6px;
  margin-bottom: 14px;
}
.service-card p { margin-bottom: 0; }

/* Why fractional / ideal client */
.why-fractional { background: var(--bg-alt); }
.why-inner { max-width: 820px; }
.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  color: var(--slate);
  font-size: 1.05rem;
}
.check-ico {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(184,134,47,0.14);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.check-ico svg { width: 13px; height: 13px; }

/* Track record */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.proof-card {
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
}
.proof-card p { margin: 0; color: var(--navy); font-size: 1.02rem; }
.proof-card strong { color: var(--accent); }

/* About */
.about { background: var(--bg-alt); }
.about-inner {
  max-width: 820px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.about-avatar {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: var(--accent-light);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-text { flex: 1; }

/* Contact */
.contact-inner {
  text-align: center;
  max-width: 640px;
}
.contact-inner h2 { margin-bottom: 6px; }
.contact-inner > p:not(.contact-details) { margin-bottom: 32px; color: var(--slate-light); }
.contact-details {
  margin-top: 28px;
  font-size: 0.98rem;
  color: var(--slate);
}
.contact-details a { color: var(--slate); text-decoration: none; }
.contact-details a:hover { color: var(--navy); }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  padding: 28px 0;
}
.footer-inner p {
  margin: 0;
  color: #9fb0bf;
  font-size: 0.85rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 860px) {
  .services-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .landing-hero h1, .page-banner h1 { font-size: 2.05rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(odd) { border-left: none; }
  .about-inner { flex-direction: column; align-items: center; text-align: center; }
  .landing-watermark { width: 420px; opacity: 0.06; }
}

@media (max-width: 720px) {
  .nav-toggle-btn { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .site-nav a {
    width: 100%;
    padding: 14px 24px;
    border-top: 1px solid var(--border);
  }
  .site-nav .nav-cta {
    margin: 14px 24px;
    text-align: center;
    width: calc(100% - 48px);
  }
  .nav-toggle-input:checked ~ .header-inner .site-nav {
    max-height: 400px;
  }
  section { padding: 52px 0; }
  .landing-hero { padding: 56px 0; min-height: auto; }
  .landing-logo { width: 220px; }
  .page-banner { padding: 56px 0 44px; }
}
