:root {
  --bg: #020304;
  --panel: #070a0d;
  --panel-soft: #0b1015;
  --text: #f4f7f9;
  --muted: #8c99a6;
  --quiet: #596470;
  --line: rgba(255,255,255,.105);
  --line-strong: rgba(255,255,255,.2);
  --blue: #00a9ff;
  --blue-soft: rgba(0,169,255,.13);
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(90deg, rgba(0,169,255,.035), transparent 18rem, transparent calc(100% - 18rem), rgba(0,169,255,.04)),
    linear-gradient(180deg, #020304 0%, #05070a 42%, #020304 100%);
  color: var(--text);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 28px clamp(20px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(2,3,4,.92), rgba(2,3,4,.58) 68%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 112px;
}

.brand img {
  display: block;
  width: 118px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  color: var(--muted);
  font-size: 13px;
}

.nav-links a {
  transition: color .2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 150px) clamp(20px, 4vw, 56px);
}

#capabilities,
#work,
#contact {
  scroll-margin-top: 28px;
}

.hero {
  min-height: 820px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(44px, 7vw, 112px);
  padding-top: clamp(72px, 8vw, 118px);
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero-copy,
.split > div,
.statement,
.section-heading,
.about-copy {
  min-width: 0;
}

h1 {
  max-width: 690px;
  margin-bottom: 28px;
  font-size: clamp(56px, 7.4vw, 106px);
  line-height: .94;
  font-weight: 500;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 5vw, 76px);
  line-height: .98;
  font-weight: 500;
}

h3 {
  font-size: 23px;
  line-height: 1.12;
  font-weight: 500;
}

.hero-text {
  max-width: 640px;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
}

.button.primary {
  border-color: rgba(0,169,255,.55);
  background: var(--blue);
  color: #001018;
}

.button.ghost {
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  border-left: 1px solid var(--line);
}

.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .92;
  transform: scale(1.04);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2,3,4,.88), transparent 33%),
    linear-gradient(180deg, transparent 45%, rgba(2,3,4,.82));
}

.signal-panel {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  width: min(280px, calc(100% - 56px));
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(6, 10, 14, .74);
  backdrop-filter: blur(22px);
}

.signal-panel span,
.signal-panel small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.signal-panel strong {
  display: block;
  margin: 8px 0 6px;
  color: var(--text);
  font-size: 34px;
  font-weight: 500;
}

.statement {
  padding-top: 20px;
  padding-bottom: 36px;
}

