/* ==========================================================================
   Intelliture Brand System — v1.0
   Locked: 29 April 2026
   Direction: Confident Modernist with Crafted Restraint detail
   Type: Fraunces (display) × DM Sans (body)
   Palette: Cream (#f7f5f0), Ink (#0a0a0a), Ink-teal (#0a3340)
   ========================================================================== */

:root {
  /* Palette */
  --cream: #f7f5f0;
  --paper: #fefcf7;
  --ink: #0a0a0a;
  --char: #1a1a1a;
  --grey-700: #4a4a47;
  --grey-500: #807d75;
  --grey-300: #b8b5ad;
  --grey-200: #d8d5cc;
  --grey-100: #e8e5dd;
  --teal: #0a3340;
  --teal-light: #1a4d5c;
  --teal-bg: #e8edee;
  --teal-accent: #6db8c4;

  /* Typography */
  --display: 'Fraunces', Georgia, serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'DM Mono', 'SF Mono', Menlo, monospace;

  /* Layout */
  --container-padding: 32px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  font-family: var(--sans);
  color: var(--char);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01" on, "cv11" on;
  font-size: 16px;
  line-height: 1.5;
}

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

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--grey-100);
}

.nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
}
.brand-lockup svg {
  width: 24px;
  height: 24px;
  color: var(--ink);
  flex-shrink: 0;
}
.brand-lockup .name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.014em;
  font-feature-settings: "ss01" on;
  line-height: 1;
}
.footer-brand-block .brand-lockup svg {
  width: 28px;
  height: 28px;
}
.footer-brand-block .brand-lockup .name {
  font-size: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--grey-700);
  letter-spacing: -0.005em;
  transition: color 200ms ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }

.nav-cta {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  background: var(--ink);
  color: var(--cream);
  padding: 9px 18px;
  border-radius: 999px;
  letter-spacing: 0.005em;
  transition: all 200ms ease;
}
.nav-cta:hover { background: var(--teal); }

/* ==========================================================================
   Layout primitives
   ========================================================================== */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.container-narrow {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: 100px 0; position: relative; }
.section.dark { background: var(--ink); color: var(--cream); }
.section.paper { background: var(--paper); }
.section.tight { padding: 80px 0; }

/* ==========================================================================
   Type system
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: -0.025em;
  font-feature-settings: "ss01" on;
  line-height: 1.1;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-500);
}
.section.dark .eyebrow { color: var(--grey-300); }
.eyebrow-teal { color: var(--teal); color: var(--teal-accent);}

.h-display {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(56px, 7vw, 96px);
  letter-spacing: -0.035em;
  line-height: 0.98;
  font-feature-settings: "ss01" on;
}
.h-display em { font-style: italic; font-weight: 300; color: var(--teal); }
.section.dark .h-display em { color: var(--teal-accent); }

.h1 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(40px, 4.5vw, 64px);
  letter-spacing: -0.028em;
  line-height: 1.04;
  font-feature-settings: "ss01" on;
}

.h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-feature-settings: "ss01" on;
}

.h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.2;
  font-feature-settings: "ss01" on;
}

.lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--grey-700);
  max-width: 60ch;
  letter-spacing: -0.005em;
}
.section.dark .lead { color: var(--grey-300); }

.body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--grey-700);
}
.section.dark .body { color: var(--grey-300); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: 999px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: all 200ms ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary {
  background: var(--teal);
  color: var(--cream);
  border-color: var(--teal);
}
.btn-primary:hover { background: var(--ink); border-color: var(--ink); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--cream); }

.btn-light {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}
.btn-light:hover { background: transparent; color: var(--cream); }

.btn-ghost-dark {
  background: transparent;
  color: var(--cream);
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost-dark:hover { border-color: var(--cream); }

.btn .arrow {
  font-family: var(--display);
  font-weight: 300;
  font-size: 16px;
  transform: translateY(-1px);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: var(--grey-300);
  padding: 96px 0 36px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 80px;
}
.footer-brand-block .brand-lockup {
  margin-bottom: 24px;
}
.footer-brand-block .brand-lockup svg { color: var(--cream); }
.footer-brand-block .brand-lockup .name { color: var(--cream); }
.footer-tagline {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.4;
  color: var(--grey-300);
  letter-spacing: -0.012em;
  max-width: 28ch;
  margin-bottom: 24px;
}
.footer-tagline em {
  color: var(--teal-accent);
  font-style: italic;
}
.footer-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--grey-500);
  line-height: 1.7;
}
.footer-col-title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 18px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 13px;
  color: var(--grey-300);
  transition: color 200ms ease;
}
.footer-links a:hover { color: var(--cream); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--grey-500);
  text-transform: uppercase;
}
.footer-trust {
  display: flex;
  gap: 32px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* ==========================================================================
   Shared page patterns (offer detail, case study, content pages)
   ========================================================================== */

