:root {
  --ink: #071522;
  --ink-soft: #52616d;
  --navy: #06131f;
  --navy-2: #0a2234;
  --navy-3: #10334a;
  --blue: #0866ff;
  --blue-light: #5aa7ff;
  --cyan: #39d6e7;
  --white: #ffffff;
  --paper: #f4f7fa;
  --line: #dbe3e9;
  --line-dark: rgba(155, 188, 210, 0.18);
  --green: #25d366;
  --shell: min(1240px, calc(100% - 64px));
  --radius: 16px;
  --shadow: 0 26px 80px rgba(2, 19, 33, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 16px;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: var(--shell);
  margin: 0 auto;
}

.section {
  padding: clamp(92px, 9vw, 140px) 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-top: 4px solid var(--blue);
  border-bottom: 1px solid rgba(219, 227, 233, 0.9);
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(18px);
}

.header-shell {
  width: var(--shell);
  min-height: 96px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 34px;
}

.brand {
  width: 164px;
  display: flex;
  align-items: center;
}

.brand img {
  width: 100%;
  height: auto;
  display: block;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  position: relative;
  padding: 34px 0 31px;
  color: #263542;
  font-size: 14px;
  font-weight: 650;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta,
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 750;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.header-cta {
  color: var(--white);
  background: var(--navy);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
}

.hero {
  color: var(--white);
  background:
    radial-gradient(circle at 82% 24%, rgba(8, 102, 255, 0.24), transparent 32%),
    linear-gradient(90deg, rgba(90, 167, 255, 0.06) 1px, transparent 1px) 0 0 / 96px 100%,
    var(--navy);
  overflow: hidden;
}

.hero-grid {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 0;
  padding: 86px 0 90px;
}

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

.eyebrow,
.section-kicker,
.project-area,
.capability-card > span,
.compact-project > span,
.footer-column > span {
  margin: 0;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
  color: var(--blue-light);
}

.eyebrow span {
  width: 36px;
  height: 2px;
  background: var(--blue-light);
}

.hero h1 {
  max-width: 1120px;
  margin: 0;
  font-size: clamp(58px, 5.8vw, 84px);
  font-weight: 480;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.hero-lead {
  max-width: 980px;
  margin: 38px 0 0;
  color: #c5d0d8;
  font-size: 18px;
  line-height: 1.72;
}

.hero-detail {
  max-width: 860px;
  margin: 18px 0 0;
  color: #8195a5;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button-primary {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.button-primary:hover {
  background: #2579ff;
  border-color: #2579ff;
}

.button-secondary {
  color: #dce7ef;
  border-color: #355065;
  background: rgba(255, 255, 255, 0.03);
}

.button-secondary:hover {
  color: var(--white);
  border-color: #6f899c;
}

.system-stage {
  position: relative;
  min-height: 600px;
  border: 1px solid rgba(90, 167, 255, 0.26);
  border-radius: 22px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.012)),
    rgba(3, 16, 27, 0.82);
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.system-stage::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -50%;
  width: 200%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.45;
  animation: stage-scan 7s linear infinite;
}

.stage-topbar {
  position: relative;
  z-index: 5;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--line-dark);
  color: #72899a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #cce5d6;
}

.live-status i,
.credential-signal i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(37, 211, 102, 0.1), 0 0 18px rgba(37, 211, 102, 0.75);
  animation: status-pulse 2.4s ease-in-out infinite;
}

.stage-grid {
  position: absolute;
  inset: 54px 0 0;
  background-image:
    linear-gradient(rgba(90, 167, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 167, 255, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.stage-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(57, 214, 231, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -45%);
}

.orbit-one {
  width: 330px;
  height: 330px;
}

.orbit-two {
  width: 460px;
  height: 460px;
  border-color: rgba(8, 102, 255, 0.14);
}

.stage-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 160px;
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(57, 214, 231, 0.55);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 102, 255, 0.28), rgba(6, 19, 31, 0.95) 70%);
  box-shadow: 0 0 70px rgba(8, 102, 255, 0.3);
  transform: translate(-50%, -44%);
}

.stage-core span,
.stage-core small,
.stage-data span,
.stage-data strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.12em;
}

.stage-core span {
  color: var(--blue-light);
  font-size: 12px;
}

.stage-core strong {
  margin-top: 3px;
  color: var(--white);
  font-size: 17px;
}

.stage-core small {
  margin-top: 10px;
  color: #607989;
  font-size: 8px;
}

