@font-face {
  font-family: "Bricolage";
  src: url("/assets/fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --navy: #1d3557;
  --navy-deep: #142640;
  --red: #e73a46;
  --red-ink: #c4232f;
  --red-ui: #d6303d;
  --red-ui-hover: #b81f2b;
  --slate: #4c607b;
  --mist: #eef2f7;
  --line: #d5dde8;
  --white: #ffffff;
  --measure: 66ch;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.75rem;
  --step-3: 2.375rem;
  --step-4: clamp(2.5rem, 5.4vw, 4.25rem);
  --step-5: clamp(2.6rem, 8.6vw, 7.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Bricolage", system-ui, sans-serif;
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  font-variation-settings: "opsz" 14;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--red-ink); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-variation-settings: "opsz" 96;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 650;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0 0 1em; max-width: var(--measure); }
.lead { font-size: var(--step-1); line-height: 1.5; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: 10px 16px; z-index: 10; }
.skip:focus { left: 12px; top: 12px; }

/* Header */
.site-head { background: var(--navy); color: var(--white); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand img { width: 108px; }
.nav ul { list-style: none; display: flex; gap: clamp(14px, 2.4vw, 32px); margin: 0; padding: 0; }
.nav a { text-decoration: none; color: #cbd6e6; font-size: var(--step--1); font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--white); }
.nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--red); }
.nav-toggle { display: none; }

/* Hero */
.hero { background: var(--navy); color: var(--white); padding: clamp(48px, 8vw, 112px) 0; }
.hero h1 { max-width: 15ch; }
.hero .lead { color: #cbd6e6; max-width: 52ch; }

.page-head { background: var(--navy); color: var(--white); padding: clamp(40px, 6vw, 80px) 0 clamp(36px, 5vw, 64px); }
.page-head p { color: #cbd6e6; }
.page-head h1 { max-width: 18ch; }

.btn {
  display: inline-block; background: var(--red-ui); color: var(--white); text-decoration: none;
  font-weight: 600; padding: 14px 24px; border-radius: 4px; font-size: var(--step-0);
}
.btn:hover { background: var(--red-ui-hover); color: var(--white); }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Sections */
section { padding: clamp(56px, 8vw, 112px) 0; }
.tint { background: var(--mist); }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split img { border-radius: 4px; }
.sec-head { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 5vw, 72px); align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 0; color: var(--slate); }

/* Ruled list (industries, services) */
.ruled { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(24px, 4vw, 48px); }
.ruled li { border-top: 2px solid var(--navy); padding: 20px 0 36px; }
.ruled li p { color: var(--slate); font-size: 1rem; margin: 0; }
.ruled.two { grid-template-columns: repeat(2, 1fr); }
.ruled.four { grid-template-columns: repeat(4, 1fr); }

/* Services pair */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); border: 2px solid var(--line); }
.pair > div { background: var(--white); padding: clamp(28px, 4vw, 48px); }
.pair h3 { font-size: var(--step-2); }

/* Quotes */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
blockquote { margin: 0; }
blockquote p { font-size: var(--step-1); line-height: 1.45; max-width: 34ch; }
blockquote p::before { content: "\201C"; color: var(--red); font-weight: 700; margin-left: -0.45em; }
blockquote p::after { content: "\201D"; color: var(--red); font-weight: 700; }
blockquote footer { color: var(--slate); font-size: var(--step--1); }

/* People */
.people { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.person { display: grid; grid-template-columns: 72px 1fr; gap: 20px; align-items: start; }
.mono { width: 72px; height: 72px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; }
.person h3 { margin-bottom: 0.15em; }
.person .role { color: var(--red-ink); font-weight: 600; font-size: var(--step--1); margin: 0 0 0.6em; }
.person p { color: var(--slate); font-size: 1rem; }

/* Facts line */
.facts { display: flex; flex-wrap: wrap; gap: clamp(28px, 6vw, 96px); margin: 0; padding: 0; list-style: none; }
.facts strong { display: block; font-size: var(--step-4); line-height: 1; letter-spacing: -0.03em; font-weight: 700; font-stretch: 80%; }
.facts span { color: var(--slate); }

/* Case studies */
.cases { display: grid; gap: clamp(48px, 7vw, 96px); }
.case { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.case:nth-child(even) img { order: 2; }
.case img { border-radius: 4px; aspect-ratio: 575 / 530; object-fit: cover; }
.case h2 { font-size: var(--step-3); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.btn-lg { font-size: var(--step-1); padding: 18px 32px; }
.form-note { color: var(--slate); font-size: var(--step--1); margin-top: 14px; }
.steps-panel { background: var(--mist); border-left: 4px solid var(--red); padding: clamp(28px, 4vw, 44px); }
.steps-panel h3 { font-size: var(--step-2); margin-bottom: 0.8em; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps li::before { content: counter(step); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 700; }
.steps strong { font-weight: 650; }
.steps span { color: var(--slate); font-size: 1rem; }

/* Prose (legal) */
.prose { max-width: 72ch; }
.prose h2 { font-size: var(--step-2); margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }
.toc { list-style: none; padding: 0; margin: 0 0 2em; columns: 2; column-gap: 32px; }
.toc a { color: var(--slate); }

/* CTA band */
.cta { background: var(--red-ui); color: var(--white); padding: clamp(48px, 7vw, 88px) 0; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta h2 { margin: 0 0 0.3em; }
.cta p { margin: 0; color: var(--white); }
.cta .btn { background: var(--white); color: var(--navy); }
.cta .btn:hover { background: var(--navy); color: var(--white); }

/* Footer */
.site-foot { background: var(--navy-deep); color: #b6c3d6; padding: 56px 0 32px; font-size: var(--step--1); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.site-foot h2 { font-size: 1rem; color: var(--white); letter-spacing: 0; margin-bottom: 0.8em; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 6px; }
.site-foot a { color: #b6c3d6; text-decoration: none; }
.site-foot a:hover { color: var(--white); text-decoration: underline; }
.tm-note { margin-top: 1.6em; padding-top: 1em; border-top: 1px solid var(--line); color: var(--slate); font-size: var(--step--1); }
.small-note { color: var(--slate); font-size: var(--step--1); margin: 0; }
.legal { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* 404 */
.notfound { min-height: 50vh; }

@media (max-width: 900px) {
  .split, .sec-head, .contact-grid, .case { grid-template-columns: 1fr; }
  .case:nth-child(even) img { order: 0; }
  .ruled, .ruled.four { grid-template-columns: 1fr 1fr; }
  .quotes, .people, .pair { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-block; background: none; border: 1.5px solid rgba(255,255,255,0.4); color: var(--white); font: inherit; font-size: var(--step--1); padding: 8px 14px; border-radius: 4px; cursor: pointer; }
  .site-head .wrap { flex-wrap: wrap; }
  .nav { display: none; width: 100%; padding-bottom: 20px; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav a { display: block; font-size: var(--step-0); padding: 8px 0; }
  .ruled, .ruled.two, .ruled.four { grid-template-columns: 1fr; }
  .toc { columns: 1; }
  .foot-grid { grid-template-columns: 1fr; }
}
