/* ============================================================
   Alatus Advisory — Main Stylesheet
   ============================================================ */

/* 1. Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* 2. Custom Properties */
:root {
  --navy:      #0f172a;
  --navy-mid:  #1e293b;
  --teal:      #0d9488;
  --teal-dark: #0f766e;
  --slate:     #64748b;
  --muted:     #94a3b8;
  --white:     #ffffff;
  --off-white: #f8fafc;
  --border:    #e2e8f0;
  --text:      #0f172a;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Georgia', 'Times New Roman', serif;

  --max-width: 1200px;
  --side-pad: 24px;
  --section-pad: 96px;
  --nav-height: 84px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 100px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--teal-dark);
}

ul {
  list-style: none;
}

/* External link arrow */
a[target="_blank"]::after {
  content: '\2197';
  display: inline-block;
  margin-left: 3px;
  font-size: 0.75em;
  vertical-align: super;
  opacity: 0.7;
}

/* Suppress arrow on buttons and nav links */
.btn::after,
.nav-links a::after,
.nav-cta::after,
.logo::after,
.card-link::after,
.read-more::after,
footer a::after {
  display: none !important;
}

/* 4. Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

/* 5. Navigation */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--navy);
  height: var(--nav-height);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  color: var(--white);
  opacity: 0.9;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background-color: var(--teal);
  color: var(--white) !important;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  background-color: var(--teal-dark);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.hamburger:hover {
  background: rgba(255,255,255,0.08);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background-color: var(--navy);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.nav-overlay-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.nav-overlay-links a {
  font-size: 1.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-overlay-links a:hover,
.nav-overlay-links a.active {
  color: var(--teal);
}

.nav-overlay-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.nav-overlay-close:hover {
  background: rgba(255,255,255,0.08);
}

/* Open state */
body.nav-open .nav-overlay {
  display: flex;
}

body.nav-open {
  overflow: hidden;
}

/* Animate hamburger → X when open */
body.nav-open .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .hamburger span:nth-child(2) {
  opacity: 0;
}
body.nav-open .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 6. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.btn-primary:hover {
  background-color: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* 7. Hero — Home (full viewport) */
.hero-home {
  min-height: 100vh;
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(15,23,42,0.87), rgba(15,23,42,0.93)),
    url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=2000&q=80');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 120px var(--side-pad) 80px;
}

.hero-home .hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 24px;
}

.hero-home h1 {
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  max-width: 800px;
}

.hero-home .hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: #cbd5e1; /* slate-300 */
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* 8. Page Hero (inner pages — shorter) */
.hero-page {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(15,23,42,0.88), rgba(15,23,42,0.94)),
    url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=2000&q=80');
  background-size: cover;
  background-position: center;
  padding: 80px var(--side-pad) 72px;
}

.hero-page .hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-page h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.15;
}

.hero-page .hero-sub {
  font-size: 1.125rem;
  color: #cbd5e1;
  line-height: 1.65;
  max-width: 580px;
}

/* 9. Sections */
.section {
  padding: var(--section-pad) var(--side-pad);
}

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

.section-offwhite {
  background-color: var(--off-white);
}

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

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 48px;
}

.section-title-centered {
  text-align: center;
}

/* 10. Problem Section — 2-column */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.problem-headline {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.problem-copy {
  font-size: 1.0625rem;
  color: var(--slate);
  line-height: 1.75;
}

.problem-copy p + p {
  margin-top: 16px;
}

/* 11. Service Cards — 2×2 grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  box-shadow: 0 8px 32px rgba(15,23,42,0.08);
  transform: translateY(-2px);
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--teal);
  flex-shrink: 0;
}

.service-card-name {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.service-card-desc {
  font-size: 0.9375rem;
  color: var(--slate);
  line-height: 1.65;
  flex: 1;
}

.card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.card-link:hover {
  color: var(--teal-dark);
  gap: 8px;
}

/* 12. Why Alatus — 3 columns */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pillar-icon {
  width: 44px;
  height: 44px;
  color: var(--teal);
}

.pillar-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}