.statement p {
  max-width: 1020px;
  margin: 0;
  color: var(--text);
  font-size: clamp(36px, 5.6vw, 88px);
  line-height: 1;
  font-weight: 500;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(420px, 1fr);
  gap: clamp(46px, 8vw, 120px);
  align-items: start;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.capability-grid article {
  min-height: 240px;
  padding: clamp(22px, 3vw, 36px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
}

.capability-grid article.emphasised {
  background:
    radial-gradient(circle at 82% 12%, rgba(0,169,255,.16), transparent 12rem),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
}

.capability-grid article.emphasised h3 {
  color: #eaf8ff;
}

.capability-grid article.emphasised span {
  color: var(--quiet);
}

.capability-grid span,
.work-card p {
  color: var(--quiet);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.capability-grid h3 {
  margin: 46px 0 16px;
}

.capability-grid p,
.about-copy p,
.work-card span {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.trusted {
  margin-top: clamp(-84px, -5vw, -46px);
  margin-bottom: clamp(-84px, -5vw, -46px);
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.logo-row span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  padding: 18px;
  border-right: 1px solid var(--line);
  color: rgba(244,247,249,.36);
  font-size: 15px;
  font-weight: 500;
  text-align: center;
}

.logo-row span:last-child {
  border-right: 0;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 54px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.work-card {
  min-height: 390px;
  padding: clamp(24px, 3.2vw, 42px);
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 42%),
    var(--panel);
}

.work-card.featured {
  background:
    radial-gradient(circle at 80% 12%, rgba(0,169,255,.19), transparent 18rem),
    linear-gradient(180deg, rgba(255,255,255,.055), transparent 42%),
    var(--panel-soft);
}

.work-card h3 {
  margin: 90px 0 18px;
  font-size: clamp(26px, 3vw, 42px);
}

.about {
  padding-top: clamp(36px, 4.5vw, 76px);
  padding-bottom: clamp(36px, 4.5vw, 76px);
}

.about-copy {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.about-copy p {
  max-width: 760px;
  font-size: 22px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  background: var(--line);
  border: 1px solid var(--line);
}

.metrics div {
  padding: 26px 22px;
  background: var(--bg);
}

.metrics strong,
.metrics span {
  display: block;
}

.metrics strong {
  font-size: 40px;
  font-weight: 500;
}

.metrics span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}

.contact {
  padding-bottom: 90px;
}

.contact h2 {
  max-width: 980px;
  margin-bottom: 48px;
}

.contact-lines {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-lines a {
  padding: 28px 20px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 18px;
}

.contact-lines span {
  padding: 28px 20px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 18px;
}

.contact-lines a:hover {
  color: var(--text);
}

.contact-lines > :last-child {
  border-right: 0;
}

.site-footer {
  margin: 24px 0 0;
  color: rgba(244,247,249,.32);
  font-size: 12px;
  letter-spacing: .08em;
}

@media (max-width: 900px) {
  .site-header {
    padding: 20px;
  }

  .brand img {
    width: 104px;
  }

  .nav-links {
    gap: 16px;
    font-size: 12px;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 36px;
    padding-top: 64px;
  }

  .hero-visual {
    min-height: 430px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .capability-grid,
  .work-grid,
  .contact-lines {
    grid-template-columns: 1fr;
  }

  .logo-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-row span {
    border-bottom: 1px solid var(--line);
  }

  .logo-flow {
    justify-content: flex-start;
    gap: 28px;
    overflow-x: auto;
    padding: 22px 0;
  }

  .logo-flow img {
    max-width: 68px;
    max-height: 26px;
  }

  .trusted-names .eyebrow {
    max-width: 340px;
    letter-spacing: .14em;
  }

  .work-card {
    min-height: 300px;
  }

  .work-card h3 {
    margin-top: 56px;
  }

  .contact-lines a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-lines span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    max-width: 330px;
    font-size: 36px;
    line-height: 1.02;
  }

  h2 {
    max-width: 330px;
    font-size: 30px;
    line-height: 1.04;
  }

  .contact h2,
  .section-heading h2,
  .split h2 {
    max-width: 330px;
    font-size: 30px;
    line-height: 1.04;
  }

  .statement p {
    max-width: 330px;
    font-size: 29px;
    line-height: 1.04;
  }

  .hero-text,
  .about-copy p {
    max-width: 330px;
    font-size: 15px;
  }

  .section h1,
  .section h2,
  .section h3,
  .section p,
  .work-card span,
  .contact-lines a,
  .contact-lines span {
    overflow-wrap: break-word;
  }

  .button {
    width: 100%;
  }

  .capability-grid {
    display: block;
    border-left: 0;
  }

  .capability-grid article {
    min-height: 220px;
    border-left: 1px solid var(--line);
  }

  .hero-visual {
    min-height: 360px;
  }

  .work-card h3 {
    max-width: 300px;
    font-size: 24px;
  }

  .work-card span,
  .capability-grid p,
  .about-copy p {
    display: block;
    max-width: 300px;
  }

  .signal-panel {
    right: 18px;
    bottom: 18px;
    width: calc(100% - 36px);
  }

  .logo-row {
    grid-template-columns: 1fr;
  }

  .metrics {
    grid-template-columns: 1fr;
  }
}

/* Presentation-led homepage concept */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  background: transparent;
  backdrop-filter: none;
}

.brand img {
  width: 114px;
}

.hero {
  position: relative;
  display: block;
  min-height: 760px;
  overflow: hidden;
  width: min(100%, var(--max));
  padding: 132px clamp(20px, 4vw, 64px) 28px;
  border-left: 1px solid rgba(255,255,255,.03);
  background:
    linear-gradient(90deg, rgba(0,0,0,.96) 0%, rgba(0,0,0,.72) 45%, rgba(0,0,0,.06) 100%),
    #000;
}

.hero-architecture {
  position: absolute;
  top: 0;
  right: -12px;
  width: 80%;
  height: 565px;
  object-fit: cover;
  object-position: right top;
  opacity: .92;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0 44%, rgba(0,0,0,.62) 48%, rgba(0,0,0,.94) 100%),
    linear-gradient(90deg, transparent 50%, rgba(0,169,255,.035) 68%, transparent 86%);
  pointer-events: none;
}

.hero-copy,
.hero-lower {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  max-width: 780px;
  margin: 0;
  color: rgba(244,247,249,.78);
  font-size: clamp(58px, 5.2vw, 86px);
  line-height: 1.08;
  font-weight: 400;
}

.hero-copy h1 span {
  display: block;
}

.hero-copy h1 .accent {
  color: #0b84ff;
}

@media (min-width: 1500px) {
  .hero-architecture {
    right: -88px;
    width: 72%;
  }
}

.scroll-cue {
  margin-top: 20px;
  color: rgba(244,247,249,.66);
}

.scroll-cue span {
  display: block;
  width: 1px;
  height: 30px;
  margin-bottom: 9px;
  background: rgba(244,247,249,.75);
}

.scroll-cue small {
  display: block;
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: uppercase;
}

.hero-lower {
  margin-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
}

.hero-statement {
  margin: 0;
  padding: 22px 0 20px;
  color: var(--text);
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.3;
  text-align: center;
}

.hero-statement span {
  color: #0b84ff;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.hero-metrics div {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.13);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: clamp(31px, 3vw, 42px);
  line-height: 1;
  font-weight: 400;
}

.hero-metrics span {
  display: block;
  color: rgba(244,247,249,.62);
  font-size: 15px;
  line-height: 1.35;
}

.capability-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-bottom: 1px solid var(--line-strong);
}

.capability-strip article {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 14px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.13);
}

.capability-strip article.highlighted {
  background:
    radial-gradient(circle at 78% 18%, rgba(0,169,255,.14), transparent 9rem),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
}

.capability-strip article:last-child {
  border-right: 0;
}

.capability-strip svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: rgba(244,247,249,.86);
}