.stage-screen {
  position: absolute;
  z-index: 4;
  width: 200px;
  margin: 0;
  border: 1px solid rgba(138, 178, 205, 0.28);
  border-radius: 11px;
  background: #0c2232;
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  animation: screen-float 6s ease-in-out infinite;
}

.stage-screen img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}

.stage-screen figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 11px;
  color: #c0ced8;
  font-size: 11px;
  font-weight: 700;
}

.stage-screen figcaption span {
  color: #6edb99;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  text-transform: uppercase;
}

.screen-academic {
  top: 92px;
  left: 24px;
  width: 230px;
}

.screen-medical {
  top: 118px;
  right: 22px;
  animation-delay: -2s;
}

.screen-carbon {
  right: 54px;
  bottom: 28px;
  width: 224px;
  animation-delay: -4s;
}

.stage-data {
  position: absolute;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #6e8494;
  font-size: 10px;
}

.stage-data strong {
  color: var(--cyan);
  font-size: 11px;
}

.data-left {
  bottom: 62px;
  left: 34px;
}

.data-right {
  top: 310px;
  right: 22px;
  text-align: right;
}

.proof-strip {
  border-top: 1px solid var(--line-dark);
  background: rgba(1, 11, 20, 0.66);
}

.proof-grid {
  min-height: 116px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-grid > div {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px 26px;
  border-left: 1px solid var(--line-dark);
}

.proof-grid > div:last-child {
  border-right: 1px solid var(--line-dark);
}

.proof-grid strong {
  color: var(--white);
  font-size: 28px;
  font-weight: 560;
  letter-spacing: -0.04em;
}

.proof-grid span {
  max-width: 150px;
  color: #8fa3b2;
  font-size: 13px;
  line-height: 1.4;
}

.capabilities,
.projects {
  background:
    linear-gradient(90deg, rgba(7, 21, 34, 0.035) 1px, transparent 1px) 0 0 / 110px 100%,
    var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: end;
  gap: clamp(55px, 8vw, 120px);
}

.section-heading h2,
.meta-copy h2,
.contact h2 {
  max-width: 780px;
  margin: 18px 0 0;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 470;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.section-heading > p,
.meta-copy > p,
.contact-grid > div > p {
  margin: 0 0 4px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.72;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 70px;
}

.capability-card {
  min-height: 285px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.capability-card:hover {
  transform: translateY(-5px);
  border-color: #a9c5df;
  box-shadow: 0 20px 50px rgba(16, 51, 74, 0.08);
}

.capability-card h3 {
  margin: auto 0 14px;
  font-size: 25px;
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.capability-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.capability-card-highlight {
  color: var(--white);
  border-color: var(--blue);
  background: linear-gradient(145deg, var(--navy-3), var(--navy));
  box-shadow: 0 24px 60px rgba(6, 19, 31, 0.16);
}

.capability-card-highlight > span {
  color: var(--blue-light);
}

.capability-card-highlight p {
  color: #a9bac7;
}

.sector-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.sector-line span {
  min-height: 70px;
  display: flex;
  align-items: center;
  padding: 0 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #263542;
  font-size: 14px;
  font-weight: 700;
}

.sector-line span:nth-child(4n) {
  border-right: 0;
}

.sector-line span:nth-last-child(-n + 4) {
  border-bottom: 0;
}

.meta-section {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(circle at 74% 38%, rgba(8, 102, 255, 0.35), transparent 30%),
    linear-gradient(90deg, rgba(90, 167, 255, 0.055) 1px, transparent 1px) 0 0 / 108px 100%,
    var(--navy);
  overflow: hidden;
}

.meta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: clamp(60px, 9vw, 130px);
}

.section-kicker-light {
  color: var(--blue-light);
}

.meta-copy h2 {
  max-width: 700px;
}

.meta-copy > p {
  max-width: 650px;
  margin-top: 34px;
  color: #aebfcb;
}

.meta-tags,
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.meta-tags {
  margin-top: 32px;
}

.meta-tags span,
.project-tags span {
  padding: 7px 11px;
  border: 1px solid rgba(132, 172, 200, 0.3);
  border-radius: 999px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.meta-tags span {
  color: #bad6e8;
  background: rgba(255, 255, 255, 0.035);
}

.meta-credential {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  padding: 42px;
  border: 1px solid rgba(90, 167, 255, 0.34);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.015)),
    rgba(8, 37, 59, 0.64);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.meta-credential::before,
.meta-credential::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(90, 167, 255, 0.25);
  border-radius: 50%;
}

.meta-credential::before {
  top: -160px;
  right: -110px;
  width: 330px;
  height: 330px;
}

.meta-credential::after {
  top: -90px;
  right: -40px;
  width: 190px;
  height: 190px;
}

.credential-signal {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #9fc0d5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.credential-brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-top: 66px;
}

.credential-brand strong {
  color: var(--blue-light);
  font-size: 56px;
  font-weight: 730;
  letter-spacing: -0.06em;
}

.credential-brand span {
  font-size: 24px;
  font-weight: 650;
}

.meta-credential > p {
  position: relative;
  z-index: 2;
  max-width: 410px;
  margin: 25px 0 0;
  color: #9eb1bf;
  font-size: 15px;
}

.credential-footer {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 26px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  color: #6f899b;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.projects-heading h2 {
  max-width: 850px;
}

.featured-projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 72px;
}

.featured-project {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 50px rgba(16, 51, 74, 0.055);
  overflow: hidden;
}

.featured-project:nth-child(3) {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, 0.92fr);
}

