@font-face {
  font-family: Poppins;
  src: url("assets/fonts/poppins-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("assets/fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("assets/fonts/poppins-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f9fbfd;
  --ink: #172439;
  --muted: #46566b;
  --line: #d4dee9;
  --blue: #174b80;
  --navy: #132d4c;
  --light-blue: #c1ddf7;
  font-family: Poppins, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
p { margin: 0 0 1rem; line-height: 1.65; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; }
h1, h2 { font-weight: 600; letter-spacing: -.042em; }
h2 { font-size: clamp(2.2rem, 4.8vw, 4.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); letter-spacing: -.035em; }
.wrap { width: min(100% - 5rem, 80rem); margin-inline: auto; }
.skip { position: absolute; z-index: 1; top: 1rem; left: 1rem; transform: translateY(-200%); background: #fff; padding: .65rem; }
.skip:focus { transform: none; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; min-height: 5.75rem; }
.brand img { width: 7.4rem; height: auto; mix-blend-mode: multiply; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem clamp(.8rem, 2vw, 2rem); }
nav a, .footer a { text-decoration: none; font-size: .9rem; font-weight: 650; }
nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: .3em; }
.contact-link { border-bottom: 1px solid currentColor; color: var(--blue); padding-block: .35rem; }
.hero { display: grid; align-items: center; position: relative; isolation: isolate; min-height: clamp(31rem, 57vw, 43rem); overflow: hidden; background: var(--navy); color: #fff; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0e233d 3%, #102944 31%, #102944e8 48%, #1029444d 85%); }
.hero-copy { padding-block: clamp(3.5rem, 8vw, 7rem); }
.hero-photos { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 76%; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; opacity: 0; }
.hero-photo:first-child { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero-photo { animation: hero-cycle 30s linear infinite; }
  .hero-photo:nth-child(1) { animation-delay: -1.2s; }
  .hero-photo:nth-child(2) { animation-delay: 4.8s; }
  .hero-photo:nth-child(3) { animation-delay: 10.8s; }
  .hero-photo:nth-child(4) { animation-delay: 16.8s; }
  .hero-photo:nth-child(5) { animation-delay: 22.8s; }
}
@keyframes hero-cycle {
  0%, 24%, 100% { opacity: 0; }
  4%, 20% { opacity: 1; }
}
.hero .eyebrow { color: var(--light-blue); }
.eyebrow, .index { font-size: .73rem; font-weight: 750; letter-spacing: .135em; text-transform: uppercase; }
.eyebrow { color: var(--blue); margin-bottom: 1.25rem; }
h1 { font-size: clamp(2.6rem, 6vw, 6.1rem); line-height: 1.03; }
.hero h1 { max-width: 12ch; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.32rem); max-width: 34ch; margin: 1.6rem 0; }
.button { display: inline-flex; gap: 1.2em; align-items: center; padding: .9em 1.15em; background: var(--blue); color: #fff; text-decoration: none; font-weight: 650; }
.button:hover { background: var(--navy); }
.hero .button:hover { background: #246498; }
.heritage { background: #edf3f9; color: var(--ink); padding-block: clamp(2.1rem, 5vw, 4rem); }
.section-split { display: grid; grid-template-columns: 1fr 1.35fr; gap: 1rem 3rem; align-items: center; }
.contact .eyebrow { color: var(--light-blue); }
.heritage p { margin: 0; }
.heritage p:last-child { font-size: clamp(1.05rem, 2vw, 1.4rem); }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section-head { margin-bottom: clamp(1.9rem, 4vw, 3.4rem); }
.section-head h2 { max-width: 17ch; }
.section-head--wide h2 { max-width: none; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.75rem); }
.services article { border-top: 2px solid var(--blue); padding-top: 1rem; }
.services.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.approach { border-top: 1px solid var(--line); }
.index { display: block; color: var(--blue); margin-bottom: 1rem; }
.services h3 { margin-bottom: .65rem; }
.services p { color: var(--muted); }
.profit-engine { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; margin-top: 2.5rem; background: #edf3f9; }
.profit-engine img { width: 100%; aspect-ratio: 2.3; object-fit: cover; object-position: center 64%; }
.profit-engine div { padding: clamp(1.25rem, 4vw, 2.5rem); }
.profit-engine p { margin: .75rem 0 0; color: var(--muted); }
.sector-section { background: #edf3f9; }
.sector-tiles, .editorial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); align-items: start; }
.sector-tiles > :last-child:nth-child(odd), #work .editorial-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.sector-tile { display: grid; position: relative; isolation: isolate; align-items: end; min-height: clamp(12rem, 20vw, 17rem); background: var(--navy); color: #fff; text-decoration: none; overflow: hidden; }
.sector-tile img, .sector-tile::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.sector-tile img { z-index: -2; object-fit: cover; object-position: center 38%; }
.sector-tile::after { content: ""; z-index: -1; background: linear-gradient(0deg, #081c34 5%, #102944dc 30%, transparent 86%); }
.tile-copy { padding: clamp(1.15rem, 3vw, 2.25rem); padding-right: 4rem; }
.tile-copy h3 { font-size: clamp(1.4rem, 3vw, 2.3rem); }
.tile-copy p { margin: .55rem 0 0; }
.tile-arrow { position: absolute; right: clamp(1.15rem, 3vw, 2.25rem); bottom: clamp(1.15rem, 3vw, 2.25rem); font-size: 1.5rem; }
.sector-tile:hover h3, .case-link:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
.text-link { color: var(--blue); font-weight: 650; text-underline-offset: .23em; }
.sector-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; border-top: 1px solid var(--line); }
.sector-hero-copy { padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 3rem) clamp(2rem, 5vw, 4rem) 0; }
.sector-hero h1 { margin-top: 1.45rem; font-size: clamp(2.75rem, 5.7vw, 5.65rem); line-height: .97; }
.sector-strapline { margin: 1.25rem 0 0; font-size: clamp(1.2rem, 2.4vw, 1.8rem); font-weight: 650; line-height: 1.2; color: var(--blue); }
.sector-hero .lede { max-width: 48ch; }
.sector-hero > img { width: 100%; height: clamp(12rem, 26vw, 21rem); object-fit: cover; object-position: center 38%; }
.section-intro { max-width: 58ch; margin: 1rem 0 0; color: var(--muted); }
.editorial-card { display: block; border: 1px solid var(--line); background: var(--paper); }
.editorial-card > img { width: 100%; height: clamp(7.5rem, 14vw, 11.5rem); object-fit: cover; object-position: center 45%; }
.card-copy { padding: clamp(1.05rem, 2.4vw, 1.75rem); }
.card-copy p:not(.index) { margin: .7rem 0 0; color: var(--muted); }
.card-copy .index { margin-bottom: .65rem; }
.card-copy details { margin-top: .8rem; }
.card-copy summary { width: fit-content; padding-block: .25rem; color: var(--blue); font-weight: 650; cursor: pointer; }
.card-copy summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.case-link { text-decoration: none; }
.case-link h3 span { color: var(--blue); }
.market-source { margin: 1.4rem 0 0; font-size: .85rem; color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.references { --logo-gap: clamp(.65rem, 2vw, 1.25rem); padding-block: clamp(2rem, 5vw, 3.5rem); background: #edf3f9; }
.reference-heading h2 { font-size: clamp(1.35rem, 2.4vw, 2rem); }
.reference-heading { margin-bottom: .9rem; }
.logo-list { display: flex; flex-wrap: wrap; gap: var(--logo-gap); list-style: none; padding: 0; margin: 0; }
.logo-list li { display: grid; place-items: center; flex: 0 0 clamp(7.5rem, 13vw, 10.5rem); min-height: 5rem; padding: .4rem .55rem; background: #fff; border-radius: .45rem; }
.logo-list img { width: 100%; height: 3.75rem; object-fit: contain; }
.logo-marquee { position: relative; }
.logo-window { overflow: hidden; }
.logo-track { display: flex; width: max-content; animation: logo-rotation 66s linear infinite; }
.logo-track .logo-list { flex-wrap: nowrap; padding-right: var(--logo-gap); }
.logo-window:hover .logo-track, .logo-window:focus-within .logo-track { animation-play-state: paused; }
@keyframes logo-rotation { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logo-window { overflow-x: auto; }
  .logo-track { animation: none; }
  .logo-track [aria-hidden="true"] { display: none; }
}
.contact { background: var(--blue); color: #fff; }
.contact .button { background: var(--paper); color: var(--navy); overflow-wrap: anywhere; }
.contact .button:hover { background: #e4f0fc; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem; padding-block: 1.5rem; font-size: .86rem; }

@media (max-width: 850px) {
  .wrap { width: calc(100% - 2.5rem); }
  .services.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  .site-header { align-items: flex-start; flex-direction: column; padding-block: .5rem 1rem; }
  nav { column-gap: 1rem; }
  nav a { font-size: .83rem; }
  .three, .services.four, .section-split, .sector-tiles, .editorial-grid, .sector-hero, .profit-engine { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.4rem, 10vw, 4rem); }
  .hero-photos { width: 100%; }
  .hero::after { background: linear-gradient(90deg, #0e233df5, #102944ad); }
  .sector-hero > img { height: clamp(10rem, 40vw, 14rem); }
  .editorial-card > img { height: clamp(7.5rem, 31vw, 10rem); }
  .three { gap: 2rem; }
}
