/* Layout concept: a bright company site built from framed, rounded panels, with a curved pale section holding the services. Headlines use the Playfair Display of the ChampGroup wordmark; one cobalt panel gives the page a strong accent. Single light look by choice. */
:root {
  color-scheme: light;
  --paper: #FFFFFF;
  --tint: #F1F4FC;
  --tint-2: #E2E8FA;
  --ink: #141826;
  --soft: #535B6E;
  --rule: #DFE4EF;
  --cobalt: #1B2BD0;
  --on-cobalt-soft: #DDE1FB;
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --radius-l: 28px;
  --radius-m: 18px;
  --step-small: .92rem;
  --step-body: 1.0625rem;
  --step-lead: clamp(1.12rem, 1.04rem + .45vw, 1.35rem);
  --step-h3: clamp(1.3rem, 1.2rem + .4vw, 1.55rem);
  --step-h2: clamp(2rem, 1.5rem + 2vw, 3.3rem);
  --step-h1: clamp(3.1rem, 1.8rem + 5.4vw, 6.6rem);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: var(--step-body); line-height: 1.6; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--paper); }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: var(--cobalt); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: var(--step-h1); line-height: 1.02; letter-spacing: -.02em; }
h2 { font-size: var(--step-h2); line-height: 1.1; }
h3 { font-size: var(--step-h3); line-height: 1.2; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.work-panel :focus-visible { outline-color: var(--paper); }
.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.band { padding-block: clamp(60px, 7vw, 104px); }
.tint { background: var(--tint); }
.lead { font-size: var(--step-lead); line-height: 1.45; color: var(--soft); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 28px; }
.grid > * { min-width: 0; }
.icon { width: 44px; height: 44px; fill: none; stroke: var(--cobalt); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-box { display: inline-grid; place-items: center; width: 64px; height: 64px; flex: none; background: var(--paper); border-radius: var(--radius-m); box-shadow: 0 6px 18px rgba(27, 43, 208, .1); }
.icon-box .icon { width: 36px; height: 36px; }

/* Header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--paper); }
.head-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 32px; padding-block: 10px; }
.head-right { display: flex; flex-wrap: wrap; align-items: center; gap: 4px clamp(18px, 2.6vw, 36px); }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 1.32rem; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.nav { display: flex; flex-wrap: wrap; gap: 2px clamp(16px, 2.2vw, 30px); font-weight: 500; }
.nav a { display: inline-block; padding-block: 6px; color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--rule); }
.nav a[aria-current] { color: var(--cobalt); border-bottom-color: var(--cobalt); }

/* Social buttons */
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; min-width: 32px; min-height: 32px; justify-content: center; color: var(--ink); font-weight: 500; text-decoration: none; transition: color .15s; }
.socials a:hover { color: var(--cobalt); }
.social-icon { width: 24px; height: 24px; fill: currentColor; }
.social-icon .glyph { fill: var(--paper); }
.socials.labelled { gap: 8px 20px; }

/* Home hero */
.hero .wrap { padding-block: 0; }
.hero-panel { position: relative; overflow: hidden; background: var(--tint); border-radius: var(--radius-l); }
.hero-art { position: absolute; top: 0; right: 0; width: 66%; height: 100%; object-fit: cover; object-position: 100% 50%; -webkit-mask-image: linear-gradient(to right, transparent, #000 22%); mask-image: linear-gradient(to right, transparent, #000 22%); }
.hero-copy { position: relative; max-width: 50%; min-width: 0; padding: clamp(56px, 7.5vw, 112px) clamp(24px, 4.5vw, 64px); }
.hero-copy .lead { margin-top: 20px; max-width: 30em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; min-height: 50px; padding: 10px 26px; font-weight: 600; text-decoration: none; border: 1px solid var(--cobalt); border-radius: 99px; transition: background .15s, color .15s; }
.btn-solid { background: var(--cobalt); color: var(--paper); }
.btn-solid:hover { background: transparent; color: var(--cobalt); }
.btn-ghost { background: transparent; color: var(--cobalt); }
.btn-ghost:hover { background: var(--cobalt); color: var(--paper); }
.btn-white { background: var(--paper); border-color: var(--paper); color: var(--cobalt); }
.btn-white:hover { background: transparent; color: var(--paper); }

/* Ticker */
.ticker-wrap { margin-top: 16px; }
.ticker { position: relative; overflow: hidden; padding-block: clamp(16px, 1.8vw, 22px); background: var(--tint); border-radius: var(--radius-m); }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 1; width: 72px; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(to right, var(--tint), transparent); }
.ticker::after { right: 0; background: linear-gradient(to left, var(--tint), transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; font-family: var(--display); font-size: clamp(1.05rem, 1rem + .35vw, 1.3rem); color: var(--ink); }
.ticker-track span { display: inline-flex; align-items: center; white-space: nowrap; }
.ticker-track span::after { content: ""; width: 7px; height: 7px; margin-inline: clamp(20px, 2.6vw, 36px); border-radius: 50%; background: var(--cobalt); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Intro and pillars */
.intro { padding-block: clamp(60px, 7vw, 100px); }
.center-head { max-width: 800px; margin-inline: auto; text-align: center; }
.center-head .lead { margin-top: 16px; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(36px, 4vw, 56px); }
.pillar { display: block; min-width: 0; overflow: hidden; background: var(--tint); border-radius: var(--radius-m); color: var(--ink); text-decoration: none; transition: transform .2s, background .2s; }
.pillar:hover { transform: translateY(-3px); background: var(--tint-2); }
.pillar img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent); mask-image: linear-gradient(to bottom, #000 82%, transparent); }
.pillar-text { display: block; padding: 4px clamp(24px, 2.8vw, 36px) clamp(24px, 2.8vw, 36px); }
.pillar h3 { font-size: clamp(1.6rem, 1.4rem + .7vw, 2.1rem); }
.pillar ul { margin-top: 12px; color: var(--soft); }
.pillar li { padding-block: 5px; }

/* Curved services section */
.curve { padding-block: clamp(64px, 7vw, 104px); background: var(--tint); border-radius: 50% 50% 0 0 / clamp(28px, 5vw, 76px) clamp(28px, 5vw, 76px) 0 0; scroll-margin-top: 70px; }
.split-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tile { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--paper); border-radius: var(--radius-m); color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(27, 43, 208, .12); }
.tile img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tile-text { min-width: 0; padding: 20px 22px 24px; }
.tile:hover h3 { color: var(--cobalt); }
.tile p { margin-top: 8px; color: var(--soft); font-size: var(--step-small); line-height: 1.55; }
.tile.big { grid-column: span 2; grid-row: span 2; }
.tile.big img { flex: 1; min-height: 0; aspect-ratio: auto; height: 1px; min-height: 280px; }
.tile.big h3 { font-size: clamp(1.7rem, 1.5rem + .7vw, 2.2rem); }
.tile.big p { font-size: 1rem; }
.tile.wide { grid-column: span 2; flex-direction: row; align-items: stretch; }
.tile.wide img { width: 42%; flex: none; aspect-ratio: auto; object-fit: cover; }
.tile.wide .tile-text { align-self: center; }

/* Who we are */
.who-band { padding-block: clamp(44px, 5vw, 72px); }
.offset-photo { grid-column: 1 / span 5; position: relative; margin: 0 16px 16px 0; }
.offset-photo::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; background: var(--tint-2); border-radius: var(--radius-l); }
.offset-photo img { position: relative; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-l); }
.who-copy { grid-column: 8 / -1; align-self: center; }
.who-copy .lead { margin-top: 16px; }

/* Work with us panel */
.work-panel { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 28px; align-items: center; padding: clamp(24px, 3.4vw, 44px); background: var(--cobalt); border-radius: var(--radius-l); color: var(--paper); }
.work-copy { grid-column: 1 / span 5; min-width: 0; padding-inline: clamp(0px, 1.4vw, 20px); }
.work-copy .lead { margin-top: 16px; color: var(--on-cobalt-soft); }
.work-photo { grid-column: 7 / -1; min-width: 0; }
.work-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-m); }