.pillar-body {
  font-size: 0.9375rem;
  color: var(--slate);
  line-height: 1.65;
}

/* 13. Industry pills */
.industry-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.industry-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.industry-desc {
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.7;
  max-width: 640px;
}

/* 14. Credential chips */
.cred-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.cred-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background-color: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.cred-chip[href]:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.cred-chip::after {
  display: none !important;
}

/* 15. CTA Section (navy) */
.cta-section {
  text-align: center;
  padding: var(--section-pad) var(--side-pad);
  background-color: var(--navy);
}

.cta-section h2 {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.service-section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}

/* 16. Services page — full service sections */
.service-section {
  padding: var(--section-pad) var(--side-pad);
}

.service-section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.service-section-meta {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.service-buyer-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 12px;
}

.service-buyer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.buyer-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background-color: rgba(13,148,136,0.1);
  color: var(--teal);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
}

.service-section-heading {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 24px;
}

.service-section-body {
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.75;
}

.service-section-body p + p {
  margin-top: 16px;
}

.service-section-body a {
  color: var(--teal);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* What you get list */
.deliverables-list {
  margin-top: 32px;
}

.deliverables-list h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 16px;
}

.deliverables-list ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.deliverables-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.5;
}

.deliverables-list li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--teal);
  flex-shrink: 0;
  margin-top: 8px;
}

/* Engagement phases */
.phases {
  margin-top: 32px;
}

.phases h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 16px;
}

.phase-track {
  display: flex;
  gap: 0;
  position: relative;
}

.phase-step {
  flex: 1;
  padding: 16px 12px;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-right: none;
  text-align: center;
}

.phase-step:first-child {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.phase-step:last-child {
  border-right: 1px solid var(--border);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.phase-step-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.phase-step-time {
  font-size: 0.75rem;
  color: var(--slate);
}

/* 17. About page — Team cards */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.team-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.team-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--navy-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.team-title {
  font-size: 0.9375rem;
  color: var(--teal);
  font-weight: 500;
}

.team-bio {
  font-size: 0.9375rem;
  color: var(--slate);
  line-height: 1.7;
}

/* 18. Reference frameworks section */
.frameworks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.framework-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.framework-card a {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.framework-card a:hover {
  color: var(--teal);
}

.framework-card p {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.6;
}

/* 19. Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}

.contact-info-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}

.contact-info-value {
  font-size: 1rem;
  color: var(--text);
}

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

.contact-what-to-expect {
  margin-top: 32px;
  padding: 24px;
  background-color: var(--off-white);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--teal);
}

.contact-what-to-expect h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 12px;
}

.contact-what-to-expect p {
  font-size: 0.9375rem;
  color: var(--slate);
  line-height: 1.65;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.form-group label .optional {
  font-weight: 400;
  color: var(--slate);
  margin-left: 4px;
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text);
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--slate);
  line-height: 1.5;
}

.form-field-error {
  font-size: 0.8125rem;
  color: #dc2626;
  min-height: 1em;
}

.form-error-global {
  font-size: 0.875rem;
  color: #dc2626;
}

.form-error-global:empty {
  display: none;
}

.form-success {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  color: #166534;
  font-size: 0.9375rem;
  display: none;
}

[data-fs-submit-btn]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* 20. Insights index — Article cards */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.article-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.article-card:hover {
  box-shadow: 0 8px 32px rgba(15,23,42,0.08);
  transform: translateY(-2px);
}

.category-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background-color: var(--teal);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: fit-content;
}

.article-card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-card-title:hover {
  color: var(--teal);
}

.article-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--slate);
}

.article-card-meta .sep {
  color: var(--border);
}

.article-card-excerpt {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.65;
  flex: 1;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
  margin-top: auto;
}

.read-more:hover {
  color: var(--teal-dark);
  gap: 8px;
}

