:root {
  --idc-orange: #E48312;
  --idc-orange-hover: #c97010;
  --idc-black: #000000;
  --idc-navy: #002060;
  --idc-dark-grey: #404040;
  --idc-charcoal: var(--idc-dark);   /* deprecated alias — use --idc-dark */

  /* ---- Recipe locked 2026-08-30 via design-lab: deep grey panels, brand orange, Barlow heads + Inter body ---- */
  --idc-font-head: 'Barlow', 'Poppins', 'Montserrat', Arial, sans-serif;
  --idc-font-body: 'Inter', 'Barlow', 'Poppins', Arial, sans-serif;
  --idc-dark: #1E1E1E;               /* dark panels: header, heroes, closing CTA, dark headings */
  --idc-dark-rgb: 30, 30, 30;        /* same value, for rgba() overlays */
  --idc-footer: #141414;             /* one step darker than the panel */
  --idc-overlay-scale: 1;            /* hero overlay strength multiplier (lab: 100%) */
  --idc-warm-grey: #F2F0ED;
  --idc-light-blue-grey: #CCDDEA;
  --idc-white: #FFFFFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--idc-font-body);
  color: var(--idc-dark-grey);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ========== HEADER / NAV ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--idc-charcoal);
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s ease;
}

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

.logo img {
  height: 44px;
  width: auto;
}

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

.nav-links a {
  font-family: var(--idc-font-head);
  font-weight: 500;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.2s ease;
}

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

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

.nav-cta {
  font-family: var(--idc-font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--idc-white) !important;
  background: var(--idc-orange);
  padding: 10px 24px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.1s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--idc-orange-hover);
  transform: translateY(-1px);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--idc-charcoal);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(var(--idc-dark-rgb), 0.65) 0%,
    rgba(var(--idc-dark-rgb), 0.40) 40%,
    rgba(var(--idc-dark-rgb), 0.60) 100%
  ),
  url('assets/hero-home.jpg') center center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 120px 24px 80px;
}

.hero h1 {
  font-family: var(--idc-font-head);
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 52px);
  color: var(--idc-white);
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero p {
  font-family: var(--idc-font-body);
  font-weight: 400;
  font-size: clamp(16px, 1.8vw, 18px);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 36px;
}

.btn-primary {
  display: inline-block;
  font-family: var(--idc-font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--idc-white);
  background: var(--idc-orange);
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
  letter-spacing: 0.3px;
}

.btn-primary:hover {
  background: var(--idc-orange-hover);
  transform: translateY(-2px);
}

/* ========== CREDIBILITY BAR ========== */
.credibility-bar {
  background: var(--idc-charcoal);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 28px 48px;
}

.credibility-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 14px 40px;
  flex-wrap: wrap;
}

.credibility-item {
  font-family: var(--idc-font-body);
  font-weight: 400;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.5px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.credibility-item strong {
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.cred-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--idc-orange);
  flex-shrink: 0;
}

/* ========== INTRO ========== */
.intro {
  padding: 96px 48px;
  background: var(--idc-white);
}

.intro-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.intro p {
  font-family: var(--idc-font-body);
  font-weight: 400;
  font-size: 17px;
  color: var(--idc-dark-grey);
  line-height: 1.8;
  margin-bottom: 24px;
}

.intro .tagline {
  font-family: var(--idc-font-body);
  font-weight: 600;
  font-size: 17px;
  color: var(--idc-charcoal);
  letter-spacing: 0.2px;
}

/* ========== SERVICE TILES ========== */
.services {
  padding: 96px 48px;
  background: var(--idc-warm-grey);
}

.services-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-tile {
  background: var(--idc-white);
  border-radius: 6px;
  padding: 40px 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(0,0,0,0.04);
}

