@font-face {
  font-family: Inter;
  src: url('assets/inter-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #191c20;
  --muted: #505b65;
  --line: #dce2e6;
  --soft: #f6f8f9;
  --accent: #345b61;
  --action: #17191c;
  --radius: 8px;
  --shell: 1180px;
  font-family: Inter, Arial, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
:where(a, button):focus-visible {
  outline: 3px solid #416b7b;
  outline-offset: 4px;
}
[hidden] { display: none !important; }
p, h1, h2, h3, figure { margin: 0; }
p { line-height: 1.65; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.04em; }
section[id] { scroll-margin-top: 24px; }

.shell {
  width: min(var(--shell), calc(100% - 80px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: .65rem 1rem;
  border-radius: 6px;
  color: #fff;
  background: var(--action);
}
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: inline-flex; flex: none; align-items: center; }
.brand-crop { width: 124px; height: 50px; overflow: hidden; display: block; position: relative; }
.brand img {
  width: 100%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  mix-blend-mode: multiply;
}
nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .35rem clamp(.9rem, 2.5vw, 1.8rem); }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .88rem; font-weight: 600; text-decoration: none; }
nav a:not(.nav-contact):hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: .25em; }
.nav-contact {
  padding: .55rem .85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background .16s, border-color .16s;
}
.nav-contact:hover { background: var(--soft); border-color: #b7c2c9; }
.nav-contact span, .button span, .text-link span { margin-left: .45rem; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5.3vw, 4.5rem);
  padding-block: clamp(3rem, 5.5vw, 4.65rem);
}
.eyebrow {
  color: var(--muted);
  font-size: .875rem;
  font-weight: 550;
  line-height: 1.45;
}
.hero h1 {
  margin-top: .85rem;
  font-size: clamp(2.75rem, 5.25vw, 4.6rem);
  line-height: 1.02;
  font-weight: 720;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.hero-lead { max-width: 34rem; margin-top: 1.2rem; font-size: clamp(1rem, 1.35vw, 1.15rem); color: var(--muted); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem .75rem; margin-top: 1.55rem; }
.button, .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .66rem .95rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.35;
  transition: background .16s, border-color .16s;
}
.primary, .dark { color: #fff; background: var(--action); border-color: var(--action); }
.primary:hover, .dark:hover { background: #32363c; border-color: #32363c; }
.text-link { border-color: #c9d1d7; background: var(--paper); }
.text-link:hover { background: var(--soft); border-color: #aab7c0; }

.hero-art {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
}
.hero-art img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

.sector-strip { border-block: 1px solid var(--line); background: var(--soft); }
.sector-inner { display: flex; align-items: center; gap: clamp(1rem, 3.2vw, 2.5rem); min-height: 59px; }
.sector-inner p { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem clamp(.55rem, 1.7vw, 1.2rem); font-size: .9rem; font-weight: 600; }
.sector-inner p span { color: #65747e; font-weight: 450; }

.section { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(2.5rem, 6.8vw, 6.25rem); padding-block: clamp(3.25rem, 7vw, 6rem); }
.section-intro h2, .contact h2 { font-size: clamp(2.05rem, 4vw, 3.6rem); margin-top: .65rem; font-weight: 700; text-wrap: balance; }
.section-intro > p:not(.eyebrow), .contact-inner p:not(.eyebrow) { margin-top: .95rem; color: var(--muted); font-size: 1rem; }
.service { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service h3 { font-size: clamp(1.22rem, 2.2vw, 1.68rem); font-weight: 680; letter-spacing: -.035em; }
.service p { margin-top: .47rem; color: var(--muted); }

.platforms { padding-bottom: clamp(3.25rem, 6vw, 5.4rem); }
.platforms .section-intro { max-width: 44rem; }
.platform-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 1.45rem; border-block: 1px solid var(--line); }
.platform-group { min-width: 0; padding: 1.05rem 1.15rem; }
.platform-group:first-child { padding-inline-start: 0; }
.platform-group + .platform-group { border-inline-start: 1px solid var(--line); }
.platform-group h3 { font-size: 1.08rem; font-weight: 680; letter-spacing: -.025em; }
.platform-group p { margin-top: .45rem; color: var(--muted); font-size: .92rem; overflow-wrap: anywhere; }

.work { border-block: 1px solid var(--line); background: var(--soft); }
.work-inner { padding-block: clamp(3.25rem, 6vw, 5.4rem); }
.work-intro { max-width: 44rem; margin-bottom: clamp(1.3rem, 3.2vw, 2.4rem); }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 1.6vw, 1.1rem); }
.case-study {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}
.case-copy { padding: clamp(1rem, 2vw, 1.45rem); }
.case-copy .eyebrow { color: var(--accent); font-size: .8rem; }
.case-copy h3 { margin-top: .45rem; font-size: clamp(1.24rem, 2vw, 1.7rem); font-weight: 700; text-wrap: balance; }
.case-copy > p:not(.eyebrow) { margin-top: .6rem; color: var(--muted); font-size: .94rem; }
.case-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 7rem), 1fr));
  gap: .6rem .9rem;
  margin: .8rem 0 0;
  padding-top: .7rem;
  border-top: 1px solid var(--line);
}
.case-metrics div { min-width: 0; display: grid; gap: .25rem; align-content: start; }
.case-metrics dt { color: var(--muted); font-size: .8rem; line-height: 1.45; }
.case-metrics dd { margin: 0; color: var(--accent); font-size: clamp(1.25rem, 2.3vw, 1.95rem); font-weight: 720; line-height: 1.13; letter-spacing: -.035em; overflow-wrap: anywhere; }
.case-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--soft);
}
.hero-art img, .case-image img, .profile-photo { filter: saturate(.72) contrast(.96) brightness(1.015); }
.case-image figcaption { padding: .45rem clamp(1rem, 2vw, 1.45rem) 0; color: var(--muted); font-size: .77rem; line-height: 1.5; }
.case-image figcaption a { color: var(--accent); text-underline-offset: .2em; }