.project-media {
  position: relative;
  margin: 12px 12px 0;
  border-radius: 11px;
  background: var(--navy-2);
  overflow: hidden;
}

.project-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 65%, rgba(1, 13, 23, 0.28));
}

.project-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  transition: transform 450ms ease;
}

.featured-project:hover .project-media img {
  transform: scale(1.018);
}

.project-academic .project-media {
  height: 132px;
  box-sizing: border-box;
  padding: 10px;
  background: linear-gradient(135deg, #3f0012, #74001e 60%, #24000b);
}

.project-academic .project-media img {
  height: 100%;
  aspect-ratio: auto;
  border: 6px solid #0b1116;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.35);
}

.project-media-phone {
  display: grid;
  place-items: center;
  min-height: 370px;
  padding: 20px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.11), transparent 34%),
    linear-gradient(135deg, #075e54, #128c7e 58%, #20ba62);
}

.project-media-phone img {
  width: auto;
  height: 340px;
  aspect-ratio: 591 / 1280;
  border: 5px solid #101820;
  border-radius: 18px;
  box-shadow: 0 22px 45px rgba(0, 36, 29, 0.42);
}

.featured-project:nth-child(3) .project-media {
  min-height: 100%;
  margin: 12px 0 12px 12px;
}

.featured-project:nth-child(3) .project-media img {
  height: 100%;
  aspect-ratio: auto;
}

