:root {
  --ink: #07111f;
  --ink-soft: #0d1928;
  --panel: #0a2636;
  --line: rgba(225, 236, 244, 0.16);
  --muted: #94a3b7;
  --paper: #f3f6f7;
  --blue: #0074b7;
  --blue-bright: #2ea5df;
  --secondary: #053d57;
  --amber: #ffb000;
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-soft: 0 18px 50px rgba(5, 15, 27, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
main { overflow: hidden; }
section[id] { scroll-margin-top: 70px; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 4px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(28px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, height .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  height: 70px;
  background: rgba(7, 17, 31, .94);
  border-color: var(--line);
  box-shadow: 0 12px 34px rgba(0,0,0,.2);
  backdrop-filter: blur(18px) saturate(130%);
}
.brand {
  display: inline-flex;
  align-items: center;
  height: 52px;
}
.brand-logo {
  width: 132px;
  height: 52px;
  object-fit: contain;
  object-position: left center;
}
nav { display: flex; align-items: center; gap: 34px; }
nav a {
  position: relative;
  padding: 11px 0;
  color: #c3cedb;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .2s ease;
}
nav a:hover { color: #fff; }
nav a:not(.nav-cta):after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--blue-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s var(--ease);
}
nav a:not(.nav-cta):hover:after { transform: scaleX(1); transform-origin: left; }
nav .nav-cta {
  padding: 13px 18px;
  border: 1px solid rgba(0,116,183, .55);
  color: #fff;
  transition: background .2s ease, border-color .2s ease;
}
nav .nav-cta:hover { background: rgba(0,116,183,.18); border-color: var(--blue-bright); }
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 860px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 72px;
  padding: 150px max(28px, calc((100vw - var(--max)) / 2)) 110px;
  background-color: var(--ink);
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  border-bottom: 1px solid var(--line);
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,17,31,.05), rgba(7,17,31,.52));
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 440px;
  height: 440px;
  right: 4%;
  top: 18%;
  background: radial-gradient(circle, rgba(0,116,183,.14), transparent 68%);
  filter: blur(8px);
}
.hero-copy, .hero-console { position: relative; z-index: 1; }
.eyebrow, .section-marker {
  margin: 0 0 28px;
  color: var(--blue-bright);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 34px; height: 1px; background: var(--blue); }
.hero-rule {
  width: 58px;
  height: 2px;
  margin: 0 0 30px;
  background: var(--blue);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 730px;
  margin-bottom: 28px;
  font-size: clamp(72px, 8vw, 120px);
  line-height: .84;
  letter-spacing: -.075em;
  text-transform: uppercase;
}
h1 em { color: var(--blue-bright); font-style: normal; }
.hero-lede {
  max-width: 610px;
  color: #b1bece;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 34px;
  min-width: 220px;
  padding: 17px 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: transform .2s var(--ease), background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.2); }