/* Page hero — used across offer detail, case studies, content pages */
.page-hero {
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--grey-100);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: end;
}
.page-hero-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--grey-500);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.page-hero-h1 {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(48px, 6vw, 84px);
  letter-spacing: -0.035em;
  line-height: 0.98;
  font-feature-settings: "ss01" on;
  margin-bottom: 24px;
}
.page-hero-h1 em { font-style: italic; font-weight: 300; color: var(--teal); }
.page-hero-subline {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.page-hero-lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--grey-700);
  max-width: 60ch;
  letter-spacing: -0.005em;
}
.page-hero-aside {
  border-left: 1px solid var(--grey-200);
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 8px;
}
.page-hero-aside .row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--grey-100);
}
.page-hero-aside .row:last-child { border-bottom: none; padding-bottom: 0; }
.page-hero-aside .label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--grey-500);
  text-transform: uppercase;
}
.page-hero-aside .value {
  font-family: var(--display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.012em;
  color: var(--ink);
  font-feature-settings: "ss01" on;
}

/* Long-form prose */
.prose { max-width: 68ch; }
.prose p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--grey-700);
  margin-bottom: 22px;
  letter-spacing: -0.005em;
}
.prose p strong { color: var(--ink); font-weight: 500; }
.prose p em { font-style: italic; color: var(--ink); }
.prose h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.022em;
  line-height: 1.1;
  color: var(--ink);
  margin: 56px 0 20px;
  font-feature-settings: "ss01" on;
}
.prose h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 36px 0 12px;
}
.prose ul { list-style: none; margin: 0 0 24px; padding: 0; }
.prose ul li {
  font-size: 17px;
  line-height: 1.6;
  color: var(--grey-700);
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid var(--grey-100);
}
.prose ul li:last-child { border-bottom: none; }
.prose ul li::before {
  content: "→";
  font-family: var(--display);
  font-weight: 300;
  position: absolute;
  left: 0; top: 10px;
  color: var(--teal);
}
.prose blockquote {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.018em;
  color: var(--ink);
  border-left: 2px solid var(--teal);
  padding-left: 26px;
  margin: 36px 0;
  font-feature-settings: "ss01" on;
}

/* Section header (eyebrow + h2 + lead) */
.section-header { margin-bottom: 56px; max-width: 760px; }
.section-header .eyebrow { display: block; margin-bottom: 16px; }
.section-header h2 {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1;
  font-feature-settings: "ss01" on;
  margin-bottom: 20px;
}
.section-header h2 em { font-style: italic; font-weight: 300; color: var(--teal); }
.section-header .lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--grey-700);
  max-width: 60ch;
}

/* Spec block — used in offer pages for SOW / outcomes / commercial terms */
.spec-block { border-top: 1px solid var(--grey-200); padding: 36px 0; }
.spec-block:last-child { border-bottom: 1px solid var(--grey-200); }
.spec-block-grid { display: grid; grid-template-columns: 280px 1fr; gap: 56px; }
.spec-block-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-500);
  padding-top: 4px;
}
.spec-block-content { font-size: 16px; line-height: 1.65; color: var(--grey-700); }
.spec-block-content strong { color: var(--ink); font-weight: 500; }
.spec-block-content p { margin-bottom: 14px; }
.spec-block-content p:last-child { margin-bottom: 0; }
.spec-list { list-style: none; padding: 0; margin: 0; }
.spec-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--grey-100);
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--grey-700);
}
.spec-list li:last-child { border-bottom: none; }
.spec-list li .week {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  padding-top: 2px;
}
.spec-list li strong { color: var(--ink); font-weight: 500; }