/* 21. Article layout (for articles agent) */
.article-layout {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px var(--side-pad) 96px;
}

.article-header {
  margin-bottom: 40px;
}

.article-header .category-tag {
  margin-bottom: 16px;
}

.article-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.875rem;
  color: var(--slate);
  margin-bottom: 32px;
}

.article-meta .sep {
  color: var(--border);
}

.article-body {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.8;
  color: #1e293b;
}

.article-body p {
  margin-bottom: 24px;
}

.article-body h2 {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 40px 0 16px;
  letter-spacing: -0.02em;
}

.article-body h3 {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 32px 0 12px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-body ul {
  list-style: disc;
}

.article-body ol {
  list-style: decimal;
}

.article-body li {
  line-height: 1.7;
}

.article-body a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body blockquote {
  margin: 32px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--teal);
  background-color: var(--off-white);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
}

/* Drop cap (optional) */
.article-body.drop-cap > p:first-child::first-letter {
  font-size: 3.5em;
  font-weight: 800;
  font-family: var(--font-sans);
  float: left;
  line-height: 0.85;
  margin: 4px 8px 0 0;
  color: var(--navy);
}

/* Back to insights link */
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate);
  text-decoration: none;
  margin-bottom: 40px;
  transition: color 0.2s ease;
}

.article-back:hover {
  color: var(--teal);
}

/* 22. Footer */
.site-footer {
  background-color: var(--navy);
  padding: 64px var(--side-pad) 32px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}

.footer-brand .logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  display: inline-block;
  margin-bottom: 12px;
  text-decoration: none;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 220px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}

.footer-sub {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}

/* 23. Philosophy columns (about page) */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.philosophy-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.philosophy-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}

.philosophy-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.philosophy-body {
  font-size: 0.9375rem;
  color: var(--slate);
  line-height: 1.7;
}

