/* ============================================================
   Sirkin Consulting — Design System
   ============================================================ */

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

:root {
  --navy: #1A2744;
  --crimson: #B5283C;
  --charcoal: #3A3F47;
  --warm-gray: #F5F5F3;
  --white: #FFFFFF;
  --slate: #5A7194;
  --navy-light: #243358;
  --crimson-dark: #922033;
  --border-light: #E8E8E5;
  --font-serif: "Rockwell", Georgia, "Times New Roman", serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  line-height: 1.75;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--crimson); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--crimson-dark); }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: 3rem; margin-bottom: 1rem; }
h2 { font-size: 2.2rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.4rem; letter-spacing: 0.04em; }

p { margin-bottom: 1.25rem; }

.subhead {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  color: var(--slate);
  font-weight: 400;
  line-height: 1.7;
}

.label-caps {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 700;
}

/* --- Layout --- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5.5rem 0;
}

section.bg-warm {
  background: var(--warm-gray);
}

section.bg-navy {
  background: var(--navy);
  color: var(--white);
}

section.bg-navy h2,
section.bg-navy h3,
section.bg-navy h4 {
  color: var(--white);
}

section.bg-navy .subhead {
  color: rgba(255, 255, 255, 0.7);
}

section.bg-navy a {
  color: #E8B4BB;
}

section.bg-navy a:hover {
  color: var(--white);
}

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

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-full {
  display: block;
  width: 240px;
  height: auto;
  object-fit: contain;
}

.site-header .container {
  overflow: visible;
}

nav { display: flex; align-items: center; gap: 2.5rem; }

nav a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

nav a:hover,
nav a.active {
  color: var(--navy);
}

nav a.active::after {
  content: "";
  position: absolute;
  bottom: -0.35rem;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--crimson);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.3s;
}

/* --- Hero --- */
.hero {
  padding: 7rem 0 6rem;
  text-align: center;
}

.hero h1 {
  font-size: 3.2rem;
  max-width: 700px;
  margin: 0 auto 1.25rem;
}

.hero .tagline {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  color: var(--slate);
  max-width: 560px;
  margin: 0 auto 1rem;
  line-height: 1.65;
}

.hero .value-prop {
  font-size: 1.05rem;
  color: var(--charcoal);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.accent-line {
  width: 60px;
  height: 3px;
  background: var(--crimson);
  margin: 1.5rem auto 2rem;
  border: none;
}

.accent-line-left {
  width: 60px;
  height: 3px;
  background: var(--crimson);
  margin: 1rem 0 1.5rem;
  border: none;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.9rem 2.2rem;
  border-radius: 3px;
  transition: all 0.25s;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--crimson);
  color: var(--white);
  border: 2px solid var(--crimson);
}

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

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Grid Systems --- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* --- Cards --- */
.card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  transition: box-shadow 0.3s, transform 0.3s;
}

.card:hover {
  box-shadow: 0 8px 30px rgba(26, 39, 68, 0.08);
  transform: translateY(-2px);
}

.card .card-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  color: var(--crimson);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.92rem;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 0;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-header .label-caps {
  margin-bottom: 0.75rem;
  display: block;
}

.section-header p {
  color: var(--slate);
  font-size: 1.05rem;
}

/* --- About Blurb (Home) --- */
.about-blurb {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about-blurb-text h2 {
  font-size: 2rem;
}

.about-blurb-text p {
  color: var(--charcoal);
  line-height: 1.8;
}

/* --- Bio Section --- */
.bio-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.bio-sidebar {
  position: sticky;
  top: 7rem;
}

.bio-sidebar h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.bio-sidebar .title {
  font-size: 0.9rem;
  color: var(--slate);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.bio-content p {
  font-size: 1rem;
  line-height: 1.85;
}

/* --- Methodology --- */
.methodology-phases {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.phase-card {
  text-align: center;
  padding: 2rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  transition: box-shadow 0.3s;
}

.phase-card:hover {
  box-shadow: 0 4px 20px rgba(26, 39, 68, 0.07);
}

.phase-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.phase-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.phase-card p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--charcoal);
  margin-bottom: 0;
}

/* --- Service Detail Cards --- */
.service-detail {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-light);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.service-detail p {
  max-width: 780px;
  line-height: 1.8;
}

.service-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--border-light);
  line-height: 1;
  margin-bottom: 0.75rem;
}

/* --- Case Studies --- */
.case-study {
  background: var(--white);
  padding: 3rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
}

.case-study .label-caps {
  color: var(--crimson);
  margin-bottom: 0.5rem;
  display: block;
}

.case-study h3 {
  margin-bottom: 1.25rem;
}

.case-study h4 {
  color: var(--navy);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
}

.case-study h4:first-of-type {
  margin-top: 0;
}

.case-study p {
  font-size: 0.95rem;
  line-height: 1.75;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-block {
  margin-bottom: 2.5rem;
}

.contact-info-block .label-caps {
  margin-bottom: 0.5rem;
  display: block;
}

.contact-info-block p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.contact-info-block a {
  color: var(--crimson);
  font-weight: 500;
}

/* --- Footer --- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.6);
  padding: 3.5rem 0;
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand .logo-text {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.footer-brand .logo-text span {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
  max-width: 300px;
  margin-bottom: 0;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex: 1;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-contact p {
  margin-bottom: 0.25rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
  color: var(--white);
}

/* --- Industry & Vendor Lists --- */
.industry-list,
.vendor-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.industry-list li,
.vendor-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

.industry-list li:last-child,
.vendor-list li:last-child {
  border-bottom: none;
}

.vendor-list li strong {
  color: var(--navy);
}

/* --- LinkedIn Icon --- */
.footer-linkedin {
  display: inline-block;
  margin-top: 0.5rem;
}

.footer-linkedin svg {
  width: 22px;
  height: 22px;
  fill: rgba(255, 255, 255, 0.6);
  transition: fill 0.2s;
}

.footer-linkedin:hover svg {
  fill: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
}

/* --- Page Hero (interior pages) --- */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 5rem 0 4rem;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 0.75rem;
}

.page-hero .accent-line {
  background: var(--crimson);
  margin: 1.25rem auto 1.5rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .methodology-phases { grid-template-columns: repeat(3, 1fr); }
  .bio-section { grid-template-columns: 1fr; gap: 2rem; }
  .bio-sidebar { position: static; }
}

@media (max-width: 768px) {
  html { font-size: 16px; }

  section { padding: 3.5rem 0; }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }

  .hero { padding: 4.5rem 0 3.5rem; }
  .hero h1 { font-size: 2.4rem; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .methodology-phases { grid-template-columns: repeat(2, 1fr); }

  .about-blurb { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

  .page-hero { padding: 3.5rem 0 3rem; }
  .page-hero h1 { font-size: 2rem; }

  /* Mobile nav */
  .nav-toggle { display: block; }

  nav {
    display: none;
    position: absolute;
    top: 5rem;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  }

  nav.open { display: flex; }

  nav a.active::after { display: none; }
}

@media (max-width: 480px) {
  .container, .container-narrow { padding: 0 1.25rem; }
  .hero h1 { font-size: 2rem; }
  .methodology-phases { grid-template-columns: 1fr; }
  .case-study { padding: 2rem 1.5rem; }
  .btn-group { flex-direction: column; align-items: center; }
}
