/* ============================================
   FIKA CTO — Global Stylesheet
   Brand: Deep Forest (#1c2b1e) + Sage (#5aba6a)
   Fonts: Bricolage Grotesque (headings) + Epilogue (body)
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@400;500;600;700;800&family=Epilogue:wght@300;400;500;600&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --navy:        #1c2b1e;
  --navy-mid:    #243d27;
  --navy-light:  #2e5232;
  --amber:       #5aba6a;
  --amber-dark:  #3d8f4a;
  --amber-light: #7ecc8a;
  --white:       #FFFFFF;
  --tint:        #f2faf3;
  --tint-dark:   #ddf0de;
  --body-text:   #1e3a20;
  --muted:       #4a7a50;
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --shadow-sm:   0 2px 8px rgba(12,30,14,0.08);
  --shadow-md:   0 8px 32px rgba(12,30,14,0.12);
  --shadow-lg:   0 20px 60px rgba(12,30,14,0.18);
  --max-width:   1200px;
  --section-pad: 5rem 1.5rem;
}

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

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

body {
  font-family: 'Epilogue', system-ui, sans-serif;
  color: var(--body-text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bricolage Grotesque', sans-serif;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
/* The <header> wraps the nav — make the header sticky so it works correctly */
header:has(.site-nav) {
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav {
  position: relative; /* no longer needs sticky — header handles it */
  background: rgba(12, 30, 14, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245,166,35,0.15);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: -.01em;
  text-transform: lowercase;
}

.nav-logo-text span {
  font-weight: 500;
  color: rgba(255,255,255,.4);
  margin-left: .25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: 'Epilogue', sans-serif;
  font-size: .95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color .2s;
}

.nav-links a:hover { color: var(--amber); }
.nav-links a.nav-active { color: var(--amber); font-weight: 600; }

/* Prevent nav-link base styles from bleeding into btn-primary inside nav */
.nav-links a.btn-primary,
.nav-mobile a.btn-primary {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: .85rem;
  font-weight: 800;
  color: var(--navy);
}
.nav-mobile a.nav-active { color: var(--amber); font-weight: 600; }

/* --- Buttons — Option 4: Bold & Editorial --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: var(--amber);
  color: var(--navy);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .75rem 1.6rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 0 var(--amber-dark), 0 4px 14px rgba(61,143,74,0.22);
  transition: transform .15s, box-shadow .15s;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background .18s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 var(--amber-dark), 0 8px 22px rgba(61,143,74,0.28);
}
.btn-primary:hover::before { background: rgba(0,0,0,0.06); }
.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 0 var(--amber-dark), 0 2px 8px rgba(61,143,74,0.18);
}

/* Secondary — underline text-link style */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  background: transparent;
  color: var(--white);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .75rem 0;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.45);
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  transition: color .18s, border-color .18s, gap .15s;
}
.btn-secondary:hover {
  color: var(--amber-light);
  border-color: var(--amber-light);
  gap: .75rem;
}

/* Secondary on light backgrounds */
.btn-secondary-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  background: transparent;
  color: var(--navy);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .75rem 0;
  border: none;
  border-bottom: 2px solid var(--navy);
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  transition: color .18s, border-color .18s, gap .15s;
}
.btn-secondary-light:hover {
  color: var(--amber-dark);
  border-color: var(--amber-dark);
  gap: .75rem;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .25s;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--navy);
  padding: 1.25rem 1.5rem 1.5rem;
  gap: 1.1rem;
  border-top: 1px solid rgba(245,166,35,0.15);
}

.nav-mobile a {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 500;
  transition: color .2s;
}
.nav-mobile a:hover { color: var(--amber); }
.nav-mobile .btn-primary { width: fit-content; margin-top: .5rem; }

.nav-mobile.open { display: flex; }

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 5rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  padding: .45rem .85rem .3rem;
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.3);
  color: var(--amber);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  white-space: nowrap;
}

.hero-eyebrow-dot {
  display: inline-block;
  vertical-align: middle;
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  margin-right: .45rem;
}

.hero-eyebrow-text {
  display: inline-block;
  vertical-align: middle;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  color: var(--amber);
  font-style: normal;
}