.capability-strip span {
  color: rgba(244,247,249,.84);
  font-size: 14px;
  line-height: 1.16;
}

.hero .hero-text,
.hero .hero-actions,
.hero-visual,
.signal-panel {
  display: none;
}

.statement {
  display: none;
}

.work-card p {
  color: rgba(244,247,249,.34);
}

@media (max-width: 900px) {
  .site-header {
    position: relative;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .hero-architecture {
    top: 146px;
    right: -24%;
    width: 128%;
    height: 360px;
    object-fit: contain;
    object-position: right top;
    opacity: .32;
  }

  .hero-copy h1 {
    max-width: 520px;
    font-size: clamp(46px, 10vw, 70px);
  }

  .hero-lower {
    margin-top: 38px;
  }

  .hero-metrics,
  .capability-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-metrics div,
  .capability-strip article {
    border-right: 1px solid rgba(255,255,255,.13);
    border-bottom: 1px solid rgba(255,255,255,.13);
  }

  .hero-metrics div:nth-child(2n),
  .capability-strip article:nth-child(2n) {
    border-right: 0;
  }

  .hero-metrics div:last-child {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 0;
  }

  .capability-strip article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 28px 16px 20px;
  }

  .hero-copy h1 {
    max-width: 330px;
    font-size: 38px;
    line-height: 1.08;
  }

  .scroll-cue {
    display: none;
  }

  .hero-lower {
    margin-top: 34px;
  }

  .hero-statement {
    text-align: left;
  }
}