.button-primary { background: var(--blue); color: #fff; }
.button-primary:hover { background: #0a86c8; }
.button-quiet { border: 1px solid var(--line); background: rgba(255,255,255,.025); color: #d8e1ea; }
.button-quiet:hover { border-color: rgba(255,255,255,.4); }

.hero-console {
  min-height: 570px;
  padding: 22px;
  border: 1px solid rgba(0,116,183,.3);
  background: linear-gradient(145deg, rgba(17,31,48,.92), rgba(7,17,31,.55));
  box-shadow: 0 34px 100px rgba(0,0,0,.32), inset 0 1px rgba(255,255,255,.04);
}
.hero-portfolio {
  position: relative;
  z-index: 1;
  min-height: 590px;
  padding: 16px;
  border: 1px solid rgba(46,165,223,.5);
  background: linear-gradient(145deg, #07445f, var(--secondary));
  box-shadow: 0 36px 110px rgba(0,0,0,.4), inset 0 1px rgba(255,255,255,.07);
}
.hero-portfolio:before, .hero-portfolio:after {
  content: "";
  position: absolute;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-color: var(--blue-bright);
}
.hero-portfolio:before { inset: -1px auto auto -1px; border-top: 2px solid; border-left: 2px solid; }
.hero-portfolio:after { inset: auto -1px -1px auto; border-right: 2px solid; border-bottom: 2px solid; }
.hero-project {
  width: 100%;
  height: 410px;
  display: block;
  object-fit: cover;
  filter: saturate(.88) contrast(1.04);
  border: 1px solid rgba(255,255,255,.08);
}
.hero-project-label {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
  padding: 19px 4px 0;
}
.hero-project-label span, .hero-project-inset span {
  color: var(--blue-bright);
  font: 700 9px/1 monospace;
  letter-spacing: .15em;
}
.hero-project-label strong { font-size: 17px; text-transform: uppercase; }
.hero-project-inset {
  position: absolute;
  right: -38px;
  bottom: 58px;
  width: 210px;
  padding: 8px;
  background: var(--ink);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 20px 42px rgba(0,0,0,.35);
}
.hero-project-inset img { width: 100%; height: 112px; display: block; object-fit: cover; }
.hero-project-inset span { display: block; padding: 10px 2px 3px; color: #a9b9c9; line-height: 1.45; }
.hero-console:before, .hero-console:after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border-color: var(--amber);
}
.hero-console:before { top: -1px; left: -1px; border-top: 2px solid; border-left: 2px solid; }
.hero-console:after { right: -1px; bottom: -1px; border-right: 2px solid; border-bottom: 2px solid; }
.console-topline {
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font: 700 9px/1 monospace;
  letter-spacing: .12em;
}
.live-dot { color: #a9c8b4; }
.live-dot:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: #66d98b;
  box-shadow: 0 0 12px #66d98b;
}
.power-orbit { position: relative; height: 310px; }
.orbit, .power-core { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); border-radius: 50%; }
.orbit { border: 1px solid rgba(0,116,183,.34); }
.orbit-one { width: 250px; height: 250px; }
.orbit-two { width: 174px; height: 174px; border-style: dashed; animation: spin 20s linear infinite; }
.orbit-one:before, .orbit-two:before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  top: 9%;
  left: 18%;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 16px rgba(255,176,0,.9);
}
.power-core {
  width: 98px;
  height: 98px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,176,0,.65);
  background: radial-gradient(circle, rgba(255,176,0,.22), transparent 66%);
  box-shadow: 0 0 46px rgba(255,176,0,.13);
}
.power-core i {
  width: 25px;
  height: 49px;
  background: var(--amber);
  clip-path: polygon(56% 0, 100% 0, 69% 39%, 96% 39%, 24% 100%, 44% 54%, 10% 54%);
}
.console-readout { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.console-readout article { padding: 24px 16px 8px 0; }
.console-readout article + article { padding-left: 22px; border-left: 1px solid var(--line); }
.console-readout span, .console-readout small { display: block; }
.console-readout span { color: var(--blue-bright); font: 700 9px/1 monospace; letter-spacing: .18em; }
.console-readout strong { display: block; margin: 10px 0; font-size: 16px; }
.console-readout small { color: var(--muted); font-size: 11px; line-height: 1.5; }
.hero-meta {
  position: absolute;
  z-index: 2;
  left: max(28px, calc((100vw - var(--max)) / 2));
  right: max(28px, calc((100vw - var(--max)) / 2));
  bottom: 28px;
  display: flex;
  gap: 30px;
  color: #697a8f;
  font: 700 9px/1 monospace;
  letter-spacing: .15em;
}
.hero-meta span:not(:last-child):after { content: "/"; margin-left: 30px; color: #35475c; }

.manifesto, .services, .software, .process {
  padding: 120px max(28px, calc((100vw - var(--max)) / 2));
}
.manifesto { background: linear-gradient(180deg, #f7f9fa 0%, var(--paper) 100%); color: var(--ink); }
.manifesto .section-marker { color: #546b86; }
.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 120px;
  align-items: end;
}
.manifesto h2, .section-heading h2, .software-intro h2, .contact h2 {
  margin-bottom: 0;
  font-size: clamp(54px, 7vw, 92px);
  line-height: .94;
  letter-spacing: -.065em;
  text-transform: uppercase;
}
.manifesto h2 span, .software-intro h2 span, .contact h2 span { color: var(--blue); }
.manifesto-copy { padding-bottom: 4px; }
.manifesto-copy p {
  color: #405167;
  font-size: 18px;
  line-height: 1.65;
}
.manifesto-copy p:last-child { margin-bottom: 0; }
.capability-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 90px;
  padding-top: 28px;
  border-top: 1px solid #cbd4dc;
  color: #394b61;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.capability-band i { width: 4px; height: 4px; border-radius: 50%; background: var(--blue); }

.services { background: #0b1625; }
.section-heading { display: grid; grid-template-columns: 1fr .65fr; gap: 80px; align-items: end; margin-bottom: 72px; }
.section-heading h2 { font-size: clamp(50px, 6vw, 80px); }
.section-heading > p {
  max-width: 480px;
  margin-bottom: 4px;
  color: #aab7c7;
  font-size: 17px;
  line-height: 1.65;
}
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.service-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01));
  transition: transform .25s var(--ease), background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-6px); background: rgba(0,116,183,.075); border-color: rgba(46,165,223,.42); box-shadow: 0 22px 52px rgba(0,0,0,.18); }
.service-number { color: #58708c; font: 700 10px/1 monospace; }
.service-photo {
  width: 100%;
  height: 172px;
  display: block;
  margin: 0 0 28px;
  object-fit: cover;
  filter: saturate(.78) contrast(1.05);
  border: 1px solid rgba(255,255,255,.1);
}
.service-card:hover .service-photo { filter: saturate(1) contrast(1.03); }
.service-icon { width: 62px; height: 62px; display: grid; place-items: center; margin: 50px 0 42px; border: 1px solid rgba(0,116,183,.38); transform: rotate(45deg); }
.service-icon i { width: 16px; height: 16px; border: 2px solid var(--amber); border-radius: 50%; }
.service-card:nth-child(2) .service-icon i { border-radius: 0; border-left: 0; border-bottom: 0; }
.service-card:nth-child(3) .service-icon i { width: 5px; height: 31px; background: var(--amber); border: 0; border-radius: 0; }
.service-card:nth-child(4) .service-icon i { width: 30px; height: 2px; background: var(--amber); border: 0; border-radius: 0; box-shadow: 0 -8px var(--amber), 0 8px var(--amber); }
.service-card h3 { margin-bottom: 15px; font-size: 21px; letter-spacing: -.03em; text-transform: uppercase; }
.service-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.service-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 26px;
  padding: 24px 26px;
  border: 1px solid rgba(255,176,0,.35);
  background: rgba(255,176,0,.04);
}
.service-callout > div { display: flex; align-items: center; gap: 14px; }
.service-callout p { margin: 0; color: #cbd5df; font-size: 14px; }
.status-light { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 14px rgba(255,176,0,.75); }
.service-callout a, .software-note a { color: var(--amber); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

.work-gallery { margin-top: 84px; }
.gallery-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.gallery-heading > div { display: flex; flex-direction: column; gap: 10px; }
.gallery-heading span { color: var(--blue-bright); font: 700 9px/1 monospace; letter-spacing: .15em; }
.gallery-heading strong { font-size: clamp(24px, 3vw, 38px); letter-spacing: -.04em; }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px; }
.gallery-item {
  position: relative;
  grid-column: span 4;
  min-height: 250px;
  margin: 0;
  overflow: hidden;
  background: var(--secondary);
  border: 1px solid rgba(255,255,255,.08);
}
.gallery-item-1 { grid-column: span 7; min-height: 390px; }
.gallery-item-2 { grid-column: span 5; min-height: 390px; }
.gallery-item-6, .gallery-item-7 { grid-column: span 6; }
.gallery-item-13 { grid-column: span 12; min-height: 360px; }
.gallery-item img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .55s ease, filter .55s ease; }
.gallery-item:hover img { transform: scale(1.025); filter: saturate(1.08); }
.gallery-item figcaption {
  position: absolute;
  inset: auto 10px 10px;
  width: max-content;
  padding: 8px 9px;
  background: rgba(7,17,31,.76);
  color: #d5e0e9;
  backdrop-filter: blur(8px);
  font: 700 8px/1 monospace;
  letter-spacing: .12em;
}

.process { background: #0b1625; border-top: 1px solid var(--line); }
.process-title {
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1;
  letter-spacing: -.05em;
  text-transform: uppercase;
}
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 52px; }
.process-grid article { position: relative; padding: 0 28px 0 0; }
.process-grid article:not(:last-child):after { content: ""; position: absolute; top: 14px; right: 22px; width: 42%; height: 1px; background: #33465c; }
.process-grid article:not(:last-child):before { content: ""; position: absolute; z-index: 1; top: 11px; right: 20px; width: 7px; height: 7px; border-top: 1px solid var(--blue-bright); border-right: 1px solid var(--blue-bright); transform: rotate(45deg); }
.process-grid span { color: var(--blue-bright); font: 700 11px/1 monospace; }
.process-grid h3 { margin: 46px 0 12px; font-size: 18px; text-transform: uppercase; }
.process-grid p { max-width: 220px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.software { background: linear-gradient(180deg, #edf1f3 0%, #e5ebee 100%); color: var(--ink); }
.software-intro { max-width: 900px; margin-bottom: 72px; }
.software-intro .section-marker { color: #546b86; }
.software-intro h2 { margin-bottom: 26px; }
.software-intro > p { max-width: 680px; color: #405167; font-size: 18px; line-height: 1.65; }
.apps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.app-card {
  min-height: 410px;
  display: flex;
  flex-direction: column;
  padding: 25px;
  border: 1px solid #cad3db;
  border-radius: 2px;
  background: rgba(255,255,255,.62);
  box-shadow: 0 1px 0 rgba(255,255,255,.75) inset;
  transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease;
}
.app-card:hover { transform: translateY(-5px); border-color: rgba(0,116,183,.46); box-shadow: var(--shadow-soft); }
.app-card.is-featured { grid-column: span 2; grid-row: span 2; min-height: 834px; background: linear-gradient(145deg, #101e2f, var(--ink)); color: var(--paper); border-color: rgba(46,165,223,.24); box-shadow: 0 24px 70px rgba(7,17,31,.18); }
.app-card.is-wide {
  grid-column: 1 / -1;
  min-height: 320px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  grid-template-rows: auto auto 1fr;
  align-items: start;
  gap: 0 34px;
  background: linear-gradient(120deg, rgba(255,255,255,.84), rgba(255,255,255,.5));
}
.is-wide .app-card-top { grid-column: 3; grid-row: 1; }
.is-wide .app-symbol { grid-column: 1; grid-row: 1 / 4; align-self: center; width: 118px; height: 118px; margin: 0; border-radius: 27px; }
.is-wide h3 { grid-column: 2; grid-row: 1; margin: 8px 0 12px; font-size: 42px; }
.is-wide > p:not(.app-tag) { grid-column: 2; grid-row: 2; max-width: 650px; margin: 0; }
.is-wide .store-links { grid-column: 3; grid-row: 3; align-self: end; justify-self: end; margin: 0; }
.app-card-top { display: flex; justify-content: flex-end; align-items: center; }
.app-index { color: #6d7d90; font: 700 10px/1 monospace; }
.platform-pill { padding: 7px 9px; border: 1px solid #c5cfd7; color: #5d7085; font: 700 9px/1 monospace; letter-spacing: .08em; text-transform: uppercase; }
.is-featured .platform-pill { border-color: var(--line); color: #9eacbc; }
.app-symbol {
  width: 72px;
  height: 72px;
  display: block;
  margin: auto 0 45px;
  border-radius: 17px;
  object-fit: cover;
  box-shadow: 0 16px 30px rgba(0,116,183,.2);
}
.is-featured .app-symbol { width: 106px; height: 106px; margin-bottom: 70px; font-size: 30px; border-radius: 24px; }
.app-tag { margin-bottom: 10px; color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.app-card h3 { margin-bottom: 13px; font-size: 28px; letter-spacing: -.045em; }
.is-featured h3 { font-size: clamp(38px, 4vw, 56px); }
.app-card > p:not(.app-tag) { color: #526479; font-size: 14px; line-height: 1.65; }
.is-featured > p:not(.app-tag) { max-width: 500px; color: #a6b4c4; font-size: 17px; }
.store-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: auto; padding-top: 18px; }
.store-links a { color: #0074b7; font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.is-featured .store-links a { color: var(--amber); }
.software-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
  padding: 28px;
  border: 1px solid #c6d0d9;
  color: #415368;
  font-size: 14px;
}
.software-note a { color: #0074b7; }

.contact {
  position: relative;
  padding: 130px max(28px, calc((100vw - var(--max)) / 2));
  background: linear-gradient(135deg, #087fbd 0%, var(--blue) 48%, #0066a0 100%);
  color: #fff;
}
.contact:before { content: ""; position: absolute; inset: 0; opacity: .17; background-image: linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px); background-size: 50px 50px; }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .78fr; gap: 90px; align-items: end; }
.contact .section-marker { color: rgba(255,255,255,.7); }
.contact h2 span { color: var(--ink); }
.contact-panel { padding-left: 42px; border-left: 1px solid rgba(255,255,255,.35); }
.contact-panel > p { max-width: 530px; margin-bottom: 42px; color: rgba(255,255,255,.83); font-size: 18px; line-height: 1.6; }
.contact-email { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 2px solid white; font-size: clamp(22px, 3vw, 36px); font-weight: 800; letter-spacing: -.045em; }
.contact-actions { display: flex; justify-content: space-between; gap: 20px; margin-top: 22px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.contact-actions button { padding: 0; border: 0; background: none; cursor: pointer; text-transform: uppercase; }
.contact-actions a, .contact-actions button { transition: opacity .2s ease; }
.contact-actions a:hover, .contact-actions button:hover { opacity: .72; }

footer {
  min-height: 190px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  align-items: center;
  gap: 30px;
  padding: 48px max(28px, calc((100vw - var(--max)) / 2));
  background: linear-gradient(180deg, #050c15, #03080e);
  border-top: 1px solid var(--line);
}
footer > p { margin: 0; color: #65768b; font-size: 12px; text-align: center; }
.footer-certification { display: flex; align-items: center; gap: 18px; min-width: 0; }
.footer-certification img { width: 126px; height: auto; flex: 0 0 auto; object-fit: contain; }
.footer-certification span { color: #fff; font-size: clamp(18px, 1.7vw, 26px); font-weight: 500; letter-spacing: .01em; white-space: nowrap; }
.footer-meta { display: flex; justify-content: flex-end; gap: 22px; color: #65768b; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
footer a:hover { color: #fff; }

/* Blog */
.blog-page { background: var(--ink); }
.blog-index-hero, .blog-series-hero {
  position: relative;
  padding: 158px max(28px, calc((100vw - var(--max)) / 2)) 88px;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  border-bottom: 1px solid var(--line);
}
.blog-back {
  display: inline-flex;
  margin-bottom: 64px;
  color: #8fa0b2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.blog-back:hover { color: var(--blue-bright); }
.blog-index-hero .section-marker { margin-bottom: 22px; }
.blog-index-hero h1, .blog-series-hero h1 {
  max-width: 900px;
  margin-bottom: 26px;
  font-size: clamp(64px, 9vw, 116px);
}
.blog-index-hero > p, .blog-series-title > div > p {
  max-width: 660px;
  margin: 0;
  color: #aab7c7;
  font-size: 18px;
  line-height: 1.65;
}
.blog-app-list {
  min-height: 490px;
  padding: 84px max(28px, calc((100vw - var(--max)) / 2)) 120px;
  background: #e8edf0;
  color: var(--ink);
}
.blog-app-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  padding: 34px;
  border: 1px solid #c4ced6;
  background: rgba(255,255,255,.55);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.blog-app-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,116,183,.48);
  box-shadow: 0 22px 60px rgba(7,17,31,.1);
}
.blog-app-card img { width: 104px; height: 104px; border-radius: 24px; box-shadow: 0 16px 34px rgba(0,116,183,.18); }
.blog-app-card h2 { margin-bottom: 10px; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.05em; }
.blog-app-card p { max-width: 650px; margin: 0; color: #4d6074; font-size: 15px; line-height: 1.65; }
.blog-app-card > span { color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.blog-series-title { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 50px; }
.blog-series-title > img { width: 152px; height: 152px; border-radius: 34px; box-shadow: 0 26px 66px rgba(0,116,183,.24); }
.blog-series-title .section-marker { margin-bottom: 22px; }
.blog-series-title h1 { margin-bottom: 22px; }
.blog-series-content { padding: 80px max(28px, calc((100vw - var(--max)) / 2)) 130px; background: #e8edf0; color: var(--ink); }
.article-toc {
  display: block;
  margin-bottom: 100px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid #b9c5ce;
}
.article-toc-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0 18px; }
.article-toc-heading p { margin: 0; font-size: 12px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.article-toc-heading span { color: #66798d; font: 700 10px/1 monospace; letter-spacing: .1em; text-transform: uppercase; }
.article-toc > a {
  display: grid;
  grid-template-columns: 54px 1fr 180px 20px;
  align-items: center;
  gap: 20px;
  padding: 23px 0;
  border-top: 1px solid #c3cdd5;
  color: var(--ink);
  text-transform: none;
  transition: color .2s ease, padding .2s ease;
}
.article-toc > a:hover { padding-left: 8px; color: var(--blue); }
.article-toc > a > span { color: #708195; font: 700 10px/1 monospace; }
.article-toc > a strong { font-size: clamp(18px, 2vw, 25px); letter-spacing: -.025em; }
.article-toc > a time { color: #66798d; font-size: 12px; }
.article-toc > a i { color: var(--blue); font-style: normal; }
.blog-entry-list { max-width: 920px; margin: 0 auto; }
.blog-entry { padding: 0 0 120px; scroll-margin-top: 94px; }
.blog-entry + .blog-entry { padding-top: 110px; border-top: 1px solid #bdc8d1; }
.blog-entry-header time { display: block; margin-bottom: 18px; color: var(--blue); font: 800 10px/1 monospace; letter-spacing: .12em; text-transform: uppercase; }
.blog-entry-header h2 { margin-bottom: 42px; font-size: clamp(48px, 7vw, 84px); line-height: .95; letter-spacing: -.065em; text-transform: uppercase; }
.blog-entry-image { width: 100%; max-height: 590px; display: block; margin-bottom: 52px; object-fit: cover; border: 1px solid #c1cbd3; background: var(--secondary); }
.blog-entry-image-square { object-fit: contain; background: var(--ink); }
.article-body { max-width: 760px; margin: 0 auto; color: #34485d; }
.article-body p, .article-body li { font-size: 17px; line-height: 1.78; }
.article-body p { margin-bottom: 24px; }
.article-body h3 { margin: 58px 0 18px; color: var(--ink); font-size: 26px; letter-spacing: -.03em; }
.article-body ul { margin: 6px 0 28px; padding-left: 22px; }
.article-body li { margin-bottom: 8px; padding-left: 6px; }
.article-body a { color: var(--blue); font-weight: 800; border-bottom: 1px solid rgba(0,116,183,.35); }

/* Privacy */
.privacy-page { background: var(--ink); }
.privacy-hero {
  padding: 158px max(28px, calc((100vw - var(--max)) / 2)) 88px;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  border-bottom: 1px solid var(--line);
}
.privacy-hero .section-marker { margin-bottom: 22px; }
.privacy-hero h1 { margin-bottom: 26px; font-size: clamp(64px, 9vw, 116px); }
.privacy-hero > p { margin: 0; color: #aab7c7; font: 700 11px/1 monospace; letter-spacing: .12em; text-transform: uppercase; }
.privacy-shell {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 90px;
  align-items: start;
  padding: 88px max(28px, calc((100vw - var(--max)) / 2)) 130px;
  background: #e8edf0;
  color: var(--ink);
}
.privacy-toc {
  position: sticky;
  top: 96px;
  display: block;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}
.privacy-toc > p { margin-bottom: 18px; color: #66798d; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.privacy-toc > a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  padding: 10px 0;
  color: #4d6074;
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}
.privacy-toc > a:hover { color: var(--blue); }
.privacy-toc > a span { color: #8998a7; font: 700 9px/1.5 monospace; }
.privacy-policy { max-width: 800px; }
.privacy-intro { padding-bottom: 68px; }
.privacy-intro > p:first-child { color: var(--ink); font-size: clamp(24px, 3vw, 36px); line-height: 1.35; letter-spacing: -.035em; }
.privacy-policy p, .privacy-policy li, .privacy-policy dd { color: #34485d; font-size: 16px; line-height: 1.75; }
.privacy-policy p { margin-bottom: 22px; }
.privacy-policy ul { margin: 8px 0 28px; padding-left: 22px; }
.privacy-policy li { margin-bottom: 10px; padding-left: 5px; }
.privacy-policy a { color: var(--blue); font-weight: 800; border-bottom: 1px solid rgba(0,116,183,.32); }
.privacy-summary { margin-bottom: 86px; padding: 34px; background: var(--secondary); color: #fff; scroll-margin-top: 96px; }
.privacy-summary h2 { margin-bottom: 30px; font-size: 34px; letter-spacing: -.04em; text-transform: uppercase; }
.privacy-summary dl { margin: 0; }
.privacy-summary dl > div { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.15); }
.privacy-summary dt { font-size: 14px; font-weight: 800; line-height: 1.45; }
.privacy-summary dd { margin: 0; color: #b8c8d3; font-size: 14px; line-height: 1.65; }
.privacy-summary a { color: var(--blue-bright); }
.privacy-policy > section:not(.privacy-summary) { padding: 84px 0 10px; border-top: 1px solid #bdc8d1; scroll-margin-top: 76px; }
.privacy-section-number { margin-bottom: 18px; color: var(--blue); font: 800 10px/1 monospace; letter-spacing: .12em; }
.privacy-policy > section h2 { margin-bottom: 34px; color: var(--ink); font-size: clamp(36px, 5vw, 58px); line-height: 1; letter-spacing: -.055em; text-transform: uppercase; }
.privacy-policy h3 { margin: 40px 0 16px; font-size: 23px; letter-spacing: -.025em; }
.privacy-short { margin-bottom: 30px !important; padding-left: 20px; border-left: 3px solid var(--blue); color: #21374c !important; }
.privacy-policy address { color: #34485d; font-size: 16px; font-style: normal; line-height: 1.75; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; gap: 50px; padding-top: 145px; }
  .hero-console, .hero-portfolio { min-height: 500px; }
  .hero-meta { position: static; grid-column: 1; }
  .manifesto-grid, .section-heading, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 52px 24px; }
  .process-grid article:nth-child(2):after, .process-grid article:nth-child(2):before { display: none; }
  .apps-grid { grid-template-columns: 1fr 1fr; }
  .app-card.is-featured { grid-row: auto; grid-column: 1 / 3; min-height: 580px; }
  .app-card.is-wide { grid-column: auto; min-height: 410px; display: flex; }
  .is-wide .app-symbol { width: 72px; height: 72px; margin: auto 0 45px; align-self: auto; border-radius: 17px; }
  .is-wide h3 { margin: 0 0 13px; font-size: 28px; }
  .is-wide > p:not(.app-tag) { max-width: none; margin: 0 0 14px; }
  .is-wide .store-links { align-self: auto; margin-top: auto; }
  .contact-panel { padding-left: 0; border-left: 0; }
  footer { grid-template-columns: 1fr 1fr; }
  footer > p { text-align: left; }
  .footer-meta { grid-column: 1 / 3; justify-content: flex-start; }
}

@media (max-width: 760px) {
  .site-header { height: 70px; padding-inline: 20px; }
  .menu-toggle { display: grid; width: 42px; height: 42px; place-content: center; gap: 7px; border: 1px solid var(--line); background: var(--ink); cursor: pointer; }
  .menu-toggle span { display: block; width: 19px; height: 1px; background: #fff; }
  nav {
    position: absolute;
    top: 69px;
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 14px 20px 24px;
    background: rgba(7,17,31,.98);
    border-bottom: 1px solid var(--line);
  }
  nav.is-open { display: flex; }
  nav a { padding: 15px 0; }
  nav .nav-cta { margin-top: 7px; text-align: center; }
  .hero { min-height: auto; padding: 125px 20px 58px; }
  h1 { font-size: clamp(60px, 20vw, 86px); }
  .hero-console, .hero-portfolio { min-height: 460px; padding: 18px; }
  .hero-project { height: 330px; }
  .hero-project-inset { top: 185px; right: 28px; bottom: auto; width: 154px; }
  .orbit-one { width: 215px; height: 215px; }
  .orbit-two { width: 145px; height: 145px; }
  .console-readout { grid-template-columns: 1fr; }
  .console-readout article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .hero-meta { flex-wrap: wrap; gap: 12px 18px; margin-top: 12px; }
  .hero-meta span:not(:last-child):after { display: none; }
  .manifesto, .services, .software, .process, .contact { padding: 84px 20px; }
  .manifesto-grid { gap: 42px; }
  .manifesto h2, .section-heading h2, .software-intro h2, .contact h2 { font-size: 49px; }
  .capability-band { align-items: flex-start; flex-direction: column; gap: 13px; margin-top: 56px; }
  .capability-band i { display: none; }
  .service-grid, .process-grid, .apps-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 390px; }
  .gallery-heading { align-items: flex-start; flex-direction: column; }
  .gallery-item, .gallery-item-1, .gallery-item-2, .gallery-item-6, .gallery-item-7, .gallery-item-13 { grid-column: span 12; min-height: 285px; }
  .service-callout, .software-note { align-items: flex-start; flex-direction: column; }
  .process-grid { gap: 46px; }
  .process-grid article:after, .process-grid article:before { display: none; }
  .process-grid h3 { margin-top: 24px; }
  .app-card.is-featured { grid-column: auto; min-height: 560px; }
  .app-card { min-height: 390px; }
  .contact-email { gap: 20px; font-size: 20px; overflow-wrap: anywhere; }
  .contact-actions { align-items: flex-start; flex-direction: column; }
  footer { grid-template-columns: 1fr; padding: 52px 20px; }
  .footer-certification img { width: 110px; height: auto; }
  .footer-certification span { font-size: 22px; }
  footer > p, .footer-meta { grid-column: auto; }
  .footer-meta { flex-wrap: wrap; }
  .blog-index-hero, .blog-series-hero { padding: 120px 20px 68px; }
  .blog-back { margin-bottom: 46px; }
  .blog-index-hero h1, .blog-series-hero h1 { font-size: clamp(58px, 18vw, 82px); }
  .blog-app-list, .blog-series-content { padding: 60px 20px 90px; }
  .blog-app-card { grid-template-columns: 74px 1fr; gap: 22px; padding: 24px; }
  .blog-app-card img { width: 74px; height: 74px; border-radius: 17px; }
  .blog-app-card > span { grid-column: 2; }
  .blog-series-title { grid-template-columns: 1fr; gap: 32px; }
  .blog-series-title > img { width: 104px; height: 104px; border-radius: 24px; }
  .article-toc { margin-bottom: 76px; }
  .article-toc > a { grid-template-columns: 32px 1fr 16px; gap: 12px; }
  .article-toc > a time { display: none; }
  .blog-entry { padding-bottom: 84px; }
  .blog-entry + .blog-entry { padding-top: 80px; }
  .blog-entry-header h2 { margin-bottom: 30px; font-size: clamp(43px, 14vw, 64px); }
  .blog-entry-image { margin-bottom: 34px; }
  .article-body p, .article-body li { font-size: 16px; }
  .article-body h3 { margin-top: 44px; font-size: 23px; }
  .privacy-hero { padding: 120px 20px 68px; }
  .privacy-hero h1 { font-size: clamp(58px, 18vw, 82px); }
  .privacy-shell { grid-template-columns: 1fr; gap: 58px; padding: 60px 20px 90px; }
  .privacy-toc { position: static; }
  .privacy-toc > a { padding: 9px 0; }
  .privacy-intro { padding-bottom: 52px; }
  .privacy-summary { margin-inline: -20px; margin-bottom: 68px; padding: 28px 20px; }
  .privacy-summary dl > div { grid-template-columns: 1fr; gap: 8px; }
  .privacy-policy > section:not(.privacy-summary) { padding-top: 66px; }
  .privacy-policy > section h2 { font-size: clamp(34px, 11vw, 49px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