.hero-tagline {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  font-style: italic;
  margin-bottom: 2rem;
  padding-left: 1rem;
  border-left: 2px solid var(--amber);
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 500px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Desktop: show the side image, hide the inline one */
.hero-image-wrap--inline { display: none; }
.hero-image-wrap--side   { display: flex; }

.hero-image-wrap img {
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
  }
  /* Hide the side image, show the inline one (sits between h1 and tagline) */
  .hero-image-wrap--side   { display: none; }
  .hero-image-wrap--inline {
    display: flex;
    margin: 1.75rem auto 2rem;
    width: 100%;
  }
  .hero-image-wrap--inline img { max-width: 340px; }
  .hero-tagline { margin: 0 auto 2rem; max-width: 380px; }
  .hero-desc { margin: 0 auto 2.25rem; }
  .hero-ctas { justify-content: center; }
  .hero-eyebrow { margin-left: auto; margin-right: auto; }
}

/* ============================================
   SECTION SHARED STYLES
   ============================================ */
.section {
  padding: var(--section-pad);
}

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

.section--tint {
  background: var(--tint);
}

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}

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

.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

.section-subtitle--light { color: rgba(255,255,255,0.65); }

/* ============================================
   TWO-COLUMN CONTENT BLOCKS
   ============================================ */
.two-col {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.two-col--reverse .two-col-media { order: -1; }

@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col--reverse .two-col-media { order: 0; }
}

.two-col-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
}

/* Illustration placeholder */
.illus-box {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--tint) 0%, var(--tint-dark) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.illus-box--navy {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}

.illus-icon {
  font-size: 5rem;
  opacity: 0.15;
}

/* ============================================
   BULLET LIST (CHECK MARKS)
   ============================================ */
.check-list {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin: 1.5rem 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .975rem;
  color: var(--body-text);
  line-height: 1.55;
}

.check-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--amber);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpolyline points='2,6 5,9 10,3' fill='none' stroke='%230F1C3F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

.check-list--light li { color: rgba(255,255,255,0.8); }

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 2.5rem;
}

.comp-col {
  background: var(--white);
  padding: 2rem 1.5rem;
}

.comp-col--header {
  background: var(--tint);
  padding: 1.25rem 1.5rem;
}

.comp-col--highlight {
  background: var(--navy);
}

.comp-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--navy);
  padding: 1.25rem 1.5rem;
  text-align: center;
}

.comp-header-cell {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
}

.comp-header-cell:first-child {
  text-align: left;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  font-size: .875rem;
}

.comp-header-cell.highlight { color: var(--amber); }

.comp-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--tint-dark);
}

.comp-row:last-child { border-bottom: none; }

.comp-row:nth-child(even) { background: var(--tint); }

.comp-cell {
  padding: .9rem 1.5rem;
  font-size: .9rem;
  color: var(--body-text);
  display: flex;
  align-items: center;
}

.comp-cell:first-child {
  font-weight: 600;
  color: var(--navy);
}

.comp-cell.center { text-align: center; justify-content: center; }

.comp-yes { color: #1A9654; font-weight: 600; }
.comp-no  { color: #B0282A; font-weight: 600; }
.comp-highlight-cell { background: var(--navy); color: rgba(255,255,255,0.85); }
.comp-highlight-cell.comp-yes { color: var(--amber-light); }

/* ============================================
   WHAT A CTO SHOULD KNOW — CARD GRID (O1)
   ============================================ */
.expertise-section {
  background: var(--white);
}

.expertise-inner {
  max-width: 1060px;
  margin: 0 auto;
}

.expertise-head {
  text-align: center;
  margin-bottom: 3rem;
}

.expertise-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 540px;
  margin: .65rem auto 0;
  font-family: 'Epilogue', sans-serif;
  line-height: 1.7;
}

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

.expertise-card {
  border: 1px solid var(--tint-dark);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .2s, border-color .25s;
}

.expertise-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--amber);
}

.expertise-icon-wrap {
  width: 44px;
  height: 44px;
  background: var(--tint);
  border: 1px solid var(--tint-dark);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.expertise-icon-wrap svg {
  width: 20px;
  height: 20px;
  stroke: var(--amber-dark);
}

.expertise-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
  line-height: 1.3;
}

.expertise-body {
  font-family: 'Epilogue', sans-serif;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
}

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

/* ============================================
   PROCESS TIMELINE
   ============================================ */
.process-section {
  background: var(--navy);
  padding: var(--section-pad);
}

.process-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
}

.process-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(10% + 1px);
  right: calc(10% + 1px);
  height: 2px;
  background: linear-gradient(90deg, var(--amber) 0%, rgba(245,166,35,0.2) 100%);
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--navy-mid);
  border: 2px solid var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--amber);
}

