:root {
  --ink: #0b1530;
  --ink-soft: #283552;
  --paper: #f6f8fb;
  --white: #ffffff;
  --line: #dce3ee;
  --muted: #60708c;
  --accent: #0a91a4;
  --accent-bright: #6be3ca;
  --blue: #1558d6;
  --shadow: 0 22px 60px rgba(11, 21, 48, 0.1);
  --radius-lg: 26px;
  --radius-md: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--white);
  color: var(--ink);
  padding: 12px 16px;
  border-radius: 8px;
}

.skip-link:focus { top: 16px; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 248, 251, 0.9);
  border-bottom: 1px solid rgba(220, 227, 238, 0.85);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--accent-bright);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

nav { display: flex; align-items: center; gap: 28px; }
nav a { text-decoration: none; font-size: 0.92rem; font-weight: 700; color: var(--ink-soft); }
nav a:hover, nav a:focus-visible { color: var(--accent); }

.nav-cta {
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
}

.hero {
  padding: 76px 0 64px;
  background:
    radial-gradient(circle at 8% 14%, rgba(107, 227, 202, 0.18), transparent 27%),
    radial-gradient(circle at 88% 84%, rgba(21, 88, 214, 0.12), transparent 28%),
    var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 900;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 800px;
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero-lede {
  max-width: 700px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(1.04rem, 1.7vw, 1.23rem);
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--white); box-shadow: 0 12px 28px rgba(11, 21, 48, 0.2); }
.button-primary:hover { background: var(--accent); }
.button-secondary { background: var(--white); border: 1px solid var(--line); }

.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.capability-list li {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 700;
}

