:root {
  --navy: #06182c;
  --navy-2: #0a2a4b;
  --blue: #0d63d6;
  --cyan: #55d8e8;
  --ink: #102237;
  --muted: #607184;
  --paper: #f3f5f7;
  --white: #ffffff;
  --line: rgba(6, 24, 44, .13);
  --line-light: rgba(255, 255, 255, .14);
  --gold: #b48234;
  --shell: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 12px 16px; color: #fff; background: #000; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(18px);
}
.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: clamp(220px, 21vw, 300px); height: auto; }
nav { display: flex; align-items: center; gap: 30px; }
nav a {
  position: relative;
  color: #526579;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}
nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 2px;
  background: var(--blue);
  transition: right .2s ease;
}
nav a:hover::after, nav a:focus-visible::after { right: 0; }
.nav-cta {
  padding: 11px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 8%, rgba(13, 99, 214, .26), transparent 32rem),
    linear-gradient(135deg, #06182c 0%, #082440 56%, #071a31 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .32;
  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: 62px 62px;
  mask-image: linear-gradient(to right, transparent, #000 42%, #000);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, .98fr);
  gap: clamp(50px, 7vw, 100px);
  align-items: center;
  padding-block: clamp(78px, 10vw, 126px);
}
.hero-copy { max-width: 720px; }
.kicker {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.kicker-light { color: #98e8f1; }
.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(54px, 7.2vw, 92px);
  line-height: .96;
  letter-spacing: -.055em;
}
.hero h1 em { display: block; color: #a5eaf2; font-style: normal; }
.hero-lead {
  max-width: 680px;
  margin: 30px 0 0;
  color: rgba(236, 245, 255, .78);
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 36px; }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--blue), #1394c1); box-shadow: 0 15px 35px rgba(13, 99, 214, .28); }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.055); }
.button-dark { color: #fff; background: var(--navy); }

.system-visual {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 34px;
  background: rgba(255,255,255,.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 40px 90px rgba(0,0,0,.22);
  overflow: hidden;
}
.visual-grid {
  position: absolute;
  inset: 0;
  opacity: .38;
  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: 42px 42px;
}
.system-visual::after {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(85,216,232,.16);
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(85,216,232,.1);
}
.core-card {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 210px;
  min-height: 196px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 25px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(85,216,232,.38);
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(145deg, rgba(13,99,214,.88), rgba(8,42,75,.94));
  box-shadow: 0 28px 70px rgba(0,0,0,.28), 0 0 0 12px rgba(85,216,232,.035);
}
.core-card span, .node span { color: #8ee8f2; font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.core-card strong { margin: 14px 0 18px; font-size: 28px; line-height: 1.02; letter-spacing: -.03em; }
.core-card small { color: rgba(255,255,255,.66); font-size: 12px; }
.node {
  position: absolute;
  z-index: 4;
  width: 145px;
  min-height: 92px;
  padding: 17px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 17px;
  color: #fff;
  background: rgba(7,24,44,.78);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.node strong, .node small { display: block; }
.node strong { margin-top: 8px; font-size: 17px; }
.node small { margin-top: 3px; color: rgba(255,255,255,.58); font-size: 12px; }
.node-mobile { left: 34px; top: 42px; }
.node-location { right: 34px; top: 76px; }
.node-edge { left: 44px; bottom: 50px; }
.node-platform { right: 44px; bottom: 34px; }
.signal {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(85,216,232,.28);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.signal-one { width: 310px; height: 310px; }
.signal-two { width: 440px; height: 440px; border-style: dashed; opacity: .6; }

.manifesto { color: #fff; background: #0b3156; }
.manifesto-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1.2fr) minmax(280px, .7fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  padding-block: clamp(62px, 7vw, 88px);
}
.manifesto h2 {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.manifesto p:last-child { margin: 2px 0 0; color: rgba(236,245,255,.72); font-size: 18px; line-height: 1.65; }

.section { padding-block: clamp(84px, 10vw, 132px); }
.section-intro { margin-bottom: 52px; }
.split-intro {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(360px, .8fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
}
.section-intro h2, .expertise-heading h2, .direction-section h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(44px, 6vw, 76px);
  line-height: .98;
  letter-spacing: -.055em;
}
.section-intro > p:last-child, .split-intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.68;
}

.work-section { background: #fff; }
.work-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}
.project {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
}
.project-main {
  grid-row: 1 / 3;
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr);
  color: #fff;
  background:
    radial-gradient(circle at 84% 15%, rgba(85,216,232,.23), transparent 24rem),
    linear-gradient(145deg, #06182c, #092d50);
}
.project-copy { padding: clamp(38px, 5vw, 64px); display: flex; flex-direction: column; align-items: flex-start; }
.project-meta { display: flex; gap: 18px; color: var(--gold); font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.project-main .project-meta { color: #8be6ef; }
.project h3 { margin: 34px 0 8px; color: var(--navy); font-size: clamp(32px, 4vw, 52px); line-height: 1; letter-spacing: -.045em; }
.project-main h3 { color: #fff; font-size: clamp(46px, 5.4vw, 70px); }
.project-tagline { margin: 0 0 24px; color: #8be6ef; font-size: 14px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.project p:not(.project-tagline) { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.project-main p:not(.project-tagline) { color: rgba(236,245,255,.74); }
.text-link { display: inline-flex; gap: 8px; margin-top: auto; padding-top: 28px; color: var(--blue); font-size: 14px; font-weight: 900; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.light-link { color: #fff; }
.project-small { min-height: 321px; padding: 32px; display: flex; flex-direction: column; background: #f4f7fa; }
.project-labs { background: #e8f0f8; }
.project-small h3 { margin-top: 26px; }

.product-ui { position: relative; min-height: 100%; overflow: hidden; }
.product-ui::before {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  right: -70px;
  top: 60px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(255,255,255,.022), 0 0 0 110px rgba(255,255,255,.018);
}
.phone-frame {
  position: absolute;
  z-index: 2;
  width: 218px;
  height: 445px;
  right: 66px;
  top: 77px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 37px;
  background: #061321;
  box-shadow: 0 40px 70px rgba(0,0,0,.32);
  transform: rotate(6deg);
}
.phone-bar { width: 72px; height: 7px; margin: 2px auto 10px; border-radius: 20px; background: rgba(255,255,255,.15); }
.phone-screen {
  height: calc(100% - 20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 31px 20px;
  border-radius: 27px;
  background: linear-gradient(180deg, #0d3156, #071b31);
}
.ui-label { color: #8be6ef; font-size: 9px; font-weight: 900; letter-spacing: .17em; }
.ui-orb { width: 116px; height: 116px; margin: 61px 0 20px; border: 2px solid rgba(85,216,232,.75); border-radius: 50%; box-shadow: 0 0 0 13px rgba(85,216,232,.07), 0 0 40px rgba(85,216,232,.19); }
.phone-screen strong { color: #fff; font-size: 26px; letter-spacing: .09em; }
.ui-controls { display: flex; gap: 10px; margin-top: auto; }
.ui-controls i { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; background: rgba(255,255,255,.05); }
.status-panel {
  position: absolute;
  z-index: 3;
  left: 28px;
  bottom: 45px;
  width: 210px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 18px;
  color: #fff;
  background: rgba(4,17,30,.86);
  box-shadow: 0 25px 55px rgba(0,0,0,.3);
}
.status-panel > span { color: #8be6ef; font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.status-panel div { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; font-size: 11px; }
.status-panel b { color: rgba(255,255,255,.72); font-weight: 650; }
.status-panel em { color: #82e7ba; font-style: normal; }

.expertise-section { color: #fff; background: var(--navy); }
.expertise-layout { display: grid; grid-template-columns: minmax(340px, .75fr) minmax(0, 1.25fr); gap: clamp(60px, 9vw, 130px); align-items: start; }
.expertise-heading { position: sticky; top: 132px; }
.expertise-heading h2 { color: #fff; }
.expertise-heading > p:last-child { margin: 28px 0 0; color: rgba(236,245,255,.67); font-size: 18px; line-height: 1.7; }
.expertise-list { border-top: 1px solid var(--line-light); }
.expertise-list article { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--line-light); }
.expertise-list article > span { color: #76dce8; font-size: 12px; font-weight: 900; letter-spacing: .13em; }
.expertise-list h3 { margin: 0 0 10px; color: #fff; font-size: clamp(25px, 3vw, 37px); letter-spacing: -.035em; }
.expertise-list p { margin: 0; color: rgba(236,245,255,.65); font-size: 17px; line-height: 1.6; }

.heritage-section { background: #e8edf2; }
.heritage-intro { max-width: 910px; }
.heritage-intro h2 { margin-bottom: 26px; }
.heritage-intro > p:last-child { max-width: 800px; }
.heritage-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(370px, .85fr); gap: 24px; align-items: start; }
.case-stack { border-top: 1px solid var(--line); }
.case-item { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 22px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.case-index { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--navy); font-size: 12px; font-weight: 900; }
.case-type { margin: 0 0 9px; color: var(--gold); font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.case-item h3, .google-card h3 { margin: 0 0 13px; color: var(--navy); font-size: clamp(28px, 3vw, 40px); letter-spacing: -.04em; }
.case-item p:not(.case-type), .google-card p:not(.case-type) { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.case-item small { display: block; margin-top: 15px; color: var(--ink); font-size: 13px; font-weight: 750; line-height: 1.5; }
.google-card { position: sticky; top: 128px; padding: 24px; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: 0 25px 70px rgba(6,24,44,.08); }
.google-image-wrap { margin: -6px -6px 25px; overflow: hidden; border-radius: 19px; background: #dfe7ef; }
.google-card img { display: block; width: 100%; height: auto; }
.google-card .button { margin-top: 24px; }

.direction-section {
  color: #fff;
  background:
    radial-gradient(circle at 80% 18%, rgba(85,216,232,.24), transparent 26rem),
    linear-gradient(135deg, #071a30, #0a3156);
}
.direction-grid { min-height: 480px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(350px, .65fr); gap: clamp(50px, 10vw, 150px); align-items: center; padding-block: 80px; }
.direction-section h2 { color: #fff; }
.direction-grid > div:last-child p { margin: 0 0 30px; color: rgba(236,245,255,.72); font-size: 20px; line-height: 1.65; }

footer { background: #fff; }
.footer-main { display: flex; justify-content: space-between; gap: 50px; align-items: flex-start; padding-block: 60px 42px; }
.footer-logo { display: block; width: min(300px, 70vw); }
.footer-main p { max-width: 520px; margin: 15px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.footer-nav { display: grid; grid-template-columns: repeat(2, auto); gap: 15px 34px; }
.footer-nav a { color: var(--muted); font-size: 14px; font-weight: 800; text-decoration: none; }
.footer-nav a:hover { color: var(--navy); }
.footer-legal { padding-block: 20px 30px; border-top: 1px solid var(--line); }
.footer-legal p { margin: 0; color: #7b8998; font-size: 12px; line-height: 1.55; }

@media (max-width: 1040px) {
  nav { display: none; }
  .header-inner { min-height: 76px; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 850px; }
  .system-visual { min-height: 500px; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 16px; }
  .manifesto-grid .kicker { margin-bottom: 4px; }
  .work-layout { grid-template-columns: 1fr; grid-template-rows: auto; }
  .project-main { grid-row: auto; min-height: 620px; }
  .project-small { min-height: 290px; }
  .expertise-layout { grid-template-columns: 1fr; }
  .expertise-heading { position: static; max-width: 760px; }
  .heritage-grid { grid-template-columns: 1fr; }
  .google-card { position: static; max-width: 720px; }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .brand img { width: 218px; }
  .hero-grid { padding-block: 58px 68px; gap: 42px; }
  .hero h1 { font-size: clamp(48px, 15vw, 69px); }
  .hero-lead { font-size: 19px; }
  .system-visual { min-height: 430px; border-radius: 26px; }
  .system-visual::after { width: 290px; height: 290px; }
  .signal-one { width: 240px; height: 240px; }
  .signal-two { width: 340px; height: 340px; }
  .core-card { width: 174px; min-height: 165px; padding: 20px; }
  .core-card strong { font-size: 24px; }
  .node { width: 116px; min-height: 78px; padding: 13px; }
  .node strong { font-size: 14px; }
  .node-mobile { left: 15px; top: 23px; }
  .node-location { right: 15px; top: 38px; }
  .node-edge { left: 18px; bottom: 34px; }
  .node-platform { right: 18px; bottom: 21px; }
  .manifesto-grid { padding-block: 50px; }
  .manifesto h2 { font-size: 36px; }
  .section { padding-block: 72px; }
  .split-intro { grid-template-columns: 1fr; gap: 24px; }
  .section-intro h2, .expertise-heading h2, .direction-section h2 { font-size: clamp(43px, 13vw, 61px); }
  .project-main { min-height: 800px; grid-template-columns: 1fr; }
  .project-copy { min-height: 390px; padding: 34px 26px; }
  .product-ui { min-height: 410px; }
  .phone-frame { right: 50%; top: 26px; transform: translateX(50%) rotate(4deg); }
  .status-panel { left: 18px; bottom: 24px; }
  .project-small { padding: 27px; }
  .expertise-list article { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; }
  .case-item { grid-template-columns: 44px minmax(0, 1fr); gap: 15px; }
  .case-index { width: 36px; height: 36px; }
  .direction-grid { min-height: auto; grid-template-columns: 1fr; gap: 38px; padding-block: 70px; }
  .footer-main { flex-direction: column; }
}

@media (max-width: 430px) {
  .header-inner { min-height: 68px; }
  .brand img { width: 194px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .system-visual { min-height: 390px; }
  .node { width: 104px; }
  .node small { display: none; }
  .node-mobile { left: 10px; }
  .node-location { right: 10px; }
  .node-edge { left: 10px; }
  .node-platform { right: 10px; }
  .core-card { width: 154px; min-height: 150px; }
  .signal-two { width: 315px; height: 315px; }
  .project-main { min-height: 770px; }
  .status-panel { width: 190px; }
  .footer-nav { grid-template-columns: 1fr; }
}

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