/* Info cards */
.info-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.info-card { min-width: 0; padding: clamp(24px, 2.6vw, 34px); background: var(--tint); border-radius: var(--radius-m); overflow-wrap: anywhere; }
.info-card p { margin-top: 10px; }
.info-card .socials { margin-top: 12px; }

/* Inner pages */
.page-panel { padding: clamp(40px, 5.5vw, 76px) clamp(24px, 4.5vw, 64px); background: var(--tint); border-radius: var(--radius-l); }
.page-panel h1 { font-size: clamp(2.5rem, 1.7rem + 3vw, 4.5rem); }
.page-panel .lead { margin-top: 16px; max-width: 40em; }
.crumb { margin-bottom: 14px; font-weight: 500; }
.head-icon { margin-bottom: 14px; }
.head-icon .icon { width: 56px; height: 56px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; }
.card { display: block; min-width: 0; padding: clamp(22px, 2.4vw, 32px); background: var(--paper); border-radius: var(--radius-m); color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(27, 43, 208, .12); }
.card h3 { margin-top: 16px; }
.card:hover h3 { color: var(--cobalt); }
.card p { margin-top: 8px; color: var(--soft); }
.band:not(.tint) .card { background: var(--tint); }
.split-copy, .main-col { grid-column: 1 / span 5; align-self: center; }
.main-col { grid-column: 1 / span 6; align-self: start; }
.aside-col { grid-column: 8 / -1; }
.split-copy .lead { margin-top: 18px; }
.split-copy > p { margin-top: 16px; }
.side-title { grid-column: 1 / span 5; }
.side-body { grid-column: 7 / -1; }
.prose h2 { margin-bottom: 4px; }
.prose p { margin-top: 16px; max-width: 62ch; }
.prose p:first-child { margin-top: 0; }
.prose h2 + p { margin-top: 14px; }
.main-col h2, .aside-col h2, .connects-title { font-size: clamp(1.7rem, 1.45rem + 1vw, 2.3rem); }
.ticks { margin-top: 16px; }
.ticks li { padding-block: 11px; border-top: 1px solid var(--rule); font-weight: 500; }
.ticks li:last-child { border-bottom: 1px solid var(--rule); }
.connects { margin-top: 14px; max-width: 40em; }
.photo { grid-column: 7 / -1; position: relative; aspect-ratio: 3 / 2; max-width: 100%; overflow: hidden; border-radius: var(--radius-m); background: var(--tint-2); }
.photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.facts > div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 16px; padding-block: 14px; border-top: 1px solid var(--rule); }
.facts > div:last-child { border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--soft); }
.facts dd { font-weight: 500; overflow-wrap: anywhere; }