.profile-card {
  overflow: hidden;
  background: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.profile-photo-wrap { height: 390px; overflow: hidden; background: #c7d3db; }
.profile-photo { width: 100%; height: 100%; object-fit: cover; object-position: 42% 82%; transform: scale(1.07); }
.profile-card-copy { padding: 22px 24px 25px; color: #dbe6f7; }
.profile-card-copy p { margin: 14px 0 0; }

.availability {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
}

.availability span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 5px rgba(107, 227, 202, 0.14);
}

.results-band { background: var(--ink); color: var(--white); }

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 28px 0;
}

.metric-grid article { padding: 8px 26px; border-right: 1px solid rgba(255,255,255,0.14); }
.metric-grid article:first-child { padding-left: 0; }
.metric-grid article:last-child { border-right: 0; }
.metric-grid strong { display: block; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1; letter-spacing: -0.05em; }
.metric-grid span { display: block; margin-top: 7px; color: #b9c7dd; font-size: 0.85rem; }

.section { padding: 100px 0; }
.section-heading { max-width: 720px; margin-bottom: 42px; }
.section-heading h2, .contact-card h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.04; letter-spacing: -0.05em; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.06rem; }

.case-study { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.case-study-featured { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 42px; padding: 42px; box-shadow: var(--shadow); }
.case-label-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.case-number { color: var(--accent); font-weight: 900; }
.case-type { color: var(--muted); text-transform: uppercase; letter-spacing: 0.09em; font-size: 0.72rem; font-weight: 900; }

.client-title { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.client-logo { width: 64px; height: 64px; object-fit: contain; border-radius: 14px; background: #f7f7f7; border: 1px solid var(--line); padding: 8px; }
.client-title h3, .case-study-small h3, .sector-strip h3 { margin: 0 0 4px; font-size: 1.55rem; letter-spacing: -0.03em; }
.client-title p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.case-copy > p { color: var(--ink-soft); }

.case-stats, .compact-stats { display: grid; margin: 28px 0 0; }
.case-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
.case-stats > div, .compact-stats > div { padding: 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
dt { font-size: 1.35rem; line-height: 1.05; font-weight: 900; letter-spacing: -0.03em; }
dd { margin: 6px 0 0; color: var(--muted); font-size: 0.78rem; }
.period-note { margin: 18px 0 0 !important; color: var(--muted) !important; font-size: 0.78rem; }

.evidence-stack { display: grid; gap: 18px; align-content: start; }
.evidence-card { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); }
.evidence-card img { width: 100%; aspect-ratio: 1.95 / 1; object-fit: cover; object-position: center; }
.evidence-card figcaption { padding: 12px 14px 14px; color: var(--muted); font-size: 0.78rem; font-weight: 700; }

.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 24px; }
.case-study-small { padding: 30px; }
.small-case-visual, .account-snapshot { height: 245px; margin: 0 0 24px; overflow: hidden; border-radius: var(--radius-md); background: var(--paper); border: 1px solid var(--line); }
.small-case-visual img { width: 100%; height: 100%; object-fit: cover; }
.account-snapshot img { width: 100%; height: 100%; object-fit: cover; object-position: 12% center; }
.case-study-small > p { color: var(--ink-soft); }
.compact-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.compact-stats > div { padding: 13px; }
.compact-stats dt { font-size: 1.12rem; }

.sector-strip {
  margin-top: 24px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 42px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #eef8f8, #f6f8fb 52%, #edf2ff);
}

.sector-copy p:last-child { margin-bottom: 0; color: var(--ink-soft); }
.sector-logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sector-logos > div { min-height: 88px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; padding: 12px; }
.sector-logos img { max-width: 100%; max-height: 62px; object-fit: contain; }
.text-logo { font-size: 1rem; font-weight: 900; letter-spacing: -0.04em; }

.section-dark { color: var(--white); background: var(--ink); }
.section-heading-light > p:last-child { color: #b9c7dd; }
.section-heading-light .eyebrow { color: var(--accent-bright); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-grid article { padding: 30px; border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-md); background: rgba(255,255,255,0.04); }
.service-index { color: var(--accent-bright); font-size: 0.78rem; font-weight: 900; }
.service-grid h3 { margin: 42px 0 12px; font-size: 1.35rem; }
.service-grid p { margin-bottom: 0; color: #b9c7dd; }

.approach-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 90px; align-items: start; }
.process-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 58px 1fr; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.process-list > li > span { color: var(--accent); font-weight: 900; }
.process-list h3 { margin-bottom: 7px; font-size: 1.18rem; }
.process-list p { margin-bottom: 0; color: var(--muted); }

.contact-section { padding: 0 0 90px; }
.contact-card { padding: 52px; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 44px; align-items: center; background: var(--accent-bright); border-radius: var(--radius-lg); }
.contact-card h2 { max-width: 760px; }
.contact-card p:last-child { margin-bottom: 0; color: var(--ink-soft); }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.text-link { font-weight: 900; text-decoration-thickness: 2px; text-underline-offset: 5px; }

footer { padding: 28px 0; background: var(--white); border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 0.82rem; }

@media (max-width: 920px) {
  .hero-grid, .case-study-featured, .sector-strip, .approach-grid, .contact-card { grid-template-columns: 1fr; }
  .hero-grid { gap: 42px; }
  .profile-card {
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  transform: none;
}
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-grid article:nth-child(2) { border-right: 0; }
  .case-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid h3 { margin-top: 24px; }
  .approach-grid { gap: 28px; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .site-header { position: static; }
  .nav-wrap { min-height: 66px; }
  nav a:not(.nav-cta) { display: none; }
  .brand { font-size: 0.93rem; }
  .hero { padding: 50px 0 44px; }
  h1 { font-size: clamp(2.65rem, 15vw, 4.1rem); }
  .profile-photo-wrap { height: 340px; }
  .metric-grid { padding: 18px 0; }
  .metric-grid article { padding: 16px 12px; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .metric-grid article:first-child { padding-left: 12px; }
  .metric-grid article:nth-child(3), .metric-grid article:nth-child(4) { border-bottom: 0; }
  .section { padding: 72px 0; }
  .case-study-featured, .case-study-small { padding: 22px; }
  .case-stats, .compact-stats { grid-template-columns: 1fr 1fr; }
  .compact-stats > div:last-child { grid-column: 1 / -1; }
  .sector-strip { padding: 24px; }
  .sector-logos { grid-template-columns: 1fr 1fr 1fr; }
  .contact-card { padding: 30px 24px; }
  .contact-actions { width: 100%; }
  .contact-actions .button { width: 100%; font-size: 0.87rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