/* 24. Who we are (about) */
.about-intro {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-intro p {
  font-size: 1.0625rem;
  color: var(--slate);
  line-height: 1.8;
}

/* 25. Divider */
.divider {
  height: 1px;
  background-color: var(--border);
  margin: 0;
}

/* ============================================================
   RESPONSIVE STYLES
   ============================================================ */

/* 1024px breakpoint */
@media (max-width: 1024px) {
  :root {
    --section-pad: 72px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .service-section-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-section-meta {
    position: static;
  }

  .frameworks-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* 768px breakpoint */
@media (max-width: 768px) {
  :root {
    --section-pad: 56px;
    --side-pad: 20px;
  }

  /* Nav */
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Hero home */
  .hero-home {
    padding: 100px var(--side-pad) 64px;
    min-height: auto;
    min-height: 100svh;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Problem */
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Services grid */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Pillars */
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Team */
  .team-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Insights */
  .insights-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Footer */
  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Philosophy */
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Frameworks */
  .frameworks-grid {
    grid-template-columns: 1fr;
  }

  /* Phase track */
  .phase-track {
    flex-direction: column;
  }

  .phase-step {
    border-right: 1px solid var(--border);
    border-bottom: none;
    border-radius: 0;
  }

  .phase-step:first-child {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }

  .phase-step:last-child {
    border-bottom: 1px solid var(--border);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }
}

@media (max-width: 480px) {
  .insights-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   SUPPLEMENTAL STYLES — article pages, contact, insights index
   ============================================================ */

/* Nav aliases used by article pages */
.nav-logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
}

/* Standalone btn-primary (used in article pages without .btn base) */
a.btn-primary:not(.btn),
button.btn-primary:not(.btn) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid var(--teal);
  background-color: var(--teal);
  color: var(--white);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

a.btn-primary:not(.btn):hover,
button.btn-primary:not(.btn):hover {
  background-color: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
  transform: translateY(-2px);
}

a.btn-primary.btn-sm:not(.btn) {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Additional button variants */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid var(--teal);
  background-color: transparent;
  color: var(--teal);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.btn-outline:hover {
  background-color: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.125rem;
}

/* Utility */
.text-center { text-align: center; }
.bg-navy { background-color: var(--navy); }

/* Article hero (dark navy, used on all insight articles) */
.article-hero {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(15,23,42,0.91), rgba(15,23,42,0.96)),
    url('https://images.unsplash.com/photo-1555066931-4365d14bab8c?auto=format&fit=crop&w=2000&q=80');
  background-size: cover;
  background-position: center;
  padding: calc(var(--nav-height) + 56px) var(--side-pad) 56px;
}

.article-hero .container {
  max-width: 760px;
}

.article-hero .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

.article-date,
.article-read-time {
  font-size: 0.875rem;
  color: var(--muted);
}

.article-hero .article-title {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.article-byline {
  font-size: 0.9375rem;
  color: var(--muted);
}

.article-byline strong {
  color: rgba(255,255,255,0.85);
}

/* Article body layout */
.article-container {
  max-width: 760px;
  padding: 64px 0 96px;
}

/* Article footer nav */
.article-nav-section {
  background-color: var(--off-white);
  border-top: 1px solid var(--border);
  padding: 24px var(--side-pad);
}

.back-to-insights {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.2s ease;
  max-width: var(--max-width);
  margin: 0 auto;
}

.back-to-insights:hover {
  color: var(--teal);
}

/* CTA section */
.section-cta {
  padding: 80px var(--side-pad);
}

.section-cta h2 {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-cta p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 32px;
}

/* Footer aliases used by article and top-level pages */
.footer-logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* Insights index — insight cards */
.insight-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.insight-card:hover {
  box-shadow: 0 8px 32px rgba(15,23,42,0.10);
  transform: translateY(-3px);
}

.insight-card-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
}

.insight-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}

.insight-card:hover .insight-card-image img {
  transform: scale(1.04);
}

.insight-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.insight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.insight-date {
  font-size: 0.8125rem;
  color: var(--slate);
}

.insight-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

.insight-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.insight-title a:hover {
  color: var(--teal);
}

.insight-excerpt {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.65;
  flex: 1;
}

.insight-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.insight-author {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--slate);
}

.insight-read-more {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.insight-read-more:hover {
  color: var(--teal-dark);
}

/* Contact page supplemental */
.contact-main h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.contact-main > p {
  font-size: 1.0625rem;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-cta-block {
  margin-bottom: 40px;
}

.contact-email-note {
  font-size: 0.875rem;
  color: var(--slate);
  margin-top: 12px;
}

.contact-context h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.contact-context ul {
  margin: 0 0 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: disc;
}

.contact-context ul li {
  font-size: 0.9375rem;
  color: var(--slate);
  line-height: 1.6;
}

.contact-context > p {
  font-size: 0.9375rem;
  color: var(--slate);
  line-height: 1.7;
}

.contact-info-card {
  background-color: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}

.contact-info-card:last-child {
  margin-bottom: 0;
}

.contact-info-card-alt {
  background-color: var(--navy);
}

.contact-info-card-alt h3,
.contact-info-card-alt ul li,
.contact-info-card-alt p {
  color: var(--muted);
}

.contact-info-card-alt h3 {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.contact-info-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}

.contact-expect-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-expect-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.expect-step {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--teal);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.contact-expect-list strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.contact-expect-list p {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.6;
  margin: 0;
}

.contact-info-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-info-card-alt ul li {
  font-size: 0.9375rem;
  color: var(--muted);
  padding-left: 12px;
  position: relative;
}

.contact-info-card-alt ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--teal);
}

.contact-industries-note {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.6;
}

/* Services mini grid (contact page) */
.services-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.service-mini-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: left;
}

.service-mini-card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.service-mini-card p {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .services-mini-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .services-mini-grid {
    grid-template-columns: 1fr;
  }
}

/* Section sub-heading */
.section-sub {
  font-size: 1.0625rem;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
