:root {
  --ink: #071823;
  --ink-2: #102a3a;
  --ink-3: #17384b;
  --blue: #009fe3;
  --blue-2: #55c7f3;
  --mint: #71e4c4;
  --paper: #f4f8fa;
  --white: #ffffff;
  --text: #19313e;
  --muted: #5f7480;
  --line: #d9e4e9;
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); letter-spacing: -0.045em; line-height: 1.02; }
h2 { font-size: clamp(2.6rem, 5.7vw, 5.8rem); font-weight: 580; }
h3 { font-size: 1.45rem; }
.skip-link {
  position: fixed;
  top: -100px;
  left: 24px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--white);
  color: var(--ink);
  border-radius: 4px;
}
.skip-link:focus { top: 14px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 4px; }

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: 28px 44px;
  right: 0;
}
.brand img { width: 180px; height: auto; }
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 31px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.73rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.desktop-nav a { transition: color 180ms ease; }
.desktop-nav a:hover { color: var(--white); }
.nav-cta {
  padding: 10px 17px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
}
.mobile-nav { display: none; position: relative; color: var(--white); }
.mobile-nav summary {
  display: grid;
  gap: 5px;
  list-style: none;
  cursor: pointer;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary span { display: block; width: 28px; height: 2px; background: currentColor; }
.mobile-nav nav {
  position: absolute;
  top: 34px;
  right: 0;
  display: grid;
  min-width: 210px;
  padding: 18px;
  background: var(--white);
  color: var(--ink);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
}
.mobile-nav nav a { padding: 8px; font-weight: 650; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(350px, .88fr);
  align-items: center;
  min-height: 850px;
  padding: 154px max(44px, calc((100vw - var(--max)) / 2 + 44px)) 94px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 30%, rgba(0,159,227,.22), transparent 28%),
    linear-gradient(135deg, #06151f 0%, #0b2230 62%, #0f2c3d 100%);
  color: var(--white);
}
.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -210px;
  bottom: -250px;
  border: 1px solid rgba(113,228,196,.25);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(0,159,227,.035), 0 0 0 160px rgba(0,159,227,.025);
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .22;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, transparent, black 40%, black);
}
.hero-grid i {
  position: absolute;
  right: 8%;
  width: 43%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  transform: rotate(-10deg);
}
.hero-grid i:nth-child(1) { top: 24%; }
.hero-grid i:nth-child(2) { top: 31%; right: 2%; }
.hero-grid i:nth-child(3) { top: 43%; right: 14%; }
.hero-grid i:nth-child(4) { top: 55%; right: 4%; }
.hero-grid i:nth-child(5) { top: 68%; right: 11%; }
.hero-grid i:nth-child(6) { top: 76%; right: 0; }
.hero-content, .hero-aside { position: relative; z-index: 2; }
.hero-content { max-width: 760px; }
.eyebrow {
  margin-bottom: 22px;
  color: var(--blue);
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow.light { color: var(--blue-2); }
.hero h1 {
  margin-bottom: 32px;
  color: var(--white);
  font-size: clamp(4.5rem, 8vw, 8.5rem);
  font-weight: 560;
  letter-spacing: -.07em;
}
.hero-lede {
  max-width: 710px;
  margin-bottom: 44px;
  color: rgba(255,255,255,.72);
  font-size: clamp(1.1rem, 1.6vw, 1.38rem);
}
.button-row { display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 54px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .03em;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--blue); color: var(--white); }
.button.primary:hover { background: #11abe8; }
.button.secondary { border-color: rgba(255,255,255,.28); color: var(--white); }
.button.secondary:hover { background: rgba(255,255,255,.07); }
.button.dark { margin-top: 20px; background: var(--ink); color: var(--white); }
.hero-aside { display: flex; justify-content: flex-end; }
.signal-card {
  width: min(100%, 410px);
  padding: 28px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(3,20,30,.65);
  box-shadow: 0 30px 80px rgba(0,0,0,.23);
  backdrop-filter: blur(16px);
}
.signal-top {
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,.55);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .67rem;
  letter-spacing: .12em;
}
.status { color: var(--mint); }
.status i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; background: var(--mint); border-radius: 50%; }
.signal-plot {
  display: flex;
  align-items: end;
  gap: 9px;
  height: 132px;
  margin: 26px 0 20px;
  padding: 14px 0;
  border-block: 1px solid rgba(255,255,255,.08);
}
.signal-plot b { flex: 1; min-height: 14px; background: linear-gradient(to top, var(--blue), var(--mint)); opacity: .85; }
.signal-plot b:nth-child(1) { height: 22%; }
.signal-plot b:nth-child(2) { height: 38%; }
.signal-plot b:nth-child(3) { height: 72%; }
.signal-plot b:nth-child(4) { height: 48%; }
.signal-plot b:nth-child(5) { height: 91%; }
.signal-plot b:nth-child(6) { height: 65%; }
.signal-plot b:nth-child(7) { height: 34%; }
.signal-plot b:nth-child(8) { height: 76%; }
.signal-plot b:nth-child(9) { height: 53%; }
.signal-card > p { margin-bottom: 18px; color: var(--white); font-size: 1.15rem; font-weight: 650; }
.signal-card ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; color: rgba(255,255,255,.65); font-size: .85rem; }
.signal-card li span { margin-right: 14px; color: var(--blue-2); font-family: ui-monospace, monospace; }