.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; margin-top: .9rem; }
.work-card { min-width: 0; padding: clamp(1rem, 2vw, 1.5rem); border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.work-card .eyebrow { color: var(--accent); font-size: .8rem; font-weight: 620; }
.work-card h3 { margin-top: .45rem; font-size: clamp(1.15rem, 1.8vw, 1.48rem); font-weight: 690; overflow-wrap: anywhere; }
.work-card p:not(.eyebrow) { margin-top: .58rem; color: var(--muted); font-size: .92rem; overflow-wrap: anywhere; }
.work-card p strong { color: var(--ink); }

.about { align-items: center; }
.about .section-intro { max-width: 30rem; }
.profile { width: min(100%, 13rem); justify-self: start; }
.profile-photo { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: center 63%; border: 1px solid var(--line); border-radius: 8px; }
.profile figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem .75rem; margin-top: .65rem; }
.profile figcaption strong { font-size: 1rem; font-weight: 680; }
.profile figcaption span { color: var(--muted); font-size: .875rem; }

.contact { padding-bottom: clamp(2.5rem, 5.5vw, 5rem); }
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.3rem, 4vw, 2.7rem);
  padding: clamp(1.35rem, 4.6vw, 3.55rem);
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #f3f6f7;
}
.contact h2 { max-width: 17ch; }
.contact-inner p:not(.eyebrow) { max-width: 36rem; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; min-width: 0; }
.email-address { color: var(--accent); font-size: .88rem; font-weight: 600; overflow-wrap: anywhere; text-underline-offset: .25em; }
.site-footer { border-top: 1px solid var(--line); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: .45rem 1.2rem; padding-block: 1.25rem 1.8rem; color: var(--muted); font-size: .78rem; }
.site-footer > span, .site-footer > a { color: var(--ink); font-weight: 650; }
.site-footer a { text-decoration: none; }
.company-details p { overflow-wrap: anywhere; }

@media (max-width: 1000px) {
  .shell { width: min(var(--shell), calc(100% - 64px)); }
  .hero { gap: clamp(1.5rem, 4.5vw, 3rem); }
  .platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-group:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .platform-group:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { min-height: 67px; gap: .65rem; }
  .brand-crop { width: 108px; height: 45px; }
  nav { gap: .25rem .75rem; }
  nav a { font-size: .8rem; }
  .nav-contact { padding: .42rem .56rem; }
  .nav-contact span { display: none; }
  .hero, .section, .case-grid, .contact-inner { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 1.65rem; padding-block: 2.5rem 2.2rem; }
  .hero h1 { font-size: clamp(2.55rem, 9.4vw, 4.2rem); }
  .hero-lead { margin-top: .95rem; }
  .actions { margin-top: 1.25rem; }
  .hero-art { width: 100%; max-width: 36rem; }
  .sector-inner { align-items: flex-start; flex-direction: column; gap: .25rem; padding-block: .75rem; }
  .section { gap: 1.55rem; padding-block: 2.75rem; }
  .platforms { padding-bottom: 2.75rem; }
  .work-inner { padding-block: 2.75rem; }
  .contact-inner { gap: 1.15rem; }
  .site-footer { grid-template-columns: 1fr; justify-items: start; gap: .45rem; }
}

@media (max-width: 520px) {
  .platform-grid, .work-grid { grid-template-columns: minmax(0, 1fr); }
  .platform-group { padding-inline: 0; }
  .platform-group + .platform-group { border-top: 1px solid var(--line); border-inline-start: 0; }
}

@media (max-width: 400px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { flex-wrap: wrap; gap: .1rem .55rem; padding-block: .3rem; }
  .brand-crop { width: 92px; height: 39px; }
  nav { gap: .2rem .55rem; }
  nav a { font-size: .76rem; }
}

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