:root {
  --ink: #081522;
  --ink-2: #10263a;
  --blue: #0a8bc5;
  --blue-bright: #18a8e3;
  --ice: #e8f5fb;
  --paper: #f6f7f7;
  --white: #ffffff;
  --muted: #586773;
  --line: #d7dfe4;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.25rem; }
h1, h2, h3 { margin: 0; line-height: 1.06; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.9rem, 6.6vw, 6.7rem); font-weight: 720; }
h2 { font-size: clamp(2.15rem, 4vw, 4.25rem); font-weight: 690; }
h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); font-weight: 680; }

.container { width: min(var(--max), calc(100% - 3rem)); margin: 0 auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: #fff; padding: .8rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(8,21,34,.1);
  backdrop-filter: blur(14px);
}
.nav-wrap { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand img { width: 190px; max-height: 48px; object-fit: contain; height: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); font-size: .89rem; font-weight: 650; }
.nav-links a { position: relative; }
.nav-links a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.35rem; height: 2px; background: var(--blue); transition: right .2s ease; }
.nav-links a:hover::after, .nav-links a:focus-visible::after, .nav-links a[aria-current="page"]::after { right: 0; }
.menu-toggle { display: none; border: 0; background: transparent; padding: .5rem; font: inherit; font-weight: 700; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; min-height: 48px; padding: .75rem 1.2rem; background: var(--blue); color: #fff; font-weight: 750; border: 1px solid var(--blue); transition: background .18s, border-color .18s, transform .18s; }
.button:hover, .button:focus-visible { background: #0579ad; border-color: #0579ad; transform: translateY(-1px); }
.button.dark { background: var(--ink); border-color: var(--ink); }
.button.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.text-link { color: var(--blue); font-weight: 760; display: inline-flex; align-items: center; gap: .4rem; }
.text-link::after { content: "→"; transition: transform .18s; }
.text-link:hover::after { transform: translateX(4px); }

.eyebrow { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.2rem; color: var(--blue); font-size: .76rem; font-weight: 820; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 3px; background: currentColor; }
.lede { max-width: 750px; font-size: clamp(1.1rem, 1.9vw, 1.45rem); line-height: 1.55; color: #334653; }

.hero { background: var(--paper); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr); min-height: 720px; }
.hero-copy { padding: clamp(5rem, 9vw, 9rem) clamp(2rem, 5vw, 6rem) 5rem max(1.5rem, calc((100vw - var(--max)) / 2)); display: flex; flex-direction: column; justify-content: center; }
.hero h1 { max-width: 780px; }
.hero h1 span { color: var(--blue); }
.hero .lede { margin: 2rem 0 2.25rem; max-width: 710px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-media { position: relative; min-height: 620px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: auto auto 0 0; width: 115px; height: 115px; border-top: 8px solid #fff; border-right: 8px solid #fff; background: var(--blue); clip-path: polygon(0 58%, 35% 89%, 100% 8%, 35% 65%); }

.proof-bar { background: var(--ink); color: #fff; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof { padding: 2rem clamp(1rem, 3vw, 2.5rem); border-right: 1px solid rgba(255,255,255,.16); }
.proof:last-child { border-right: 0; }
.proof strong { display: block; font-size: clamp(1.5rem, 3vw, 2.4rem); color: var(--blue-bright); line-height: 1.1; }
.proof span { display: block; margin-top: .5rem; color: #d5dfe6; font-size: .9rem; }

.section { padding: clamp(5rem, 9vw, 9rem) 0; }
.section.gray { background: var(--paper); }
.section.dark { background: var(--ink); color: #fff; }
.section-head { display: grid; grid-template-columns: .75fr 1.25fr; gap: 3rem; align-items: end; margin-bottom: 3.5rem; }
.section-head .lede { justify-self: end; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.split.top { align-items: start; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { padding: clamp(1.7rem, 3vw, 2.7rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 310px; display: flex; flex-direction: column; }
.service-card .num { color: var(--blue); font-weight: 830; margin-bottom: 3.5rem; }
.service-card p { color: var(--muted); }
.service-card .text-link { margin-top: auto; }

.case-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem; }
.case-card { grid-column: span 4; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; }
.case-card.feature { grid-column: span 4; }
.case-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.case-card.feature img { aspect-ratio: 4 / 3; }
.case-card:hover img { transform: scale(1.025); }
.case-body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.case-meta { color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.case-body h3 { margin: .6rem 0 .8rem; }
.case-body p { color: var(--muted); }
.case-body .text-link { margin-top: auto; }

.statement { padding: clamp(6rem, 12vw, 12rem) 0; background: var(--ink); color: #fff; }
.statement blockquote { margin: 0; max-width: 1050px; font-size: clamp(2.25rem, 5vw, 5.4rem); font-weight: 660; letter-spacing: -.045em; line-height: 1.04; }
.statement blockquote span { color: var(--blue-bright); }

.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.audience { background: #fff; padding: clamp(2rem, 4vw, 4rem); min-height: 300px; }
.audience .eyebrow { font-size: .94rem; letter-spacing: .1em; margin-bottom: 1.5rem; }
.audience h3 { font-size: clamp(1.2rem, 1.65vw, 1.5rem); line-height: 1.18; }
.audience p { color: var(--muted); max-width: 520px; }

.service-grid.compact { grid-template-columns: repeat(2, 1fr); }
.service-grid.compact .service-card {
  min-height: 0;
  padding: 1.55rem 1.7rem;
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  align-content: start;
}
.service-grid.compact .service-card .num { grid-row: 1 / span 2; margin: .1rem 0 0; }
.service-grid.compact .service-card h3 { font-size: 1.25rem; line-height: 1.2; }
.service-grid.compact .service-card p { margin: .55rem 0 0; font-size: .95rem; line-height: 1.5; }

.logo-wall { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-name { min-height: 105px; padding: 1.4rem; display: grid; place-items: center; text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #384c59; font-size: .9rem; font-weight: 760; letter-spacing: .035em; }

.page-hero { background: var(--ink); color: #fff; padding: clamp(6rem, 11vw, 10rem) 0 clamp(4rem, 8vw, 7rem); }
.page-hero h1 { max-width: 1000px; font-size: clamp(3rem, 7vw, 6.3rem); }
.page-hero .lede { color: #cbd8df; margin-top: 2rem; }
.page-hero-image { margin-top: 3rem; height: min(62vw, 650px); width: 100%; object-fit: cover; }

.detail-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(3rem, 8vw, 8rem); }
.detail-aside { position: sticky; top: 115px; align-self: start; }
.detail-stat { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.detail-stat strong { display: block; color: var(--blue); font-size: 1.6rem; }
.detail-content h2 { margin-bottom: 1.5rem; font-size: clamp(2rem, 3vw, 3.2rem); }
.detail-content h3 { margin: 2.5rem 0 .8rem; }
.detail-content p, .detail-content li { color: #445663; }
.detail-content li { margin-bottom: .55rem; }
.gallery-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; }
.gallery-pair img { width: 100%; height: 440px; object-fit: cover; }

.timeline { border-left: 3px solid var(--blue); padding-left: 2rem; display: grid; gap: 2rem; }
.timeline strong { display: block; color: var(--blue); }
.bio-image-placeholder { aspect-ratio: 4 / 5; background: linear-gradient(145deg, var(--ink), #1e455f); display: grid; place-items: center; color: #fff; padding: 3rem; text-align: center; }
.bio-image-placeholder strong { font-size: 4rem; color: var(--blue-bright); }
.bio-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 34%; }

.pulse-panel { background: linear-gradient(125deg, #0a2235 0%, #0a5b80 100%); color: #fff; padding: clamp(2.5rem, 5vw, 5rem); display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.pulse-panel p { color: #d9eaf1; max-width: 680px; }

.contact-panel { background: var(--blue); color: #fff; padding: clamp(3rem, 7vw, 7rem); }
.contact-panel h2 { max-width: 850px; }
.contact-panel p { margin: 1.5rem 0 2rem; color: #e7f7fd; }
.contact-links { display: flex; flex-wrap: wrap; gap: .8rem; }
.contact-links .button { background: #fff; border-color: #fff; color: var(--ink); }

.site-footer { background: #050d15; color: #b7c3cb; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(2, 1fr); gap: 3rem; }
.footer-brand img { width: 190px; filter: brightness(0) invert(1); margin-bottom: 1.25rem; }
.footer-links { display: grid; gap: .55rem; align-content: start; }
.footer-links strong { color: #fff; margin-bottom: .5rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid #26333c; font-size: .82rem; }

@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 66px; left: 0; right: 0; padding: 1.5rem; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 5rem 1.5rem; }
  .hero-media { min-height: 500px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof:nth-child(2) { border-right: 0; }
  .proof:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.16); }
  .section-head, .split, .detail-grid { grid-template-columns: 1fr; }
  .section-head .lede { justify-self: start; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-grid.compact { grid-template-columns: 1fr; }
  .case-card, .case-card.feature { grid-column: span 6; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .detail-aside { position: static; }
  .pulse-panel { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; line-height: 1.58; }
  .container { width: min(100% - 2rem, var(--max)); }
  .brand img { width: 166px; max-height: 42px; }
  .hero h1 { font-size: clamp(2.45rem, 12.5vw, 3.3rem); }
  .page-hero h1 { font-size: clamp(2.5rem, 12vw, 3.35rem); }
  .hero-copy { padding-top: 4rem; padding-bottom: 4rem; }
  .section { padding: 4.5rem 0; }
  .lede { font-size: 1.08rem; }
  .hero-media { min-height: 420px; }
  .proof-grid, .service-grid, .audience-grid, .footer-grid, .gallery-pair { grid-template-columns: 1fr; }
  .proof { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .proof:nth-child(2) { border-right: 0; }
  .case-card, .case-card.feature { grid-column: 1 / -1; }
  .case-card.feature img, .case-card img { aspect-ratio: 4 / 3; }
  .service-grid.compact .service-card { padding: 1.35rem; grid-template-columns: 35px 1fr; }
  .logo-wall { grid-template-columns: 1fr 1fr; }
  .gallery-pair img { height: 310px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