/* Services page */
.services-hero .hero-art { width: 50%; -webkit-mask-image: linear-gradient(to right, transparent, #000 38%); mask-image: linear-gradient(to right, transparent, #000 38%); }
.services-hero .hero-copy { padding-block: clamp(44px, 5.5vw, 84px); }
.services-hero h1 { font-size: clamp(2.8rem, 1.8rem + 3.6vw, 5rem); }
.service-rows { display: grid; gap: 20px; }
.service-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; min-width: 0; overflow: hidden; background: var(--tint); border-radius: var(--radius-l); color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.service-row:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(27, 43, 208, .12); }
.service-row img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.service-row:nth-child(even) img { order: 2; }
.service-row-text { align-self: center; min-width: 0; padding: clamp(26px, 4vw, 56px); }
.service-row-text .lead { margin-top: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags li { padding: 5px 12px; background: var(--paper); border-radius: 99px; font-size: var(--step-small); font-weight: 500; line-height: 1.4; }

/* About page */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: clamp(32px, 4vw, 52px); }
.values li { min-width: 0; padding: clamp(24px, 2.6vw, 34px); background: var(--paper); border-radius: var(--radius-m); }
.values p { margin-top: 8px; color: var(--soft); }
.info-head { margin-bottom: clamp(24px, 3vw, 36px); }

/* Service detail pages */
.main-col { align-self: center; }
.aside-card { padding: clamp(24px, 3vw, 40px); background: var(--tint); border-radius: var(--radius-m); }
.aside-card .ticks li:last-child { border-bottom: 0; }
.aside-card .ticks li:first-child { border-top: 0; }

/* Careers */
.career-panel { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 28px; align-items: center; padding: clamp(24px, 3.6vw, 48px); background: var(--tint); border-radius: var(--radius-l); }
.career-copy { grid-column: 1 / span 6; min-width: 0; padding: clamp(0px, 1.6vw, 22px); }
.career-copy h1 { font-size: clamp(2.6rem, 1.7rem + 3.2vw, 4.7rem); }
.career-copy .lead { margin-top: 18px; }
.career-photo { grid-column: 7 / -1; min-width: 0; }
.career-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-m); }
.two-text { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(32px, 6vw, 88px); }
.two-text > div { min-width: 0; }
.small-title { font-size: clamp(1.6rem, 1.4rem + .9vw, 2.2rem); margin-bottom: 10px; }
.two-text p { color: var(--soft); }
.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: clamp(36px, 4vw, 56px); }
.perks li { min-width: 0; overflow: hidden; background: var(--tint); border-radius: var(--radius-m); font-family: var(--display); font-weight: 500; font-size: clamp(1.15rem, 1.05rem + .35vw, 1.35rem); line-height: 1.25; }
.perks img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent); mask-image: linear-gradient(to bottom, #000 82%, transparent); }
.perks span { display: block; padding: 0 clamp(18px, 2vw, 26px) clamp(20px, 2.2vw, 28px); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }
.filter { min-width: 0; flex: 0 1 240px; }
.filter label { display: block; margin-bottom: 5px; font-size: var(--step-small); color: var(--soft); }
.filter select { width: 100%; min-height: 48px; padding: 8px 14px; background: var(--paper); color: var(--ink); border: 1px solid var(--rule); border-radius: 12px; font: 500 1rem var(--body); }
.jobs { display: grid; gap: 14px; max-width: 980px; margin: 28px auto 0; }
.job { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; min-width: 0; padding: clamp(20px, 2.4vw, 30px) clamp(22px, 2.8vw, 36px); background: var(--paper); border-radius: var(--radius-m); color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.job:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(27, 43, 208, .12); }
.job-main { display: block; min-width: 0; }
.job-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; color: var(--soft); }
.job-more { flex: none; padding: 9px 20px; border: 1px solid var(--cobalt); border-radius: 99px; color: var(--cobalt); font-weight: 600; transition: background .15s, color .15s; }
.job:hover .job-more { background: var(--cobalt); color: var(--paper); }
.no-jobs { margin-top: 24px; text-align: center; color: var(--soft); }
.apply-note { margin-top: 24px; text-align: center; color: var(--soft); overflow-wrap: anywhere; }
.work-section { padding-block: clamp(60px, 7vw, 100px); }
.curve + .work-section { background: var(--tint); }
.band + .work-section { padding-top: 0; }
.work-section + .band { padding-top: 0; }