.project-medical .project-media {
  background: linear-gradient(135deg, #072c3b, #0c5369);
}

.project-medical .project-media::after {
  display: none;
}

.project-medical .project-media img {
  box-sizing: border-box;
  padding: 18px;
  object-fit: contain;
  object-position: center;
}

.project-carbon .project-media {
  height: 180px;
  box-sizing: border-box;
  padding: 14px;
  background: linear-gradient(135deg, #0b4143, #178b8c 62%, #6ed0ca);
}

.project-carbon .project-media img,
.project-events .project-media img {
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 7px;
  box-shadow: 0 22px 45px rgba(0, 30, 34, 0.26);
}

.project-events .project-media {
  height: 180px;
  box-sizing: border-box;
  padding: 14px;
  background: linear-gradient(135deg, #071b27, #0c3444 62%, #b57d22);
}

.project-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 30px 32px 34px;
}

.project-context {
  margin: 0 0 26px;
  color: #526575;
  font-size: 13px;
  font-weight: 670;
  line-height: 1.5;
}

.project-context::before {
  content: "";
  width: 17px;
  height: 2px;
  display: inline-block;
  margin-right: 9px;
  vertical-align: middle;
  background: var(--blue);
}

.project-area {
  color: var(--blue);
}

.project-whatsapp .project-area {
  color: #087a51;
}

.project-carbon .project-area {
  color: #0f7775;
}

.project-events .project-area {
  color: #946718;
}

.project-copy h3 {
  margin: 18px 0 15px;
  font-size: 23px;
  font-weight: 680;
  letter-spacing: -0.03em;
  line-height: 1.22;
}

.project-statement {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(23px, 2vw, 30px);
  font-weight: 470;
  letter-spacing: -0.035em;
  line-height: 1.22;
}

.project-copy > p:not(.project-context):not(.project-area):not(.project-statement) {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.project-tags {
  margin-top: auto;
  padding-top: 28px;
}

.project-tags span {
  color: #536777;
  border-color: #cbd9e4;
  background: #f6f9fb;
}

.more-projects {
  margin-top: 100px;
}

.more-projects-heading {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: start;
  gap: 40px;
}

.more-projects-heading h3 {
  max-width: 670px;
  margin: 0;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 480;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.compact-project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 52px;
}

.compact-project {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
}

.compact-project .project-context {
  min-height: 60px;
  margin-bottom: 38px;
}

.compact-project > span {
  color: var(--blue);
}

.compact-project h4 {
  margin: 18px 0 15px;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.22;
}

.compact-project > p:not(.project-context) {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.compact-project small {
  margin-top: auto;
  padding-top: 28px;
  color: #647686;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-transform: uppercase;
}

.method {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(90, 167, 255, 0.055) 1px, transparent 1px) 0 0 / 110px 100%,
    var(--navy);
}

.section-heading-dark h2 {
  color: var(--white);
}

.section-heading-dark > p {
  color: #9db0be;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 74px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.method-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-left: 1px solid var(--line-dark);
}

.method-card:last-child {
  border-right: 1px solid var(--line-dark);
}

.method-card span {
  color: var(--white);
  font-size: 22px;
  font-weight: 620;
}

.method-card p {
  margin: auto 0 0;
  color: #8fa3b2;
  font-size: 15px;
}

.method-closing {
  margin: 50px 0 0;
  color: #7f95a5;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.035em;
}

.method-closing strong {
  color: var(--white);
  font-weight: 500;
}

.contact {
  color: var(--white);
  background:
    radial-gradient(circle at 88% 24%, rgba(8, 102, 255, 0.36), transparent 30%),
    var(--navy-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1.65fr);
  gap: clamp(60px, 8vw, 120px);
}

.contact h2 {
  max-width: 970px;
  margin-top: 0;
}

.contact-grid > div > p {
  max-width: 670px;
  margin-top: 30px;
  color: #a8bbc8;
}

.button-light {
  margin-top: 34px;
  color: var(--navy);
  background: var(--white);
  border-color: var(--white);
}

.button-light:hover {
  color: var(--white);
  background: transparent;
}

.site-footer {
  color: var(--white);
  border-top: 4px solid var(--blue);
  background: #030d15;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 0.72fr);
  gap: clamp(40px, 6vw, 80px);
  padding: 68px 0 62px;
}

.footer-brand a {
  width: 210px;
  display: block;
}

.footer-brand img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-brand p {
  max-width: 360px;
  margin: 28px 0 0;
  color: #8ea1af;
  font-size: 15px;
}

.footer-column > span {
  display: block;
  margin-bottom: 24px;
  color: var(--blue-light);
}

.footer-column p,
.footer-column a {
  display: block;
  margin: 0 0 12px;
  color: #aebdc7;
  font-size: 13px;
}

.footer-column a {
  color: var(--white);
}

.footer-column a:hover {
  color: var(--blue-light);
}

.footer-bottom {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 22px 0;
  border-top: 1px solid var(--line-dark);
  color: #667e8e;
  font-size: 12px;
}

.footer-bottom a {
  color: #9cabb5;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes stage-scan {
  from { transform: translateY(0); }
  to { transform: translateY(780px); }
}

@keyframes status-pulse {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}

@keyframes screen-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 1120px) {
  :root {
    --shell: min(100% - 48px, 1020px);
  }

  .header-shell {
    grid-template-columns: 170px 1fr auto;
    gap: 18px;
  }

  .main-nav {
    gap: 20px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 76px;
  }

  .hero-copy {
    max-width: none;
  }

  .system-stage {
    width: min(100%, 720px);
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-grid > div:nth-child(2) {
    border-right: 1px solid var(--line-dark);
  }

  .proof-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-dark);
  }

  .capability-grid,
  .compact-project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .meta-credential {
    width: min(100%, 650px);
  }

  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .method-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-dark);
  }

  .method-card:nth-child(2) {
    border-right: 1px solid var(--line-dark);
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  :root {
    --shell: min(100% - 40px, 760px);
  }

  .header-shell {
    min-height: 86px;
    grid-template-columns: 1fr auto auto;
  }

  .brand {
    width: 148px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--white);
    cursor: pointer;
  }

  .menu-toggle-label {
    font-size: 13px;
    font-weight: 700;
  }

  .menu-toggle-icon {
    width: 18px;
    height: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }

  .menu-toggle-icon i {
    width: 100%;
    height: 2px;
    display: block;
    background: var(--ink);
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon i:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon i:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    top: 90px;
    right: 20px;
    left: 20px;
    z-index: 120;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 15px 14px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .main-nav a::after {
    display: none;
  }

  .header-cta {
    min-height: 42px;
    padding: 0 13px;
    font-size: 12px;
  }

  .section-heading,
  .more-projects-heading,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .featured-projects {
    grid-template-columns: 1fr;
  }

  .featured-project:nth-child(3) {
    grid-column: auto;
    display: flex;
  }

  .featured-project:nth-child(3) .project-media {
    min-height: 0;
    margin: 12px 12px 0;
  }

  .featured-project:nth-child(3) .project-media img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .contact-grid > .section-kicker {
    margin-bottom: 5px;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100% - 34px);
  }

  html {
    scroll-padding-top: 84px;
  }

  .site-header {
    border-top-width: 3px;
  }

  .header-shell {
    min-height: 80px;
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .brand {
    width: 135px;
  }

  .menu-toggle-label {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero-grid {
    min-height: 0;
    gap: 54px;
    padding: 62px 0 64px;
  }

  .eyebrow {
    align-items: flex-start;
  }

  .eyebrow span {
    margin-top: 8px;
  }

  .hero h1 {
    font-size: clamp(48px, 14.5vw, 66px);
  }

  .hero-lead {
    margin-top: 30px;
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .system-stage {
    min-height: 540px;
  }

  .stage-topbar {
    padding: 0 14px;
    font-size: 10px;
  }

  .stage-topbar > span:last-child {
    display: none;
  }

  .orbit-one {
    width: 250px;
    height: 250px;
  }

  .orbit-two {
    width: 360px;
    height: 360px;
  }

  .stage-core {
    width: 136px;
    height: 136px;
  }

  .screen-academic {
    top: 76px;
    left: 14px;
    width: 175px;
  }

  .screen-medical {
    top: 116px;
    right: 12px;
    width: 150px;
  }

  .screen-carbon {
    right: 20px;
    bottom: 24px;
    width: 184px;
  }

  .data-right {
    display: none;
  }

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

  .proof-grid > div {
    min-height: 86px;
    border-right: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
  }

  .proof-grid > div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 78px 0;
  }

  .section-heading h2,
  .meta-copy h2,
  .contact h2 {
    font-size: 44px;
  }

  .section-heading > p,
  .meta-copy > p,
  .contact-grid > div > p {
    font-size: 16px;
  }

  .capability-grid,
  .compact-project-grid {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: 255px;
    padding: 25px;
  }

  .sector-line {
    grid-template-columns: repeat(2, 1fr);
  }

  .sector-line span:nth-child(4n) {
    border-right: 1px solid var(--line);
  }

  .sector-line span:nth-child(2n) {
    border-right: 0;
  }

  .sector-line span:nth-last-child(-n + 4) {
    border-bottom: 1px solid var(--line);
  }

  .sector-line span:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .meta-credential {
    min-height: 360px;
    padding: 27px;
  }

  .credential-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-top: 52px;
  }

  .credential-brand strong {
    font-size: 49px;
  }

  .credential-brand span {
    font-size: 21px;
  }

  .featured-projects {
    margin-top: 54px;
  }

  .project-media-phone {
    min-height: 340px;
  }

  .project-media-phone img {
    height: 308px;
  }

  .project-academic .project-media,
  .project-carbon .project-media,
  .project-events .project-media {
    padding: 12px;
  }

  .project-academic .project-media {
    height: 120px;
    padding: 9px;
  }

  .project-carbon .project-media,
  .project-events .project-media {
    height: 150px;
  }

  .project-medical .project-media img {
    padding: 10px;
  }

  .project-copy {
    padding: 26px 23px 29px;
  }

  .project-context {
    margin-bottom: 23px;
  }

  .project-copy h3 {
    font-size: 21px;
  }

  .project-statement {
    font-size: 25px;
  }

  .more-projects {
    margin-top: 76px;
  }

  .compact-project {
    min-height: 355px;
    padding: 25px;
  }

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

  .method-card,
  .method-card:nth-child(2) {
    min-height: 220px;
    border-right: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
  }

  .method-card:last-child {
    border-bottom: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-column {
    padding-top: 24px;
    border-top: 1px solid var(--line-dark);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