.service-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.service-tile h2 {
  font-family: var(--idc-font-head);
  font-weight: 600;
  font-size: 22px;
  color: var(--idc-charcoal);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.service-tile p {
  font-family: var(--idc-font-body);
  font-weight: 400;
  font-size: 15px;
  color: var(--idc-dark-grey);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--idc-font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--idc-orange);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.service-link:hover {
  gap: 12px;
}

.service-link::after {
  content: '→';
  transition: transform 0.2s ease;
}

/* ========== WHY IDC ========== */
.why-idc {
  padding: 96px 48px;
  background: var(--idc-white);
}

.why-idc-header {
  text-align: center;
  margin-bottom: 64px;
}

.why-idc-header h2 {
  font-family: var(--idc-font-head);
  font-weight: 700;
  font-size: 32px;
  color: var(--idc-charcoal);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-label {
  font-family: var(--idc-font-head);
  font-weight: 600;
  font-size: 12px;
  color: var(--idc-orange);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.why-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.why-col {
  position: relative;
}

.why-col::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--idc-orange);
  margin-bottom: 24px;
  border-radius: 2px;
}

.why-col h3 {
  font-family: var(--idc-font-head);
  font-weight: 600;
  font-size: 20px;
  color: var(--idc-charcoal);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.why-col .subtitle {
  font-family: var(--idc-font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--idc-dark-grey);
  margin-bottom: 16px;
  font-style: italic;
}

.why-col p {
  font-family: var(--idc-font-body);
  font-weight: 400;
  font-size: 15px;
  color: var(--idc-dark-grey);
  line-height: 1.7;
}

/* ========== CLOSING CTA ========== */
.closing-cta {
  padding: 96px 48px;
  background: var(--idc-charcoal);
  text-align: center;
}

.closing-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

.closing-cta h2 {
  font-family: var(--idc-font-head);
  font-weight: 700;
  font-size: clamp(26px, 3.5vw, 36px);
  color: var(--idc-white);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  line-height: 1.3;
}

.closing-cta p {
  font-family: var(--idc-font-body);
  font-weight: 400;
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 12px;
}

.closing-cta .conversation {
  font-family: var(--idc-font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--idc-white);
  margin-bottom: 32px;
}

.closing-cta .btn-primary {
  margin-bottom: 20px;
}

.closing-cta .secondary-contact {
  font-family: var(--idc-font-body);
  font-weight: 400;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

.closing-cta .secondary-contact a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--idc-footer);
  padding: 64px 48px 32px;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-brand .footer-logo img {
  display: block;
}

.footer-brand .footer-address {
  font-family: var(--idc-font-body);
  font-weight: 400;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

.footer-brand .footer-address a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-brand .footer-address a:hover {
  color: var(--idc-white);
}

.footer-col h4 {
  font-family: var(--idc-font-head);
  font-weight: 600;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-family: var(--idc-font-body);
  font-weight: 400;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-family: var(--idc-font-body);
  font-weight: 400;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer-linkedin {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--idc-font-body);
  font-weight: 500;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-linkedin:hover {
  color: rgba(255,255,255,0.7);
}

/* ========== PAGE HERO (service pages) ========== */
.page-hero {
  position: relative;
  padding: 160px 48px 96px;
  background: var(--idc-charcoal);
  overflow: hidden;
  margin-top: 72px;
}

.page-hero .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero .bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--idc-dark-rgb), 0.75) 0%, rgba(var(--idc-dark-rgb), 0.55) 50%, rgba(var(--idc-dark-rgb), 0.70) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.page-hero h1 {
  font-family: var(--idc-font-head);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  color: var(--idc-white);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.page-hero .subtitle {
  font-family: var(--idc-font-body);
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 18px);
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 600px;
}

/* ========== CONTENT SECTIONS ========== */
.content-section {
  padding: 80px 48px;
  background: var(--idc-white);
}

.content-section.alt {
  background: var(--idc-warm-grey);
}

.content-section.dark {
  background: var(--idc-charcoal);
}

.content-inner {
  max-width: 720px;
  margin: 0 auto;
}

.content-inner.wide {
  max-width: 1100px;
}

.content-section h2 {
  font-family: var(--idc-font-head);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--idc-charcoal);
  margin-bottom: 20px;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.content-section.dark h2 {
  color: var(--idc-white);
}

.content-section p {
  font-family: var(--idc-font-body);
  font-weight: 400;
  font-size: 16px;
  color: var(--idc-dark-grey);
  line-height: 1.8;
  margin-bottom: 16px;
}

.content-section.dark p {
  color: rgba(255,255,255,0.8);
}

.content-section p:last-child {
  margin-bottom: 0;
}

.content-section p strong {
  font-weight: 600;
  color: var(--idc-charcoal);
}

.content-section.dark p strong {
  color: var(--idc-white);
}

/* ========== PATHWAY CARDS ========== */
.pathway-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pathway-card {
  background: var(--idc-white);
  border-radius: 6px;
  padding: 36px 32px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pathway-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.pathway-card .pathway-num {
  font-family: var(--idc-font-head);
  font-weight: 700;
  font-size: 13px;
  color: var(--idc-orange);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pathway-card h3 {
  font-family: var(--idc-font-head);
  font-weight: 600;
  font-size: 20px;
  color: var(--idc-charcoal);
  margin-bottom: 12px;
  line-height: 1.3;
}

.pathway-card p {
  font-family: var(--idc-font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--idc-dark-grey);
  line-height: 1.7;
  margin-bottom: 12px;
}

.pathway-card .best-for {
  font-family: var(--idc-font-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--idc-dark-grey);
  font-style: italic;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 12px;
  margin-top: 16px;
}

/* ========== SERVICE CARDS (Design & Verification page) ========== */
.service-card-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.service-card {
  background: var(--idc-white);
  border-radius: 6px;
  padding: 40px 36px;
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.service-card::before {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: var(--idc-orange);
  border-radius: 2px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--idc-font-head);
  font-weight: 600;
  font-size: 20px;
  color: var(--idc-charcoal);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card p {
  font-family: var(--idc-font-body);
  font-weight: 400;
  font-size: 15px;
  color: var(--idc-dark-grey);
  line-height: 1.7;
  margin-bottom: 12px;
}

.service-card .for-line {
  font-family: var(--idc-font-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--idc-dark-grey);
  font-style: italic;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 12px;
  margin-top: 16px;
}

.service-card:nth-child(5) {
  grid-column: 1 / -1;
  max-width: 50%;
  margin: 0 auto;
}

/* ========== PROCESS STEPS ========== */
.process-steps {
  max-width: 720px;
  margin: 0 auto;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding-left: 56px;
  padding-bottom: 36px;
  border-left: 2px solid rgba(0,0,0,0.06);
  margin-left: 16px;
}

.process-step:last-child {
  border-left: 2px solid transparent;
  padding-bottom: 0;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -17px;
  top: 0;
  width: 32px;
  height: 32px;
  background: var(--idc-orange);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--idc-font-head);
  font-weight: 600;
  font-size: 14px;
}

.process-step h3 {
  font-family: var(--idc-font-head);
  font-weight: 600;
  font-size: 17px;
  color: var(--idc-charcoal);
  margin-bottom: 8px;
}

.process-step p {
  font-family: var(--idc-font-body);
  font-weight: 400;
  font-size: 15px;
  color: var(--idc-dark-grey);
  line-height: 1.7;
}

/* ========== RESPONSIVE — service pages ========== */
@media (max-width: 768px) {
  .site-header {
    padding: 0 24px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero-content {
    padding: 100px 20px 60px;
  }

  .page-hero {
    padding: 120px 24px 64px;
  }

  .credibility-inner {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

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

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

  .service-card-grid {
    grid-template-columns: 1fr;
  }

  .service-card:nth-child(5) {
    max-width: 100%;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .content-section {
    padding: 64px 24px;
  }

  .intro, .services, .why-idc, .closing-cta, .site-footer {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* ========== DESIGN NOTE BANNER ========== */
.design-note {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--idc-orange);
  color: white;
  text-align: center;
  padding: 12px 24px;
  font-family: var(--idc-font-body);
  font-weight: 500;
  font-size: 13px;
  z-index: 200;
  cursor: pointer;
}

.design-note:hover {
  background: var(--idc-orange-hover);
}

.design-note.hidden {
  display: none;
}


/* ===== Nav dropdown (Services) — added 2026-08-30, S4 ===== */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 10px; opacity: 0.7; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: var(--idc-dark); min-width: 240px; padding: 8px 0;
  border-radius: 0 0 4px 4px; border-top: 2px solid var(--idc-orange);
  list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transition: opacity 0.15s ease;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { opacity: 1; visibility: visible; }
.nav-dropdown-menu li { display: block; }
.nav-dropdown-menu a {
  display: block; padding: 10px 20px; font-family: var(--idc-font-head);
  font-weight: 500; font-size: 14px; color: rgba(255,255,255,0.85); text-decoration: none;
}
.nav-dropdown-menu a:hover { color: #fff; background: rgba(255,255,255,0.06); }
@media (max-width: 768px) {
  .nav-dropdown-menu { position: static; transform: none; opacity: 1; visibility: visible; min-width: 0; border-top: none; padding: 0 0 0 16px; }
}

/* ===== Inline text link — added 2026-08-30, S3 ===== */
.inline-link { color: var(--idc-orange); font-weight: 600; text-decoration: none; }
.inline-link:hover { color: var(--idc-orange-hover); text-decoration: underline; }


/* ===== Launch fixes — 2026-09-06 (mobile nav, credibility bar) ===== */
.nav-toggle-input { display: none; }
.nav-toggle { display: none; }

@media (max-width: 768px) {
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 40px; height: 40px; padding: 8px; cursor: pointer; margin-left: auto;
  }
  .nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 1px; transition: transform .2s, opacity .2s; }
  .nav-toggle-input:checked ~ .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle-input:checked ~ .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-toggle-input:checked ~ .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .site-header nav { position: absolute; top: 72px; left: 0; right: 0; }
  .nav-links {
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--idc-charcoal); border-top: 1px solid rgba(255,255,255,0.08);
    padding: 8px 0 16px; box-shadow: 0 12px 24px rgba(0,0,0,0.35);
  }
  .nav-toggle-input:checked ~ nav .nav-links { display: flex; }
  .nav-links a:not(.nav-cta) { display: block; padding: 14px 24px; font-size: 16px; }
  .nav-dropdown-menu { padding: 0 0 0 24px; }
  .nav-dropdown-menu a { font-size: 15px; padding: 10px 24px; color: rgba(255,255,255,0.7); }
  .nav-links .nav-cta { display: block; margin: 12px 24px 0; text-align: center; padding: 14px 24px; font-size: 16px; }

  /* credibility items were nowrap -> forced 509px page width on a 390px phone */
  .credibility-item { white-space: normal; text-align: center; justify-content: center; }
  html, body { overflow-x: hidden; }
}
