:root {
  --acc: #2f6bff;
}

/* brand accent — change this one value to re-colour the whole site */

* {
  box-sizing: border-box
}

body {
  margin: 0;
  font-family: 'Hanken Grotesque', system-ui, sans-serif;
  color: #0d1a30;
  background: #fff;
  -webkit-font-smoothing: antialiased
}

a {
  color: var(--acc);
  text-decoration: none;
  cursor: pointer
}

a:hover {
  filter: brightness(.85)
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.02em;
  color: #0d1a30
}

p {
  margin: 0
}

button {
  font-family: inherit
}

.wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 44px
}

.sec {
  padding: 100px 0
}

.disp {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1
}

.mono {
  font-family: 'Space Mono', monospace;
  letter-spacing: .16em;
  text-transform: uppercase
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--acc)
}

.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: currentColor;
  display: inline-block
}

.c-acc {
  color: var(--acc)
}

.bg-acc {
  background: var(--acc)
}

.bd-acc {
  border-color: var(--acc)
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: 16px 26px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: filter .15s, background .15s, color .15s, border-color .15s;
  white-space: nowrap;
  text-decoration: none
}

.btn-fill {
  color: #fff;
  background: var(--acc)
}

.btn-fill:hover {
  filter: brightness(.92)
}

.btn-ghost {
  background: transparent;
  color: #0d1a30;
  border-color: #0d1a30
}

.btn-ghost:hover {
  background: #0d1a30;
  color: #fff
}

.btn-lined {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .35)
}

.btn-lined:hover {
  background: #fff;
  color: #0d1a30;
  border-color: #fff
}

.btn-white {
  background: #fff;
  color: #0d1a30
}

.btn-white:hover {
  filter: brightness(.94)
}

/* Placeholder image slot — drop a real <img> in its place when ready */
.ph {
  position: relative;
  background-color: #eef1f6;
  background-image: repeating-linear-gradient(135deg, rgba(13, 26, 48, .045) 0 10px, transparent 10px 20px);
  border: 1px solid #d7dee8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden
}

.ph::before,
.ph::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(13, 26, 48, .22);
  z-index: 1
}

.ph::before {
  left: 12px;
  top: 12px;
  border-right: 0;
  border-bottom: 0
}

.ph::after {
  right: 12px;
  bottom: 12px;
  border-left: 0;
  border-top: 0
}

.ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  bottom: 0;
  right: 0;
}

.ph-l {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: .14em;
  color: #8a94a6;
  text-transform: uppercase;
  text-align: center;
  padding: 0 14px
}

.ov {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  background: linear-gradient(to top, rgba(9, 20, 40, .9), rgba(9, 20, 40, 0));
  z-index: 2
}

.ov_secondary {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding-block: 16px;
  padding-inline: 15px;
  z-index: 2
}

.ov_portfolio {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding-block: 16px;
  padding-inline: 15px;
  z-index: 2;
  backdrop-filter: blur(10px);
  background: rgba(93, 93, 93, 0.5);
}

.bp-light {
  background-image: linear-gradient(rgba(13, 26, 48, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(13, 26, 48, .05) 1px, transparent 1px);
  background-size: 36px 36px
}

.bp-dark {
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 36px 36px
}

.num-out {
  font-family: 'Bricolage Grotesque';
  font-weight: 800;
  color: #c3ccd6;
  line-height: .9;
  letter-spacing: -.02em
}

.num-out-d {
  color: rgba(255, 255, 255, .28)
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Mono', monospace;
  font-size: 11.5px;
  letter-spacing: .05em;
  padding: 9px 14px;
  border: 1px solid #d7dee8;
  color: #33405a;
  background: #fff
}

.card {
  background: #fff;
  border: 1px solid #e5e9f0;
  transition: border-color .15s
}

.card:hover {
  border-color: var(--acc)
}

.card-d {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: border-color .15s
}

.card-d:hover {
  border-color: var(--acc)
}

.topbar {
  background: #0a1526;
  color: #c4cee0
}

.topbar-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
  font-family: 'Space Mono', monospace;
  font-size: 11.5px;
  letter-spacing: .09em
}

.hd {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e8ebf1
}

.hd-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Bricolage Grotesque';
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -.02em;
  color: #0d1a30;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  text-decoration: none
}

.mk {
  width: 24px;
  height: 24px;
  transform: rotate(45deg);
  flex: none
}

.nav {
  display: flex;
  gap: 2px;
  align-items: center
}

.navlink {
  position: relative;
  font-weight: 600;
  font-size: 15px;
  color: #39445a;
  background: none;
  border: 0;
  padding: 9px 15px;
  cursor: pointer;
  text-decoration: none
}

.navlink:hover {
  color: #0d1a30;
  filter: none
}

.navlink.act {
  color: #0d1a30
}

.navdot {
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: -1px;
  height: 2px;
  background: var(--acc)
}