/* Outcomes — three measured outcomes */
.outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--grey-200);
  border-left: 1px solid var(--grey-200);
}
.outcomes .outcome {
  border-right: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--paper);
}
.outcomes .outcome-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}
.outcomes .outcome-text {
  font-family: var(--display);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: -0.012em;
  line-height: 1.3;
  color: var(--ink);
  font-feature-settings: "ss01" on;
}

/* Adjacent / cross-sell card row */
.adjacent-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--grey-200);
  border-left: 1px solid var(--grey-200);
}
.adjacent-row-3 {
  grid-template-columns: repeat(3, 1fr);
}
.adjacent-card {
  border-right: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--paper);
  transition: background 200ms ease;
  text-decoration: none;
  color: var(--ink);
}
.adjacent-card:hover { background: var(--cream); }
.adjacent-card:hover .adjacent-arrow { transform: translateX(4px); color: var(--teal); }
.adjacent-card .id {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}
.adjacent-card .title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-feature-settings: "ss01" on;
}
.adjacent-card .desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--grey-700);
  flex: 1;
}
.adjacent-arrow {
  font-family: var(--display);
  font-weight: 300;
  font-size: 24px;
  color: var(--grey-300);
  align-self: flex-end;
  transition: all 200ms ease;
}

/* Closing CTA — dark band at end of pages */
.closing-cta { background: var(--ink); color: var(--cream); padding: 96px 0; }
.closing-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.closing-cta h2 {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(40px, 5vw, 60px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--cream);
  font-feature-settings: "ss01" on;
}
.closing-cta h2 em { font-style: italic; font-weight: 300; color: var(--teal-accent); }
.closing-cta .lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--grey-300);
  margin-top: 20px;
}
.closing-cta .btn-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

/* Metrics row (case studies) */
.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--grey-200);
  border-left: 1px solid var(--grey-200);
  margin: 32px 0;
}
.metric-row .metric {
  border-right: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
  padding: 28px 24px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.metric .num {
  font-family: var(--display);
  font-weight: 200;
  font-size: 44px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  font-feature-settings: "ss01" on;
}
.metric .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-500);
}

/* Two-column content (About, How-we-work, Partners) */
.two-col { display: grid; grid-template-columns: 380px 1fr; gap: 96px; align-items: start; }
.two-col-aside { position: sticky; top: 120px; }
.two-col-aside h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(32px, 3.5vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  font-feature-settings: "ss01" on;
}
.two-col-aside h2 em { font-style: italic; color: var(--teal); }

/* Principle grid (3, 5, or 2 columns) */
.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--grey-200);
  border-left: 1px solid var(--grey-200);
}
.principle-grid.five { grid-template-columns: repeat(5, 1fr); }
.principle-grid.two { grid-template-columns: repeat(2, 1fr); }
.principle-card {
  border-right: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--paper);
}
.principle-card .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}
.principle-card .title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
  font-feature-settings: "ss01" on;
}
.principle-card .desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--grey-700);
}

/* Article body (Insights) */
.article-body { max-width: 68ch; margin: 0 auto; }
.article-body p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--grey-700);
  margin-bottom: 26px;
  letter-spacing: -0.005em;
}
.article-body p strong { color: var(--ink); font-weight: 500; }
.article-body p em { font-style: italic; color: var(--ink); }
.article-body h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: 32px;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
  margin: 48px 0 18px;
  font-feature-settings: "ss01" on;
}
.article-body blockquote {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: 26px;
  line-height: 1.35;
  letter-spacing: -0.018em;
  color: var(--ink);
  border-left: 2px solid var(--teal);
  padding-left: 28px;
  margin: 40px 0;
  font-feature-settings: "ss01" on;
}

/* Inline link style for body copy */
.link-inline {
  color: var(--teal);
  border-bottom: 1px solid var(--teal);
  padding-bottom: 1px;
  transition: all 200ms ease;
}
.link-inline:hover { color: var(--ink); border-color: var(--ink); }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-hero-aside { border-left: none; border-top: 1px solid var(--grey-200); padding-left: 0; padding-top: 24px; }
  .spec-block-grid { grid-template-columns: 1fr; gap: 16px; }
  .outcomes { grid-template-columns: 1fr; }
  .adjacent-row { grid-template-columns: 1fr; }
  .closing-cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .metric-row { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col-aside { position: static; }
  .principle-grid, .principle-grid.five, .principle-grid.two { grid-template-columns: 1fr; }
}