.section {
  max-width: var(--max);
  margin-inline: auto;
  padding: 130px 44px;
}
.section-label {
  margin-bottom: 34px;
  color: #78909b;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .69rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.section-label.inverse { color: rgba(255,255,255,.4); }
.about {
  display: grid;
  grid-template-columns: 160px 1.1fr .9fr;
  gap: 36px;
}
.about-copy h2 { max-width: 670px; font-size: clamp(3rem, 5.4vw, 5.3rem); }
.about-detail { padding-top: 60px; }
.about-detail .lead { color: var(--ink); font-size: 1.35rem; line-height: 1.5; }
.about-detail > p:not(.lead) { color: var(--muted); }
.principles { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 34px; }
.principles span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-3);
  font-size: .75rem;
  font-weight: 700;
}

.section-dark {
  max-width: none;
  padding-inline: max(44px, calc((100vw - var(--max)) / 2 + 44px));
  background: var(--ink);
  color: rgba(255,255,255,.7);
}
.section-heading {
  display: grid;
  grid-template-columns: 1.1fr .55fr;
  gap: 90px;
  align-items: end;
  max-width: var(--max);
  margin: 0 auto 74px;
}
.section-heading h2 { max-width: 850px; margin-bottom: 0; color: var(--white); font-size: clamp(3rem, 5.6vw, 5.8rem); }
.section-heading > p { margin-bottom: 0; color: rgba(255,255,255,.58); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.12);
  border-left: 1px solid rgba(255,255,255,.12);
}
.service-card {
  position: relative;
  min-height: 350px;
  padding: 34px 30px;
  border-right: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.service-card.featured { background: var(--blue); }
.service-number { display: block; margin-bottom: 80px; color: rgba(255,255,255,.38); font-family: ui-monospace, monospace; font-size: .7rem; }
.service-card.featured .service-number { color: rgba(255,255,255,.75); }
.service-card h3 { color: var(--white); font-size: 1.55rem; }
.service-card p { font-size: .92rem; line-height: 1.6; }
.service-card ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.service-card li { padding: 5px 8px; border: 1px solid rgba(255,255,255,.25); border-radius: 3px; font-size: .69rem; }
.contact-card { background: #0e2938; }
.contact-card a { position: absolute; right: 30px; bottom: 30px; color: var(--blue-2); font-size: .8rem; font-weight: 750; }

.process {
  display: grid;
  grid-template-columns: 160px .85fr 1.15fr;
  gap: 36px;
}
.process-intro h2 { font-size: clamp(3rem, 5vw, 5rem); }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 70px 1fr; gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.process-list li > span { color: var(--blue); font-family: ui-monospace, monospace; font-size: .75rem; }
.process-list h3 { margin-bottom: 8px; font-size: 1.4rem; }
.process-list p { margin: 0; color: var(--muted); font-size: .92rem; }

.projects { max-width: none; padding-inline: max(44px, calc((100vw - var(--max)) / 2 + 44px)); background: var(--paper); }
.projects-heading h2, .team-heading h2 { color: var(--ink); }
.projects-heading > p, .team-heading > p { color: var(--muted); }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: var(--max); margin: 0 auto; }
.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 500px;
  padding: 38px;
  color: var(--white);
}
.project-blue { background: var(--blue); }
.project-ink { background: var(--ink-2); }
.project-tag {
  align-self: flex-start;
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.project-index { color: rgba(255,255,255,.55); font-family: ui-monospace, monospace; font-size: .7rem; letter-spacing: .12em; }
.project-card h3 { max-width: 520px; color: var(--white); font-size: clamp(2rem, 3vw, 3.2rem); }
.project-card p:not(.project-index) { max-width: 560px; color: rgba(255,255,255,.76); }
.project-card > a { align-self: flex-end; font-size: .82rem; font-weight: 750; }

.section-soft { max-width: none; padding-inline: max(44px, calc((100vw - var(--max)) / 2 + 44px)); background: #eaf2f5; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: var(--max); margin: 0 auto; }
.person { background: var(--white); }
.person > img { width: 100%; aspect-ratio: 1 / .92; object-fit: cover; object-position: center top; background: #dfe8ec; filter: saturate(.8); }
.person:nth-child(2) > img { object-fit: cover; }
.person-heading { display: flex; justify-content: space-between; gap: 20px; padding: 28px 28px 0; }
.person-heading h3 { margin-bottom: 6px; font-size: 1.35rem; }
.person-heading p { margin: 0; color: var(--blue); font-size: .75rem; font-weight: 750; text-transform: uppercase; }
.person-heading a { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; background: var(--ink); color: var(--white); border-radius: 3px; font-size: .72rem; font-weight: 800; }
.person > p { padding: 0 28px 28px; color: var(--muted); font-size: .88rem; }

.careers { display: grid; grid-template-columns: .92fr 1.08fr; gap: 100px; }
.careers-copy { max-width: 560px; }
.careers h2 { font-size: clamp(3rem, 5.2vw, 5.3rem); }
.careers-copy > p:not(.eyebrow) { color: var(--muted); }
.role-list { border-top: 1px solid var(--line); }
.role-list article { position: relative; padding: 34px 24px 30px 0; border-bottom: 1px solid var(--line); }
.role-list article > span { color: var(--blue); font-family: ui-monospace, monospace; font-size: .67rem; letter-spacing: .1em; }
.role-list h3 { margin: 20px 0 10px; font-size: 1.8rem; }
.role-list p { margin-bottom: 10px; color: var(--muted); font-size: .94rem; }
.role-list .role-skills { color: var(--ink-3); font-family: ui-monospace, monospace; font-size: .73rem; }

.contact {
  position: relative;
  max-width: none;
  overflow: hidden;
  padding: 150px max(44px, calc((100vw - var(--max)) / 2 + 44px));
  background: var(--blue);
  color: rgba(255,255,255,.84);
}
.contact h2 { margin-bottom: 24px; color: var(--white); font-size: clamp(4rem, 9vw, 9rem); }
.contact > p:not(.eyebrow) { position: relative; z-index: 2; max-width: 600px; }
.contact-email {
  position: relative;
  z-index: 2;
  display: inline-flex;
  gap: 30px;
  align-items: center;
  margin-top: 25px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,.65);
  color: var(--white);
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 650;
}
.contact-orbit { position: absolute; right: 5%; top: 50%; width: 380px; height: 380px; transform: translateY(-50%); border: 1px solid rgba(255,255,255,.28); border-radius: 50%; }
.contact-orbit::before, .contact-orbit::after { content: ""; position: absolute; inset: 50%; width: 10px; height: 10px; background: var(--white); border-radius: 50%; }
.contact-orbit::before { transform: translate(-190px,-5px); }
.contact-orbit::after { transform: translate(180px,-5px); }
.contact-orbit i { position: absolute; inset: 70px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; }
.contact-orbit i:nth-child(2) { inset: 135px; }
.contact-orbit i:nth-child(3) { inset: 184px; background: var(--white); }

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  padding: 64px max(44px, calc((100vw - var(--max)) / 2 + 44px));
  background: #05121a;
  color: rgba(255,255,255,.57);
}
.footer-brand img { width: 170px; height: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 26px; font-size: .78rem; font-weight: 650; }
.footer-links a:hover { color: var(--white); }
.footer-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; font-size: .72rem; line-height: 1.6; }

