/* Design tokens */
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@500,700,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&family=Roboto:wght@400;500;700&display=swap');

:root {
  /* Colors — Navy */
  --navy-900: #021F2F;
  --navy-800: #01465D;
  --navy-700: #11325D;
  --navy-600: #1A3E6E;
  /* Teal */
  --teal-600: #00A27C;
  --teal-500: #00C396;
  /* Red */
  --red-700: #A60A29;
  --red-600: #BA0C2F;
  --red-500: #E4002B;
  --red-400: #FF0030;
  /* Blue */
  --blue-500: #3A83F7;
  --blue-600: #0483E1;
  /* Ink */
  --ink-900: #363636;
  --ink-700: #535354;
  --ink-500: #8590A2;
  --ink-300: #979797;
  /* Surface */
  --surface-50: #FBFBF8;
  --surface-100: #F6F6F6;
  --surface-200: #EDF2F8;
  --line: #EBEBEB;
  /* Semantic */
  --surface-page: var(--surface-50);
  --surface-card: #FFFFFF;
  --surface-tint: var(--surface-100);
  --surface-tint-cool: var(--surface-200);
  --text-heading: #000000;
  --text-title: var(--navy-700);
  --text-body: var(--ink-700);
  --text-strong: var(--ink-900);
  --text-meta: var(--ink-500);
  --accent-product: var(--teal-500);
  --accent-signal: var(--red-500);
  --accent-interactive: var(--blue-500);
  --banner-gradient: linear-gradient(101deg, #11325D 1.3%, #1A3E6E 54.87%, #01465D 98.7%);
  /* Typography */
  --font-display: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: Consolas, ui-monospace, 'SF Mono', Menlo, monospace;
  /* Spacing */
  --space-2: 2px; --space-4: 4px; --space-8: 8px; --space-12: 12px;
  --space-16: 16px; --space-24: 24px; --space-32: 32px; --space-64: 64px; --space-80: 80px;
  --content-max: 1160px; --content-pad: 32px;
  /* Radii */
  --radius-button: 8px; --radius-card: 12px; --radius-card-lg: 14px;
  --radius-panel: 16px; --radius-hero-card: 32px; --radius-pill: 9999px;
  /* Borders & shadows */
  --border-card: 1px solid var(--line);
  --shadow-tile: 0 4px 4px rgba(0, 0, 0, 0.25);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--text-body);
  text-decoration: none;
}
a:hover { color: var(--navy-700); }

/* ── Site wrapper ── */
.site-wrapper {
  min-height: 100vh;
  min-width: 1440px;
}

/* ── Page content ── */
.page-content {
  width: 1440px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 20px 66px 120px 44px;
}

/* ── Wordmark ── */
.wordmark {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  color: var(--text-body);
  letter-spacing: 0;
}

/* ── Hero ── */
.hero {
  display: flex;
  gap: 17px;
  align-items: flex-start;
  margin-top: 25px;
}

.hero-illustration {
  width: 217px;
  height: 326px;
  opacity: 0.88;
  mix-blend-mode: multiply;
  flex-shrink: 0;
  object-fit: cover;
}

.hero-body {
  padding-top: 34px;
  max-width: 828px;
}

.hero-headline {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 36px;
  line-height: 1;
  color: #000;
  text-wrap: pretty;
}

.hero-resume {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-left: 543px;
}

.hero-resume-icon {
  font-size: 30px;
  line-height: 1;
  opacity: 0.8;
  filter: grayscale(1) contrast(1.8);
}

.hero-resume-link {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  color: var(--text-body);
}

/* ── Section headers ── */
.section-label {
  margin: 52px 0 0 22px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label + .card-grid { margin-top: 22px; }

/* ── Card grid ── */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  margin-left: 22px;
  width: 1297px;
}

/* ── Case study card ── */
.cs-card {
  width: 403px;
  height: 576px;
  box-sizing: border-box;
  background: var(--surface-card);
  border-radius: var(--radius-hero-card);
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease;
  color: inherit;
  text-decoration: none;
}

.cs-card:hover { box-shadow: 0 10px 28px rgba(17, 50, 93, 0.12); color: inherit; }

.cs-card--coming-soon {
  filter: saturate(0) opacity(0.75);
  cursor: default;
  transition: box-shadow 0.25s ease, filter 0.35s ease;
}

.cs-card--coming-soon:hover {
  box-shadow: 0 10px 28px rgba(17, 50, 93, 0.12);
  filter: saturate(1) opacity(1);
}

.cs-card__thumb {
  position: relative;
  width: 372px;
  height: 279px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}

.cs-card__thumb-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cs-card__thumb-overlay {
  position: absolute;
  inset: 0;
}

.cs-card__thumb-logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-card__thumb-logo img { filter: drop-shadow(0px 4px 12px rgba(0, 0, 0, 0.25)); }

.cs-card__title {
  margin: 10px 0 0;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  color: var(--text-heading);
}

.cs-card__body {
  margin: 10px 0 0;
  width: 352px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
  color: var(--text-body);
}

.cs-card__cta {
  margin-top: auto;
  margin-bottom: 41px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
  color: var(--text-body);
}

.cs-card__cta--muted { color: #B4B2B2; }

/* ── Footer ── */
.site-footer {
  width: 1440px;
  margin: 0 auto;
  box-sizing: border-box;
  border-top: 1px solid var(--line);
  padding: 40px 66px 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: var(--surface-page);
}

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

.footer-brand__name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 1px;
  color: var(--text-body);
}

.footer-brand__tagline {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-body);
}

.footer-brand__copy {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  line-height: 1;
  color: #B4B2B2;
}

.footer-nav { display: flex; gap: 64px; }

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

.footer-nav__heading {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--text-body);
}

.footer-nav__link {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  color: var(--text-body);
}

.footer-nav__link:hover { color: var(--navy-700); }