/* Footer */
.site-foot { padding-block: 20px; }
.foot-panel { padding: clamp(28px, 3.4vw, 44px) clamp(24px, 3.6vw, 48px) 24px; background: var(--tint-2); border-radius: var(--radius-l); }
.foot-row { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 18px 48px; }
.foot-row > * { min-width: 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; max-width: 620px; }
.foot-links a { color: var(--ink); }
.foot-base { margin-top: 24px; font-size: var(--step-small); color: var(--soft); }

@media (max-width: 1040px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perks, .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .site-head { position: static; }
  .hero-art { position: static; width: 100%; height: auto; aspect-ratio: 3 / 2; object-position: 80% 50%; -webkit-mask-image: none; mask-image: none; }
  .services-hero .hero-art { width: 100%; -webkit-mask-image: none; mask-image: none; }
  .hero-copy { max-width: none; padding-top: 24px; }
  .split-copy, .main-col, .aside-col, .photo, .side-title, .side-body, .offset-photo, .who-copy, .work-copy, .work-photo, .career-copy, .career-photo { grid-column: 1 / -1; }
  .pillars, .info-cards, .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-row { grid-template-columns: minmax(0, 1fr); }
  .service-row img { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .service-row:nth-child(even) img { order: 0; }
}
@media (max-width: 620px) {
  .pillars, .info-cards, .cards, .cards.two, .bento, .perks, .two-text { grid-template-columns: minmax(0, 1fr); }
  .values { grid-template-columns: minmax(0, 1fr); }
  .tile.big, .tile.wide { grid-column: auto; grid-row: auto; flex-direction: column; }
  .tile.big img, .tile.wide img { flex: none; width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .tile.wide .tile-text { align-self: auto; }
  .perks img { aspect-ratio: 3 / 2; }
  .filter { flex: 1 1 100%; }
  .facts > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .hero-copy h1 { font-size: clamp(2.8rem, 15vw, 4rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .btn, .card, .tile, .job, .job-more, .pillar, .socials a, .service-row { transition: none; }
  .pillar:hover, .tile:hover, .card:hover, .job:hover, .service-row:hover { transform: none; }
}