.ticker {
  color: #fff;
  padding: 17px 0;
  overflow: hidden;
  background: var(--acc)
}

.ticker-in {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  align-items: center;
  font-family: 'Bricolage Grotesque';
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .01em;
  color: #fff
}

.ticker-in span {
  opacity: .55;
  font-size: 12px
}

.pagehd {
  position: relative;
  background: #0c1a33;
  color: #fff;
  overflow: hidden;
  padding: 74px 0 66px
}

.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 70px 0;
  border-top: 1px solid #e5e9f0
}

.svc-row:nth-child(even) .svc-media {
  order: 2
}

.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  grid-auto-rows: 250px
}

.pf-grid .ph:nth-child(6n+1) {
  grid-row: span 2
}

.gallery-grid {
  column-count: 3;
  column-gap: 14px
}

.gallery-grid .ph-image {
  break-inside: avoid;
  margin-bottom: 14px
}

.gallery-grid .ph-image img {
  position: static;
  width: 100%;
  height: auto;
  object-fit: initial
}

.fld {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d7dee8;
  background: #fff;
  font-family: 'Hanken Grotesque';
  font-size: 15px;
  color: #0d1a30
}

.fld:focus {
  outline: none;
  border-color: var(--acc)
}

.lbl {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #66707f;
  margin-bottom: 8px
}

.foot {
  background: #0a1526;
  color: #9fabbf
}

.g-hero {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 0;
  align-items: stretch
}

.g-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px
}

.g-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.g-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px
}

.g-4>* {
  min-width: 0
}

.g-foot {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px
}

.footcol {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.footcol a {
  color: #c4cee0;
  font-size: 14.5px
}

.footcol a:hover {
  color: #fff;
  filter: none
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px
}

.client-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1/1;
  background: #fff;
  border: 1px solid #e5e9f0;
  transition: border-color .15s
}

.client-cell:hover {
  border-color: var(--acc)
}

.svc-list-row {
  display: grid;
  grid-template-columns: 96px 1.4fr 1fr 44px;
  gap: 26px;
  align-items: center;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-top: 1px solid #dbe1ec;
  cursor: pointer;
  padding: 30px 8px
}

.home-work {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-auto-rows: 230px;
  gap: 14px
}

.home-work>a:first-child {
  grid-column: 1;
  grid-row: span 2
}

.contact-grid {
  grid-template-columns: 1.3fr .9fr
}

/* Page routing — only the active page is shown */
.page {
  display: none
}

.page.active {
  display: block
}

.hamb {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 60px;
  height: 44px;
  aspect-ratio: 1;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px
}

.hamb span {
  display: block;
  height: 2px;
  background: #0d1a30;
  transition: transform .2s, opacity .2s
}

.hamb.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

.hamb.open span:nth-child(2) {
  opacity: 0
}

.hamb.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}


.mobmenu {
  display: none;
  border-top: 1px solid #e8ebf1;
  background: #fff;
  padding: 10px 24px 22px;
  flex-direction: column;
  gap: 2px
}

.mobmenu.open {
  display: flex
}

.mobmenu .navlink {
  display: block;
  text-align: left;
  padding: 14px 4px;
  font-size: 17px;
  border-bottom: 1px solid #f0f2f6
}

.mobmenu .navlink.act {
  color: var(--acc);
  font-weight: 700
}

@media(max-width:980px) {

  .g-hero,
  .g-2,
  .svc-row {
    grid-template-columns: 1fr;
    gap: 36px
  }

  .g-3,
  .g-4,
  .pf-grid {
    grid-template-columns: 1fr 1fr
  }

  .gallery-grid {
    column-count: 2
  }

  .wrap {
    padding: 0 24px
  }

  .sec {
    padding: 66px 0
  }

  .nav {
    display: none
  }

  #nav-quote {
    display: none
  }

  .hamb {
    display: flex
  }

  .svc-row:nth-child(even) .svc-media {
    order: 0
  }

  .g-foot {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px
  }

  .g-cta {
    flex-direction: column;
    align-items: flex-start
  }

  .contact-grid {
    grid-template-columns: 1fr
  }

  .home-work {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 190px
  }

  .home-work>a:first-child {
    grid-column: auto;
    grid-row: auto
  }

  .svc-list-row {
    grid-template-columns: 64px 1fr;
    gap: 8px 16px;
    padding: 22px 4px
  }

  .svc-list-row .svc-desc {
    grid-column: 1 / -1
  }

  .svc-list-row .svc-arrow {
    display: none
  }

  .clients-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

@media(max-width:560px) {

  .g-3,
  .g-4,
  .pf-grid,
  .g-foot {
    grid-template-columns: 1fr
  }

  .gallery-grid {
    column-count: 1
  }

  .topbar-in span:last-child {
    display: none
  }

  .topbar-in {
    font-size: 10px
  }

  .home-work {
    grid-template-columns: 1fr
  }

  .clients-grid {
    grid-template-columns: 1fr 1fr
  }
}