.privacy-page { background: var(--paper); }
.privacy-header { position: relative; max-width: var(--max); }
.privacy-header .back-link { color: var(--ink); font-size: .78rem; font-weight: 750; }
.privacy-main { max-width: 900px; margin: 0 auto; padding: 100px 44px 140px; }
.privacy-main h1 { max-width: 700px; font-size: clamp(3.4rem, 7vw, 7rem); }
.privacy-lede { margin: 30px 0 80px; color: var(--ink-3); font-size: 1.4rem; }
.privacy-main section { display: grid; grid-template-columns: 250px 1fr; gap: 40px; padding: 32px 0; border-top: 1px solid var(--line); }
.privacy-main section h2 { font-size: 1.2rem; letter-spacing: -.02em; }
.privacy-main section p { color: var(--muted); }
.privacy-main section a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.privacy-note { margin-top: 60px; padding: 20px; border-left: 3px solid var(--blue); background: var(--white); color: var(--muted); font-size: .85rem; }

@media (max-width: 1050px) {
  .desktop-nav { gap: 18px; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding-block: 40px 70px; }
  .hero-aside { justify-content: flex-start; }
  .signal-card { max-width: 520px; width: 100%; }
  .about, .process { grid-template-columns: 120px 1fr; }
  .about-detail, .process-list { grid-column: 2; padding-top: 0; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .careers { gap: 50px; }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  .site-header { padding: 24px; }
  .brand img { width: 145px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .hero { padding: 125px 24px 70px; }
  .hero h1 { font-size: clamp(3.7rem, 17vw, 6rem); }
  .section { padding: 92px 24px; }
  .section-dark, .projects, .section-soft, .contact { padding-inline: 24px; }
  .about, .process { grid-template-columns: 1fr; }
  .about-detail, .process-list { grid-column: auto; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 300px; }
  .project-grid, .team-grid, .careers { grid-template-columns: 1fr; }
  .project-card { min-height: 440px; }
  .careers { gap: 70px; }
  .contact-orbit { right: -210px; opacity: .55; }
  .site-footer { grid-template-columns: 1fr; padding-inline: 24px; }
  .footer-meta { margin-top: 20px; }
  .privacy-main { padding: 70px 24px 100px; }
  .privacy-main section { grid-template-columns: 1fr; gap: 5px; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: 3.65rem; }
  .hero-lede { font-size: 1.05rem; }
  .button-row, .button { width: 100%; }
  h2 { font-size: 2.85rem; }
  .signal-card { padding: 21px; }
  .service-number { margin-bottom: 56px; }
  .project-card { min-height: 500px; padding: 28px; }
  .footer-meta { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