.step-card h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.step-card p {
  font-size: .8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .process-steps::before { display: none; }
  .process-steps .step-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
  .process-steps .step-card:last-child { grid-column: auto; }
}

/* ============================================
   INSIGHTS / WHITEPAPERS GRID
   ============================================ */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.insight-card {
  background: var(--white);
  border: 1px solid var(--tint-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s, border-color .25s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.insight-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--amber);
  transform: translateY(-3px);
}

.insight-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
}

.insight-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.insight-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .75rem;
}

.insight-tag {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--amber-dark);
  background: rgba(245,166,35,0.1);
  padding: .3rem .65rem;
  border-radius: 100px;
}

.insight-read {
  font-size: .78rem;
  color: var(--muted);
}

.insight-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: .6rem;
  transition: color .2s;
}

.insight-card:hover h3 { color: var(--amber-dark); }

.insight-card p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

.insights-cta {
  text-align: center;
  margin-top: 2.5rem;
}

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

/* ============================================
   CONSULTATION CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F5A623' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  opacity: 1;
  pointer-events: none;
}

.cta-inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.cta-note {
  display: block;
  margin-top: 1rem;
  font-size: .82rem;
  color: rgba(255,255,255,0.45);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  padding: 5rem 1.5rem;
  background: var(--tint);
}

.contact-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-info h2 { margin-bottom: .75rem; }

.contact-info p {
  color: var(--muted);
  font-size: .975rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
  font-size: .95rem;
}

.contact-icon svg { width: 18px; height: 18px; color: var(--navy); stroke: var(--navy); display: block; }
.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--amber);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail a {
  color: var(--navy);
  font-weight: 500;
  transition: color .2s;
}
.contact-detail a:hover { color: var(--amber-dark); }

.contact-form-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-form-box h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.form-group { margin-bottom: 1.1rem; }

.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .4rem;
  letter-spacing: .02em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--tint-dark);
  border-radius: var(--radius-sm);
  font-family: 'Epilogue', sans-serif;
  font-size: .9rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color .2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--amber);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

@media (max-width: 800px) {
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--navy);
  padding: 3rem 1.5rem 1.5rem;
  color: rgba(255,255,255,0.65);
  font-size: .875rem;
}

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

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: .875rem;
  transition: color .2s;
}
.footer-links a:hover { color: var(--amber); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
  color: rgba(255,255,255,0.35);
}

.footer-geo {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  color: rgba(255,255,255,0.35);
}

/* ============================================
   UTILITY
   ============================================ */
.text-center { text-align: center; }
.text-amber  { color: var(--amber); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }

/* Blog post pages */
.blog-post-wrap {
  max-width: 780px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.blog-post-wrap h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 1.5rem;
}

.blog-post-wrap p {
  margin-bottom: 1.1rem;
  line-height: 1.75;
  color: var(--body-text);
}

.blog-post-wrap h2 {
  font-size: 1.4rem;
  margin: 2rem 0 .75rem;
}

.blog-post-wrap ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.1rem;
}

.blog-post-wrap ul li { margin-bottom: .4rem; }

.post-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--tint-dark);
  font-size: .85rem;
  color: var(--muted);
}

.post-tag {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  background: rgba(245,166,35,0.12);
  color: var(--amber-dark);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .65rem;
  border-radius: 100px;
}

/* ============================================
   WHAT A CTO ACTUALLY DOES — Terminal Section
   ============================================ */
.cto-does-section {
  background: var(--navy);
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.cto-does-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(90,186,106,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90,186,106,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.cto-does-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}

@media (max-width: 800px) {
  .cto-does-inner { grid-template-columns: 1fr; gap: 3rem; }
}

/* Terminal window */
.cto-terminal {
  background: #080f09;
  border: 1px solid rgba(90,186,106,.22);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 70px rgba(90,186,106,.1), 0 0 0 1px rgba(90,186,106,.06);
  font-family: 'Courier New', Courier, monospace;
}

.cto-term-bar {
  background: #0d1810;
  padding: .65rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  border-bottom: 1px solid rgba(90,186,106,.12);
}

.cto-dot { width: 10px; height: 10px; border-radius: 50%; }
.cto-dot-r { background: #e05252; }
.cto-dot-y { background: #e0b352; }
.cto-dot-g { background: #5aba6a; }

.cto-term-title {
  color: rgba(255,255,255,.3);
  font-size: .72rem;
  margin-left: .5rem;
  letter-spacing: .05em;
}

.cto-term-body {
  padding: 1.5rem 1.25rem;
  min-height: 320px;
  background: #080f09;
}

.cto-prompt {
  color: rgba(90,186,106,.55);
  font-size: .8rem;
  margin-bottom: .5rem;
  display: flex;
  gap: .5rem;
}

.cto-prompt span { color: #7dd98a; }

.cto-lines {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.cto-line {
  font-size: .8rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .35s, transform .35s;
  white-space: nowrap;
  overflow: hidden;
}

.cto-line.visible { opacity: 1; transform: translateY(0); }

.tc-cmd  { color: #6ed47a; }
.tc-val  { color: #c8eacc; }
.tc-cmt  { color: rgba(255,255,255,.32); font-style: italic; }
.tc-ok   { color: #6ed47a; }
.tc-warn { color: #e8c46a; }

.cto-cursor {
  display: inline-block;
  width: 7px; height: 14px;
  background: #5aba6a;
  animation: ctoBlink .8s step-end infinite;
  vertical-align: middle;
  margin-left: 2px;
  border-radius: 1px;
}

@keyframes ctoBlink { 0%,100%{opacity:1} 50%{opacity:0} }

/* Right side */
.cto-does-right {}

.cto-does-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 1.75rem;
}

.cto-does-chip {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  gap: .4rem;
  background: rgba(90,186,106,.08);
  border: 1px solid rgba(90,186,106,.2);
  border-radius: 20px;
  padding: .3rem .8rem;
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  font-family: 'Epilogue', sans-serif;
  letter-spacing: .04em;
}

.cto-chip-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: ctoPulse 2s ease-in-out infinite;
}

@keyframes ctoPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.7)} }

.cto-does-items {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-bottom: 2rem;
}

.cto-does-item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
}

.cto-does-dot {
  flex-shrink: 0;
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
  margin-top: .58rem;
}

.cto-does-text {
  font-family: 'Epilogue', sans-serif;
  font-size: .95rem;
  color: rgba(255,255,255,.75);
  line-height: 1.6;
}

.cto-does-text strong { color: #fff; font-weight: 600; }

/* ============================================
   FRACTIONAL vs FULL-TIME — Comparison Table
   ============================================ */
.cmp-section-home {
  background: var(--tint);
  padding: 5rem 1.5rem;
}

.cmp-wrap-home {
  max-width: 780px;
  margin: 0 auto;
}

.cmp-head-home {
  text-align: center;
  margin-bottom: 2.75rem;
}

.cmp-subtitle-home {
  font-size: 1rem;
  color: var(--muted);
  max-width: 540px;
  margin: .75rem auto 0;
  font-family: 'Epilogue', sans-serif;
  line-height: 1.7;
}

.cmp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  font-family: 'Epilogue', sans-serif;
}

/* Header */
.cmp-th {
  padding: 1.1rem 1.5rem;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  text-align: center;
}

.cmp-th--blank {
  background: var(--navy);
  width: 34%;
  text-align: left;
  color: rgba(255,255,255,.3);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-family: 'Epilogue', sans-serif;
  font-weight: 600;
}

.cmp-th--frac {
  background: var(--amber-dark);
  color: #fff;
  position: relative;
}

.cmp-th--frac::after {
  content: '✦ Recommended';
  display: block;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .8;
  margin-top: .2rem;
  font-family: 'Epilogue', sans-serif;
}

.cmp-th--full {
  background: #243d27;
  color: rgba(255,255,255,.55);
}

/* Body cells */
.cmp-td {
  padding: 1rem 1.5rem;
  font-size: .95rem;
  border-bottom: 1px solid var(--tint-dark);
  vertical-align: middle;
}

tr:last-child .cmp-td { border-bottom: none; }
tr:nth-child(odd)  .cmp-td { background: var(--white); }
tr:nth-child(even) .cmp-td { background: #fafdfb; }

.cmp-td--label {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  color: var(--navy);
  font-size: .9rem;
  text-align: left;
}

.cmp-td--frac {
  text-align: center;
  color: var(--amber-dark);
  font-weight: 700;
  background: rgba(90,186,106,.06) !important;
  border-left: 2px solid rgba(90,186,106,.2);
  border-right: 2px solid rgba(90,186,106,.2);
}

.cmp-td--full {
  text-align: center;
  color: var(--muted);
}

.cmp-footer-home {
  text-align: center;
  margin-top: 1.75rem;
}

.cmp-footer-home a {
  color: var(--amber-dark);
  font-weight: 600;
  font-size: .9rem;
  border-bottom: 1px solid var(--amber-dark);
  padding-bottom: 2px;
  font-family: 'Epilogue', sans-serif;
  transition: opacity .2s;
}

.cmp-footer-home a:hover { opacity: .7; }

/* ============================================
   WHO IS A FRACTIONAL CTO — Split Panel
   ============================================ */
.fcto-section {
  background: var(--white);
  padding: 5rem 1.5rem;
}

.fcto-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 5rem;
  align-items: start;
}

@media (max-width: 800px) {
  .fcto-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.fcto-def {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-family: 'Epilogue', sans-serif;
  border-left: 3px solid var(--amber);
  padding-left: 1.25rem;
}

.fcto-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--amber-dark);
  border-bottom: 1.5px solid var(--amber-dark);
  padding-bottom: 2px;
  transition: opacity .2s;
}

.fcto-cta:hover { opacity: .7; }

.fcto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--tint-dark);
  border: 1px solid var(--tint-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.fcto-tile {
  background: var(--white);
  padding: 1.6rem 1.5rem;
  transition: background .2s;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.fcto-tile:hover { background: var(--tint); }

.fcto-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--tint);
  border: 1px solid var(--tint-dark);
  border-radius: 10px;
  flex-shrink: 0;
}

.fcto-icon-wrap svg {
  display: block;
  width: 20px;
  height: 20px;
  stroke: var(--amber-dark);
}

.fcto-tile-label {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}

/* ============================================
   DOES THIS SOUND LIKE YOU — Pain Points
   ============================================ */
.pain-section {
  background: var(--tint);
  padding: 5rem 1.5rem;
}

.pain-inner {
  max-width: 780px;
  margin: 0 auto;
}

.pain-top {
  margin-bottom: 2.5rem;
}

.pain-eyebrow {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 1.25rem;
  font-family: 'Epilogue', sans-serif;
  background: var(--tint-dark);
  padding: .3rem .9rem;
  border-radius: 20px;
}

.pain-heading {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: .85rem;
}

.pain-sub {
  font-size: 1.05rem;
  color: var(--muted);
  font-family: 'Epilogue', sans-serif;
  max-width: 520px;
}

.pain-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--tint-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.35rem 1.75rem;
  background: var(--white);
  border-bottom: 1px solid var(--tint-dark);
  transition: background .2s;
}

.pain-item:last-child {
  border-bottom: none;
}

.pain-item:hover {
  background: #f5fcf6;
}

.pain-bullet {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: #fff0f0;
  border: 1.5px solid #f5c6c6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: .15rem;
}

.pain-bullet svg {
  width: 13px;
  height: 13px;
}

.pain-item-text {
  font-size: 1rem;
  color: var(--body-text);
  line-height: 1.65;
  font-family: 'Epilogue', sans-serif;
}

.pain-close {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.75rem;
  box-shadow: var(--shadow-md);
}

.pain-close-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(90,186,106,.15);
  border: 1.5px solid rgba(90,186,106,.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.pain-close-text {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.pain-close-text span {
  color: var(--amber);
}

/* ── SITE FOOTER (shared) ───────────────────────────────── */
.site-footer {
  background: #0d1810;
  padding: 4rem 1.5rem 2rem;
  font-family: 'Epilogue', sans-serif;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin-bottom: 1.75rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  margin-bottom: .9rem;
}
.footer-logo img { width: 32px; height: 32px; }
.footer-logo-text {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.01em;
  text-transform: lowercase;
}
.footer-logo-text span { font-weight: 500; color: rgba(255,255,255,.4); margin-left: .25rem; }
.footer-tagline {
  font-size: .9rem;
  color: rgba(255,255,255,.4);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 260px;
}
.footer-email a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px;
  padding: .4rem 1rem;
  transition: border-color .2s, color .2s;
}
.footer-email a:hover { border-color: var(--amber); color: var(--amber); }
.footer-email svg { width: 14px; height: 14px; stroke: currentColor; }
.footer-col-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.25);
  margin-bottom: 1.1rem;
}
.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.footer-col-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color .2s;
}
.footer-col-links a:hover { color: var(--amber); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  color: rgba(255,255,255,.25);
}
.footer-geo-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(90,186,106,.07);
  border: 1px solid rgba(90,186,106,.15);
  border-radius: 100px;
  padding: .3rem .85rem;
  font-size: .72rem;
  color: rgba(90,186,106,.7);
}
.footer-geo-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}
@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2.25rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .5rem; }
}
